Class BulkDownloadFeedbackLabelsRequest (2.54.0)

public final class BulkDownloadFeedbackLabelsRequest extends GeneratedMessageV3 implements BulkDownloadFeedbackLabelsRequestOrBuilder

Request for the BulkDownloadFeedbackLabel endpoint.

Protobuf type google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BulkDownloadFeedbackLabelsRequest

Static Fields

CONVERSATION_FILTER_FIELD_NUMBER

public static final int CONVERSATION_FILTER_FIELD_NUMBER
Field Value
Type Description
int

FEEDBACK_LABEL_TYPE_FIELD_NUMBER

public static final int FEEDBACK_LABEL_TYPE_FIELD_NUMBER
Field Value
Type Description
int

FILTER_FIELD_NUMBER

public static final int FILTER_FIELD_NUMBER
Field Value
Type Description
int

GCS_DESTINATION_FIELD_NUMBER

public static final int GCS_DESTINATION_FIELD_NUMBER
Field Value
Type Description
int

MAX_DOWNLOAD_COUNT_FIELD_NUMBER

public static final int MAX_DOWNLOAD_COUNT_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

TEMPLATE_QA_SCORECARD_ID_FIELD_NUMBER

public static final int TEMPLATE_QA_SCORECARD_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BulkDownloadFeedbackLabelsRequest getDefaultInstance()
Returns
Type Description
BulkDownloadFeedbackLabelsRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BulkDownloadFeedbackLabelsRequest.Builder newBuilder()
Returns
Type Description
BulkDownloadFeedbackLabelsRequest.Builder

newBuilder(BulkDownloadFeedbackLabelsRequest prototype)

public static BulkDownloadFeedbackLabelsRequest.Builder newBuilder(BulkDownloadFeedbackLabelsRequest prototype)
Parameter
Name Description
prototype BulkDownloadFeedbackLabelsRequest
Returns
Type Description
BulkDownloadFeedbackLabelsRequest.Builder

parseDelimitedFrom(InputStream input)

public static BulkDownloadFeedbackLabelsRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BulkDownloadFeedbackLabelsRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BulkDownloadFeedbackLabelsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkDownloadFeedbackLabelsRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BulkDownloadFeedbackLabelsRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BulkDownloadFeedbackLabelsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BulkDownloadFeedbackLabelsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkDownloadFeedbackLabelsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BulkDownloadFeedbackLabelsRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BulkDownloadFeedbackLabelsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BulkDownloadFeedbackLabelsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkDownloadFeedbackLabelsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BulkDownloadFeedbackLabelsRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BulkDownloadFeedbackLabelsRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BulkDownloadFeedbackLabelsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkDownloadFeedbackLabelsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BulkDownloadFeedbackLabelsRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BulkDownloadFeedbackLabelsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BulkDownloadFeedbackLabelsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkDownloadFeedbackLabelsRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BulkDownloadFeedbackLabelsRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BulkDownloadFeedbackLabelsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BulkDownloadFeedbackLabelsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkDownloadFeedbackLabelsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BulkDownloadFeedbackLabelsRequest> parser()
Returns
Type Description
Parser<BulkDownloadFeedbackLabelsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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];

Returns
Type Description
String

The conversationFilter.

getConversationFilterBytes()

public 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];

Returns
Type Description
ByteString

The bytes for conversationFilter.

getDefaultInstanceForType()

public BulkDownloadFeedbackLabelsRequest getDefaultInstanceForType()
Returns
Type Description
BulkDownloadFeedbackLabelsRequest

getDestinationCase()

public BulkDownloadFeedbackLabelsRequest.DestinationCase getDestinationCase()
Returns
Type Description
BulkDownloadFeedbackLabelsRequest.DestinationCase

getFeedbackLabelType()

public BulkDownloadFeedbackLabelsRequest.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];

Returns
Type Description
BulkDownloadFeedbackLabelsRequest.FeedbackLabelType

The feedbackLabelType.

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];

Returns
Type Description
int

The enum numeric value on the wire for feedbackLabelType.

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];

Returns
Type Description
String

The filter.

getFilterBytes()

public 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];

Returns
Type Description
ByteString

The bytes for filter.

getGcsDestination()

public BulkDownloadFeedbackLabelsRequest.GcsDestination getGcsDestination()

A cloud storage bucket destination.

.google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination gcs_destination = 3;

Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination

The gcsDestination.

getGcsDestinationOrBuilder()

public BulkDownloadFeedbackLabelsRequest.GcsDestinationOrBuilder getGcsDestinationOrBuilder()

A cloud storage bucket destination.

.google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination gcs_destination = 3;

Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestinationOrBuilder

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];

Returns
Type Description
int

The maxDownloadCount.

getParent()

public String getParent()

Required. The parent resource for new feedback labels.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource for new feedback labels.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<BulkDownloadFeedbackLabelsRequest> getParserForType()
Returns
Type Description
Parser<BulkDownloadFeedbackLabelsRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTemplateQaScorecardId(int index)

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];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The templateQaScorecardId at the given index.

getTemplateQaScorecardIdBytes(int index)

public 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];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the templateQaScorecardId at the given index.

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];

Returns
Type Description
int

The count of templateQaScorecardId.

getTemplateQaScorecardIdList()

public 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];

Returns
Type Description
ProtocolStringList

A list containing the templateQaScorecardId.

hasGcsDestination()

public boolean hasGcsDestination()

A cloud storage bucket destination.

.google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination gcs_destination = 3;

Returns
Type Description
boolean

Whether the gcsDestination field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BulkDownloadFeedbackLabelsRequest.Builder newBuilderForType()
Returns
Type Description
BulkDownloadFeedbackLabelsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BulkDownloadFeedbackLabelsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BulkDownloadFeedbackLabelsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BulkDownloadFeedbackLabelsRequest.Builder toBuilder()
Returns
Type Description
BulkDownloadFeedbackLabelsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException