Class StreamingAnalyzeContentResponse.Builder

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

    public static final class StreamingAnalyzeContentResponse.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnalyzeContentResponse.Builder>
    implements StreamingAnalyzeContentResponseOrBuilder
     The top-level message returned from the `StreamingAnalyzeContent` method.
    
     Multiple response messages can be returned in order:
    
     1.  If the input was set to streaming audio, the first one or more messages
         contain `recognition_result`. Each `recognition_result` represents a more
         complete transcript of what the user said. The last `recognition_result`
         has `is_final` set to `true`.
    
     2.  In virtual agent stage: if `enable_partial_automated_agent_reply` is
         true, the following N (currently 1 <= N <= 4) messages
         contain `automated_agent_reply` and optionally `reply_audio`
         returned by the virtual agent. The first (N-1)
         `automated_agent_reply`s will have `automated_agent_reply_type` set to
         `PARTIAL`. The last `automated_agent_reply` has
         `automated_agent_reply_type` set to `FINAL`.
         If `enable_partial_automated_agent_reply` is not enabled, response stream
         only contains the final reply.
    
         In human assist stage: the following N (N >= 1) messages contain
         `human_agent_suggestion_results`, `end_user_suggestion_results` or
         `message`.
     
    Protobuf type google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse
    • 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<StreamingAnalyzeContentResponse.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<StreamingAnalyzeContentResponse.Builder>
      • getDefaultInstanceForType

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

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

        public StreamingAnalyzeContentResponse 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<StreamingAnalyzeContentResponse.Builder>
      • hasRecognitionResult

        public boolean hasRecognitionResult()
         The result of speech recognition.
         
        .google.cloud.dialogflow.v2.StreamingRecognitionResult recognition_result = 1;
        Specified by:
        hasRecognitionResult in interface StreamingAnalyzeContentResponseOrBuilder
        Returns:
        Whether the recognitionResult field is set.
      • clearRecognitionResult

        public StreamingAnalyzeContentResponse.Builder clearRecognitionResult()
         The result of speech recognition.
         
        .google.cloud.dialogflow.v2.StreamingRecognitionResult recognition_result = 1;
      • getRecognitionResultBuilder

        public StreamingRecognitionResult.Builder getRecognitionResultBuilder()
         The result of speech recognition.
         
        .google.cloud.dialogflow.v2.StreamingRecognitionResult recognition_result = 1;
      • getReplyTextBytes

        public com.google.protobuf.ByteString getReplyTextBytes()
         The output text content.
         This field is set if an automated agent responded with a text for the user.
         
        string reply_text = 2;
        Specified by:
        getReplyTextBytes in interface StreamingAnalyzeContentResponseOrBuilder
        Returns:
        The bytes for replyText.
      • setReplyText

        public StreamingAnalyzeContentResponse.Builder setReplyText​(String value)
         The output text content.
         This field is set if an automated agent responded with a text for the user.
         
        string reply_text = 2;
        Parameters:
        value - The replyText to set.
        Returns:
        This builder for chaining.
      • clearReplyText

        public StreamingAnalyzeContentResponse.Builder clearReplyText()
         The output text content.
         This field is set if an automated agent responded with a text for the user.
         
        string reply_text = 2;
        Returns:
        This builder for chaining.
      • setReplyTextBytes

        public StreamingAnalyzeContentResponse.Builder setReplyTextBytes​(com.google.protobuf.ByteString value)
         The output text content.
         This field is set if an automated agent responded with a text for the user.
         
        string reply_text = 2;
        Parameters:
        value - The bytes for replyText to set.
        Returns:
        This builder for chaining.
      • hasReplyAudio

        public boolean hasReplyAudio()
         The audio data bytes encoded as specified in the request.
         This field is set if:
        
          - The `reply_audio_config` field is specified in the request.
          - The automated agent, which this output comes from, responded with audio.
            In such case, the `reply_audio.config` field contains settings used to
            synthesize the speech.
        
         In some scenarios, multiple output audio fields may be present in the
         response structure. In these cases, only the top-most-level audio output
         has content.
         
        .google.cloud.dialogflow.v2.OutputAudio reply_audio = 3;
        Specified by:
        hasReplyAudio in interface StreamingAnalyzeContentResponseOrBuilder
        Returns:
        Whether the replyAudio field is set.
      • getReplyAudio

        public OutputAudio getReplyAudio()
         The audio data bytes encoded as specified in the request.
         This field is set if:
        
          - The `reply_audio_config` field is specified in the request.
          - The automated agent, which this output comes from, responded with audio.
            In such case, the `reply_audio.config` field contains settings used to
            synthesize the speech.
        
         In some scenarios, multiple output audio fields may be present in the
         response structure. In these cases, only the top-most-level audio output
         has content.
         
        .google.cloud.dialogflow.v2.OutputAudio reply_audio = 3;
        Specified by:
        getReplyAudio in interface StreamingAnalyzeContentResponseOrBuilder
        Returns:
        The replyAudio.
      • setReplyAudio

        public StreamingAnalyzeContentResponse.Builder setReplyAudio​(OutputAudio value)
         The audio data bytes encoded as specified in the request.
         This field is set if:
        
          - The `reply_audio_config` field is specified in the request.
          - The automated agent, which this output comes from, responded with audio.
            In such case, the `reply_audio.config` field contains settings used to
            synthesize the speech.
        
         In some scenarios, multiple output audio fields may be present in the
         response structure. In these cases, only the top-most-level audio output
         has content.
         
        .google.cloud.dialogflow.v2.OutputAudio reply_audio = 3;
      • setReplyAudio

        public StreamingAnalyzeContentResponse.Builder setReplyAudio​(OutputAudio.Builder builderForValue)
         The audio data bytes encoded as specified in the request.
         This field is set if:
        
          - The `reply_audio_config` field is specified in the request.
          - The automated agent, which this output comes from, responded with audio.
            In such case, the `reply_audio.config` field contains settings used to
            synthesize the speech.
        
         In some scenarios, multiple output audio fields may be present in the
         response structure. In these cases, only the top-most-level audio output
         has content.
         
        .google.cloud.dialogflow.v2.OutputAudio reply_audio = 3;
      • mergeReplyAudio

        public StreamingAnalyzeContentResponse.Builder mergeReplyAudio​(OutputAudio value)
         The audio data bytes encoded as specified in the request.
         This field is set if:
        
          - The `reply_audio_config` field is specified in the request.
          - The automated agent, which this output comes from, responded with audio.
            In such case, the `reply_audio.config` field contains settings used to
            synthesize the speech.
        
         In some scenarios, multiple output audio fields may be present in the
         response structure. In these cases, only the top-most-level audio output
         has content.
         
        .google.cloud.dialogflow.v2.OutputAudio reply_audio = 3;
      • clearReplyAudio

        public StreamingAnalyzeContentResponse.Builder clearReplyAudio()
         The audio data bytes encoded as specified in the request.
         This field is set if:
        
          - The `reply_audio_config` field is specified in the request.
          - The automated agent, which this output comes from, responded with audio.
            In such case, the `reply_audio.config` field contains settings used to
            synthesize the speech.
        
         In some scenarios, multiple output audio fields may be present in the
         response structure. In these cases, only the top-most-level audio output
         has content.
         
        .google.cloud.dialogflow.v2.OutputAudio reply_audio = 3;
      • getReplyAudioBuilder

        public OutputAudio.Builder getReplyAudioBuilder()
         The audio data bytes encoded as specified in the request.
         This field is set if:
        
          - The `reply_audio_config` field is specified in the request.
          - The automated agent, which this output comes from, responded with audio.
            In such case, the `reply_audio.config` field contains settings used to
            synthesize the speech.
        
         In some scenarios, multiple output audio fields may be present in the
         response structure. In these cases, only the top-most-level audio output
         has content.
         
        .google.cloud.dialogflow.v2.OutputAudio reply_audio = 3;
      • getReplyAudioOrBuilder

        public OutputAudioOrBuilder getReplyAudioOrBuilder()
         The audio data bytes encoded as specified in the request.
         This field is set if:
        
          - The `reply_audio_config` field is specified in the request.
          - The automated agent, which this output comes from, responded with audio.
            In such case, the `reply_audio.config` field contains settings used to
            synthesize the speech.
        
         In some scenarios, multiple output audio fields may be present in the
         response structure. In these cases, only the top-most-level audio output
         has content.
         
        .google.cloud.dialogflow.v2.OutputAudio reply_audio = 3;
        Specified by:
        getReplyAudioOrBuilder in interface StreamingAnalyzeContentResponseOrBuilder
      • hasAutomatedAgentReply

        public boolean hasAutomatedAgentReply()
         Only set if a Dialogflow automated agent has responded.
         Note that: [AutomatedAgentReply.detect_intent_response.output_audio][]
         and [AutomatedAgentReply.detect_intent_response.output_audio_config][]
         are always empty, use
         [reply_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.reply_audio]
         instead.
         
        .google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4;
        Specified by:
        hasAutomatedAgentReply in interface StreamingAnalyzeContentResponseOrBuilder
        Returns:
        Whether the automatedAgentReply field is set.
      • getAutomatedAgentReply

        public AutomatedAgentReply getAutomatedAgentReply()
         Only set if a Dialogflow automated agent has responded.
         Note that: [AutomatedAgentReply.detect_intent_response.output_audio][]
         and [AutomatedAgentReply.detect_intent_response.output_audio_config][]
         are always empty, use
         [reply_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.reply_audio]
         instead.
         
        .google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4;
        Specified by:
        getAutomatedAgentReply in interface StreamingAnalyzeContentResponseOrBuilder
        Returns:
        The automatedAgentReply.
      • setAutomatedAgentReply

        public StreamingAnalyzeContentResponse.Builder setAutomatedAgentReply​(AutomatedAgentReply value)
         Only set if a Dialogflow automated agent has responded.
         Note that: [AutomatedAgentReply.detect_intent_response.output_audio][]
         and [AutomatedAgentReply.detect_intent_response.output_audio_config][]
         are always empty, use
         [reply_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.reply_audio]
         instead.
         
        .google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4;
      • setAutomatedAgentReply

        public StreamingAnalyzeContentResponse.Builder setAutomatedAgentReply​(AutomatedAgentReply.Builder builderForValue)
         Only set if a Dialogflow automated agent has responded.
         Note that: [AutomatedAgentReply.detect_intent_response.output_audio][]
         and [AutomatedAgentReply.detect_intent_response.output_audio_config][]
         are always empty, use
         [reply_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.reply_audio]
         instead.
         
        .google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4;
      • mergeAutomatedAgentReply

        public StreamingAnalyzeContentResponse.Builder mergeAutomatedAgentReply​(AutomatedAgentReply value)
         Only set if a Dialogflow automated agent has responded.
         Note that: [AutomatedAgentReply.detect_intent_response.output_audio][]
         and [AutomatedAgentReply.detect_intent_response.output_audio_config][]
         are always empty, use
         [reply_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.reply_audio]
         instead.
         
        .google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4;
      • clearAutomatedAgentReply

        public StreamingAnalyzeContentResponse.Builder clearAutomatedAgentReply()
         Only set if a Dialogflow automated agent has responded.
         Note that: [AutomatedAgentReply.detect_intent_response.output_audio][]
         and [AutomatedAgentReply.detect_intent_response.output_audio_config][]
         are always empty, use
         [reply_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.reply_audio]
         instead.
         
        .google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4;
      • getAutomatedAgentReplyBuilder

        public AutomatedAgentReply.Builder getAutomatedAgentReplyBuilder()
         Only set if a Dialogflow automated agent has responded.
         Note that: [AutomatedAgentReply.detect_intent_response.output_audio][]
         and [AutomatedAgentReply.detect_intent_response.output_audio_config][]
         are always empty, use
         [reply_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.reply_audio]
         instead.
         
        .google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4;
      • getAutomatedAgentReplyOrBuilder

        public AutomatedAgentReplyOrBuilder getAutomatedAgentReplyOrBuilder()
         Only set if a Dialogflow automated agent has responded.
         Note that: [AutomatedAgentReply.detect_intent_response.output_audio][]
         and [AutomatedAgentReply.detect_intent_response.output_audio_config][]
         are always empty, use
         [reply_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.reply_audio]
         instead.
         
        .google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4;
        Specified by:
        getAutomatedAgentReplyOrBuilder in interface StreamingAnalyzeContentResponseOrBuilder
      • getMessageBuilder

        public Message.Builder getMessageBuilder()
         Message analyzed by CCAI.
         
        .google.cloud.dialogflow.v2.Message message = 6;
      • getHumanAgentSuggestionResultsList

        public List<SuggestionResult> getHumanAgentSuggestionResultsList()
         The suggestions for most recent human agent. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
        Specified by:
        getHumanAgentSuggestionResultsList in interface StreamingAnalyzeContentResponseOrBuilder
      • getHumanAgentSuggestionResultsCount

        public int getHumanAgentSuggestionResultsCount()
         The suggestions for most recent human agent. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
        Specified by:
        getHumanAgentSuggestionResultsCount in interface StreamingAnalyzeContentResponseOrBuilder
      • getHumanAgentSuggestionResults

        public SuggestionResult getHumanAgentSuggestionResults​(int index)
         The suggestions for most recent human agent. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
        Specified by:
        getHumanAgentSuggestionResults in interface StreamingAnalyzeContentResponseOrBuilder
      • setHumanAgentSuggestionResults

        public StreamingAnalyzeContentResponse.Builder setHumanAgentSuggestionResults​(int index,
                                                                                      SuggestionResult value)
         The suggestions for most recent human agent. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
      • setHumanAgentSuggestionResults

        public StreamingAnalyzeContentResponse.Builder setHumanAgentSuggestionResults​(int index,
                                                                                      SuggestionResult.Builder builderForValue)
         The suggestions for most recent human agent. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
      • addHumanAgentSuggestionResults

        public StreamingAnalyzeContentResponse.Builder addHumanAgentSuggestionResults​(SuggestionResult value)
         The suggestions for most recent human agent. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
      • addHumanAgentSuggestionResults

        public StreamingAnalyzeContentResponse.Builder addHumanAgentSuggestionResults​(int index,
                                                                                      SuggestionResult value)
         The suggestions for most recent human agent. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
      • addHumanAgentSuggestionResults

        public StreamingAnalyzeContentResponse.Builder addHumanAgentSuggestionResults​(SuggestionResult.Builder builderForValue)
         The suggestions for most recent human agent. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
      • addHumanAgentSuggestionResults

        public StreamingAnalyzeContentResponse.Builder addHumanAgentSuggestionResults​(int index,
                                                                                      SuggestionResult.Builder builderForValue)
         The suggestions for most recent human agent. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
      • addAllHumanAgentSuggestionResults

        public StreamingAnalyzeContentResponse.Builder addAllHumanAgentSuggestionResults​(Iterable<? extends SuggestionResult> values)
         The suggestions for most recent human agent. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
      • clearHumanAgentSuggestionResults

        public StreamingAnalyzeContentResponse.Builder clearHumanAgentSuggestionResults()
         The suggestions for most recent human agent. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
      • removeHumanAgentSuggestionResults

        public StreamingAnalyzeContentResponse.Builder removeHumanAgentSuggestionResults​(int index)
         The suggestions for most recent human agent. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
      • getHumanAgentSuggestionResultsBuilder

        public SuggestionResult.Builder getHumanAgentSuggestionResultsBuilder​(int index)
         The suggestions for most recent human agent. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
      • getHumanAgentSuggestionResultsOrBuilder

        public SuggestionResultOrBuilder getHumanAgentSuggestionResultsOrBuilder​(int index)
         The suggestions for most recent human agent. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
        Specified by:
        getHumanAgentSuggestionResultsOrBuilder in interface StreamingAnalyzeContentResponseOrBuilder
      • getHumanAgentSuggestionResultsOrBuilderList

        public List<? extends SuggestionResultOrBuilder> getHumanAgentSuggestionResultsOrBuilderList()
         The suggestions for most recent human agent. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
        Specified by:
        getHumanAgentSuggestionResultsOrBuilderList in interface StreamingAnalyzeContentResponseOrBuilder
      • addHumanAgentSuggestionResultsBuilder

        public SuggestionResult.Builder addHumanAgentSuggestionResultsBuilder()
         The suggestions for most recent human agent. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
      • addHumanAgentSuggestionResultsBuilder

        public SuggestionResult.Builder addHumanAgentSuggestionResultsBuilder​(int index)
         The suggestions for most recent human agent. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
      • getHumanAgentSuggestionResultsBuilderList

        public List<SuggestionResult.Builder> getHumanAgentSuggestionResultsBuilderList()
         The suggestions for most recent human agent. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7;
      • getEndUserSuggestionResultsList

        public List<SuggestionResult> getEndUserSuggestionResultsList()
         The suggestions for end user. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
        Specified by:
        getEndUserSuggestionResultsList in interface StreamingAnalyzeContentResponseOrBuilder
      • getEndUserSuggestionResultsCount

        public int getEndUserSuggestionResultsCount()
         The suggestions for end user. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
        Specified by:
        getEndUserSuggestionResultsCount in interface StreamingAnalyzeContentResponseOrBuilder
      • getEndUserSuggestionResults

        public SuggestionResult getEndUserSuggestionResults​(int index)
         The suggestions for end user. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
        Specified by:
        getEndUserSuggestionResults in interface StreamingAnalyzeContentResponseOrBuilder
      • setEndUserSuggestionResults

        public StreamingAnalyzeContentResponse.Builder setEndUserSuggestionResults​(int index,
                                                                                   SuggestionResult value)
         The suggestions for end user. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
      • setEndUserSuggestionResults

        public StreamingAnalyzeContentResponse.Builder setEndUserSuggestionResults​(int index,
                                                                                   SuggestionResult.Builder builderForValue)
         The suggestions for end user. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
      • addEndUserSuggestionResults

        public StreamingAnalyzeContentResponse.Builder addEndUserSuggestionResults​(SuggestionResult value)
         The suggestions for end user. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
      • addEndUserSuggestionResults

        public StreamingAnalyzeContentResponse.Builder addEndUserSuggestionResults​(int index,
                                                                                   SuggestionResult value)
         The suggestions for end user. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
      • addEndUserSuggestionResults

        public StreamingAnalyzeContentResponse.Builder addEndUserSuggestionResults​(SuggestionResult.Builder builderForValue)
         The suggestions for end user. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
      • addEndUserSuggestionResults

        public StreamingAnalyzeContentResponse.Builder addEndUserSuggestionResults​(int index,
                                                                                   SuggestionResult.Builder builderForValue)
         The suggestions for end user. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
      • addAllEndUserSuggestionResults

        public StreamingAnalyzeContentResponse.Builder addAllEndUserSuggestionResults​(Iterable<? extends SuggestionResult> values)
         The suggestions for end user. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
      • clearEndUserSuggestionResults

        public StreamingAnalyzeContentResponse.Builder clearEndUserSuggestionResults()
         The suggestions for end user. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
      • removeEndUserSuggestionResults

        public StreamingAnalyzeContentResponse.Builder removeEndUserSuggestionResults​(int index)
         The suggestions for end user. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
      • getEndUserSuggestionResultsBuilder

        public SuggestionResult.Builder getEndUserSuggestionResultsBuilder​(int index)
         The suggestions for end user. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
      • getEndUserSuggestionResultsOrBuilder

        public SuggestionResultOrBuilder getEndUserSuggestionResultsOrBuilder​(int index)
         The suggestions for end user. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
        Specified by:
        getEndUserSuggestionResultsOrBuilder in interface StreamingAnalyzeContentResponseOrBuilder
      • getEndUserSuggestionResultsOrBuilderList

        public List<? extends SuggestionResultOrBuilder> getEndUserSuggestionResultsOrBuilderList()
         The suggestions for end user. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
        Specified by:
        getEndUserSuggestionResultsOrBuilderList in interface StreamingAnalyzeContentResponseOrBuilder
      • addEndUserSuggestionResultsBuilder

        public SuggestionResult.Builder addEndUserSuggestionResultsBuilder()
         The suggestions for end user. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
      • addEndUserSuggestionResultsBuilder

        public SuggestionResult.Builder addEndUserSuggestionResultsBuilder​(int index)
         The suggestions for end user. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
      • getEndUserSuggestionResultsBuilderList

        public List<SuggestionResult.Builder> getEndUserSuggestionResultsBuilderList()
         The suggestions for end user. The order is the same as
         [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
         of
         [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8;
      • hasDtmfParameters

        public boolean hasDtmfParameters()
         Indicates the parameters of DTMF.
         
        .google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 10;
        Specified by:
        hasDtmfParameters in interface StreamingAnalyzeContentResponseOrBuilder
        Returns:
        Whether the dtmfParameters field is set.
      • getDtmfParametersBuilder

        public DtmfParameters.Builder getDtmfParametersBuilder()
         Indicates the parameters of DTMF.
         
        .google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 10;
      • hasDebuggingInfo

        public boolean hasDebuggingInfo()
         Debugging info that would get populated when
         `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.
         
        .google.cloud.dialogflow.v2.CloudConversationDebuggingInfo debugging_info = 11;
        Specified by:
        hasDebuggingInfo in interface StreamingAnalyzeContentResponseOrBuilder
        Returns:
        Whether the debuggingInfo field is set.
      • clearDebuggingInfo

        public StreamingAnalyzeContentResponse.Builder clearDebuggingInfo()
         Debugging info that would get populated when
         `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.
         
        .google.cloud.dialogflow.v2.CloudConversationDebuggingInfo debugging_info = 11;
      • getDebuggingInfoBuilder

        public CloudConversationDebuggingInfo.Builder getDebuggingInfoBuilder()
         Debugging info that would get populated when
         `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.
         
        .google.cloud.dialogflow.v2.CloudConversationDebuggingInfo debugging_info = 11;