public final class Instance
Represents an existing Cloud Bigtable instance.
A Cloud Bigtable instance is mostly just a container for your clusters and nodes, which do all of the real work.
Inherited Members
Static Methods
fromProto(Instance proto)
public static Instance fromProto(Instance proto)
Wraps the protobuf. This method is considered an internal implementation detail and not meant to be used by applications.
Parameter | |
---|---|
Name | Description |
proto |
com.google.bigtable.admin.v2.Instance |
Returns | |
---|---|
Type | Description |
Instance |
Methods
equals(Object o)
public boolean equals(Object o)
Parameter | |
---|---|
Name | Description |
o |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDisplayName()
public String getDisplayName()
Gets the instance's friendly name.
Returns | |
---|---|
Type | Description |
String |
getId()
public String getId()
Gets the instance's id.
Returns | |
---|---|
Type | Description |
String |
getLabels()
public Map<String,String> getLabels()
Gets the current labels associated with the instance. See Also: For more details
getState()
public Instance.State getState()
The current state of the instance.
Returns | |
---|---|
Type | Description |
Instance.State |
getType()
public Instance.Type getType()
Gets the instance's current type. Can be DEVELOPMENT or PRODUCTION.
Returns | |
---|---|
Type | Description |
Instance.Type |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |