public static final class AutoscalingLimits.Builder extends GeneratedMessageV3.Builder<AutoscalingLimits.Builder> implements AutoscalingLimitsOrBuilder
Limits for the number of nodes a Cluster can autoscale up/down to.
Protobuf type google.bigtable.admin.v2.AutoscalingLimits
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AutoscalingLimits.BuilderImplements
AutoscalingLimitsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutoscalingLimits.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AutoscalingLimits.Builder |
build()
public AutoscalingLimits build()
Type | Description |
AutoscalingLimits |
buildPartial()
public AutoscalingLimits buildPartial()
Type | Description |
AutoscalingLimits |
clear()
public AutoscalingLimits.Builder clear()
Type | Description |
AutoscalingLimits.Builder |
clearField(Descriptors.FieldDescriptor field)
public AutoscalingLimits.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AutoscalingLimits.Builder |
clearMaxServeNodes()
public AutoscalingLimits.Builder clearMaxServeNodes()
Required. Maximum number of nodes to scale up to.
int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AutoscalingLimits.Builder | This builder for chaining. |
clearMinServeNodes()
public AutoscalingLimits.Builder clearMinServeNodes()
Required. Minimum number of nodes to scale down to.
int32 min_serve_nodes = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
AutoscalingLimits.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AutoscalingLimits.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AutoscalingLimits.Builder |
clone()
public AutoscalingLimits.Builder clone()
Type | Description |
AutoscalingLimits.Builder |
getDefaultInstanceForType()
public AutoscalingLimits getDefaultInstanceForType()
Type | Description |
AutoscalingLimits |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMaxServeNodes()
public int getMaxServeNodes()
Required. Maximum number of nodes to scale up to.
int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The maxServeNodes. |
getMinServeNodes()
public int getMinServeNodes()
Required. Minimum number of nodes to scale down to.
int32 min_serve_nodes = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The minServeNodes. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(AutoscalingLimits other)
public AutoscalingLimits.Builder mergeFrom(AutoscalingLimits other)
Name | Description |
other | AutoscalingLimits |
Type | Description |
AutoscalingLimits.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutoscalingLimits.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AutoscalingLimits.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AutoscalingLimits.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AutoscalingLimits.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutoscalingLimits.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AutoscalingLimits.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AutoscalingLimits.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AutoscalingLimits.Builder |
setMaxServeNodes(int value)
public AutoscalingLimits.Builder setMaxServeNodes(int value)
Required. Maximum number of nodes to scale up to.
int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | int The maxServeNodes to set. |
Type | Description |
AutoscalingLimits.Builder | This builder for chaining. |
setMinServeNodes(int value)
public AutoscalingLimits.Builder setMinServeNodes(int value)
Required. Minimum number of nodes to scale down to.
int32 min_serve_nodes = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | int The minServeNodes to set. |
Type | Description |
AutoscalingLimits.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutoscalingLimits.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AutoscalingLimits.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AutoscalingLimits.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AutoscalingLimits.Builder |