public final class Cluster extends GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
Cluster.Builder
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].
|
static class |
Cluster.State
Possible states of a cluster.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_STORAGE_TYPE_FIELD_NUMBER |
static int |
LOCATION_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SERVE_NODES_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static Cluster |
getDefaultInstance() |
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() |
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.
|
Parser<Cluster> |
getParserForType() |
int |
getSerializedSize() |
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.
|
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Cluster.Builder |
newBuilder() |
static Cluster.Builder |
newBuilder(Cluster prototype) |
Cluster.Builder |
newBuilderForType() |
protected Cluster.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static Cluster |
parseDelimitedFrom(java.io.InputStream input) |
static Cluster |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Cluster |
parseFrom(byte[] data) |
static Cluster |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Cluster |
parseFrom(java.nio.ByteBuffer data) |
static Cluster |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Cluster |
parseFrom(ByteString data) |
static Cluster |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Cluster |
parseFrom(CodedInputStream input) |
static Cluster |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Cluster |
parseFrom(java.io.InputStream input) |
static Cluster |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Cluster> |
parser() |
Cluster.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int SERVE_NODES_FIELD_NUMBER
public static final int DEFAULT_STORAGE_TYPE_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public 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 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 int getStateValue()
(`OutputOnly`) The current state of the cluster.
.google.bigtable.admin.v2.Cluster.State state = 3;getStateValue in interface ClusterOrBuilderpublic Cluster.State getState()
(`OutputOnly`) The current state of the cluster.
.google.bigtable.admin.v2.Cluster.State state = 3;getState in interface ClusterOrBuilderpublic 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 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 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 final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static Cluster parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Cluster parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Cluster parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Cluster parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Cluster parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Cluster parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Cluster parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Cluster parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Cluster parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Cluster parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Cluster parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Cluster parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Cluster.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static Cluster.Builder newBuilder()
public static Cluster.Builder newBuilder(Cluster prototype)
public Cluster.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected Cluster.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static Cluster getDefaultInstance()
public Parser<Cluster> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public Cluster getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder