Class AutoscalingConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingConfig.Builder>
com.google.spanner.admin.instance.v1.AutoscalingConfig.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, AutoscalingConfigOrBuilder, Cloneable
Enclosing class:
AutoscalingConfig

public static final class AutoscalingConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingConfig.Builder> implements AutoscalingConfigOrBuilder
 Autoscaling configuration for an instance.
 
Protobuf type google.spanner.admin.instance.v1.AutoscalingConfig
  • Method Details

    • getDescriptor

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

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

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

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

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

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

      public AutoscalingConfig.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingConfig.Builder>
    • setField

      public AutoscalingConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingConfig.Builder>
    • clearField

      public AutoscalingConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingConfig.Builder>
    • clearOneof

      public AutoscalingConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingConfig.Builder>
    • setRepeatedField

      public AutoscalingConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingConfig.Builder>
    • addRepeatedField

      public AutoscalingConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingConfig.Builder>
    • mergeFrom

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

      public AutoscalingConfig.Builder mergeFrom(AutoscalingConfig other)
    • isInitialized

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

      public AutoscalingConfig.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<AutoscalingConfig.Builder>
      Throws:
      IOException
    • hasAutoscalingLimits

      public boolean hasAutoscalingLimits()
       Required. Autoscaling limits for an instance.
       
      .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasAutoscalingLimits in interface AutoscalingConfigOrBuilder
      Returns:
      Whether the autoscalingLimits field is set.
    • getAutoscalingLimits

      public AutoscalingConfig.AutoscalingLimits getAutoscalingLimits()
       Required. Autoscaling limits for an instance.
       
      .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAutoscalingLimits in interface AutoscalingConfigOrBuilder
      Returns:
      The autoscalingLimits.
    • setAutoscalingLimits

       Required. Autoscaling limits for an instance.
       
      .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
    • setAutoscalingLimits

      public AutoscalingConfig.Builder setAutoscalingLimits(AutoscalingConfig.AutoscalingLimits.Builder builderForValue)
       Required. Autoscaling limits for an instance.
       
      .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeAutoscalingLimits

      public AutoscalingConfig.Builder mergeAutoscalingLimits(AutoscalingConfig.AutoscalingLimits value)
       Required. Autoscaling limits for an instance.
       
      .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearAutoscalingLimits

      public AutoscalingConfig.Builder clearAutoscalingLimits()
       Required. Autoscaling limits for an instance.
       
      .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
    • getAutoscalingLimitsBuilder

      public AutoscalingConfig.AutoscalingLimits.Builder getAutoscalingLimitsBuilder()
       Required. Autoscaling limits for an instance.
       
      .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
    • getAutoscalingLimitsOrBuilder

      public AutoscalingConfig.AutoscalingLimitsOrBuilder getAutoscalingLimitsOrBuilder()
       Required. Autoscaling limits for an instance.
       
      .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAutoscalingLimitsOrBuilder in interface AutoscalingConfigOrBuilder
    • hasAutoscalingTargets

      public boolean hasAutoscalingTargets()
       Required. The autoscaling targets for an instance.
       
      .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasAutoscalingTargets in interface AutoscalingConfigOrBuilder
      Returns:
      Whether the autoscalingTargets field is set.
    • getAutoscalingTargets

      public AutoscalingConfig.AutoscalingTargets getAutoscalingTargets()
       Required. The autoscaling targets for an instance.
       
      .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAutoscalingTargets in interface AutoscalingConfigOrBuilder
      Returns:
      The autoscalingTargets.
    • setAutoscalingTargets

       Required. The autoscaling targets for an instance.
       
      .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];
    • setAutoscalingTargets

      public AutoscalingConfig.Builder setAutoscalingTargets(AutoscalingConfig.AutoscalingTargets.Builder builderForValue)
       Required. The autoscaling targets for an instance.
       
      .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeAutoscalingTargets

      public AutoscalingConfig.Builder mergeAutoscalingTargets(AutoscalingConfig.AutoscalingTargets value)
       Required. The autoscaling targets for an instance.
       
      .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearAutoscalingTargets

      public AutoscalingConfig.Builder clearAutoscalingTargets()
       Required. The autoscaling targets for an instance.
       
      .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];
    • getAutoscalingTargetsBuilder

      public AutoscalingConfig.AutoscalingTargets.Builder getAutoscalingTargetsBuilder()
       Required. The autoscaling targets for an instance.
       
      .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];
    • getAutoscalingTargetsOrBuilder

      public AutoscalingConfig.AutoscalingTargetsOrBuilder getAutoscalingTargetsOrBuilder()
       Required. The autoscaling targets for an instance.
       
      .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAutoscalingTargetsOrBuilder in interface AutoscalingConfigOrBuilder
    • getAsymmetricAutoscalingOptionsList

      public List<AutoscalingConfig.AsymmetricAutoscalingOption> getAsymmetricAutoscalingOptionsList()
       Optional. Optional asymmetric autoscaling options.
       Replicas matching the replica selection criteria will be autoscaled
       independently from other replicas. The autoscaler will scale the replicas
       based on the utilization of replicas identified by the replica selection.
       Replica selections should not overlap with each other.
      
       Other replicas (those do not match any replica selection) will be
       autoscaled together and will have the same compute capacity allocated to
       them.
       
      repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAsymmetricAutoscalingOptionsList in interface AutoscalingConfigOrBuilder
    • getAsymmetricAutoscalingOptionsCount

      public int getAsymmetricAutoscalingOptionsCount()
       Optional. Optional asymmetric autoscaling options.
       Replicas matching the replica selection criteria will be autoscaled
       independently from other replicas. The autoscaler will scale the replicas
       based on the utilization of replicas identified by the replica selection.
       Replica selections should not overlap with each other.
      
       Other replicas (those do not match any replica selection) will be
       autoscaled together and will have the same compute capacity allocated to
       them.
       
      repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAsymmetricAutoscalingOptionsCount in interface AutoscalingConfigOrBuilder
    • getAsymmetricAutoscalingOptions

      public AutoscalingConfig.AsymmetricAutoscalingOption getAsymmetricAutoscalingOptions(int index)
       Optional. Optional asymmetric autoscaling options.
       Replicas matching the replica selection criteria will be autoscaled
       independently from other replicas. The autoscaler will scale the replicas
       based on the utilization of replicas identified by the replica selection.
       Replica selections should not overlap with each other.
      
       Other replicas (those do not match any replica selection) will be
       autoscaled together and will have the same compute capacity allocated to
       them.
       
      repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAsymmetricAutoscalingOptions in interface AutoscalingConfigOrBuilder
    • setAsymmetricAutoscalingOptions

      public AutoscalingConfig.Builder setAsymmetricAutoscalingOptions(int index, AutoscalingConfig.AsymmetricAutoscalingOption value)
       Optional. Optional asymmetric autoscaling options.
       Replicas matching the replica selection criteria will be autoscaled
       independently from other replicas. The autoscaler will scale the replicas
       based on the utilization of replicas identified by the replica selection.
       Replica selections should not overlap with each other.
      
       Other replicas (those do not match any replica selection) will be
       autoscaled together and will have the same compute capacity allocated to
       them.
       
      repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setAsymmetricAutoscalingOptions

      public AutoscalingConfig.Builder setAsymmetricAutoscalingOptions(int index, AutoscalingConfig.AsymmetricAutoscalingOption.Builder builderForValue)
       Optional. Optional asymmetric autoscaling options.
       Replicas matching the replica selection criteria will be autoscaled
       independently from other replicas. The autoscaler will scale the replicas
       based on the utilization of replicas identified by the replica selection.
       Replica selections should not overlap with each other.
      
       Other replicas (those do not match any replica selection) will be
       autoscaled together and will have the same compute capacity allocated to
       them.
       
      repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addAsymmetricAutoscalingOptions

      public AutoscalingConfig.Builder addAsymmetricAutoscalingOptions(AutoscalingConfig.AsymmetricAutoscalingOption value)
       Optional. Optional asymmetric autoscaling options.
       Replicas matching the replica selection criteria will be autoscaled
       independently from other replicas. The autoscaler will scale the replicas
       based on the utilization of replicas identified by the replica selection.
       Replica selections should not overlap with each other.
      
       Other replicas (those do not match any replica selection) will be
       autoscaled together and will have the same compute capacity allocated to
       them.
       
      repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addAsymmetricAutoscalingOptions

      public AutoscalingConfig.Builder addAsymmetricAutoscalingOptions(int index, AutoscalingConfig.AsymmetricAutoscalingOption value)
       Optional. Optional asymmetric autoscaling options.
       Replicas matching the replica selection criteria will be autoscaled
       independently from other replicas. The autoscaler will scale the replicas
       based on the utilization of replicas identified by the replica selection.
       Replica selections should not overlap with each other.
      
       Other replicas (those do not match any replica selection) will be
       autoscaled together and will have the same compute capacity allocated to
       them.
       
      repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addAsymmetricAutoscalingOptions

      public AutoscalingConfig.Builder addAsymmetricAutoscalingOptions(AutoscalingConfig.AsymmetricAutoscalingOption.Builder builderForValue)
       Optional. Optional asymmetric autoscaling options.
       Replicas matching the replica selection criteria will be autoscaled
       independently from other replicas. The autoscaler will scale the replicas
       based on the utilization of replicas identified by the replica selection.
       Replica selections should not overlap with each other.
      
       Other replicas (those do not match any replica selection) will be
       autoscaled together and will have the same compute capacity allocated to
       them.
       
      repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addAsymmetricAutoscalingOptions

      public AutoscalingConfig.Builder addAsymmetricAutoscalingOptions(int index, AutoscalingConfig.AsymmetricAutoscalingOption.Builder builderForValue)
       Optional. Optional asymmetric autoscaling options.
       Replicas matching the replica selection criteria will be autoscaled
       independently from other replicas. The autoscaler will scale the replicas
       based on the utilization of replicas identified by the replica selection.
       Replica selections should not overlap with each other.
      
       Other replicas (those do not match any replica selection) will be
       autoscaled together and will have the same compute capacity allocated to
       them.
       
      repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addAllAsymmetricAutoscalingOptions

      public AutoscalingConfig.Builder addAllAsymmetricAutoscalingOptions(Iterable<? extends AutoscalingConfig.AsymmetricAutoscalingOption> values)
       Optional. Optional asymmetric autoscaling options.
       Replicas matching the replica selection criteria will be autoscaled
       independently from other replicas. The autoscaler will scale the replicas
       based on the utilization of replicas identified by the replica selection.
       Replica selections should not overlap with each other.
      
       Other replicas (those do not match any replica selection) will be
       autoscaled together and will have the same compute capacity allocated to
       them.
       
      repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearAsymmetricAutoscalingOptions

      public AutoscalingConfig.Builder clearAsymmetricAutoscalingOptions()
       Optional. Optional asymmetric autoscaling options.
       Replicas matching the replica selection criteria will be autoscaled
       independently from other replicas. The autoscaler will scale the replicas
       based on the utilization of replicas identified by the replica selection.
       Replica selections should not overlap with each other.
      
       Other replicas (those do not match any replica selection) will be
       autoscaled together and will have the same compute capacity allocated to
       them.
       
      repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL];
    • removeAsymmetricAutoscalingOptions

      public AutoscalingConfig.Builder removeAsymmetricAutoscalingOptions(int index)
       Optional. Optional asymmetric autoscaling options.
       Replicas matching the replica selection criteria will be autoscaled
       independently from other replicas. The autoscaler will scale the replicas
       based on the utilization of replicas identified by the replica selection.
       Replica selections should not overlap with each other.
      
       Other replicas (those do not match any replica selection) will be
       autoscaled together and will have the same compute capacity allocated to
       them.
       
      repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getAsymmetricAutoscalingOptionsBuilder

      public AutoscalingConfig.AsymmetricAutoscalingOption.Builder getAsymmetricAutoscalingOptionsBuilder(int index)
       Optional. Optional asymmetric autoscaling options.
       Replicas matching the replica selection criteria will be autoscaled
       independently from other replicas. The autoscaler will scale the replicas
       based on the utilization of replicas identified by the replica selection.
       Replica selections should not overlap with each other.
      
       Other replicas (those do not match any replica selection) will be
       autoscaled together and will have the same compute capacity allocated to
       them.
       
      repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getAsymmetricAutoscalingOptionsOrBuilder

      public AutoscalingConfig.AsymmetricAutoscalingOptionOrBuilder getAsymmetricAutoscalingOptionsOrBuilder(int index)
       Optional. Optional asymmetric autoscaling options.
       Replicas matching the replica selection criteria will be autoscaled
       independently from other replicas. The autoscaler will scale the replicas
       based on the utilization of replicas identified by the replica selection.
       Replica selections should not overlap with each other.
      
       Other replicas (those do not match any replica selection) will be
       autoscaled together and will have the same compute capacity allocated to
       them.
       
      repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAsymmetricAutoscalingOptionsOrBuilder in interface AutoscalingConfigOrBuilder
    • getAsymmetricAutoscalingOptionsOrBuilderList

      public List<? extends AutoscalingConfig.AsymmetricAutoscalingOptionOrBuilder> getAsymmetricAutoscalingOptionsOrBuilderList()
       Optional. Optional asymmetric autoscaling options.
       Replicas matching the replica selection criteria will be autoscaled
       independently from other replicas. The autoscaler will scale the replicas
       based on the utilization of replicas identified by the replica selection.
       Replica selections should not overlap with each other.
      
       Other replicas (those do not match any replica selection) will be
       autoscaled together and will have the same compute capacity allocated to
       them.
       
      repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAsymmetricAutoscalingOptionsOrBuilderList in interface AutoscalingConfigOrBuilder
    • addAsymmetricAutoscalingOptionsBuilder

      public AutoscalingConfig.AsymmetricAutoscalingOption.Builder addAsymmetricAutoscalingOptionsBuilder()
       Optional. Optional asymmetric autoscaling options.
       Replicas matching the replica selection criteria will be autoscaled
       independently from other replicas. The autoscaler will scale the replicas
       based on the utilization of replicas identified by the replica selection.
       Replica selections should not overlap with each other.
      
       Other replicas (those do not match any replica selection) will be
       autoscaled together and will have the same compute capacity allocated to
       them.
       
      repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addAsymmetricAutoscalingOptionsBuilder

      public AutoscalingConfig.AsymmetricAutoscalingOption.Builder addAsymmetricAutoscalingOptionsBuilder(int index)
       Optional. Optional asymmetric autoscaling options.
       Replicas matching the replica selection criteria will be autoscaled
       independently from other replicas. The autoscaler will scale the replicas
       based on the utilization of replicas identified by the replica selection.
       Replica selections should not overlap with each other.
      
       Other replicas (those do not match any replica selection) will be
       autoscaled together and will have the same compute capacity allocated to
       them.
       
      repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getAsymmetricAutoscalingOptionsBuilderList

      public List<AutoscalingConfig.AsymmetricAutoscalingOption.Builder> getAsymmetricAutoscalingOptionsBuilderList()
       Optional. Optional asymmetric autoscaling options.
       Replicas matching the replica selection criteria will be autoscaled
       independently from other replicas. The autoscaler will scale the replicas
       based on the utilization of replicas identified by the replica selection.
       Replica selections should not overlap with each other.
      
       Other replicas (those do not match any replica selection) will be
       autoscaled together and will have the same compute capacity allocated to
       them.
       
      repeated .google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption asymmetric_autoscaling_options = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setUnknownFields

      public final AutoscalingConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingConfig.Builder>
    • mergeUnknownFields

      public final AutoscalingConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AutoscalingConfig.Builder>