Enum Instance.State

    • Enum Constant Detail

      • NOT_KNOWN

        public static final Instance.State NOT_KNOWN
        The state of the instance could not be determined by the server.
      • READY

        public static final Instance.State READY
        The instance has been successfully created and can serve requests to its tables.
      • CREATING

        public static final Instance.State CREATING
        The instance is currently being created, and may be destroyed if the creation process encounters an error.
      • UNRECOGNIZED

        public static final Instance.State UNRECOGNIZED
        The state of instance is not known by this client. Please upgrade your client.
    • Method Detail

      • values

        public static Instance.State[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Instance.State c : Instance.State.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Instance.State valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • fromProto

        @InternalApi
        public static Instance.State fromProto​(Instance.State proto)
        Wraps the protobuf. This method is considered an internal implementation detail and not meant to be used by applications.
      • toProto

        @InternalApi
        public Instance.State toProto()
        Creates the request protobuf. This method is considered an internal implementation detail and not meant to be used by applications.