Interface AutoscalingConfigOrBuilder (6.82.0)

public interface AutoscalingConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAsymmetricAutoscalingOptions(int index)

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

Parameter
Name Description
index int
Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption

getAsymmetricAutoscalingOptionsCount()

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

Returns
Type Description
int

getAsymmetricAutoscalingOptionsList()

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

Returns
Type Description
List<AsymmetricAutoscalingOption>

getAsymmetricAutoscalingOptionsOrBuilder(int index)

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

Parameter
Name Description
index int
Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOptionOrBuilder

getAsymmetricAutoscalingOptionsOrBuilderList()

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

Returns
Type Description
List<? extends com.google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOptionOrBuilder>

getAutoscalingLimits()

public abstract 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
Type Description
AutoscalingConfig.AutoscalingLimits

The autoscalingLimits.

getAutoscalingLimitsOrBuilder()

public abstract AutoscalingConfig.AutoscalingLimitsOrBuilder getAutoscalingLimitsOrBuilder()

Required. Autoscaling limits for an instance.

.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AutoscalingConfig.AutoscalingLimitsOrBuilder

getAutoscalingTargets()

public abstract 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
Type Description
AutoscalingConfig.AutoscalingTargets

The autoscalingTargets.

getAutoscalingTargetsOrBuilder()

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

Returns
Type Description
AutoscalingConfig.AutoscalingTargetsOrBuilder

hasAutoscalingLimits()

public abstract boolean hasAutoscalingLimits()

Required. Autoscaling limits for an instance.

.google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the autoscalingLimits field is set.

hasAutoscalingTargets()

public abstract 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
Type Description
boolean

Whether the autoscalingTargets field is set.