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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder>
    • getDefaultInstanceForType

      public BulkDownloadFeedbackLabelsRequest.GcsDestination getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BulkDownloadFeedbackLabelsRequest.GcsDestination.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      getFormatValue in interface BulkDownloadFeedbackLabelsRequest.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:
      getFormat in interface BulkDownloadFeedbackLabelsRequest.GcsDestinationOrBuilder
      Returns:
      The format.
    • setFormat

       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

      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];
      Specified by:
      getObjectUri in interface BulkDownloadFeedbackLabelsRequest.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:
      getObjectUriBytes in interface BulkDownloadFeedbackLabelsRequest.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:
      getAddWhitespace in interface BulkDownloadFeedbackLabelsRequest.GcsDestinationOrBuilder
      Returns:
      The addWhitespace.
    • setAddWhitespace

      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];
      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:
      getAlwaysPrintEmptyFields in interface BulkDownloadFeedbackLabelsRequest.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

      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:
      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:
      getRecordsPerFileCount in interface BulkDownloadFeedbackLabelsRequest.GcsDestinationOrBuilder
      Returns:
      The recordsPerFileCount.
    • setRecordsPerFileCount

      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];
      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.