Interface WebhookRequestOrBuilder (0.14.1)

public interface WebhookRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDetectIntentResponseId()

public abstract String getDetectIntentResponseId()

Always present. The unique identifier of the DetectIntentResponse that will be returned to the API caller.

string detect_intent_response_id = 1;

Returns
TypeDescription
String

The detectIntentResponseId.

getDetectIntentResponseIdBytes()

public abstract ByteString getDetectIntentResponseIdBytes()

Always present. The unique identifier of the DetectIntentResponse that will be returned to the API caller.

string detect_intent_response_id = 1;

Returns
TypeDescription
ByteString

The bytes for detectIntentResponseId.

getFulfillmentInfo()

public abstract WebhookRequest.FulfillmentInfo getFulfillmentInfo()

Always present. Information about the fulfillment that triggered this webhook call.

.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;

Returns
TypeDescription
WebhookRequest.FulfillmentInfo

The fulfillmentInfo.

getFulfillmentInfoOrBuilder()

public abstract WebhookRequest.FulfillmentInfoOrBuilder getFulfillmentInfoOrBuilder()

Always present. Information about the fulfillment that triggered this webhook call.

.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;

Returns
TypeDescription
WebhookRequest.FulfillmentInfoOrBuilder

getIntentInfo()

public abstract WebhookRequest.IntentInfo getIntentInfo()

Information about the last matched intent.

.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;

Returns
TypeDescription
WebhookRequest.IntentInfo

The intentInfo.

getIntentInfoOrBuilder()

public abstract WebhookRequest.IntentInfoOrBuilder getIntentInfoOrBuilder()

Information about the last matched intent.

.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;

Returns
TypeDescription
WebhookRequest.IntentInfoOrBuilder

getLanguageCode()

public abstract String getLanguageCode()

The language code specified in the original request.

string language_code = 15;

Returns
TypeDescription
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

The language code specified in the original request.

string language_code = 15;

Returns
TypeDescription
ByteString

The bytes for languageCode.

getMessages(int index)

public abstract ResponseMessage getMessages(int index)

The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
ResponseMessage

getMessagesCount()

public abstract int getMessagesCount()

The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;

Returns
TypeDescription
int

getMessagesList()

public abstract List<ResponseMessage> getMessagesList()

The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;

Returns
TypeDescription
List<ResponseMessage>

getMessagesOrBuilder(int index)

public abstract ResponseMessageOrBuilder getMessagesOrBuilder(int index)

The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
ResponseMessageOrBuilder

getMessagesOrBuilderList()

public abstract List<? extends ResponseMessageOrBuilder> getMessagesOrBuilderList()

The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.ResponseMessageOrBuilder>

getPageInfo()

public abstract PageInfo getPageInfo()

Information about page status.

.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;

Returns
TypeDescription
PageInfo

The pageInfo.

getPageInfoOrBuilder()

public abstract PageInfoOrBuilder getPageInfoOrBuilder()

Information about page status.

.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;

Returns
TypeDescription
PageInfoOrBuilder

getPayload()

public abstract Struct getPayload()

Custom data set in QueryParameters.payload.

.google.protobuf.Struct payload = 8;

Returns
TypeDescription
Struct

The payload.

getPayloadOrBuilder()

public abstract StructOrBuilder getPayloadOrBuilder()

Custom data set in QueryParameters.payload.

.google.protobuf.Struct payload = 8;

Returns
TypeDescription
StructOrBuilder

getQueryCase()

public abstract WebhookRequest.QueryCase getQueryCase()
Returns
TypeDescription
WebhookRequest.QueryCase

getSentimentAnalysisResult()

public abstract WebhookRequest.SentimentAnalysisResult getSentimentAnalysisResult()

The sentiment analysis result of the current user request. The field is filled when sentiment analysis is configured to be enabled for the request.

.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;

Returns
TypeDescription
WebhookRequest.SentimentAnalysisResult

The sentimentAnalysisResult.

getSentimentAnalysisResultOrBuilder()

public abstract WebhookRequest.SentimentAnalysisResultOrBuilder getSentimentAnalysisResultOrBuilder()

The sentiment analysis result of the current user request. The field is filled when sentiment analysis is configured to be enabled for the request.

