Class GCAInstanceConfig.Builder

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

public static final class GCAInstanceConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<GCAInstanceConfig.Builder> implements GCAInstanceConfigOrBuilder
 Instance level configuration parameters related to the Gemini Cloud Assist
 product.
 
Protobuf type google.cloud.alloydb.v1beta.GCAInstanceConfig
  • 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<GCAInstanceConfig.Builder>
    • clear

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

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

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

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

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

      public GCAInstanceConfig.Builder mergeFrom(GCAInstanceConfig other)
    • isInitialized

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

      public GCAInstanceConfig.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<GCAInstanceConfig.Builder>
      Throws:
      IOException
    • getGcaEntitlementValue

      public int getGcaEntitlementValue()
       Output only. Represents the GCA entitlement state of the instance.
       
      .google.cloud.alloydb.v1beta.GCAEntitlementType gca_entitlement = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGcaEntitlementValue in interface GCAInstanceConfigOrBuilder
      Returns:
      The enum numeric value on the wire for gcaEntitlement.
    • setGcaEntitlementValue

      public GCAInstanceConfig.Builder setGcaEntitlementValue(int value)
       Output only. Represents the GCA entitlement state of the instance.
       
      .google.cloud.alloydb.v1beta.GCAEntitlementType gca_entitlement = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for gcaEntitlement to set.
      Returns:
      This builder for chaining.
    • getGcaEntitlement

      public GCAEntitlementType getGcaEntitlement()
       Output only. Represents the GCA entitlement state of the instance.
       
      .google.cloud.alloydb.v1beta.GCAEntitlementType gca_entitlement = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGcaEntitlement in interface GCAInstanceConfigOrBuilder
      Returns:
      The gcaEntitlement.
    • setGcaEntitlement

      public GCAInstanceConfig.Builder setGcaEntitlement(GCAEntitlementType value)
       Output only. Represents the GCA entitlement state of the instance.
       
      .google.cloud.alloydb.v1beta.GCAEntitlementType gca_entitlement = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The gcaEntitlement to set.
      Returns:
      This builder for chaining.
    • clearGcaEntitlement

      public GCAInstanceConfig.Builder clearGcaEntitlement()
       Output only. Represents the GCA entitlement state of the instance.
       
      .google.cloud.alloydb.v1beta.GCAEntitlementType gca_entitlement = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.