Enum State

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<State>

    public enum State
    extends Enum<State>
    implements com.google.protobuf.ProtocolMessageEnum
     The definition of the states of this instance.
     
    Protobuf enum google.cloud.notebooks.v2.State
    • Enum Constant Detail

      • STATE_UNSPECIFIED

        public static final State STATE_UNSPECIFIED
         State is not specified.
         
        STATE_UNSPECIFIED = 0;
      • STARTING

        public static final State STARTING
         The control logic is starting the instance.
         
        STARTING = 1;
      • PROVISIONING

        public static final State PROVISIONING
         The control logic is installing required frameworks and registering the
         instance with notebook proxy
         
        PROVISIONING = 2;
      • ACTIVE

        public static final State ACTIVE
         The instance is running.
         
        ACTIVE = 3;
      • STOPPING

        public static final State STOPPING
         The control logic is stopping the instance.
         
        STOPPING = 4;
      • STOPPED

        public static final State STOPPED
         The instance is stopped.
         
        STOPPED = 5;
      • DELETED

        public static final State DELETED
         The instance is deleted.
         
        DELETED = 6;
      • UPGRADING

        public static final State UPGRADING
         The instance is upgrading.
         
        UPGRADING = 7;
      • INITIALIZING

        public static final State INITIALIZING
         The instance is being created.
         
        INITIALIZING = 8;
      • SUSPENDING

        public static final State SUSPENDING
         The instance is suspending.
         
        SUSPENDING = 9;
      • SUSPENDED

        public static final State SUSPENDED
         The instance is suspended.
         
        SUSPENDED = 10;
      • UNRECOGNIZED

        public static final State UNRECOGNIZED
    • Field Detail

      • STATE_UNSPECIFIED_VALUE

        public static final int STATE_UNSPECIFIED_VALUE
         State is not specified.
         
        STATE_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • STARTING_VALUE

        public static final int STARTING_VALUE
         The control logic is starting the instance.
         
        STARTING = 1;
        See Also:
        Constant Field Values
      • PROVISIONING_VALUE

        public static final int PROVISIONING_VALUE
         The control logic is installing required frameworks and registering the
         instance with notebook proxy
         
        PROVISIONING = 2;
        See Also:
        Constant Field Values
      • ACTIVE_VALUE

        public static final int ACTIVE_VALUE
         The instance is running.
         
        ACTIVE = 3;
        See Also:
        Constant Field Values
      • STOPPING_VALUE

        public static final int STOPPING_VALUE
         The control logic is stopping the instance.
         
        STOPPING = 4;
        See Also:
        Constant Field Values
      • STOPPED_VALUE

        public static final int STOPPED_VALUE
         The instance is stopped.
         
        STOPPED = 5;
        See Also:
        Constant Field Values
      • DELETED_VALUE

        public static final int DELETED_VALUE
         The instance is deleted.
         
        DELETED = 6;
        See Also:
        Constant Field Values
      • UPGRADING_VALUE

        public static final int UPGRADING_VALUE
         The instance is upgrading.
         
        UPGRADING = 7;
        See Also:
        Constant Field Values
      • INITIALIZING_VALUE

        public static final int INITIALIZING_VALUE
         The instance is being created.
         
        INITIALIZING = 8;
        See Also:
        Constant Field Values
      • SUSPENDING_VALUE

        public static final int SUSPENDING_VALUE
         The instance is suspending.
         
        SUSPENDING = 9;
        See Also:
        Constant Field Values
      • SUSPENDED_VALUE

        public static final int SUSPENDED_VALUE
         The instance is suspended.
         
        SUSPENDED = 10;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static 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 (State c : 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 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
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static State valueOf​(int value)
        Deprecated.
        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:
        value - 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
      • forNumber

        public static State forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<State> internalGetValueMap()
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static State valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        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:
        desc - 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