.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;

Returns
TypeDescription
WebhookRequest.SentimentAnalysisResultOrBuilder

getSessionInfo()

public abstract SessionInfo getSessionInfo()

Information about session status.

.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;

Returns
TypeDescription
SessionInfo

The sessionInfo.

getSessionInfoOrBuilder()

public abstract SessionInfoOrBuilder getSessionInfoOrBuilder()

Information about session status.

.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;

Returns
TypeDescription
SessionInfoOrBuilder

getText()

public abstract String getText()

If natural language text was provided as input, this field will contain a copy of the text.

string text = 10;

Returns
TypeDescription
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

If natural language text was provided as input, this field will contain a copy of the text.

string text = 10;

Returns
TypeDescription
ByteString

The bytes for text.

getTranscript()

public abstract String getTranscript()

If natural language speech audio was provided as input, this field will contain the transcript for the audio.

string transcript = 12;

Returns
TypeDescription
String

The transcript.

getTranscriptBytes()

public abstract ByteString getTranscriptBytes()

If natural language speech audio was provided as input, this field will contain the transcript for the audio.

string transcript = 12;

Returns
TypeDescription
ByteString

The bytes for transcript.

getTriggerEvent()

public abstract String getTriggerEvent()

If an event was provided as input, this field will contain the name of the event.

string trigger_event = 14;

Returns
TypeDescription
String

The triggerEvent.

getTriggerEventBytes()

public abstract ByteString getTriggerEventBytes()

If an event was provided as input, this field will contain the name of the event.

string trigger_event = 14;

Returns
TypeDescription
ByteString

The bytes for triggerEvent.

getTriggerIntent()

public abstract String getTriggerIntent()

If an intent was provided as input, this field will contain a copy of the intent identifier. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.

string trigger_intent = 11 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The triggerIntent.

getTriggerIntentBytes()

public abstract ByteString getTriggerIntentBytes()

If an intent was provided as input, this field will contain a copy of the intent identifier. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.

string trigger_intent = 11 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for triggerIntent.

hasFulfillmentInfo()

public abstract boolean hasFulfillmentInfo()

Always present. Information about the fulfillment that triggered this webhook call.

.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;

Returns
TypeDescription
boolean

Whether the fulfillmentInfo field is set.

hasIntentInfo()

public abstract boolean hasIntentInfo()

Information about the last matched intent.

.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;

Returns
TypeDescription
boolean

Whether the intentInfo field is set.

hasPageInfo()

public abstract boolean hasPageInfo()

Information about page status.

.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;

Returns
TypeDescription
boolean

Whether the pageInfo field is set.

hasPayload()

public abstract boolean hasPayload()

Custom data set in QueryParameters.payload.

.google.protobuf.Struct payload = 8;

Returns
TypeDescription
boolean

Whether the payload field is set.

hasSentimentAnalysisResult()

public abstract boolean hasSentimentAnalysisResult()

The sentiment analysis result of the current user request. The field is filled when sentiment analysis is configured to be enabled for the request.

.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;

Returns
TypeDescription
boolean

Whether the sentimentAnalysisResult field is set.

hasSessionInfo()

public abstract boolean hasSessionInfo()

Information about session status.

.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;

Returns
TypeDescription
boolean

Whether the sessionInfo field is set.

hasText()

public abstract boolean hasText()

If natural language text was provided as input, this field will contain a copy of the text.

string text = 10;

Returns
TypeDescription
boolean

Whether the text field is set.

hasTranscript()

public abstract boolean hasTranscript()

If natural language speech audio was provided as input, this field will contain the transcript for the audio.

string transcript = 12;

Returns
TypeDescription
boolean

Whether the transcript field is set.

hasTriggerEvent()

public abstract boolean hasTriggerEvent()

If an event was provided as input, this field will contain the name of the event.

string trigger_event = 14;

Returns
TypeDescription
boolean

Whether the triggerEvent field is set.

hasTriggerIntent()

public abstract boolean hasTriggerIntent()

If an intent was provided as input, this field will contain a copy of the intent identifier. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.

string trigger_intent = 11 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
boolean

Whether the triggerIntent field is set.