Interface DatabaseResourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DatabaseResource,DatabaseResource.Builder
@Generated
public interface DatabaseResourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAffiliations(int index) Optional.intOptional.Optional.getAffiliationsOrBuilder(int index) Optional.List<? extends AffiliationOrBuilder>Optional.Optional.Optional.getChildResources(int index) List of children associated with a database group.intList of children associated with a database group.List of children associated with a database group.getChildResourcesOrBuilder(int index) List of children associated with a database group.List<? extends DatabaseResourceOrBuilder>List of children associated with a database group.Specifies where the resource is created.com.google.protobuf.ByteStringSpecifies where the resource is created.The edition of the resource.intThe edition of the resource.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`com.google.protobuf.ByteStringThe 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`getLabels(int index) Labels applied on the resource.intLabels applied on the resource.Labels applied on the resource.getLabelsOrBuilder(int index) Labels applied on the resource.List<? extends LabelOrBuilder>Labels applied on the resource.The location of the resources.com.google.protobuf.ByteStringThe location of the resources.Machine configuration like CPU, memory, etc for the resource.Machine configuration like CPU, memory, etc for the resource.Optional.Optional.Observable metrics for the resource e.g.Observable metrics for the resource e.g.The product this resource represents.The product this resource represents.The category of the resource.intThe category of the resource.The name of the resource(The last part of the full resource name).com.google.protobuf.ByteStringThe name of the resource(The last part of the full resource name).The type of resource defined according to the pattern: {Service Name}/{Type}.com.google.protobuf.ByteStringThe type of resource defined according to the pattern: {Service Name}/{Type}.getSignalGroups(int index) The list of signal groups and count of issues related to the resource.intThe list of signal groups and count of issues related to the resource.The list of signal groups and count of issues related to the resource.getSignalGroupsOrBuilder(int index) The list of signal groups and count of issues related to the resource.List<? extends SignalGroupOrBuilder>The list of signal groups and count of issues related to the resource.Subtype of the resource specified at creation time.intSubtype of the resource specified at creation time.getTags(int index) Tags applied on the resource.intTags applied on the resource.Tags applied on the resource.getTagsOrBuilder(int index) Tags applied on the resource.List<? extends TagOrBuilder>Tags applied on the resource.booleanOptional.booleanMachine configuration like CPU, memory, etc for the resource.booleanOptional.booleanObservable metrics for the resource e.g.booleanThe product this resource represents.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getChildResourcesList
List<DatabaseResource> getChildResourcesList()List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1; -
getChildResources
List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1; -
getChildResourcesCount
int getChildResourcesCount()List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1; -
getChildResourcesOrBuilderList
List<? extends DatabaseResourceOrBuilder> getChildResourcesOrBuilderList()List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1; -
getChildResourcesOrBuilder
List of children associated with a database group.
repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1; -
getFullResourceName
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:
- The fullResourceName.
-
getFullResourceNameBytes
com.google.protobuf.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:
- The bytes for fullResourceName.
-
getContainer
String getContainer()Specifies where the resource is created. For Google Cloud resources, it is the full name of the project.
string container = 4;- Returns:
- The container.
-
getContainerBytes
com.google.protobuf.ByteString getContainerBytes()Specifies where the resource is created. For Google Cloud resources, it is the full name of the project.
string container = 4;- Returns:
- The bytes for container.
-
hasProduct
boolean hasProduct()The product this resource represents.
.google.cloud.databasecenter.v1beta.Product product = 5;- Returns:
- Whether the product field is set.
-
getProduct
Product getProduct()The product this resource represents.
.google.cloud.databasecenter.v1beta.Product product = 5;- Returns:
- The product.
-
getProductOrBuilder
ProductOrBuilder getProductOrBuilder()The product this resource represents.
.google.cloud.databasecenter.v1beta.Product product = 5; -
getLocation
String getLocation()The location of the resources. It supports returning only regional locations in Google Cloud. 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:
- The location.
-
getLocationBytes
com.google.protobuf.ByteString getLocationBytes()The location of the resources. It supports returning only regional locations in Google Cloud. 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:
- The bytes for location.
-
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; -
getLabels
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; -
getLabelsCount
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; -
getLabelsOrBuilderList
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; -
getLabelsOrBuilder
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; -
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; -
getTags
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; -
getTagsCount
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; -
getTagsOrBuilderList
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; -
getTagsOrBuilder
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; -
getResourceType
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/Instancestring resource_type = 8;- Returns:
- The resourceType.
-
getResourceTypeBytes
com.google.protobuf.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/Instancestring resource_type = 8;- Returns:
- The bytes for resourceType.
-
getSubResourceTypeValue
int getSubResourceTypeValue()Subtype of the resource specified at creation time.
.google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 9;- Returns:
- The enum numeric value on the wire for subResourceType.
-
getSubResourceType
SubResourceType getSubResourceType()Subtype of the resource specified at creation time.
.google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 9;- Returns:
- The subResourceType.
-
hasMachineConfig
boolean hasMachineConfig()Machine configuration like CPU, memory, etc for the resource.
.google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12;- Returns:
- Whether the machineConfig field is set.
-
getMachineConfig
MachineConfig getMachineConfig()Machine configuration like CPU, memory, etc for the resource.
.google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12;- Returns:
- The machineConfig.
-
getMachineConfigOrBuilder
MachineConfigOrBuilder getMachineConfigOrBuilder()Machine configuration like CPU, memory, etc for the resource.
.google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12; -
getSignalGroupsList
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; -
getSignalGroups
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; -
getSignalGroupsCount
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; -
getSignalGroupsOrBuilderList
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; -
getSignalGroupsOrBuilder
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; -
hasMetrics
boolean hasMetrics()Observable metrics for the resource e.g. CPU utilization, memory utilization, etc.
.google.cloud.databasecenter.v1beta.Metrics metrics = 13;- Returns:
- Whether the metrics field is set.
-
getMetrics
Metrics getMetrics()Observable metrics for the resource e.g. CPU utilization, memory utilization, etc.
.google.cloud.databasecenter.v1beta.Metrics metrics = 13;- Returns:
- The metrics.
-
getMetricsOrBuilder
MetricsOrBuilder getMetricsOrBuilder()Observable metrics for the resource e.g. CPU utilization, memory utilization, etc.
.google.cloud.databasecenter.v1beta.Metrics metrics = 13; -
getResourceCategoryValue
int getResourceCategoryValue()The category of the resource.
.google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 14;- Returns:
- The enum numeric value on the wire for resourceCategory.
-
getResourceCategory
ResourceCategory getResourceCategory()The category of the resource.
.google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 14;- Returns:
- The resourceCategory.
-
getResourceName
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:
- The resourceName.
-
getResourceNameBytes
com.google.protobuf.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:
- The bytes for resourceName.
-
hasBackupdrConfig
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:
- Whether the backupdrConfig field is set.
-
getBackupdrConfig
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:
- The backupdrConfig.
-
getBackupdrConfigOrBuilder
BackupDRConfigOrBuilder getBackupdrConfigOrBuilder()Optional. Backup and disaster recovery details for the resource.
.google.cloud.databasecenter.v1beta.BackupDRConfig backupdr_config = 17 [(.google.api.field_behavior) = OPTIONAL]; -
getEditionValue
int getEditionValue()The edition of the resource.
.google.cloud.databasecenter.v1beta.Edition edition = 18;- Returns:
- The enum numeric value on the wire for edition.
-
getEdition
Edition getEdition()The edition of the resource.
.google.cloud.databasecenter.v1beta.Edition edition = 18;- Returns:
- The edition.
-
hasMaintenanceInfo
boolean hasMaintenanceInfo()Optional. The maintenance information of the resource.
.google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the maintenanceInfo field is set.
-
getMaintenanceInfo
MaintenanceInfo getMaintenanceInfo()Optional. The maintenance information of the resource.
.google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The maintenanceInfo.
-
getMaintenanceInfoOrBuilder
MaintenanceInfoOrBuilder getMaintenanceInfoOrBuilder()Optional. The maintenance information of the resource.
.google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.google.api.field_behavior) = OPTIONAL]; -
getAffiliationsList
List<Affiliation> getAffiliationsList()Optional. Affiliation details of the resource.
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL]; -
getAffiliations
Optional. Affiliation details of the resource.
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL]; -
getAffiliationsCount
int getAffiliationsCount()Optional. Affiliation details of the resource.
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL]; -
getAffiliationsOrBuilderList
List<? extends AffiliationOrBuilder> getAffiliationsOrBuilderList()Optional. Affiliation details of the resource.
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL]; -
getAffiliationsOrBuilder
Optional. Affiliation details of the resource.
repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];
-