Class Instance
- java.lang.Object
-
- com.google.cloud.bigtable.admin.v2.models.Instance
-
public final class Instance extends Object
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Instance.State
static class
Instance.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static Instance
fromProto(Instance proto)
Wraps the protobuf.String
getDisplayName()
Gets the instance's friendly name.String
getId()
Gets the instance's id.Map<String,String>
getLabels()
Gets the current labels associated with the instance.Instance.State
getState()
The current state of the instance.Instance.Type
getType()
Gets the instance's current type.int
hashCode()
-
-
-
Method Detail
-
fromProto
@InternalApi public static Instance fromProto(@Nonnull Instance proto)
Wraps the protobuf. This method is considered an internal implementation detail and not meant to be used by applications.
-
getId
public String getId()
Gets the instance's id.
-
getDisplayName
public String getDisplayName()
Gets the instance's friendly name.
-
getType
public Instance.Type getType()
Gets the instance's current type. Can be DEVELOPMENT or PRODUCTION.
-
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.
-
-