Enum OperationMetadata.Status

java.lang.Object
java.lang.Enum<OperationMetadata.Status>
com.google.api.servicemanagement.v1.OperationMetadata.Status
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<OperationMetadata.Status>
Enclosing class:
OperationMetadata

public static enum OperationMetadata.Status extends Enum<OperationMetadata.Status> implements com.google.protobuf.ProtocolMessageEnum
 Code describes the status of the operation (or one of its steps).
 
Protobuf enum google.api.servicemanagement.v1.OperationMetadata.Status
  • Enum Constant Details

    • STATUS_UNSPECIFIED

      public static final OperationMetadata.Status STATUS_UNSPECIFIED
       Unspecifed code.
       
      STATUS_UNSPECIFIED = 0;
    • DONE

      public static final OperationMetadata.Status DONE
       The operation or step has completed without errors.
       
      DONE = 1;
    • NOT_STARTED

      public static final OperationMetadata.Status NOT_STARTED
       The operation or step has not started yet.
       
      NOT_STARTED = 2;
    • IN_PROGRESS

      public static final OperationMetadata.Status IN_PROGRESS
       The operation or step is in progress.
       
      IN_PROGRESS = 3;
    • FAILED

      public static final OperationMetadata.Status FAILED
       The operation or step has completed with errors. If the operation is
       rollbackable, the rollback completed with errors too.
       
      FAILED = 4;
    • CANCELLED

      public static final OperationMetadata.Status CANCELLED
       The operation or step has completed with cancellation.
       
      CANCELLED = 5;
    • UNRECOGNIZED

      public static final OperationMetadata.Status UNRECOGNIZED
  • Field Details

    • STATUS_UNSPECIFIED_VALUE

      public static final int STATUS_UNSPECIFIED_VALUE
       Unspecifed code.
       
      STATUS_UNSPECIFIED = 0;
      See Also:
    • DONE_VALUE

      public static final int DONE_VALUE
       The operation or step has completed without errors.
       
      DONE = 1;
      See Also:
    • NOT_STARTED_VALUE

      public static final int NOT_STARTED_VALUE
       The operation or step has not started yet.
       
      NOT_STARTED = 2;
      See Also:
    • IN_PROGRESS_VALUE

      public static final int IN_PROGRESS_VALUE
       The operation or step is in progress.
       
      IN_PROGRESS = 3;
      See Also:
    • FAILED_VALUE

      public static final int FAILED_VALUE
       The operation or step has completed with errors. If the operation is
       rollbackable, the rollback completed with errors too.
       
      FAILED = 4;
      See Also:
    • CANCELLED_VALUE

      public static final int CANCELLED_VALUE
       The operation or step has completed with cancellation.
       
      CANCELLED = 5;
      See Also:
  • Method Details

    • values

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