Class BulkDownloadFeedbackLabelsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BulkDownloadFeedbackLabelsRequest.Builder>
com.google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.Builder
All Implemented Interfaces:
BulkDownloadFeedbackLabelsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BulkDownloadFeedbackLabelsRequest

public static final class BulkDownloadFeedbackLabelsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<BulkDownloadFeedbackLabelsRequest.Builder> implements BulkDownloadFeedbackLabelsRequestOrBuilder
 Request for the BulkDownloadFeedbackLabel endpoint.
 
Protobuf type google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest
  • 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<BulkDownloadFeedbackLabelsRequest.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<BulkDownloadFeedbackLabelsRequest.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<BulkDownloadFeedbackLabelsRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public BulkDownloadFeedbackLabelsRequest.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<BulkDownloadFeedbackLabelsRequest.Builder>
      Throws:
      IOException
    • getDestinationCase

      Specified by:
      getDestinationCase in interface BulkDownloadFeedbackLabelsRequestOrBuilder
    • clearDestination

      public BulkDownloadFeedbackLabelsRequest.Builder clearDestination()
    • hasGcsDestination

      public boolean hasGcsDestination()
       A cloud storage bucket destination.
       
      .google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination gcs_destination = 3;
      Specified by:
      hasGcsDestination in interface BulkDownloadFeedbackLabelsRequestOrBuilder
      Returns:
      Whether the gcsDestination field is set.
    • getGcsDestination

       A cloud storage bucket destination.
       
      .google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination gcs_destination = 3;
      Specified by:
      getGcsDestination in interface BulkDownloadFeedbackLabelsRequestOrBuilder
      Returns:
      The gcsDestination.
    • setGcsDestination

       A cloud storage bucket destination.
       
      .google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination gcs_destination = 3;
    • setGcsDestination

       A cloud storage bucket destination.
       
      .google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination gcs_destination = 3;
    • mergeGcsDestination

       A cloud storage bucket destination.
       
      .google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination gcs_destination = 3;
    • clearGcsDestination

      public BulkDownloadFeedbackLabelsRequest.Builder clearGcsDestination()
       A cloud storage bucket destination.
       
      .google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination gcs_destination = 3;
    • getGcsDestinationBuilder

       A cloud storage bucket destination.
       
      .google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination gcs_destination = 3;
    • getGcsDestinationOrBuilder

      public BulkDownloadFeedbackLabelsRequest.GcsDestinationOrBuilder getGcsDestinationOrBuilder()
       A cloud storage bucket destination.
       
      .google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination gcs_destination = 3;
      Specified by:
      getGcsDestinationOrBuilder in interface BulkDownloadFeedbackLabelsRequestOrBuilder
    • getParent

      public String getParent()
       Required. The parent resource for new feedback labels.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface BulkDownloadFeedbackLabelsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource for new feedback labels.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface BulkDownloadFeedbackLabelsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. The parent resource for new feedback labels.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

       Required. The parent resource for new feedback labels.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public BulkDownloadFeedbackLabelsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent resource for new feedback labels.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getFilter

      public String getFilter()
       Optional. A filter to reduce results to a specific subset. Supports
       disjunctions (OR) and conjunctions (AND).
      
       Supported fields:
      
       * `issue_model_id`
       * `qa_question_id`
       * `qa_scorecard_id`
       * `min_create_time`
       * `max_create_time`
       * `min_update_time`
       * `max_update_time`
       * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING
       
      string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilter in interface BulkDownloadFeedbackLabelsRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       Optional. A filter to reduce results to a specific subset. Supports
       disjunctions (OR) and conjunctions (AND).
      
       Supported fields:
      
       * `issue_model_id`
       * `qa_question_id`
       * `qa_scorecard_id`
       * `min_create_time`
       * `max_create_time`
       * `min_update_time`
       * `max_update_time`
       * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING
       
      string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilterBytes in interface BulkDownloadFeedbackLabelsRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

       Optional. A filter to reduce results to a specific subset. Supports
       disjunctions (OR) and conjunctions (AND).
      
       Supported fields:
      
       * `issue_model_id`
       * `qa_question_id`
       * `qa_scorecard_id`
       * `min_create_time`
       * `max_create_time`
       * `min_update_time`
       * `max_update_time`
       * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING
       
      string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

       Optional. A filter to reduce results to a specific subset. Supports
       disjunctions (OR) and conjunctions (AND).
      
       Supported fields:
      
       * `issue_model_id`
       * `qa_question_id`
       * `qa_scorecard_id`
       * `min_create_time`
       * `max_create_time`
       * `min_update_time`
       * `max_update_time`
       * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING
       
      string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setFilterBytes

      public BulkDownloadFeedbackLabelsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       Optional. A filter to reduce results to a specific subset. Supports
       disjunctions (OR) and conjunctions (AND).
      
       Supported fields:
      
       * `issue_model_id`
       * `qa_question_id`
       * `qa_scorecard_id`
       * `min_create_time`
       * `max_create_time`
       * `min_update_time`
       * `max_update_time`
       * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING
       
      string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.
    • getMaxDownloadCount

      public int getMaxDownloadCount()
       Optional. Limits the maximum number of feedback labels that will be
       downloaded. The first `N` feedback labels will be downloaded.
       
      int32 max_download_count = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMaxDownloadCount in interface BulkDownloadFeedbackLabelsRequestOrBuilder
      Returns:
      The maxDownloadCount.
    • setMaxDownloadCount

      public BulkDownloadFeedbackLabelsRequest.Builder setMaxDownloadCount(int value)
       Optional. Limits the maximum number of feedback labels that will be
       downloaded. The first `N` feedback labels will be downloaded.
       
      int32 max_download_count = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The maxDownloadCount to set.
      Returns:
      This builder for chaining.
    • clearMaxDownloadCount

      public BulkDownloadFeedbackLabelsRequest.Builder clearMaxDownloadCount()
       Optional. Limits the maximum number of feedback labels that will be
       downloaded. The first `N` feedback labels will be downloaded.
       
      int32 max_download_count = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getFeedbackLabelTypeValue

      public int getFeedbackLabelTypeValue()
       Optional. The type of feedback labels that will be downloaded.
       
      .google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.FeedbackLabelType feedback_label_type = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFeedbackLabelTypeValue in interface BulkDownloadFeedbackLabelsRequestOrBuilder
      Returns:
      The enum numeric value on the wire for feedbackLabelType.
    • setFeedbackLabelTypeValue

      public BulkDownloadFeedbackLabelsRequest.Builder setFeedbackLabelTypeValue(int value)
       Optional. The type of feedback labels that will be downloaded.
       
      .google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.FeedbackLabelType feedback_label_type = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for feedbackLabelType to set.
      Returns:
      This builder for chaining.
    • getFeedbackLabelType

       Optional. The type of feedback labels that will be downloaded.
       
      .google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.FeedbackLabelType feedback_label_type = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFeedbackLabelType in interface BulkDownloadFeedbackLabelsRequestOrBuilder
      Returns:
      The feedbackLabelType.
    • setFeedbackLabelType

       Optional. The type of feedback labels that will be downloaded.
       
      .google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.FeedbackLabelType feedback_label_type = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The feedbackLabelType to set.
      Returns:
      This builder for chaining.
    • clearFeedbackLabelType

      public BulkDownloadFeedbackLabelsRequest.Builder clearFeedbackLabelType()
       Optional. The type of feedback labels that will be downloaded.
       
      .google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.FeedbackLabelType feedback_label_type = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getConversationFilter

      public String getConversationFilter()
       Optional. Filter parent conversations to download feedback labels for.
       When specified, the feedback labels will be downloaded for the
       conversations that match the filter.
       If `template_qa_scorecard_id` is set, all the conversations that match the
       filter will be paired with the questions under the scorecard for labeling.
       
      string conversation_filter = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConversationFilter in interface BulkDownloadFeedbackLabelsRequestOrBuilder
      Returns:
      The conversationFilter.
    • getConversationFilterBytes

      public com.google.protobuf.ByteString getConversationFilterBytes()
       Optional. Filter parent conversations to download feedback labels for.
       When specified, the feedback labels will be downloaded for the
       conversations that match the filter.
       If `template_qa_scorecard_id` is set, all the conversations that match the
       filter will be paired with the questions under the scorecard for labeling.
       
      string conversation_filter = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConversationFilterBytes in interface BulkDownloadFeedbackLabelsRequestOrBuilder
      Returns:
      The bytes for conversationFilter.
    • setConversationFilter

      public BulkDownloadFeedbackLabelsRequest.Builder setConversationFilter(String value)
       Optional. Filter parent conversations to download feedback labels for.
       When specified, the feedback labels will be downloaded for the
       conversations that match the filter.
       If `template_qa_scorecard_id` is set, all the conversations that match the
       filter will be paired with the questions under the scorecard for labeling.
       
      string conversation_filter = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The conversationFilter to set.
      Returns:
      This builder for chaining.
    • clearConversationFilter

      public BulkDownloadFeedbackLabelsRequest.Builder clearConversationFilter()
       Optional. Filter parent conversations to download feedback labels for.
       When specified, the feedback labels will be downloaded for the
       conversations that match the filter.
       If `template_qa_scorecard_id` is set, all the conversations that match the
       filter will be paired with the questions under the scorecard for labeling.
       
      string conversation_filter = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setConversationFilterBytes

      public BulkDownloadFeedbackLabelsRequest.Builder setConversationFilterBytes(com.google.protobuf.ByteString value)
       Optional. Filter parent conversations to download feedback labels for.
       When specified, the feedback labels will be downloaded for the
       conversations that match the filter.
       If `template_qa_scorecard_id` is set, all the conversations that match the
       filter will be paired with the questions under the scorecard for labeling.
       
      string conversation_filter = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for conversationFilter to set.
      Returns:
      This builder for chaining.
    • getTemplateQaScorecardIdList

      public com.google.protobuf.ProtocolStringList getTemplateQaScorecardIdList()
       Optional. If set, a template for labeling conversations and scorecard
       questions will be created from the conversation_filter and the questions
       under the scorecard(s). The feedback label `filter` will be ignored.
       
      repeated string template_qa_scorecard_id = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTemplateQaScorecardIdList in interface BulkDownloadFeedbackLabelsRequestOrBuilder
      Returns:
      A list containing the templateQaScorecardId.
    • getTemplateQaScorecardIdCount

      public int getTemplateQaScorecardIdCount()
       Optional. If set, a template for labeling conversations and scorecard
       questions will be created from the conversation_filter and the questions
       under the scorecard(s). The feedback label `filter` will be ignored.
       
      repeated string template_qa_scorecard_id = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTemplateQaScorecardIdCount in interface BulkDownloadFeedbackLabelsRequestOrBuilder
      Returns:
      The count of templateQaScorecardId.
    • getTemplateQaScorecardId

      public String getTemplateQaScorecardId(int index)
       Optional. If set, a template for labeling conversations and scorecard
       questions will be created from the conversation_filter and the questions
       under the scorecard(s). The feedback label `filter` will be ignored.
       
      repeated string template_qa_scorecard_id = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTemplateQaScorecardId in interface BulkDownloadFeedbackLabelsRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The templateQaScorecardId at the given index.
    • getTemplateQaScorecardIdBytes

      public com.google.protobuf.ByteString getTemplateQaScorecardIdBytes(int index)
       Optional. If set, a template for labeling conversations and scorecard
       questions will be created from the conversation_filter and the questions
       under the scorecard(s). The feedback label `filter` will be ignored.
       
      repeated string template_qa_scorecard_id = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTemplateQaScorecardIdBytes in interface BulkDownloadFeedbackLabelsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the templateQaScorecardId at the given index.
    • setTemplateQaScorecardId

      public BulkDownloadFeedbackLabelsRequest.Builder setTemplateQaScorecardId(int index, String value)
       Optional. If set, a template for labeling conversations and scorecard
       questions will be created from the conversation_filter and the questions
       under the scorecard(s). The feedback label `filter` will be ignored.
       
      repeated string template_qa_scorecard_id = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The templateQaScorecardId to set.
      Returns:
      This builder for chaining.
    • addTemplateQaScorecardId

      public BulkDownloadFeedbackLabelsRequest.Builder addTemplateQaScorecardId(String value)
       Optional. If set, a template for labeling conversations and scorecard
       questions will be created from the conversation_filter and the questions
       under the scorecard(s). The feedback label `filter` will be ignored.
       
      repeated string template_qa_scorecard_id = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The templateQaScorecardId to add.
      Returns:
      This builder for chaining.
    • addAllTemplateQaScorecardId

      public BulkDownloadFeedbackLabelsRequest.Builder addAllTemplateQaScorecardId(Iterable<String> values)
       Optional. If set, a template for labeling conversations and scorecard
       questions will be created from the conversation_filter and the questions
       under the scorecard(s). The feedback label `filter` will be ignored.
       
      repeated string template_qa_scorecard_id = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The templateQaScorecardId to add.
      Returns:
      This builder for chaining.
    • clearTemplateQaScorecardId

      public BulkDownloadFeedbackLabelsRequest.Builder clearTemplateQaScorecardId()
       Optional. If set, a template for labeling conversations and scorecard
       questions will be created from the conversation_filter and the questions
       under the scorecard(s). The feedback label `filter` will be ignored.
       
      repeated string template_qa_scorecard_id = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addTemplateQaScorecardIdBytes

      public BulkDownloadFeedbackLabelsRequest.Builder addTemplateQaScorecardIdBytes(com.google.protobuf.ByteString value)
       Optional. If set, a template for labeling conversations and scorecard
       questions will be created from the conversation_filter and the questions
       under the scorecard(s). The feedback label `filter` will be ignored.
       
      repeated string template_qa_scorecard_id = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the templateQaScorecardId to add.
      Returns:
      This builder for chaining.