Enum UpgradeClusterResponse.Status

java.lang.Object
java.lang.Enum<UpgradeClusterResponse.Status>
com.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<UpgradeClusterResponse.Status>
Enclosing class:
UpgradeClusterResponse

public static enum UpgradeClusterResponse.Status extends Enum<UpgradeClusterResponse.Status> implements com.google.protobuf.ProtocolMessageEnum
 Status of upgrade operation.
 
Protobuf enum google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status
  • Enum Constant Details

  • Field Details

    • STATUS_UNSPECIFIED_VALUE

      public static final int STATUS_UNSPECIFIED_VALUE
       Unspecified status.
       
      STATUS_UNSPECIFIED = 0;
      See Also:
    • NOT_STARTED_VALUE

      public static final int NOT_STARTED_VALUE
       Not started.
       
      NOT_STARTED = 4;
      See Also:
    • IN_PROGRESS_VALUE

      public static final int IN_PROGRESS_VALUE
       In progress.
       
      IN_PROGRESS = 5;
      See Also:
    • SUCCESS_VALUE

      public static final int SUCCESS_VALUE
       Operation succeeded.
       
      SUCCESS = 1;
      See Also:
    • FAILED_VALUE

      public static final int FAILED_VALUE
       Operation failed.
       
      FAILED = 2;
      See Also:
    • PARTIAL_SUCCESS_VALUE

      public static final int PARTIAL_SUCCESS_VALUE
       Operation partially succeeded.
       
      PARTIAL_SUCCESS = 3;
      See Also:
    • CANCEL_IN_PROGRESS_VALUE

      public static final int CANCEL_IN_PROGRESS_VALUE
       Cancel is in progress.
       
      CANCEL_IN_PROGRESS = 6;
      See Also:
    • CANCELLED_VALUE

      public static final int CANCELLED_VALUE
       Cancellation complete.
       
      CANCELLED = 7;
      See Also:
  • Method Details

    • values

      public static UpgradeClusterResponse.Status[] 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 UpgradeClusterResponse.Status 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 UpgradeClusterResponse.Status 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 UpgradeClusterResponse.Status 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<UpgradeClusterResponse.Status> 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 UpgradeClusterResponse.Status 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