Class AutoscalingConfig.AsymmetricAutoscalingOption.Builder (6.83.0)

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

AsymmetricAutoscalingOption specifies the scaling of replicas identified by the given selection.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOverrides()

public AutoscalingConfig.AsymmetricAutoscalingOption.Builder clearOverrides()

Optional. Overrides applied to the top-level autoscaling configuration for the selected replicas.

.google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides overrides = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.Builder

clearReplicaSelection()

public AutoscalingConfig.AsymmetricAutoscalingOption.Builder clearReplicaSelection()

Required. Selects the replicas to which this AsymmetricAutoscalingOption applies. Only read-only replicas are supported.

.google.spanner.admin.instance.v1.ReplicaSelection replica_selection = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.Builder

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getOverrides()

public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides getOverrides()

Optional. Overrides applied to the top-level autoscaling configuration for the selected replicas.

.google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides overrides = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides

The overrides.

getOverridesBuilder()

public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder getOverridesBuilder()

Optional. Overrides applied to the top-level autoscaling configuration for the selected replicas.

.google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides overrides = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder

getOverridesOrBuilder()

public AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverridesOrBuilder getOverridesOrBuilder()

Optional. Overrides applied to the top-level autoscaling configuration for the selected replicas.

.google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides overrides = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverridesOrBuilder

getReplicaSelection()

public ReplicaSelection getReplicaSelection()

Required. Selects the replicas to which this AsymmetricAutoscalingOption applies. Only read-only replicas are supported.

.google.spanner.admin.instance.v1.ReplicaSelection replica_selection = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReplicaSelection

The replicaSelection.

getReplicaSelectionBuilder()

public ReplicaSelection.Builder getReplicaSelectionBuilder()

Required. Selects the replicas to which this AsymmetricAutoscalingOption applies. Only read-only replicas are supported.

.google.spanner.admin.instance.v1.ReplicaSelection replica_selection = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReplicaSelection.Builder

getReplicaSelectionOrBuilder()

public ReplicaSelectionOrBuilder getReplicaSelectionOrBuilder()

Required. Selects the replicas to which this AsymmetricAutoscalingOption applies. Only read-only replicas are supported.

.google.spanner.admin.instance.v1.ReplicaSelection replica_selection = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReplicaSelectionOrBuilder

hasOverrides()

public boolean hasOverrides()

Optional. Overrides applied to the top-level autoscaling configuration for the selected replicas.

.google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides overrides = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the overrides field is set.

hasReplicaSelection()

public boolean hasReplicaSelection()

Required. Selects the replicas to which this AsymmetricAutoscalingOption applies. Only read-only replicas are supported.

.google.spanner.admin.instance.v1.ReplicaSelection replica_selection = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the replicaSelection field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(AutoscalingConfig.AsymmetricAutoscalingOption other)

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

mergeOverrides(AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides value)

public AutoscalingConfig.AsymmetricAutoscalingOption.Builder mergeOverrides(AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides value)

Optional. Overrides applied to the top-level autoscaling configuration for the selected replicas.

.google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides overrides = 2 [(.google.api.field_behavior) = OPTIONAL];

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

mergeReplicaSelection(ReplicaSelection value)

public AutoscalingConfig.AsymmetricAutoscalingOption.Builder mergeReplicaSelection(ReplicaSelection value)

Required. Selects the replicas to which this AsymmetricAutoscalingOption applies. Only read-only replicas are supported.

.google.spanner.admin.instance.v1.ReplicaSelection replica_selection = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ReplicaSelection
Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setOverrides(AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides value)

public AutoscalingConfig.AsymmetricAutoscalingOption.Builder setOverrides(AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides value)

Optional. Overrides applied to the top-level autoscaling configuration for the selected replicas.

.google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides overrides = 2 [(.google.api.field_behavior) = OPTIONAL];

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

setOverrides(AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder builderForValue)

public AutoscalingConfig.AsymmetricAutoscalingOption.Builder setOverrides(AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides.Builder builderForValue)

Optional. Overrides applied to the top-level autoscaling configuration for the selected replicas.

.google.spanner.admin.instance.v1.AutoscalingConfig.AsymmetricAutoscalingOption.AutoscalingConfigOverrides overrides = 2 [(.google.api.field_behavior) = OPTIONAL];

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

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

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

setReplicaSelection(ReplicaSelection value)

public AutoscalingConfig.AsymmetricAutoscalingOption.Builder setReplicaSelection(ReplicaSelection value)

Required. Selects the replicas to which this AsymmetricAutoscalingOption applies. Only read-only replicas are supported.

.google.spanner.admin.instance.v1.ReplicaSelection replica_selection = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ReplicaSelection
Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.Builder

setReplicaSelection(ReplicaSelection.Builder builderForValue)

public AutoscalingConfig.AsymmetricAutoscalingOption.Builder setReplicaSelection(ReplicaSelection.Builder builderForValue)

Required. Selects the replicas to which this AsymmetricAutoscalingOption applies. Only read-only replicas are supported.

.google.spanner.admin.instance.v1.ReplicaSelection replica_selection = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ReplicaSelection.Builder
Returns
Type Description
AutoscalingConfig.AsymmetricAutoscalingOption.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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