Package com.google.cloud.dialogflow.v2
Enum AgentCoachingInstruction.TriggerEvent
java.lang.Object
java.lang.Enum<AgentCoachingInstruction.TriggerEvent>
com.google.cloud.dialogflow.v2.AgentCoachingInstruction.TriggerEvent
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AgentCoachingInstruction.TriggerEvent>
- Enclosing class:
- AgentCoachingInstruction
public static enum AgentCoachingInstruction.TriggerEvent
extends Enum<AgentCoachingInstruction.TriggerEvent>
implements com.google.protobuf.ProtocolMessageEnum
The event that should trigger this instruction.Protobuf enum
google.cloud.dialogflow.v2.AgentCoachingInstruction.TriggerEvent-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTriggers after each agent message.Triggers after each customer message.Triggers when each chat message or voice utterance ends.Triggers on the conversation manually by API calls.Triggers on tool call completion.Default value for TriggerEvent. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intTriggers after each agent message.static final intTriggers after each customer message.static final intTriggers when each chat message or voice utterance ends.static final intTriggers on the conversation manually by API calls.static final intTriggers on tool call completion.static final intDefault value for TriggerEvent. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<AgentCoachingInstruction.TriggerEvent>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TRIGGER_EVENT_UNSPECIFIED
Default value for TriggerEvent.
TRIGGER_EVENT_UNSPECIFIED = 0; -
END_OF_UTTERANCE
Triggers when each chat message or voice utterance ends.
END_OF_UTTERANCE = 1; -
MANUAL_CALL
Triggers on the conversation manually by API calls.
MANUAL_CALL = 2; -
CUSTOMER_MESSAGE
Triggers after each customer message.
CUSTOMER_MESSAGE = 3; -
AGENT_MESSAGE
Triggers after each agent message.
AGENT_MESSAGE = 4; -
TOOL_CALL_COMPLETION
Triggers on tool call completion.
TOOL_CALL_COMPLETION = 5; -
UNRECOGNIZED
-
-
Field Details
-
TRIGGER_EVENT_UNSPECIFIED_VALUE
public static final int TRIGGER_EVENT_UNSPECIFIED_VALUEDefault value for TriggerEvent.
TRIGGER_EVENT_UNSPECIFIED = 0;- See Also:
-
END_OF_UTTERANCE_VALUE
public static final int END_OF_UTTERANCE_VALUETriggers when each chat message or voice utterance ends.
END_OF_UTTERANCE = 1;- See Also:
-
MANUAL_CALL_VALUE
public static final int MANUAL_CALL_VALUETriggers on the conversation manually by API calls.
MANUAL_CALL = 2;- See Also:
-
CUSTOMER_MESSAGE_VALUE
public static final int CUSTOMER_MESSAGE_VALUETriggers after each customer message.
CUSTOMER_MESSAGE = 3;- See Also:
-
AGENT_MESSAGE_VALUE
public static final int AGENT_MESSAGE_VALUETriggers after each agent message.
AGENT_MESSAGE = 4;- See Also:
-
TOOL_CALL_COMPLETION_VALUE
public static final int TOOL_CALL_COMPLETION_VALUETriggers on tool call completion.
TOOL_CALL_COMPLETION = 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
public static com.google.protobuf.Internal.EnumLiteMap<AgentCoachingInstruction.TriggerEvent> 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
public static AgentCoachingInstruction.TriggerEvent 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
-