Class BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder>
com.google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder
- All Implemented Interfaces:
BulkDownloadFeedbackLabelsRequest.GcsDestinationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BulkDownloadFeedbackLabelsRequest.GcsDestination
public static final class BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Optional.Required.Required.Optional.booleanOptional.booleanOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.intRequired.Required.com.google.protobuf.ByteStringRequired.longOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAddWhitespace(boolean value) Optional.setAlwaysPrintEmptyFields(boolean value) Optional.Required.setFormatValue(int value) Required.setObjectUri(String value) Required.setObjectUriBytes(com.google.protobuf.ByteString value) Required.setRecordsPerFileCount(long value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder>
-
mergeFrom
public BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder>- Throws:
IOException
-
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];- Specified by:
getFormatValuein interfaceBulkDownloadFeedbackLabelsRequest.GcsDestinationOrBuilder- Returns:
- The enum numeric value on the wire for format.
-
setFormatValue
Required. File format in which the labels will be exported.
.google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest.GcsDestination.Format format = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enum numeric value on the wire for format to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getFormatin interfaceBulkDownloadFeedbackLabelsRequest.GcsDestinationOrBuilder- Returns:
- The format.
-
setFormat
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];- Parameters:
value- The format to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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];- Specified by:
getObjectUriin interfaceBulkDownloadFeedbackLabelsRequest.GcsDestinationOrBuilder- Returns:
- The objectUri.
-
getObjectUriBytes
public com.google.protobuf.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];- Specified by:
getObjectUriBytesin interfaceBulkDownloadFeedbackLabelsRequest.GcsDestinationOrBuilder- Returns:
- The bytes for objectUri.
-
setObjectUri
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];- Parameters:
value- The objectUri to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setObjectUriBytes
public BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder setObjectUriBytes(com.google.protobuf.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];- Parameters:
value- The bytes for objectUri to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getAddWhitespacein interfaceBulkDownloadFeedbackLabelsRequest.GcsDestinationOrBuilder- Returns:
- The addWhitespace.
-
setAddWhitespace
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];- Parameters:
value- The addWhitespace to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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];- Specified by:
getAlwaysPrintEmptyFieldsin interfaceBulkDownloadFeedbackLabelsRequest.GcsDestinationOrBuilder- Returns:
- The alwaysPrintEmptyFields.
-
setAlwaysPrintEmptyFields
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];- Parameters:
value- The alwaysPrintEmptyFields to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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];- Specified by:
getRecordsPerFileCountin interfaceBulkDownloadFeedbackLabelsRequest.GcsDestinationOrBuilder- Returns:
- The recordsPerFileCount.
-
setRecordsPerFileCount
Optional. The number of records per file. Applicable for either format.
int64 records_per_file_count = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The recordsPerFileCount to set.- Returns:
- This builder for chaining.
-
clearRecordsPerFileCount
Optional. The number of records per file. Applicable for either format.
int64 records_per_file_count = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-