Class AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder (6.83.0)

public static final class AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder extends GeneratedMessageV3.Builder<AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder> implements AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverridesOrBuilder

Overrides the top-level autoscaling configuration for the replicas identified by replica_selection. All fields in this message are optional. Any unspecified fields will use the corresponding values from the top-level autoscaling configuration.

Protobuf type google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder
Overrides

build()

public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides build()
Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides

buildPartial()

public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides buildPartial()
Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides

clear()

public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder clear()
Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder
Overrides

clearAutoscalingLimits()

public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder clearAutoscalingLimits()

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.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder

clearAutoscalingTargetHighPriorityCpuUtilizationPercent()

public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder clearAutoscalingTargetHighPriorityCpuUtilizationPercent()

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
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder
Overrides

clone()

public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder clone()
Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder
Overrides

getAutoscalingLimits()

public 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.

getAutoscalingLimitsBuilder()

public AutoscalingConfig.AutoscalingLimits.Builder getAutoscalingLimitsBuilder()

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.Builder

getAutoscalingLimitsOrBuilder()

public 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 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.

getDefaultInstanceForType()

public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides getDefaultInstanceForType()
Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

hasAutoscalingLimits()

public 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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAutoscalingLimits(AutoscalingConfig.AutoscalingLimits value)

public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder mergeAutoscalingLimits(AutoscalingConfig.AutoscalingLimits value)

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

Parameter
Name Description
value AutoscalingConfig.AutoscalingLimits
Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder
Overrides

mergeFrom(AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides other)

public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder mergeFrom(AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides other)
Parameter
Name Description
other AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides
Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder
Overrides

setAutoscalingLimits(AutoscalingConfig.AutoscalingLimits value)

public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder setAutoscalingLimits(AutoscalingConfig.AutoscalingLimits value)

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

Parameter
Name Description
value AutoscalingConfig.AutoscalingLimits
Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder

setAutoscalingLimits(AutoscalingConfig.AutoscalingLimits.Builder builderForValue)

public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder setAutoscalingLimits(AutoscalingConfig.AutoscalingLimits.Builder builderForValue)

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

Parameter
Name Description
builderForValue AutoscalingConfig.AutoscalingLimits.Builder
Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder

setAutoscalingTargetHighPriorityCpuUtilizationPercent(int value)

public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder setAutoscalingTargetHighPriorityCpuUtilizationPercent(int value)

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

Parameter
Name Description
value int

The autoscalingTargetHighPriorityCpuUtilizationPercent to set.

Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder
Overrides