Enum 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 Summary
Enum ConstantsEnum ConstantDescriptionThe query directly triggered an intent.The query directly triggered an event.The query was matched to an intent.The query was matched to a Knowledge Connector answer.Not specified.Indicates an empty query.No match was found for the query.The query was used for parameter filling.The query was handled by a [`Playbook`][google.cloud.dialogflow.cx.v3beta1.Playbook]. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe query directly triggered an intent.static final intThe query directly triggered an event.static final intThe query was matched to an intent.static final intThe query was matched to a Knowledge Connector answer.static final intNot specified.static final intIndicates an empty query.static final intNo match was found for the query.static final intThe query was used for parameter filling.static final intThe query was handled by a [`Playbook`][google.cloud.dialogflow.cx.v3beta1.Playbook]. -
Method Summary
Modifier and TypeMethodDescriptionstatic Match.MatchTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Match.MatchType>static Match.MatchTypevalueOf(int value) Deprecated.static Match.MatchTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Match.MatchTypeReturns the enum constant of this type with the specified name.static Match.MatchType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MATCH_TYPE_UNSPECIFIED
Not specified. Should never be used.
MATCH_TYPE_UNSPECIFIED = 0; -
INTENT
The query was matched to an intent.
INTENT = 1; -
DIRECT_INTENT
The query directly triggered an intent.
DIRECT_INTENT = 2; -
PARAMETER_FILLING
The query was used for parameter filling.
PARAMETER_FILLING = 3; -
NO_MATCH
No match was found for the query.
NO_MATCH = 4; -
NO_INPUT
Indicates an empty query.
NO_INPUT = 5; -
EVENT
The query directly triggered an event.
EVENT = 6; -
KNOWLEDGE_CONNECTOR
The query was matched to a Knowledge Connector answer.
KNOWLEDGE_CONNECTOR = 8; -
PLAYBOOK
The query was handled by a [`Playbook`][google.cloud.dialogflow.cx.v3beta1.Playbook].
PLAYBOOK = 9; -
UNRECOGNIZED
-
-
Field Details
-
MATCH_TYPE_UNSPECIFIED_VALUE
public static final int MATCH_TYPE_UNSPECIFIED_VALUENot specified. Should never be used.
MATCH_TYPE_UNSPECIFIED = 0;- See Also:
-
INTENT_VALUE
public static final int INTENT_VALUEThe query was matched to an intent.
INTENT = 1;- See Also:
-
DIRECT_INTENT_VALUE
public static final int DIRECT_INTENT_VALUEThe query directly triggered an intent.
DIRECT_INTENT = 2;- See Also:
-
PARAMETER_FILLING_VALUE
public static final int PARAMETER_FILLING_VALUEThe query was used for parameter filling.
PARAMETER_FILLING = 3;- See Also:
-
NO_MATCH_VALUE
public static final int NO_MATCH_VALUENo match was found for the query.
NO_MATCH = 4;- See Also:
-
NO_INPUT_VALUE
public static final int NO_INPUT_VALUEIndicates an empty query.
NO_INPUT = 5;- See Also:
-
EVENT_VALUE
public static final int EVENT_VALUEThe query directly triggered an event.
EVENT = 6;- See Also:
-
KNOWLEDGE_CONNECTOR_VALUE
public static final int KNOWLEDGE_CONNECTOR_VALUEThe query was matched to a Knowledge Connector answer.
KNOWLEDGE_CONNECTOR = 8;- See Also:
-
PLAYBOOK_VALUE
public static final int PLAYBOOK_VALUEThe query was handled by a [`Playbook`][google.cloud.dialogflow.cx.v3beta1.Playbook].
PLAYBOOK = 9;- 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
-