Class DatabaseResourceGroup (0.6.0)

public final class DatabaseResourceGroup extends GeneratedMessage 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 Fields

ROOT_RESOURCES_FIELD_NUMBER

public static final int ROOT_RESOURCES_FIELD_NUMBER
Field Value
Type Description
int

SIGNAL_GROUPS_FIELD_NUMBER

public static final int SIGNAL_GROUPS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DatabaseResourceGroup getDefaultInstance()
Returns
Type Description
DatabaseResourceGroup

getDescriptor()

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

newBuilder()

public static DatabaseResourceGroup.Builder newBuilder()
Returns
Type Description
DatabaseResourceGroup.Builder

newBuilder(DatabaseResourceGroup prototype)

public static DatabaseResourceGroup.Builder newBuilder(DatabaseResourceGroup prototype)
Parameter
Name Description
prototype DatabaseResourceGroup
Returns
Type Description
DatabaseResourceGroup.Builder

parseDelimitedFrom(InputStream input)

public static DatabaseResourceGroup parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DatabaseResourceGroup
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatabaseResourceGroup parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatabaseResourceGroup
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DatabaseResourceGroup parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DatabaseResourceGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DatabaseResourceGroup parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatabaseResourceGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DatabaseResourceGroup parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DatabaseResourceGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DatabaseResourceGroup parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatabaseResourceGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DatabaseResourceGroup parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DatabaseResourceGroup
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DatabaseResourceGroup parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatabaseResourceGroup
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DatabaseResourceGroup parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DatabaseResourceGroup
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatabaseResourceGroup parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatabaseResourceGroup
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DatabaseResourceGroup parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DatabaseResourceGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DatabaseResourceGroup parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatabaseResourceGroup
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DatabaseResourceGroup> parser()
Returns
Type Description
Parser<DatabaseResourceGroup>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DatabaseResourceGroup getDefaultInstanceForType()
Returns
Type Description
DatabaseResourceGroup

getParserForType()

public Parser<DatabaseResourceGroup> getParserForType()
Returns
Type Description
Parser<DatabaseResourceGroup>
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

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>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

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>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DatabaseResourceGroup.Builder newBuilderForType()
Returns
Type Description
DatabaseResourceGroup.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected DatabaseResourceGroup.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DatabaseResourceGroup.Builder
Overrides

toBuilder()

public DatabaseResourceGroup.Builder toBuilder()
Returns
Type Description
DatabaseResourceGroup.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException