Class DatabaseResourceGroup.Builder (0.6.0)

public static final class DatabaseResourceGroup.Builder extends GeneratedMessage.Builder<DatabaseResourceGroup.Builder> implements DatabaseResourceGroupOrBuilder

DatabaseResourceGroup represents all resources that serve a common data set. It is considered notionally as a single entity, powered by any number of units of compute and storage.

Protobuf type google.cloud.databasecenter.v1beta.DatabaseResourceGroup

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllRootResources(Iterable<? extends DatabaseResource> values)

public DatabaseResourceGroup.Builder addAllRootResources(Iterable<? extends DatabaseResource> values)

A database resource that serves as a root of the group of database resources. It is repeated just in case we have the concept of multiple roots in the future, however, it will only be populated with a single value for now.

repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.databasecenter.v1beta.DatabaseResource>
Returns
Type Description
DatabaseResourceGroup.Builder

addAllSignalGroups(Iterable<? extends IssueCount> values)

public DatabaseResourceGroup.Builder addAllSignalGroups(Iterable<? extends IssueCount> values)

The filtered signal groups and the count of issues associated with the resources that have been filtered in.

repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.databasecenter.v1beta.IssueCount>
Returns
Type Description
DatabaseResourceGroup.Builder

addRootResources(DatabaseResource value)

public DatabaseResourceGroup.Builder addRootResources(DatabaseResource value)

A database resource that serves as a root of the group of database resources. It is repeated just in case we have the concept of multiple roots in the future, however, it will only be populated with a single value for now.

repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;

Parameter
Name Description
value DatabaseResource
Returns
Type Description
DatabaseResourceGroup.Builder

addRootResources(DatabaseResource.Builder builderForValue)

public DatabaseResourceGroup.Builder addRootResources(DatabaseResource.Builder builderForValue)

A database resource that serves as a root of the group of database resources. It is repeated just in case we have the concept of multiple roots in the future, however, it will only be populated with a single value for now.

repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;

Parameter
Name Description
builderForValue DatabaseResource.Builder
Returns
Type Description
DatabaseResourceGroup.Builder

addRootResources(int index, DatabaseResource value)

public DatabaseResourceGroup.Builder addRootResources(int index, DatabaseResource value)

A database resource that serves as a root of the group of database resources. It is repeated just in case we have the concept of multiple roots in the future, however, it will only be populated with a single value for now.

repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;

Parameters
Name Description
index int
value DatabaseResource
Returns
Type Description
DatabaseResourceGroup.Builder

addRootResources(int index, DatabaseResource.Builder builderForValue)

public DatabaseResourceGroup.Builder addRootResources(int index, DatabaseResource.Builder builderForValue)

A database resource that serves as a root of the group of database resources. It is repeated just in case we have the concept of multiple roots in the future, however, it will only be populated with a single value for now.

repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;

Parameters
Name Description
index int
builderForValue DatabaseResource.Builder
Returns
Type Description
DatabaseResourceGroup.Builder

addRootResourcesBuilder()

public DatabaseResource.Builder addRootResourcesBuilder()

A database resource that serves as a root of the group of database resources. It is repeated just in case we have the concept of multiple roots in the future, however, it will only be populated with a single value for now.

repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;

Returns
Type Description
DatabaseResource.Builder

addRootResourcesBuilder(int index)

public DatabaseResource.Builder addRootResourcesBuilder(int index)

A database resource that serves as a root of the group of database resources. It is repeated just in case we have the concept of multiple roots in the future, however, it will only be populated with a single value for now.

repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;

Parameter
Name Description
index int
Returns
Type Description
DatabaseResource.Builder

addSignalGroups(IssueCount value)

public DatabaseResourceGroup.Builder addSignalGroups(IssueCount value)

The filtered signal groups and the count of issues associated with the resources that have been filtered in.

repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;

Parameter
Name Description
value IssueCount
Returns
Type Description
DatabaseResourceGroup.Builder

addSignalGroups(IssueCount.Builder builderForValue)

public DatabaseResourceGroup.Builder addSignalGroups(IssueCount.Builder builderForValue)

The filtered signal groups and the count of issues associated with the resources that have been filtered in.

repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;

Parameter
Name Description
builderForValue IssueCount.Builder
Returns
Type Description
DatabaseResourceGroup.Builder

addSignalGroups(int index, IssueCount value)

public DatabaseResourceGroup.Builder addSignalGroups(int index, IssueCount value)

