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.v3.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.v3.WebhookRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WebhookRequest.Builder
addAllMessages(Iterable<? extends ResponseMessage> values)
The list of rich message responses to present to the user.WebhookRequest.Builder
addMessages(int index, ResponseMessage value)
The list of rich message responses to present to the user.WebhookRequest.Builder
addMessages(int index, ResponseMessage.Builder builderForValue)
The list of rich message responses to present to the user.WebhookRequest.Builder
addMessages(ResponseMessage value)
The list of rich message responses to present to the user.WebhookRequest.Builder
addMessages(ResponseMessage.Builder builderForValue)
The list of rich message responses to present to the user.ResponseMessage.Builder
addMessagesBuilder()
The list of rich message responses to present to the user.ResponseMessage.Builder
addMessagesBuilder(int index)
The list of rich message responses to present to the user.WebhookRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
WebhookRequest
build()
WebhookRequest
buildPartial()
WebhookRequest.Builder
clear()
WebhookRequest.Builder
clearDetectIntentResponseId()
Always present.WebhookRequest.Builder
clearDtmfDigits()
If [DTMF][google.cloud.dialogflow.cx.v3.DtmfInput] was provided as input, this field will contain the DTMF digits.WebhookRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
WebhookRequest.Builder
clearFulfillmentInfo()
Always present.WebhookRequest.Builder
clearIntentInfo()
Information about the last matched intent.WebhookRequest.Builder
clearLanguageCode()
The language code specified in the [original request][QueryInput.language_code].WebhookRequest.Builder
clearMessages()
The list of rich message responses to present to the user.WebhookRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
WebhookRequest.Builder
clearPageInfo()
Information about page status.WebhookRequest.Builder
clearPayload()
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3.QueryParameters.payload].WebhookRequest.Builder
clearQuery()
WebhookRequest.Builder
clearSentimentAnalysisResult()
The sentiment analysis result of the current user request.WebhookRequest.Builder
clearSessionInfo()
Information about session status.WebhookRequest.Builder
clearText()
If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field will contain a copy of the text.WebhookRequest.Builder
clearTranscript()
If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, this field will contain the transcript for the audio.WebhookRequest.Builder
clearTriggerEvent()
If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain the name of the event.WebhookRequest.Builder
clearTriggerIntent()
If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will contain a copy of the intent identifier.WebhookRequest.Builder
clone()
WebhookRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDetectIntentResponseId()
Always present.com.google.protobuf.ByteString
getDetectIntentResponseIdBytes()
Always present.String
getDtmfDigits()
If [DTMF][google.cloud.dialogflow.cx.v3.DtmfInput] was provided as input, this field will contain the DTMF digits.com.google.protobuf.ByteString
getDtmfDigitsBytes()
If [DTMF][google.cloud.dialogflow.cx.v3.DtmfInput] was provided as input, this field will contain the DTMF digits.WebhookRequest.FulfillmentInfo
getFulfillmentInfo()
Always present.WebhookRequest.FulfillmentInfo.Builder
getFulfillmentInfoBuilder()
Always present.WebhookRequest.FulfillmentInfoOrBuilder
getFulfillmentInfoOrBuilder()
Always present.WebhookRequest.IntentInfo
getIntentInfo()
Information about the last matched intent.WebhookRequest.IntentInfo.Builder
getIntentInfoBuilder()
Information about the last matched intent.WebhookRequest.IntentInfoOrBuilder
getIntentInfoOrBuilder()
Information about the last matched intent.String
getLanguageCode()
The language code specified in the [original request][QueryInput.language_code].com.google.protobuf.ByteString
getLanguageCodeBytes()
The language code specified in the [original request][QueryInput.language_code].ResponseMessage
getMessages(int index)
The list of rich message responses to present to the user.ResponseMessage.Builder
getMessagesBuilder(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.int
getMessagesCount()
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.ResponseMessageOrBuilder
getMessagesOrBuilder(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.PageInfo
getPageInfo()
Information about page status.PageInfo.Builder
getPageInfoBuilder()
Information about page status.PageInfoOrBuilder
getPageInfoOrBuilder()
Information about page status.com.google.protobuf.Struct
getPayload()
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3.QueryParameters.payload].com.google.protobuf.Struct.Builder
getPayloadBuilder()
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3.QueryParameters.payload].com.google.protobuf.StructOrBuilder
getPayloadOrBuilder()
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3.QueryParameters.payload].WebhookRequest.QueryCase
getQueryCase()
WebhookRequest.SentimentAnalysisResult
getSentimentAnalysisResult()
The sentiment analysis result of the current user request.WebhookRequest.SentimentAnalysisResult.Builder
getSentimentAnalysisResultBuilder()
The sentiment analysis result of the current user request.WebhookRequest.SentimentAnalysisResultOrBuilder
getSentimentAnalysisResultOrBuilder()
The sentiment analysis result of the current user request.SessionInfo
getSessionInfo()
Information about session status.SessionInfo.Builder
getSessionInfoBuilder()
Information about session status.SessionInfoOrBuilder
getSessionInfoOrBuilder()
Information about session status.String
getText()
If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field will contain a copy of the text.com.google.protobuf.ByteString
getTextBytes()
If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field will contain a copy of the text.String
getTranscript()
If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, this field will contain the transcript for the audio.com.google.protobuf.ByteString
getTranscriptBytes()
If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, this field will contain the transcript for the audio.String
getTriggerEvent()
If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain the name of the event.com.google.protobuf.ByteString
getTriggerEventBytes()
If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain the name of the event.String
getTriggerIntent()
If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will contain a copy of the intent identifier.com.google.protobuf.ByteString
getTriggerIntentBytes()
If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will contain a copy of the intent identifier.boolean
hasDtmfDigits()
If [DTMF][google.cloud.dialogflow.cx.v3.DtmfInput] was provided as input, this field will contain the DTMF digits.boolean
hasFulfillmentInfo()
Always present.boolean
hasIntentInfo()
Information about the last matched intent.boolean
hasPageInfo()
Information about page status.boolean
hasPayload()
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3.QueryParameters.payload].boolean
hasSentimentAnalysisResult()
The sentiment analysis result of the current user request.boolean
hasSessionInfo()
Information about session status.boolean
hasText()
If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field will contain a copy of the text.boolean
hasTranscript()
If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, this field will contain the transcript for the audio.boolean
hasTriggerEvent()
If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain the name of the event.boolean
hasTriggerIntent()
If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will contain a copy of the intent identifier.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
WebhookRequest.Builder
mergeFrom(WebhookRequest other)
WebhookRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
WebhookRequest.Builder
mergeFrom(com.google.protobuf.Message other)
WebhookRequest.Builder
mergeFulfillmentInfo(WebhookRequest.FulfillmentInfo value)
Always present.WebhookRequest.Builder
mergeIntentInfo(WebhookRequest.IntentInfo value)
Information about the last matched intent.WebhookRequest.Builder
mergePageInfo(PageInfo value)
Information about page status.WebhookRequest.Builder
mergePayload(com.google.protobuf.Struct value)
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3.QueryParameters.payload].WebhookRequest.Builder
mergeSentimentAnalysisResult(WebhookRequest.SentimentAnalysisResult value)
The sentiment analysis result of the current user request.WebhookRequest.Builder
mergeSessionInfo(SessionInfo value)
Information about session status.WebhookRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
WebhookRequest.Builder
removeMessages(int index)
The list of rich message responses to present to the user.WebhookRequest.Builder
setDetectIntentResponseId(String value)
Always present.WebhookRequest.Builder
setDetectIntentResponseIdBytes(com.google.protobuf.ByteString value)
Always present.WebhookRequest.Builder
setDtmfDigits(String value)
If [DTMF][google.cloud.dialogflow.cx.v3.DtmfInput] was provided as input, this field will contain the DTMF digits.WebhookRequest.Builder
setDtmfDigitsBytes(com.google.protobuf.ByteString value)
If [DTMF][google.cloud.dialogflow.cx.v3.DtmfInput] was provided as input, this field will contain the DTMF digits.WebhookRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
WebhookRequest.Builder
setFulfillmentInfo(WebhookRequest.FulfillmentInfo value)
Always present.WebhookRequest.Builder
setFulfillmentInfo(WebhookRequest.FulfillmentInfo.Builder builderForValue)
Always present.WebhookRequest.Builder
setIntentInfo(WebhookRequest.IntentInfo value)
Information about the last matched intent.WebhookRequest.Builder
setIntentInfo(WebhookRequest.IntentInfo.Builder builderForValue)
Information about the last matched intent.WebhookRequest.Builder
setLanguageCode(String value)
The language code specified in the [original request][QueryInput.language_code].WebhookRequest.Builder
setLanguageCodeBytes(com.google.protobuf.ByteString value)
The language code specified in the [original request][QueryInput.language_code].WebhookRequest.Builder
setMessages(int index, ResponseMessage value)
The list of rich message responses to present to the user.WebhookRequest.Builder
setMessages(int index, ResponseMessage.Builder builderForValue)
The list of rich message responses to present to the user.WebhookRequest.Builder
setPageInfo(PageInfo value)
Information about page status.WebhookRequest.Builder
setPageInfo(PageInfo.Builder builderForValue)
Information about page status.WebhookRequest.Builder
setPayload(com.google.protobuf.Struct value)
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3.QueryParameters.payload].WebhookRequest.Builder
setPayload(com.google.protobuf.Struct.Builder builderForValue)
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3.QueryParameters.payload].WebhookRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
WebhookRequest.Builder
setSentimentAnalysisResult(WebhookRequest.SentimentAnalysisResult value)
The sentiment analysis result of the current user request.WebhookRequest.Builder
setSentimentAnalysisResult(WebhookRequest.SentimentAnalysisResult.Builder builderForValue)
The sentiment analysis result of the current user request.WebhookRequest.Builder
setSessionInfo(SessionInfo value)
Information about session status.WebhookRequest.Builder
setSessionInfo(SessionInfo.Builder builderForValue)
Information about session status.WebhookRequest.Builder
setText(String value)
If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field will contain a copy of the text.WebhookRequest.Builder
setTextBytes(com.google.protobuf.ByteString value)
If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field will contain a copy of the text.WebhookRequest.Builder
setTranscript(String value)
If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, this field will contain the transcript for the audio.WebhookRequest.Builder
setTranscriptBytes(com.google.protobuf.ByteString value)
If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, this field will contain the transcript for the audio.WebhookRequest.Builder
setTriggerEvent(String value)
If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain the name of the event.WebhookRequest.Builder
setTriggerEventBytes(com.google.protobuf.ByteString value)
If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain the name of the event.WebhookRequest.Builder
setTriggerIntent(String value)
If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will contain a copy of the intent identifier.WebhookRequest.Builder
setTriggerIntentBytes(com.google.protobuf.ByteString value)
If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will contain a copy of the intent identifier.WebhookRequest.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<WebhookRequest.Builder>
-
clear
public WebhookRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<WebhookRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<WebhookRequest.Builder>
-
getDefaultInstanceForType
public WebhookRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public WebhookRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WebhookRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WebhookRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<WebhookRequest.Builder>
-
setField
public WebhookRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WebhookRequest.Builder>
-
clearField
public WebhookRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WebhookRequest.Builder>
-
clearOneof
public WebhookRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<WebhookRequest.Builder>
-
setRepeatedField
public WebhookRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WebhookRequest.Builder>
-
addRepeatedField
public WebhookRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WebhookRequest.Builder>
-
mergeFrom
public WebhookRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<WebhookRequest.Builder>
-
mergeFrom
public WebhookRequest.Builder mergeFrom(WebhookRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<WebhookRequest.Builder>
- Throws:
IOException
-
getQueryCase
public WebhookRequest.QueryCase getQueryCase()
- Specified by:
getQueryCase
in interfaceWebhookRequestOrBuilder
-
clearQuery
public WebhookRequest.Builder clearQuery()
-
getDetectIntentResponseId
public String getDetectIntentResponseId()
Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3.DetectIntentResponse] that will be returned to the API caller.
string detect_intent_response_id = 1;
- Specified by:
getDetectIntentResponseId
in interfaceWebhookRequestOrBuilder
- Returns:
- The detectIntentResponseId.
-
getDetectIntentResponseIdBytes
public com.google.protobuf.ByteString getDetectIntentResponseIdBytes()
Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3.DetectIntentResponse] that will be returned to the API caller.
string detect_intent_response_id = 1;
- Specified by:
getDetectIntentResponseIdBytes
in 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.v3.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.v3.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.v3.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.v3.TextInput] was provided as input, this field will contain a copy of the text.
string text = 10;
- Specified by:
hasText
in interfaceWebhookRequestOrBuilder
- Returns:
- Whether the text field is set.
-
getText
public String getText()
If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field will contain a copy of the text.
string text = 10;
- Specified by:
getText
in interfaceWebhookRequestOrBuilder
- Returns:
- The text.
-
getTextBytes
public com.google.protobuf.ByteString getTextBytes()
If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field will contain a copy of the text.
string text = 10;
- Specified by:
getTextBytes
in interfaceWebhookRequestOrBuilder
- Returns:
- The bytes for text.
-
setText
public WebhookRequest.Builder setText(String value)
If [natural language text][google.cloud.dialogflow.cx.v3.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.v3.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.v3.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.v3.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:
hasTriggerIntent
in interfaceWebhookRequestOrBuilder
- Returns:
- Whether the triggerIntent field is set.
-
getTriggerIntent
public String getTriggerIntent()
If an [intent][google.cloud.dialogflow.cx.v3.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:
getTriggerIntent
in interfaceWebhookRequestOrBuilder
- Returns:
- The triggerIntent.
-
getTriggerIntentBytes
public com.google.protobuf.ByteString getTriggerIntentBytes()
If an [intent][google.cloud.dialogflow.cx.v3.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:
getTriggerIntentBytes
in interfaceWebhookRequestOrBuilder
- Returns:
- The bytes for triggerIntent.
-
setTriggerIntent
public WebhookRequest.Builder setTriggerIntent(String value)
If an [intent][google.cloud.dialogflow.cx.v3.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.v3.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.v3.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.v3.AudioInput] was provided as input, this field will contain the transcript for the audio.
string transcript = 12;
- Specified by:
hasTranscript
in interfaceWebhookRequestOrBuilder
- Returns:
- Whether the transcript field is set.
-
getTranscript
public String getTranscript()
If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, this field will contain the transcript for the audio.
string transcript = 12;
- Specified by:
getTranscript
in interfaceWebhookRequestOrBuilder
- Returns:
- The transcript.
-
getTranscriptBytes
public com.google.protobuf.ByteString getTranscriptBytes()
If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, this field will contain the transcript for the audio.
string transcript = 12;
- Specified by:
getTranscriptBytes
in interfaceWebhookRequestOrBuilder
- Returns:
- The bytes for transcript.
-
setTranscript
public WebhookRequest.Builder setTranscript(String value)
If [natural language speech audio][google.cloud.dialogflow.cx.v3.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.v3.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.v3.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.v3.EventInput] was provided as input, this field will contain the name of the event.
string trigger_event = 14;
- Specified by:
hasTriggerEvent
in interfaceWebhookRequestOrBuilder
- Returns:
- Whether the triggerEvent field is set.
-
getTriggerEvent
public String getTriggerEvent()
If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain the name of the event.
string trigger_event = 14;
- Specified by:
getTriggerEvent
in interfaceWebhookRequestOrBuilder
- Returns:
- The triggerEvent.
-
getTriggerEventBytes
public com.google.protobuf.ByteString getTriggerEventBytes()
If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain the name of the event.
string trigger_event = 14;
- Specified by:
getTriggerEventBytes
in interfaceWebhookRequestOrBuilder
- Returns:
- The bytes for triggerEvent.
-
setTriggerEvent
public WebhookRequest.Builder setTriggerEvent(String value)
If an [event][google.cloud.dialogflow.cx.v3.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.v3.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.v3.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.v3.DtmfInput] was provided as input, this field will contain the DTMF digits.
string dtmf_digits = 17;
- Specified by:
hasDtmfDigits
in interfaceWebhookRequestOrBuilder
- Returns:
- Whether the dtmfDigits field is set.
-
getDtmfDigits
public String getDtmfDigits()
If [DTMF][google.cloud.dialogflow.cx.v3.DtmfInput] was provided as input, this field will contain the DTMF digits.
string dtmf_digits = 17;
- Specified by:
getDtmfDigits
in interfaceWebhookRequestOrBuilder
- Returns:
- The dtmfDigits.
-
getDtmfDigitsBytes
public com.google.protobuf.ByteString getDtmfDigitsBytes()
If [DTMF][google.cloud.dialogflow.cx.v3.DtmfInput] was provided as input, this field will contain the DTMF digits.
string dtmf_digits = 17;
- Specified by:
getDtmfDigitsBytes
in interfaceWebhookRequestOrBuilder
- Returns:
- The bytes for dtmfDigits.
-
setDtmfDigits
public WebhookRequest.Builder setDtmfDigits(String value)
If [DTMF][google.cloud.dialogflow.cx.v3.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.v3.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.v3.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:
getLanguageCode
in 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:
getLanguageCodeBytes
in 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.v3.WebhookRequest.FulfillmentInfo fulfillment_info = 6;
- Specified by:
hasFulfillmentInfo
in 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.v3.WebhookRequest.FulfillmentInfo fulfillment_info = 6;
- Specified by:
getFulfillmentInfo
in 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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.WebhookRequest.FulfillmentInfo fulfillment_info = 6;
- Specified by:
getFulfillmentInfoOrBuilder
in interfaceWebhookRequestOrBuilder
-
hasIntentInfo
public boolean hasIntentInfo()
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo intent_info = 3;
- Specified by:
hasIntentInfo
in interfaceWebhookRequestOrBuilder
- Returns:
- Whether the intentInfo field is set.
-
getIntentInfo
public WebhookRequest.IntentInfo getIntentInfo()
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo intent_info = 3;
- Specified by:
getIntentInfo
in interfaceWebhookRequestOrBuilder
- Returns:
- The intentInfo.
-
setIntentInfo
public WebhookRequest.Builder setIntentInfo(WebhookRequest.IntentInfo value)
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo intent_info = 3;
-
setIntentInfo
public WebhookRequest.Builder setIntentInfo(WebhookRequest.IntentInfo.Builder builderForValue)
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo intent_info = 3;
-
mergeIntentInfo
public WebhookRequest.Builder mergeIntentInfo(WebhookRequest.IntentInfo value)
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo intent_info = 3;
-
clearIntentInfo
public WebhookRequest.Builder clearIntentInfo()
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo intent_info = 3;
-
getIntentInfoBuilder
public WebhookRequest.IntentInfo.Builder getIntentInfoBuilder()
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo intent_info = 3;
-
getIntentInfoOrBuilder
public WebhookRequest.IntentInfoOrBuilder getIntentInfoOrBuilder()
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo intent_info = 3;
- Specified by:
getIntentInfoOrBuilder
in interfaceWebhookRequestOrBuilder
-
hasPageInfo
public boolean hasPageInfo()
Information about page status.
.google.cloud.dialogflow.cx.v3.PageInfo page_info = 4;
- Specified by:
hasPageInfo
in interfaceWebhookRequestOrBuilder
- Returns:
- Whether the pageInfo field is set.
-
getPageInfo
public PageInfo getPageInfo()
Information about page status.
.google.cloud.dialogflow.cx.v3.PageInfo page_info = 4;
- Specified by:
getPageInfo
in interfaceWebhookRequestOrBuilder
- Returns:
- The pageInfo.
-
setPageInfo
public WebhookRequest.Builder setPageInfo(PageInfo value)
Information about page status.
.google.cloud.dialogflow.cx.v3.PageInfo page_info = 4;
-
setPageInfo
public WebhookRequest.Builder setPageInfo(PageInfo.Builder builderForValue)
Information about page status.
.google.cloud.dialogflow.cx.v3.PageInfo page_info = 4;
-
mergePageInfo
public WebhookRequest.Builder mergePageInfo(PageInfo value)
Information about page status.
.google.cloud.dialogflow.cx.v3.PageInfo page_info = 4;
-
clearPageInfo
public WebhookRequest.Builder clearPageInfo()
Information about page status.
.google.cloud.dialogflow.cx.v3.PageInfo page_info = 4;
-
getPageInfoBuilder
public PageInfo.Builder getPageInfoBuilder()
Information about page status.
.google.cloud.dialogflow.cx.v3.PageInfo page_info = 4;
-
getPageInfoOrBuilder
public PageInfoOrBuilder getPageInfoOrBuilder()
Information about page status.
.google.cloud.dialogflow.cx.v3.PageInfo page_info = 4;
- Specified by:
getPageInfoOrBuilder
in interfaceWebhookRequestOrBuilder
-
hasSessionInfo
public boolean hasSessionInfo()
Information about session status.
.google.cloud.dialogflow.cx.v3.SessionInfo session_info = 5;
- Specified by:
hasSessionInfo
in interfaceWebhookRequestOrBuilder
- Returns:
- Whether the sessionInfo field is set.
-
getSessionInfo
public SessionInfo getSessionInfo()
Information about session status.
.google.cloud.dialogflow.cx.v3.SessionInfo session_info = 5;
- Specified by:
getSessionInfo
in interfaceWebhookRequestOrBuilder
- Returns:
- The sessionInfo.
-
setSessionInfo
public WebhookRequest.Builder setSessionInfo(SessionInfo value)
Information about session status.
.google.cloud.dialogflow.cx.v3.SessionInfo session_info = 5;
-
setSessionInfo
public WebhookRequest.Builder setSessionInfo(SessionInfo.Builder builderForValue)
Information about session status.
.google.cloud.dialogflow.cx.v3.SessionInfo session_info = 5;
-
mergeSessionInfo
public WebhookRequest.Builder mergeSessionInfo(SessionInfo value)
Information about session status.
.google.cloud.dialogflow.cx.v3.SessionInfo session_info = 5;
-
clearSessionInfo
public WebhookRequest.Builder clearSessionInfo()
Information about session status.
.google.cloud.dialogflow.cx.v3.SessionInfo session_info = 5;
-
getSessionInfoBuilder
public SessionInfo.Builder getSessionInfoBuilder()
Information about session status.
.google.cloud.dialogflow.cx.v3.SessionInfo session_info = 5;
-
getSessionInfoOrBuilder
public SessionInfoOrBuilder getSessionInfoOrBuilder()
Information about session status.
.google.cloud.dialogflow.cx.v3.SessionInfo session_info = 5;
- Specified by:
getSessionInfoOrBuilder
in 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.v3.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 7;
- Specified by:
getMessagesList
in 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.v3.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 7;
- Specified by:
getMessagesCount
in 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.v3.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 7;
- Specified by:
getMessages
in 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.v3.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3.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.v3.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3.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.v3.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3.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.v3.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3.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.v3.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3.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.v3.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3.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.v3.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3.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.v3.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3.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.v3.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3.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.v3.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3.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.v3.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 7;
- Specified by:
getMessagesOrBuilder
in 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.v3.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 7;
- Specified by:
getMessagesOrBuilderList
in 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.v3.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3.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.v3.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3.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.v3.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage messages = 7;
-
hasPayload
public boolean hasPayload()
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3.QueryParameters.payload].
.google.protobuf.Struct payload = 8;
- Specified by:
hasPayload
in 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.v3.QueryParameters.payload].
.google.protobuf.Struct payload = 8;
- Specified by:
getPayload
in interfaceWebhookRequestOrBuilder
- Returns:
- The payload.
-
setPayload
public WebhookRequest.Builder setPayload(com.google.protobuf.Struct value)
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3.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.v3.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.v3.QueryParameters.payload].
.google.protobuf.Struct payload = 8;
-
clearPayload
public WebhookRequest.Builder clearPayload()
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3.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.v3.QueryParameters.payload].
.google.protobuf.Struct payload = 8;
-
getPayloadOrBuilder
public com.google.protobuf.StructOrBuilder getPayloadOrBuilder()
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3.QueryParameters.payload].
.google.protobuf.Struct payload = 8;
- Specified by:
getPayloadOrBuilder
in 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.v3.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;
- Specified by:
hasSentimentAnalysisResult
in 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.v3.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;
- Specified by:
getSentimentAnalysisResult
in 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.v3.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.v3.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.v3.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.v3.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.v3.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.v3.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;
- Specified by:
getSentimentAnalysisResultOrBuilder
in interfaceWebhookRequestOrBuilder
-
setUnknownFields
public final WebhookRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<WebhookRequest.Builder>
-
mergeUnknownFields
public final WebhookRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<WebhookRequest.Builder>
-
-