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 classInstance.Statestatic classInstance.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static InstancefromProto(Instance proto)Wraps the protobuf.StringgetDisplayName()Gets the instance's friendly name.StringgetId()Gets the instance's id.Map<String,String>getLabels()Gets the current labels associated with the instance.Instance.StategetState()The current state of the instance.Instance.TypegetType()Gets the instance's current type.inthashCode()
-
-
-
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.
-
-