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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutoscalingConfig.AsymmetricAutoscalingOption.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AutoscalingConfig.AsymmetricAutoscalingOption build()
buildPartial()
public AutoscalingConfig.AsymmetricAutoscalingOption buildPartial()
clear()
public AutoscalingConfig.AsymmetricAutoscalingOption.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AutoscalingConfig.AsymmetricAutoscalingOption.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AutoscalingConfig.AsymmetricAutoscalingOption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
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];
clone()
public AutoscalingConfig.AsymmetricAutoscalingOption.Builder clone()
Overrides
getDefaultInstanceForType()
public AutoscalingConfig.AsymmetricAutoscalingOption getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public AutoscalingConfig.AsymmetricAutoscalingOption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AutoscalingConfig.AsymmetricAutoscalingOption.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(AutoscalingConfig.AsymmetricAutoscalingOption other)
public AutoscalingConfig.AsymmetricAutoscalingOption.Builder mergeFrom(AutoscalingConfig.AsymmetricAutoscalingOption other)
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];
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutoscalingConfig.AsymmetricAutoscalingOption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AutoscalingConfig.AsymmetricAutoscalingOption.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutoscalingConfig.AsymmetricAutoscalingOption.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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];
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final AutoscalingConfig.AsymmetricAutoscalingOption.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides