Enum DbNodeProperties.State

java.lang.Object
java.lang.Enum<DbNodeProperties.State>
com.google.cloud.oracledatabase.v1.DbNodeProperties.State
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<DbNodeProperties.State>
Enclosing class:
DbNodeProperties

public static enum DbNodeProperties.State extends Enum<DbNodeProperties.State> implements com.google.protobuf.ProtocolMessageEnum
 The various lifecycle states of the database node.
 
Protobuf enum google.cloud.oracledatabase.v1.DbNodeProperties.State
  • Enum Constant Details

    • STATE_UNSPECIFIED

      public static final DbNodeProperties.State STATE_UNSPECIFIED
       Default unspecified value.
       
      STATE_UNSPECIFIED = 0;
    • PROVISIONING

      public static final DbNodeProperties.State PROVISIONING
       Indicates that the resource is in provisioning state.
       
      PROVISIONING = 1;
    • AVAILABLE

      public static final DbNodeProperties.State AVAILABLE
       Indicates that the resource is in available state.
       
      AVAILABLE = 2;
    • UPDATING

      public static final DbNodeProperties.State UPDATING
       Indicates that the resource is in updating state.
       
      UPDATING = 3;
    • STOPPING

      public static final DbNodeProperties.State STOPPING
       Indicates that the resource is in stopping state.
       
      STOPPING = 4;
    • STOPPED

      public static final DbNodeProperties.State STOPPED
       Indicates that the resource is in stopped state.
       
      STOPPED = 5;
    • STARTING

      public static final DbNodeProperties.State STARTING
       Indicates that the resource is in starting state.
       
      STARTING = 6;
    • TERMINATING

      public static final DbNodeProperties.State TERMINATING
       Indicates that the resource is in terminating state.
       
      TERMINATING = 7;
    • TERMINATED

      public static final DbNodeProperties.State TERMINATED
       Indicates that the resource is in terminated state.
       
      TERMINATED = 8;
    • FAILED

      public static final DbNodeProperties.State FAILED
       Indicates that the resource is in failed state.
       
      FAILED = 9;
    • UNRECOGNIZED

      public static final DbNodeProperties.State UNRECOGNIZED
  • Field Details

    • STATE_UNSPECIFIED_VALUE

      public static final int STATE_UNSPECIFIED_VALUE
       Default unspecified value.
       
      STATE_UNSPECIFIED = 0;
      See Also:
    • PROVISIONING_VALUE

      public static final int PROVISIONING_VALUE
       Indicates that the resource is in provisioning state.
       
      PROVISIONING = 1;
      See Also:
    • AVAILABLE_VALUE

      public static final int AVAILABLE_VALUE
       Indicates that the resource is in available state.
       
      AVAILABLE = 2;
      See Also:
    • UPDATING_VALUE

      public static final int UPDATING_VALUE
       Indicates that the resource is in updating state.
       
      UPDATING = 3;
      See Also:
    • STOPPING_VALUE

      public static final int STOPPING_VALUE
       Indicates that the resource is in stopping state.
       
      STOPPING = 4;
      See Also:
    • STOPPED_VALUE

      public static final int STOPPED_VALUE
       Indicates that the resource is in stopped state.
       
      STOPPED = 5;
      See Also:
    • STARTING_VALUE

      public static final int STARTING_VALUE
       Indicates that the resource is in starting state.
       
      STARTING = 6;
      See Also:
    • TERMINATING_VALUE

      public static final int TERMINATING_VALUE
       Indicates that the resource is in terminating state.
       
      TERMINATING = 7;
      See Also:
    • TERMINATED_VALUE

      public static final int TERMINATED_VALUE
       Indicates that the resource is in terminated state.
       
      TERMINATED = 8;
      See Also:
    • FAILED_VALUE

      public static final int FAILED_VALUE
       Indicates that the resource is in failed state.
       
      FAILED = 9;
      See Also:
  • Method Details

    • values

      public static DbNodeProperties.State[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DbNodeProperties.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 DbNodeProperties.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 DbNodeProperties.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<DbNodeProperties.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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static DbNodeProperties.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