Interface WebhookRequest.IntentInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WebhookRequest.IntentInfo
,WebhookRequest.IntentInfo.Builder
- Enclosing class:
- WebhookRequest
public static interface WebhookRequest.IntentInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsParameters(String key)
Parameters identified as a result of intent matching.float
getConfidence()
The confidence of the matched intent.String
getDisplayName()
Always present.com.google.protobuf.ByteString
getDisplayNameBytes()
Always present.String
getLastMatchedIntent()
Always present.com.google.protobuf.ByteString
getLastMatchedIntentBytes()
Always present.Map<String,WebhookRequest.IntentInfo.IntentParameterValue>
getParameters()
Deprecated.int
getParametersCount()
Parameters identified as a result of intent matching.Map<String,WebhookRequest.IntentInfo.IntentParameterValue>
getParametersMap()
Parameters identified as a result of intent matching.WebhookRequest.IntentInfo.IntentParameterValue
getParametersOrDefault(String key, WebhookRequest.IntentInfo.IntentParameterValue defaultValue)
Parameters identified as a result of intent matching.WebhookRequest.IntentInfo.IntentParameterValue
getParametersOrThrow(String key)
Parameters identified as a result of intent matching.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLastMatchedIntent
String getLastMatchedIntent()
Always present. The unique identifier of the last matched [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string last_matched_intent = 1 [(.google.api.resource_reference) = { ... }
- Returns:
- The lastMatchedIntent.
-
getLastMatchedIntentBytes
com.google.protobuf.ByteString getLastMatchedIntentBytes()
Always present. The unique identifier of the last matched [intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string last_matched_intent = 1 [(.google.api.resource_reference) = { ... }
- Returns:
- The bytes for lastMatchedIntent.
-
getDisplayName
String getDisplayName()
Always present. The display name of the last matched [intent][google.cloud.dialogflow.cx.v3beta1.Intent].
string display_name = 3;
- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
Always present. The display name of the last matched [intent][google.cloud.dialogflow.cx.v3beta1.Intent].
string display_name = 3;
- Returns:
- The bytes for displayName.
-
getParametersCount
int getParametersCount()
Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.
map<string, .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo.IntentParameterValue> parameters = 2;
-
containsParameters
boolean containsParameters(String key)
Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.
map<string, .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo.IntentParameterValue> parameters = 2;
-
getParameters
@Deprecated Map<String,WebhookRequest.IntentInfo.IntentParameterValue> getParameters()
Deprecated.UsegetParametersMap()
instead.
-
getParametersMap
Map<String,WebhookRequest.IntentInfo.IntentParameterValue> getParametersMap()
Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.
map<string, .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo.IntentParameterValue> parameters = 2;
-
getParametersOrDefault
WebhookRequest.IntentInfo.IntentParameterValue getParametersOrDefault(String key, WebhookRequest.IntentInfo.IntentParameterValue defaultValue)
Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.
map<string, .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo.IntentParameterValue> parameters = 2;
-
getParametersOrThrow
WebhookRequest.IntentInfo.IntentParameterValue getParametersOrThrow(String key)
Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.
map<string, .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo.IntentParameterValue> parameters = 2;
-
getConfidence
float getConfidence()
The confidence of the matched intent. Values range from 0.0 (completely uncertain) to 1.0 (completely certain).
float confidence = 4;
- Returns:
- The confidence.
-
-