Interface StorageFormat.CsvOptionsOrBuilder (1.51.0)

public static interface StorageFormat.CsvOptionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDelimiter()

public abstract String getDelimiter()

Optional. The delimiter used to separate values. Defaults to ','.

string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The delimiter.

getDelimiterBytes()

public abstract ByteString getDelimiterBytes()

Optional. The delimiter used to separate values. Defaults to ','.

string delimiter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for delimiter.

getEncoding()

public abstract 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];

Returns
Type Description
String

The encoding.

getEncodingBytes()

public abstract 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];

Returns
Type Description
ByteString

The bytes for encoding.

getHeaderRows()

public abstract 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];

Returns
Type Description
int

The headerRows.

getQuote()

public abstract 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];

Returns
Type Description
String

The quote.

getQuoteBytes()

public abstract 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];

Returns
Type Description
ByteString

The bytes for quote.