Class BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder (2.54.0)

public static final class BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder extends GeneratedMessageV3.Builder<BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder> implements BulkDownloadFeedbackLabelsRequest.GcsDestinationOrBuilder

Google Cloud Storage Object details to write the feedback labels to.

Protobuf type google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BulkDownloadFeedbackLabelsRequest.GcsDestination build()
Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination

buildPartial()

public BulkDownloadFeedbackLabelsRequest.GcsDestination buildPartial()
Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination

clear()

public BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder clear()
Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder
Overrides

clearAddWhitespace()

public BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder clearAddWhitespace()

Optional. Add whitespace to the JSON file. Makes easier to read, but increases file size. Only applicable for JSON format.

bool add_whitespace = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder

This builder for chaining.

clearAlwaysPrintEmptyFields()

public BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder clearAlwaysPrintEmptyFields()

Optional. Always print fields with no presence. This is useful for printing fields that are not set, like implicit 0 value or empty lists/maps. Only applicable for JSON format.

bool always_print_empty_fields = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder
Overrides

clearFormat()

public BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder clearFormat()

Required. File format in which the labels will be exported.

.google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination.Format format = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder

This builder for chaining.

clearObjectUri()

public BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder clearObjectUri()

Required. The Google Cloud Storage URI to write the feedback labels to. The file name will be used as a prefix for the files written to the bucket if the output needs to be split across multiple files, otherwise it will be used as is. The file extension will be appended to the file name based on the format selected. E.g. gs://bucket_name/object_uri_prefix

string object_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder
Overrides

clearRecordsPerFileCount()

public BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder clearRecordsPerFileCount()

Optional. The number of records per file. Applicable for either format.

int64 records_per_file_count = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder

This builder for chaining.

clone()

public BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder clone()
Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder
Overrides

getAddWhitespace()

public boolean getAddWhitespace()

Optional. Add whitespace to the JSON file. Makes easier to read, but increases file size. Only applicable for JSON format.

bool add_whitespace = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The addWhitespace.

getAlwaysPrintEmptyFields()

public boolean getAlwaysPrintEmptyFields()

Optional. Always print fields with no presence. This is useful for printing fields that are not set, like implicit 0 value or empty lists/maps. Only applicable for JSON format.

bool always_print_empty_fields = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The alwaysPrintEmptyFields.

getDefaultInstanceForType()

public BulkDownloadFeedbackLabelsRequest.GcsDestination getDefaultInstanceForType()
Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination

getDescriptorForType()

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

getFormat()

public BulkDownloadFeedbackLabelsRequest.GcsDestination.Format getFormat()

Required. File format in which the labels will be exported.

.google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination.Format format = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination.Format

The format.

getFormatValue()

public int getFormatValue()

Required. File format in which the labels will be exported.

.google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination.Format format = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for format.

getObjectUri()

public String getObjectUri()

Required. The Google Cloud Storage URI to write the feedback labels to. The file name will be used as a prefix for the files written to the bucket if the output needs to be split across multiple files, otherwise it will be used as is. The file extension will be appended to the file name based on the format selected. E.g. gs://bucket_name/object_uri_prefix

string object_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The objectUri.

getObjectUriBytes()

public ByteString getObjectUriBytes()

Required. The Google Cloud Storage URI to write the feedback labels to. The file name will be used as a prefix for the files written to the bucket if the output needs to be split across multiple files, otherwise it will be used as is. The file extension will be appended to the file name based on the format selected. E.g. gs://bucket_name/object_uri_prefix

string object_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for objectUri.

getRecordsPerFileCount()

public long getRecordsPerFileCount()

Optional. The number of records per file. Applicable for either format.

int64 records_per_file_count = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The recordsPerFileCount.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BulkDownloadFeedbackLabelsRequest.GcsDestination other)

public BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder mergeFrom(BulkDownloadFeedbackLabelsRequest.GcsDestination other)
Parameter
Name Description
other BulkDownloadFeedbackLabelsRequest.GcsDestination
Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder
Overrides

setAddWhitespace(boolean value)

public BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder setAddWhitespace(boolean value)

Optional. Add whitespace to the JSON file. Makes easier to read, but increases file size. Only applicable for JSON format.

bool add_whitespace = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The addWhitespace to set.

Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder

This builder for chaining.

setAlwaysPrintEmptyFields(boolean value)

public BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder setAlwaysPrintEmptyFields(boolean value)

Optional. Always print fields with no presence. This is useful for printing fields that are not set, like implicit 0 value or empty lists/maps. Only applicable for JSON format.

bool always_print_empty_fields = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The alwaysPrintEmptyFields to set.

Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFormat(BulkDownloadFeedbackLabelsRequest.GcsDestination.Format value)

public BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder setFormat(BulkDownloadFeedbackLabelsRequest.GcsDestination.Format value)

Required. File format in which the labels will be exported.

.google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination.Format format = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BulkDownloadFeedbackLabelsRequest.GcsDestination.Format

The format to set.

Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder

This builder for chaining.

setFormatValue(int value)

public BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder setFormatValue(int value)

Required. File format in which the labels will be exported.

.google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination.Format format = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The enum numeric value on the wire for format to set.

Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder

This builder for chaining.

setObjectUri(String value)

public BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder setObjectUri(String value)

Required. The Google Cloud Storage URI to write the feedback labels to. The file name will be used as a prefix for the files written to the bucket if the output needs to be split across multiple files, otherwise it will be used as is. The file extension will be appended to the file name based on the format selected. E.g. gs://bucket_name/object_uri_prefix

string object_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The objectUri to set.

Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder

This builder for chaining.

setObjectUriBytes(ByteString value)

public BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder setObjectUriBytes(ByteString value)

Required. The Google Cloud Storage URI to write the feedback labels to. The file name will be used as a prefix for the files written to the bucket if the output needs to be split across multiple files, otherwise it will be used as is. The file extension will be appended to the file name based on the format selected. E.g. gs://bucket_name/object_uri_prefix

string object_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for objectUri to set.

Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder

This builder for chaining.

setRecordsPerFileCount(long value)

public BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder setRecordsPerFileCount(long value)

Optional. The number of records per file. Applicable for either format.

int64 records_per_file_count = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value long

The recordsPerFileCount to set.

Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder
Overrides