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][google.bigtable.admin.v2.Table] in the parent [Instance][google.bigtable.admin.v2.Instance].Protobuf type
google.bigtable.admin.v2.Cluster| Modifier and Type | Method and Description |
|---|---|
Cluster.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Cluster |
build() |
Cluster |
buildPartial() |
Cluster.Builder |
clear() |
Cluster.Builder |
clearDefaultStorageType()
(`CreationOnly`)
The type of storage used by this cluster to serve its
parent instance's tables, unless explicitly overridden.
|
Cluster.Builder |
clearField(Descriptors.FieldDescriptor field) |
Cluster.Builder |
clearLocation()
(`CreationOnly`)
The location where this cluster's nodes and storage reside.
|
Cluster.Builder |
clearName()
(`OutputOnly`)
The unique name of the cluster.
|
Cluster.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Cluster.Builder |
clearServeNodes()
The number of nodes allocated to this cluster.
|
Cluster.Builder |
clearState()
(`OutputOnly`)
The current state of the cluster.
|
Cluster.Builder |
clone() |
Cluster |
getDefaultInstanceForType() |
StorageType |
getDefaultStorageType()
(`CreationOnly`)
The type of storage used by this cluster to serve its
parent instance's tables, unless explicitly overridden.
|
int |
getDefaultStorageTypeValue()
(`CreationOnly`)
The type of storage used by this cluster to serve its
parent instance's tables, unless explicitly overridden.
|
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getLocation()
(`CreationOnly`)
The location where this cluster's nodes and storage reside.
|
ByteString |
getLocationBytes()
(`CreationOnly`)
The location where this cluster's nodes and storage reside.
|
java.lang.String |
getName()
(`OutputOnly`)
The unique name of the cluster.
|
ByteString |
getNameBytes()
(`OutputOnly`)
The unique name of the cluster.
|
int |
getServeNodes()
The number of nodes allocated to this cluster.
|
Cluster.State |
getState()
(`OutputOnly`)
The current state of the cluster.
|
int |
getStateValue()
(`OutputOnly`)
The current state of the cluster.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Cluster.Builder |
mergeFrom(Cluster other) |
Cluster.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Cluster.Builder |
mergeFrom(Message other) |
Cluster.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Cluster.Builder |
setDefaultStorageType(StorageType value)
(`CreationOnly`)
The type of storage used by this cluster to serve its
parent instance's tables, unless explicitly overridden.
|
Cluster.Builder |
setDefaultStorageTypeValue(int value)
(`CreationOnly`)
The type of storage used by this cluster to serve its
parent instance's tables, unless explicitly overridden.
|
Cluster.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Cluster.Builder |
setLocation(java.lang.String value)
(`CreationOnly`)
The location where this cluster's nodes and storage reside.
|
Cluster.Builder |
setLocationBytes(ByteString value)
(`CreationOnly`)
The location where this cluster's nodes and storage reside.
|
Cluster.Builder |
setName(java.lang.String value)
(`OutputOnly`)
The unique name of the cluster.
|
Cluster.Builder |
setNameBytes(ByteString value)
(`OutputOnly`)
The unique name of the cluster.
|
Cluster.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Cluster.Builder |
setServeNodes(int value)
The number of nodes allocated to this cluster.
|
Cluster.Builder |
setState(Cluster.State value)
(`OutputOnly`)
The current state of the cluster.
|
Cluster.Builder |
setStateValue(int value)
(`OutputOnly`)
The current state of the cluster.
|
Cluster.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<Cluster.Builder>public Cluster.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<Cluster.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<Cluster.Builder>public Cluster getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic Cluster build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic Cluster buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic Cluster.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<Cluster.Builder>public Cluster.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<Cluster.Builder>public Cluster.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<Cluster.Builder>public Cluster.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<Cluster.Builder>public Cluster.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<Cluster.Builder>public Cluster.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<Cluster.Builder>public Cluster.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<Cluster.Builder>public Cluster.Builder mergeFrom(Cluster other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<Cluster.Builder>public Cluster.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<Cluster.Builder>java.io.IOExceptionpublic java.lang.String getName()
(`OutputOnly`) The unique name of the cluster. Values are of the form `projects/<project>/instances/<instance>/clusters/[a-z][-a-z0-9]*`.
string name = 1;getName in interface ClusterOrBuilderpublic ByteString getNameBytes()
(`OutputOnly`) The unique name of the cluster. Values are of the form `projects/<project>/instances/<instance>/clusters/[a-z][-a-z0-9]*`.
string name = 1;getNameBytes in interface ClusterOrBuilderpublic Cluster.Builder setName(java.lang.String value)
(`OutputOnly`) The unique name of the cluster. Values are of the form `projects/<project>/instances/<instance>/clusters/[a-z][-a-z0-9]*`.
string name = 1;public Cluster.Builder clearName()
(`OutputOnly`) The unique name of the cluster. Values are of the form `projects/<project>/instances/<instance>/clusters/[a-z][-a-z0-9]*`.
string name = 1;public Cluster.Builder setNameBytes(ByteString value)
(`OutputOnly`) The unique name of the cluster. Values are of the form `projects/<project>/instances/<instance>/clusters/[a-z][-a-z0-9]*`.
string name = 1;public java.lang.String getLocation()
(`CreationOnly`) 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;getLocation in interface ClusterOrBuilderpublic ByteString getLocationBytes()
(`CreationOnly`) 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;getLocationBytes in interface ClusterOrBuilderpublic Cluster.Builder setLocation(java.lang.String value)
(`CreationOnly`) 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;public Cluster.Builder clearLocation()
(`CreationOnly`) 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;public Cluster.Builder setLocationBytes(ByteString value)
(`CreationOnly`) 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;public int getStateValue()
(`OutputOnly`) The current state of the cluster.
.google.bigtable.admin.v2.Cluster.State state = 3;getStateValue in interface ClusterOrBuilderpublic Cluster.Builder setStateValue(int value)
(`OutputOnly`) The current state of the cluster.
.google.bigtable.admin.v2.Cluster.State state = 3;public Cluster.State getState()
(`OutputOnly`) The current state of the cluster.
.google.bigtable.admin.v2.Cluster.State state = 3;getState in interface ClusterOrBuilderpublic Cluster.Builder setState(Cluster.State value)
(`OutputOnly`) The current state of the cluster.
.google.bigtable.admin.v2.Cluster.State state = 3;public Cluster.Builder clearState()
(`OutputOnly`) The current state of the cluster.
.google.bigtable.admin.v2.Cluster.State state = 3;public int getServeNodes()
The number of nodes allocated to this cluster. More nodes enable higher throughput and more consistent performance.
int32 serve_nodes = 4;getServeNodes in interface ClusterOrBuilderpublic 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;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;public int getDefaultStorageTypeValue()
(`CreationOnly`) 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;getDefaultStorageTypeValue in interface ClusterOrBuilderpublic Cluster.Builder setDefaultStorageTypeValue(int value)
(`CreationOnly`) 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;public StorageType getDefaultStorageType()
(`CreationOnly`) 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;getDefaultStorageType in interface ClusterOrBuilderpublic Cluster.Builder setDefaultStorageType(StorageType value)
(`CreationOnly`) 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;public Cluster.Builder clearDefaultStorageType()
(`CreationOnly`) 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;public final Cluster.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<Cluster.Builder>public final Cluster.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<Cluster.Builder>