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 Details

    • getChildResourcesList

      List<DatabaseResource> getChildResourcesList()
       List of children associated with a database group.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;
    • getChildResources

      DatabaseResource getChildResources(int index)
       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

      DatabaseResourceOrBuilder getChildResourcesOrBuilder(int index)
       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

      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;
    • getLabels

      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;
    • 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

      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;
    • getTagsList

      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;
    • getTags

      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;
    • 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

      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;
    • 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/Instance
       
      string 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/Instance
       
      string 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

      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;
    • 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

      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;
    • 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

      Affiliation getAffiliations(int index)
       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

      AffiliationOrBuilder getAffiliationsOrBuilder(int index)
       Optional. Affiliation details of the resource.
       
      repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];