Class HumanAgentAssistantConfig.MessageAnalysisConfig.Builder

    • 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<HumanAgentAssistantConfig.MessageAnalysisConfig.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<HumanAgentAssistantConfig.MessageAnalysisConfig.Builder>
      • getDefaultInstanceForType

        public HumanAgentAssistantConfig.MessageAnalysisConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • buildPartial

        public HumanAgentAssistantConfig.MessageAnalysisConfig 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<HumanAgentAssistantConfig.MessageAnalysisConfig.Builder>
      • getEnableEntityExtraction

        public boolean getEnableEntityExtraction()
         Enable entity extraction in conversation messages on [agent assist
         stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages).
         If unspecified, defaults to false.
        
         Currently, this feature is not general available, please contact Google
         to get access.
         
        bool enable_entity_extraction = 2;
        Specified by:
        getEnableEntityExtraction in interface HumanAgentAssistantConfig.MessageAnalysisConfigOrBuilder
        Returns:
        The enableEntityExtraction.
      • setEnableEntityExtraction

        public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder setEnableEntityExtraction​(boolean value)
         Enable entity extraction in conversation messages on [agent assist
         stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages).
         If unspecified, defaults to false.
        
         Currently, this feature is not general available, please contact Google
         to get access.
         
        bool enable_entity_extraction = 2;
        Parameters:
        value - The enableEntityExtraction to set.
        Returns:
        This builder for chaining.
      • clearEnableEntityExtraction

        public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder clearEnableEntityExtraction()
         Enable entity extraction in conversation messages on [agent assist
         stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages).
         If unspecified, defaults to false.
        
         Currently, this feature is not general available, please contact Google
         to get access.
         
        bool enable_entity_extraction = 2;
        Returns:
        This builder for chaining.
      • getEnableSentimentAnalysis

        public boolean getEnableSentimentAnalysis()
         Enable sentiment analysis in conversation messages on [agent assist
         stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages).
         If unspecified, defaults to false. Sentiment analysis inspects user input
         and identifies the prevailing subjective opinion, especially to determine
         a user's attitude as positive, negative, or neutral:
         https://cloud.google.com/natural-language/docs/basics#sentiment_analysis
         For
         [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent]
         method, result will be in
         [StreamingAnalyzeContentResponse.message.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.message].
         For
         [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent]
         method, result will be in
         [AnalyzeContentResponse.message.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.message]
         For
         [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages]
         method, result will be in
         [ListMessagesResponse.messages.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.ListMessagesResponse.messages]
         If Pub/Sub notification is configured, result will be in
         [ConversationEvent.new_message_payload.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.ConversationEvent.new_message_payload].
         
        bool enable_sentiment_analysis = 3;
        Specified by:
        getEnableSentimentAnalysis in interface HumanAgentAssistantConfig.MessageAnalysisConfigOrBuilder
        Returns:
        The enableSentimentAnalysis.
      • setEnableSentimentAnalysis

        public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder setEnableSentimentAnalysis​(boolean value)
         Enable sentiment analysis in conversation messages on [agent assist
         stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages).
         If unspecified, defaults to false. Sentiment analysis inspects user input
         and identifies the prevailing subjective opinion, especially to determine
         a user's attitude as positive, negative, or neutral:
         https://cloud.google.com/natural-language/docs/basics#sentiment_analysis
         For
         [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent]
         method, result will be in
         [StreamingAnalyzeContentResponse.message.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.message].
         For
         [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent]
         method, result will be in
         [AnalyzeContentResponse.message.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.message]
         For
         [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages]
         method, result will be in
         [ListMessagesResponse.messages.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.ListMessagesResponse.messages]
         If Pub/Sub notification is configured, result will be in
         [ConversationEvent.new_message_payload.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.ConversationEvent.new_message_payload].
         
        bool enable_sentiment_analysis = 3;
        Parameters:
        value - The enableSentimentAnalysis to set.
        Returns:
        This builder for chaining.
      • clearEnableSentimentAnalysis

        public HumanAgentAssistantConfig.MessageAnalysisConfig.Builder clearEnableSentimentAnalysis()
         Enable sentiment analysis in conversation messages on [agent assist
         stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages).
         If unspecified, defaults to false. Sentiment analysis inspects user input
         and identifies the prevailing subjective opinion, especially to determine
         a user's attitude as positive, negative, or neutral:
         https://cloud.google.com/natural-language/docs/basics#sentiment_analysis
         For
         [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent]
         method, result will be in
         [StreamingAnalyzeContentResponse.message.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.message].
         For
         [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent]
         method, result will be in
         [AnalyzeContentResponse.message.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.message]
         For
         [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages]
         method, result will be in
         [ListMessagesResponse.messages.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.ListMessagesResponse.messages]
         If Pub/Sub notification is configured, result will be in
         [ConversationEvent.new_message_payload.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.ConversationEvent.new_message_payload].
         
        bool enable_sentiment_analysis = 3;
        Returns:
        This builder for chaining.