public static final class Cluster.Builder extends GeneratedMessageV3.Builder<Cluster.Builder> implements ClusterOrBuilder
A resizable group of nodes in a particular cloud location, capable of serving all Tables in the parent Instance.
Protobuf type google.bigtable.admin.v2.Cluster
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Cluster.BuilderImplements
ClusterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Cluster.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Cluster.Builder |
build()
public Cluster build()
Type | Description |
Cluster |
buildPartial()
public Cluster buildPartial()
Type | Description |
Cluster |
clear()
public Cluster.Builder clear()
Type | Description |
Cluster.Builder |
clearClusterConfig()
public Cluster.Builder clearClusterConfig()
Configuration for this cluster.
.google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7;
Type | Description |
Cluster.Builder |
clearConfig()
public Cluster.Builder clearConfig()
Type | Description |
Cluster.Builder |
clearDefaultStorageType()
public Cluster.Builder clearDefaultStorageType()
Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden.
.google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE];
Type | Description |
Cluster.Builder | This builder for chaining. |
clearEncryptionConfig()
public Cluster.Builder clearEncryptionConfig()
Immutable. The encryption configuration for CMEK-protected clusters.
.google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE];
Type | Description |
Cluster.Builder |
clearField(Descriptors.FieldDescriptor field)
public Cluster.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Cluster.Builder |
clearLocation()
public Cluster.Builder clearLocation()
Immutable. The location where this cluster's nodes and storage reside. For best
performance, clients should be located as close as possible to this
cluster. Currently only zones are supported, so values should be of the
form projects/{project}/locations/{zone}
.
string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Type | Description |
Cluster.Builder | This builder for chaining. |
clearName()
public Cluster.Builder clearName()
The unique name of the cluster. Values are of the form
projects/{project}/instances/{instance}/clusters/a-z*
.
string name = 1;
Type | Description |
Cluster.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Cluster.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Cluster.Builder |
clearServeNodes()
public Cluster.Builder clearServeNodes()
The number of nodes allocated to this cluster. More nodes enable higher throughput and more consistent performance.
int32 serve_nodes = 4;
Type | Description |
Cluster.Builder | This builder for chaining. |
clearState()
public Cluster.Builder clearState()
Output only. The current state of the cluster.
.google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.Builder | This builder for chaining. |
clone()
public Cluster.Builder clone()
Type | Description |
Cluster.Builder |
getClusterConfig()
public Cluster.ClusterConfig getClusterConfig()
Configuration for this cluster.
.google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7;
Type | Description |
Cluster.ClusterConfig | The clusterConfig. |
getClusterConfigBuilder()
public Cluster.ClusterConfig.Builder getClusterConfigBuilder()
Configuration for this cluster.
.google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7;
Type | Description |
Cluster.ClusterConfig.Builder |
getClusterConfigOrBuilder()
public Cluster.ClusterConfigOrBuilder getClusterConfigOrBuilder()
Configuration for this cluster.
.google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7;
Type | Description |
Cluster.ClusterConfigOrBuilder |
getConfigCase()
public Cluster.ConfigCase getConfigCase()
Type | Description |
Cluster.ConfigCase |
getDefaultInstanceForType()
public Cluster getDefaultInstanceForType()
Type | Description |
Cluster |
getDefaultStorageType()
public StorageType getDefaultStorageType()
Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden.
.google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE];
Type | Description |
StorageType | The defaultStorageType. |
getDefaultStorageTypeValue()
public int getDefaultStorageTypeValue()
Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden.
.google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE];
Type | Description |
int | The enum numeric value on the wire for defaultStorageType. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEncryptionConfig()
public Cluster.EncryptionConfig getEncryptionConfig()
Immutable. The encryption configuration for CMEK-protected clusters.
.google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE];
Type | Description |
Cluster.EncryptionConfig | The encryptionConfig. |
getEncryptionConfigBuilder()
public Cluster.EncryptionConfig.Builder getEncryptionConfigBuilder()
Immutable. The encryption configuration for CMEK-protected clusters.
.google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE];
Type | Description |
Cluster.EncryptionConfig.Builder |
getEncryptionConfigOrBuilder()
public Cluster.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder()
Immutable. The encryption configuration for CMEK-protected clusters.
.google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE];
Type | Description |
Cluster.EncryptionConfigOrBuilder |
getLocation()
public String getLocation()
Immutable. The location where this cluster's nodes and storage reside. For best
performance, clients should be located as close as possible to this
cluster. Currently only zones are supported, so values should be of the
form projects/{project}/locations/{zone}
.
string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Type | Description |
String | The location. |
getLocationBytes()
public ByteString getLocationBytes()
Immutable. The location where this cluster's nodes and storage reside. For best
performance, clients should be located as close as possible to this
cluster. Currently only zones are supported, so values should be of the
form projects/{project}/locations/{zone}
.
string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for location. |
getName()
public String getName()
The unique name of the cluster. Values are of the form
projects/{project}/instances/{instance}/clusters/a-z*
.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The unique name of the cluster. Values are of the form
projects/{project}/instances/{instance}/clusters/a-z*
.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getServeNodes()
public int getServeNodes()
The number of nodes allocated to this cluster. More nodes enable higher throughput and more consistent performance.
int32 serve_nodes = 4;
Type | Description |
int | The serveNodes. |
getState()
public Cluster.State getState()
Output only. The current state of the cluster.
.google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.State | The state. |
getStateValue()
public int getStateValue()
Output only. The current state of the cluster.
.google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for state. |
hasClusterConfig()
public boolean hasClusterConfig()
Configuration for this cluster.
.google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7;
Type | Description |
boolean | Whether the clusterConfig field is set. |
hasEncryptionConfig()
public boolean hasEncryptionConfig()
Immutable. The encryption configuration for CMEK-protected clusters.
.google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE];
Type | Description |
boolean | Whether the encryptionConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeClusterConfig(Cluster.ClusterConfig value)
public Cluster.Builder mergeClusterConfig(Cluster.ClusterConfig value)
Configuration for this cluster.
.google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7;
Name | Description |
value | Cluster.ClusterConfig |
Type | Description |
Cluster.Builder |
mergeEncryptionConfig(Cluster.EncryptionConfig value)
public Cluster.Builder mergeEncryptionConfig(Cluster.EncryptionConfig value)
Immutable. The encryption configuration for CMEK-protected clusters.
.google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE];
Name | Description |
value | Cluster.EncryptionConfig |
Type | Description |
Cluster.Builder |
mergeFrom(Cluster other)
public Cluster.Builder mergeFrom(Cluster other)
Name | Description |
other | Cluster |
Type | Description |
Cluster.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Cluster.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Cluster.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Cluster.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Cluster.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Cluster.Builder |
setClusterConfig(Cluster.ClusterConfig value)
public Cluster.Builder setClusterConfig(Cluster.ClusterConfig value)
Configuration for this cluster.
.google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7;
Name | Description |
value | Cluster.ClusterConfig |
Type | Description |
Cluster.Builder |
setClusterConfig(Cluster.ClusterConfig.Builder builderForValue)
public Cluster.Builder setClusterConfig(Cluster.ClusterConfig.Builder builderForValue)
Configuration for this cluster.
.google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7;
Name | Description |
builderForValue | Cluster.ClusterConfig.Builder |
Type | Description |
Cluster.Builder |
setDefaultStorageType(StorageType value)
public Cluster.Builder setDefaultStorageType(StorageType value)
Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden.
.google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE];
Name | Description |
value | StorageType The defaultStorageType to set. |
Type | Description |
Cluster.Builder | This builder for chaining. |
setDefaultStorageTypeValue(int value)
public Cluster.Builder setDefaultStorageTypeValue(int value)
Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden.
.google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE];
Name | Description |
value | int The enum numeric value on the wire for defaultStorageType to set. |
Type | Description |
Cluster.Builder | This builder for chaining. |
setEncryptionConfig(Cluster.EncryptionConfig value)
public Cluster.Builder setEncryptionConfig(Cluster.EncryptionConfig value)
Immutable. The encryption configuration for CMEK-protected clusters.
.google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE];
Name | Description |
value | Cluster.EncryptionConfig |
Type | Description |
Cluster.Builder |
setEncryptionConfig(Cluster.EncryptionConfig.Builder builderForValue)
public Cluster.Builder setEncryptionConfig(Cluster.EncryptionConfig.Builder builderForValue)
Immutable. The encryption configuration for CMEK-protected clusters.
.google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE];
Name | Description |
builderForValue | Cluster.EncryptionConfig.Builder |
Type | Description |
Cluster.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Cluster.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Cluster.Builder |
setLocation(String value)
public Cluster.Builder setLocation(String value)
Immutable. The location where this cluster's nodes and storage reside. For best
performance, clients should be located as close as possible to this
cluster. Currently only zones are supported, so values should be of the
form projects/{project}/locations/{zone}
.
string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The location to set. |
Type | Description |
Cluster.Builder | This builder for chaining. |
setLocationBytes(ByteString value)
public Cluster.Builder setLocationBytes(ByteString value)
Immutable. The location where this cluster's nodes and storage reside. For best
performance, clients should be located as close as possible to this
cluster. Currently only zones are supported, so values should be of the
form projects/{project}/locations/{zone}
.
string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for location to set. |
Type | Description |
Cluster.Builder | This builder for chaining. |
setName(String value)
public Cluster.Builder setName(String value)
The unique name of the cluster. Values are of the form
projects/{project}/instances/{instance}/clusters/a-z*
.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
Cluster.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Cluster.Builder setNameBytes(ByteString value)
The unique name of the cluster. Values are of the form
projects/{project}/instances/{instance}/clusters/a-z*
.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Cluster.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Cluster.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Cluster.Builder |
setServeNodes(int value)
public Cluster.Builder setServeNodes(int value)
The number of nodes allocated to this cluster. More nodes enable higher throughput and more consistent performance.
int32 serve_nodes = 4;
Name | Description |
value | int The serveNodes to set. |
Type | Description |
Cluster.Builder | This builder for chaining. |
setState(Cluster.State value)
public Cluster.Builder setState(Cluster.State value)
Output only. The current state of the cluster.
.google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Cluster.State The state to set. |
Type | Description |
Cluster.Builder | This builder for chaining. |
setStateValue(int value)
public Cluster.Builder setStateValue(int value)
Output only. The current state of the cluster.
.google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
Cluster.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Cluster.Builder |