Interface ClusterOrBuilder (2.13.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()

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

Returns
TypeDescription
StorageType

The defaultStorageType.

getDefaultStorageTypeValue()

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

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()

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) = { ... }

Returns
TypeDescription
String

The location.

getLocationBytes()

public abstract 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) = { ... }

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;

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;

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()

Output only. 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()

Output only. 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.