The filtered signal groups and the count of issues associated with the resources that have been filtered in.

repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;

Parameters
Name Description
index int
value IssueCount
Returns
Type Description
DatabaseResourceGroup.Builder

addSignalGroups(int index, IssueCount.Builder builderForValue)

public DatabaseResourceGroup.Builder addSignalGroups(int index, IssueCount.Builder builderForValue)

The filtered signal groups and the count of issues associated with the resources that have been filtered in.

repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;

Parameters
Name Description
index int
builderForValue IssueCount.Builder
Returns
Type Description
DatabaseResourceGroup.Builder

addSignalGroupsBuilder()

public IssueCount.Builder addSignalGroupsBuilder()

The filtered signal groups and the count of issues associated with the resources that have been filtered in.

repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;

Returns
Type Description
IssueCount.Builder

addSignalGroupsBuilder(int index)

public IssueCount.Builder addSignalGroupsBuilder(int index)

The filtered signal groups and the count of issues associated with the resources that have been filtered in.

repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;

Parameter
Name Description
index int
Returns
Type Description
IssueCount.Builder

build()

public DatabaseResourceGroup build()
Returns
Type Description
DatabaseResourceGroup

buildPartial()

public DatabaseResourceGroup buildPartial()
Returns
Type Description
DatabaseResourceGroup

clear()

public DatabaseResourceGroup.Builder clear()
Returns
Type Description
DatabaseResourceGroup.Builder
Overrides

clearRootResources()

public DatabaseResourceGroup.Builder clearRootResources()

A database resource that serves as a root of the group of database resources. It is repeated just in case we have the concept of multiple roots in the future, however, it will only be populated with a single value for now.

repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;

Returns
Type Description
DatabaseResourceGroup.Builder

clearSignalGroups()

public DatabaseResourceGroup.Builder clearSignalGroups()

The filtered signal groups and the count of issues associated with the resources that have been filtered in.

repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;

Returns
Type Description
DatabaseResourceGroup.Builder

getDefaultInstanceForType()

public DatabaseResourceGroup getDefaultInstanceForType()
Returns
Type Description
DatabaseResourceGroup

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRootResources(int index)

public DatabaseResource getRootResources(int index)

A database resource that serves as a root of the group of database resources. It is repeated just in case we have the concept of multiple roots in the future, however, it will only be populated with a single value for now.

repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;

Parameter
Name Description
index int
Returns
Type Description
DatabaseResource

getRootResourcesBuilder(int index)

public DatabaseResource.Builder getRootResourcesBuilder(int index)

A database resource that serves as a root of the group of database resources. It is repeated just in case we have the concept of multiple roots in the future, however, it will only be populated with a single value for now.

repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;

Parameter
Name Description
index int
Returns
Type Description
DatabaseResource.Builder

getRootResourcesBuilderList()

public List<DatabaseResource.Builder> getRootResourcesBuilderList()

A database resource that serves as a root of the group of database resources. It is repeated just in case we have the concept of multiple roots in the future, however, it will only be populated with a single value for now.

repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;

Returns
Type Description
List<Builder>

getRootResourcesCount()

public int getRootResourcesCount()

A database resource that serves as a root of the group of database resources. It is repeated just in case we have the concept of multiple roots in the future, however, it will only be populated with a single value for now.

repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;

Returns
Type Description
int

getRootResourcesList()

public List<DatabaseResource> getRootResourcesList()

A database resource that serves as a root of the group of database resources. It is repeated just in case we have the concept of multiple roots in the future, however, it will only be populated with a single value for now.

repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;

Returns
Type Description
List<DatabaseResource>

getRootResourcesOrBuilder(int index)

public DatabaseResourceOrBuilder getRootResourcesOrBuilder(int index)

A database resource that serves as a root of the group of database resources. It is repeated just in case we have the concept of multiple roots in the future, however, it will only be populated with a single value for now.

repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;

Parameter
Name Description
index int
Returns
Type Description
DatabaseResourceOrBuilder

getRootResourcesOrBuilderList()

public List<? extends DatabaseResourceOrBuilder> getRootResourcesOrBuilderList()

A database resource that serves as a root of the group of database resources. It is repeated just in case we have the concept of multiple roots in the future, however, it will only be populated with a single value for now.

repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;

Returns
Type Description
List<? extends com.google.cloud.databasecenter.v1beta.DatabaseResourceOrBuilder>

getSignalGroups(int index)

public IssueCount getSignalGroups(int index)

