Interface AutoscalingConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AutoscalingConfig, AutoscalingConfig.Builder

public interface AutoscalingConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasAutoscalingLimits

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

      AutoscalingConfig.AutoscalingLimits getAutoscalingLimits()
       Required. Autoscaling limits for an instance.
       
      .google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The autoscalingLimits.
    • getAutoscalingLimitsOrBuilder

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

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

      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];
      Returns:
      The autoscalingTargets.
    • getAutoscalingTargetsOrBuilder

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

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

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

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

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

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