Enum Deployment.LockState

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

public static enum Deployment.LockState extends Enum<Deployment.LockState> implements com.google.protobuf.ProtocolMessageEnum
 Possible lock states of a deployment.
 
Protobuf enum google.cloud.config.v1.Deployment.LockState
  • Enum Constant Details

    • LOCK_STATE_UNSPECIFIED

      public static final Deployment.LockState LOCK_STATE_UNSPECIFIED
       The default value. This value is used if the lock state is omitted.
       
      LOCK_STATE_UNSPECIFIED = 0;
    • LOCKED

      public static final Deployment.LockState LOCKED
       The deployment is locked.
       
      LOCKED = 1;
    • UNLOCKED

      public static final Deployment.LockState UNLOCKED
       The deployment is unlocked.
       
      UNLOCKED = 2;
    • LOCKING

      public static final Deployment.LockState LOCKING
       The deployment is being locked.
       
      LOCKING = 3;
    • UNLOCKING

      public static final Deployment.LockState UNLOCKING
       The deployment is being unlocked.
       
      UNLOCKING = 4;
    • LOCK_FAILED

      public static final Deployment.LockState LOCK_FAILED
       The deployment has failed to lock.
       
      LOCK_FAILED = 5;
    • UNLOCK_FAILED

      public static final Deployment.LockState UNLOCK_FAILED
       The deployment has failed to unlock.
       
      UNLOCK_FAILED = 6;
    • UNRECOGNIZED

      public static final Deployment.LockState UNRECOGNIZED
  • Field Details

    • LOCK_STATE_UNSPECIFIED_VALUE

      public static final int LOCK_STATE_UNSPECIFIED_VALUE
       The default value. This value is used if the lock state is omitted.
       
      LOCK_STATE_UNSPECIFIED = 0;
      See Also:
    • LOCKED_VALUE

      public static final int LOCKED_VALUE
       The deployment is locked.
       
      LOCKED = 1;
      See Also:
    • UNLOCKED_VALUE

      public static final int UNLOCKED_VALUE
       The deployment is unlocked.
       
      UNLOCKED = 2;
      See Also:
    • LOCKING_VALUE

      public static final int LOCKING_VALUE
       The deployment is being locked.
       
      LOCKING = 3;
      See Also:
    • UNLOCKING_VALUE

      public static final int UNLOCKING_VALUE
       The deployment is being unlocked.
       
      UNLOCKING = 4;
      See Also:
    • LOCK_FAILED_VALUE

      public static final int LOCK_FAILED_VALUE
       The deployment has failed to lock.
       
      LOCK_FAILED = 5;
      See Also:
    • UNLOCK_FAILED_VALUE

      public static final int UNLOCK_FAILED_VALUE
       The deployment has failed to unlock.
       
      UNLOCK_FAILED = 6;
      See Also:
  • Method Details

    • values

      public static Deployment.LockState[] 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 Deployment.LockState 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 Deployment.LockState 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 Deployment.LockState 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<Deployment.LockState> 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 Deployment.LockState 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