Class ResourceDetails.Builder

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

public static final class ResourceDetails.Builder extends com.google.protobuf.GeneratedMessage.Builder<ResourceDetails.Builder> implements ResourceDetailsOrBuilder
 Capture the resource details for resources that are included in the delta
 counts.
 
Protobuf type google.cloud.databasecenter.v1beta.ResourceDetails
  • 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<ResourceDetails.Builder>
    • clear

      public ResourceDetails.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<ResourceDetails.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<ResourceDetails.Builder>
    • getDefaultInstanceForType

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

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

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

      public ResourceDetails.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<ResourceDetails.Builder>
    • mergeFrom

      public ResourceDetails.Builder mergeFrom(ResourceDetails other)
    • isInitialized

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

      public ResourceDetails.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<ResourceDetails.Builder>
      Throws:
      IOException
    • getFullResourceName

      public String getFullResourceName()
       Full resource name of the resource.
       
      string full_resource_name = 1;
      Specified by:
      getFullResourceName in interface ResourceDetailsOrBuilder
      Returns:
      The fullResourceName.
    • getFullResourceNameBytes

      public com.google.protobuf.ByteString getFullResourceNameBytes()
       Full resource name of the resource.
       
      string full_resource_name = 1;
      Specified by:
      getFullResourceNameBytes in interface ResourceDetailsOrBuilder
      Returns:
      The bytes for fullResourceName.
    • setFullResourceName

      public ResourceDetails.Builder setFullResourceName(String value)
       Full resource name of the resource.
       
      string full_resource_name = 1;
      Parameters:
      value - The fullResourceName to set.
      Returns:
      This builder for chaining.
    • clearFullResourceName

      public ResourceDetails.Builder clearFullResourceName()
       Full resource name of the resource.
       
      string full_resource_name = 1;
      Returns:
      This builder for chaining.
    • setFullResourceNameBytes

      public ResourceDetails.Builder setFullResourceNameBytes(com.google.protobuf.ByteString value)
       Full resource name of the resource.
       
      string full_resource_name = 1;
      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 = 2;
      Specified by:
      getContainer in interface ResourceDetailsOrBuilder
      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 = 2;
      Specified by:
      getContainerBytes in interface ResourceDetailsOrBuilder
      Returns:
      The bytes for container.
    • setContainer

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

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

      public ResourceDetails.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 = 2;
      Parameters:
      value - The bytes for container to set.
      Returns:
      This builder for chaining.
    • hasProduct

      public boolean hasProduct()
       Product type of the resource.
       
      .google.cloud.databasecenter.v1beta.Product product = 3;
      Specified by:
      hasProduct in interface ResourceDetailsOrBuilder
      Returns:
      Whether the product field is set.
    • getProduct

      public Product getProduct()
       Product type of the resource.
       
      .google.cloud.databasecenter.v1beta.Product product = 3;
      Specified by:
      getProduct in interface ResourceDetailsOrBuilder
      Returns:
      The product.
    • setProduct

      public ResourceDetails.Builder setProduct(Product value)
       Product type of the resource.
       
      .google.cloud.databasecenter.v1beta.Product product = 3;
    • setProduct

      public ResourceDetails.Builder setProduct(Product.Builder builderForValue)
       Product type of the resource.
       
      .google.cloud.databasecenter.v1beta.Product product = 3;
    • mergeProduct

      public ResourceDetails.Builder mergeProduct(Product value)
       Product type of the resource.
       
      .google.cloud.databasecenter.v1beta.Product product = 3;
    • clearProduct

      public ResourceDetails.Builder clearProduct()
       Product type of the resource.
       
      .google.cloud.databasecenter.v1beta.Product product = 3;
    • getProductBuilder

      public Product.Builder getProductBuilder()
       Product type of the resource.
       
      .google.cloud.databasecenter.v1beta.Product product = 3;
    • getProductOrBuilder

      public ProductOrBuilder getProductOrBuilder()
       Product type of the resource.
       
      .google.cloud.databasecenter.v1beta.Product product = 3;
      Specified by:
      getProductOrBuilder in interface ResourceDetailsOrBuilder
    • getLocation

      public String getLocation()
       Location of the resource.
       
      string location = 4;
      Specified by:
      getLocation in interface ResourceDetailsOrBuilder
      Returns:
      The location.
    • getLocationBytes

      public com.google.protobuf.ByteString getLocationBytes()
       Location of the resource.
       
      string location = 4;
      Specified by:
      getLocationBytes in interface ResourceDetailsOrBuilder
      Returns:
      The bytes for location.
    • setLocation

      public ResourceDetails.Builder setLocation(String value)
       Location of the resource.
       
      string location = 4;
      Parameters:
      value - The location to set.
      Returns:
      This builder for chaining.
    • clearLocation

      public ResourceDetails.Builder clearLocation()
       Location of the resource.
       
      string location = 4;
      Returns:
      This builder for chaining.
    • setLocationBytes

      public ResourceDetails.Builder setLocationBytes(com.google.protobuf.ByteString value)
       Location of the resource.
       
      string location = 4;
      Parameters:
      value - The bytes for location to set.
      Returns:
      This builder for chaining.