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 Details

  • Field Details

    • TRIGGER_EVENT_UNSPECIFIED_VALUE

      public static final int TRIGGER_EVENT_UNSPECIFIED_VALUE
       Default value for TriggerEvent.
       
      TRIGGER_EVENT_UNSPECIFIED = 0;
      See Also:
    • END_OF_UTTERANCE_VALUE

      public static final int END_OF_UTTERANCE_VALUE
       Triggers when each chat message or voice utterance ends.
       
      END_OF_UTTERANCE = 1;
      See Also:
    • MANUAL_CALL_VALUE

      public static final int MANUAL_CALL_VALUE
       Triggers on the conversation manually by API calls.
       
      MANUAL_CALL = 2;
      See Also:
    • CUSTOMER_MESSAGE_VALUE

      public static final int CUSTOMER_MESSAGE_VALUE
       Triggers after each customer message.
       
      CUSTOMER_MESSAGE = 3;
      See Also:
    • AGENT_MESSAGE_VALUE

      public static final int AGENT_MESSAGE_VALUE
       Triggers after each agent message.
       
      AGENT_MESSAGE = 4;
      See Also:
    • TOOL_CALL_COMPLETION_VALUE

      public static final int TOOL_CALL_COMPLETION_VALUE
       Triggers on tool call completion.
       
      TOOL_CALL_COMPLETION = 5;
      See Also:
  • Method Details

    • values

      public static AgentCoachingInstruction.TriggerEvent[] 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

      public static AgentCoachingInstruction.TriggerEvent 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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static AgentCoachingInstruction.TriggerEvent 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 name
      NullPointerException - if the argument is null
    • forNumber

      public static AgentCoachingInstruction.TriggerEvent 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<AgentCoachingInstruction.TriggerEvent> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null