public interface WebhookResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
EventInput |
getFollowupEventInput()
Optional.
|
EventInputOrBuilder |
getFollowupEventInputOrBuilder()
Optional.
|
Intent.Message |
getFulfillmentMessages(int index)
Optional.
|
int |
getFulfillmentMessagesCount()
Optional.
|
java.util.List<Intent.Message> |
getFulfillmentMessagesList()
Optional.
|
Intent.MessageOrBuilder |
getFulfillmentMessagesOrBuilder(int index)
Optional.
|
java.util.List<? extends Intent.MessageOrBuilder> |
getFulfillmentMessagesOrBuilderList()
Optional.
|
java.lang.String |
getFulfillmentText()
Optional.
|
com.google.protobuf.ByteString |
getFulfillmentTextBytes()
Optional.
|
Context |
getOutputContexts(int index)
Optional.
|
int |
getOutputContextsCount()
Optional.
|
java.util.List<Context> |
getOutputContextsList()
Optional.
|
ContextOrBuilder |
getOutputContextsOrBuilder(int index)
Optional.
|
java.util.List<? extends ContextOrBuilder> |
getOutputContextsOrBuilderList()
Optional.
|
com.google.protobuf.Struct |
getPayload()
Optional.
|
com.google.protobuf.StructOrBuilder |
getPayloadOrBuilder()
Optional.
|
java.lang.String |
getSource()
Optional.
|
com.google.protobuf.ByteString |
getSourceBytes()
Optional.
|
boolean |
hasFollowupEventInput()
Optional.
|
boolean |
hasPayload()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofjava.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 text to be shown on the screen. This value is passed directly to `QueryResult.fulfillment_text`.
string fulfillment_text = 1;java.util.List<Intent.Message> 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;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 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;Intent.MessageOrBuilder getFulfillmentMessagesOrBuilder(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;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_source`.
string source = 3;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. 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;java.util.List<Context> 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;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 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;ContextOrBuilder getOutputContextsOrBuilder(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;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;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;EventInputOrBuilder getFollowupEventInputOrBuilder()
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;