public final class Cluster extends com.google.protobuf.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.ClusterAutoscalingConfig
Autoscaling config for a cluster.
|
static interface |
Cluster.ClusterAutoscalingConfigOrBuilder |
static class |
Cluster.ClusterConfig
Configuration for a cluster.
|
static interface |
Cluster.ClusterConfigOrBuilder |
static class |
Cluster.ConfigCase |
static class |
Cluster.EncryptionConfig
Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected
cluster.
|
static interface |
Cluster.EncryptionConfigOrBuilder |
static class |
Cluster.State
Possible states of a cluster.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTER_CONFIG_FIELD_NUMBER |
static int |
DEFAULT_STORAGE_TYPE_FIELD_NUMBER |
static int |
ENCRYPTION_CONFIG_FIELD_NUMBER |
static int |
LOCATION_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SERVE_NODES_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Cluster.ClusterConfig |
getClusterConfig()
Configuration for this cluster.
|
Cluster.ClusterConfigOrBuilder |
getClusterConfigOrBuilder()
Configuration for this cluster.
|
Cluster.ConfigCase |
getConfigCase() |
static Cluster |
getDefaultInstance() |
Cluster |
getDefaultInstanceForType() |
StorageType |
getDefaultStorageType()
Immutable.
|
int |
getDefaultStorageTypeValue()
Immutable.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Cluster.EncryptionConfig |
getEncryptionConfig()
Immutable.
|
Cluster.EncryptionConfigOrBuilder |
getEncryptionConfigOrBuilder()
Immutable.
|
String |
getLocation()
Immutable.
|
com.google.protobuf.ByteString |
getLocationBytes()
Immutable.
|
String |
getName()
The unique name of the cluster.
|
com.google.protobuf.ByteString |
getNameBytes()
The unique name of the cluster.
|
com.google.protobuf.Parser<Cluster> |
getParserForType() |
int |
getSerializedSize() |
int |
getServeNodes()
The number of nodes allocated to this cluster.
|
Cluster.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasClusterConfig()
Configuration for this cluster.
|
boolean |
hasEncryptionConfig()
Immutable.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Cluster.Builder |
newBuilder() |
static Cluster.Builder |
newBuilder(Cluster prototype) |
Cluster.Builder |
newBuilderForType() |
protected Cluster.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Cluster |
parseDelimitedFrom(InputStream input) |
static Cluster |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster |
parseFrom(byte[] data) |
static Cluster |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster |
parseFrom(ByteBuffer data) |
static Cluster |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster |
parseFrom(com.google.protobuf.ByteString data) |
static Cluster |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Cluster |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster |
parseFrom(InputStream input) |
static Cluster |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Cluster> |
parser() |
Cluster.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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, waitpublic 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 CLUSTER_CONFIG_FIELD_NUMBER
public static final int DEFAULT_STORAGE_TYPE_FIELD_NUMBER
public static final int ENCRYPTION_CONFIG_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Cluster.ConfigCase getConfigCase()
getConfigCase in interface ClusterOrBuilderpublic String getName()
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 com.google.protobuf.ByteString getNameBytes()
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 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) = { ... }
getLocation in interface ClusterOrBuilderpublic com.google.protobuf.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) = { ... }
getLocationBytes in interface ClusterOrBuilderpublic int getStateValue()
Output only. The current state of the cluster.
.google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface ClusterOrBuilderpublic 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];
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 boolean hasClusterConfig()
Configuration for this cluster.
.google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7;hasClusterConfig in interface ClusterOrBuilderpublic Cluster.ClusterConfig getClusterConfig()
Configuration for this cluster.
.google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7;getClusterConfig in interface ClusterOrBuilderpublic Cluster.ClusterConfigOrBuilder getClusterConfigOrBuilder()
Configuration for this cluster.
.google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7;getClusterConfigOrBuilder in interface ClusterOrBuilderpublic 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];
getDefaultStorageTypeValue in interface ClusterOrBuilderpublic 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];
getDefaultStorageType in interface ClusterOrBuilderpublic boolean hasEncryptionConfig()
Immutable. The encryption configuration for CMEK-protected clusters.
.google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE];
hasEncryptionConfig in interface ClusterOrBuilderpublic 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];
getEncryptionConfig in interface ClusterOrBuilderpublic 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];
getEncryptionConfigOrBuilder in interface ClusterOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Cluster parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster parseFrom(InputStream input) throws IOException
IOExceptionpublic static Cluster parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Cluster parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Cluster parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Cluster parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Cluster parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Cluster.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Cluster.Builder newBuilder()
public static Cluster.Builder newBuilder(Cluster prototype)
public Cluster.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Cluster.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Cluster getDefaultInstance()
public static com.google.protobuf.Parser<Cluster> parser()
public com.google.protobuf.Parser<Cluster> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Cluster getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.