Enum RepairState

java.lang.Object
java.lang.Enum<RepairState>
com.google.cloud.deploy.v1.RepairState
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<RepairState>

@Generated public enum RepairState extends Enum<RepairState> implements com.google.protobuf.ProtocolMessageEnum
 Valid state of a repair attempt.
 
Protobuf enum google.cloud.deploy.v1.RepairState
  • Enum Constant Details

    • REPAIR_STATE_UNSPECIFIED

      public static final RepairState REPAIR_STATE_UNSPECIFIED
       The `repair` has an unspecified state.
       
      REPAIR_STATE_UNSPECIFIED = 0;
    • REPAIR_STATE_SUCCEEDED

      public static final RepairState REPAIR_STATE_SUCCEEDED
       The `repair` action has succeeded.
       
      REPAIR_STATE_SUCCEEDED = 1;
    • REPAIR_STATE_CANCELLED

      public static final RepairState REPAIR_STATE_CANCELLED
       The `repair` action was cancelled.
       
      REPAIR_STATE_CANCELLED = 2;
    • REPAIR_STATE_FAILED

      public static final RepairState REPAIR_STATE_FAILED
       The `repair` action has failed.
       
      REPAIR_STATE_FAILED = 3;
    • REPAIR_STATE_IN_PROGRESS

      public static final RepairState REPAIR_STATE_IN_PROGRESS
       The `repair` action is in progress.
       
      REPAIR_STATE_IN_PROGRESS = 4;
    • REPAIR_STATE_PENDING

      public static final RepairState REPAIR_STATE_PENDING
       The `repair` action is pending.
       
      REPAIR_STATE_PENDING = 5;
    • REPAIR_STATE_ABORTED

      public static final RepairState REPAIR_STATE_ABORTED
       The `repair` action was aborted.
       
      REPAIR_STATE_ABORTED = 7;
    • UNRECOGNIZED

      public static final RepairState UNRECOGNIZED
  • Field Details

    • REPAIR_STATE_UNSPECIFIED_VALUE

      public static final int REPAIR_STATE_UNSPECIFIED_VALUE
       The `repair` has an unspecified state.
       
      REPAIR_STATE_UNSPECIFIED = 0;
      See Also:
    • REPAIR_STATE_SUCCEEDED_VALUE

      public static final int REPAIR_STATE_SUCCEEDED_VALUE
       The `repair` action has succeeded.
       
      REPAIR_STATE_SUCCEEDED = 1;
      See Also:
    • REPAIR_STATE_CANCELLED_VALUE

      public static final int REPAIR_STATE_CANCELLED_VALUE
       The `repair` action was cancelled.
       
      REPAIR_STATE_CANCELLED = 2;
      See Also:
    • REPAIR_STATE_FAILED_VALUE

      public static final int REPAIR_STATE_FAILED_VALUE
       The `repair` action has failed.
       
      REPAIR_STATE_FAILED = 3;
      See Also:
    • REPAIR_STATE_IN_PROGRESS_VALUE

      public static final int REPAIR_STATE_IN_PROGRESS_VALUE
       The `repair` action is in progress.
       
      REPAIR_STATE_IN_PROGRESS = 4;
      See Also:
    • REPAIR_STATE_PENDING_VALUE

      public static final int REPAIR_STATE_PENDING_VALUE
       The `repair` action is pending.
       
      REPAIR_STATE_PENDING = 5;
      See Also:
    • REPAIR_STATE_ABORTED_VALUE

      public static final int REPAIR_STATE_ABORTED_VALUE
       The `repair` action was aborted.
       
      REPAIR_STATE_ABORTED = 7;
      See Also:
  • Method Details

    • values

      public static RepairState[] 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 RepairState 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 RepairState 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 RepairState 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<RepairState> 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 RepairState 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