Class AnalyzeContentRequest.Builder

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

public static final class AnalyzeContentRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<AnalyzeContentRequest.Builder> implements AnalyzeContentRequestOrBuilder
 The request message for
 [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent].
 
Protobuf type google.cloud.dialogflow.v2beta1.AnalyzeContentRequest
  • 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<AnalyzeContentRequest.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<AnalyzeContentRequest.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<AnalyzeContentRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public AnalyzeContentRequest.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<AnalyzeContentRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public AnalyzeContentRequest.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<AnalyzeContentRequest.Builder>
      Throws:
      IOException
    • getInputCase

      public AnalyzeContentRequest.InputCase getInputCase()
      Specified by:
      getInputCase in interface AnalyzeContentRequestOrBuilder
    • clearInput

      public AnalyzeContentRequest.Builder clearInput()
    • 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 AnalyzeContentRequestOrBuilder
      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 AnalyzeContentRequestOrBuilder
      Returns:
      The bytes for participant.
    • setParticipant

      public AnalyzeContentRequest.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 AnalyzeContentRequest.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 AnalyzeContentRequest.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.
    • hasTextInput

      public boolean hasTextInput()
       The natural language text to be processed.
       
      .google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
      Specified by:
      hasTextInput in interface AnalyzeContentRequestOrBuilder
      Returns:
      Whether the textInput field is set.
    • getTextInput

      public TextInput getTextInput()
       The natural language text to be processed.
       
      .google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
      Specified by:
      getTextInput in interface AnalyzeContentRequestOrBuilder
      Returns:
      The textInput.
    • setTextInput

      public AnalyzeContentRequest.Builder setTextInput(TextInput value)
       The natural language text to be processed.
       
      .google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
    • setTextInput

      public AnalyzeContentRequest.Builder setTextInput(TextInput.Builder builderForValue)
       The natural language text to be processed.
       
      .google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
    • mergeTextInput

      public AnalyzeContentRequest.Builder mergeTextInput(TextInput value)
       The natural language text to be processed.
       
      .google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
    • clearTextInput

      public AnalyzeContentRequest.Builder clearTextInput()
       The natural language text to be processed.
       
      .google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
    • getTextInputBuilder

      public TextInput.Builder getTextInputBuilder()
       The natural language text to be processed.
       
      .google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
    • getTextInputOrBuilder

      public TextInputOrBuilder getTextInputOrBuilder()
       The natural language text to be processed.
       
      .google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
      Specified by:
      getTextInputOrBuilder in interface AnalyzeContentRequestOrBuilder
    • hasAudioInput

      public boolean hasAudioInput()
       The natural language speech audio to be processed.
       
      .google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;
      Specified by:
      hasAudioInput in interface AnalyzeContentRequestOrBuilder
      Returns:
      Whether the audioInput field is set.
    • getAudioInput

      public AudioInput getAudioInput()
       The natural language speech audio to be processed.
       
      .google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;
      Specified by:
      getAudioInput in interface AnalyzeContentRequestOrBuilder
      Returns:
      The audioInput.
    • setAudioInput

      public AnalyzeContentRequest.Builder setAudioInput(AudioInput value)
       The natural language speech audio to be processed.
       
      .google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;
    • setAudioInput

      public AnalyzeContentRequest.Builder setAudioInput(AudioInput.Builder builderForValue)
       The natural language speech audio to be processed.
       
      .google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;
    • mergeAudioInput

      public AnalyzeContentRequest.Builder mergeAudioInput(AudioInput value)
       The natural language speech audio to be processed.
       
      .google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;
    • clearAudioInput

      public AnalyzeContentRequest.Builder clearAudioInput()
       The natural language speech audio to be processed.
       
      .google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;
    • getAudioInputBuilder

      public AudioInput.Builder getAudioInputBuilder()
       The natural language speech audio to be processed.
       
      .google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;
    • getAudioInputOrBuilder

      public AudioInputOrBuilder getAudioInputOrBuilder()
       The natural language speech audio to be processed.
       
      .google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;
      Specified by:
      getAudioInputOrBuilder in interface AnalyzeContentRequestOrBuilder
    • hasEventInput

      public boolean hasEventInput()
       An input event to send to Dialogflow.
       
      .google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
      Specified by:
      hasEventInput in interface AnalyzeContentRequestOrBuilder
      Returns:
      Whether the eventInput field is set.
    • getEventInput

      public EventInput getEventInput()
       An input event to send to Dialogflow.
       
      .google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
      Specified by:
      getEventInput in interface AnalyzeContentRequestOrBuilder
      Returns:
      The eventInput.
    • setEventInput

      public AnalyzeContentRequest.Builder setEventInput(EventInput value)
       An input event to send to Dialogflow.
       
      .google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
    • setEventInput

      public AnalyzeContentRequest.Builder setEventInput(EventInput.Builder builderForValue)
       An input event to send to Dialogflow.
       
      .google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
    • mergeEventInput

      public AnalyzeContentRequest.Builder mergeEventInput(EventInput value)
       An input event to send to Dialogflow.
       
      .google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
    • clearEventInput

      public AnalyzeContentRequest.Builder clearEventInput()
       An input event to send to Dialogflow.
       
      .google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
    • getEventInputBuilder

      public EventInput.Builder getEventInputBuilder()
       An input event to send to Dialogflow.
       
      .google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
    • getEventInputOrBuilder

      public EventInputOrBuilder getEventInputOrBuilder()
       An input event to send to Dialogflow.
       
      .google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
      Specified by:
      getEventInputOrBuilder in interface AnalyzeContentRequestOrBuilder
    • hasSuggestionInput

      public boolean hasSuggestionInput()
       An input representing the selection of a suggestion.
       
      .google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12;
      Specified by:
      hasSuggestionInput in interface AnalyzeContentRequestOrBuilder
      Returns:
      Whether the suggestionInput field is set.
    • getSuggestionInput

      public SuggestionInput getSuggestionInput()
       An input representing the selection of a suggestion.
       
      .google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12;
      Specified by:
      getSuggestionInput in interface AnalyzeContentRequestOrBuilder
      Returns:
      The suggestionInput.
    • setSuggestionInput

      public AnalyzeContentRequest.Builder setSuggestionInput(SuggestionInput value)
       An input representing the selection of a suggestion.
       
      .google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12;
    • setSuggestionInput

      public AnalyzeContentRequest.Builder setSuggestionInput(SuggestionInput.Builder builderForValue)
       An input representing the selection of a suggestion.
       
      .google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12;
    • mergeSuggestionInput

      public AnalyzeContentRequest.Builder mergeSuggestionInput(SuggestionInput value)
       An input representing the selection of a suggestion.
       
      .google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12;
    • clearSuggestionInput

      public AnalyzeContentRequest.Builder clearSuggestionInput()
       An input representing the selection of a suggestion.
       
      .google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12;
    • getSuggestionInputBuilder

      public SuggestionInput.Builder getSuggestionInputBuilder()
       An input representing the selection of a suggestion.
       
      .google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12;
    • getSuggestionInputOrBuilder

      public SuggestionInputOrBuilder getSuggestionInputOrBuilder()
       An input representing the selection of a suggestion.
       
      .google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12;
      Specified by:
      getSuggestionInputOrBuilder in interface AnalyzeContentRequestOrBuilder
    • hasIntentInput

      public boolean hasIntentInput()
       The intent to be triggered on V3 agent.
       
      .google.cloud.dialogflow.v2beta1.IntentInput intent_input = 13;
      Specified by:
      hasIntentInput in interface AnalyzeContentRequestOrBuilder
      Returns:
      Whether the intentInput field is set.
    • getIntentInput

      public IntentInput getIntentInput()
       The intent to be triggered on V3 agent.
       
      .google.cloud.dialogflow.v2beta1.IntentInput intent_input = 13;
      Specified by:
      getIntentInput in interface AnalyzeContentRequestOrBuilder
      Returns:
      The intentInput.
    • setIntentInput

      public AnalyzeContentRequest.Builder setIntentInput(IntentInput value)
       The intent to be triggered on V3 agent.
       
      .google.cloud.dialogflow.v2beta1.IntentInput intent_input = 13;
    • setIntentInput

      public AnalyzeContentRequest.Builder setIntentInput(IntentInput.Builder builderForValue)
       The intent to be triggered on V3 agent.
       
      .google.cloud.dialogflow.v2beta1.IntentInput intent_input = 13;
    • mergeIntentInput

      public AnalyzeContentRequest.Builder mergeIntentInput(IntentInput value)
       The intent to be triggered on V3 agent.
       
      .google.cloud.dialogflow.v2beta1.IntentInput intent_input = 13;
    • clearIntentInput

      public AnalyzeContentRequest.Builder clearIntentInput()
       The intent to be triggered on V3 agent.
       
      .google.cloud.dialogflow.v2beta1.IntentInput intent_input = 13;
    • getIntentInputBuilder

      public IntentInput.Builder getIntentInputBuilder()
       The intent to be triggered on V3 agent.
       
      .google.cloud.dialogflow.v2beta1.IntentInput intent_input = 13;
    • getIntentInputOrBuilder

      public IntentInputOrBuilder getIntentInputOrBuilder()
       The intent to be triggered on V3 agent.
       
      .google.cloud.dialogflow.v2beta1.IntentInput intent_input = 13;
      Specified by:
      getIntentInputOrBuilder in interface AnalyzeContentRequestOrBuilder
    • 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
       AnalyzeContent. If this configuration is not supplied, speech synthesis
       is disabled.
       
      .google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 5;
      Specified by:
      hasReplyAudioConfig in interface AnalyzeContentRequestOrBuilder
      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
       AnalyzeContent. If this configuration is not supplied, speech synthesis
       is disabled.
       
      .google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 5;
      Specified by:
      getReplyAudioConfig in interface AnalyzeContentRequestOrBuilder
      Returns:
      The replyAudioConfig.
    • setReplyAudioConfig

      public AnalyzeContentRequest.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
       AnalyzeContent. If this configuration is not supplied, speech synthesis
       is disabled.
       
      .google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 5;
    • setReplyAudioConfig

      public AnalyzeContentRequest.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
       AnalyzeContent. If this configuration is not supplied, speech synthesis
       is disabled.
       
      .google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 5;
    • mergeReplyAudioConfig

      public AnalyzeContentRequest.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
       AnalyzeContent. If this configuration is not supplied, speech synthesis
       is disabled.
       
      .google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 5;
    • clearReplyAudioConfig

      public AnalyzeContentRequest.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
       AnalyzeContent. If this configuration is not supplied, speech synthesis
       is disabled.
       
      .google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 5;
    • 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
       AnalyzeContent. If this configuration is not supplied, speech synthesis
       is disabled.
       
      .google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 5;
    • 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
       AnalyzeContent. If this configuration is not supplied, speech synthesis
       is disabled.
       
      .google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 5;
      Specified by:
      getReplyAudioConfigOrBuilder in interface AnalyzeContentRequestOrBuilder
    • hasQueryParams

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

      public QueryParameters getQueryParams()
       Parameters for a Dialogflow virtual-agent query.
       
      .google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9;
      Specified by:
      getQueryParams in interface AnalyzeContentRequestOrBuilder
      Returns:
      The queryParams.
    • setQueryParams

      public AnalyzeContentRequest.Builder setQueryParams(QueryParameters value)
       Parameters for a Dialogflow virtual-agent query.
       
      .google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9;
    • setQueryParams

      public AnalyzeContentRequest.Builder setQueryParams(QueryParameters.Builder builderForValue)
       Parameters for a Dialogflow virtual-agent query.
       
      .google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9;
    • mergeQueryParams

      public AnalyzeContentRequest.Builder mergeQueryParams(QueryParameters value)
       Parameters for a Dialogflow virtual-agent query.
       
      .google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9;
    • clearQueryParams

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

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

      public QueryParametersOrBuilder getQueryParamsOrBuilder()
       Parameters for a Dialogflow virtual-agent query.
       
      .google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9;
      Specified by:
      getQueryParamsOrBuilder in interface AnalyzeContentRequestOrBuilder
    • hasAssistQueryParams

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

      public AssistQueryParameters getAssistQueryParams()
       Parameters for a human assist query.
       
      .google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;
      Specified by:
      getAssistQueryParams in interface AnalyzeContentRequestOrBuilder
      Returns:
      The assistQueryParams.
    • setAssistQueryParams

      public AnalyzeContentRequest.Builder setAssistQueryParams(AssistQueryParameters value)
       Parameters for a human assist query.
       
      .google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;
    • setAssistQueryParams

      public AnalyzeContentRequest.Builder setAssistQueryParams(AssistQueryParameters.Builder builderForValue)
       Parameters for a human assist query.
       
      .google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;
    • mergeAssistQueryParams

      public AnalyzeContentRequest.Builder mergeAssistQueryParams(AssistQueryParameters value)
       Parameters for a human assist query.
       
      .google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;
    • clearAssistQueryParams

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

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

      public AssistQueryParametersOrBuilder getAssistQueryParamsOrBuilder()
       Parameters for a human assist query.
       
      .google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;
      Specified by:
      getAssistQueryParamsOrBuilder in interface AnalyzeContentRequestOrBuilder
    • 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 = 18;
      Specified by:
      hasCxParameters in interface AnalyzeContentRequestOrBuilder
      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 = 18;
      Specified by:
      getCxParameters in interface AnalyzeContentRequestOrBuilder
      Returns:
      The cxParameters.
    • setCxParameters

      public AnalyzeContentRequest.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 = 18;
    • setCxParameters

      public AnalyzeContentRequest.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 = 18;
    • mergeCxParameters

      public AnalyzeContentRequest.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 = 18;
    • clearCxParameters

      public AnalyzeContentRequest.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 = 18;
    • 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 = 18;
    • 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 = 18;
      Specified by:
      getCxParametersOrBuilder in interface AnalyzeContentRequestOrBuilder
    • getCxCurrentPage

      public String getCxCurrentPage()
       The unique identifier of the Dialogflow 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 = 20;
      Specified by:
      getCxCurrentPage in interface AnalyzeContentRequestOrBuilder
      Returns:
      The cxCurrentPage.
    • getCxCurrentPageBytes

      public com.google.protobuf.ByteString getCxCurrentPageBytes()
       The unique identifier of the Dialogflow 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 = 20;
      Specified by:
      getCxCurrentPageBytes in interface AnalyzeContentRequestOrBuilder
      Returns:
      The bytes for cxCurrentPage.
    • setCxCurrentPage

      public AnalyzeContentRequest.Builder setCxCurrentPage(String value)
       The unique identifier of the Dialogflow 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 = 20;
      Parameters:
      value - The cxCurrentPage to set.
      Returns:
      This builder for chaining.
    • clearCxCurrentPage

      public AnalyzeContentRequest.Builder clearCxCurrentPage()
       The unique identifier of the Dialogflow 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 = 20;
      Returns:
      This builder for chaining.
    • setCxCurrentPageBytes

      public AnalyzeContentRequest.Builder setCxCurrentPageBytes(com.google.protobuf.ByteString value)
       The unique identifier of the Dialogflow 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 = 20;
      Parameters:
      value - The bytes for cxCurrentPage to set.
      Returns:
      This builder for chaining.
    • hasMessageSendTime

      public boolean hasMessageSendTime()
       Optional. The send time of the message from end user or human agent's
       perspective. It is used for identifying the same message under one
       participant.
      
       For BatchCreateMessages API only:
       Given two messages under the same participant:
       * If send time are different regardless of whether the content of the
       messages are exactly the same, the conversation will regard them as
       two distinct messages sent by the participant.
       * If send time is the same regardless of whether the content of the
       messages are exactly the same, the conversation will regard them as
       same message, and ignore the message received later.
      
       If the value is not provided, a new request will always be regarded as a
       new message without any de-duplication.
       
      .google.protobuf.Timestamp message_send_time = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasMessageSendTime in interface AnalyzeContentRequestOrBuilder
      Returns:
      Whether the messageSendTime field is set.
    • getMessageSendTime

      public com.google.protobuf.Timestamp getMessageSendTime()
       Optional. The send time of the message from end user or human agent's
       perspective. It is used for identifying the same message under one
       participant.
      
       For BatchCreateMessages API only:
       Given two messages under the same participant:
       * If send time are different regardless of whether the content of the
       messages are exactly the same, the conversation will regard them as
       two distinct messages sent by the participant.
       * If send time is the same regardless of whether the content of the
       messages are exactly the same, the conversation will regard them as
       same message, and ignore the message received later.
      
       If the value is not provided, a new request will always be regarded as a
       new message without any de-duplication.
       
      .google.protobuf.Timestamp message_send_time = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMessageSendTime in interface AnalyzeContentRequestOrBuilder
      Returns:
      The messageSendTime.
    • setMessageSendTime

      public AnalyzeContentRequest.Builder setMessageSendTime(com.google.protobuf.Timestamp value)
       Optional. The send time of the message from end user or human agent's
       perspective. It is used for identifying the same message under one
       participant.
      
       For BatchCreateMessages API only:
       Given two messages under the same participant:
       * If send time are different regardless of whether the content of the
       messages are exactly the same, the conversation will regard them as
       two distinct messages sent by the participant.
       * If send time is the same regardless of whether the content of the
       messages are exactly the same, the conversation will regard them as
       same message, and ignore the message received later.
      
       If the value is not provided, a new request will always be regarded as a
       new message without any de-duplication.
       
      .google.protobuf.Timestamp message_send_time = 10 [(.google.api.field_behavior) = OPTIONAL];
    • setMessageSendTime

      public AnalyzeContentRequest.Builder setMessageSendTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Optional. The send time of the message from end user or human agent's
       perspective. It is used for identifying the same message under one
       participant.
      
       For BatchCreateMessages API only:
       Given two messages under the same participant:
       * If send time are different regardless of whether the content of the
       messages are exactly the same, the conversation will regard them as
       two distinct messages sent by the participant.
       * If send time is the same regardless of whether the content of the
       messages are exactly the same, the conversation will regard them as
       same message, and ignore the message received later.
      
       If the value is not provided, a new request will always be regarded as a
       new message without any de-duplication.
       
      .google.protobuf.Timestamp message_send_time = 10 [(.google.api.field_behavior) = OPTIONAL];
    • mergeMessageSendTime

      public AnalyzeContentRequest.Builder mergeMessageSendTime(com.google.protobuf.Timestamp value)
       Optional. The send time of the message from end user or human agent's
       perspective. It is used for identifying the same message under one
       participant.
      
       For BatchCreateMessages API only:
       Given two messages under the same participant:
       * If send time are different regardless of whether the content of the
       messages are exactly the same, the conversation will regard them as
       two distinct messages sent by the participant.
       * If send time is the same regardless of whether the content of the
       messages are exactly the same, the conversation will regard them as
       same message, and ignore the message received later.
      
       If the value is not provided, a new request will always be regarded as a
       new message without any de-duplication.
       
      .google.protobuf.Timestamp message_send_time = 10 [(.google.api.field_behavior) = OPTIONAL];
    • clearMessageSendTime

      public AnalyzeContentRequest.Builder clearMessageSendTime()
       Optional. The send time of the message from end user or human agent's
       perspective. It is used for identifying the same message under one
       participant.
      
       For BatchCreateMessages API only:
       Given two messages under the same participant:
       * If send time are different regardless of whether the content of the
       messages are exactly the same, the conversation will regard them as
       two distinct messages sent by the participant.
       * If send time is the same regardless of whether the content of the
       messages are exactly the same, the conversation will regard them as
       same message, and ignore the message received later.
      
       If the value is not provided, a new request will always be regarded as a
       new message without any de-duplication.
       
      .google.protobuf.Timestamp message_send_time = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getMessageSendTimeBuilder

      public com.google.protobuf.Timestamp.Builder getMessageSendTimeBuilder()
       Optional. The send time of the message from end user or human agent's
       perspective. It is used for identifying the same message under one
       participant.
      
       For BatchCreateMessages API only:
       Given two messages under the same participant:
       * If send time are different regardless of whether the content of the
       messages are exactly the same, the conversation will regard them as
       two distinct messages sent by the participant.
       * If send time is the same regardless of whether the content of the
       messages are exactly the same, the conversation will regard them as
       same message, and ignore the message received later.
      
       If the value is not provided, a new request will always be regarded as a
       new message without any de-duplication.
       
      .google.protobuf.Timestamp message_send_time = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getMessageSendTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getMessageSendTimeOrBuilder()
       Optional. The send time of the message from end user or human agent's
       perspective. It is used for identifying the same message under one
       participant.
      
       For BatchCreateMessages API only:
       Given two messages under the same participant:
       * If send time are different regardless of whether the content of the
       messages are exactly the same, the conversation will regard them as
       two distinct messages sent by the participant.
       * If send time is the same regardless of whether the content of the
       messages are exactly the same, the conversation will regard them as
       same message, and ignore the message received later.
      
       If the value is not provided, a new request will always be regarded as a
       new message without any de-duplication.
       
      .google.protobuf.Timestamp message_send_time = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMessageSendTimeOrBuilder in interface AnalyzeContentRequestOrBuilder
    • getRequestId

      public String getRequestId()
       A unique identifier for this request. Restricted to 36 ASCII characters.
       A random UUID is recommended.
       This request is only idempotent if a `request_id` is provided.
       
      string request_id = 11;
      Specified by:
      getRequestId in interface AnalyzeContentRequestOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       A unique identifier for this request. Restricted to 36 ASCII characters.
       A random UUID is recommended.
       This request is only idempotent if a `request_id` is provided.
       
      string request_id = 11;
      Specified by:
      getRequestIdBytes in interface AnalyzeContentRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public AnalyzeContentRequest.Builder setRequestId(String value)
       A unique identifier for this request. Restricted to 36 ASCII characters.
       A random UUID is recommended.
       This request is only idempotent if a `request_id` is provided.
       
      string request_id = 11;
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

      public AnalyzeContentRequest.Builder clearRequestId()
       A unique identifier for this request. Restricted to 36 ASCII characters.
       A random UUID is recommended.
       This request is only idempotent if a `request_id` is provided.
       
      string request_id = 11;
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public AnalyzeContentRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
       A unique identifier for this request. Restricted to 36 ASCII characters.
       A random UUID is recommended.
       This request is only idempotent if a `request_id` is provided.
       
      string request_id = 11;
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.