Class BulkDownloadFeedbackLabelsRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest
All Implemented Interfaces:
BulkDownloadFeedbackLabelsRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class BulkDownloadFeedbackLabelsRequest extends com.google.protobuf.GeneratedMessage implements BulkDownloadFeedbackLabelsRequestOrBuilder
 Request for the BulkDownloadFeedbackLabel endpoint.
 
Protobuf type google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest
See Also:
  • Field Details

    • GCS_DESTINATION_FIELD_NUMBER

      public static final int GCS_DESTINATION_FIELD_NUMBER
      See Also:
    • PARENT_FIELD_NUMBER

      public static final int PARENT_FIELD_NUMBER
      See Also:
    • FILTER_FIELD_NUMBER

      public static final int FILTER_FIELD_NUMBER
      See Also:
    • MAX_DOWNLOAD_COUNT_FIELD_NUMBER

      public static final int MAX_DOWNLOAD_COUNT_FIELD_NUMBER
      See Also:
    • FEEDBACK_LABEL_TYPE_FIELD_NUMBER

      public static final int FEEDBACK_LABEL_TYPE_FIELD_NUMBER
      See Also:
    • CONVERSATION_FILTER_FIELD_NUMBER

      public static final int CONVERSATION_FILTER_FIELD_NUMBER
      See Also:
    • TEMPLATE_QA_SCORECARD_ID_FIELD_NUMBER

      public static final int TEMPLATE_QA_SCORECARD_ID_FIELD_NUMBER
      See Also:
  • 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
    • getDestinationCase

      Specified by:
      getDestinationCase in interface BulkDownloadFeedbackLabelsRequestOrBuilder
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static BulkDownloadFeedbackLabelsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BulkDownloadFeedbackLabelsRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BulkDownloadFeedbackLabelsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BulkDownloadFeedbackLabelsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BulkDownloadFeedbackLabelsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BulkDownloadFeedbackLabelsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BulkDownloadFeedbackLabelsRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BulkDownloadFeedbackLabelsRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static BulkDownloadFeedbackLabelsRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static BulkDownloadFeedbackLabelsRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BulkDownloadFeedbackLabelsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BulkDownloadFeedbackLabelsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static BulkDownloadFeedbackLabelsRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected BulkDownloadFeedbackLabelsRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static BulkDownloadFeedbackLabelsRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<BulkDownloadFeedbackLabelsRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<BulkDownloadFeedbackLabelsRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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