Class AutoscalingLimits.Builder (2.9.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutoscalingLimits.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AutoscalingLimits.Builder
Overrides

build()

public AutoscalingLimits build()
Returns
TypeDescription
AutoscalingLimits

buildPartial()

public AutoscalingLimits buildPartial()
Returns
TypeDescription
AutoscalingLimits

clear()

public AutoscalingLimits.Builder clear()
Returns
TypeDescription
AutoscalingLimits.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AutoscalingLimits.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AutoscalingLimits.Builder
Overrides

clearMaxServeNodes()

public AutoscalingLimits.Builder clearMaxServeNodes()

Required. Maximum number of nodes to scale up to.

int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED];

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

Returns
TypeDescription
AutoscalingLimits.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AutoscalingLimits.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AutoscalingLimits.Builder
Overrides

clone()

public AutoscalingLimits.Builder clone()
Returns
TypeDescription
AutoscalingLimits.Builder
Overrides

getDefaultInstanceForType()

public AutoscalingLimits getDefaultInstanceForType()
Returns
TypeDescription
AutoscalingLimits

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMaxServeNodes()

public int getMaxServeNodes()

Required. Maximum number of nodes to scale up to.

int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED];

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

Returns
TypeDescription
int

The minServeNodes.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AutoscalingLimits other)

public AutoscalingLimits.Builder mergeFrom(AutoscalingLimits other)
Parameter
NameDescription
otherAutoscalingLimits
Returns
TypeDescription
AutoscalingLimits.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutoscalingLimits.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoscalingLimits.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AutoscalingLimits.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AutoscalingLimits.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutoscalingLimits.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutoscalingLimits.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AutoscalingLimits.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AutoscalingLimits.Builder
Overrides

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

Parameter
NameDescription
valueint

The maxServeNodes to set.

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

Parameter
NameDescription
valueint

The minServeNodes to set.

Returns
TypeDescription
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)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AutoscalingLimits.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AutoscalingLimits.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutoscalingLimits.Builder
Overrides