public interface WebhookRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
QueryResult |
getAlternativeQueryResults(int index)
Alternative query results from KnowledgeService.
|
int |
getAlternativeQueryResultsCount()
Alternative query results from KnowledgeService.
|
List<QueryResult> |
getAlternativeQueryResultsList()
Alternative query results from KnowledgeService.
|
QueryResultOrBuilder |
getAlternativeQueryResultsOrBuilder(int index)
Alternative query results from KnowledgeService.
|
List<? extends QueryResultOrBuilder> |
getAlternativeQueryResultsOrBuilderList()
Alternative query results from KnowledgeService.
|
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. Supported formats: - `projects/<Project ID>/agent/sessions/<Session ID>, - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session ID>`, - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>`, - `projects/<Project ID>/locations/<Location 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. Supported formats: - `projects/<Project ID>/agent/sessions/<Session ID>, - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session ID>`, - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>`, - `projects/<Project ID>/locations/<Location 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.v2beta1.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.v2beta1.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.v2beta1.QueryResult query_result = 2;
List<QueryResult> getAlternativeQueryResultsList()
Alternative query results from KnowledgeService.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
QueryResult getAlternativeQueryResults(int index)
Alternative query results from KnowledgeService.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
int getAlternativeQueryResultsCount()
Alternative query results from KnowledgeService.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
List<? extends QueryResultOrBuilder> getAlternativeQueryResultsOrBuilderList()
Alternative query results from KnowledgeService.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
QueryResultOrBuilder getAlternativeQueryResultsOrBuilder(int index)
Alternative query results from KnowledgeService.
repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;
boolean hasOriginalDetectIntentRequest()
Optional. The contents of the original request that was passed to `[Streaming]DetectIntent` call.
.google.cloud.dialogflow.v2beta1.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.v2beta1.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.v2beta1.OriginalDetectIntentRequest original_detect_intent_request = 3;
Copyright © 2022 Google LLC. All rights reserved.