public static enum CommonMetadata.State extends Enum<CommonMetadata.State> implements com.google.protobuf.ProtocolMessageEnum
The various possible states for an ongoing Operation.Protobuf enum
google.datastore.admin.v1.CommonMetadata.State
Enum Constant and Description |
---|
CANCELLED
Request has finished being cancelled after user called
google.longrunning.Operations.CancelOperation.
|
CANCELLING
Request is in the process of being cancelled after user called
google.longrunning.Operations.CancelOperation on the operation.
|
FAILED
Request has finished being processed, but encountered an error.
|
FINALIZING
Request has been processed and is in its finalization stage.
|
INITIALIZING
Request is being prepared for processing.
|
PROCESSING
Request is actively being processed.
|
STATE_UNSPECIFIED
Unspecified.
|
SUCCESSFUL
Request has completed successfully.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CANCELLED_VALUE
Request has finished being cancelled after user called
google.longrunning.Operations.CancelOperation.
|
static int |
CANCELLING_VALUE
Request is in the process of being cancelled after user called
google.longrunning.Operations.CancelOperation on the operation.
|
static int |
FAILED_VALUE
Request has finished being processed, but encountered an error.
|
static int |
FINALIZING_VALUE
Request has been processed and is in its finalization stage.
|
static int |
INITIALIZING_VALUE
Request is being prepared for processing.
|
static int |
PROCESSING_VALUE
Request is actively being processed.
|
static int |
STATE_UNSPECIFIED_VALUE
Unspecified.
|
static int |
SUCCESSFUL_VALUE
Request has completed successfully.
|
Modifier and Type | Method and Description |
---|---|
static CommonMetadata.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<CommonMetadata.State> |
internalGetValueMap() |
static CommonMetadata.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CommonMetadata.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CommonMetadata.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommonMetadata.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommonMetadata.State STATE_UNSPECIFIED
Unspecified.
STATE_UNSPECIFIED = 0;
public static final CommonMetadata.State INITIALIZING
Request is being prepared for processing.
INITIALIZING = 1;
public static final CommonMetadata.State PROCESSING
Request is actively being processed.
PROCESSING = 2;
public static final CommonMetadata.State CANCELLING
Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.
CANCELLING = 3;
public static final CommonMetadata.State FINALIZING
Request has been processed and is in its finalization stage.
FINALIZING = 4;
public static final CommonMetadata.State SUCCESSFUL
Request has completed successfully.
SUCCESSFUL = 5;
public static final CommonMetadata.State FAILED
Request has finished being processed, but encountered an error.
FAILED = 6;
public static final CommonMetadata.State CANCELLED
Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation.
CANCELLED = 7;
public static final CommonMetadata.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Unspecified.
STATE_UNSPECIFIED = 0;
public static final int INITIALIZING_VALUE
Request is being prepared for processing.
INITIALIZING = 1;
public static final int PROCESSING_VALUE
Request is actively being processed.
PROCESSING = 2;
public static final int CANCELLING_VALUE
Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.
CANCELLING = 3;
public static final int FINALIZING_VALUE
Request has been processed and is in its finalization stage.
FINALIZING = 4;
public static final int SUCCESSFUL_VALUE
Request has completed successfully.
SUCCESSFUL = 5;
public static final int FAILED_VALUE
Request has finished being processed, but encountered an error.
FAILED = 6;
public static final int CANCELLED_VALUE
Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation.
CANCELLED = 7;
public static CommonMetadata.State[] values()
for (CommonMetadata.State c : CommonMetadata.State.values()) System.out.println(c);
public static CommonMetadata.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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static CommonMetadata.State valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static CommonMetadata.State forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<CommonMetadata.State> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static CommonMetadata.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.