Class HumanAgentAssistantEvent.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<HumanAgentAssistantEvent.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<HumanAgentAssistantEvent.Builder>
      • getDefaultInstanceForType

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

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

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

        public HumanAgentAssistantEvent.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
      • addRepeatedField

        public HumanAgentAssistantEvent.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
      • isInitialized

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

        public HumanAgentAssistantEvent.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<HumanAgentAssistantEvent.Builder>
        Throws:
        IOException
      • getConversation

        public String getConversation()
         The conversation this notification refers to.
         Format: `projects/<Project ID>/conversations/<Conversation ID>`.
         
        string conversation = 1;
        Specified by:
        getConversation in interface HumanAgentAssistantEventOrBuilder
        Returns:
        The conversation.
      • getConversationBytes

        public com.google.protobuf.ByteString getConversationBytes()
         The conversation this notification refers to.
         Format: `projects/<Project ID>/conversations/<Conversation ID>`.
         
        string conversation = 1;
        Specified by:
        getConversationBytes in interface HumanAgentAssistantEventOrBuilder
        Returns:
        The bytes for conversation.
      • setConversation

        public HumanAgentAssistantEvent.Builder setConversation​(String value)
         The conversation this notification refers to.
         Format: `projects/<Project ID>/conversations/<Conversation ID>`.
         
        string conversation = 1;
        Parameters:
        value - The conversation to set.
        Returns:
        This builder for chaining.
      • clearConversation

        public HumanAgentAssistantEvent.Builder clearConversation()
         The conversation this notification refers to.
         Format: `projects/<Project ID>/conversations/<Conversation ID>`.
         
        string conversation = 1;
        Returns:
        This builder for chaining.
      • setConversationBytes

        public HumanAgentAssistantEvent.Builder setConversationBytes​(com.google.protobuf.ByteString value)
         The conversation this notification refers to.
         Format: `projects/<Project ID>/conversations/<Conversation ID>`.
         
        string conversation = 1;
        Parameters:
        value - The bytes for conversation to set.
        Returns:
        This builder for chaining.
      • getParticipant

        public String getParticipant()
         The participant that the suggestion is compiled for.
         Format: `projects/<Project ID>/conversations/<Conversation
         ID>/participants/<Participant ID>`. It will not be set in legacy workflow.
         
        string participant = 3;
        Specified by:
        getParticipant in interface HumanAgentAssistantEventOrBuilder
        Returns:
        The participant.
      • getParticipantBytes

        public com.google.protobuf.ByteString getParticipantBytes()
         The participant that the suggestion is compiled for.
         Format: `projects/<Project ID>/conversations/<Conversation
         ID>/participants/<Participant ID>`. It will not be set in legacy workflow.
         
        string participant = 3;
        Specified by:
        getParticipantBytes in interface HumanAgentAssistantEventOrBuilder
        Returns:
        The bytes for participant.
      • setParticipant

        public HumanAgentAssistantEvent.Builder setParticipant​(String value)
         The participant that the suggestion is compiled for.
         Format: `projects/<Project ID>/conversations/<Conversation
         ID>/participants/<Participant ID>`. It will not be set in legacy workflow.
         
        string participant = 3;
        Parameters:
        value - The participant to set.
        Returns:
        This builder for chaining.
      • clearParticipant

        public HumanAgentAssistantEvent.Builder clearParticipant()
         The participant that the suggestion is compiled for.
         Format: `projects/<Project ID>/conversations/<Conversation
         ID>/participants/<Participant ID>`. It will not be set in legacy workflow.
         
        string participant = 3;
        Returns:
        This builder for chaining.
      • setParticipantBytes

        public HumanAgentAssistantEvent.Builder setParticipantBytes​(com.google.protobuf.ByteString value)
         The participant that the suggestion is compiled for.
         Format: `projects/<Project ID>/conversations/<Conversation
         ID>/participants/<Participant ID>`. It will not be set in legacy workflow.
         
        string participant = 3;
        Parameters:
        value - The bytes for participant to set.
        Returns:
        This builder for chaining.
      • getSuggestionResultsCount

        public int getSuggestionResultsCount()
         The suggestion results payload that this notification refers to.
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
        Specified by:
        getSuggestionResultsCount in interface HumanAgentAssistantEventOrBuilder
      • setSuggestionResults

        public HumanAgentAssistantEvent.Builder setSuggestionResults​(int index,
                                                                     SuggestionResult value)
         The suggestion results payload that this notification refers to.
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
      • setSuggestionResults

        public HumanAgentAssistantEvent.Builder setSuggestionResults​(int index,
                                                                     SuggestionResult.Builder builderForValue)
         The suggestion results payload that this notification refers to.
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
      • addSuggestionResults

        public HumanAgentAssistantEvent.Builder addSuggestionResults​(SuggestionResult value)
         The suggestion results payload that this notification refers to.
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
      • addSuggestionResults

        public HumanAgentAssistantEvent.Builder addSuggestionResults​(int index,
                                                                     SuggestionResult value)
         The suggestion results payload that this notification refers to.
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
      • addSuggestionResults

        public HumanAgentAssistantEvent.Builder addSuggestionResults​(int index,
                                                                     SuggestionResult.Builder builderForValue)
         The suggestion results payload that this notification refers to.
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
      • addAllSuggestionResults

        public HumanAgentAssistantEvent.Builder addAllSuggestionResults​(Iterable<? extends SuggestionResult> values)
         The suggestion results payload that this notification refers to.
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
      • clearSuggestionResults

        public HumanAgentAssistantEvent.Builder clearSuggestionResults()
         The suggestion results payload that this notification refers to.
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
      • removeSuggestionResults

        public HumanAgentAssistantEvent.Builder removeSuggestionResults​(int index)
         The suggestion results payload that this notification refers to.
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
      • getSuggestionResultsBuilder

        public SuggestionResult.Builder getSuggestionResultsBuilder​(int index)
         The suggestion results payload that this notification refers to.
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
      • addSuggestionResultsBuilder

        public SuggestionResult.Builder addSuggestionResultsBuilder()
         The suggestion results payload that this notification refers to.
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
      • addSuggestionResultsBuilder

        public SuggestionResult.Builder addSuggestionResultsBuilder​(int index)
         The suggestion results payload that this notification refers to.
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
      • getSuggestionResultsBuilderList

        public List<SuggestionResult.Builder> getSuggestionResultsBuilderList()
         The suggestion results payload that this notification refers to.
         
        repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
      • setUnknownFields

        public final HumanAgentAssistantEvent.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
      • mergeUnknownFields

        public final HumanAgentAssistantEvent.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>