- 0.58.0 (latest)
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static interface WebhookRequest.IntentInfoOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsParameters(String key)
public abstract 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.v3.WebhookRequest.IntentInfo.IntentParameterValue> parameters = 2;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getConfidence()
public abstract float getConfidence()
The confidence of the matched intent. Values range from 0.0 (completely uncertain) to 1.0 (completely certain).
float confidence = 4;
Returns | |
---|---|
Type | Description |
float |
The confidence. |
getDisplayName()
public abstract String getDisplayName()
Always present. The display name of the last matched intent.
string display_name = 3;
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()
Always present. The display name of the last matched intent.
string display_name = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getLastMatchedIntent()
public abstract String getLastMatchedIntent()
Always present. The unique identifier of the last matched
intent.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/intents/<Intent ID>
.
string last_matched_intent = 1 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The lastMatchedIntent. |
getLastMatchedIntentBytes()
public abstract ByteString getLastMatchedIntentBytes()
Always present. The unique identifier of the last matched
intent.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/intents/<Intent ID>
.
string last_matched_intent = 1 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for lastMatchedIntent. |
getParameters()
public abstract Map<String,WebhookRequest.IntentInfo.IntentParameterValue> getParameters()
Use #getParametersMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,IntentParameterValue> |
getParametersCount()
public abstract 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.v3.WebhookRequest.IntentInfo.IntentParameterValue> parameters = 2;
Returns | |
---|---|
Type | Description |
int |
getParametersMap()
public abstract 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.v3.WebhookRequest.IntentInfo.IntentParameterValue> parameters = 2;
Returns | |
---|---|
Type | Description |
Map<String,IntentParameterValue> |
getParametersOrDefault(String key, WebhookRequest.IntentInfo.IntentParameterValue defaultValue)
public abstract 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.v3.WebhookRequest.IntentInfo.IntentParameterValue> parameters = 2;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
WebhookRequest.IntentInfo.IntentParameterValue |
Returns | |
---|---|
Type | Description |
WebhookRequest.IntentInfo.IntentParameterValue |
getParametersOrThrow(String key)
public abstract 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.v3.WebhookRequest.IntentInfo.IntentParameterValue> parameters = 2;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
WebhookRequest.IntentInfo.IntentParameterValue |