Class Cluster.ClusterConfig.Builder (2.16.0)

public static final class Cluster.ClusterConfig.Builder extends GeneratedMessageV3.Builder<Cluster.ClusterConfig.Builder> implements Cluster.ClusterConfigOrBuilder

Configuration for a cluster.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearClusterAutoscalingConfig()

public Cluster.ClusterConfig.Builder clearClusterAutoscalingConfig()

Autoscaling configuration for this cluster.

.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1;

Returns
TypeDescription
Cluster.ClusterConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getClusterAutoscalingConfig()

public Cluster.ClusterAutoscalingConfig getClusterAutoscalingConfig()

Autoscaling configuration for this cluster.

.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1;

Returns
TypeDescription
Cluster.ClusterAutoscalingConfig

The clusterAutoscalingConfig.

getClusterAutoscalingConfigBuilder()

public Cluster.ClusterAutoscalingConfig.Builder getClusterAutoscalingConfigBuilder()

Autoscaling configuration for this cluster.

.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1;

Returns
TypeDescription
Cluster.ClusterAutoscalingConfig.Builder

getClusterAutoscalingConfigOrBuilder()

public Cluster.ClusterAutoscalingConfigOrBuilder getClusterAutoscalingConfigOrBuilder()

Autoscaling configuration for this cluster.

.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1;

Returns
TypeDescription
Cluster.ClusterAutoscalingConfigOrBuilder

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasClusterAutoscalingConfig()

public boolean hasClusterAutoscalingConfig()

Autoscaling configuration for this cluster.

.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1;

Returns
TypeDescription
boolean

Whether the clusterAutoscalingConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeClusterAutoscalingConfig(Cluster.ClusterAutoscalingConfig value)

public Cluster.ClusterConfig.Builder mergeClusterAutoscalingConfig(Cluster.ClusterAutoscalingConfig value)

Autoscaling configuration for this cluster.

.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1;

Parameter
NameDescription
valueCluster.ClusterAutoscalingConfig
Returns
TypeDescription
Cluster.ClusterConfig.Builder

mergeFrom(Cluster.ClusterConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setClusterAutoscalingConfig(Cluster.ClusterAutoscalingConfig value)

public Cluster.ClusterConfig.Builder setClusterAutoscalingConfig(Cluster.ClusterAutoscalingConfig value)

Autoscaling configuration for this cluster.

.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1;

Parameter
NameDescription
valueCluster.ClusterAutoscalingConfig
Returns
TypeDescription
Cluster.ClusterConfig.Builder

setClusterAutoscalingConfig(Cluster.ClusterAutoscalingConfig.Builder builderForValue)

public Cluster.ClusterConfig.Builder setClusterAutoscalingConfig(Cluster.ClusterAutoscalingConfig.Builder builderForValue)

Autoscaling configuration for this cluster.

.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1;

Parameter
NameDescription
builderForValueCluster.ClusterAutoscalingConfig.Builder
Returns
TypeDescription
Cluster.ClusterConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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