Interface AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverridesOrBuilder (6.108.0)

public static interface AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverridesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAutoscalingLimits()

public abstract AutoscalingConfig.AutoscalingLimits getAutoscalingLimits()

Optional. If specified, overrides the min/max limit in the top-level autoscaling configuration for the selected replicas.

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

Returns
Type Description
AutoscalingConfig.AutoscalingLimits

The autoscalingLimits.

getAutoscalingLimitsOrBuilder()

public abstract AutoscalingConfig.AutoscalingLimitsOrBuilder getAutoscalingLimitsOrBuilder()

Optional. If specified, overrides the min/max limit in the top-level autoscaling configuration for the selected replicas.

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

Returns
Type Description
AutoscalingConfig.AutoscalingLimitsOrBuilder

getAutoscalingTargetHighPriorityCpuUtilizationPercent()

public abstract int getAutoscalingTargetHighPriorityCpuUtilizationPercent()

Optional. If specified, overrides the autoscaling target high_priority_cpu_utilization_percent in the top-level autoscaling configuration for the selected replicas.

int32 autoscaling_target_high_priority_cpu_utilization_percent = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The autoscalingTargetHighPriorityCpuUtilizationPercent.

getAutoscalingTargetTotalCpuUtilizationPercent()

public abstract int getAutoscalingTargetTotalCpuUtilizationPercent()

Optional. If specified, overrides the autoscaling target total_cpu_utilization_percent in the top-level autoscaling configuration for the selected replicas.

int32 autoscaling_target_total_cpu_utilization_percent = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The autoscalingTargetTotalCpuUtilizationPercent.

getDisableHighPriorityCpuAutoscaling()

public abstract boolean getDisableHighPriorityCpuAutoscaling()

Optional. If true, disables high priority CPU autoscaling for the selected replicas and ignores high_priority_cpu_utilization_percent in the top-level autoscaling configuration.

When setting this field to true, setting autoscaling_target_high_priority_cpu_utilization_percent field to a non-zero value for the same replica is not supported.

If false, the autoscaling_target_high_priority_cpu_utilization_percent field in the replica will be used if set to a non-zero value. Otherwise, the high_priority_cpu_utilization_percent field in the top-level autoscaling configuration will be used.

Setting both disable_high_priority_cpu_autoscaling and disable_total_cpu_autoscaling to true for the same replica is not supported.

bool disable_high_priority_cpu_autoscaling = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The disableHighPriorityCpuAutoscaling.

getDisableTotalCpuAutoscaling()

public abstract boolean getDisableTotalCpuAutoscaling()

Optional. If true, disables total CPU autoscaling for the selected replicas and ignores total_cpu_utilization_percent in the top-level autoscaling configuration.

When setting this field to true, setting autoscaling_target_total_cpu_utilization_percent field to a non-zero value for the same replica is not supported.

If false, the autoscaling_target_total_cpu_utilization_percent field in the replica will be used if set to a non-zero value. Otherwise, the total_cpu_utilization_percent field in the top-level autoscaling configuration will be used.

Setting both disable_high_priority_cpu_autoscaling and disable_total_cpu_autoscaling to true for the same replica is not supported.

bool disable_total_cpu_autoscaling = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The disableTotalCpuAutoscaling.

hasAutoscalingLimits()

public abstract boolean hasAutoscalingLimits()

Optional. If specified, overrides the min/max limit in the top-level autoscaling configuration for the selected replicas.

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

Returns
Type Description
boolean

Whether the autoscalingLimits field is set.