Class BulkUploadFeedbackLabelsRequest.Builder (2.54.0)

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

The request for bulk uploading feedback labels.

Protobuf type google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BulkUploadFeedbackLabelsRequest build()
Returns
Type Description
BulkUploadFeedbackLabelsRequest

buildPartial()

public BulkUploadFeedbackLabelsRequest buildPartial()
Returns
Type Description
BulkUploadFeedbackLabelsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGcsSource()

public BulkUploadFeedbackLabelsRequest.Builder clearGcsSource()

A cloud storage bucket source.

.google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsRequest.GcsSource gcs_source = 2;

Returns
Type Description
BulkUploadFeedbackLabelsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public BulkUploadFeedbackLabelsRequest.Builder clearParent()

Required. The parent resource for new feedback labels.

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

Returns
Type Description
BulkUploadFeedbackLabelsRequest.Builder

This builder for chaining.

clearSource()

public BulkUploadFeedbackLabelsRequest.Builder clearSource()
Returns
Type Description
BulkUploadFeedbackLabelsRequest.Builder

clearValidateOnly()

public BulkUploadFeedbackLabelsRequest.Builder clearValidateOnly()

Optional. If set, upload will not happen and the labels will be validated. If not set, then default behavior will be to upload the labels after validation is complete.

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

Returns
Type Description
BulkUploadFeedbackLabelsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public BulkUploadFeedbackLabelsRequest getDefaultInstanceForType()
Returns
Type Description
BulkUploadFeedbackLabelsRequest

getDescriptorForType()

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

getGcsSource()

public BulkUploadFeedbackLabelsRequest.GcsSource getGcsSource()

A cloud storage bucket source.

.google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsRequest.GcsSource gcs_source = 2;

Returns
Type Description
BulkUploadFeedbackLabelsRequest.GcsSource

The gcsSource.

getGcsSourceBuilder()

public BulkUploadFeedbackLabelsRequest.GcsSource.Builder getGcsSourceBuilder()

A cloud storage bucket source.

.google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsRequest.GcsSource gcs_source = 2;

Returns
Type Description
BulkUploadFeedbackLabelsRequest.GcsSource.Builder

getGcsSourceOrBuilder()

public BulkUploadFeedbackLabelsRequest.GcsSourceOrBuilder getGcsSourceOrBuilder()

A cloud storage bucket source.

.google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsRequest.GcsSource gcs_source = 2;

Returns
Type Description
BulkUploadFeedbackLabelsRequest.GcsSourceOrBuilder

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.

getSourceCase()

public BulkUploadFeedbackLabelsRequest.SourceCase getSourceCase()
Returns
Type Description
BulkUploadFeedbackLabelsRequest.SourceCase

getValidateOnly()

public boolean getValidateOnly()

Optional. If set, upload will not happen and the labels will be validated. If not set, then default behavior will be to upload the labels after validation is complete.

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

Returns
Type Description
boolean

The validateOnly.

hasGcsSource()

public boolean hasGcsSource()

A cloud storage bucket source.

.google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsRequest.GcsSource gcs_source = 2;

Returns
Type Description
boolean

Whether the gcsSource field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BulkUploadFeedbackLabelsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGcsSource(BulkUploadFeedbackLabelsRequest.GcsSource value)

public BulkUploadFeedbackLabelsRequest.Builder mergeGcsSource(BulkUploadFeedbackLabelsRequest.GcsSource value)

A cloud storage bucket source.

.google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsRequest.GcsSource gcs_source = 2;

Parameter
Name Description
value BulkUploadFeedbackLabelsRequest.GcsSource
Returns
Type Description
BulkUploadFeedbackLabelsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsSource(BulkUploadFeedbackLabelsRequest.GcsSource value)

public BulkUploadFeedbackLabelsRequest.Builder setGcsSource(BulkUploadFeedbackLabelsRequest.GcsSource value)

A cloud storage bucket source.

.google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsRequest.GcsSource gcs_source = 2;

Parameter
Name Description
value BulkUploadFeedbackLabelsRequest.GcsSource
Returns
Type Description
BulkUploadFeedbackLabelsRequest.Builder

setGcsSource(BulkUploadFeedbackLabelsRequest.GcsSource.Builder builderForValue)

public BulkUploadFeedbackLabelsRequest.Builder setGcsSource(BulkUploadFeedbackLabelsRequest.GcsSource.Builder builderForValue)

A cloud storage bucket source.

.google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsRequest.GcsSource gcs_source = 2;

Parameter
Name Description
builderForValue BulkUploadFeedbackLabelsRequest.GcsSource.Builder
Returns
Type Description
BulkUploadFeedbackLabelsRequest.Builder

setParent(String value)

public BulkUploadFeedbackLabelsRequest.Builder setParent(String value)

Required. The parent resource for new feedback labels.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
BulkUploadFeedbackLabelsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BulkUploadFeedbackLabelsRequest.Builder setParentBytes(ByteString value)

Required. The parent resource for new feedback labels.

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
BulkUploadFeedbackLabelsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValidateOnly(boolean value)

public BulkUploadFeedbackLabelsRequest.Builder setValidateOnly(boolean value)

Optional. If set, upload will not happen and the labels will be validated. If not set, then default behavior will be to upload the labels after validation is complete.

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

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
BulkUploadFeedbackLabelsRequest.Builder

This builder for chaining.