com.google.cloud.dialogflow.v2.WebhookResponseOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dialogflow-v2 Show documentation
Show all versions of proto-google-cloud-dialogflow-v2 Show documentation
PROTO library for proto-google-cloud-dialogflow-v2
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dialogflow/v2/webhook.proto
package com.google.cloud.dialogflow.v2;
public interface WebhookResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.WebhookResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* Optional. The text to be shown on the screen. This value is passed directly
* to `QueryResult.fulfillment_text`.
*
*
* string fulfillment_text = 1;
*/
java.lang.String getFulfillmentText();
/**
*
* Optional. The text to be shown on the screen. This value is passed directly
* to `QueryResult.fulfillment_text`.
*
*
* string fulfillment_text = 1;
*/
com.google.protobuf.ByteString
getFulfillmentTextBytes();
/**
*
* Optional. The collection of rich messages to present to the user. This
* value is passed directly to `QueryResult.fulfillment_messages`.
*
*
* repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2;
*/
java.util.List
getFulfillmentMessagesList();
/**
*
* Optional. The collection of rich messages to present to the user. This
* value is passed directly to `QueryResult.fulfillment_messages`.
*
*
* repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2;
*/
com.google.cloud.dialogflow.v2.Intent.Message getFulfillmentMessages(int index);
/**
*
* Optional. The collection of rich messages to present to the user. This
* value is passed directly to `QueryResult.fulfillment_messages`.
*
*
* repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2;
*/
int getFulfillmentMessagesCount();
/**
*
* Optional. The collection of rich messages to present to the user. This
* value is passed directly to `QueryResult.fulfillment_messages`.
*
*
* repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2;
*/
java.util.List extends com.google.cloud.dialogflow.v2.Intent.MessageOrBuilder>
getFulfillmentMessagesOrBuilderList();
/**
*
* Optional. The collection of rich messages to present to the user. This
* value is passed directly to `QueryResult.fulfillment_messages`.
*
*
* repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2;
*/
com.google.cloud.dialogflow.v2.Intent.MessageOrBuilder getFulfillmentMessagesOrBuilder(
int index);
/**
*
* Optional. This value is passed directly to `QueryResult.webhook_source`.
*
*
* string source = 3;
*/
java.lang.String getSource();
/**
*
* Optional. This value is passed directly to `QueryResult.webhook_source`.
*
*
* string source = 3;
*/
com.google.protobuf.ByteString
getSourceBytes();
/**
*
* Optional. This value is passed directly to `QueryResult.webhook_payload`.
* See the related `fulfillment_messages[i].payload field`, which may be used
* as an alternative to this field.
* This field can be used for Actions on Google responses.
* It should have a structure similar to the JSON message shown here. For more
* information, see
* [Actions on Google Webhook
* Format](https://developers.google.com/actions/dialogflow/webhook)
* <pre>{
* "google": {
* "expectUserResponse": true,
* "richResponse": {
* "items": [
* {
* "simpleResponse": {
* "textToSpeech": "this is a simple response"
* }
* }
* ]
* }
* }
* }</pre>
*
*
* .google.protobuf.Struct payload = 4;
*/
boolean hasPayload();
/**
*
* Optional. This value is passed directly to `QueryResult.webhook_payload`.
* See the related `fulfillment_messages[i].payload field`, which may be used
* as an alternative to this field.
* This field can be used for Actions on Google responses.
* It should have a structure similar to the JSON message shown here. For more
* information, see
* [Actions on Google Webhook
* Format](https://developers.google.com/actions/dialogflow/webhook)
* <pre>{
* "google": {
* "expectUserResponse": true,
* "richResponse": {
* "items": [
* {
* "simpleResponse": {
* "textToSpeech": "this is a simple response"
* }
* }
* ]
* }
* }
* }</pre>
*
*
* .google.protobuf.Struct payload = 4;
*/
com.google.protobuf.Struct getPayload();
/**
*
* Optional. This value is passed directly to `QueryResult.webhook_payload`.
* See the related `fulfillment_messages[i].payload field`, which may be used
* as an alternative to this field.
* This field can be used for Actions on Google responses.
* It should have a structure similar to the JSON message shown here. For more
* information, see
* [Actions on Google Webhook
* Format](https://developers.google.com/actions/dialogflow/webhook)
* <pre>{
* "google": {
* "expectUserResponse": true,
* "richResponse": {
* "items": [
* {
* "simpleResponse": {
* "textToSpeech": "this is a simple response"
* }
* }
* ]
* }
* }
* }</pre>
*
*
* .google.protobuf.Struct payload = 4;
*/
com.google.protobuf.StructOrBuilder getPayloadOrBuilder();
/**
*
* Optional. The collection of output contexts. This value is passed directly
* to `QueryResult.output_contexts`.
*
*
* repeated .google.cloud.dialogflow.v2.Context output_contexts = 5;
*/
java.util.List
getOutputContextsList();
/**
*
* Optional. The collection of output contexts. This value is passed directly
* to `QueryResult.output_contexts`.
*
*
* repeated .google.cloud.dialogflow.v2.Context output_contexts = 5;
*/
com.google.cloud.dialogflow.v2.Context getOutputContexts(int index);
/**
*
* Optional. The collection of output contexts. This value is passed directly
* to `QueryResult.output_contexts`.
*
*
* repeated .google.cloud.dialogflow.v2.Context output_contexts = 5;
*/
int getOutputContextsCount();
/**
*
* Optional. The collection of output contexts. This value is passed directly
* to `QueryResult.output_contexts`.
*
*
* repeated .google.cloud.dialogflow.v2.Context output_contexts = 5;
*/
java.util.List extends com.google.cloud.dialogflow.v2.ContextOrBuilder>
getOutputContextsOrBuilderList();
/**
*
* Optional. The collection of output contexts. This value is passed directly
* to `QueryResult.output_contexts`.
*
*
* repeated .google.cloud.dialogflow.v2.Context output_contexts = 5;
*/
com.google.cloud.dialogflow.v2.ContextOrBuilder getOutputContextsOrBuilder(
int index);
/**
*
* Optional. Makes the platform immediately invoke another `DetectIntent` call
* internally with the specified event as input.
*
*
* .google.cloud.dialogflow.v2.EventInput followup_event_input = 6;
*/
boolean hasFollowupEventInput();
/**
*
* Optional. Makes the platform immediately invoke another `DetectIntent` call
* internally with the specified event as input.
*
*
* .google.cloud.dialogflow.v2.EventInput followup_event_input = 6;
*/
com.google.cloud.dialogflow.v2.EventInput getFollowupEventInput();
/**
*
* Optional. Makes the platform immediately invoke another `DetectIntent` call
* internally with the specified event as input.
*
*
* .google.cloud.dialogflow.v2.EventInput followup_event_input = 6;
*/
com.google.cloud.dialogflow.v2.EventInputOrBuilder getFollowupEventInputOrBuilder();
}