Interface WebhookRequestOrBuilder (4.5.11)

public interface WebhookRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the queryResult field is set.