public final class DatabaseResource extends GeneratedMessage implements DatabaseResourceOrBuilderDatabaseResource represents every individually configured database unit representing compute and/or storage. NextId: 20
Protobuf type google.cloud.databasecenter.v1beta.DatabaseResource
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > DatabaseResourceImplements
DatabaseResourceOrBuilderStatic Fields
BACKUPDR_CONFIG_FIELD_NUMBER
public static final int BACKUPDR_CONFIG_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CHILD_RESOURCES_FIELD_NUMBER
public static final int CHILD_RESOURCES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CONTAINER_FIELD_NUMBER
public static final int CONTAINER_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
EDITION_FIELD_NUMBER
public static final int EDITION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
FULL_RESOURCE_NAME_FIELD_NUMBER
public static final int FULL_RESOURCE_NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
MACHINE_CONFIG_FIELD_NUMBER
public static final int MACHINE_CONFIG_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
MAINTENANCE_INFO_FIELD_NUMBER
public static final int MAINTENANCE_INFO_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
METRICS_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PRODUCT_FIELD_NUMBER
public static final int PRODUCT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
RESOURCE_CATEGORY_FIELD_NUMBER
public static final int RESOURCE_CATEGORY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
RESOURCE_TYPE_FIELD_NUMBER
public static final int RESOURCE_TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SIGNAL_GROUPS_FIELD_NUMBER
public static final int SIGNAL_GROUPS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SUB_RESOURCE_TYPE_FIELD_NUMBER
public static final int SUB_RESOURCE_TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static DatabaseResource getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
DatabaseResource |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static DatabaseResource.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
DatabaseResource.Builder |
|
newBuilder(DatabaseResource prototype)
public static DatabaseResource.Builder newBuilder(DatabaseResource prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
DatabaseResource |
| Returns | |
|---|---|
| Type | Description |
DatabaseResource.Builder |
|
parseDelimitedFrom(InputStream input)
public static DatabaseResource parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
DatabaseResource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DatabaseResource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DatabaseResource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static DatabaseResource parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
DatabaseResource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DatabaseResource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DatabaseResource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static DatabaseResource parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
DatabaseResource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DatabaseResource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DatabaseResource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static DatabaseResource parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
DatabaseResource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DatabaseResource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DatabaseResource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static DatabaseResource parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
DatabaseResource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DatabaseResource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DatabaseResource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static DatabaseResource parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
DatabaseResource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DatabaseResource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DatabaseResource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<DatabaseResource> parser()| Returns | |
|---|---|
| Type | Description |
Parser<DatabaseResource> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getBackupdrConfig()
public BackupDRConfig getBackupdrConfig()Optional. Backup and disaster recovery details for the resource.
.google.cloud.databasecenter.v1beta.BackupDRConfig backupdr_config = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BackupDRConfig |
The backupdrConfig. |
getBackupdrConfigOrBuilder()
public BackupDRConfigOrBuilder getBackupdrConfigOrBuilder()Optional. Backup and disaster recovery details for the resource.
.google.cloud.databasecenter.v1beta.BackupDRConfig backupdr_config = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BackupDRConfigOrBuilder |
|
getChildResources(int index)
public DatabaseResource getChildResources(int index)List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DatabaseResource |
|
getChildResourcesCount()
public int getChildResourcesCount()List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getChildResourcesList()
public List<DatabaseResource> getChildResourcesList()List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;
| Returns | |
|---|---|
| Type | Description |
List<DatabaseResource> |
|
getChildResourcesOrBuilder(int index)
public DatabaseResourceOrBuilder getChildResourcesOrBuilder(int index)List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DatabaseResourceOrBuilder |
|
getChildResourcesOrBuilderList()
public List<? extends DatabaseResourceOrBuilder> getChildResourcesOrBuilderList()List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.databasecenter.v1beta.DatabaseResourceOrBuilder> |
|
getContainer()
public String getContainer()Specifies where the resource is created. For GCP, it is the full name of the project.
string container = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The container. |
getContainerBytes()
public ByteString getContainerBytes()Specifies where the resource is created. For GCP, it is the full name of the project.
string container = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for container. |
getDefaultInstanceForType()
public DatabaseResource getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DatabaseResource |
|
getEdition()
public Edition getEdition()The edition of the resource.
.google.cloud.databasecenter.v1beta.Edition edition = 18;
| Returns | |
|---|---|
| Type | Description |
Edition |
The edition. |
getEditionValue()
public int getEditionValue()The edition of the resource.
.google.cloud.databasecenter.v1beta.Edition edition = 18;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for edition. |
getFullResourceName()
public String getFullResourceName()The full resource name, based on CAIS resource name format https://cloud.google.com/asset-inventory/docs/resource-name-format
Example:
//cloudsql.googleapis.com/projects/project-number/instances/mysql-1
//cloudsql.googleapis.com/projects/project-number/instances/postgres-1
//spanner.googleapis.com/projects/project-number/instances/spanner-instance-1
//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1
//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1/instances/i1
string full_resource_name = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The fullResourceName. |
getFullResourceNameBytes()
public ByteString getFullResourceNameBytes()The full resource name, based on CAIS resource name format https://cloud.google.com/asset-inventory/docs/resource-name-format
Example:
//cloudsql.googleapis.com/projects/project-number/instances/mysql-1
//cloudsql.googleapis.com/projects/project-number/instances/postgres-1
//spanner.googleapis.com/projects/project-number/instances/spanner-instance-1
//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1
//alloydb.googleapis.com/projects/project-number/locations/us-central1/clusters/c1/instances/i1
string full_resource_name = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for fullResourceName. |
getLabels(int index)
public Label getLabels(int index)Labels applied on the resource. The requirements for labels assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/labels-overview#requirements
repeated .google.cloud.databasecenter.v1beta.Label labels = 7;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Label |
|
getLabelsCount()
public int getLabelsCount()Labels applied on the resource. The requirements for labels assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/labels-overview#requirements
repeated .google.cloud.databasecenter.v1beta.Label labels = 7;
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsList()
public List<Label> getLabelsList()Labels applied on the resource. The requirements for labels assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/labels-overview#requirements
repeated .google.cloud.databasecenter.v1beta.Label labels = 7;
| Returns | |
|---|---|
| Type | Description |
List<Label> |
|
getLabelsOrBuilder(int index)
public LabelOrBuilder getLabelsOrBuilder(int index)Labels applied on the resource. The requirements for labels assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/labels-overview#requirements
repeated .google.cloud.databasecenter.v1beta.Label labels = 7;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LabelOrBuilder |
|
getLabelsOrBuilderList()
public List<? extends LabelOrBuilder> getLabelsOrBuilderList()Labels applied on the resource. The requirements for labels assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/labels-overview#requirements
repeated .google.cloud.databasecenter.v1beta.Label labels = 7;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.databasecenter.v1beta.LabelOrBuilder> |
|
getLocation()
public String getLocation()The location of the resources. It supports returning only regional locations in GCP. These are of the form: "us-central1", "us-east1", etc. See https://cloud.google.com/about/locations for a list of such regions.
string location = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The location. |
getLocationBytes()
public ByteString getLocationBytes()The location of the resources. It supports returning only regional locations in GCP. These are of the form: "us-central1", "us-east1", etc. See https://cloud.google.com/about/locations for a list of such regions.
string location = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for location. |
getMachineConfig()
public MachineConfig getMachineConfig()Machine configuration like CPU, memory, etc for the resource.
.google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12;
| Returns | |
|---|---|
| Type | Description |
MachineConfig |
The machineConfig. |
getMachineConfigOrBuilder()
public MachineConfigOrBuilder getMachineConfigOrBuilder()Machine configuration like CPU, memory, etc for the resource.
.google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12;
| Returns | |
|---|---|
| Type | Description |
MachineConfigOrBuilder |
|
getMaintenanceInfo()
public MaintenanceInfo getMaintenanceInfo()Optional. The maintenance information of the resource.
.google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
MaintenanceInfo |
The maintenanceInfo. |
getMaintenanceInfoOrBuilder()
public MaintenanceInfoOrBuilder getMaintenanceInfoOrBuilder()Optional. The maintenance information of the resource.
.google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
MaintenanceInfoOrBuilder |
|
getMetrics()
public Metrics getMetrics()Observable metrics for the resource e.g. CPU utilization, memory utilization, etc.
.google.cloud.databasecenter.v1beta.Metrics metrics = 13;
| Returns | |
|---|---|
| Type | Description |
Metrics |
The metrics. |
getMetricsOrBuilder()
public MetricsOrBuilder getMetricsOrBuilder()Observable metrics for the resource e.g. CPU utilization, memory utilization, etc.
.google.cloud.databasecenter.v1beta.Metrics metrics = 13;
| Returns | |
|---|---|
| Type | Description |
MetricsOrBuilder |
|
getParserForType()
public Parser<DatabaseResource> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<DatabaseResource> |
|
getProduct()
public Product getProduct()The product this resource represents.
.google.cloud.databasecenter.v1beta.Product product = 5;
| Returns | |
|---|---|
| Type | Description |
Product |
The product. |
getProductOrBuilder()
public ProductOrBuilder getProductOrBuilder()The product this resource represents.
.google.cloud.databasecenter.v1beta.Product product = 5;
| Returns | |
|---|---|
| Type | Description |
ProductOrBuilder |
|
getResourceCategory()
public ResourceCategory getResourceCategory()The category of the resource.
.google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 14;
| Returns | |
|---|---|
| Type | Description |
ResourceCategory |
The resourceCategory. |
getResourceCategoryValue()
public int getResourceCategoryValue()The category of the resource.
.google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 14;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for resourceCategory. |
getResourceName()
public String getResourceName() The name of the resource(The last part of the full resource name).
Example:
For full resource name -
//cloudsql.googleapis.com/projects/project-number/instances/mysql-1,
resource name - mysql-1
For full resource name -
//cloudsql.googleapis.com/projects/project-number/instances/postgres-1 ,
resource name - postgres-1
Note: In some cases, there might be more than one resource with the same
resource name.
string resource_name = 15;
| Returns | |
|---|---|
| Type | Description |
String |
The resourceName. |
getResourceNameBytes()
public ByteString getResourceNameBytes() The name of the resource(The last part of the full resource name).
Example:
For full resource name -
//cloudsql.googleapis.com/projects/project-number/instances/mysql-1,
resource name - mysql-1
For full resource name -
//cloudsql.googleapis.com/projects/project-number/instances/postgres-1 ,
resource name - postgres-1
Note: In some cases, there might be more than one resource with the same
resource name.
string resource_name = 15;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for resourceName. |
getResourceType()
public String getResourceType()The type of resource defined according to the pattern: {Service Name}/{Type}. Ex: sqladmin.googleapis.com/Instance alloydb.googleapis.com/Cluster alloydb.googleapis.com/Instance spanner.googleapis.com/Instance
string resource_type = 8;
| Returns | |
|---|---|
| Type | Description |
String |
The resourceType. |
getResourceTypeBytes()
public ByteString getResourceTypeBytes()The type of resource defined according to the pattern: {Service Name}/{Type}. Ex: sqladmin.googleapis.com/Instance alloydb.googleapis.com/Cluster alloydb.googleapis.com/Instance spanner.googleapis.com/Instance
string resource_type = 8;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for resourceType. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getSignalGroups(int index)
public SignalGroup getSignalGroups(int index)The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.
repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SignalGroup |
|
getSignalGroupsCount()
public int getSignalGroupsCount()The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.
repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10;
| Returns | |
|---|---|
| Type | Description |
int |
|
getSignalGroupsList()
public List<SignalGroup> getSignalGroupsList()The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.
repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10;
| Returns | |
|---|---|
| Type | Description |
List<SignalGroup> |
|
getSignalGroupsOrBuilder(int index)
public SignalGroupOrBuilder getSignalGroupsOrBuilder(int index)The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.
repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SignalGroupOrBuilder |
|
getSignalGroupsOrBuilderList()
public List<? extends SignalGroupOrBuilder> getSignalGroupsOrBuilderList()The list of signal groups and count of issues related to the resource. Only those signals which have been requested would be included.
repeated .google.cloud.databasecenter.v1beta.SignalGroup signal_groups = 10;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.databasecenter.v1beta.SignalGroupOrBuilder> |
|
getSubResourceType()
public SubResourceType getSubResourceType()Subtype of the resource specified at creation time.
.google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 9;
| Returns | |
|---|---|
| Type | Description |
SubResourceType |
The subResourceType. |
getSubResourceTypeValue()
public int getSubResourceTypeValue()Subtype of the resource specified at creation time.
.google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 9;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for subResourceType. |
getTags(int index)
public Tag getTags(int index)Tags applied on the resource. The requirements for tags assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/tags/tags-overview
repeated .google.cloud.databasecenter.v1beta.Tag tags = 16;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Tag |
|
getTagsCount()
public int getTagsCount()Tags applied on the resource. The requirements for tags assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/tags/tags-overview
repeated .google.cloud.databasecenter.v1beta.Tag tags = 16;
| Returns | |
|---|---|
| Type | Description |
int |
|
getTagsList()
public List<Tag> getTagsList()Tags applied on the resource. The requirements for tags assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/tags/tags-overview
repeated .google.cloud.databasecenter.v1beta.Tag tags = 16;
| Returns | |
|---|---|
| Type | Description |
List<Tag> |
|
getTagsOrBuilder(int index)
public TagOrBuilder getTagsOrBuilder(int index)Tags applied on the resource. The requirements for tags assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/tags/tags-overview
repeated .google.cloud.databasecenter.v1beta.Tag tags = 16;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
TagOrBuilder |
|
getTagsOrBuilderList()
public List<? extends TagOrBuilder> getTagsOrBuilderList()Tags applied on the resource. The requirements for tags assigned to Google Cloud resources may be found at https://cloud.google.com/resource-manager/docs/tags/tags-overview
repeated .google.cloud.databasecenter.v1beta.Tag tags = 16;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.databasecenter.v1beta.TagOrBuilder> |
|
hasBackupdrConfig()
public boolean hasBackupdrConfig()Optional. Backup and disaster recovery details for the resource.
.google.cloud.databasecenter.v1beta.BackupDRConfig backupdr_config = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the backupdrConfig field is set. |
hasMachineConfig()
public boolean hasMachineConfig()Machine configuration like CPU, memory, etc for the resource.
.google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the machineConfig field is set. |
hasMaintenanceInfo()
public boolean hasMaintenanceInfo()Optional. The maintenance information of the resource.
.google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the maintenanceInfo field is set. |
hasMetrics()
public boolean hasMetrics()Observable metrics for the resource e.g. CPU utilization, memory utilization, etc.
.google.cloud.databasecenter.v1beta.Metrics metrics = 13;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the metrics field is set. |
hasProduct()
public boolean hasProduct()The product this resource represents.
.google.cloud.databasecenter.v1beta.Product product = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the product field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public DatabaseResource.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
DatabaseResource.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DatabaseResource.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
DatabaseResource.Builder |
|
toBuilder()
public DatabaseResource.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
DatabaseResource.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|