public static enum OperationMetadata.State extends Enum<OperationMetadata.State> implements com.google.protobuf.ProtocolMessageEnum
google.cloud.documentai.v1beta2.OperationMetadata.State| Enum Constant and Description |
|---|
ACCEPTED
Request is received.
|
CANCELLED
The batch processing was cancelled.
|
FAILED
The batch processing has failed.
|
RUNNING
Request is being processed.
|
STATE_UNSPECIFIED
The default value.
|
SUCCEEDED
The batch processing completed successfully.
|
UNRECOGNIZED |
WAITING
Request operation is waiting for scheduling.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ACCEPTED_VALUE
Request is received.
|
static int |
CANCELLED_VALUE
The batch processing was cancelled.
|
static int |
FAILED_VALUE
The batch processing has failed.
|
static int |
RUNNING_VALUE
Request is being processed.
|
static int |
STATE_UNSPECIFIED_VALUE
The default value.
|
static int |
SUCCEEDED_VALUE
The batch processing completed successfully.
|
static int |
WAITING_VALUE
Request operation is waiting for scheduling.
|
| Modifier and Type | Method and Description |
|---|---|
static OperationMetadata.State |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<OperationMetadata.State> |
internalGetValueMap() |
static OperationMetadata.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static OperationMetadata.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static OperationMetadata.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationMetadata.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationMetadata.State STATE_UNSPECIFIED
The default value. This value is used if the state is omitted.
STATE_UNSPECIFIED = 0;public static final OperationMetadata.State ACCEPTED
Request is received.
ACCEPTED = 1;public static final OperationMetadata.State WAITING
Request operation is waiting for scheduling.
WAITING = 2;public static final OperationMetadata.State RUNNING
Request is being processed.
RUNNING = 3;public static final OperationMetadata.State SUCCEEDED
The batch processing completed successfully.
SUCCEEDED = 4;public static final OperationMetadata.State CANCELLED
The batch processing was cancelled.
CANCELLED = 5;public static final OperationMetadata.State FAILED
The batch processing has failed.
FAILED = 6;public static final OperationMetadata.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
The default value. This value is used if the state is omitted.
STATE_UNSPECIFIED = 0;public static final int ACCEPTED_VALUE
Request is received.
ACCEPTED = 1;public static final int WAITING_VALUE
Request operation is waiting for scheduling.
WAITING = 2;public static final int RUNNING_VALUE
Request is being processed.
RUNNING = 3;public static final int SUCCEEDED_VALUE
The batch processing completed successfully.
SUCCEEDED = 4;public static final int CANCELLED_VALUE
The batch processing was cancelled.
CANCELLED = 5;public static final int FAILED_VALUE
The batch processing has failed.
FAILED = 6;public static OperationMetadata.State[] values()
for (OperationMetadata.State c : OperationMetadata.State.values()) System.out.println(c);
public static OperationMetadata.State valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static OperationMetadata.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static OperationMetadata.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<OperationMetadata.State> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static OperationMetadata.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.