public interface WebhookRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
OriginalDetectIntentRequest |
getOriginalDetectIntentRequest()
Optional.
|
OriginalDetectIntentRequestOrBuilder |
getOriginalDetectIntentRequestOrBuilder()
Optional.
|
QueryResult |
getQueryResult()
The result of the conversational query or event processing.
|
QueryResultOrBuilder |
getQueryResultOrBuilder()
The result of the conversational query or event processing.
|
String |
getResponseId()
The unique identifier of the response.
|
ByteString |
getResponseIdBytes()
The unique identifier of the response.
|
String |
getSession()
The unique identifier of detectIntent request session.
|
ByteString |
getSessionBytes()
The unique identifier of detectIntent request session.
|
boolean |
hasOriginalDetectIntentRequest()
Optional.
|
boolean |
hasQueryResult()
The result of the conversational query or event processing.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getSession()
The unique identifier of detectIntent request session. Can be used to identify end-user inside webhook implementation. Format: `projects/<Project ID>/agent/sessions/<Session ID>`, or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>`.
string session = 4;
ByteString getSessionBytes()
The unique identifier of detectIntent request session. Can be used to identify end-user inside webhook implementation. Format: `projects/<Project ID>/agent/sessions/<Session ID>`, or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>`.
string session = 4;
String getResponseId()
The unique identifier of the response. Contains the same value as `[Streaming]DetectIntentResponse.response_id`.
string response_id = 1;
ByteString getResponseIdBytes()
The unique identifier of the response. Contains the same value as `[Streaming]DetectIntentResponse.response_id`.
string response_id = 1;
boolean hasQueryResult()
The result of the conversational query or event processing. Contains the same value as `[Streaming]DetectIntentResponse.query_result`.
.google.cloud.dialogflow.v2.QueryResult query_result = 2;
QueryResult getQueryResult()
The result of the conversational query or event processing. Contains the same value as `[Streaming]DetectIntentResponse.query_result`.
.google.cloud.dialogflow.v2.QueryResult query_result = 2;
QueryResultOrBuilder getQueryResultOrBuilder()
The result of the conversational query or event processing. Contains the same value as `[Streaming]DetectIntentResponse.query_result`.
.google.cloud.dialogflow.v2.QueryResult query_result = 2;
boolean hasOriginalDetectIntentRequest()
Optional. The contents of the original request that was passed to `[Streaming]DetectIntent` call.
.google.cloud.dialogflow.v2.OriginalDetectIntentRequest original_detect_intent_request = 3;
OriginalDetectIntentRequest getOriginalDetectIntentRequest()
Optional. The contents of the original request that was passed to `[Streaming]DetectIntent` call.
.google.cloud.dialogflow.v2.OriginalDetectIntentRequest original_detect_intent_request = 3;
OriginalDetectIntentRequestOrBuilder getOriginalDetectIntentRequestOrBuilder()
Optional. The contents of the original request that was passed to `[Streaming]DetectIntent` call.
.google.cloud.dialogflow.v2.OriginalDetectIntentRequest original_detect_intent_request = 3;
Copyright © 2022 Google LLC. All rights reserved.