Class Cluster.ClusterAutoscalingConfig.Builder (2.10.2)

public static final class Cluster.ClusterAutoscalingConfig.Builder extends GeneratedMessageV3.Builder<Cluster.ClusterAutoscalingConfig.Builder> implements Cluster.ClusterAutoscalingConfigOrBuilder

Autoscaling config for a cluster.

Protobuf type google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Cluster.ClusterAutoscalingConfig build()
Returns
TypeDescription
Cluster.ClusterAutoscalingConfig

buildPartial()

public Cluster.ClusterAutoscalingConfig buildPartial()
Returns
TypeDescription
Cluster.ClusterAutoscalingConfig

clear()

public Cluster.ClusterAutoscalingConfig.Builder clear()
Returns
TypeDescription
Cluster.ClusterAutoscalingConfig.Builder
Overrides

clearAutoscalingLimits()

public Cluster.ClusterAutoscalingConfig.Builder clearAutoscalingLimits()

Required. Autoscaling limits for this cluster.

.google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Cluster.ClusterAutoscalingConfig.Builder

clearAutoscalingTargets()

public Cluster.ClusterAutoscalingConfig.Builder clearAutoscalingTargets()

Required. Autoscaling targets for this cluster.

.google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Cluster.ClusterAutoscalingConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Cluster.ClusterAutoscalingConfig.Builder clone()
Returns
TypeDescription
Cluster.ClusterAutoscalingConfig.Builder
Overrides

getAutoscalingLimits()

public AutoscalingLimits getAutoscalingLimits()

Required. Autoscaling limits for this cluster.

.google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AutoscalingLimits

The autoscalingLimits.

getAutoscalingLimitsBuilder()

public AutoscalingLimits.Builder getAutoscalingLimitsBuilder()

Required. Autoscaling limits for this cluster.

.google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AutoscalingLimits.Builder

getAutoscalingLimitsOrBuilder()

public AutoscalingLimitsOrBuilder getAutoscalingLimitsOrBuilder()

Required. Autoscaling limits for this cluster.

.google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AutoscalingLimitsOrBuilder

getAutoscalingTargets()

public AutoscalingTargets getAutoscalingTargets()

Required. Autoscaling targets for this cluster.

.google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AutoscalingTargets

The autoscalingTargets.

getAutoscalingTargetsBuilder()

public AutoscalingTargets.Builder getAutoscalingTargetsBuilder()

Required. Autoscaling targets for this cluster.

.google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AutoscalingTargets.Builder

getAutoscalingTargetsOrBuilder()

public AutoscalingTargetsOrBuilder getAutoscalingTargetsOrBuilder()

Required. Autoscaling targets for this cluster.

.google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AutoscalingTargetsOrBuilder

getDefaultInstanceForType()

public Cluster.ClusterAutoscalingConfig getDefaultInstanceForType()
Returns
TypeDescription
Cluster.ClusterAutoscalingConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasAutoscalingLimits()

public boolean hasAutoscalingLimits()

Required. Autoscaling limits for this cluster.

.google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the autoscalingLimits field is set.

hasAutoscalingTargets()

public boolean hasAutoscalingTargets()

Required. Autoscaling targets for this cluster.

.google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the autoscalingTargets field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAutoscalingLimits(AutoscalingLimits value)

public Cluster.ClusterAutoscalingConfig.Builder mergeAutoscalingLimits(AutoscalingLimits value)

Required. Autoscaling limits for this cluster.

.google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAutoscalingLimits
Returns
TypeDescription
Cluster.ClusterAutoscalingConfig.Builder

mergeAutoscalingTargets(AutoscalingTargets value)

public Cluster.ClusterAutoscalingConfig.Builder mergeAutoscalingTargets(AutoscalingTargets value)

Required. Autoscaling targets for this cluster.

.google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAutoscalingTargets
Returns
TypeDescription
Cluster.ClusterAutoscalingConfig.Builder

mergeFrom(Cluster.ClusterAutoscalingConfig other)

public Cluster.ClusterAutoscalingConfig.Builder mergeFrom(Cluster.ClusterAutoscalingConfig other)
Parameter
NameDescription
otherCluster.ClusterAutoscalingConfig
Returns
TypeDescription
Cluster.ClusterAutoscalingConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAutoscalingLimits(AutoscalingLimits value)

public Cluster.ClusterAutoscalingConfig.Builder setAutoscalingLimits(AutoscalingLimits value)

Required. Autoscaling limits for this cluster.

.google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAutoscalingLimits
Returns
TypeDescription
Cluster.ClusterAutoscalingConfig.Builder

setAutoscalingLimits(AutoscalingLimits.Builder builderForValue)

public Cluster.ClusterAutoscalingConfig.Builder setAutoscalingLimits(AutoscalingLimits.Builder builderForValue)

Required. Autoscaling limits for this cluster.

.google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueAutoscalingLimits.Builder
Returns
TypeDescription
Cluster.ClusterAutoscalingConfig.Builder

setAutoscalingTargets(AutoscalingTargets value)

public Cluster.ClusterAutoscalingConfig.Builder setAutoscalingTargets(AutoscalingTargets value)

Required. Autoscaling targets for this cluster.

.google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAutoscalingTargets
Returns
TypeDescription
Cluster.ClusterAutoscalingConfig.Builder

setAutoscalingTargets(AutoscalingTargets.Builder builderForValue)

public Cluster.ClusterAutoscalingConfig.Builder setAutoscalingTargets(AutoscalingTargets.Builder builderForValue)

Required. Autoscaling targets for this cluster.

.google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueAutoscalingTargets.Builder
Returns
TypeDescription
Cluster.ClusterAutoscalingConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public Cluster.ClusterAutoscalingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Cluster.ClusterAutoscalingConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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