Class DatabaseResource.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DatabaseResource.Builder>
com.google.cloud.databasecenter.v1beta.DatabaseResource.Builder
All Implemented Interfaces:
DatabaseResourceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DatabaseResource

public static final class DatabaseResource.Builder extends com.google.protobuf.GeneratedMessage.Builder<DatabaseResource.Builder> implements DatabaseResourceOrBuilder
 DatabaseResource represents every individually configured database unit
 representing compute and/or storage.
 
Protobuf type google.cloud.databasecenter.v1beta.DatabaseResource
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DatabaseResource.Builder>
    • clear

      public DatabaseResource.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DatabaseResource.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DatabaseResource.Builder>
    • getDefaultInstanceForType

      public DatabaseResource getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public DatabaseResource build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DatabaseResource buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DatabaseResource.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DatabaseResource.Builder>
    • mergeFrom

      public DatabaseResource.Builder mergeFrom(DatabaseResource other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DatabaseResource.Builder>
    • mergeFrom

      public DatabaseResource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DatabaseResource.Builder>
      Throws:
      IOException
    • getChildResourcesList

      public List<DatabaseResource> getChildResourcesList()
       List of children associated with a database group.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;
      Specified by:
      getChildResourcesList in interface DatabaseResourceOrBuilder
    • getChildResourcesCount

      public int getChildResourcesCount()
       List of children associated with a database group.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;
      Specified by:
      getChildResourcesCount in interface DatabaseResourceOrBuilder
    • getChildResources

      public DatabaseResource getChildResources(int index)
       List of children associated with a database group.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;
      Specified by:
      getChildResources in interface DatabaseResourceOrBuilder
    • setChildResources

      public DatabaseResource.Builder setChildResources(int index, DatabaseResource value)
       List of children associated with a database group.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;
    • setChildResources

      public DatabaseResource.Builder setChildResources(int index, DatabaseResource.Builder builderForValue)
       List of children associated with a database group.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;
    • addChildResources

      public DatabaseResource.Builder addChildResources(DatabaseResource value)
       List of children associated with a database group.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;
    • addChildResources

      public DatabaseResource.Builder addChildResources(int index, DatabaseResource value)
       List of children associated with a database group.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;
    • addChildResources

      public DatabaseResource.Builder addChildResources(DatabaseResource.Builder builderForValue)
       List of children associated with a database group.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;
    • addChildResources

      public DatabaseResource.Builder addChildResources(int index, DatabaseResource.Builder builderForValue)
       List of children associated with a database group.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;
    • addAllChildResources

      public DatabaseResource.Builder addAllChildResources(Iterable<? extends DatabaseResource> values)
       List of children associated with a database group.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;
    • clearChildResources

      public DatabaseResource.Builder clearChildResources()
       List of children associated with a database group.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;
    • removeChildResources

      public DatabaseResource.Builder removeChildResources(int index)
       List of children associated with a database group.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;
    • getChildResourcesBuilder

      public DatabaseResource.Builder getChildResourcesBuilder(int index)
       List of children associated with a database group.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;
    • getChildResourcesOrBuilder

      public DatabaseResourceOrBuilder getChildResourcesOrBuilder(int index)
       List of children associated with a database group.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;
      Specified by:
      getChildResourcesOrBuilder in interface DatabaseResourceOrBuilder
    • getChildResourcesOrBuilderList

      public List<? extends DatabaseResourceOrBuilder> getChildResourcesOrBuilderList()
       List of children associated with a database group.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;
      Specified by:
      getChildResourcesOrBuilderList in interface DatabaseResourceOrBuilder
    • addChildResourcesBuilder

      public DatabaseResource.Builder addChildResourcesBuilder()
       List of children associated with a database group.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;
    • addChildResourcesBuilder

      public DatabaseResource.Builder addChildResourcesBuilder(int index)
       List of children associated with a database group.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;
    • getChildResourcesBuilderList

      public List<DatabaseResource.Builder> getChildResourcesBuilderList()
       List of children associated with a database group.
       
      repeated .google.cloud.databasecenter.v1beta.DatabaseResource child_resources = 1;
    • 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;
      Specified by:
      getFullResourceName in interface DatabaseResourceOrBuilder
      Returns:
      The fullResourceName.
    • getFullResourceNameBytes

      public 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;
      Specified by:
      getFullResourceNameBytes in interface DatabaseResourceOrBuilder
      Returns:
      The bytes for fullResourceName.
    • setFullResourceName

      public DatabaseResource.Builder setFullResourceName(String value)
       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;
      Parameters:
      value - The fullResourceName to set.
      Returns:
      This builder for chaining.
    • clearFullResourceName

      public DatabaseResource.Builder clearFullResourceName()
       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:
      This builder for chaining.
    • setFullResourceNameBytes

      public DatabaseResource.Builder setFullResourceNameBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for fullResourceName to set.
      Returns:
      This builder for chaining.
    • getContainer

      public String getContainer()
       Specifies where the resource is created. For Google Cloud resources, it is
       the full name of the project.
       
      string container = 4;
      Specified by:
      getContainer in interface DatabaseResourceOrBuilder
      Returns:
      The container.
    • getContainerBytes

      public 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;
      Specified by:
      getContainerBytes in interface DatabaseResourceOrBuilder
      Returns:
      The bytes for container.
    • setContainer

      public DatabaseResource.Builder setContainer(String value)
       Specifies where the resource is created. For Google Cloud resources, it is
       the full name of the project.
       
      string container = 4;
      Parameters:
      value - The container to set.
      Returns:
      This builder for chaining.
    • clearContainer

      public DatabaseResource.Builder clearContainer()
       Specifies where the resource is created. For Google Cloud resources, it is
       the full name of the project.
       
      string container = 4;
      Returns:
      This builder for chaining.
    • setContainerBytes

      public DatabaseResource.Builder setContainerBytes(com.google.protobuf.ByteString value)
       Specifies where the resource is created. For Google Cloud resources, it is
       the full name of the project.
       
      string container = 4;
      Parameters:
      value - The bytes for container to set.
      Returns:
      This builder for chaining.
    • hasProduct

      public boolean hasProduct()
       The product this resource represents.
       
      .google.cloud.databasecenter.v1beta.Product product = 5;
      Specified by:
      hasProduct in interface DatabaseResourceOrBuilder
      Returns:
      Whether the product field is set.
    • getProduct

      public Product getProduct()
       The product this resource represents.
       
      .google.cloud.databasecenter.v1beta.Product product = 5;
      Specified by:
      getProduct in interface DatabaseResourceOrBuilder
      Returns:
      The product.
    • setProduct

      public DatabaseResource.Builder setProduct(Product value)
       The product this resource represents.
       
      .google.cloud.databasecenter.v1beta.Product product = 5;
    • setProduct

      public DatabaseResource.Builder setProduct(Product.Builder builderForValue)
       The product this resource represents.
       
      .google.cloud.databasecenter.v1beta.Product product = 5;
    • mergeProduct

      public DatabaseResource.Builder mergeProduct(Product value)
       The product this resource represents.
       
      .google.cloud.databasecenter.v1beta.Product product = 5;
    • clearProduct

      public DatabaseResource.Builder clearProduct()
       The product this resource represents.
       
      .google.cloud.databasecenter.v1beta.Product product = 5;
    • getProductBuilder

      public Product.Builder getProductBuilder()
       The product this resource represents.
       
      .google.cloud.databasecenter.v1beta.Product product = 5;
    • getProductOrBuilder

      public ProductOrBuilder getProductOrBuilder()
       The product this resource represents.
       
      .google.cloud.databasecenter.v1beta.Product product = 5;
      Specified by:
      getProductOrBuilder in interface DatabaseResourceOrBuilder
    • getLocation

      public 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;
      Specified by:
      getLocation in interface DatabaseResourceOrBuilder
      Returns:
      The location.
    • getLocationBytes

      public 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;
      Specified by:
      getLocationBytes in interface DatabaseResourceOrBuilder
      Returns:
      The bytes for location.
    • setLocation

      public DatabaseResource.Builder setLocation(String value)
       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;
      Parameters:
      value - The location to set.
      Returns:
      This builder for chaining.
    • clearLocation

      public DatabaseResource.Builder clearLocation()
       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:
      This builder for chaining.
    • setLocationBytes

      public DatabaseResource.Builder setLocationBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for location to set.
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      getLabelsList in interface DatabaseResourceOrBuilder
    • 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;
      Specified by:
      getLabelsCount in interface DatabaseResourceOrBuilder
    • getLabels

      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;
      Specified by:
      getLabels in interface DatabaseResourceOrBuilder
    • setLabels

      public DatabaseResource.Builder setLabels(int index, Label value)
       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;
    • setLabels

      public DatabaseResource.Builder setLabels(int index, Label.Builder builderForValue)
       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;
    • addLabels

      public DatabaseResource.Builder addLabels(Label value)
       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;
    • addLabels

      public DatabaseResource.Builder addLabels(int index, Label value)
       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;
    • addLabels

      public DatabaseResource.Builder addLabels(Label.Builder builderForValue)
       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;
    • addLabels

      public DatabaseResource.Builder addLabels(int index, Label.Builder builderForValue)
       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;
    • addAllLabels

      public DatabaseResource.Builder addAllLabels(Iterable<? extends Label> values)
       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;
    • clearLabels

      public DatabaseResource.Builder clearLabels()
       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;
    • removeLabels

      public DatabaseResource.Builder removeLabels(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;
    • getLabelsBuilder

      public Label.Builder getLabelsBuilder(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;
    • getLabelsOrBuilder

      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;
      Specified by:
      getLabelsOrBuilder in interface DatabaseResourceOrBuilder
    • 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;
      Specified by:
      getLabelsOrBuilderList in interface DatabaseResourceOrBuilder
    • addLabelsBuilder

      public Label.Builder addLabelsBuilder()
       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;
    • addLabelsBuilder

      public Label.Builder addLabelsBuilder(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;
    • getLabelsBuilderList

      public List<Label.Builder> getLabelsBuilderList()
       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

      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;
      Specified by:
      getTagsList in interface DatabaseResourceOrBuilder
    • 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;
      Specified by:
      getTagsCount in interface DatabaseResourceOrBuilder
    • getTags

      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;
      Specified by:
      getTags in interface DatabaseResourceOrBuilder
    • setTags

      public DatabaseResource.Builder setTags(int index, Tag value)
       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;
    • setTags

      public DatabaseResource.Builder setTags(int index, Tag.Builder builderForValue)
       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;
    • addTags

      public DatabaseResource.Builder addTags(Tag value)
       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;
    • addTags

      public DatabaseResource.Builder addTags(int index, Tag value)
       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;
    • addTags

      public DatabaseResource.Builder addTags(Tag.Builder builderForValue)
       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;
    • addTags

      public DatabaseResource.Builder addTags(int index, Tag.Builder builderForValue)
       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;
    • addAllTags

      public DatabaseResource.Builder addAllTags(Iterable<? extends Tag> values)
       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;
    • clearTags

      public DatabaseResource.Builder clearTags()
       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;
    • removeTags

      public DatabaseResource.Builder removeTags(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;
    • getTagsBuilder

      public Tag.Builder getTagsBuilder(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;
    • getTagsOrBuilder

      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;
      Specified by:
      getTagsOrBuilder in interface DatabaseResourceOrBuilder
    • 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;
      Specified by:
      getTagsOrBuilderList in interface DatabaseResourceOrBuilder
    • addTagsBuilder

      public Tag.Builder addTagsBuilder()
       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;
    • addTagsBuilder

      public Tag.Builder addTagsBuilder(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;
    • getTagsBuilderList

      public List<Tag.Builder> getTagsBuilderList()
       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

      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;
      Specified by:
      getResourceType in interface DatabaseResourceOrBuilder
      Returns:
      The resourceType.
    • getResourceTypeBytes

      public 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;
      Specified by:
      getResourceTypeBytes in interface DatabaseResourceOrBuilder
      Returns:
      The bytes for resourceType.
    • setResourceType

      public DatabaseResource.Builder setResourceType(String value)
       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;
      Parameters:
      value - The resourceType to set.
      Returns:
      This builder for chaining.
    • clearResourceType

      public DatabaseResource.Builder clearResourceType()
       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:
      This builder for chaining.
    • setResourceTypeBytes

      public DatabaseResource.Builder setResourceTypeBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for resourceType to set.
      Returns:
      This builder for chaining.
    • getSubResourceTypeValue

      public int getSubResourceTypeValue()
       Subtype of the resource specified at creation time.
       
      .google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 9;
      Specified by:
      getSubResourceTypeValue in interface DatabaseResourceOrBuilder
      Returns:
      The enum numeric value on the wire for subResourceType.
    • setSubResourceTypeValue

      public DatabaseResource.Builder setSubResourceTypeValue(int value)
       Subtype of the resource specified at creation time.
       
      .google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 9;
      Parameters:
      value - The enum numeric value on the wire for subResourceType to set.
      Returns:
      This builder for chaining.
    • getSubResourceType

      public SubResourceType getSubResourceType()
       Subtype of the resource specified at creation time.
       
      .google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 9;
      Specified by:
      getSubResourceType in interface DatabaseResourceOrBuilder
      Returns:
      The subResourceType.
    • setSubResourceType

      public DatabaseResource.Builder setSubResourceType(SubResourceType value)
       Subtype of the resource specified at creation time.
       
      .google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 9;
      Parameters:
      value - The subResourceType to set.
      Returns:
      This builder for chaining.
    • clearSubResourceType

      public DatabaseResource.Builder clearSubResourceType()
       Subtype of the resource specified at creation time.
       
      .google.cloud.databasecenter.v1beta.SubResourceType sub_resource_type = 9;
      Returns:
      This builder for chaining.
    • hasMachineConfig

      public boolean hasMachineConfig()
       Machine configuration like CPU, memory, etc for the resource.
       
      .google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12;
      Specified by:
      hasMachineConfig in interface DatabaseResourceOrBuilder
      Returns:
      Whether the machineConfig field is set.
    • getMachineConfig

      public MachineConfig getMachineConfig()
       Machine configuration like CPU, memory, etc for the resource.
       
      .google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12;
      Specified by:
      getMachineConfig in interface DatabaseResourceOrBuilder
      Returns:
      The machineConfig.
    • setMachineConfig

      public DatabaseResource.Builder setMachineConfig(MachineConfig value)
       Machine configuration like CPU, memory, etc for the resource.
       
      .google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12;
    • setMachineConfig

      public DatabaseResource.Builder setMachineConfig(MachineConfig.Builder builderForValue)
       Machine configuration like CPU, memory, etc for the resource.
       
      .google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12;
    • mergeMachineConfig

      public DatabaseResource.Builder mergeMachineConfig(MachineConfig value)
       Machine configuration like CPU, memory, etc for the resource.
       
      .google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12;
    • clearMachineConfig

      public DatabaseResource.Builder clearMachineConfig()
       Machine configuration like CPU, memory, etc for the resource.
       
      .google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12;
    • getMachineConfigBuilder

      public MachineConfig.Builder getMachineConfigBuilder()
       Machine configuration like CPU, memory, etc for the resource.
       
      .google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12;
    • getMachineConfigOrBuilder

      public MachineConfigOrBuilder getMachineConfigOrBuilder()
       Machine configuration like CPU, memory, etc for the resource.
       
      .google.cloud.databasecenter.v1beta.MachineConfig machine_config = 12;
      Specified by:
      getMachineConfigOrBuilder in interface DatabaseResourceOrBuilder
    • 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;
      Specified by:
      getSignalGroupsList in interface DatabaseResourceOrBuilder
    • 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;
      Specified by:
      getSignalGroupsCount in interface DatabaseResourceOrBuilder
    • getSignalGroups

      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;
      Specified by:
      getSignalGroups in interface DatabaseResourceOrBuilder
    • setSignalGroups

      public DatabaseResource.Builder setSignalGroups(int index, SignalGroup value)
       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;
    • setSignalGroups

      public DatabaseResource.Builder setSignalGroups(int index, SignalGroup.Builder builderForValue)
       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;
    • addSignalGroups

      public DatabaseResource.Builder addSignalGroups(SignalGroup value)
       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;
    • addSignalGroups

      public DatabaseResource.Builder addSignalGroups(int index, SignalGroup value)
       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;
    • addSignalGroups

      public DatabaseResource.Builder addSignalGroups(SignalGroup.Builder builderForValue)
       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;
    • addSignalGroups

      public DatabaseResource.Builder addSignalGroups(int index, SignalGroup.Builder builderForValue)
       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;
    • addAllSignalGroups

      public DatabaseResource.Builder addAllSignalGroups(Iterable<? extends SignalGroup> values)
       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;
    • clearSignalGroups

      public DatabaseResource.Builder clearSignalGroups()
       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;
    • removeSignalGroups

      public DatabaseResource.Builder removeSignalGroups(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;
    • getSignalGroupsBuilder

      public SignalGroup.Builder getSignalGroupsBuilder(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;
    • getSignalGroupsOrBuilder

      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;
      Specified by:
      getSignalGroupsOrBuilder in interface DatabaseResourceOrBuilder
    • 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;
      Specified by:
      getSignalGroupsOrBuilderList in interface DatabaseResourceOrBuilder
    • addSignalGroupsBuilder

      public SignalGroup.Builder addSignalGroupsBuilder()
       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;
    • addSignalGroupsBuilder

      public SignalGroup.Builder addSignalGroupsBuilder(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;
    • getSignalGroupsBuilderList

      public List<SignalGroup.Builder> getSignalGroupsBuilderList()
       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

      public boolean hasMetrics()
       Observable metrics for the resource e.g. CPU utilization, memory
       utilization, etc.
       
      .google.cloud.databasecenter.v1beta.Metrics metrics = 13;
      Specified by:
      hasMetrics in interface DatabaseResourceOrBuilder
      Returns:
      Whether the metrics field is set.
    • getMetrics

      public Metrics getMetrics()
       Observable metrics for the resource e.g. CPU utilization, memory
       utilization, etc.
       
      .google.cloud.databasecenter.v1beta.Metrics metrics = 13;
      Specified by:
      getMetrics in interface DatabaseResourceOrBuilder
      Returns:
      The metrics.
    • setMetrics

      public DatabaseResource.Builder setMetrics(Metrics value)
       Observable metrics for the resource e.g. CPU utilization, memory
       utilization, etc.
       
      .google.cloud.databasecenter.v1beta.Metrics metrics = 13;
    • setMetrics

      public DatabaseResource.Builder setMetrics(Metrics.Builder builderForValue)
       Observable metrics for the resource e.g. CPU utilization, memory
       utilization, etc.
       
      .google.cloud.databasecenter.v1beta.Metrics metrics = 13;
    • mergeMetrics

      public DatabaseResource.Builder mergeMetrics(Metrics value)
       Observable metrics for the resource e.g. CPU utilization, memory
       utilization, etc.
       
      .google.cloud.databasecenter.v1beta.Metrics metrics = 13;
    • clearMetrics

      public DatabaseResource.Builder clearMetrics()
       Observable metrics for the resource e.g. CPU utilization, memory
       utilization, etc.
       
      .google.cloud.databasecenter.v1beta.Metrics metrics = 13;
    • getMetricsBuilder

      public Metrics.Builder getMetricsBuilder()
       Observable metrics for the resource e.g. CPU utilization, memory
       utilization, etc.
       
      .google.cloud.databasecenter.v1beta.Metrics metrics = 13;
    • getMetricsOrBuilder

      public MetricsOrBuilder getMetricsOrBuilder()
       Observable metrics for the resource e.g. CPU utilization, memory
       utilization, etc.
       
      .google.cloud.databasecenter.v1beta.Metrics metrics = 13;
      Specified by:
      getMetricsOrBuilder in interface DatabaseResourceOrBuilder
    • getResourceCategoryValue

      public int getResourceCategoryValue()
       The category of the resource.
       
      .google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 14;
      Specified by:
      getResourceCategoryValue in interface DatabaseResourceOrBuilder
      Returns:
      The enum numeric value on the wire for resourceCategory.
    • setResourceCategoryValue

      public DatabaseResource.Builder setResourceCategoryValue(int value)
       The category of the resource.
       
      .google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 14;
      Parameters:
      value - The enum numeric value on the wire for resourceCategory to set.
      Returns:
      This builder for chaining.
    • getResourceCategory

      public ResourceCategory getResourceCategory()
       The category of the resource.
       
      .google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 14;
      Specified by:
      getResourceCategory in interface DatabaseResourceOrBuilder
      Returns:
      The resourceCategory.
    • setResourceCategory

      public DatabaseResource.Builder setResourceCategory(ResourceCategory value)
       The category of the resource.
       
      .google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 14;
      Parameters:
      value - The resourceCategory to set.
      Returns:
      This builder for chaining.
    • clearResourceCategory

      public DatabaseResource.Builder clearResourceCategory()
       The category of the resource.
       
      .google.cloud.databasecenter.v1beta.ResourceCategory resource_category = 14;
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      getResourceName in interface DatabaseResourceOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public 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;
      Specified by:
      getResourceNameBytes in interface DatabaseResourceOrBuilder
      Returns:
      The bytes for resourceName.
    • setResourceName

      public DatabaseResource.Builder setResourceName(String value)
       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;
      Parameters:
      value - The resourceName to set.
      Returns:
      This builder for chaining.
    • clearResourceName

      public DatabaseResource.Builder clearResourceName()
       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:
      This builder for chaining.
    • setResourceNameBytes

      public DatabaseResource.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for resourceName to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      hasBackupdrConfig in interface DatabaseResourceOrBuilder
      Returns:
      Whether the backupdrConfig field is set.
    • 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];
      Specified by:
      getBackupdrConfig in interface DatabaseResourceOrBuilder
      Returns:
      The backupdrConfig.
    • setBackupdrConfig

      public DatabaseResource.Builder setBackupdrConfig(BackupDRConfig value)
       Optional. Backup and disaster recovery details for the resource.
       
      .google.cloud.databasecenter.v1beta.BackupDRConfig backupdr_config = 17 [(.google.api.field_behavior) = OPTIONAL];
    • setBackupdrConfig

      public DatabaseResource.Builder setBackupdrConfig(BackupDRConfig.Builder builderForValue)
       Optional. Backup and disaster recovery details for the resource.
       
      .google.cloud.databasecenter.v1beta.BackupDRConfig backupdr_config = 17 [(.google.api.field_behavior) = OPTIONAL];
    • mergeBackupdrConfig

      public DatabaseResource.Builder mergeBackupdrConfig(BackupDRConfig value)
       Optional. Backup and disaster recovery details for the resource.
       
      .google.cloud.databasecenter.v1beta.BackupDRConfig backupdr_config = 17 [(.google.api.field_behavior) = OPTIONAL];
    • clearBackupdrConfig

      public DatabaseResource.Builder clearBackupdrConfig()
       Optional. Backup and disaster recovery details for the resource.
       
      .google.cloud.databasecenter.v1beta.BackupDRConfig backupdr_config = 17 [(.google.api.field_behavior) = OPTIONAL];
    • getBackupdrConfigBuilder

      public BackupDRConfig.Builder getBackupdrConfigBuilder()
       Optional. Backup and disaster recovery details for the resource.
       
      .google.cloud.databasecenter.v1beta.BackupDRConfig backupdr_config = 17 [(.google.api.field_behavior) = OPTIONAL];
    • 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];
      Specified by:
      getBackupdrConfigOrBuilder in interface DatabaseResourceOrBuilder
    • getEditionValue

      public int getEditionValue()
       The edition of the resource.
       
      .google.cloud.databasecenter.v1beta.Edition edition = 18;
      Specified by:
      getEditionValue in interface DatabaseResourceOrBuilder
      Returns:
      The enum numeric value on the wire for edition.
    • setEditionValue

      public DatabaseResource.Builder setEditionValue(int value)
       The edition of the resource.
       
      .google.cloud.databasecenter.v1beta.Edition edition = 18;
      Parameters:
      value - The enum numeric value on the wire for edition to set.
      Returns:
      This builder for chaining.
    • getEdition

      public Edition getEdition()
       The edition of the resource.
       
      .google.cloud.databasecenter.v1beta.Edition edition = 18;
      Specified by:
      getEdition in interface DatabaseResourceOrBuilder
      Returns:
      The edition.
    • setEdition

      public DatabaseResource.Builder setEdition(Edition value)
       The edition of the resource.
       
      .google.cloud.databasecenter.v1beta.Edition edition = 18;
      Parameters:
      value - The edition to set.
      Returns:
      This builder for chaining.
    • clearEdition

      public DatabaseResource.Builder clearEdition()
       The edition of the resource.
       
      .google.cloud.databasecenter.v1beta.Edition edition = 18;
      Returns:
      This builder for chaining.
    • hasMaintenanceInfo

      public boolean hasMaintenanceInfo()
       Optional. The maintenance information of the resource.
       
      .google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasMaintenanceInfo in interface DatabaseResourceOrBuilder
      Returns:
      Whether the maintenanceInfo field is set.
    • getMaintenanceInfo

      public MaintenanceInfo getMaintenanceInfo()
       Optional. The maintenance information of the resource.
       
      .google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMaintenanceInfo in interface DatabaseResourceOrBuilder
      Returns:
      The maintenanceInfo.
    • setMaintenanceInfo

      public DatabaseResource.Builder setMaintenanceInfo(MaintenanceInfo value)
       Optional. The maintenance information of the resource.
       
      .google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.google.api.field_behavior) = OPTIONAL];
    • setMaintenanceInfo

      public DatabaseResource.Builder setMaintenanceInfo(MaintenanceInfo.Builder builderForValue)
       Optional. The maintenance information of the resource.
       
      .google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.google.api.field_behavior) = OPTIONAL];
    • mergeMaintenanceInfo

      public DatabaseResource.Builder mergeMaintenanceInfo(MaintenanceInfo value)
       Optional. The maintenance information of the resource.
       
      .google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.google.api.field_behavior) = OPTIONAL];
    • clearMaintenanceInfo

      public DatabaseResource.Builder clearMaintenanceInfo()
       Optional. The maintenance information of the resource.
       
      .google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.google.api.field_behavior) = OPTIONAL];
    • getMaintenanceInfoBuilder

      public MaintenanceInfo.Builder getMaintenanceInfoBuilder()
       Optional. The maintenance information of the resource.
       
      .google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.google.api.field_behavior) = OPTIONAL];
    • getMaintenanceInfoOrBuilder

      public MaintenanceInfoOrBuilder getMaintenanceInfoOrBuilder()
       Optional. The maintenance information of the resource.
       
      .google.cloud.databasecenter.v1beta.MaintenanceInfo maintenance_info = 19 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMaintenanceInfoOrBuilder in interface DatabaseResourceOrBuilder
    • getAffiliationsList

      public List<Affiliation> getAffiliationsList()
       Optional. Affiliation details of the resource.
       
      repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAffiliationsList in interface DatabaseResourceOrBuilder
    • getAffiliationsCount

      public int getAffiliationsCount()
       Optional. Affiliation details of the resource.
       
      repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAffiliationsCount in interface DatabaseResourceOrBuilder
    • getAffiliations

      public Affiliation getAffiliations(int index)
       Optional. Affiliation details of the resource.
       
      repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAffiliations in interface DatabaseResourceOrBuilder
    • setAffiliations

      public DatabaseResource.Builder setAffiliations(int index, Affiliation value)
       Optional. Affiliation details of the resource.
       
      repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];
    • setAffiliations

      public DatabaseResource.Builder setAffiliations(int index, Affiliation.Builder builderForValue)
       Optional. Affiliation details of the resource.
       
      repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];
    • addAffiliations

      public DatabaseResource.Builder addAffiliations(Affiliation value)
       Optional. Affiliation details of the resource.
       
      repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];
    • addAffiliations

      public DatabaseResource.Builder addAffiliations(int index, Affiliation value)
       Optional. Affiliation details of the resource.
       
      repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];
    • addAffiliations

      public DatabaseResource.Builder addAffiliations(Affiliation.Builder builderForValue)
       Optional. Affiliation details of the resource.
       
      repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];
    • addAffiliations

      public DatabaseResource.Builder addAffiliations(int index, Affiliation.Builder builderForValue)
       Optional. Affiliation details of the resource.
       
      repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];
    • addAllAffiliations

      public DatabaseResource.Builder addAllAffiliations(Iterable<? extends Affiliation> values)
       Optional. Affiliation details of the resource.
       
      repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];
    • clearAffiliations

      public DatabaseResource.Builder clearAffiliations()
       Optional. Affiliation details of the resource.
       
      repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];
    • removeAffiliations

      public DatabaseResource.Builder removeAffiliations(int index)
       Optional. Affiliation details of the resource.
       
      repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];
    • getAffiliationsBuilder

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

      public AffiliationOrBuilder getAffiliationsOrBuilder(int index)
       Optional. Affiliation details of the resource.
       
      repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAffiliationsOrBuilder in interface DatabaseResourceOrBuilder
    • getAffiliationsOrBuilderList

      public List<? extends AffiliationOrBuilder> getAffiliationsOrBuilderList()
       Optional. Affiliation details of the resource.
       
      repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAffiliationsOrBuilderList in interface DatabaseResourceOrBuilder
    • addAffiliationsBuilder

      public Affiliation.Builder addAffiliationsBuilder()
       Optional. Affiliation details of the resource.
       
      repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];
    • addAffiliationsBuilder

      public Affiliation.Builder addAffiliationsBuilder(int index)
       Optional. Affiliation details of the resource.
       
      repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];
    • getAffiliationsBuilderList

      public List<Affiliation.Builder> getAffiliationsBuilderList()
       Optional. Affiliation details of the resource.
       
      repeated .google.cloud.databasecenter.v1beta.Affiliation affiliations = 20 [(.google.api.field_behavior) = OPTIONAL];