public interface DatabaseResourceOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getBackupdrConfig()
public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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. |
getEdition()
public abstract Edition getEdition()The edition of the resource.
.google.cloud.databasecenter.v1beta.Edition edition = 18;
| Returns | |
|---|---|
| Type | Description |
Edition |
The edition. |
getEditionValue()
public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 |
|
getProduct()
public abstract Product getProduct()The product this resource represents.
.google.cloud.databasecenter.v1beta.Product product = 5;
| Returns | |
|---|---|
| Type | Description |
Product |
The product. |
getProductOrBuilder()
public abstract ProductOrBuilder getProductOrBuilder()The product this resource represents.
.google.cloud.databasecenter.v1beta.Product product = 5;
| Returns | |
|---|---|
| Type | Description |
ProductOrBuilder |
|
getResourceCategory()
public abstract ResourceCategory getResourceCategory()The category of the resource.
.google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 14;
| Returns | |
|---|---|
| Type | Description |
ResourceCategory |
The resourceCategory. |
getResourceCategoryValue()
public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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. |
getSignalGroups(int index)
public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract boolean hasProduct()The product this resource represents.
.google.cloud.databasecenter.v1beta.Product product = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the product field is set. |