Class WebhookRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dialogflow.cx.v3beta1.WebhookRequest
-
- All Implemented Interfaces:
WebhookRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class WebhookRequest extends com.google.protobuf.GeneratedMessageV3 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- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebhookRequest.BuilderThe request message for a webhook call.static classWebhookRequest.FulfillmentInfoRepresents fulfillment information communicated to the webhook.static interfaceWebhookRequest.FulfillmentInfoOrBuilderstatic classWebhookRequest.IntentInfoRepresents intent information communicated to the webhook.static interfaceWebhookRequest.IntentInfoOrBuilderstatic classWebhookRequest.QueryCasestatic classWebhookRequest.SentimentAnalysisResultRepresents the result of sentiment analysis.static interfaceWebhookRequest.SentimentAnalysisResultOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDETECT_INTENT_RESPONSE_ID_FIELD_NUMBERstatic intDTMF_DIGITS_FIELD_NUMBERstatic intFULFILLMENT_INFO_FIELD_NUMBERstatic intINTENT_INFO_FIELD_NUMBERstatic intLANGUAGE_CODE_FIELD_NUMBERstatic intMESSAGES_FIELD_NUMBERstatic intPAGE_INFO_FIELD_NUMBERstatic intPAYLOAD_FIELD_NUMBERstatic intSENTIMENT_ANALYSIS_RESULT_FIELD_NUMBERstatic intSESSION_INFO_FIELD_NUMBERstatic intTEXT_FIELD_NUMBERstatic intTRANSCRIPT_FIELD_NUMBERstatic intTRIGGER_EVENT_FIELD_NUMBERstatic intTRIGGER_INTENT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static WebhookRequestgetDefaultInstance()WebhookRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.FulfillmentInfoOrBuildergetFulfillmentInfoOrBuilder()Always present.WebhookRequest.IntentInfogetIntentInfo()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.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.PageInfoOrBuildergetPageInfoOrBuilder()Information about page status.com.google.protobuf.Parser<WebhookRequest>getParserForType()com.google.protobuf.StructgetPayload()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.SentimentAnalysisResultOrBuildergetSentimentAnalysisResultOrBuilder()The sentiment analysis result of the current user request.intgetSerializedSize()SessionInfogetSessionInfo()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.inthashCode()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()static WebhookRequest.BuildernewBuilder()static WebhookRequest.BuildernewBuilder(WebhookRequest prototype)WebhookRequest.BuildernewBuilderForType()protected WebhookRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static WebhookRequestparseDelimitedFrom(InputStream input)static WebhookRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WebhookRequestparseFrom(byte[] data)static WebhookRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WebhookRequestparseFrom(com.google.protobuf.ByteString data)static WebhookRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WebhookRequestparseFrom(com.google.protobuf.CodedInputStream input)static WebhookRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WebhookRequestparseFrom(InputStream input)static WebhookRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WebhookRequestparseFrom(ByteBuffer data)static WebhookRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<WebhookRequest>parser()WebhookRequest.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DETECT_INTENT_RESPONSE_ID_FIELD_NUMBER
public static final int DETECT_INTENT_RESPONSE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRIGGER_INTENT_FIELD_NUMBER
public static final int TRIGGER_INTENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRANSCRIPT_FIELD_NUMBER
public static final int TRANSCRIPT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRIGGER_EVENT_FIELD_NUMBER
public static final int TRIGGER_EVENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DTMF_DIGITS_FIELD_NUMBER
public static final int DTMF_DIGITS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LANGUAGE_CODE_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FULFILLMENT_INFO_FIELD_NUMBER
public static final int FULFILLMENT_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTENT_INFO_FIELD_NUMBER
public static final int INTENT_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAGE_INFO_FIELD_NUMBER
public static final int PAGE_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SESSION_INFO_FIELD_NUMBER
public static final int SESSION_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MESSAGES_FIELD_NUMBER
public static final int MESSAGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SENTIMENT_ANALYSIS_RESULT_FIELD_NUMBER
public static final int SENTIMENT_ANALYSIS_RESULT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getQueryCase
public WebhookRequest.QueryCase getQueryCase()
- Specified by:
getQueryCasein interfaceWebhookRequestOrBuilder
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static WebhookRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WebhookRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WebhookRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WebhookRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WebhookRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WebhookRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WebhookRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static WebhookRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static WebhookRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static WebhookRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static WebhookRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static WebhookRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public WebhookRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static WebhookRequest.Builder newBuilder()
-
newBuilder
public static WebhookRequest.Builder newBuilder(WebhookRequest prototype)
-
toBuilder
public WebhookRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected WebhookRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static WebhookRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<WebhookRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<WebhookRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public WebhookRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-