Interface ImportClusterRequest.CsvImportOptionsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ImportClusterRequest.CsvImportOptions, ImportClusterRequest.CsvImportOptions.Builder
Enclosing class:
ImportClusterRequest

public static interface ImportClusterRequest.CsvImportOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getTable

      String getTable()
       Required. The database table to import CSV file into.
       
      string table = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The table.
    • getTableBytes

      com.google.protobuf.ByteString getTableBytes()
       Required. The database table to import CSV file into.
       
      string table = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for table.
    • getColumnsList

      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:
      A list containing the columns.
    • getColumnsCount

      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:
      The count of columns.
    • getColumns

      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];
      Parameters:
      index - The index of the element to return.
      Returns:
      The columns at the given index.
    • getColumnsBytes

      com.google.protobuf.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];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the columns at the given index.
    • getFieldDelimiter

      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:
      The fieldDelimiter.
    • getFieldDelimiterBytes

      com.google.protobuf.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:
      The bytes for fieldDelimiter.
    • getQuoteCharacter

      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:
      The quoteCharacter.
    • getQuoteCharacterBytes

      com.google.protobuf.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:
      The bytes for quoteCharacter.
    • getEscapeCharacter

      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:
      The escapeCharacter.
    • getEscapeCharacterBytes

      com.google.protobuf.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:
      The bytes for escapeCharacter.