Package com.google.cloud.dialogflow.v2
Enum CreateConversationModelEvaluationOperationMetadata.State
- java.lang.Object
-
- java.lang.Enum<CreateConversationModelEvaluationOperationMetadata.State>
-
- com.google.cloud.dialogflow.v2.CreateConversationModelEvaluationOperationMetadata.State
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<CreateConversationModelEvaluationOperationMetadata.State>
- Enclosing class:
- CreateConversationModelEvaluationOperationMetadata
public static enum CreateConversationModelEvaluationOperationMetadata.State extends Enum<CreateConversationModelEvaluationOperationMetadata.State> implements com.google.protobuf.ProtocolMessageEnum
State of CreateConversationModel operation.
Protobuf enumgoogle.cloud.dialogflow.v2.CreateConversationModelEvaluationOperationMetadata.State
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLEDThe operation is cancelled.FAILEDThe operation has failed.INITIALIZINGThe operation is being prepared.RUNNINGThe operation is running.STATE_UNSPECIFIEDOperation status not specified.SUCCEEDEDThe operation has succeeded.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intCANCELLED_VALUEThe operation is cancelled.static intFAILED_VALUEThe operation has failed.static intINITIALIZING_VALUEThe operation is being prepared.static intRUNNING_VALUEThe operation is running.static intSTATE_UNSPECIFIED_VALUEOperation status not specified.static intSUCCEEDED_VALUEThe operation has succeeded.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CreateConversationModelEvaluationOperationMetadata.StateforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<CreateConversationModelEvaluationOperationMetadata.State>internalGetValueMap()static CreateConversationModelEvaluationOperationMetadata.StatevalueOf(int value)Deprecated.static CreateConversationModelEvaluationOperationMetadata.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static CreateConversationModelEvaluationOperationMetadata.StatevalueOf(String name)Returns the enum constant of this type with the specified name.static CreateConversationModelEvaluationOperationMetadata.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STATE_UNSPECIFIED
public static final CreateConversationModelEvaluationOperationMetadata.State STATE_UNSPECIFIED
Operation status not specified.
STATE_UNSPECIFIED = 0;
-
INITIALIZING
public static final CreateConversationModelEvaluationOperationMetadata.State INITIALIZING
The operation is being prepared.
INITIALIZING = 1;
-
RUNNING
public static final CreateConversationModelEvaluationOperationMetadata.State RUNNING
The operation is running.
RUNNING = 2;
-
CANCELLED
public static final CreateConversationModelEvaluationOperationMetadata.State CANCELLED
The operation is cancelled.
CANCELLED = 3;
-
SUCCEEDED
public static final CreateConversationModelEvaluationOperationMetadata.State SUCCEEDED
The operation has succeeded.
SUCCEEDED = 4;
-
FAILED
public static final CreateConversationModelEvaluationOperationMetadata.State FAILED
The operation has failed.
FAILED = 5;
-
UNRECOGNIZED
public static final CreateConversationModelEvaluationOperationMetadata.State UNRECOGNIZED
-
-
Field Detail
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUE
Operation status not specified.
STATE_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
INITIALIZING_VALUE
public static final int INITIALIZING_VALUE
The operation is being prepared.
INITIALIZING = 1;- See Also:
- Constant Field Values
-
RUNNING_VALUE
public static final int RUNNING_VALUE
The operation is running.
RUNNING = 2;- See Also:
- Constant Field Values
-
CANCELLED_VALUE
public static final int CANCELLED_VALUE
The operation is cancelled.
CANCELLED = 3;- See Also:
- Constant Field Values
-
SUCCEEDED_VALUE
public static final int SUCCEEDED_VALUE
The operation has succeeded.
SUCCEEDED = 4;- See Also:
- Constant Field Values
-
FAILED_VALUE
public static final int FAILED_VALUE
The operation has failed.
FAILED = 5;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static CreateConversationModelEvaluationOperationMetadata.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CreateConversationModelEvaluationOperationMetadata.State c : CreateConversationModelEvaluationOperationMetadata.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreateConversationModelEvaluationOperationMetadata.State 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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static CreateConversationModelEvaluationOperationMetadata.State 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 nameNullPointerException- if the argument is null
-
forNumber
public static CreateConversationModelEvaluationOperationMetadata.State 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<CreateConversationModelEvaluationOperationMetadata.State> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static CreateConversationModelEvaluationOperationMetadata.State 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 nameNullPointerException- if the argument is null
-
-