Class WebhookRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<WebhookRequest.Builder>
com.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.Builder
- All Implemented Interfaces:
WebhookRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- WebhookRequest
public static final class WebhookRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<WebhookRequest.Builder>
implements WebhookRequestOrBuilder
The request message for a webhook call. The request is sent as a JSON object and the field names will be presented in camel cases. You may see undocumented fields in an actual request. These fields are used internally by Dialogflow and should be ignored.Protobuf type
google.cloud.dialogflow.cx.v3beta1.WebhookRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllMessages(Iterable<? extends ResponseMessage> values) The list of rich message responses to present to the user.addMessages(int index, ResponseMessage value) The list of rich message responses to present to the user.addMessages(int index, ResponseMessage.Builder builderForValue) The list of rich message responses to present to the user.addMessages(ResponseMessage value) The list of rich message responses to present to the user.addMessages(ResponseMessage.Builder builderForValue) The list of rich message responses to present to the user.The list of rich message responses to present to the user.addMessagesBuilder(int index) The list of rich message responses to present to the user.build()clear()Always present.If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain the DTMF digits.Always present.Information about the last matched intent.The language code specified in the [original request][QueryInput.language_code].Information about the language of the request.The list of rich message responses to present to the user.Information about page status.Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].The sentiment analysis result of the current user request.Information about session status.If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorAlways present.com.google.protobuf.ByteStringAlways present.If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain the DTMF digits.com.google.protobuf.ByteStringIf [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain the DTMF digits.Always present.Always present.Always present.Information about the last matched intent.Information about the last matched intent.Information about the last matched intent.The language code specified in the [original request][QueryInput.language_code].com.google.protobuf.ByteStringThe language code specified in the [original request][QueryInput.language_code].Information about the language of the request.Information about the language of the request.Information about the language of the request.getMessages(int index) The list of rich message responses to present to the user.getMessagesBuilder(int index) The list of rich message responses to present to the user.The list of rich message responses to present to the user.intThe list of rich message responses to present to the user.The list of rich message responses to present to the user.getMessagesOrBuilder(int index) The list of rich message responses to present to the user.List<? extends ResponseMessageOrBuilder>The list of rich message responses to present to the user.Information about page status.Information about page status.Information about page status.com.google.protobuf.StructCustom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].com.google.protobuf.Struct.BuilderCustom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].com.google.protobuf.StructOrBuilderCustom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].The sentiment analysis result of the current user request.The sentiment analysis result of the current user request.The sentiment analysis result of the current user request.Information about session status.Information about session status.Information about session status.getText()If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.com.google.protobuf.ByteStringIf [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.com.google.protobuf.ByteStringIf [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.com.google.protobuf.ByteStringIf an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.com.google.protobuf.ByteStringIf an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.booleanIf [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain the DTMF digits.booleanAlways present.booleanInformation about the last matched intent.booleanInformation about the language of the request.booleanInformation about page status.booleanCustom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].booleanThe sentiment analysis result of the current user request.booleanInformation about session status.booleanhasText()If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.booleanIf [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.booleanIf an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.booleanIf an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(WebhookRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Always present.Information about the last matched intent.mergeLanguageInfo(LanguageInfo value) Information about the language of the request.mergePageInfo(PageInfo value) Information about page status.mergePayload(com.google.protobuf.Struct value) Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].The sentiment analysis result of the current user request.mergeSessionInfo(SessionInfo value) Information about session status.removeMessages(int index) The list of rich message responses to present to the user.setDetectIntentResponseId(String value) Always present.setDetectIntentResponseIdBytes(com.google.protobuf.ByteString value) Always present.setDtmfDigits(String value) If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain the DTMF digits.setDtmfDigitsBytes(com.google.protobuf.ByteString value) If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain the DTMF digits.Always present.setFulfillmentInfo(WebhookRequest.FulfillmentInfo.Builder builderForValue) Always present.Information about the last matched intent.setIntentInfo(WebhookRequest.IntentInfo.Builder builderForValue) Information about the last matched intent.setLanguageCode(String value) The language code specified in the [original request][QueryInput.language_code].setLanguageCodeBytes(com.google.protobuf.ByteString value) The language code specified in the [original request][QueryInput.language_code].setLanguageInfo(LanguageInfo value) Information about the language of the request.setLanguageInfo(LanguageInfo.Builder builderForValue) Information about the language of the request.setMessages(int index, ResponseMessage value) The list of rich message responses to present to the user.setMessages(int index, ResponseMessage.Builder builderForValue) The list of rich message responses to present to the user.setPageInfo(PageInfo value) Information about page status.setPageInfo(PageInfo.Builder builderForValue) Information about page status.setPayload(com.google.protobuf.Struct value) Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].setPayload(com.google.protobuf.Struct.Builder builderForValue) Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].The sentiment analysis result of the current user request.setSentimentAnalysisResult(WebhookRequest.SentimentAnalysisResult.Builder builderForValue) The sentiment analysis result of the current user request.setSessionInfo(SessionInfo value) Information about session status.setSessionInfo(SessionInfo.Builder builderForValue) Information about session status.If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.setTextBytes(com.google.protobuf.ByteString value) If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.setTranscript(String value) If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.setTranscriptBytes(com.google.protobuf.ByteString value) If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.setTriggerEvent(String value) If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.setTriggerEventBytes(com.google.protobuf.ByteString value) If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.setTriggerIntent(String value) If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.setTriggerIntentBytes(com.google.protobuf.ByteString value) If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<WebhookRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<WebhookRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<WebhookRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WebhookRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<WebhookRequest.Builder>
-
mergeFrom
public WebhookRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WebhookRequest.Builder>- Throws:
IOException
-
getQueryCase
- Specified by:
getQueryCasein interfaceWebhookRequestOrBuilder
-
clearQuery
-
getDetectIntentResponseId
Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that will be returned to the API caller.
string detect_intent_response_id = 1;- Specified by:
getDetectIntentResponseIdin interfaceWebhookRequestOrBuilder- Returns:
- The detectIntentResponseId.
-
getDetectIntentResponseIdBytes
public com.google.protobuf.ByteString getDetectIntentResponseIdBytes()Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that will be returned to the API caller.
string detect_intent_response_id = 1;- Specified by:
getDetectIntentResponseIdBytesin interfaceWebhookRequestOrBuilder- Returns:
- The bytes for detectIntentResponseId.
-
setDetectIntentResponseId
Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that will be returned to the API caller.
string detect_intent_response_id = 1;- Parameters:
value- The detectIntentResponseId to set.- Returns:
- This builder for chaining.
-
clearDetectIntentResponseId
Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that will be returned to the API caller.
string detect_intent_response_id = 1;- Returns:
- This builder for chaining.
-
setDetectIntentResponseIdBytes
Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse] that will be returned to the API caller.
string detect_intent_response_id = 1;- Parameters:
value- The bytes for detectIntentResponseId to set.- Returns:
- This builder for chaining.
-
hasText
public boolean hasText()If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.
string text = 10;- Specified by:
hasTextin interfaceWebhookRequestOrBuilder- Returns:
- Whether the text field is set.
-
getText
If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.
string text = 10;- Specified by:
getTextin interfaceWebhookRequestOrBuilder- Returns:
- The text.
-
getTextBytes
public com.google.protobuf.ByteString getTextBytes()If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.
string text = 10;- Specified by:
getTextBytesin interfaceWebhookRequestOrBuilder- Returns:
- The bytes for text.
-
setText
If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.
string text = 10;- Parameters:
value- The text to set.- Returns:
- This builder for chaining.
-
clearText
If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.
string text = 10;- Returns:
- This builder for chaining.
-
setTextBytes
If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.
string text = 10;- Parameters:
value- The bytes for text to set.- Returns:
- This builder for chaining.
-
hasTriggerIntent
public boolean hasTriggerIntent()If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }- Specified by:
hasTriggerIntentin interfaceWebhookRequestOrBuilder- Returns:
- Whether the triggerIntent field is set.
-
getTriggerIntent
If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }- Specified by:
getTriggerIntentin interfaceWebhookRequestOrBuilder- Returns:
- The triggerIntent.
-
getTriggerIntentBytes
public com.google.protobuf.ByteString getTriggerIntentBytes()If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }- Specified by:
getTriggerIntentBytesin interfaceWebhookRequestOrBuilder- Returns:
- The bytes for triggerIntent.
-
setTriggerIntent
If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }- Parameters:
value- The triggerIntent to set.- Returns:
- This builder for chaining.
-
clearTriggerIntent
If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setTriggerIntentBytes
If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for triggerIntent to set.- Returns:
- This builder for chaining.
-
hasTranscript
public boolean hasTranscript()If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.
string transcript = 12;- Specified by:
hasTranscriptin interfaceWebhookRequestOrBuilder- Returns:
- Whether the transcript field is set.
-
getTranscript
If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.
string transcript = 12;- Specified by:
getTranscriptin interfaceWebhookRequestOrBuilder- Returns:
- The transcript.
-
getTranscriptBytes
public com.google.protobuf.ByteString getTranscriptBytes()If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.
string transcript = 12;- Specified by:
getTranscriptBytesin interfaceWebhookRequestOrBuilder- Returns:
- The bytes for transcript.
-
setTranscript
If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.
string transcript = 12;- Parameters:
value- The transcript to set.- Returns:
- This builder for chaining.
-
clearTranscript
If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.
string transcript = 12;- Returns:
- This builder for chaining.
-
setTranscriptBytes
If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.
string transcript = 12;- Parameters:
value- The bytes for transcript to set.- Returns:
- This builder for chaining.
-
hasTriggerEvent
public boolean hasTriggerEvent()If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.
string trigger_event = 14;- Specified by:
hasTriggerEventin interfaceWebhookRequestOrBuilder- Returns:
- Whether the triggerEvent field is set.
-
getTriggerEvent
If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.
string trigger_event = 14;- Specified by:
getTriggerEventin interfaceWebhookRequestOrBuilder- Returns:
- The triggerEvent.
-
getTriggerEventBytes
public com.google.protobuf.ByteString getTriggerEventBytes()If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.
string trigger_event = 14;- Specified by:
getTriggerEventBytesin interfaceWebhookRequestOrBuilder- Returns:
- The bytes for triggerEvent.
-
setTriggerEvent
If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.
string trigger_event = 14;- Parameters:
value- The triggerEvent to set.- Returns:
- This builder for chaining.
-
clearTriggerEvent
If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.
string trigger_event = 14;- Returns:
- This builder for chaining.
-
setTriggerEventBytes
If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.
string trigger_event = 14;- Parameters:
value- The bytes for triggerEvent to set.- Returns:
- This builder for chaining.
-
hasDtmfDigits
public boolean hasDtmfDigits()If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain the DTMF digits.
string dtmf_digits = 17;- Specified by:
hasDtmfDigitsin interfaceWebhookRequestOrBuilder- Returns:
- Whether the dtmfDigits field is set.
-
getDtmfDigits
If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain the DTMF digits.
string dtmf_digits = 17;- Specified by:
getDtmfDigitsin interfaceWebhookRequestOrBuilder- Returns:
- The dtmfDigits.
-
getDtmfDigitsBytes
public com.google.protobuf.ByteString getDtmfDigitsBytes()If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain the DTMF digits.
string dtmf_digits = 17;- Specified by:
getDtmfDigitsBytesin interfaceWebhookRequestOrBuilder- Returns:
- The bytes for dtmfDigits.
-
setDtmfDigits
If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain the DTMF digits.
string dtmf_digits = 17;- Parameters:
value- The dtmfDigits to set.- Returns:
- This builder for chaining.
-
clearDtmfDigits
If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain the DTMF digits.
string dtmf_digits = 17;- Returns:
- This builder for chaining.
-
setDtmfDigitsBytes
If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain the DTMF digits.
string dtmf_digits = 17;- Parameters:
value- The bytes for dtmfDigits to set.- Returns:
- This builder for chaining.
-
getLanguageCode
The language code specified in the [original request][QueryInput.language_code].
string language_code = 15;- Specified by:
getLanguageCodein interfaceWebhookRequestOrBuilder- Returns:
- The languageCode.
-
getLanguageCodeBytes
public com.google.protobuf.ByteString getLanguageCodeBytes()The language code specified in the [original request][QueryInput.language_code].
string language_code = 15;- Specified by:
getLanguageCodeBytesin interfaceWebhookRequestOrBuilder- Returns:
- The bytes for languageCode.
-
setLanguageCode
The language code specified in the [original request][QueryInput.language_code].
string language_code = 15;- Parameters:
value- The languageCode to set.- Returns:
- This builder for chaining.
-
clearLanguageCode
The language code specified in the [original request][QueryInput.language_code].
string language_code = 15;- Returns:
- This builder for chaining.
-
setLanguageCodeBytes
The language code specified in the [original request][QueryInput.language_code].
string language_code = 15;- Parameters:
value- The bytes for languageCode to set.- Returns:
- This builder for chaining.
-
hasFulfillmentInfo
public boolean hasFulfillmentInfo()Always present. Information about the fulfillment that triggered this webhook call.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;- Specified by:
hasFulfillmentInfoin interfaceWebhookRequestOrBuilder- Returns:
- Whether the fulfillmentInfo field is set.
-
getFulfillmentInfo
Always present. Information about the fulfillment that triggered this webhook call.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;- Specified by:
getFulfillmentInfoin interfaceWebhookRequestOrBuilder- Returns:
- The fulfillmentInfo.
-
setFulfillmentInfo
Always present. Information about the fulfillment that triggered this webhook call.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6; -
setFulfillmentInfo
public WebhookRequest.Builder setFulfillmentInfo(WebhookRequest.FulfillmentInfo.Builder builderForValue) Always present. Information about the fulfillment that triggered this webhook call.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6; -
mergeFulfillmentInfo
Always present. Information about the fulfillment that triggered this webhook call.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6; -
clearFulfillmentInfo
Always present. Information about the fulfillment that triggered this webhook call.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6; -
getFulfillmentInfoBuilder
Always present. Information about the fulfillment that triggered this webhook call.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6; -
getFulfillmentInfoOrBuilder
Always present. Information about the fulfillment that triggered this webhook call.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;- Specified by:
getFulfillmentInfoOrBuilderin interfaceWebhookRequestOrBuilder
-
hasIntentInfo
public boolean hasIntentInfo()Information about the last matched intent.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;- Specified by:
hasIntentInfoin interfaceWebhookRequestOrBuilder- Returns:
- Whether the intentInfo field is set.
-
getIntentInfo
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;- Specified by:
getIntentInfoin interfaceWebhookRequestOrBuilder- Returns:
- The intentInfo.
-
setIntentInfo
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3; -
setIntentInfo
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3; -
mergeIntentInfo
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3; -
clearIntentInfo
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3; -
getIntentInfoBuilder
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3; -
getIntentInfoOrBuilder
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;- Specified by:
getIntentInfoOrBuilderin interfaceWebhookRequestOrBuilder
-
hasPageInfo
public boolean hasPageInfo()Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;- Specified by:
hasPageInfoin interfaceWebhookRequestOrBuilder- Returns:
- Whether the pageInfo field is set.
-
getPageInfo
Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;- Specified by:
getPageInfoin interfaceWebhookRequestOrBuilder- Returns:
- The pageInfo.
-
setPageInfo
Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4; -
setPageInfo
Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4; -
mergePageInfo
Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4; -
clearPageInfo
Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4; -
getPageInfoBuilder
Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4; -
getPageInfoOrBuilder
Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;- Specified by:
getPageInfoOrBuilderin interfaceWebhookRequestOrBuilder
-
hasSessionInfo
public boolean hasSessionInfo()Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;- Specified by:
hasSessionInfoin interfaceWebhookRequestOrBuilder- Returns:
- Whether the sessionInfo field is set.
-
getSessionInfo
Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;- Specified by:
getSessionInfoin interfaceWebhookRequestOrBuilder- Returns:
- The sessionInfo.
-
setSessionInfo
Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5; -
setSessionInfo
Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5; -
mergeSessionInfo
Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5; -
clearSessionInfo
Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5; -
getSessionInfoBuilder
Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5; -
getSessionInfoOrBuilder
Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;- Specified by:
getSessionInfoOrBuilderin interfaceWebhookRequestOrBuilder
-
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][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;- Specified by:
getMessagesListin interfaceWebhookRequestOrBuilder
-
getMessagesCount
public 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][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;- Specified by:
getMessagesCountin interfaceWebhookRequestOrBuilder
-
getMessages
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;- Specified by:
getMessagesin interfaceWebhookRequestOrBuilder
-
setMessages
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7; -
setMessages
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7; -
addMessages
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7; -
addMessages
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7; -
addMessages
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7; -
addMessages
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7; -
addAllMessages
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7; -
clearMessages
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7; -
removeMessages
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7; -
getMessagesBuilder
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7; -
getMessagesOrBuilder
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;- Specified by:
getMessagesOrBuilderin interfaceWebhookRequestOrBuilder
-
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][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;- Specified by:
getMessagesOrBuilderListin interfaceWebhookRequestOrBuilder
-
addMessagesBuilder
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7; -
addMessagesBuilder
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7; -
getMessagesBuilderList
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7; -
hasPayload
public boolean hasPayload()Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
.google.protobuf.Struct payload = 8;- Specified by:
hasPayloadin interfaceWebhookRequestOrBuilder- Returns:
- Whether the payload field is set.
-
getPayload
public com.google.protobuf.Struct getPayload()Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
.google.protobuf.Struct payload = 8;- Specified by:
getPayloadin interfaceWebhookRequestOrBuilder- Returns:
- The payload.
-
setPayload
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
.google.protobuf.Struct payload = 8; -
setPayload
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
.google.protobuf.Struct payload = 8; -
mergePayload
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
.google.protobuf.Struct payload = 8; -
clearPayload
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
.google.protobuf.Struct payload = 8; -
getPayloadBuilder
public com.google.protobuf.Struct.Builder getPayloadBuilder()Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
.google.protobuf.Struct payload = 8; -
getPayloadOrBuilder
public com.google.protobuf.StructOrBuilder getPayloadOrBuilder()Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
.google.protobuf.Struct payload = 8;- Specified by:
getPayloadOrBuilderin interfaceWebhookRequestOrBuilder
-
hasSentimentAnalysisResult
public 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;- Specified by:
hasSentimentAnalysisResultin interfaceWebhookRequestOrBuilder- Returns:
- Whether the sentimentAnalysisResult field is set.
-
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;- Specified by:
getSentimentAnalysisResultin interfaceWebhookRequestOrBuilder- Returns:
- The sentimentAnalysisResult.
-
setSentimentAnalysisResult
public WebhookRequest.Builder setSentimentAnalysisResult(WebhookRequest.SentimentAnalysisResult value) 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; -
setSentimentAnalysisResult
public WebhookRequest.Builder setSentimentAnalysisResult(WebhookRequest.SentimentAnalysisResult.Builder builderForValue) 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; -
mergeSentimentAnalysisResult
public WebhookRequest.Builder mergeSentimentAnalysisResult(WebhookRequest.SentimentAnalysisResult value) 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; -
clearSentimentAnalysisResult
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; -
getSentimentAnalysisResultBuilder
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; -
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;- Specified by:
getSentimentAnalysisResultOrBuilderin interfaceWebhookRequestOrBuilder
-
hasLanguageInfo
public boolean hasLanguageInfo()Information about the language of the request.
.google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18;- Specified by:
hasLanguageInfoin interfaceWebhookRequestOrBuilder- Returns:
- Whether the languageInfo field is set.
-
getLanguageInfo
Information about the language of the request.
.google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18;- Specified by:
getLanguageInfoin interfaceWebhookRequestOrBuilder- Returns:
- The languageInfo.
-
setLanguageInfo
Information about the language of the request.
.google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18; -
setLanguageInfo
Information about the language of the request.
.google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18; -
mergeLanguageInfo
Information about the language of the request.
.google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18; -
clearLanguageInfo
Information about the language of the request.
.google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18; -
getLanguageInfoBuilder
Information about the language of the request.
.google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18; -
getLanguageInfoOrBuilder
Information about the language of the request.
.google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18;- Specified by:
getLanguageInfoOrBuilderin interfaceWebhookRequestOrBuilder
-