The filtered signal groups and the count of issues associated with the resources that have been filtered in.

repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;

Parameter
Name Description
index int
Returns
Type Description
IssueCount

getSignalGroupsBuilder(int index)

public IssueCount.Builder getSignalGroupsBuilder(int index)

The filtered signal groups and the count of issues associated with the resources that have been filtered in.

repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;

Parameter
Name Description
index int
Returns
Type Description
IssueCount.Builder

getSignalGroupsBuilderList()

public List<IssueCount.Builder> getSignalGroupsBuilderList()

The filtered signal groups and the count of issues associated with the resources that have been filtered in.

repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;

Returns
Type Description
List<Builder>

getSignalGroupsCount()

public int getSignalGroupsCount()

The filtered signal groups and the count of issues associated with the resources that have been filtered in.

repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;

Returns
Type Description
int

getSignalGroupsList()

public List<IssueCount> getSignalGroupsList()

The filtered signal groups and the count of issues associated with the resources that have been filtered in.

repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;

Returns
Type Description
List<IssueCount>

getSignalGroupsOrBuilder(int index)

public IssueCountOrBuilder getSignalGroupsOrBuilder(int index)

The filtered signal groups and the count of issues associated with the resources that have been filtered in.

repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;

Parameter
Name Description
index int
Returns
Type Description
IssueCountOrBuilder

getSignalGroupsOrBuilderList()

public List<? extends IssueCountOrBuilder> getSignalGroupsOrBuilderList()

The filtered signal groups and the count of issues associated with the resources that have been filtered in.

repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;

Returns
Type Description
List<? extends com.google.cloud.databasecenter.v1beta.IssueCountOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DatabaseResourceGroup other)

public DatabaseResourceGroup.Builder mergeFrom(DatabaseResourceGroup other)
Parameter
Name Description
other DatabaseResourceGroup
Returns
Type Description
DatabaseResourceGroup.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DatabaseResourceGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatabaseResourceGroup.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DatabaseResourceGroup.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DatabaseResourceGroup.Builder
Overrides

removeRootResources(int index)

public DatabaseResourceGroup.Builder removeRootResources(int index)

A database resource that serves as a root of the group of database resources. It is repeated just in case we have the concept of multiple roots in the future, however, it will only be populated with a single value for now.

repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;

Parameter
Name Description
index int
Returns
Type Description
DatabaseResourceGroup.Builder

removeSignalGroups(int index)

public DatabaseResourceGroup.Builder removeSignalGroups(int index)

The filtered signal groups and the count of issues associated with the resources that have been filtered in.

repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;

Parameter
Name Description
index int
Returns
Type Description
DatabaseResourceGroup.Builder

setRootResources(int index, DatabaseResource value)

public DatabaseResourceGroup.Builder setRootResources(int index, DatabaseResource value)

A database resource that serves as a root of the group of database resources. It is repeated just in case we have the concept of multiple roots in the future, however, it will only be populated with a single value for now.

repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;

Parameters
Name Description
index int
value DatabaseResource
Returns
Type Description
DatabaseResourceGroup.Builder

setRootResources(int index, DatabaseResource.Builder builderForValue)

public DatabaseResourceGroup.Builder setRootResources(int index, DatabaseResource.Builder builderForValue)

A database resource that serves as a root of the group of database resources. It is repeated just in case we have the concept of multiple roots in the future, however, it will only be populated with a single value for now.

repeated .google.cloud.databasecenter.v1beta.DatabaseResource root_resources = 1;

Parameters
Name Description
index int
builderForValue DatabaseResource.Builder
Returns
Type Description
DatabaseResourceGroup.Builder

setSignalGroups(int index, IssueCount value)

public DatabaseResourceGroup.Builder setSignalGroups(int index, IssueCount value)

The filtered signal groups and the count of issues associated with the resources that have been filtered in.

repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;

Parameters
Name Description
index int
value IssueCount
Returns
Type Description
DatabaseResourceGroup.Builder

setSignalGroups(int index, IssueCount.Builder builderForValue)

public DatabaseResourceGroup.Builder setSignalGroups(int index, IssueCount.Builder builderForValue)

The filtered signal groups and the count of issues associated with the resources that have been filtered in.

repeated .google.cloud.databasecenter.v1beta.IssueCount signal_groups = 2;

Parameters
Name Description
index int
builderForValue IssueCount.Builder
Returns
Type Description
DatabaseResourceGroup.Builder