public interface WebhookRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getOriginalDetectIntentRequest()
public abstract 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;
Returns | |
---|---|
Type | Description |
OriginalDetectIntentRequest | The originalDetectIntentRequest. |
getOriginalDetectIntentRequestOrBuilder()
public abstract 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;
Returns | |
---|---|
Type | Description |
OriginalDetectIntentRequestOrBuilder |
getQueryResult()
public abstract 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;
Returns | |
---|---|
Type | Description |
QueryResult | The queryResult. |
getQueryResultOrBuilder()
public abstract 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;
Returns | |
---|---|
Type | Description |
QueryResultOrBuilder |
getResponseId()
public abstract String getResponseId()
The unique identifier of the response. Contains the same value as
[Streaming]DetectIntentResponse.response_id
.
string response_id = 1;
Returns | |
---|---|
Type | Description |
String | The responseId. |
getResponseIdBytes()
public abstract ByteString getResponseIdBytes()
The unique identifier of the response. Contains the same value as
[Streaming]DetectIntentResponse.response_id
.
string response_id = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for responseId. |
getSession()
public abstract 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;
Returns | |
---|---|
Type | Description |
String | The session. |
getSessionBytes()
public abstract 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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for session. |
hasOriginalDetectIntentRequest()
public abstract 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;
Returns | |
---|---|
Type | Description |
boolean | Whether the originalDetectIntentRequest field is set. |
hasQueryResult()
public abstract 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;
Returns | |
---|---|
Type | Description |
boolean | Whether the queryResult field is set. |