Interface ClusterOrBuilder (2.4.0)

public interface ClusterOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClusterConfig()

public abstract Cluster.ClusterConfig getClusterConfig()

Configuration for this cluster.

.google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7;

Returns
TypeDescription
Cluster.ClusterConfig

The clusterConfig.

getClusterConfigOrBuilder()

public abstract Cluster.ClusterConfigOrBuilder getClusterConfigOrBuilder()

Configuration for this cluster.

.google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7;

Returns
TypeDescription
Cluster.ClusterConfigOrBuilder

getConfigCase()

public abstract Cluster.ConfigCase getConfigCase()
Returns
TypeDescription
Cluster.ConfigCase

getDefaultStorageType()

public abstract 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;

Returns
TypeDescription
StorageType

The defaultStorageType.

getDefaultStorageTypeValue()

public abstract 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;

Returns
TypeDescription
int

The enum numeric value on the wire for defaultStorageType.

getEncryptionConfig()

public abstract 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];

Returns
TypeDescription
Cluster.EncryptionConfig

The encryptionConfig.

getEncryptionConfigOrBuilder()

public abstract 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];

Returns
TypeDescription
Cluster.EncryptionConfigOrBuilder

getLocation()

public abstract 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 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The location.

getLocationBytes()

public abstract 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 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for location.

getName()

public abstract String getName()

The unique name of the cluster. Values are of the form projects/{project}/instances/{instance}/clusters/a-z*.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The unique name of the cluster. Values are of the form projects/{project}/instances/{instance}/clusters/a-z*.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getServeNodes()

public abstract int getServeNodes()

The number of nodes allocated to this cluster. More nodes enable higher throughput and more consistent performance.

int32 serve_nodes = 4;

Returns
TypeDescription
int

The serveNodes.

getState()

public abstract Cluster.State getState()

The current state of the cluster.

.google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Cluster.State

The state.

getStateValue()

public abstract int getStateValue()

The current state of the cluster.

.google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

hasClusterConfig()

public abstract boolean hasClusterConfig()

Configuration for this cluster.

.google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7;

Returns
TypeDescription
boolean

Whether the clusterConfig field is set.

hasEncryptionConfig()

public abstract boolean hasEncryptionConfig()

Immutable. The encryption configuration for CMEK-protected clusters.

.google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
boolean

Whether the encryptionConfig field is set.