Enum Match.MatchType

java.lang.Object
java.lang.Enum<Match.MatchType>
com.google.cloud.dialogflow.cx.v3beta1.Match.MatchType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Match.MatchType>
Enclosing class:
Match

public static enum Match.MatchType extends Enum<Match.MatchType> implements com.google.protobuf.ProtocolMessageEnum
 Type of a Match.
 
Protobuf enum google.cloud.dialogflow.cx.v3beta1.Match.MatchType
  • Enum Constant Details

    • MATCH_TYPE_UNSPECIFIED

      public static final Match.MatchType MATCH_TYPE_UNSPECIFIED
       Not specified. Should never be used.
       
      MATCH_TYPE_UNSPECIFIED = 0;
    • INTENT

      public static final Match.MatchType INTENT
       The query was matched to an intent.
       
      INTENT = 1;
    • DIRECT_INTENT

      public static final Match.MatchType DIRECT_INTENT
       The query directly triggered an intent.
       
      DIRECT_INTENT = 2;
    • PARAMETER_FILLING

      public static final Match.MatchType PARAMETER_FILLING
       The query was used for parameter filling.
       
      PARAMETER_FILLING = 3;
    • NO_MATCH

      public static final Match.MatchType NO_MATCH
       No match was found for the query.
       
      NO_MATCH = 4;
    • NO_INPUT

      public static final Match.MatchType NO_INPUT
       Indicates an empty query.
       
      NO_INPUT = 5;
    • EVENT

      public static final Match.MatchType EVENT
       The query directly triggered an event.
       
      EVENT = 6;
    • KNOWLEDGE_CONNECTOR

      public static final Match.MatchType KNOWLEDGE_CONNECTOR
       The query was matched to a Knowledge Connector answer.
       
      KNOWLEDGE_CONNECTOR = 8;
    • PLAYBOOK

      public static final Match.MatchType PLAYBOOK
       The query was handled by a
       [`Playbook`][google.cloud.dialogflow.cx.v3beta1.Playbook].
       
      PLAYBOOK = 9;
    • UNRECOGNIZED

      public static final Match.MatchType UNRECOGNIZED
  • Field Details

    • MATCH_TYPE_UNSPECIFIED_VALUE

      public static final int MATCH_TYPE_UNSPECIFIED_VALUE
       Not specified. Should never be used.
       
      MATCH_TYPE_UNSPECIFIED = 0;
      See Also:
    • INTENT_VALUE

      public static final int INTENT_VALUE
       The query was matched to an intent.
       
      INTENT = 1;
      See Also:
    • DIRECT_INTENT_VALUE

      public static final int DIRECT_INTENT_VALUE
       The query directly triggered an intent.
       
      DIRECT_INTENT = 2;
      See Also:
    • PARAMETER_FILLING_VALUE

      public static final int PARAMETER_FILLING_VALUE
       The query was used for parameter filling.
       
      PARAMETER_FILLING = 3;
      See Also:
    • NO_MATCH_VALUE

      public static final int NO_MATCH_VALUE
       No match was found for the query.
       
      NO_MATCH = 4;
      See Also:
    • NO_INPUT_VALUE

      public static final int NO_INPUT_VALUE
       Indicates an empty query.
       
      NO_INPUT = 5;
      See Also:
    • EVENT_VALUE

      public static final int EVENT_VALUE
       The query directly triggered an event.
       
      EVENT = 6;
      See Also:
    • KNOWLEDGE_CONNECTOR_VALUE

      public static final int KNOWLEDGE_CONNECTOR_VALUE
       The query was matched to a Knowledge Connector answer.
       
      KNOWLEDGE_CONNECTOR = 8;
      See Also:
    • PLAYBOOK_VALUE

      public static final int PLAYBOOK_VALUE
       The query was handled by a
       [`Playbook`][google.cloud.dialogflow.cx.v3beta1.Playbook].
       
      PLAYBOOK = 9;
      See Also:
  • Method Details

    • values

      public static Match.MatchType[] 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 Match.MatchType 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 Match.MatchType 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 Match.MatchType 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<Match.MatchType> 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 Match.MatchType 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