public static enum BatchOperationMetadata.State extends Enum<BatchOperationMetadata.State> implements ProtocolMessageEnum
google.cloud.talent.v4.BatchOperationMetadata.State
Enum Constant and Description |
---|
CANCELLED
The batch operation is done after
[google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called.
|
CANCELLING
The batch operation is in the process of cancelling after
[google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called.
|
FAILED
The batch operation is done and no item has been successfully processed.
|
INITIALIZING
The batch operation is being prepared for processing.
|
PROCESSING
The batch operation is actively being processed.
|
STATE_UNSPECIFIED
Default value.
|
SUCCEEDED
The batch operation is processed, and at least one item has been
successfully processed.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CANCELLED_VALUE
The batch operation is done after
[google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called.
|
static int |
CANCELLING_VALUE
The batch operation is in the process of cancelling after
[google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called.
|
static int |
FAILED_VALUE
The batch operation is done and no item has been successfully processed.
|
static int |
INITIALIZING_VALUE
The batch operation is being prepared for processing.
|
static int |
PROCESSING_VALUE
The batch operation is actively being processed.
|
static int |
STATE_UNSPECIFIED_VALUE
Default value.
|
static int |
SUCCEEDED_VALUE
The batch operation is processed, and at least one item has been
successfully processed.
|
Modifier and Type | Method and Description |
---|---|
static BatchOperationMetadata.State |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<BatchOperationMetadata.State> |
internalGetValueMap() |
static BatchOperationMetadata.State |
valueOf(Descriptors.EnumValueDescriptor desc) |
static BatchOperationMetadata.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static BatchOperationMetadata.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BatchOperationMetadata.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BatchOperationMetadata.State STATE_UNSPECIFIED
Default value.
STATE_UNSPECIFIED = 0;
public static final BatchOperationMetadata.State INITIALIZING
The batch operation is being prepared for processing.
INITIALIZING = 1;
public static final BatchOperationMetadata.State PROCESSING
The batch operation is actively being processed.
PROCESSING = 2;
public static final BatchOperationMetadata.State SUCCEEDED
The batch operation is processed, and at least one item has been successfully processed.
SUCCEEDED = 3;
public static final BatchOperationMetadata.State FAILED
The batch operation is done and no item has been successfully processed.
FAILED = 4;
public static final BatchOperationMetadata.State CANCELLING
The batch operation is in the process of cancelling after [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called.
CANCELLING = 5;
public static final BatchOperationMetadata.State CANCELLED
The batch operation is done after [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called. Any items processed before cancelling are returned in the response.
CANCELLED = 6;
public static final BatchOperationMetadata.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Default value.
STATE_UNSPECIFIED = 0;
public static final int INITIALIZING_VALUE
The batch operation is being prepared for processing.
INITIALIZING = 1;
public static final int PROCESSING_VALUE
The batch operation is actively being processed.
PROCESSING = 2;
public static final int SUCCEEDED_VALUE
The batch operation is processed, and at least one item has been successfully processed.
SUCCEEDED = 3;
public static final int FAILED_VALUE
The batch operation is done and no item has been successfully processed.
FAILED = 4;
public static final int CANCELLING_VALUE
The batch operation is in the process of cancelling after [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called.
CANCELLING = 5;
public static final int CANCELLED_VALUE
The batch operation is done after [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called. Any items processed before cancelling are returned in the response.
CANCELLED = 6;
public static BatchOperationMetadata.State[] values()
for (BatchOperationMetadata.State c : BatchOperationMetadata.State.values()) System.out.println(c);
public static BatchOperationMetadata.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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static BatchOperationMetadata.State valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static BatchOperationMetadata.State forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<BatchOperationMetadata.State> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static BatchOperationMetadata.State valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.