Class BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder (2.55.0)

public static final class BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder extends GeneratedMessageV3.Builder<BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder> implements BulkDownloadFeedbackLabelsMetadata.DownloadStatsOrBuilder

Statistics for BulkDownloadFeedbackLabels operation.

Protobuf type google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsMetadata.DownloadStats

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder

Static Methods

getDescriptor()

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

Methods

addAllFileNames(Iterable<String> values)

public BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder addAllFileNames(Iterable<String> values)

Output only. Full name of the files written to Cloud storage.

repeated string file_names = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<String>

The fileNames to add.

Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder

This builder for chaining.

addFileNames(String value)

public BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder addFileNames(String value)

Output only. Full name of the files written to Cloud storage.

repeated string file_names = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The fileNames to add.

Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder

This builder for chaining.

addFileNamesBytes(ByteString value)

public BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder addFileNamesBytes(ByteString value)

Output only. Full name of the files written to Cloud storage.

repeated string file_names = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes of the fileNames to add.

Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder
Overrides

build()

public BulkDownloadFeedbackLabelsMetadata.DownloadStats build()
Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats

buildPartial()

public BulkDownloadFeedbackLabelsMetadata.DownloadStats buildPartial()
Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats

clear()

public BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder clear()
Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder
Overrides

clearFileNames()

public BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder clearFileNames()

Output only. Full name of the files written to Cloud storage.

repeated string file_names = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder
Overrides

clearProcessedObjectCount()

public BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder clearProcessedObjectCount()

The number of objects processed during the download operation.

int32 processed_object_count = 1;

Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder

This builder for chaining.

clearSuccessfulDownloadCount()

public BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder clearSuccessfulDownloadCount()

The number of new feedback labels downloaded during this operation. Different from "processed" because some labels might not be downloaded because an error.

int32 successful_download_count = 2;

Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder

This builder for chaining.

clearTotalFilesWritten()

public BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder clearTotalFilesWritten()

Total number of files written to the provided Cloud Storage bucket.

int32 total_files_written = 3;

Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder

This builder for chaining.

clone()

public BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder clone()
Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder
Overrides

getDefaultInstanceForType()

public BulkDownloadFeedbackLabelsMetadata.DownloadStats getDefaultInstanceForType()
Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFileNames(int index)

public String getFileNames(int index)

Output only. Full name of the files written to Cloud storage.

repeated string file_names = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The fileNames at the given index.

getFileNamesBytes(int index)

public ByteString getFileNamesBytes(int index)

Output only. Full name of the files written to Cloud storage.

repeated string file_names = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the fileNames at the given index.

getFileNamesCount()

public int getFileNamesCount()

Output only. Full name of the files written to Cloud storage.

repeated string file_names = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of fileNames.

getFileNamesList()

public ProtocolStringList getFileNamesList()

Output only. Full name of the files written to Cloud storage.

repeated string file_names = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the fileNames.

getProcessedObjectCount()

public int getProcessedObjectCount()

The number of objects processed during the download operation.

int32 processed_object_count = 1;

Returns
Type Description
int

The processedObjectCount.

getSuccessfulDownloadCount()

public int getSuccessfulDownloadCount()

The number of new feedback labels downloaded during this operation. Different from "processed" because some labels might not be downloaded because an error.

int32 successful_download_count = 2;

Returns
Type Description
int

The successfulDownloadCount.

getTotalFilesWritten()

public int getTotalFilesWritten()

Total number of files written to the provided Cloud Storage bucket.

int32 total_files_written = 3;

Returns
Type Description
int

The totalFilesWritten.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BulkDownloadFeedbackLabelsMetadata.DownloadStats other)

public BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder mergeFrom(BulkDownloadFeedbackLabelsMetadata.DownloadStats other)
Parameter
Name Description
other BulkDownloadFeedbackLabelsMetadata.DownloadStats
Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder
Overrides

setFileNames(int index, String value)

public BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder setFileNames(int index, String value)

Output only. Full name of the files written to Cloud storage.

repeated string file_names = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value String

The fileNames to set.

Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder

This builder for chaining.

setProcessedObjectCount(int value)

public BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder setProcessedObjectCount(int value)

The number of objects processed during the download operation.

int32 processed_object_count = 1;

Parameter
Name Description
value int

The processedObjectCount to set.

Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder
Overrides

setSuccessfulDownloadCount(int value)

public BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder setSuccessfulDownloadCount(int value)

The number of new feedback labels downloaded during this operation. Different from "processed" because some labels might not be downloaded because an error.

int32 successful_download_count = 2;

Parameter
Name Description
value int

The successfulDownloadCount to set.

Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder

This builder for chaining.

setTotalFilesWritten(int value)

public BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder setTotalFilesWritten(int value)

Total number of files written to the provided Cloud Storage bucket.

int32 total_files_written = 3;

Parameter
Name Description
value int

The totalFilesWritten to set.

Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BulkDownloadFeedbackLabelsMetadata.DownloadStats.Builder
Overrides