Class WebhookRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<WebhookRequest.Builder>
com.google.cloud.dialogflow.cx.v3beta1.WebhookRequest.Builder
All Implemented Interfaces:
WebhookRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
WebhookRequest

public static final class WebhookRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<WebhookRequest.Builder> implements WebhookRequestOrBuilder
 The request message for a webhook call. The request is sent as a JSON object
 and the field names will be presented in camel cases.

 You may see undocumented fields in an actual request. These fields are used
 internally by Dialogflow and should be ignored.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.WebhookRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<WebhookRequest.Builder>
    • clear

      public WebhookRequest.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<WebhookRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<WebhookRequest.Builder>
    • getDefaultInstanceForType

      public WebhookRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public WebhookRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public WebhookRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public WebhookRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WebhookRequest.Builder>
    • mergeFrom

      public WebhookRequest.Builder mergeFrom(WebhookRequest other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<WebhookRequest.Builder>
    • mergeFrom

      public WebhookRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WebhookRequest.Builder>
      Throws:
      IOException
    • getQueryCase

      public WebhookRequest.QueryCase getQueryCase()
      Specified by:
      getQueryCase in interface WebhookRequestOrBuilder
    • clearQuery

      public WebhookRequest.Builder clearQuery()
    • getDetectIntentResponseId

      public String getDetectIntentResponseId()
       Always present. The unique identifier of the
       [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse]
       that will be returned to the API caller.
       
      string detect_intent_response_id = 1;
      Specified by:
      getDetectIntentResponseId in interface WebhookRequestOrBuilder
      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:
      getDetectIntentResponseIdBytes in interface WebhookRequestOrBuilder
      Returns:
      The bytes for detectIntentResponseId.
    • setDetectIntentResponseId

      public WebhookRequest.Builder setDetectIntentResponseId(String value)
       Always present. The unique identifier of the
       [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse]
       that will be returned to the API caller.
       
      string detect_intent_response_id = 1;
      Parameters:
      value - The detectIntentResponseId to set.
      Returns:
      This builder for chaining.
    • clearDetectIntentResponseId

      public WebhookRequest.Builder clearDetectIntentResponseId()
       Always present. The unique identifier of the
       [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse]
       that will be returned to the API caller.
       
      string detect_intent_response_id = 1;
      Returns:
      This builder for chaining.
    • setDetectIntentResponseIdBytes

      public WebhookRequest.Builder setDetectIntentResponseIdBytes(com.google.protobuf.ByteString value)
       Always present. The unique identifier of the
       [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse]
       that will be returned to the API caller.
       
      string detect_intent_response_id = 1;
      Parameters:
      value - The bytes for detectIntentResponseId to set.
      Returns:
      This builder for chaining.
    • hasText

      public boolean hasText()
       If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
       was provided as input, this field will contain a copy of the text.
       
      string text = 10;
      Specified by:
      hasText in interface WebhookRequestOrBuilder
      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:
      getText in interface WebhookRequestOrBuilder
      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:
      getTextBytes in interface WebhookRequestOrBuilder
      Returns:
      The bytes for text.
    • setText

      public WebhookRequest.Builder setText(String value)
       If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
       was provided as input, this field will contain a copy of the text.
       
      string text = 10;
      Parameters:
      value - The text to set.
      Returns:
      This builder for chaining.
    • clearText

      public WebhookRequest.Builder clearText()
       If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
       was provided as input, this field will contain a copy of the text.
       
      string text = 10;
      Returns:
      This builder for chaining.
    • setTextBytes

      public WebhookRequest.Builder setTextBytes(com.google.protobuf.ByteString value)
       If [natural language text][google.cloud.dialogflow.cx.v3beta1.TextInput]
       was provided as input, this field will contain a copy of the text.
       
      string text = 10;
      Parameters:
      value - The bytes for text to set.
      Returns:
      This builder for chaining.
    • hasTriggerIntent

      public boolean hasTriggerIntent()
       If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
       provided as input, this field will contain a copy of the intent
       identifier. Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
       
      string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
      Specified by:
      hasTriggerIntent in interface WebhookRequestOrBuilder
      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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
       
      string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
      Specified by:
      getTriggerIntent in interface WebhookRequestOrBuilder
      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:
      getTriggerIntentBytes in interface WebhookRequestOrBuilder
      Returns:
      The bytes for triggerIntent.
    • setTriggerIntent

      public WebhookRequest.Builder setTriggerIntent(String value)
       If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
       provided as input, this field will contain a copy of the intent
       identifier. Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
       
      string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The triggerIntent to set.
      Returns:
      This builder for chaining.
    • clearTriggerIntent

      public WebhookRequest.Builder clearTriggerIntent()
       If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
       provided as input, this field will contain a copy of the intent
       identifier. Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
       
      string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setTriggerIntentBytes

      public WebhookRequest.Builder setTriggerIntentBytes(com.google.protobuf.ByteString value)
       If an [intent][google.cloud.dialogflow.cx.v3beta1.IntentInput] was
       provided as input, this field will contain a copy of the intent
       identifier. Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`.
       
      string trigger_intent = 11 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for triggerIntent to set.
      Returns:
      This builder for chaining.
    • hasTranscript

      public boolean hasTranscript()
       If [natural language speech
       audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
       input, this field will contain the transcript for the audio.
       
      string transcript = 12;
      Specified by:
      hasTranscript in interface WebhookRequestOrBuilder
      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:
      getTranscript in interface WebhookRequestOrBuilder
      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:
      getTranscriptBytes in interface WebhookRequestOrBuilder
      Returns:
      The bytes for transcript.
    • setTranscript

      public WebhookRequest.Builder setTranscript(String value)
       If [natural language speech
       audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
       input, this field will contain the transcript for the audio.
       
      string transcript = 12;
      Parameters:
      value - The transcript to set.
      Returns:
      This builder for chaining.
    • clearTranscript

      public WebhookRequest.Builder clearTranscript()
       If [natural language speech
       audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
       input, this field will contain the transcript for the audio.
       
      string transcript = 12;
      Returns:
      This builder for chaining.
    • setTranscriptBytes

      public WebhookRequest.Builder setTranscriptBytes(com.google.protobuf.ByteString value)
       If [natural language speech
       audio][google.cloud.dialogflow.cx.v3beta1.AudioInput] was provided as
       input, this field will contain the transcript for the audio.
       
      string transcript = 12;
      Parameters:
      value - The bytes for transcript to set.
      Returns:
      This builder for chaining.
    • hasTriggerEvent

      public boolean hasTriggerEvent()
       If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided
       as input, this field will contain the name of the event.
       
      string trigger_event = 14;
      Specified by:
      hasTriggerEvent in interface WebhookRequestOrBuilder
      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:
      getTriggerEvent in interface WebhookRequestOrBuilder
      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:
      getTriggerEventBytes in interface WebhookRequestOrBuilder
      Returns:
      The bytes for triggerEvent.
    • setTriggerEvent

      public WebhookRequest.Builder setTriggerEvent(String value)
       If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided
       as input, this field will contain the name of the event.
       
      string trigger_event = 14;
      Parameters:
      value - The triggerEvent to set.
      Returns:
      This builder for chaining.
    • clearTriggerEvent

      public WebhookRequest.Builder clearTriggerEvent()
       If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided
       as input, this field will contain the name of the event.
       
      string trigger_event = 14;
      Returns:
      This builder for chaining.
    • setTriggerEventBytes

      public WebhookRequest.Builder setTriggerEventBytes(com.google.protobuf.ByteString value)
       If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided
       as input, this field will contain the name of the event.
       
      string trigger_event = 14;
      Parameters:
      value - The bytes for triggerEvent to set.
      Returns:
      This builder for chaining.
    • hasDtmfDigits

      public boolean hasDtmfDigits()
       If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as
       input, this field will contain the DTMF digits.
       
      string dtmf_digits = 17;
      Specified by:
      hasDtmfDigits in interface WebhookRequestOrBuilder
      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:
      getDtmfDigits in interface WebhookRequestOrBuilder
      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:
      getDtmfDigitsBytes in interface WebhookRequestOrBuilder
      Returns:
      The bytes for dtmfDigits.
    • setDtmfDigits

      public WebhookRequest.Builder setDtmfDigits(String value)
       If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as
       input, this field will contain the DTMF digits.
       
      string dtmf_digits = 17;
      Parameters:
      value - The dtmfDigits to set.
      Returns:
      This builder for chaining.
    • clearDtmfDigits

      public WebhookRequest.Builder clearDtmfDigits()
       If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as
       input, this field will contain the DTMF digits.
       
      string dtmf_digits = 17;
      Returns:
      This builder for chaining.
    • setDtmfDigitsBytes

      public WebhookRequest.Builder setDtmfDigitsBytes(com.google.protobuf.ByteString value)
       If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as
       input, this field will contain the DTMF digits.
       
      string dtmf_digits = 17;
      Parameters:
      value - The bytes for dtmfDigits to set.
      Returns:
      This builder for chaining.
    • getLanguageCode

      public String getLanguageCode()
       The language code specified in the [original
       request][QueryInput.language_code].
       
      string language_code = 15;
      Specified by:
      getLanguageCode in interface WebhookRequestOrBuilder
      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 interface WebhookRequestOrBuilder
      Returns:
      The bytes for languageCode.
    • setLanguageCode

      public WebhookRequest.Builder setLanguageCode(String value)
       The language code specified in the [original
       request][QueryInput.language_code].
       
      string language_code = 15;
      Parameters:
      value - The languageCode to set.
      Returns:
      This builder for chaining.
    • clearLanguageCode

      public WebhookRequest.Builder clearLanguageCode()
       The language code specified in the [original
       request][QueryInput.language_code].
       
      string language_code = 15;
      Returns:
      This builder for chaining.
    • setLanguageCodeBytes

      public WebhookRequest.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
       The language code specified in the [original
       request][QueryInput.language_code].
       
      string language_code = 15;
      Parameters:
      value - The bytes for languageCode to set.
      Returns:
      This builder for chaining.
    • hasFulfillmentInfo

      public boolean hasFulfillmentInfo()
       Always present. Information about the fulfillment that triggered this
       webhook call.
       
      .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;
      Specified by:
      hasFulfillmentInfo in interface WebhookRequestOrBuilder
      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:
      getFulfillmentInfo in interface WebhookRequestOrBuilder
      Returns:
      The fulfillmentInfo.
    • setFulfillmentInfo

      public WebhookRequest.Builder setFulfillmentInfo(WebhookRequest.FulfillmentInfo value)
       Always present. Information about the fulfillment that triggered this
       webhook call.
       
      .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;
    • setFulfillmentInfo

      public WebhookRequest.Builder setFulfillmentInfo(WebhookRequest.FulfillmentInfo.Builder builderForValue)
       Always present. Information about the fulfillment that triggered this
       webhook call.
       
      .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;
    • mergeFulfillmentInfo

      public WebhookRequest.Builder mergeFulfillmentInfo(WebhookRequest.FulfillmentInfo value)
       Always present. Information about the fulfillment that triggered this
       webhook call.
       
      .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;
    • clearFulfillmentInfo

      public WebhookRequest.Builder clearFulfillmentInfo()
       Always present. Information about the fulfillment that triggered this
       webhook call.
       
      .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;
    • getFulfillmentInfoBuilder

      public WebhookRequest.FulfillmentInfo.Builder getFulfillmentInfoBuilder()
       Always present. Information about the fulfillment that triggered this
       webhook call.
       
      .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;
    • getFulfillmentInfoOrBuilder

      public WebhookRequest.FulfillmentInfoOrBuilder getFulfillmentInfoOrBuilder()
       Always present. Information about the fulfillment that triggered this
       webhook call.
       
      .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.FulfillmentInfo fulfillment_info = 6;
      Specified by:
      getFulfillmentInfoOrBuilder in interface WebhookRequestOrBuilder
    • hasIntentInfo

      public boolean hasIntentInfo()
       Information about the last matched intent.
       
      .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;
      Specified by:
      hasIntentInfo in interface WebhookRequestOrBuilder
      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:
      getIntentInfo in interface WebhookRequestOrBuilder
      Returns:
      The intentInfo.
    • setIntentInfo

      public WebhookRequest.Builder setIntentInfo(WebhookRequest.IntentInfo value)
       Information about the last matched intent.
       
      .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;
    • setIntentInfo

      public WebhookRequest.Builder setIntentInfo(WebhookRequest.IntentInfo.Builder builderForValue)
       Information about the last matched intent.
       
      .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;
    • mergeIntentInfo

      public WebhookRequest.Builder mergeIntentInfo(WebhookRequest.IntentInfo value)
       Information about the last matched intent.
       
      .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;
    • clearIntentInfo

      public WebhookRequest.Builder clearIntentInfo()
       Information about the last matched intent.
       
      .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;
    • getIntentInfoBuilder

      public WebhookRequest.IntentInfo.Builder getIntentInfoBuilder()
       Information about the last matched intent.
       
      .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;
    • getIntentInfoOrBuilder

      public WebhookRequest.IntentInfoOrBuilder getIntentInfoOrBuilder()
       Information about the last matched intent.
       
      .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo intent_info = 3;
      Specified by:
      getIntentInfoOrBuilder in interface WebhookRequestOrBuilder
    • hasPageInfo

      public boolean hasPageInfo()
       Information about page status.
       
      .google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;
      Specified by:
      hasPageInfo in interface WebhookRequestOrBuilder
      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:
      getPageInfo in interface WebhookRequestOrBuilder
      Returns:
      The pageInfo.
    • setPageInfo

      public WebhookRequest.Builder setPageInfo(PageInfo value)
       Information about page status.
       
      .google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;
    • setPageInfo

      public WebhookRequest.Builder setPageInfo(PageInfo.Builder builderForValue)
       Information about page status.
       
      .google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;
    • mergePageInfo

      public WebhookRequest.Builder mergePageInfo(PageInfo value)
       Information about page status.
       
      .google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;
    • clearPageInfo

      public WebhookRequest.Builder clearPageInfo()
       Information about page status.
       
      .google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;
    • getPageInfoBuilder

      public PageInfo.Builder getPageInfoBuilder()
       Information about page status.
       
      .google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;
    • getPageInfoOrBuilder

      public PageInfoOrBuilder getPageInfoOrBuilder()
       Information about page status.
       
      .google.cloud.dialogflow.cx.v3beta1.PageInfo page_info = 4;
      Specified by:
      getPageInfoOrBuilder in interface WebhookRequestOrBuilder
    • hasSessionInfo

      public boolean hasSessionInfo()
       Information about session status.
       
      .google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;
      Specified by:
      hasSessionInfo in interface WebhookRequestOrBuilder
      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:
      getSessionInfo in interface WebhookRequestOrBuilder
      Returns:
      The sessionInfo.
    • setSessionInfo

      public WebhookRequest.Builder setSessionInfo(SessionInfo value)
       Information about session status.
       
      .google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;
    • setSessionInfo

      public WebhookRequest.Builder setSessionInfo(SessionInfo.Builder builderForValue)
       Information about session status.
       
      .google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;
    • mergeSessionInfo

      public WebhookRequest.Builder mergeSessionInfo(SessionInfo value)
       Information about session status.
       
      .google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;
    • clearSessionInfo

      public WebhookRequest.Builder clearSessionInfo()
       Information about session status.
       
      .google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;
    • getSessionInfoBuilder

      public SessionInfo.Builder getSessionInfoBuilder()
       Information about session status.
       
      .google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;
    • getSessionInfoOrBuilder

      public SessionInfoOrBuilder getSessionInfoOrBuilder()
       Information about session status.
       
      .google.cloud.dialogflow.cx.v3beta1.SessionInfo session_info = 5;
      Specified by:
      getSessionInfoOrBuilder in interface WebhookRequestOrBuilder
    • 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:
      getMessagesList in interface WebhookRequestOrBuilder
    • 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:
      getMessagesCount in interface WebhookRequestOrBuilder
    • 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:
      getMessages in interface WebhookRequestOrBuilder
    • setMessages

      public WebhookRequest.Builder setMessages(int index, ResponseMessage value)
       The list of rich message responses to present to the user. Webhook can
       choose to append or replace this list in
       [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
    • setMessages

      public WebhookRequest.Builder setMessages(int index, ResponseMessage.Builder builderForValue)
       The list of rich message responses to present to the user. Webhook can
       choose to append or replace this list in
       [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
    • addMessages

      public WebhookRequest.Builder addMessages(ResponseMessage value)
       The list of rich message responses to present to the user. Webhook can
       choose to append or replace this list in
       [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
    • addMessages

      public WebhookRequest.Builder addMessages(int index, ResponseMessage value)
       The list of rich message responses to present to the user. Webhook can
       choose to append or replace this list in
       [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
    • addMessages

      public WebhookRequest.Builder addMessages(ResponseMessage.Builder builderForValue)
       The list of rich message responses to present to the user. Webhook can
       choose to append or replace this list in
       [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
    • addMessages

      public WebhookRequest.Builder addMessages(int index, ResponseMessage.Builder builderForValue)
       The list of rich message responses to present to the user. Webhook can
       choose to append or replace this list in
       [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
    • addAllMessages

      public WebhookRequest.Builder addAllMessages(Iterable<? extends ResponseMessage> values)
       The list of rich message responses to present to the user. Webhook can
       choose to append or replace this list in
       [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
    • clearMessages

      public WebhookRequest.Builder clearMessages()
       The list of rich message responses to present to the user. Webhook can
       choose to append or replace this list in
       [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
    • removeMessages

      public WebhookRequest.Builder removeMessages(int index)
       The list of rich message responses to present to the user. Webhook can
       choose to append or replace this list in
       [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
    • getMessagesBuilder

      public ResponseMessage.Builder getMessagesBuilder(int index)
       The list of rich message responses to present to the user. Webhook can
       choose to append or replace this list in
       [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
    • getMessagesOrBuilder

      public ResponseMessageOrBuilder getMessagesOrBuilder(int index)
       The list of rich message responses to present to the user. Webhook can
       choose to append or replace this list in
       [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
      Specified by:
      getMessagesOrBuilder in interface WebhookRequestOrBuilder
    • 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:
      getMessagesOrBuilderList in interface WebhookRequestOrBuilder
    • addMessagesBuilder

      public ResponseMessage.Builder addMessagesBuilder()
       The list of rich message responses to present to the user. Webhook can
       choose to append or replace this list in
       [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
    • addMessagesBuilder

      public ResponseMessage.Builder addMessagesBuilder(int index)
       The list of rich message responses to present to the user. Webhook can
       choose to append or replace this list in
       [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
    • getMessagesBuilderList

      public List<ResponseMessage.Builder> getMessagesBuilderList()
       The list of rich message responses to present to the user. Webhook can
       choose to append or replace this list in
       [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3beta1.WebhookResponse.fulfillment_response];
       
      repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage messages = 7;
    • hasPayload

      public boolean hasPayload()
       Custom data set in
       [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
       
      .google.protobuf.Struct payload = 8;
      Specified by:
      hasPayload in interface WebhookRequestOrBuilder
      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:
      getPayload in interface WebhookRequestOrBuilder
      Returns:
      The payload.
    • setPayload

      public WebhookRequest.Builder setPayload(com.google.protobuf.Struct value)
       Custom data set in
       [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
       
      .google.protobuf.Struct payload = 8;
    • setPayload

      public WebhookRequest.Builder setPayload(com.google.protobuf.Struct.Builder builderForValue)
       Custom data set in
       [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
       
      .google.protobuf.Struct payload = 8;
    • mergePayload

      public WebhookRequest.Builder mergePayload(com.google.protobuf.Struct value)
       Custom data set in
       [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
       
      .google.protobuf.Struct payload = 8;
    • clearPayload

      public WebhookRequest.Builder clearPayload()
       Custom data set in
       [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
       
      .google.protobuf.Struct payload = 8;
    • getPayloadBuilder

      public com.google.protobuf.Struct.Builder getPayloadBuilder()
       Custom data set in
       [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
       
      .google.protobuf.Struct payload = 8;
    • getPayloadOrBuilder

      public com.google.protobuf.StructOrBuilder getPayloadOrBuilder()
       Custom data set in
       [QueryParameters.payload][google.cloud.dialogflow.cx.v3beta1.QueryParameters.payload].
       
      .google.protobuf.Struct payload = 8;
      Specified by:
      getPayloadOrBuilder in interface WebhookRequestOrBuilder
    • 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:
      hasSentimentAnalysisResult in interface WebhookRequestOrBuilder
      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:
      getSentimentAnalysisResult in interface WebhookRequestOrBuilder
      Returns:
      The sentimentAnalysisResult.
    • setSentimentAnalysisResult

      public WebhookRequest.Builder setSentimentAnalysisResult(WebhookRequest.SentimentAnalysisResult value)
       The sentiment analysis result of the current user request. The field is
       filled when sentiment analysis is configured to be enabled for the request.
       
      .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;
    • setSentimentAnalysisResult

      public WebhookRequest.Builder setSentimentAnalysisResult(WebhookRequest.SentimentAnalysisResult.Builder builderForValue)
       The sentiment analysis result of the current user request. The field is
       filled when sentiment analysis is configured to be enabled for the request.
       
      .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;
    • mergeSentimentAnalysisResult

      public WebhookRequest.Builder mergeSentimentAnalysisResult(WebhookRequest.SentimentAnalysisResult value)
       The sentiment analysis result of the current user request. The field is
       filled when sentiment analysis is configured to be enabled for the request.
       
      .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;
    • clearSentimentAnalysisResult

      public WebhookRequest.Builder clearSentimentAnalysisResult()
       The sentiment analysis result of the current user request. The field is
       filled when sentiment analysis is configured to be enabled for the request.
       
      .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;
    • getSentimentAnalysisResultBuilder

      public WebhookRequest.SentimentAnalysisResult.Builder getSentimentAnalysisResultBuilder()
       The sentiment analysis result of the current user request. The field is
       filled when sentiment analysis is configured to be enabled for the request.
       
      .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;
    • getSentimentAnalysisResultOrBuilder

      public WebhookRequest.SentimentAnalysisResultOrBuilder getSentimentAnalysisResultOrBuilder()
       The sentiment analysis result of the current user request. The field is
       filled when sentiment analysis is configured to be enabled for the request.
       
      .google.cloud.dialogflow.cx.v3beta1.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;
      Specified by:
      getSentimentAnalysisResultOrBuilder in interface WebhookRequestOrBuilder
    • hasLanguageInfo

      public boolean hasLanguageInfo()
       Information about the language of the request.
       
      .google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18;
      Specified by:
      hasLanguageInfo in interface WebhookRequestOrBuilder
      Returns:
      Whether the languageInfo field is set.
    • getLanguageInfo

      public LanguageInfo getLanguageInfo()
       Information about the language of the request.
       
      .google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18;
      Specified by:
      getLanguageInfo in interface WebhookRequestOrBuilder
      Returns:
      The languageInfo.
    • setLanguageInfo

      public WebhookRequest.Builder setLanguageInfo(LanguageInfo value)
       Information about the language of the request.
       
      .google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18;
    • setLanguageInfo

      public WebhookRequest.Builder setLanguageInfo(LanguageInfo.Builder builderForValue)
       Information about the language of the request.
       
      .google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18;
    • mergeLanguageInfo

      public WebhookRequest.Builder mergeLanguageInfo(LanguageInfo value)
       Information about the language of the request.
       
      .google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18;
    • clearLanguageInfo

      public WebhookRequest.Builder clearLanguageInfo()
       Information about the language of the request.
       
      .google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18;
    • getLanguageInfoBuilder

      public LanguageInfo.Builder getLanguageInfoBuilder()
       Information about the language of the request.
       
      .google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18;
    • getLanguageInfoOrBuilder

      public LanguageInfoOrBuilder getLanguageInfoOrBuilder()
       Information about the language of the request.
       
      .google.cloud.dialogflow.cx.v3beta1.LanguageInfo language_info = 18;
      Specified by:
      getLanguageInfoOrBuilder in interface WebhookRequestOrBuilder