Interface WebhookRequestOrBuilder (4.8.5)

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
NameDescription
indexint
Returns
TypeDescription
QueryResult

getAlternativeQueryResultsCount()

public abstract int getAlternativeQueryResultsCount()

Alternative query results from KnowledgeService.

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

Returns
TypeDescription
int

getAlternativeQueryResultsList()

public abstract List<QueryResult> getAlternativeQueryResultsList()

Alternative query results from KnowledgeService.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
QueryResultOrBuilder

getAlternativeQueryResultsOrBuilderList()

public abstract List<? extends QueryResultOrBuilder> getAlternativeQueryResultsOrBuilderList()

Alternative query results from KnowledgeService.

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

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

Returns
TypeDescription
boolean

Whether the queryResult field is set.