Class WebhookRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
public final class WebhookRequest
extends com.google.protobuf.GeneratedMessage
implements WebhookRequestOrBuilder
The request message for a webhook call. The request is sent as a JSON object and the field names will be presented in camel cases. You may see undocumented fields in an actual request. These fields are used internally by Dialogflow and should be ignored.Protobuf type
google.cloud.dialogflow.cx.v3beta1.WebhookRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe request message for a webhook call.static final classRepresents fulfillment information communicated to the webhook.static interfacestatic final classRepresents intent information communicated to the webhook.static interfacestatic enumstatic final classRepresents the result of sentiment analysis.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic WebhookRequeststatic final com.google.protobuf.Descriptors.DescriptorAlways present.com.google.protobuf.ByteStringAlways present.If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain the DTMF digits.com.google.protobuf.ByteStringIf [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain the DTMF digits.Always present.Always present.Information about the last matched intent.Information about the last matched intent.The language code specified in the [original request][QueryInput.language_code].com.google.protobuf.ByteStringThe language code specified in the [original request][QueryInput.language_code].Information about the language of the request.Information about the language of the request.getMessages(int index) The list of rich message responses to present to the user.intThe list of rich message responses to present to the user.The list of rich message responses to present to the user.getMessagesOrBuilder(int index) The list of rich message responses to present to the user.List<? extends ResponseMessageOrBuilder>The list of rich message responses to present to the user.Information about page status.Information about page status.com.google.protobuf.Parser<WebhookRequest>com.google.protobuf.StructCustom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].com.google.protobuf.StructOrBuilderCustom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].The sentiment analysis result of the current user request.The sentiment analysis result of the current user request.intInformation about session status.Information about session status.getText()If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.com.google.protobuf.ByteStringIf [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.com.google.protobuf.ByteStringIf [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.com.google.protobuf.ByteStringIf an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.com.google.protobuf.ByteStringIf an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.booleanIf [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain the DTMF digits.booleanAlways present.inthashCode()booleanInformation about the last matched intent.booleanInformation about the language of the request.booleanInformation about page status.booleanCustom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].booleanThe sentiment analysis result of the current user request.booleanInformation about session status.booleanhasText()If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput] was provided as input, this field will contain a copy of the text.booleanIf [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.booleanIf an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.booleanIf an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic WebhookRequest.Builderstatic WebhookRequest.BuildernewBuilder(WebhookRequest prototype) protected WebhookRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
DETECT_INTENT_RESPONSE_ID_FIELD_NUMBER
public static final int DETECT_INTENT_RESPONSE_ID_FIELD_NUMBER- See Also:
-
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER- See Also:
-
TRIGGER_INTENT_FIELD_NUMBER
public static final int TRIGGER_INTENT_FIELD_NUMBER- See Also:
-
TRANSCRIPT_FIELD_NUMBER
public static final int TRANSCRIPT_FIELD_NUMBER- See Also:
-
TRIGGER_EVENT_FIELD_NUMBER
public static final int TRIGGER_EVENT_FIELD_NUMBER- See Also:
-
DTMF_DIGITS_FIELD_NUMBER
public static final int DTMF_DIGITS_FIELD_NUMBER- See Also:
-
LANGUAGE_CODE_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER- See Also:
-
FULFILLMENT_INFO_FIELD_NUMBER
public static final int FULFILLMENT_INFO_FIELD_NUMBER- See Also:
-
INTENT_INFO_FIELD_NUMBER
public static final int INTENT_INFO_FIELD_NUMBER- See Also:
-
PAGE_INFO_FIELD_NUMBER
public static final int PAGE_INFO_FIELD_NUMBER- See Also:
-
SESSION_INFO_FIELD_NUMBER
public static final int SESSION_INFO_FIELD_NUMBER- See Also:
-
MESSAGES_FIELD_NUMBER
public static final int MESSAGES_FIELD_NUMBER- See Also:
-
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER- See Also:
-
SENTIMENT_ANALYSIS_RESULT_FIELD_NUMBER
public static final int SENTIMENT_ANALYSIS_RESULT_FIELD_NUMBER- See Also:
-
LANGUAGE_INFO_FIELD_NUMBER
public static final int LANGUAGE_INFO_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getQueryCase
- Specified by:
getQueryCasein interfaceWebhookRequestOrBuilder
-
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
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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }- Specified by:
hasTriggerIntentin interfaceWebhookRequestOrBuilder- Returns:
- Whether the triggerIntent field is set.
-
getTriggerIntent
If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }- Specified by:
getTriggerIntentin interfaceWebhookRequestOrBuilder- Returns:
- The triggerIntent.
-
getTriggerIntentBytes
public com.google.protobuf.ByteString getTriggerIntentBytes()If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was provided as input, this field will contain a copy of the intent identifier. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
string trigger_intent = 11 [(.google.api.resource_reference) = { ... }- Specified by:
getTriggerIntentBytesin interfaceWebhookRequestOrBuilder- Returns:
- The bytes for triggerIntent.
-
hasTranscript
public boolean hasTranscript()If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.
string transcript = 12;- Specified by:
hasTranscriptin interfaceWebhookRequestOrBuilder- Returns:
- Whether the transcript field is set.
-
getTranscript
If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.
string transcript = 12;- Specified by:
getTranscriptin interfaceWebhookRequestOrBuilder- Returns:
- The transcript.
-
getTranscriptBytes
public com.google.protobuf.ByteString getTranscriptBytes()If [natural language speech audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as input, this field will contain the transcript for the audio.
string transcript = 12;- Specified by:
getTranscriptBytesin interfaceWebhookRequestOrBuilder- Returns:
- The bytes for transcript.
-
hasTriggerEvent
public boolean hasTriggerEvent()If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.
string trigger_event = 14;- Specified by:
hasTriggerEventin interfaceWebhookRequestOrBuilder- Returns:
- Whether the triggerEvent field is set.
-
getTriggerEvent
If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.
string trigger_event = 14;- Specified by:
getTriggerEventin interfaceWebhookRequestOrBuilder- Returns:
- The triggerEvent.
-
getTriggerEventBytes
public com.google.protobuf.ByteString getTriggerEventBytes()If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided as input, this field will contain the name of the event.
string trigger_event = 14;- Specified by:
getTriggerEventBytesin interfaceWebhookRequestOrBuilder- Returns:
- The bytes for triggerEvent.
-
hasDtmfDigits
public boolean hasDtmfDigits()If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain the DTMF digits.
string dtmf_digits = 17;- Specified by:
hasDtmfDigitsin interfaceWebhookRequestOrBuilder- Returns:
- Whether the dtmfDigits field is set.
-
getDtmfDigits
If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain the DTMF digits.
string dtmf_digits = 17;- Specified by:
getDtmfDigitsin interfaceWebhookRequestOrBuilder- Returns:
- The dtmfDigits.
-
getDtmfDigitsBytes
public com.google.protobuf.ByteString getDtmfDigitsBytes()If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as input, this field will contain the DTMF digits.
string dtmf_digits = 17;- Specified by:
getDtmfDigitsBytesin interfaceWebhookRequestOrBuilder- Returns:
- The bytes for dtmfDigits.
-
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
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
Always present. Information about the fulfillment that triggered this webhook call.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;- Specified by:
getFulfillmentInfoOrBuilderin interfaceWebhookRequestOrBuilder
-
hasIntentInfo
public boolean hasIntentInfo()Information about the last matched intent.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;- Specified by:
hasIntentInfoin interfaceWebhookRequestOrBuilder- Returns:
- Whether the intentInfo field is set.
-
getIntentInfo
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;- Specified by:
getIntentInfoin interfaceWebhookRequestOrBuilder- Returns:
- The intentInfo.
-
getIntentInfoOrBuilder
Information about the last matched intent.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;- Specified by:
getIntentInfoOrBuilderin interfaceWebhookRequestOrBuilder
-
hasPageInfo
public boolean hasPageInfo()Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;- Specified by:
hasPageInfoin interfaceWebhookRequestOrBuilder- Returns:
- Whether the pageInfo field is set.
-
getPageInfo
Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;- Specified by:
getPageInfoin interfaceWebhookRequestOrBuilder- Returns:
- The pageInfo.
-
getPageInfoOrBuilder
Information about page status.
.google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;- Specified by:
getPageInfoOrBuilderin interfaceWebhookRequestOrBuilder
-
hasSessionInfo
public boolean hasSessionInfo()Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;- Specified by:
hasSessionInfoin interfaceWebhookRequestOrBuilder- Returns:
- Whether the sessionInfo field is set.
-
getSessionInfo
Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;- Specified by:
getSessionInfoin interfaceWebhookRequestOrBuilder- Returns:
- The sessionInfo.
-
getSessionInfoOrBuilder
Information about session status.
.google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;- Specified by:
getSessionInfoOrBuilderin interfaceWebhookRequestOrBuilder
-
getMessagesList
The list of rich message responses to present to the user. Webhook can choose to append or replace this list in [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;- Specified by:
getMessagesListin interfaceWebhookRequestOrBuilder
-
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
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
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
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
The sentiment analysis result of the current user request. The field is filled when sentiment analysis is configured to be enabled for the request.
.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;- Specified by:
getSentimentAnalysisResultOrBuilderin interfaceWebhookRequestOrBuilder
-
hasLanguageInfo
public boolean hasLanguageInfo()Information about the language of the request.
.google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18;- Specified by:
hasLanguageInfoin interfaceWebhookRequestOrBuilder- Returns:
- Whether the languageInfo field is set.
-
getLanguageInfo
Information about the language of the request.
.google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18;- Specified by:
getLanguageInfoin interfaceWebhookRequestOrBuilder- Returns:
- The languageInfo.
-
getLanguageInfoOrBuilder
Information about the language of the request.
.google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18;- Specified by:
getLanguageInfoOrBuilderin interfaceWebhookRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Throws:
IOException
-
parseFrom
public static WebhookRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected WebhookRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-