- 4.59.0 (latest)
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public interface WebhookResponseOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getFollowupEventInput()
public abstract EventInput getFollowupEventInput()
Optional. Invokes the supplied events.
When this field is set, Dialogflow ignores the fulfillment_text
,
fulfillment_messages
, and payload
fields.
.google.cloud.dialogflow.v2.EventInput followup_event_input = 6;
Type | Description |
EventInput |
The followupEventInput. |
getFollowupEventInputOrBuilder()
public abstract EventInputOrBuilder getFollowupEventInputOrBuilder()
Optional. Invokes the supplied events.
When this field is set, Dialogflow ignores the fulfillment_text
,
fulfillment_messages
, and payload
fields.
.google.cloud.dialogflow.v2.EventInput followup_event_input = 6;
Type | Description |
EventInputOrBuilder |
getFulfillmentMessages(int index)
public abstract Intent.Message getFulfillmentMessages(int index)
Optional. The rich response messages intended for the end-user. When provided, Dialogflow uses this field to populate QueryResult.fulfillment_messages sent to the integration or API caller.
repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2;
Name | Description |
index |
int |
Type | Description |
Intent.Message |
getFulfillmentMessagesCount()
public abstract int getFulfillmentMessagesCount()
Optional. The rich response messages intended for the end-user. When provided, Dialogflow uses this field to populate QueryResult.fulfillment_messages sent to the integration or API caller.
repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2;
Type | Description |
int |
getFulfillmentMessagesList()
public abstract List<Intent.Message> getFulfillmentMessagesList()
Optional. The rich response messages intended for the end-user. When provided, Dialogflow uses this field to populate QueryResult.fulfillment_messages sent to the integration or API caller.
repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2;
Type | Description |
List<Message> |
getFulfillmentMessagesOrBuilder(int index)
public abstract Intent.MessageOrBuilder getFulfillmentMessagesOrBuilder(int index)
Optional. The rich response messages intended for the end-user. When provided, Dialogflow uses this field to populate QueryResult.fulfillment_messages sent to the integration or API caller.
repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2;
Name | Description |
index |
int |
Type | Description |
Intent.MessageOrBuilder |
getFulfillmentMessagesOrBuilderList()
public abstract List<? extends Intent.MessageOrBuilder> getFulfillmentMessagesOrBuilderList()
Optional. The rich response messages intended for the end-user. When provided, Dialogflow uses this field to populate QueryResult.fulfillment_messages sent to the integration or API caller.
repeated .google.cloud.dialogflow.v2.Intent.Message fulfillment_messages = 2;
Type | Description |
List<? extends com.google.cloud.dialogflow.v2.Intent.MessageOrBuilder> |
getFulfillmentText()
public abstract String getFulfillmentText()
Optional. The text response message intended for the end-user.
It is recommended to use fulfillment_messages.text.text[0]
instead.
When provided, Dialogflow uses this field to populate
QueryResult.fulfillment_text
sent to the integration or API caller.
string fulfillment_text = 1;
Type | Description |
String |
The fulfillmentText. |
getFulfillmentTextBytes()
public abstract ByteString getFulfillmentTextBytes()
Optional. The text response message intended for the end-user.
It is recommended to use fulfillment_messages.text.text[0]
instead.
When provided, Dialogflow uses this field to populate
QueryResult.fulfillment_text
sent to the integration or API caller.
string fulfillment_text = 1;
Type | Description |
ByteString |
The bytes for fulfillmentText. |
getOutputContexts(int index)
public abstract Context getOutputContexts(int index)
Optional. The collection of output contexts that will overwrite currently active contexts for the session and reset their lifespans. When provided, Dialogflow uses this field to populate QueryResult.output_contexts sent to the integration or API caller.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 5;
Name | Description |
index |
int |
Type | Description |
Context |
getOutputContextsCount()
public abstract int getOutputContextsCount()
Optional. The collection of output contexts that will overwrite currently active contexts for the session and reset their lifespans. When provided, Dialogflow uses this field to populate QueryResult.output_contexts sent to the integration or API caller.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 5;
Type | Description |
int |
getOutputContextsList()
public abstract List<Context> getOutputContextsList()
Optional. The collection of output contexts that will overwrite currently active contexts for the session and reset their lifespans. When provided, Dialogflow uses this field to populate QueryResult.output_contexts sent to the integration or API caller.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 5;
Type | Description |
List<Context> |
getOutputContextsOrBuilder(int index)
public abstract ContextOrBuilder getOutputContextsOrBuilder(int index)
Optional. The collection of output contexts that will overwrite currently active contexts for the session and reset their lifespans. When provided, Dialogflow uses this field to populate QueryResult.output_contexts sent to the integration or API caller.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 5;
Name | Description |
index |
int |
Type | Description |
ContextOrBuilder |
getOutputContextsOrBuilderList()
public abstract List<? extends ContextOrBuilder> getOutputContextsOrBuilderList()
Optional. The collection of output contexts that will overwrite currently active contexts for the session and reset their lifespans. When provided, Dialogflow uses this field to populate QueryResult.output_contexts sent to the integration or API caller.
repeated .google.cloud.dialogflow.v2.Context output_contexts = 5;
Type | Description |
List<? extends com.google.cloud.dialogflow.v2.ContextOrBuilder> |
getPayload()
public abstract Struct getPayload()
Optional. This field can be used to pass custom data from your webhook to the integration or API caller. Arbitrary JSON objects are supported. When provided, Dialogflow uses this field to populate QueryResult.webhook_payload sent to the integration or API caller. This field is also used by the Google Assistant integration for rich response messages. See the format definition at Google Assistant Dialogflow webhook format
.google.protobuf.Struct payload = 4;
Type | Description |
Struct |
The payload. |
getPayloadOrBuilder()
public abstract StructOrBuilder getPayloadOrBuilder()
Optional. This field can be used to pass custom data from your webhook to the integration or API caller. Arbitrary JSON objects are supported. When provided, Dialogflow uses this field to populate QueryResult.webhook_payload sent to the integration or API caller. This field is also used by the Google Assistant integration for rich response messages. See the format definition at Google Assistant Dialogflow webhook format
.google.protobuf.Struct payload = 4;
Type | Description |
StructOrBuilder |
getSessionEntityTypes(int index)
public abstract SessionEntityType getSessionEntityTypes(int index)
Optional. Additional session entity types to replace or extend developer
entity types with. The entity synonyms apply to all languages and persist
for the session. Setting this data from a webhook overwrites
the session entity types that have been set using detectIntent
,
streamingDetectIntent
or
SessionEntityType
management methods.
repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10;
Name | Description |
index |
int |
Type | Description |
SessionEntityType |
getSessionEntityTypesCount()
public abstract int getSessionEntityTypesCount()
Optional. Additional session entity types to replace or extend developer
entity types with. The entity synonyms apply to all languages and persist
for the session. Setting this data from a webhook overwrites
the session entity types that have been set using detectIntent
,
streamingDetectIntent
or
SessionEntityType
management methods.
repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10;
Type | Description |
int |
getSessionEntityTypesList()
public abstract List<SessionEntityType> getSessionEntityTypesList()
Optional. Additional session entity types to replace or extend developer
entity types with. The entity synonyms apply to all languages and persist
for the session. Setting this data from a webhook overwrites
the session entity types that have been set using detectIntent
,
streamingDetectIntent
or
SessionEntityType
management methods.
repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10;
Type | Description |
List<SessionEntityType> |
getSessionEntityTypesOrBuilder(int index)
public abstract SessionEntityTypeOrBuilder getSessionEntityTypesOrBuilder(int index)
Optional. Additional session entity types to replace or extend developer
entity types with. The entity synonyms apply to all languages and persist
for the session. Setting this data from a webhook overwrites
the session entity types that have been set using detectIntent
,
streamingDetectIntent
or
SessionEntityType
management methods.
repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10;
Name | Description |
index |
int |
Type | Description |
SessionEntityTypeOrBuilder |
getSessionEntityTypesOrBuilderList()
public abstract List<? extends SessionEntityTypeOrBuilder> getSessionEntityTypesOrBuilderList()
Optional. Additional session entity types to replace or extend developer
entity types with. The entity synonyms apply to all languages and persist
for the session. Setting this data from a webhook overwrites
the session entity types that have been set using detectIntent
,
streamingDetectIntent
or
SessionEntityType
management methods.
repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 10;
Type | Description |
List<? extends com.google.cloud.dialogflow.v2.SessionEntityTypeOrBuilder> |
getSource()
public abstract String getSource()
Optional. A custom field used to identify the webhook source. Arbitrary strings are supported. When provided, Dialogflow uses this field to populate QueryResult.webhook_source sent to the integration or API caller.
string source = 3;
Type | Description |
String |
The source. |
getSourceBytes()
public abstract ByteString getSourceBytes()
Optional. A custom field used to identify the webhook source. Arbitrary strings are supported. When provided, Dialogflow uses this field to populate QueryResult.webhook_source sent to the integration or API caller.
string source = 3;
Type | Description |
ByteString |
The bytes for source. |
hasFollowupEventInput()
public abstract boolean hasFollowupEventInput()
Optional. Invokes the supplied events.
When this field is set, Dialogflow ignores the fulfillment_text
,
fulfillment_messages
, and payload
fields.
.google.cloud.dialogflow.v2.EventInput followup_event_input = 6;
Type | Description |
boolean |
Whether the followupEventInput field is set. |
hasPayload()
public abstract boolean hasPayload()
Optional. This field can be used to pass custom data from your webhook to the integration or API caller. Arbitrary JSON objects are supported. When provided, Dialogflow uses this field to populate QueryResult.webhook_payload sent to the integration or API caller. This field is also used by the Google Assistant integration for rich response messages. See the format definition at Google Assistant Dialogflow webhook format
.google.protobuf.Struct payload = 4;
Type | Description |
boolean |
Whether the payload field is set. |