Enum PlaybookOutput.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PlaybookOutput.State>
- Enclosing class:
- PlaybookOutput
@Deprecated
public static enum PlaybookOutput.State
extends Enum<PlaybookOutput.State>
implements com.google.protobuf.ProtocolMessageEnum
Deprecated.
Playbook output state.Protobuf enum
google.cloud.dialogflow.cx.v3beta1.PlaybookOutput.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Playbook cancelled.Deprecated.Playbook failed due to escalation.Deprecated.Playbook failed.Deprecated.Playbook succeeded.Deprecated.Unspecified state.Deprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.Playbook cancelled.static final intDeprecated.Playbook failed due to escalation.static final intDeprecated.Playbook failed.static final intDeprecated.Playbook succeeded.static final intDeprecated.Unspecified state. -
Method Summary
Modifier and TypeMethodDescriptionstatic PlaybookOutput.StateforNumber(int value) Deprecated.static com.google.protobuf.Descriptors.EnumDescriptorDeprecated.final com.google.protobuf.Descriptors.EnumDescriptorDeprecated.final intDeprecated.final com.google.protobuf.Descriptors.EnumValueDescriptorDeprecated.static com.google.protobuf.Internal.EnumLiteMap<PlaybookOutput.State>Deprecated.static PlaybookOutput.StatevalueOf(int value) Deprecated.static PlaybookOutput.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Deprecated.Returns the enum constant of this type with the specified name.static PlaybookOutput.StateDeprecated.Returns the enum constant of this type with the specified name.static PlaybookOutput.State[]values()Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STATE_UNSPECIFIED
Deprecated.Unspecified state.
STATE_UNSPECIFIED = 0; -
OK
Deprecated.Playbook succeeded.
OK = 1; -
CANCELLED
Deprecated.Playbook cancelled.
CANCELLED = 2; -
FAILED
Deprecated.Playbook failed.
FAILED = 3; -
ESCALATED
Deprecated.Playbook failed due to escalation.
ESCALATED = 4; -
UNRECOGNIZED
Deprecated.
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEDeprecated.Unspecified state.
STATE_UNSPECIFIED = 0;- See Also:
-
OK_VALUE
public static final int OK_VALUEDeprecated.Playbook succeeded.
OK = 1;- See Also:
-
CANCELLED_VALUE
public static final int CANCELLED_VALUEDeprecated.Playbook cancelled.
CANCELLED = 2;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEDeprecated.Playbook failed.
FAILED = 3;- See Also:
-
ESCALATED_VALUE
public static final int ESCALATED_VALUEDeprecated.Playbook failed due to escalation.
ESCALATED = 4;- See Also:
-
-
Method Details
-
values
Deprecated.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
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:
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()Deprecated.- 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
Deprecated.- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
Deprecated. -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()Deprecated.- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()Deprecated.- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()Deprecated. -
valueOf
public static PlaybookOutput.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) 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:
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
-