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.

  • Method Details

    • fromProto

      @InternalApi public static Instance fromProto(@Nonnull com.google.bigtable.admin.v2.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:
    • getState

      public Instance.State getState()
      The current state of the instance.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object