Interface WebhookRequestOrBuilder (4.13.0)

public interface WebhookRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAlternativeQueryResults(int index)

public abstract QueryResult getAlternativeQueryResults(int index)

Alternative query results from KnowledgeService.

repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;

Parameter
Name Description
index int
Returns
Type Description
QueryResult

getAlternativeQueryResultsCount()

public abstract int getAlternativeQueryResultsCount()

Alternative query results from KnowledgeService.

repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;

Returns
Type Description
int

getAlternativeQueryResultsList()

public abstract List<QueryResult> getAlternativeQueryResultsList()

Alternative query results from KnowledgeService.

repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;

Returns
Type Description
List<QueryResult>

getAlternativeQueryResultsOrBuilder(int index)

public abstract QueryResultOrBuilder getAlternativeQueryResultsOrBuilder(int index)

Alternative query results from KnowledgeService.

repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;

Parameter
Name Description
index int
Returns
Type Description
QueryResultOrBuilder

getAlternativeQueryResultsOrBuilderList()

public abstract List<? extends QueryResultOrBuilder> getAlternativeQueryResultsOrBuilderList()

Alternative query results from KnowledgeService.

repeated .google.cloud.dialogflow.v2beta1.QueryResult alternative_query_results = 5;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.QueryResultOrBuilder>

getOriginalDetectIntentRequest()

public abstract 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;

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.v2beta1.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.v2beta1.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.v2beta1.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. 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;

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. 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;

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.v2beta1.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.v2beta1.QueryResult query_result = 2;

Returns
Type Description
boolean

Whether the queryResult field is set.