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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public BulkUploadFeedbackLabelsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BulkUploadFeedbackLabelsRequest build()
public BulkUploadFeedbackLabelsRequest buildPartial()
public BulkUploadFeedbackLabelsRequest.Builder clear()
Overrides
public BulkUploadFeedbackLabelsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public BulkUploadFeedbackLabelsRequest.Builder clearGcsSource()
A cloud storage bucket source.
.google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsRequest.GcsSource gcs_source = 2;
public BulkUploadFeedbackLabelsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public BulkUploadFeedbackLabelsRequest.Builder clearParent()
Required. The parent resource for new feedback labels.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public BulkUploadFeedbackLabelsRequest.Builder clearSource()
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];
public BulkUploadFeedbackLabelsRequest.Builder clone()
Overrides
public BulkUploadFeedbackLabelsRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public BulkUploadFeedbackLabelsRequest.GcsSource getGcsSource()
A cloud storage bucket source.
.google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsRequest.GcsSource gcs_source = 2;
public BulkUploadFeedbackLabelsRequest.GcsSource.Builder getGcsSourceBuilder()
A cloud storage bucket source.
.google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsRequest.GcsSource gcs_source = 2;
public BulkUploadFeedbackLabelsRequest.GcsSourceOrBuilder getGcsSourceOrBuilder()
A cloud storage bucket source.
.google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsRequest.GcsSource gcs_source = 2;
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.
|
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.
|
public BulkUploadFeedbackLabelsRequest.SourceCase getSourceCase()
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public BulkUploadFeedbackLabelsRequest.Builder mergeFrom(BulkUploadFeedbackLabelsRequest other)
public BulkUploadFeedbackLabelsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public BulkUploadFeedbackLabelsRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public BulkUploadFeedbackLabelsRequest.Builder mergeGcsSource(BulkUploadFeedbackLabelsRequest.GcsSource value)
A cloud storage bucket source.
.google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsRequest.GcsSource gcs_source = 2;
public final BulkUploadFeedbackLabelsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public BulkUploadFeedbackLabelsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BulkUploadFeedbackLabelsRequest.Builder setGcsSource(BulkUploadFeedbackLabelsRequest.GcsSource value)
A cloud storage bucket source.
.google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsRequest.GcsSource gcs_source = 2;
public BulkUploadFeedbackLabelsRequest.Builder setGcsSource(BulkUploadFeedbackLabelsRequest.GcsSource.Builder builderForValue)
A cloud storage bucket source.
.google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsRequest.GcsSource gcs_source = 2;
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.
|
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.
|
public BulkUploadFeedbackLabelsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final BulkUploadFeedbackLabelsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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.
|