public interface WebhookRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getDetectIntentResponseId()
Always present.
|
com.google.protobuf.ByteString |
getDetectIntentResponseIdBytes()
Always present.
|
WebhookRequest.FulfillmentInfo |
getFulfillmentInfo()
Always present.
|
WebhookRequest.FulfillmentInfoOrBuilder |
getFulfillmentInfoOrBuilder()
Always present.
|
WebhookRequest.IntentInfo |
getIntentInfo()
Information about the last matched intent.
|
WebhookRequest.IntentInfoOrBuilder |
getIntentInfoOrBuilder()
Information about the last matched intent.
|
String |
getLanguageCode()
The language code specified in the [original
request][QueryInput.language_code].
|
com.google.protobuf.ByteString |
getLanguageCodeBytes()
The language code specified in the [original
request][QueryInput.language_code].
|
ResponseMessage |
getMessages(int index)
The list of rich message responses to present to the user.
|
int |
getMessagesCount()
The list of rich message responses to present to the user.
|
List<ResponseMessage> |
getMessagesList()
The list of rich message responses to present to the user.
|
ResponseMessageOrBuilder |
getMessagesOrBuilder(int index)
The list of rich message responses to present to the user.
|
List<? extends ResponseMessageOrBuilder> |
getMessagesOrBuilderList()
The list of rich message responses to present to the user.
|
PageInfo |
getPageInfo()
Information about page status.
|
PageInfoOrBuilder |
getPageInfoOrBuilder()
Information about page status.
|
com.google.protobuf.Struct |
getPayload()
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3.QueryParameters.payload].
|
com.google.protobuf.StructOrBuilder |
getPayloadOrBuilder()
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3.QueryParameters.payload].
|
WebhookRequest.QueryCase |
getQueryCase() |
WebhookRequest.SentimentAnalysisResult |
getSentimentAnalysisResult()
The sentiment analysis result of the current user request.
|
WebhookRequest.SentimentAnalysisResultOrBuilder |
getSentimentAnalysisResultOrBuilder()
The sentiment analysis result of the current user request.
|
SessionInfo |
getSessionInfo()
Information about session status.
|
SessionInfoOrBuilder |
getSessionInfoOrBuilder()
Information about session status.
|
String |
getText()
If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
will contain a copy of the text.
|
com.google.protobuf.ByteString |
getTextBytes()
If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
will contain a copy of the text.
|
String |
getTranscript()
If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
this field will contain the transcript for the audio.
|
com.google.protobuf.ByteString |
getTranscriptBytes()
If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
this field will contain the transcript for the audio.
|
String |
getTriggerEvent()
If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain
the name of the event.
|
com.google.protobuf.ByteString |
getTriggerEventBytes()
If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain
the name of the event.
|
String |
getTriggerIntent()
If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
contain a copy of the intent identifier.
|
com.google.protobuf.ByteString |
getTriggerIntentBytes()
If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
contain a copy of the intent identifier.
|
boolean |
hasFulfillmentInfo()
Always present.
|
boolean |
hasIntentInfo()
Information about the last matched intent.
|
boolean |
hasPageInfo()
Information about page status.
|
boolean |
hasPayload()
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3.QueryParameters.payload].
|
boolean |
hasSentimentAnalysisResult()
The sentiment analysis result of the current user request.
|
boolean |
hasSessionInfo()
Information about session status.
|
boolean |
hasText()
If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
will contain a copy of the text.
|
boolean |
hasTranscript()
If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
this field will contain the transcript for the audio.
|
boolean |
hasTriggerEvent()
If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain
the name of the event.
|
boolean |
hasTriggerIntent()
If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
contain a copy of the intent identifier.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getDetectIntentResponseId()
Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3.DetectIntentResponse] that will be returned to the API caller.
string detect_intent_response_id = 1;com.google.protobuf.ByteString getDetectIntentResponseIdBytes()
Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3.DetectIntentResponse] that will be returned to the API caller.
string detect_intent_response_id = 1;boolean hasText()
If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field will contain a copy of the text.
string text = 10;String getText()
If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field will contain a copy of the text.
string text = 10;com.google.protobuf.ByteString getTextBytes()
If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field will contain a copy of the text.
string text = 10;boolean hasTriggerIntent()
If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will contain a copy of the intent identifier. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }String getTriggerIntent()
If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will contain a copy of the intent identifier. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }com.google.protobuf.ByteString getTriggerIntentBytes()
If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will contain a copy of the intent identifier. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }boolean hasTranscript()
If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, this field will contain the transcript for the audio.
string transcript = 12;String getTranscript()
If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, this field will contain the transcript for the audio.
string transcript = 12;com.google.protobuf.ByteString getTranscriptBytes()
If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, this field will contain the transcript for the audio.
string transcript = 12;boolean hasTriggerEvent()
If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain the name of the event.
string trigger_event = 14;String getTriggerEvent()
If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain the name of the event.
string trigger_event = 14;com.google.protobuf.ByteString getTriggerEventBytes()
If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain the name of the event.
string trigger_event = 14;String getLanguageCode()
The language code specified in the [original request][QueryInput.language_code].
string language_code = 15;com.google.protobuf.ByteString getLanguageCodeBytes()
The language code specified in the [original request][QueryInput.language_code].
string language_code = 15;boolean hasFulfillmentInfo()
Always present. Information about the fulfillment that triggered this webhook call.
.google.cloud.dialogflow.cx.v3.WebhookRequest.FulfillmentInfo fulfillment_info = 6;
WebhookRequest.FulfillmentInfo getFulfillmentInfo()
Always present. Information about the fulfillment that triggered this webhook call.
.google.cloud.dialogflow.cx.v3.WebhookRequest.FulfillmentInfo fulfillment_info = 6;
WebhookRequest.FulfillmentInfoOrBuilder getFulfillmentInfoOrBuilder()
Always present. Information about the fulfillment that triggered this webhook call.
.google.cloud.dialogflow.cx.v3.WebhookRequest.FulfillmentInfo fulfillment_info = 6;
boolean hasIntentInfo()
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo intent_info = 3;WebhookRequest.IntentInfo getIntentInfo()
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo intent_info = 3;WebhookRequest.IntentInfoOrBuilder getIntentInfoOrBuilder()
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo intent_info = 3;boolean hasPageInfo()
Information about page status.
.google.cloud.dialogflow.cx.v3.PageInfo page_info = 4;PageInfo getPageInfo()
Information about page status.
.google.cloud.dialogflow.cx.v3.PageInfo page_info = 4;PageInfoOrBuilder getPageInfoOrBuilder()
Information about page status.
.google.cloud.dialogflow.cx.v3.PageInfo page_info = 4;boolean hasSessionInfo()
Information about session status.
.google.cloud.dialogflow.cx.v3.SessionInfo session_info = 5;SessionInfo getSessionInfo()
Information about session status.
.google.cloud.dialogflow.cx.v3.SessionInfo session_info = 5;SessionInfoOrBuilder getSessionInfoOrBuilder()
Information about session status.
.google.cloud.dialogflow.cx.v3.SessionInfo session_info = 5;List<ResponseMessage> getMessagesList()
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 7;ResponseMessage getMessages(int index)
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 7;int getMessagesCount()
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 7;List<? extends ResponseMessageOrBuilder> getMessagesOrBuilderList()
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 7;ResponseMessageOrBuilder getMessagesOrBuilder(int index)
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 7;boolean hasPayload()
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3.QueryParameters.payload].
.google.protobuf.Struct payload = 8;com.google.protobuf.Struct getPayload()
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3.QueryParameters.payload].
.google.protobuf.Struct payload = 8;com.google.protobuf.StructOrBuilder getPayloadOrBuilder()
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3.QueryParameters.payload].
.google.protobuf.Struct payload = 8;boolean hasSentimentAnalysisResult()
The sentiment analysis result of the current user request. The field is filled when sentiment analysis is configured to be enabled for the request.
.google.cloud.dialogflow.cx.v3.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;
WebhookRequest.SentimentAnalysisResult getSentimentAnalysisResult()
The sentiment analysis result of the current user request. The field is filled when sentiment analysis is configured to be enabled for the request.
.google.cloud.dialogflow.cx.v3.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;
WebhookRequest.SentimentAnalysisResultOrBuilder getSentimentAnalysisResultOrBuilder()
The sentiment analysis result of the current user request. The field is filled when sentiment analysis is configured to be enabled for the request.
.google.cloud.dialogflow.cx.v3.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;
WebhookRequest.QueryCase getQueryCase()
Copyright © 2022 Google LLC. All rights reserved.