public interface SessionInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsParameters(String key)
Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest].
|
Map<String,com.google.protobuf.Value> |
getParameters()
Deprecated.
|
int |
getParametersCount()
Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest].
|
Map<String,com.google.protobuf.Value> |
getParametersMap()
Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest].
|
com.google.protobuf.Value |
getParametersOrDefault(String key,
com.google.protobuf.Value defaultValue)
Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest].
|
com.google.protobuf.Value |
getParametersOrThrow(String key)
Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest].
|
String |
getSession()
Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest].
|
com.google.protobuf.ByteString |
getSessionBytes()
Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest].
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getSession()
Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The unique identifier of the [session][google.cloud.dialogflow.cx.v3.DetectIntentRequest.session]. This field can be used by the webhook to identify a session. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID>` or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>` if environment is specified.
string session = 1 [(.google.api.resource_reference) = { ... }com.google.protobuf.ByteString getSessionBytes()
Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The unique identifier of the [session][google.cloud.dialogflow.cx.v3.DetectIntentRequest.session]. This field can be used by the webhook to identify a session. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID>` or `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>` if environment is specified.
string session = 1 [(.google.api.resource_reference) = { ... }int getParametersCount()
Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. All parameters collected from forms and intents during the session. Parameters can be created, updated, or removed by the webhook. To remove a parameter from the session, the webhook should explicitly set the parameter value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The map is keyed by parameters' display names.
map<string, .google.protobuf.Value> parameters = 2;boolean containsParameters(String key)
Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. All parameters collected from forms and intents during the session. Parameters can be created, updated, or removed by the webhook. To remove a parameter from the session, the webhook should explicitly set the parameter value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The map is keyed by parameters' display names.
map<string, .google.protobuf.Value> parameters = 2;@Deprecated Map<String,com.google.protobuf.Value> getParameters()
getParametersMap() instead.Map<String,com.google.protobuf.Value> getParametersMap()
Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. All parameters collected from forms and intents during the session. Parameters can be created, updated, or removed by the webhook. To remove a parameter from the session, the webhook should explicitly set the parameter value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The map is keyed by parameters' display names.
map<string, .google.protobuf.Value> parameters = 2;com.google.protobuf.Value getParametersOrDefault(String key, com.google.protobuf.Value defaultValue)
Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. All parameters collected from forms and intents during the session. Parameters can be created, updated, or removed by the webhook. To remove a parameter from the session, the webhook should explicitly set the parameter value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The map is keyed by parameters' display names.
map<string, .google.protobuf.Value> parameters = 2;com.google.protobuf.Value getParametersOrThrow(String key)
Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. All parameters collected from forms and intents during the session. Parameters can be created, updated, or removed by the webhook. To remove a parameter from the session, the webhook should explicitly set the parameter value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The map is keyed by parameters' display names.
map<string, .google.protobuf.Value> parameters = 2;Copyright © 2022 Google LLC. All rights reserved.