public static enum Match.MatchType extends Enum<Match.MatchType> implements com.google.protobuf.ProtocolMessageEnum
Type of a Match.Protobuf enum
google.cloud.dialogflow.cx.v3.Match.MatchType| Enum Constant and Description |
|---|
DIRECT_INTENT
The query directly triggered an intent.
|
EVENT
The query directly triggered an event.
|
INTENT
The query was matched to an intent.
|
KNOWLEDGE_CONNECTOR
The query was matched to a Knowledge Connector answer.
|
MATCH_TYPE_UNSPECIFIED
Not specified.
|
NO_INPUT
Indicates an empty query.
|
NO_MATCH
No match was found for the query.
|
PARAMETER_FILLING
The query was used for parameter filling.
|
PLAYBOOK
The query was handled by a [`Playbook`][Playbook].
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DIRECT_INTENT_VALUE
The query directly triggered an intent.
|
static int |
EVENT_VALUE
The query directly triggered an event.
|
static int |
INTENT_VALUE
The query was matched to an intent.
|
static int |
KNOWLEDGE_CONNECTOR_VALUE
The query was matched to a Knowledge Connector answer.
|
static int |
MATCH_TYPE_UNSPECIFIED_VALUE
Not specified.
|
static int |
NO_INPUT_VALUE
Indicates an empty query.
|
static int |
NO_MATCH_VALUE
No match was found for the query.
|
static int |
PARAMETER_FILLING_VALUE
The query was used for parameter filling.
|
static int |
PLAYBOOK_VALUE
The query was handled by a [`Playbook`][Playbook].
|
| Modifier and Type | Method and Description |
|---|---|
static Match.MatchType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Match.MatchType> |
internalGetValueMap() |
static Match.MatchType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Match.MatchType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Match.MatchType |
valueOf(String name)
Returns 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.
|
public static final Match.MatchType MATCH_TYPE_UNSPECIFIED
Not specified. Should never be used.
MATCH_TYPE_UNSPECIFIED = 0;public static final Match.MatchType INTENT
The query was matched to an intent.
INTENT = 1;public static final Match.MatchType DIRECT_INTENT
The query directly triggered an intent.
DIRECT_INTENT = 2;public static final Match.MatchType PARAMETER_FILLING
The query was used for parameter filling.
PARAMETER_FILLING = 3;public static final Match.MatchType NO_MATCH
No match was found for the query.
NO_MATCH = 4;public static final Match.MatchType NO_INPUT
Indicates an empty query.
NO_INPUT = 5;public static final Match.MatchType EVENT
The query directly triggered an event.
EVENT = 6;public static final Match.MatchType KNOWLEDGE_CONNECTOR
The query was matched to a Knowledge Connector answer.
KNOWLEDGE_CONNECTOR = 8;public static final Match.MatchType PLAYBOOK
The query was handled by a [`Playbook`][Playbook].
PLAYBOOK = 9;public static final Match.MatchType UNRECOGNIZED
public static final int MATCH_TYPE_UNSPECIFIED_VALUE
Not specified. Should never be used.
MATCH_TYPE_UNSPECIFIED = 0;public static final int INTENT_VALUE
The query was matched to an intent.
INTENT = 1;public static final int DIRECT_INTENT_VALUE
The query directly triggered an intent.
DIRECT_INTENT = 2;public static final int PARAMETER_FILLING_VALUE
The query was used for parameter filling.
PARAMETER_FILLING = 3;public static final int NO_MATCH_VALUE
No match was found for the query.
NO_MATCH = 4;public static final int NO_INPUT_VALUE
Indicates an empty query.
NO_INPUT = 5;public static final int EVENT_VALUE
The query directly triggered an event.
EVENT = 6;public static final int KNOWLEDGE_CONNECTOR_VALUE
The query was matched to a Knowledge Connector answer.
KNOWLEDGE_CONNECTOR = 8;public static final int PLAYBOOK_VALUE
The query was handled by a [`Playbook`][Playbook].
PLAYBOOK = 9;public static Match.MatchType[] values()
for (Match.MatchType c : Match.MatchType.values()) System.out.println(c);
public static Match.MatchType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Match.MatchType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Match.MatchType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Match.MatchType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Match.MatchType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.