Class WebhookRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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 typegoogle.cloud.dialogflow.cx.v3beta1.WebhookRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WebhookRequest.BuilderaddAllMessages(Iterable<? extends ResponseMessage> values)The list of rich message responses to present to the user.WebhookRequest.BuilderaddMessages(int index, ResponseMessage value)The list of rich message responses to present to the user.WebhookRequest.BuilderaddMessages(int index, ResponseMessage.Builder builderForValue)The list of rich message responses to present to the user.WebhookRequest.BuilderaddMessages(ResponseMessage value)The list of rich message responses to present to the user.WebhookRequest.BuilderaddMessages(ResponseMessage.Builder builderForValue)The list of rich message responses to present to the user.ResponseMessage.BuilderaddMessagesBuilder()The list of rich message responses to present to the user.ResponseMessage.BuilderaddMessagesBuilder(int index)The list of rich message responses to present to the user.WebhookRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)WebhookRequestbuild()WebhookRequestbuildPartial()WebhookRequest.Builderclear()WebhookRequest.BuilderclearDetectIntentResponseId()Always present.WebhookRequest.BuilderclearDtmfDigits()If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain the DTMF digits.WebhookRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)WebhookRequest.BuilderclearFulfillmentInfo()Always present.WebhookRequest.BuilderclearIntentInfo()Information about the last matched intent.WebhookRequest.BuilderclearLanguageCode()The language code specified in the [original request][QueryInput.language_code].WebhookRequest.BuilderclearMessages()The list of rich message responses to present to the user.WebhookRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)WebhookRequest.BuilderclearPageInfo()Information about page status.WebhookRequest.BuilderclearPayload()Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].WebhookRequest.BuilderclearQuery()WebhookRequest.BuilderclearSentimentAnalysisResult()The sentiment analysis result of the current user request.WebhookRequest.BuilderclearSessionInfo()Information about session status.WebhookRequest.BuilderclearText()If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.WebhookRequest.BuilderclearTranscript()If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.WebhookRequest.BuilderclearTriggerEvent()If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.WebhookRequest.BuilderclearTriggerIntent()If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.WebhookRequest.Builderclone()WebhookRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDetectIntentResponseId()Always present.com.google.protobuf.ByteStringgetDetectIntentResponseIdBytes()Always present.StringgetDtmfDigits()If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain the DTMF digits.com.google.protobuf.ByteStringgetDtmfDigitsBytes()If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain the DTMF digits.WebhookRequest.FulfillmentInfogetFulfillmentInfo()Always present.WebhookRequest.FulfillmentInfo.BuildergetFulfillmentInfoBuilder()Always present.WebhookRequest.FulfillmentInfoOrBuildergetFulfillmentInfoOrBuilder()Always present.WebhookRequest.IntentInfogetIntentInfo()Information about the last matched intent.WebhookRequest.IntentInfo.BuildergetIntentInfoBuilder()Information about the last matched intent.WebhookRequest.IntentInfoOrBuildergetIntentInfoOrBuilder()Information about the last matched intent.StringgetLanguageCode()The language code specified in the [original request][QueryInput.language_code].com.google.protobuf.ByteStringgetLanguageCodeBytes()The language code specified in the [original request][QueryInput.language_code].ResponseMessagegetMessages(int index)The list of rich message responses to present to the user.ResponseMessage.BuildergetMessagesBuilder(int index)The list of rich message responses to present to the user.List<ResponseMessage.Builder>getMessagesBuilderList()The list of rich message responses to present to the user.intgetMessagesCount()The list of rich message responses to present to the user.List<ResponseMessage>getMessagesList()The list of rich message responses to present to the user.ResponseMessageOrBuildergetMessagesOrBuilder(int index)The list of rich message responses to present to the user.List<? extends ResponseMessageOrBuilder>getMessagesOrBuilderList()The list of rich message responses to present to the user.PageInfogetPageInfo()Information about page status.PageInfo.BuildergetPageInfoBuilder()Information about page status.PageInfoOrBuildergetPageInfoOrBuilder()Information about page status.com.google.protobuf.StructgetPayload()Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].com.google.protobuf.Struct.BuildergetPayloadBuilder()Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].com.google.protobuf.StructOrBuildergetPayloadOrBuilder()Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].WebhookRequest.QueryCasegetQueryCase()WebhookRequest.SentimentAnalysisResultgetSentimentAnalysisResult()The sentiment analysis result of the current user request.WebhookRequest.SentimentAnalysisResult.BuildergetSentimentAnalysisResultBuilder()The sentiment analysis result of the current user request.WebhookRequest.SentimentAnalysisResultOrBuildergetSentimentAnalysisResultOrBuilder()The sentiment analysis result of the current user request.SessionInfogetSessionInfo()Information about session status.SessionInfo.BuildergetSessionInfoBuilder()Information about session status.SessionInfoOrBuildergetSessionInfoOrBuilder()Information about session status.StringgetText()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.ByteStringgetTextBytes()If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.StringgetTranscript()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.ByteStringgetTranscriptBytes()If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.StringgetTriggerEvent()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.ByteStringgetTriggerEventBytes()If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.StringgetTriggerIntent()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.ByteStringgetTriggerIntentBytes()If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.booleanhasDtmfDigits()If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain the DTMF digits.booleanhasFulfillmentInfo()Always present.booleanhasIntentInfo()Information about the last matched intent.booleanhasPageInfo()Information about page status.booleanhasPayload()Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].booleanhasSentimentAnalysisResult()The sentiment analysis result of the current user request.booleanhasSessionInfo()Information 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.booleanhasTranscript()If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.booleanhasTriggerEvent()If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.booleanhasTriggerIntent()If 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.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()WebhookRequest.BuildermergeFrom(WebhookRequest other)WebhookRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)WebhookRequest.BuildermergeFrom(com.google.protobuf.Message other)WebhookRequest.BuildermergeFulfillmentInfo(WebhookRequest.FulfillmentInfo value)Always present.WebhookRequest.BuildermergeIntentInfo(WebhookRequest.IntentInfo value)Information about the last matched intent.WebhookRequest.BuildermergePageInfo(PageInfo value)Information about page status.WebhookRequest.BuildermergePayload(com.google.protobuf.Struct value)Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].WebhookRequest.BuildermergeSentimentAnalysisResult(WebhookRequest.SentimentAnalysisResult value)The sentiment analysis result of the current user request.WebhookRequest.BuildermergeSessionInfo(SessionInfo value)Information about session status.WebhookRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)WebhookRequest.BuilderremoveMessages(int index)The list of rich message responses to present to the user.WebhookRequest.BuildersetDetectIntentResponseId(String value)Always present.WebhookRequest.BuildersetDetectIntentResponseIdBytes(com.google.protobuf.ByteString value)Always present.WebhookRequest.BuildersetDtmfDigits(String value)If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain the DTMF digits.WebhookRequest.BuildersetDtmfDigitsBytes(com.google.protobuf.ByteString value)If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain the DTMF digits.WebhookRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)WebhookRequest.BuildersetFulfillmentInfo(WebhookRequest.FulfillmentInfo value)Always present.WebhookRequest.BuildersetFulfillmentInfo(WebhookRequest.FulfillmentInfo.Builder builderForValue)Always present.WebhookRequest.BuildersetIntentInfo(WebhookRequest.IntentInfo value)Information about the last matched intent.WebhookRequest.BuildersetIntentInfo(WebhookRequest.IntentInfo.Builder builderForValue)Information about the last matched intent.WebhookRequest.BuildersetLanguageCode(String value)The language code specified in the [original request][QueryInput.language_code].WebhookRequest.BuildersetLanguageCodeBytes(com.google.protobuf.ByteString value)The language code specified in the [original request][QueryInput.language_code].WebhookRequest.BuildersetMessages(int index, ResponseMessage value)The list of rich message responses to present to the user.WebhookRequest.BuildersetMessages(int index, ResponseMessage.Builder builderForValue)The list of rich message responses to present to the user.WebhookRequest.BuildersetPageInfo(PageInfo value)Information about page status.WebhookRequest.BuildersetPageInfo(PageInfo.Builder builderForValue)Information about page status.WebhookRequest.BuildersetPayload(com.google.protobuf.Struct value)Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].WebhookRequest.BuildersetPayload(com.google.protobuf.Struct.Builder builderForValue)Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].WebhookRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)WebhookRequest.BuildersetSentimentAnalysisResult(WebhookRequest.SentimentAnalysisResult value)The sentiment analysis result of the current user request.WebhookRequest.BuildersetSentimentAnalysisResult(WebhookRequest.SentimentAnalysisResult.Builder builderForValue)The sentiment analysis result of the current user request.WebhookRequest.BuildersetSessionInfo(SessionInfo value)Information about session status.WebhookRequest.BuildersetSessionInfo(SessionInfo.Builder builderForValue)Information about session status.WebhookRequest.BuildersetText(String value)If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.WebhookRequest.BuildersetTextBytes(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.WebhookRequest.BuildersetTranscript(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.WebhookRequest.BuildersetTranscriptBytes(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.WebhookRequest.BuildersetTriggerEvent(String value)If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.WebhookRequest.BuildersetTriggerEventBytes(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.WebhookRequest.BuildersetTriggerIntent(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.WebhookRequest.BuildersetTriggerIntentBytes(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.WebhookRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<WebhookRequest.Builder>
-
clear
public WebhookRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<WebhookRequest.Builder>
-
getDefaultInstanceForType
public WebhookRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public WebhookRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WebhookRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WebhookRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<WebhookRequest.Builder>
-
setField
public WebhookRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WebhookRequest.Builder>
-
clearField
public WebhookRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WebhookRequest.Builder>
-
clearOneof
public WebhookRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<WebhookRequest.Builder>
-
setRepeatedField
public WebhookRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WebhookRequest.Builder>
-
addRepeatedField
public WebhookRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WebhookRequest.Builder>
-
mergeFrom
public WebhookRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WebhookRequest.Builder>
-
mergeFrom
public WebhookRequest.Builder mergeFrom(WebhookRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public WebhookRequest.QueryCase getQueryCase()
- Specified by:
getQueryCasein interfaceWebhookRequestOrBuilder
-
clearQuery
public WebhookRequest.Builder clearQuery()
-
getDetectIntentResponseId
public String 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
public WebhookRequest.Builder setDetectIntentResponseId(String value)
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
public WebhookRequest.Builder 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
public WebhookRequest.Builder setDetectIntentResponseIdBytes(com.google.protobuf.ByteString value)
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
public String 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
public WebhookRequest.Builder setText(String value)
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
public WebhookRequest.Builder 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
public WebhookRequest.Builder 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.
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/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }- Specified by:
hasTriggerIntentin interfaceWebhookRequestOrBuilder- Returns:
- Whether the triggerIntent field is set.
-
getTriggerIntent
public String 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/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
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/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }- Specified by:
getTriggerIntentBytesin interfaceWebhookRequestOrBuilder- Returns:
- The bytes for triggerIntent.
-
setTriggerIntent
public WebhookRequest.Builder 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. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }- Parameters:
value- The triggerIntent to set.- Returns:
- This builder for chaining.
-
clearTriggerIntent
public WebhookRequest.Builder 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/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setTriggerIntentBytes
public WebhookRequest.Builder 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. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>`.
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
public String 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
public WebhookRequest.Builder 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.
string transcript = 12;- Parameters:
value- The transcript to set.- Returns:
- This builder for chaining.
-
clearTranscript
public WebhookRequest.Builder 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
public WebhookRequest.Builder 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.
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
public String 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
public WebhookRequest.Builder 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.
string trigger_event = 14;- Parameters:
value- The triggerEvent to set.- Returns:
- This builder for chaining.
-
clearTriggerEvent
public WebhookRequest.Builder 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
public WebhookRequest.Builder 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.
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
public String 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
public WebhookRequest.Builder setDtmfDigits(String value)
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
public WebhookRequest.Builder 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
public WebhookRequest.Builder 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.
string dtmf_digits = 17;- Parameters:
value- The bytes for dtmfDigits to set.- Returns:
- This builder for chaining.
-
getLanguageCode
public String 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
public WebhookRequest.Builder setLanguageCode(String value)
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
public WebhookRequest.Builder clearLanguageCode()
The language code specified in the [original request][QueryInput.language_code].
string language_code = 15;- Returns:
- This builder for chaining.
-
setLanguageCodeBytes
public WebhookRequest.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
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
public WebhookRequest.FulfillmentInfo 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
public WebhookRequest.Builder setFulfillmentInfo(WebhookRequest.FulfillmentInfo value)
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
public WebhookRequest.Builder mergeFulfillmentInfo(WebhookRequest.FulfillmentInfo value)
Always present. Information about the fulfillment that triggered this webhook call.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;
-
clearFulfillmentInfo
public WebhookRequest.Builder clearFulfillmentInfo()
Always present. Information about the fulfillment that triggered this webhook call.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;
-
getFulfillmentInfoBuilder
public WebhookRequest.FulfillmentInfo.Builder getFulfillmentInfoBuilder()
Always present. Information about the fulfillment that triggered this webhook call.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;
-
getFulfillmentInfoOrBuilder
public WebhookRequest.FulfillmentInfoOrBuilder 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
public WebhookRequest.IntentInfo 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
public WebhookRequest.Builder setIntentInfo(WebhookRequest.IntentInfo value)
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;
-
setIntentInfo
public WebhookRequest.Builder setIntentInfo(WebhookRequest.IntentInfo.Builder builderForValue)
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;
-
mergeIntentInfo
public WebhookRequest.Builder mergeIntentInfo(WebhookRequest.IntentInfo value)
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;
-
clearIntentInfo
public WebhookRequest.Builder clearIntentInfo()
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;
-
getIntentInfoBuilder
public WebhookRequest.IntentInfo.Builder getIntentInfoBuilder()
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;
-
getIntentInfoOrBuilder
public WebhookRequest.IntentInfoOrBuilder 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
public PageInfo getPageInfo()
Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;- Specified by:
getPageInfoin interfaceWebhookRequestOrBuilder- Returns:
- The pageInfo.
-
setPageInfo
public WebhookRequest.Builder setPageInfo(PageInfo value)
Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;
-
setPageInfo
public WebhookRequest.Builder setPageInfo(PageInfo.Builder builderForValue)
Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;
-
mergePageInfo
public WebhookRequest.Builder mergePageInfo(PageInfo value)
Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;
-
clearPageInfo
public WebhookRequest.Builder clearPageInfo()
Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;
-
getPageInfoBuilder
public PageInfo.Builder getPageInfoBuilder()
Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;
-
getPageInfoOrBuilder
public PageInfoOrBuilder 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
public SessionInfo getSessionInfo()
Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;- Specified by:
getSessionInfoin interfaceWebhookRequestOrBuilder- Returns:
- The sessionInfo.
-
setSessionInfo
public WebhookRequest.Builder setSessionInfo(SessionInfo value)
Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;
-
setSessionInfo
public WebhookRequest.Builder setSessionInfo(SessionInfo.Builder builderForValue)
Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;
-
mergeSessionInfo
public WebhookRequest.Builder mergeSessionInfo(SessionInfo value)
Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;
-
clearSessionInfo
public WebhookRequest.Builder clearSessionInfo()
Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;
-
getSessionInfoBuilder
public SessionInfo.Builder getSessionInfoBuilder()
Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;
-
getSessionInfoOrBuilder
public SessionInfoOrBuilder getSessionInfoOrBuilder()
Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;- Specified by:
getSessionInfoOrBuilderin interfaceWebhookRequestOrBuilder
-
getMessagesList
public 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][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
public 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][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;- Specified by:
getMessagesin interfaceWebhookRequestOrBuilder
-
setMessages
public WebhookRequest.Builder setMessages(int index, ResponseMessage value)
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
public WebhookRequest.Builder setMessages(int index, ResponseMessage.Builder builderForValue)
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
public WebhookRequest.Builder addMessages(ResponseMessage value)
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
public WebhookRequest.Builder addMessages(int index, ResponseMessage value)
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
public WebhookRequest.Builder addMessages(ResponseMessage.Builder builderForValue)
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
public WebhookRequest.Builder addMessages(int index, ResponseMessage.Builder builderForValue)
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
public WebhookRequest.Builder addAllMessages(Iterable<? extends ResponseMessage> values)
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
public WebhookRequest.Builder 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
public WebhookRequest.Builder removeMessages(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][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
-
getMessagesBuilder
public ResponseMessage.Builder getMessagesBuilder(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][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
-
getMessagesOrBuilder
public 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][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;- Specified by:
getMessagesOrBuilderin interfaceWebhookRequestOrBuilder
-
getMessagesOrBuilderList
public 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][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;- Specified by:
getMessagesOrBuilderListin interfaceWebhookRequestOrBuilder
-
addMessagesBuilder
public ResponseMessage.Builder 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
public ResponseMessage.Builder addMessagesBuilder(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][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
-
getMessagesBuilderList
public List<ResponseMessage.Builder> 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
public WebhookRequest.Builder setPayload(com.google.protobuf.Struct value)
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
.google.protobuf.Struct payload = 8;
-
setPayload
public WebhookRequest.Builder setPayload(com.google.protobuf.Struct.Builder builderForValue)
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
.google.protobuf.Struct payload = 8;
-
mergePayload
public WebhookRequest.Builder mergePayload(com.google.protobuf.Struct value)
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
.google.protobuf.Struct payload = 8;
-
clearPayload
public WebhookRequest.Builder 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
public 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;- 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
public WebhookRequest.Builder 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
public WebhookRequest.SentimentAnalysisResult.Builder 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
public 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;- Specified by:
getSentimentAnalysisResultOrBuilderin interfaceWebhookRequestOrBuilder
-
setUnknownFields
public final WebhookRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WebhookRequest.Builder>
-
mergeUnknownFields
public final WebhookRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WebhookRequest.Builder>
-
-