Enum OutputState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<OutputState>
@Generated
public enum OutputState
extends Enum<OutputState>
implements com.google.protobuf.ProtocolMessageEnum
Output state.Protobuf enum
google.cloud.dialogflow.cx.v3beta1.OutputState-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCancelled.Escalated.Failed.Succeeded.Pending.Unspecified output. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCancelled.static final intEscalated.static final intFailed.static final intSucceeded.static final intPending.static final intUnspecified output. -
Method Summary
Modifier and TypeMethodDescriptionstatic OutputStateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<OutputState>static OutputStatevalueOf(int value) Deprecated.static OutputStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static OutputStateReturns the enum constant of this type with the specified name.static OutputState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OUTPUT_STATE_UNSPECIFIED
Unspecified output.
OUTPUT_STATE_UNSPECIFIED = 0; -
OUTPUT_STATE_OK
Succeeded.
OUTPUT_STATE_OK = 1; -
OUTPUT_STATE_CANCELLED
Cancelled.
OUTPUT_STATE_CANCELLED = 2; -
OUTPUT_STATE_FAILED
Failed.
OUTPUT_STATE_FAILED = 3; -
OUTPUT_STATE_ESCALATED
Escalated.
OUTPUT_STATE_ESCALATED = 4; -
OUTPUT_STATE_PENDING
Pending.
OUTPUT_STATE_PENDING = 5; -
UNRECOGNIZED
-
-
Field Details
-
OUTPUT_STATE_UNSPECIFIED_VALUE
public static final int OUTPUT_STATE_UNSPECIFIED_VALUEUnspecified output.
OUTPUT_STATE_UNSPECIFIED = 0;- See Also:
-
OUTPUT_STATE_OK_VALUE
public static final int OUTPUT_STATE_OK_VALUESucceeded.
OUTPUT_STATE_OK = 1;- See Also:
-
OUTPUT_STATE_CANCELLED_VALUE
public static final int OUTPUT_STATE_CANCELLED_VALUECancelled.
OUTPUT_STATE_CANCELLED = 2;- See Also:
-
OUTPUT_STATE_FAILED_VALUE
public static final int OUTPUT_STATE_FAILED_VALUEFailed.
OUTPUT_STATE_FAILED = 3;- See Also:
-
OUTPUT_STATE_ESCALATED_VALUE
public static final int OUTPUT_STATE_ESCALATED_VALUEEscalated.
OUTPUT_STATE_ESCALATED = 4;- See Also:
-
OUTPUT_STATE_PENDING_VALUE
public static final int OUTPUT_STATE_PENDING_VALUEPending.
OUTPUT_STATE_PENDING = 5;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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
-