Class BulkUploadFeedbackLabelsRequest.GcsSource.Builder (2.54.0)

public static final class BulkUploadFeedbackLabelsRequest.GcsSource.Builder extends GeneratedMessageV3.Builder<BulkUploadFeedbackLabelsRequest.GcsSource.Builder> implements BulkUploadFeedbackLabelsRequest.GcsSourceOrBuilder

Google Cloud Storage Object details to get the feedback label file from.

Protobuf type google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsRequest.GcsSource

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BulkUploadFeedbackLabelsRequest.GcsSource build()
Returns
Type Description
BulkUploadFeedbackLabelsRequest.GcsSource

buildPartial()

public BulkUploadFeedbackLabelsRequest.GcsSource buildPartial()
Returns
Type Description
BulkUploadFeedbackLabelsRequest.GcsSource

clear()

public BulkUploadFeedbackLabelsRequest.GcsSource.Builder clear()
Returns
Type Description
BulkUploadFeedbackLabelsRequest.GcsSource.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BulkUploadFeedbackLabelsRequest.GcsSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BulkUploadFeedbackLabelsRequest.GcsSource.Builder
Overrides

clearFormat()

public BulkUploadFeedbackLabelsRequest.GcsSource.Builder clearFormat()

Required. File format which will be ingested.

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

Returns
Type Description
BulkUploadFeedbackLabelsRequest.GcsSource.Builder

This builder for chaining.

clearObjectUri()

public BulkUploadFeedbackLabelsRequest.GcsSource.Builder clearObjectUri()

Required. The Google Cloud Storage URI of the file to import. Format: gs://bucket_name/object_name

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

Returns
Type Description
BulkUploadFeedbackLabelsRequest.GcsSource.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BulkUploadFeedbackLabelsRequest.GcsSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BulkUploadFeedbackLabelsRequest.GcsSource.Builder
Overrides

clone()

public BulkUploadFeedbackLabelsRequest.GcsSource.Builder clone()
Returns
Type Description
BulkUploadFeedbackLabelsRequest.GcsSource.Builder
Overrides

getDefaultInstanceForType()

public BulkUploadFeedbackLabelsRequest.GcsSource getDefaultInstanceForType()
Returns
Type Description
BulkUploadFeedbackLabelsRequest.GcsSource

getDescriptorForType()

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

getFormat()

public BulkUploadFeedbackLabelsRequest.GcsSource.Format getFormat()

Required. File format which will be ingested.

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

Returns
Type Description
BulkUploadFeedbackLabelsRequest.GcsSource.Format

The format.

getFormatValue()

public int getFormatValue()

Required. File format which will be ingested.

.google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsRequest.GcsSource.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 of the file to import. Format: gs://bucket_name/object_name

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 of the file to import. Format: gs://bucket_name/object_name

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

Returns
Type Description
ByteString

The bytes for objectUri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BulkUploadFeedbackLabelsRequest.GcsSource other)

public BulkUploadFeedbackLabelsRequest.GcsSource.Builder mergeFrom(BulkUploadFeedbackLabelsRequest.GcsSource other)
Parameter
Name Description
other BulkUploadFeedbackLabelsRequest.GcsSource
Returns
Type Description
BulkUploadFeedbackLabelsRequest.GcsSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public BulkUploadFeedbackLabelsRequest.GcsSource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BulkUploadFeedbackLabelsRequest.GcsSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BulkUploadFeedbackLabelsRequest.GcsSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BulkUploadFeedbackLabelsRequest.GcsSource.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setFormat(BulkUploadFeedbackLabelsRequest.GcsSource.Format value)

public BulkUploadFeedbackLabelsRequest.GcsSource.Builder setFormat(BulkUploadFeedbackLabelsRequest.GcsSource.Format value)

Required. File format which will be ingested.

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

Parameter
Name Description
value BulkUploadFeedbackLabelsRequest.GcsSource.Format

The format to set.

Returns
Type Description
BulkUploadFeedbackLabelsRequest.GcsSource.Builder

This builder for chaining.

setFormatValue(int value)

public BulkUploadFeedbackLabelsRequest.GcsSource.Builder setFormatValue(int value)

Required. File format which will be ingested.

.google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsRequest.GcsSource.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
BulkUploadFeedbackLabelsRequest.GcsSource.Builder

This builder for chaining.

setObjectUri(String value)

public BulkUploadFeedbackLabelsRequest.GcsSource.Builder setObjectUri(String value)

Required. The Google Cloud Storage URI of the file to import. Format: gs://bucket_name/object_name

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

Parameter
Name Description
value String

The objectUri to set.

Returns
Type Description
BulkUploadFeedbackLabelsRequest.GcsSource.Builder

This builder for chaining.

setObjectUriBytes(ByteString value)

public BulkUploadFeedbackLabelsRequest.GcsSource.Builder setObjectUriBytes(ByteString value)

Required. The Google Cloud Storage URI of the file to import. Format: gs://bucket_name/object_name

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

Parameter
Name Description
value ByteString

The bytes for objectUri to set.

Returns
Type Description
BulkUploadFeedbackLabelsRequest.GcsSource.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final BulkUploadFeedbackLabelsRequest.GcsSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BulkUploadFeedbackLabelsRequest.GcsSource.Builder
Overrides