Interface ImportClusterRequest.CsvImportOptionsOrBuilder (0.56.0)

public static interface ImportClusterRequest.CsvImportOptionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getColumns(int index)

public abstract String getColumns(int index)

Optional. The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The columns at the given index.

getColumnsBytes(int index)

public abstract ByteString getColumnsBytes(int index)

Optional. The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.

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

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the columns at the given index.

getColumnsCount()

public abstract int getColumnsCount()

Optional. The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.

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

Returns
Type Description
int

The count of columns.

getColumnsList()

public abstract List<String> getColumnsList()

Optional. The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.

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

Returns
Type Description
List<String>

A list containing the columns.

getEscapeCharacter()

public abstract String getEscapeCharacter()

Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is same as quote character. The value of this argument has to be a character in Hex ASCII Code.

string escape_character = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The escapeCharacter.

getEscapeCharacterBytes()

public abstract ByteString getEscapeCharacterBytes()

Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is same as quote character. The value of this argument has to be a character in Hex ASCII Code.

string escape_character = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for escapeCharacter.

getFieldDelimiter()

public abstract String getFieldDelimiter()

Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.

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

Returns
Type Description
String

The fieldDelimiter.

getFieldDelimiterBytes()

public abstract ByteString getFieldDelimiterBytes()

Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.

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

Returns
Type Description
ByteString

The bytes for fieldDelimiter.

getQuoteCharacter()

public abstract String getQuoteCharacter()

Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.

string quote_character = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The quoteCharacter.

getQuoteCharacterBytes()

public abstract ByteString getQuoteCharacterBytes()

Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.

string quote_character = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for quoteCharacter.

getTable()

public abstract String getTable()

Required. The database table to import CSV file into.

string table = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The table.

getTableBytes()

public abstract ByteString getTableBytes()

Required. The database table to import CSV file into.

string table = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for table.