Interface Asset.DiscoverySpec.CsvOptionsOrBuilder (1.5.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 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The delimiter.

getDelimiterBytes()

public abstract ByteString getDelimiterBytes()

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

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

Returns
TypeDescription
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 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The disableTypeInference.

getEncoding()

public abstract String getEncoding()

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

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

Returns
TypeDescription
String

The encoding.

getEncodingBytes()

public abstract ByteString getEncodingBytes()

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

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

Returns
TypeDescription
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 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The headerRows.