public static final class AutoscalingConfig.AutoscalingLimits.Builder extends GeneratedMessageV3.Builder<AutoscalingConfig.AutoscalingLimits.Builder> implements AutoscalingConfig.AutoscalingLimitsOrBuilder
The autoscaling limits for the instance. Users can define the minimum and
maximum compute capacity allocated to the instance, and the autoscaler will
only scale within that range. Users can either use nodes or processing
units to specify the limits, but should use the same unit to set both the
min_limit and max_limit.
Protobuf type google.spanner.admin.instance.v1.AutoscalingConfig.AutoscalingLimits
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.AutoscalingLimits.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AutoscalingConfig.AutoscalingLimits build()
buildPartial()
public AutoscalingConfig.AutoscalingLimits buildPartial()
clear()
public AutoscalingConfig.AutoscalingLimits.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AutoscalingConfig.AutoscalingLimits.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMaxLimit()
public AutoscalingConfig.AutoscalingLimits.Builder clearMaxLimit()
clearMaxNodes()
public AutoscalingConfig.AutoscalingLimits.Builder clearMaxNodes()
Maximum number of nodes allocated to the instance. If set, this number
should be greater than or equal to min_nodes.
int32 max_nodes = 3;
clearMaxProcessingUnits()
public AutoscalingConfig.AutoscalingLimits.Builder clearMaxProcessingUnits()
Maximum number of processing units allocated to the instance. If set,
this number should be multiples of 1000 and be greater than or equal to
min_processing_units.
int32 max_processing_units = 4;
clearMinLimit()
public AutoscalingConfig.AutoscalingLimits.Builder clearMinLimit()
clearMinNodes()
public AutoscalingConfig.AutoscalingLimits.Builder clearMinNodes()
Minimum number of nodes allocated to the instance. If set, this number
should be greater than or equal to 1.
int32 min_nodes = 1;
clearMinProcessingUnits()
public AutoscalingConfig.AutoscalingLimits.Builder clearMinProcessingUnits()
Minimum number of processing units allocated to the instance. If set,
this number should be multiples of 1000.
int32 min_processing_units = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public AutoscalingConfig.AutoscalingLimits.Builder clearOneof(Descriptors.OneofDescriptor oneof)