public class Cluster extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Cluster.State |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static Cluster |
fromProto(Cluster proto)
Wraps a protobuf response.
|
String |
getId()
Gets the cluster's id.
|
String |
getInstanceId()
Gets the instance id.
|
int |
getServeNodes()
Get the number of nodes allocated to this cluster.
|
Cluster.State |
getState()
Gets the current state of the cluster
|
StorageType |
getStorageType()
The type of storage used by this cluster to serve its parent instance's tables, unless
explicitly overridden.
|
String |
getZone()
Get the zone where this cluster is located.
|
int |
hashCode() |
@InternalApi public static Cluster fromProto(Cluster proto)
This method is considered an internal implementation detail and not meant to be used by applications.
public String getId()
public String getInstanceId()
public String getZone()
public Cluster.State getState()
public int getServeNodes()
public StorageType getStorageType()
Copyright © 2019 Google LLC. All rights reserved.