Class 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 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.
      • getState

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

        public int hashCode()
        Overrides:
        hashCode in class Object