Interface Asset.DiscoverySpec.CsvOptionsOrBuilder (0.16.0)

public static interface Asset.DiscoverySpec.CsvOptionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDelimiter()

public abstract String getDelimiter()

Optional. The delimiter being used to separate values. This defaults to ','.

string delimiter = 2;

Returns
Type Description
String

The delimiter.

getDelimiterBytes()

public abstract ByteString getDelimiterBytes()

Optional. The delimiter being used to separate values. This defaults to ','.

string delimiter = 2;

Returns
Type Description
ByteString

The bytes for delimiter.

getDisableTypeInference()

public abstract boolean getDisableTypeInference()

Optional. Whether to disable the inference of data type for CSV data. If true, all columns will be registered as strings.

bool disable_type_inference = 4;

Returns
Type Description
boolean

The disableTypeInference.

getEncoding()

public abstract String getEncoding()

Optional. The character encoding of the data. The default is UTF-8.

string encoding = 3;

Returns
Type Description
String

The encoding.

getEncodingBytes()

public abstract ByteString getEncodingBytes()

Optional. The character encoding of the data. The default is UTF-8.

string encoding = 3;

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.

int32 header_rows = 1;

Returns
Type Description
int

The headerRows.