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 Summary
Modifier and TypeMethodDescriptionaddAllTemplateQaScorecardId(Iterable<String> values) Optional.addTemplateQaScorecardId(String value) Optional.addTemplateQaScorecardIdBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.Optional.Optional.A cloud storage bucket destination.Optional.Required.Optional.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.intOptional.Optional.com.google.protobuf.ByteStringOptional.A cloud storage bucket destination.A cloud storage bucket destination.A cloud storage bucket destination.intOptional.Required.com.google.protobuf.ByteStringRequired.getTemplateQaScorecardId(int index) Optional.com.google.protobuf.ByteStringgetTemplateQaScorecardIdBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.booleanA cloud storage bucket destination.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) A cloud storage bucket destination.setConversationFilter(String value) Optional.setConversationFilterBytes(com.google.protobuf.ByteString value) Optional.Optional.setFeedbackLabelTypeValue(int value) Optional.Optional.setFilterBytes(com.google.protobuf.ByteString value) Optional.A cloud storage bucket destination.A cloud storage bucket destination.setMaxDownloadCount(int value) Optional.Required.setParentBytes(com.google.protobuf.ByteString value) Required.setTemplateQaScorecardId(int index, String value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BulkDownloadFeedbackLabelsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BulkDownloadFeedbackLabelsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BulkDownloadFeedbackLabelsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BulkDownloadFeedbackLabelsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BulkDownloadFeedbackLabelsRequest.Builder>- Throws:
IOException
-
getDestinationCase
- Specified by:
getDestinationCasein interfaceBulkDownloadFeedbackLabelsRequestOrBuilder
-
clearDestination
-
hasGcsDestination
public boolean hasGcsDestination()A cloud storage bucket destination.
.google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination gcs_destination = 3;- Specified by:
hasGcsDestinationin interfaceBulkDownloadFeedbackLabelsRequestOrBuilder- Returns:
- Whether the gcsDestination field is set.
-
getGcsDestination
A cloud storage bucket destination.
.google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination gcs_destination = 3;- Specified by:
getGcsDestinationin interfaceBulkDownloadFeedbackLabelsRequestOrBuilder- Returns:
- The gcsDestination.
-
setGcsDestination
public BulkDownloadFeedbackLabelsRequest.Builder setGcsDestination(BulkDownloadFeedbackLabelsRequest.GcsDestination value) A cloud storage bucket destination.
.google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination gcs_destination = 3; -
setGcsDestination
public BulkDownloadFeedbackLabelsRequest.Builder setGcsDestination(BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder builderForValue) A cloud storage bucket destination.
.google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination gcs_destination = 3; -
mergeGcsDestination
public BulkDownloadFeedbackLabelsRequest.Builder mergeGcsDestination(BulkDownloadFeedbackLabelsRequest.GcsDestination value) A cloud storage bucket destination.
.google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination gcs_destination = 3; -
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
A cloud storage bucket destination.
.google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination gcs_destination = 3;- Specified by:
getGcsDestinationOrBuilderin interfaceBulkDownloadFeedbackLabelsRequestOrBuilder
-
getParent
Required. The parent resource for new feedback labels.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceBulkDownloadFeedbackLabelsRequestOrBuilder- 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:
getParentBytesin interfaceBulkDownloadFeedbackLabelsRequestOrBuilder- 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
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:
getFilterin interfaceBulkDownloadFeedbackLabelsRequestOrBuilder- 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:
getFilterBytesin interfaceBulkDownloadFeedbackLabelsRequestOrBuilder- 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:
getMaxDownloadCountin interfaceBulkDownloadFeedbackLabelsRequestOrBuilder- Returns:
- The maxDownloadCount.
-
setMaxDownloadCount
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
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:
getFeedbackLabelTypeValuein interfaceBulkDownloadFeedbackLabelsRequestOrBuilder- Returns:
- The enum numeric value on the wire for feedbackLabelType.
-
setFeedbackLabelTypeValue
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:
getFeedbackLabelTypein interfaceBulkDownloadFeedbackLabelsRequestOrBuilder- Returns:
- The feedbackLabelType.
-
setFeedbackLabelType
public BulkDownloadFeedbackLabelsRequest.Builder setFeedbackLabelType(BulkDownloadFeedbackLabelsRequest.FeedbackLabelType 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 feedbackLabelType to set.- Returns:
- This builder for chaining.
-
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
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:
getConversationFilterin interfaceBulkDownloadFeedbackLabelsRequestOrBuilder- 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:
getConversationFilterBytesin interfaceBulkDownloadFeedbackLabelsRequestOrBuilder- Returns:
- The bytes for conversationFilter.
-
setConversationFilter
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
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:
getTemplateQaScorecardIdListin interfaceBulkDownloadFeedbackLabelsRequestOrBuilder- 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:
getTemplateQaScorecardIdCountin interfaceBulkDownloadFeedbackLabelsRequestOrBuilder- Returns:
- The count of templateQaScorecardId.
-
getTemplateQaScorecardId
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:
getTemplateQaScorecardIdin interfaceBulkDownloadFeedbackLabelsRequestOrBuilder- 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:
getTemplateQaScorecardIdBytesin interfaceBulkDownloadFeedbackLabelsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the templateQaScorecardId at the given index.
-
setTemplateQaScorecardId
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
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
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.
-