public static enum DeleteGlossaryMetadata.State extends Enum<DeleteGlossaryMetadata.State> implements com.google.protobuf.ProtocolMessageEnum
Enumerates the possible states that the creation request can be in.Protobuf enum
google.cloud.translation.v3.DeleteGlossaryMetadata.State| Enum Constant and Description |
|---|
CANCELLED
The glossary deletion request was successfully canceled.
|
CANCELLING
Request is in the process of being canceled after caller invoked
longrunning.Operations.CancelOperation on the request id.
|
FAILED
Failed to delete the glossary.
|
RUNNING
Request is being processed.
|
STATE_UNSPECIFIED
Invalid.
|
SUCCEEDED
The glossary was successfully deleted.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CANCELLED_VALUE
The glossary deletion request was successfully canceled.
|
static int |
CANCELLING_VALUE
Request is in the process of being canceled after caller invoked
longrunning.Operations.CancelOperation on the request id.
|
static int |
FAILED_VALUE
Failed to delete the glossary.
|
static int |
RUNNING_VALUE
Request is being processed.
|
static int |
STATE_UNSPECIFIED_VALUE
Invalid.
|
static int |
SUCCEEDED_VALUE
The glossary was successfully deleted.
|
| Modifier and Type | Method and Description |
|---|---|
static DeleteGlossaryMetadata.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<DeleteGlossaryMetadata.State> |
internalGetValueMap() |
static DeleteGlossaryMetadata.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DeleteGlossaryMetadata.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DeleteGlossaryMetadata.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeleteGlossaryMetadata.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeleteGlossaryMetadata.State STATE_UNSPECIFIED
Invalid.
STATE_UNSPECIFIED = 0;public static final DeleteGlossaryMetadata.State RUNNING
Request is being processed.
RUNNING = 1;public static final DeleteGlossaryMetadata.State SUCCEEDED
The glossary was successfully deleted.
SUCCEEDED = 2;public static final DeleteGlossaryMetadata.State FAILED
Failed to delete the glossary.
FAILED = 3;public static final DeleteGlossaryMetadata.State CANCELLING
Request is in the process of being canceled after caller invoked longrunning.Operations.CancelOperation on the request id.
CANCELLING = 4;public static final DeleteGlossaryMetadata.State CANCELLED
The glossary deletion request was successfully canceled.
CANCELLED = 5;public static final DeleteGlossaryMetadata.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Invalid.
STATE_UNSPECIFIED = 0;public static final int RUNNING_VALUE
Request is being processed.
RUNNING = 1;public static final int SUCCEEDED_VALUE
The glossary was successfully deleted.
SUCCEEDED = 2;public static final int FAILED_VALUE
Failed to delete the glossary.
FAILED = 3;public static final int CANCELLING_VALUE
Request is in the process of being canceled after caller invoked longrunning.Operations.CancelOperation on the request id.
CANCELLING = 4;public static final int CANCELLED_VALUE
The glossary deletion request was successfully canceled.
CANCELLED = 5;public static DeleteGlossaryMetadata.State[] values()
for (DeleteGlossaryMetadata.State c : DeleteGlossaryMetadata.State.values()) System.out.println(c);
public static DeleteGlossaryMetadata.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 DeleteGlossaryMetadata.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static DeleteGlossaryMetadata.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<DeleteGlossaryMetadata.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 DeleteGlossaryMetadata.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.