Class StreamingAnalyzeContentRequest.Builder

  • All Implemented Interfaces:
    StreamingAnalyzeContentRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    StreamingAnalyzeContentRequest

    public static final class StreamingAnalyzeContentRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
    implements StreamingAnalyzeContentRequestOrBuilder
     The top-level message sent by the client to the
     [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent]
     method.
    
     Multiple request messages should be sent in order:
    
     1.  The first message must contain
         [participant][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.participant],
         [config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config]
         and optionally
         [query_params][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.query_params].
         If you want to receive an audio response, it should also contain
         [reply_audio_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.reply_audio_config].
         The message must not contain
         [input][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input].
    
     2.  If
     [config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config]
     in the first message
         was set to
         [audio_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.audio_config],
         all subsequent messages must contain
         [input_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_audio]
         to continue with Speech recognition. If you decide to rather analyze text
         input after you already started Speech recognition, please send a message
         with
         [StreamingAnalyzeContentRequest.input_text][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_text].
    
         However, note that:
    
         * Dialogflow will bill you for the audio so far.
         * Dialogflow discards all Speech recognition results in favor of the
           text input.
    
      3. If
      [StreamingAnalyzeContentRequest.config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config]
      in the first message was set
        to
        [StreamingAnalyzeContentRequest.text_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.text_config],
        then the second message must contain only
        [input_text][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_text].
        Moreover, you must not send more than two messages.
    
      After you sent all input, you must half-close or abort the request stream.
     
    Protobuf type google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.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.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentRequest.Builder>
      • getParticipant

        public String getParticipant()
         Required. The name of the participant this text comes from.
         Format: `projects/<Project ID>/locations/<Location
         ID>/conversations/<Conversation ID>/participants/<Participant ID>`.
         
        string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParticipant in interface StreamingAnalyzeContentRequestOrBuilder
        Returns:
        The participant.
      • getParticipantBytes

        public com.google.protobuf.ByteString getParticipantBytes()
         Required. The name of the participant this text comes from.
         Format: `projects/<Project ID>/locations/<Location
         ID>/conversations/<Conversation ID>/participants/<Participant ID>`.
         
        string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParticipantBytes in interface StreamingAnalyzeContentRequestOrBuilder
        Returns:
        The bytes for participant.
      • setParticipant

        public StreamingAnalyzeContentRequest.Builder setParticipant​(String value)
         Required. The name of the participant this text comes from.
         Format: `projects/<Project ID>/locations/<Location
         ID>/conversations/<Conversation ID>/participants/<Participant ID>`.
         
        string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The participant to set.
        Returns:
        This builder for chaining.
      • clearParticipant

        public StreamingAnalyzeContentRequest.Builder clearParticipant()
         Required. The name of the participant this text comes from.
         Format: `projects/<Project ID>/locations/<Location
         ID>/conversations/<Conversation ID>/participants/<Participant ID>`.
         
        string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParticipantBytes

        public StreamingAnalyzeContentRequest.Builder setParticipantBytes​(com.google.protobuf.ByteString value)
         Required. The name of the participant this text comes from.
         Format: `projects/<Project ID>/locations/<Location
         ID>/conversations/<Conversation ID>/participants/<Participant ID>`.
         
        string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for participant to set.
        Returns:
        This builder for chaining.
      • hasAudioConfig

        public boolean hasAudioConfig()
         Instructs the speech recognizer how to process the speech audio.
         
        .google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;
        Specified by:
        hasAudioConfig in interface StreamingAnalyzeContentRequestOrBuilder
        Returns:
        Whether the audioConfig field is set.
      • clearAudioConfig

        public StreamingAnalyzeContentRequest.Builder clearAudioConfig()
         Instructs the speech recognizer how to process the speech audio.
         
        .google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;
      • getAudioConfigBuilder

        public InputAudioConfig.Builder getAudioConfigBuilder()
         Instructs the speech recognizer how to process the speech audio.
         
        .google.cloud.dialogflow.v2beta1.InputAudioConfig audio_config = 2;
      • hasTextConfig

        public boolean hasTextConfig()
         The natural language text to be processed.
         
        .google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;
        Specified by:
        hasTextConfig in interface StreamingAnalyzeContentRequestOrBuilder
        Returns:
        Whether the textConfig field is set.
      • clearTextConfig

        public StreamingAnalyzeContentRequest.Builder clearTextConfig()
         The natural language text to be processed.
         
        .google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;
      • getTextConfigBuilder

        public InputTextConfig.Builder getTextConfigBuilder()
         The natural language text to be processed.
         
        .google.cloud.dialogflow.v2beta1.InputTextConfig text_config = 3;
      • hasReplyAudioConfig

        public boolean hasReplyAudioConfig()
         Speech synthesis configuration.
         The speech synthesis settings for a virtual agent that may be configured
         for the associated conversation profile are not used when calling
         StreamingAnalyzeContent. If this configuration is not supplied, speech
         synthesis is disabled.
         
        .google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 4;
        Specified by:
        hasReplyAudioConfig in interface StreamingAnalyzeContentRequestOrBuilder
        Returns:
        Whether the replyAudioConfig field is set.
      • getReplyAudioConfig

        public OutputAudioConfig getReplyAudioConfig()
         Speech synthesis configuration.
         The speech synthesis settings for a virtual agent that may be configured
         for the associated conversation profile are not used when calling
         StreamingAnalyzeContent. If this configuration is not supplied, speech
         synthesis is disabled.
         
        .google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 4;
        Specified by:
        getReplyAudioConfig in interface StreamingAnalyzeContentRequestOrBuilder
        Returns:
        The replyAudioConfig.
      • setReplyAudioConfig

        public StreamingAnalyzeContentRequest.Builder setReplyAudioConfig​(OutputAudioConfig value)
         Speech synthesis configuration.
         The speech synthesis settings for a virtual agent that may be configured
         for the associated conversation profile are not used when calling
         StreamingAnalyzeContent. If this configuration is not supplied, speech
         synthesis is disabled.
         
        .google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 4;
      • setReplyAudioConfig

        public StreamingAnalyzeContentRequest.Builder setReplyAudioConfig​(OutputAudioConfig.Builder builderForValue)
         Speech synthesis configuration.
         The speech synthesis settings for a virtual agent that may be configured
         for the associated conversation profile are not used when calling
         StreamingAnalyzeContent. If this configuration is not supplied, speech
         synthesis is disabled.
         
        .google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 4;
      • mergeReplyAudioConfig

        public StreamingAnalyzeContentRequest.Builder mergeReplyAudioConfig​(OutputAudioConfig value)
         Speech synthesis configuration.
         The speech synthesis settings for a virtual agent that may be configured
         for the associated conversation profile are not used when calling
         StreamingAnalyzeContent. If this configuration is not supplied, speech
         synthesis is disabled.
         
        .google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 4;
      • clearReplyAudioConfig

        public StreamingAnalyzeContentRequest.Builder clearReplyAudioConfig()
         Speech synthesis configuration.
         The speech synthesis settings for a virtual agent that may be configured
         for the associated conversation profile are not used when calling
         StreamingAnalyzeContent. If this configuration is not supplied, speech
         synthesis is disabled.
         
        .google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 4;
      • getReplyAudioConfigBuilder

        public OutputAudioConfig.Builder getReplyAudioConfigBuilder()
         Speech synthesis configuration.
         The speech synthesis settings for a virtual agent that may be configured
         for the associated conversation profile are not used when calling
         StreamingAnalyzeContent. If this configuration is not supplied, speech
         synthesis is disabled.
         
        .google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 4;
      • getReplyAudioConfigOrBuilder

        public OutputAudioConfigOrBuilder getReplyAudioConfigOrBuilder()
         Speech synthesis configuration.
         The speech synthesis settings for a virtual agent that may be configured
         for the associated conversation profile are not used when calling
         StreamingAnalyzeContent. If this configuration is not supplied, speech
         synthesis is disabled.
         
        .google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 4;
        Specified by:
        getReplyAudioConfigOrBuilder in interface StreamingAnalyzeContentRequestOrBuilder
      • hasInputAudio

        public boolean hasInputAudio()
         The input audio content to be recognized. Must be sent if `audio_config`
         is set in the first message. The complete audio over all streaming
         messages must not exceed 1 minute.
         
        bytes input_audio = 5;
        Specified by:
        hasInputAudio in interface StreamingAnalyzeContentRequestOrBuilder
        Returns:
        Whether the inputAudio field is set.
      • getInputAudio

        public com.google.protobuf.ByteString getInputAudio()
         The input audio content to be recognized. Must be sent if `audio_config`
         is set in the first message. The complete audio over all streaming
         messages must not exceed 1 minute.
         
        bytes input_audio = 5;
        Specified by:
        getInputAudio in interface StreamingAnalyzeContentRequestOrBuilder
        Returns:
        The inputAudio.
      • setInputAudio

        public StreamingAnalyzeContentRequest.Builder setInputAudio​(com.google.protobuf.ByteString value)
         The input audio content to be recognized. Must be sent if `audio_config`
         is set in the first message. The complete audio over all streaming
         messages must not exceed 1 minute.
         
        bytes input_audio = 5;
        Parameters:
        value - The inputAudio to set.
        Returns:
        This builder for chaining.
      • clearInputAudio

        public StreamingAnalyzeContentRequest.Builder clearInputAudio()
         The input audio content to be recognized. Must be sent if `audio_config`
         is set in the first message. The complete audio over all streaming
         messages must not exceed 1 minute.
         
        bytes input_audio = 5;
        Returns:
        This builder for chaining.
      • hasInputText

        public boolean hasInputText()
         The UTF-8 encoded natural language text to be processed. Must be sent if
         `text_config` is set in the first message. Text length must not exceed
         256 bytes for virtual agent interactions. The `input_text` field can be
         only sent once, and would cancel the speech recognition if any ongoing.
         
        string input_text = 6;
        Specified by:
        hasInputText in interface StreamingAnalyzeContentRequestOrBuilder
        Returns:
        Whether the inputText field is set.
      • getInputText

        public String getInputText()
         The UTF-8 encoded natural language text to be processed. Must be sent if
         `text_config` is set in the first message. Text length must not exceed
         256 bytes for virtual agent interactions. The `input_text` field can be
         only sent once, and would cancel the speech recognition if any ongoing.
         
        string input_text = 6;
        Specified by:
        getInputText in interface StreamingAnalyzeContentRequestOrBuilder
        Returns:
        The inputText.
      • getInputTextBytes

        public com.google.protobuf.ByteString getInputTextBytes()
         The UTF-8 encoded natural language text to be processed. Must be sent if
         `text_config` is set in the first message. Text length must not exceed
         256 bytes for virtual agent interactions. The `input_text` field can be
         only sent once, and would cancel the speech recognition if any ongoing.
         
        string input_text = 6;
        Specified by:
        getInputTextBytes in interface StreamingAnalyzeContentRequestOrBuilder
        Returns:
        The bytes for inputText.
      • setInputText

        public StreamingAnalyzeContentRequest.Builder setInputText​(String value)
         The UTF-8 encoded natural language text to be processed. Must be sent if
         `text_config` is set in the first message. Text length must not exceed
         256 bytes for virtual agent interactions. The `input_text` field can be
         only sent once, and would cancel the speech recognition if any ongoing.
         
        string input_text = 6;
        Parameters:
        value - The inputText to set.
        Returns:
        This builder for chaining.
      • clearInputText

        public StreamingAnalyzeContentRequest.Builder clearInputText()
         The UTF-8 encoded natural language text to be processed. Must be sent if
         `text_config` is set in the first message. Text length must not exceed
         256 bytes for virtual agent interactions. The `input_text` field can be
         only sent once, and would cancel the speech recognition if any ongoing.
         
        string input_text = 6;
        Returns:
        This builder for chaining.
      • setInputTextBytes

        public StreamingAnalyzeContentRequest.Builder setInputTextBytes​(com.google.protobuf.ByteString value)
         The UTF-8 encoded natural language text to be processed. Must be sent if
         `text_config` is set in the first message. Text length must not exceed
         256 bytes for virtual agent interactions. The `input_text` field can be
         only sent once, and would cancel the speech recognition if any ongoing.
         
        string input_text = 6;
        Parameters:
        value - The bytes for inputText to set.
        Returns:
        This builder for chaining.
      • hasInputDtmf

        public boolean hasInputDtmf()
         The DTMF digits used to invoke intent and fill in parameter value.
        
         This input is ignored if the previous response indicated that DTMF input
         is not accepted.
         
        .google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents input_dtmf = 9;
        Specified by:
        hasInputDtmf in interface StreamingAnalyzeContentRequestOrBuilder
        Returns:
        Whether the inputDtmf field is set.
      • getInputDtmf

        public TelephonyDtmfEvents getInputDtmf()
         The DTMF digits used to invoke intent and fill in parameter value.
        
         This input is ignored if the previous response indicated that DTMF input
         is not accepted.
         
        .google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents input_dtmf = 9;
        Specified by:
        getInputDtmf in interface StreamingAnalyzeContentRequestOrBuilder
        Returns:
        The inputDtmf.
      • setInputDtmf

        public StreamingAnalyzeContentRequest.Builder setInputDtmf​(TelephonyDtmfEvents value)
         The DTMF digits used to invoke intent and fill in parameter value.
        
         This input is ignored if the previous response indicated that DTMF input
         is not accepted.
         
        .google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents input_dtmf = 9;
      • setInputDtmf

        public StreamingAnalyzeContentRequest.Builder setInputDtmf​(TelephonyDtmfEvents.Builder builderForValue)
         The DTMF digits used to invoke intent and fill in parameter value.
        
         This input is ignored if the previous response indicated that DTMF input
         is not accepted.
         
        .google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents input_dtmf = 9;
      • mergeInputDtmf

        public StreamingAnalyzeContentRequest.Builder mergeInputDtmf​(TelephonyDtmfEvents value)
         The DTMF digits used to invoke intent and fill in parameter value.
        
         This input is ignored if the previous response indicated that DTMF input
         is not accepted.
         
        .google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents input_dtmf = 9;
      • clearInputDtmf

        public StreamingAnalyzeContentRequest.Builder clearInputDtmf()
         The DTMF digits used to invoke intent and fill in parameter value.
        
         This input is ignored if the previous response indicated that DTMF input
         is not accepted.
         
        .google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents input_dtmf = 9;
      • getInputDtmfBuilder

        public TelephonyDtmfEvents.Builder getInputDtmfBuilder()
         The DTMF digits used to invoke intent and fill in parameter value.
        
         This input is ignored if the previous response indicated that DTMF input
         is not accepted.
         
        .google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents input_dtmf = 9;
      • hasQueryParams

        public boolean hasQueryParams()
         Parameters for a Dialogflow virtual-agent query.
         
        .google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;
        Specified by:
        hasQueryParams in interface StreamingAnalyzeContentRequestOrBuilder
        Returns:
        Whether the queryParams field is set.
      • clearQueryParams

        public StreamingAnalyzeContentRequest.Builder clearQueryParams()
         Parameters for a Dialogflow virtual-agent query.
         
        .google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;
      • getQueryParamsBuilder

        public QueryParameters.Builder getQueryParamsBuilder()
         Parameters for a Dialogflow virtual-agent query.
         
        .google.cloud.dialogflow.v2beta1.QueryParameters query_params = 7;
      • hasAssistQueryParams

        public boolean hasAssistQueryParams()
         Parameters for a human assist query.
         
        .google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;
        Specified by:
        hasAssistQueryParams in interface StreamingAnalyzeContentRequestOrBuilder
        Returns:
        Whether the assistQueryParams field is set.
      • clearAssistQueryParams

        public StreamingAnalyzeContentRequest.Builder clearAssistQueryParams()
         Parameters for a human assist query.
         
        .google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;
      • getAssistQueryParamsBuilder

        public AssistQueryParameters.Builder getAssistQueryParamsBuilder()
         Parameters for a human assist query.
         
        .google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 8;
      • hasCxParameters

        public boolean hasCxParameters()
         Additional parameters to be put into Dialogflow CX session parameters. To
         remove a parameter from the session, clients should explicitly set the
         parameter value to null.
        
         Note: this field should only be used if you are connecting to a Dialogflow
         CX agent.
         
        .google.protobuf.Struct cx_parameters = 13;
        Specified by:
        hasCxParameters in interface StreamingAnalyzeContentRequestOrBuilder
        Returns:
        Whether the cxParameters field is set.
      • getCxParameters

        public com.google.protobuf.Struct getCxParameters()
         Additional parameters to be put into Dialogflow CX session parameters. To
         remove a parameter from the session, clients should explicitly set the
         parameter value to null.
        
         Note: this field should only be used if you are connecting to a Dialogflow
         CX agent.
         
        .google.protobuf.Struct cx_parameters = 13;
        Specified by:
        getCxParameters in interface StreamingAnalyzeContentRequestOrBuilder
        Returns:
        The cxParameters.
      • setCxParameters

        public StreamingAnalyzeContentRequest.Builder setCxParameters​(com.google.protobuf.Struct value)
         Additional parameters to be put into Dialogflow CX session parameters. To
         remove a parameter from the session, clients should explicitly set the
         parameter value to null.
        
         Note: this field should only be used if you are connecting to a Dialogflow
         CX agent.
         
        .google.protobuf.Struct cx_parameters = 13;
      • setCxParameters

        public StreamingAnalyzeContentRequest.Builder setCxParameters​(com.google.protobuf.Struct.Builder builderForValue)
         Additional parameters to be put into Dialogflow CX session parameters. To
         remove a parameter from the session, clients should explicitly set the
         parameter value to null.
        
         Note: this field should only be used if you are connecting to a Dialogflow
         CX agent.
         
        .google.protobuf.Struct cx_parameters = 13;
      • mergeCxParameters

        public StreamingAnalyzeContentRequest.Builder mergeCxParameters​(com.google.protobuf.Struct value)
         Additional parameters to be put into Dialogflow CX session parameters. To
         remove a parameter from the session, clients should explicitly set the
         parameter value to null.
        
         Note: this field should only be used if you are connecting to a Dialogflow
         CX agent.
         
        .google.protobuf.Struct cx_parameters = 13;
      • clearCxParameters

        public StreamingAnalyzeContentRequest.Builder clearCxParameters()
         Additional parameters to be put into Dialogflow CX session parameters. To
         remove a parameter from the session, clients should explicitly set the
         parameter value to null.
        
         Note: this field should only be used if you are connecting to a Dialogflow
         CX agent.
         
        .google.protobuf.Struct cx_parameters = 13;
      • getCxParametersBuilder

        public com.google.protobuf.Struct.Builder getCxParametersBuilder()
         Additional parameters to be put into Dialogflow CX session parameters. To
         remove a parameter from the session, clients should explicitly set the
         parameter value to null.
        
         Note: this field should only be used if you are connecting to a Dialogflow
         CX agent.
         
        .google.protobuf.Struct cx_parameters = 13;
      • getCxParametersOrBuilder

        public com.google.protobuf.StructOrBuilder getCxParametersOrBuilder()
         Additional parameters to be put into Dialogflow CX session parameters. To
         remove a parameter from the session, clients should explicitly set the
         parameter value to null.
        
         Note: this field should only be used if you are connecting to a Dialogflow
         CX agent.
         
        .google.protobuf.Struct cx_parameters = 13;
        Specified by:
        getCxParametersOrBuilder in interface StreamingAnalyzeContentRequestOrBuilder
      • getCxCurrentPage

        public String getCxCurrentPage()
         The unique identifier of the CX page to override the `current_page` in the
         session.
         Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>/pages/<Page ID>`.
        
         If `cx_current_page` is specified, the previous state of the session will
         be ignored by Dialogflow CX, including the [previous
         page][QueryResult.current_page] and the [previous session
         parameters][QueryResult.parameters]. In most cases, `cx_current_page` and
         `cx_parameters` should be configured together to direct a session to a
         specific state.
        
         Note: this field should only be used if you are connecting to a Dialogflow
         CX agent.
         
        string cx_current_page = 15;
        Specified by:
        getCxCurrentPage in interface StreamingAnalyzeContentRequestOrBuilder
        Returns:
        The cxCurrentPage.
      • getCxCurrentPageBytes

        public com.google.protobuf.ByteString getCxCurrentPageBytes()
         The unique identifier of the CX page to override the `current_page` in the
         session.
         Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>/pages/<Page ID>`.
        
         If `cx_current_page` is specified, the previous state of the session will
         be ignored by Dialogflow CX, including the [previous
         page][QueryResult.current_page] and the [previous session
         parameters][QueryResult.parameters]. In most cases, `cx_current_page` and
         `cx_parameters` should be configured together to direct a session to a
         specific state.
        
         Note: this field should only be used if you are connecting to a Dialogflow
         CX agent.
         
        string cx_current_page = 15;
        Specified by:
        getCxCurrentPageBytes in interface StreamingAnalyzeContentRequestOrBuilder
        Returns:
        The bytes for cxCurrentPage.
      • setCxCurrentPage

        public StreamingAnalyzeContentRequest.Builder setCxCurrentPage​(String value)
         The unique identifier of the CX page to override the `current_page` in the
         session.
         Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>/pages/<Page ID>`.
        
         If `cx_current_page` is specified, the previous state of the session will
         be ignored by Dialogflow CX, including the [previous
         page][QueryResult.current_page] and the [previous session
         parameters][QueryResult.parameters]. In most cases, `cx_current_page` and
         `cx_parameters` should be configured together to direct a session to a
         specific state.
        
         Note: this field should only be used if you are connecting to a Dialogflow
         CX agent.
         
        string cx_current_page = 15;
        Parameters:
        value - The cxCurrentPage to set.
        Returns:
        This builder for chaining.
      • clearCxCurrentPage

        public StreamingAnalyzeContentRequest.Builder clearCxCurrentPage()
         The unique identifier of the CX page to override the `current_page` in the
         session.
         Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>/pages/<Page ID>`.
        
         If `cx_current_page` is specified, the previous state of the session will
         be ignored by Dialogflow CX, including the [previous
         page][QueryResult.current_page] and the [previous session
         parameters][QueryResult.parameters]. In most cases, `cx_current_page` and
         `cx_parameters` should be configured together to direct a session to a
         specific state.
        
         Note: this field should only be used if you are connecting to a Dialogflow
         CX agent.
         
        string cx_current_page = 15;
        Returns:
        This builder for chaining.
      • setCxCurrentPageBytes

        public StreamingAnalyzeContentRequest.Builder setCxCurrentPageBytes​(com.google.protobuf.ByteString value)
         The unique identifier of the CX page to override the `current_page` in the
         session.
         Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>/pages/<Page ID>`.
        
         If `cx_current_page` is specified, the previous state of the session will
         be ignored by Dialogflow CX, including the [previous
         page][QueryResult.current_page] and the [previous session
         parameters][QueryResult.parameters]. In most cases, `cx_current_page` and
         `cx_parameters` should be configured together to direct a session to a
         specific state.
        
         Note: this field should only be used if you are connecting to a Dialogflow
         CX agent.
         
        string cx_current_page = 15;
        Parameters:
        value - The bytes for cxCurrentPage to set.
        Returns:
        This builder for chaining.
      • getEnablePartialAutomatedAgentReply

        public boolean getEnablePartialAutomatedAgentReply()
         Enable partial virtual agent responses. If this flag is not enabled,
         response stream still contains only one final response even if some
         `Fulfillment`s in Dialogflow virtual agent have been configured to return
         partial responses.
         
        bool enable_partial_automated_agent_reply = 12;
        Specified by:
        getEnablePartialAutomatedAgentReply in interface StreamingAnalyzeContentRequestOrBuilder
        Returns:
        The enablePartialAutomatedAgentReply.
      • setEnablePartialAutomatedAgentReply

        public StreamingAnalyzeContentRequest.Builder setEnablePartialAutomatedAgentReply​(boolean value)
         Enable partial virtual agent responses. If this flag is not enabled,
         response stream still contains only one final response even if some
         `Fulfillment`s in Dialogflow virtual agent have been configured to return
         partial responses.
         
        bool enable_partial_automated_agent_reply = 12;
        Parameters:
        value - The enablePartialAutomatedAgentReply to set.
        Returns:
        This builder for chaining.
      • clearEnablePartialAutomatedAgentReply

        public StreamingAnalyzeContentRequest.Builder clearEnablePartialAutomatedAgentReply()
         Enable partial virtual agent responses. If this flag is not enabled,
         response stream still contains only one final response even if some
         `Fulfillment`s in Dialogflow virtual agent have been configured to return
         partial responses.
         
        bool enable_partial_automated_agent_reply = 12;
        Returns:
        This builder for chaining.
      • setEnableDebuggingInfo

        public StreamingAnalyzeContentRequest.Builder setEnableDebuggingInfo​(boolean value)
         if true, `StreamingAnalyzeContentResponse.debugging_info` will get
         populated.
         
        bool enable_debugging_info = 19;
        Parameters:
        value - The enableDebuggingInfo to set.
        Returns:
        This builder for chaining.
      • clearEnableDebuggingInfo

        public StreamingAnalyzeContentRequest.Builder clearEnableDebuggingInfo()
         if true, `StreamingAnalyzeContentResponse.debugging_info` will get
         populated.
         
        bool enable_debugging_info = 19;
        Returns:
        This builder for chaining.