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

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

        public AgentAssistantFeedback.KnowledgeSearchFeedback 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<AgentAssistantFeedback.KnowledgeSearchFeedback.Builder>
      • getAnswerCopied

        public boolean getAnswerCopied()
         Whether the answer was copied by the human agent or not.
         If the value is set to be true,
         [AnswerFeedback.clicked][google.cloud.dialogflow.v2.AnswerFeedback.clicked]
         will be updated to be true.
         
        bool answer_copied = 1;
        Specified by:
        getAnswerCopied in interface AgentAssistantFeedback.KnowledgeSearchFeedbackOrBuilder
        Returns:
        The answerCopied.
      • setAnswerCopied

        public AgentAssistantFeedback.KnowledgeSearchFeedback.Builder setAnswerCopied​(boolean value)
         Whether the answer was copied by the human agent or not.
         If the value is set to be true,
         [AnswerFeedback.clicked][google.cloud.dialogflow.v2.AnswerFeedback.clicked]
         will be updated to be true.
         
        bool answer_copied = 1;
        Parameters:
        value - The answerCopied to set.
        Returns:
        This builder for chaining.
      • clearAnswerCopied

        public AgentAssistantFeedback.KnowledgeSearchFeedback.Builder clearAnswerCopied()
         Whether the answer was copied by the human agent or not.
         If the value is set to be true,
         [AnswerFeedback.clicked][google.cloud.dialogflow.v2.AnswerFeedback.clicked]
         will be updated to be true.
         
        bool answer_copied = 1;
        Returns:
        This builder for chaining.
      • getClickedUrisList

        public com.google.protobuf.ProtocolStringList getClickedUrisList()
         The URIs clicked by the human agent. The value is appended for each
         [UpdateAnswerRecordRequest][google.cloud.dialogflow.v2.UpdateAnswerRecordRequest].
         If the value is not empty,
         [AnswerFeedback.clicked][google.cloud.dialogflow.v2.AnswerFeedback.clicked]
         will be updated to be true.
         
        repeated string clicked_uris = 2;
        Specified by:
        getClickedUrisList in interface AgentAssistantFeedback.KnowledgeSearchFeedbackOrBuilder
        Returns:
        A list containing the clickedUris.
      • getClickedUrisCount

        public int getClickedUrisCount()
         The URIs clicked by the human agent. The value is appended for each
         [UpdateAnswerRecordRequest][google.cloud.dialogflow.v2.UpdateAnswerRecordRequest].
         If the value is not empty,
         [AnswerFeedback.clicked][google.cloud.dialogflow.v2.AnswerFeedback.clicked]
         will be updated to be true.
         
        repeated string clicked_uris = 2;
        Specified by:
        getClickedUrisCount in interface AgentAssistantFeedback.KnowledgeSearchFeedbackOrBuilder
        Returns:
        The count of clickedUris.
      • getClickedUris

        public String getClickedUris​(int index)
         The URIs clicked by the human agent. The value is appended for each
         [UpdateAnswerRecordRequest][google.cloud.dialogflow.v2.UpdateAnswerRecordRequest].
         If the value is not empty,
         [AnswerFeedback.clicked][google.cloud.dialogflow.v2.AnswerFeedback.clicked]
         will be updated to be true.
         
        repeated string clicked_uris = 2;
        Specified by:
        getClickedUris in interface AgentAssistantFeedback.KnowledgeSearchFeedbackOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The clickedUris at the given index.
      • getClickedUrisBytes

        public com.google.protobuf.ByteString getClickedUrisBytes​(int index)
         The URIs clicked by the human agent. The value is appended for each
         [UpdateAnswerRecordRequest][google.cloud.dialogflow.v2.UpdateAnswerRecordRequest].
         If the value is not empty,
         [AnswerFeedback.clicked][google.cloud.dialogflow.v2.AnswerFeedback.clicked]
         will be updated to be true.
         
        repeated string clicked_uris = 2;
        Specified by:
        getClickedUrisBytes in interface AgentAssistantFeedback.KnowledgeSearchFeedbackOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the clickedUris at the given index.
      • setClickedUris

        public AgentAssistantFeedback.KnowledgeSearchFeedback.Builder setClickedUris​(int index,
                                                                                     String value)
         The URIs clicked by the human agent. The value is appended for each
         [UpdateAnswerRecordRequest][google.cloud.dialogflow.v2.UpdateAnswerRecordRequest].
         If the value is not empty,
         [AnswerFeedback.clicked][google.cloud.dialogflow.v2.AnswerFeedback.clicked]
         will be updated to be true.
         
        repeated string clicked_uris = 2;
        Parameters:
        index - The index to set the value at.
        value - The clickedUris to set.
        Returns:
        This builder for chaining.
      • addClickedUris

        public AgentAssistantFeedback.KnowledgeSearchFeedback.Builder addClickedUris​(String value)
         The URIs clicked by the human agent. The value is appended for each
         [UpdateAnswerRecordRequest][google.cloud.dialogflow.v2.UpdateAnswerRecordRequest].
         If the value is not empty,
         [AnswerFeedback.clicked][google.cloud.dialogflow.v2.AnswerFeedback.clicked]
         will be updated to be true.
         
        repeated string clicked_uris = 2;
        Parameters:
        value - The clickedUris to add.
        Returns:
        This builder for chaining.
      • addAllClickedUris

        public AgentAssistantFeedback.KnowledgeSearchFeedback.Builder addAllClickedUris​(Iterable<String> values)
         The URIs clicked by the human agent. The value is appended for each
         [UpdateAnswerRecordRequest][google.cloud.dialogflow.v2.UpdateAnswerRecordRequest].
         If the value is not empty,
         [AnswerFeedback.clicked][google.cloud.dialogflow.v2.AnswerFeedback.clicked]
         will be updated to be true.
         
        repeated string clicked_uris = 2;
        Parameters:
        values - The clickedUris to add.
        Returns:
        This builder for chaining.
      • clearClickedUris

        public AgentAssistantFeedback.KnowledgeSearchFeedback.Builder clearClickedUris()
         The URIs clicked by the human agent. The value is appended for each
         [UpdateAnswerRecordRequest][google.cloud.dialogflow.v2.UpdateAnswerRecordRequest].
         If the value is not empty,
         [AnswerFeedback.clicked][google.cloud.dialogflow.v2.AnswerFeedback.clicked]
         will be updated to be true.
         
        repeated string clicked_uris = 2;
        Returns:
        This builder for chaining.
      • addClickedUrisBytes

        public AgentAssistantFeedback.KnowledgeSearchFeedback.Builder addClickedUrisBytes​(com.google.protobuf.ByteString value)
         The URIs clicked by the human agent. The value is appended for each
         [UpdateAnswerRecordRequest][google.cloud.dialogflow.v2.UpdateAnswerRecordRequest].
         If the value is not empty,
         [AnswerFeedback.clicked][google.cloud.dialogflow.v2.AnswerFeedback.clicked]
         will be updated to be true.
         
        repeated string clicked_uris = 2;
        Parameters:
        value - The bytes of the clickedUris to add.
        Returns:
        This builder for chaining.