Class StorageFormat.CsvOptions.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StorageFormat.CsvOptions.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.GeneratedMessageV3.Builder<StorageFormat.CsvOptions.Builder>
      • getDefaultInstanceForType

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

        public StorageFormat.CsvOptions build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public StorageFormat.CsvOptions buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public StorageFormat.CsvOptions.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StorageFormat.CsvOptions.Builder>
      • addRepeatedField

        public StorageFormat.CsvOptions.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StorageFormat.CsvOptions.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StorageFormat.CsvOptions.Builder>
      • mergeFrom

        public StorageFormat.CsvOptions.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<StorageFormat.CsvOptions.Builder>
        Throws:
        IOException
      • getEncoding

        public String getEncoding()
         Optional. The character encoding of the data. Accepts "US-ASCII",
         "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.
         
        string encoding = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getEncoding in interface StorageFormat.CsvOptionsOrBuilder
        Returns:
        The encoding.
      • getEncodingBytes

        public com.google.protobuf.ByteString getEncodingBytes()
         Optional. The character encoding of the data. Accepts "US-ASCII",
         "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.
         
        string encoding = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getEncodingBytes in interface StorageFormat.CsvOptionsOrBuilder
        Returns:
        The bytes for encoding.
      • setEncoding

        public StorageFormat.CsvOptions.Builder setEncoding​(String value)
         Optional. The character encoding of the data. Accepts "US-ASCII",
         "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.
         
        string encoding = 1 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The encoding to set.
        Returns:
        This builder for chaining.
      • clearEncoding

        public StorageFormat.CsvOptions.Builder clearEncoding()
         Optional. The character encoding of the data. Accepts "US-ASCII",
         "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.
         
        string encoding = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setEncodingBytes

        public StorageFormat.CsvOptions.Builder setEncodingBytes​(com.google.protobuf.ByteString value)
         Optional. The character encoding of the data. Accepts "US-ASCII",
         "UTF-8", and "ISO-8859-1". Defaults to UTF-8 if unspecified.
         
        string encoding = 1 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for encoding to set.
        Returns:
        This builder for chaining.
      • getHeaderRows

        public int getHeaderRows()
         Optional. The number of rows to interpret as header rows that should be
         skipped when reading data rows. Defaults to 0.
         
        int32 header_rows = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getHeaderRows in interface StorageFormat.CsvOptionsOrBuilder
        Returns:
        The headerRows.
      • setHeaderRows

        public StorageFormat.CsvOptions.Builder setHeaderRows​(int value)
         Optional. The number of rows to interpret as header rows that should be
         skipped when reading data rows. Defaults to 0.
         
        int32 header_rows = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The headerRows to set.
        Returns:
        This builder for chaining.
      • clearHeaderRows

        public StorageFormat.CsvOptions.Builder clearHeaderRows()
         Optional. The number of rows to interpret as header rows that should be
         skipped when reading data rows. Defaults to 0.
         
        int32 header_rows = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • getDelimiter

        public String getDelimiter()
         Optional. The delimiter used to separate values. Defaults to ','.
         
        string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDelimiter in interface StorageFormat.CsvOptionsOrBuilder
        Returns:
        The delimiter.
      • getDelimiterBytes

        public com.google.protobuf.ByteString getDelimiterBytes()
         Optional. The delimiter used to separate values. Defaults to ','.
         
        string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDelimiterBytes in interface StorageFormat.CsvOptionsOrBuilder
        Returns:
        The bytes for delimiter.
      • setDelimiter

        public StorageFormat.CsvOptions.Builder setDelimiter​(String value)
         Optional. The delimiter used to separate values. Defaults to ','.
         
        string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The delimiter to set.
        Returns:
        This builder for chaining.
      • clearDelimiter

        public StorageFormat.CsvOptions.Builder clearDelimiter()
         Optional. The delimiter used to separate values. Defaults to ','.
         
        string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setDelimiterBytes

        public StorageFormat.CsvOptions.Builder setDelimiterBytes​(com.google.protobuf.ByteString value)
         Optional. The delimiter used to separate values. Defaults to ','.
         
        string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for delimiter to set.
        Returns:
        This builder for chaining.
      • getQuote

        public String getQuote()
         Optional. The character used to quote column values. Accepts '"'
         (double quotation mark) or ''' (single quotation mark). Defaults to
         '"' (double quotation mark) if unspecified.
         
        string quote = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getQuote in interface StorageFormat.CsvOptionsOrBuilder
        Returns:
        The quote.
      • getQuoteBytes

        public com.google.protobuf.ByteString getQuoteBytes()
         Optional. The character used to quote column values. Accepts '"'
         (double quotation mark) or ''' (single quotation mark). Defaults to
         '"' (double quotation mark) if unspecified.
         
        string quote = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getQuoteBytes in interface StorageFormat.CsvOptionsOrBuilder
        Returns:
        The bytes for quote.
      • setQuote

        public StorageFormat.CsvOptions.Builder setQuote​(String value)
         Optional. The character used to quote column values. Accepts '"'
         (double quotation mark) or ''' (single quotation mark). Defaults to
         '"' (double quotation mark) if unspecified.
         
        string quote = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The quote to set.
        Returns:
        This builder for chaining.
      • clearQuote

        public StorageFormat.CsvOptions.Builder clearQuote()
         Optional. The character used to quote column values. Accepts '"'
         (double quotation mark) or ''' (single quotation mark). Defaults to
         '"' (double quotation mark) if unspecified.
         
        string quote = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setQuoteBytes

        public StorageFormat.CsvOptions.Builder setQuoteBytes​(com.google.protobuf.ByteString value)
         Optional. The character used to quote column values. Accepts '"'
         (double quotation mark) or ''' (single quotation mark). Defaults to
         '"' (double quotation mark) if unspecified.
         
        string quote = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for quote to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final StorageFormat.CsvOptions.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StorageFormat.CsvOptions.Builder>
      • mergeUnknownFields

        public final StorageFormat.CsvOptions.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StorageFormat.CsvOptions.Builder>