public static final class ImportClusterRequest.CsvImportOptions.Builder extends com.google.protobuf.GeneratedMessage.Builder<ImportClusterRequest.CsvImportOptions.Builder> implements ImportClusterRequest.CsvImportOptionsOrBuilder
Options for importing data in CSV format.Protobuf type
google.cloud.alloydb.v1beta.ImportClusterRequest.CsvImportOptionsaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ImportClusterRequest.CsvImportOptions.Builder>public ImportClusterRequest.CsvImportOptions.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ImportClusterRequest.CsvImportOptions.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ImportClusterRequest.CsvImportOptions.Builder>public ImportClusterRequest.CsvImportOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ImportClusterRequest.CsvImportOptions build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ImportClusterRequest.CsvImportOptions buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ImportClusterRequest.CsvImportOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImportClusterRequest.CsvImportOptions.Builder>public ImportClusterRequest.CsvImportOptions.Builder mergeFrom(ImportClusterRequest.CsvImportOptions other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ImportClusterRequest.CsvImportOptions.Builder>public ImportClusterRequest.CsvImportOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImportClusterRequest.CsvImportOptions.Builder>IOExceptionpublic String getTable()
Required. The database table to import CSV file into.
string table = 1 [(.google.api.field_behavior) = REQUIRED];getTable in interface ImportClusterRequest.CsvImportOptionsOrBuilderpublic com.google.protobuf.ByteString getTableBytes()
Required. The database table to import CSV file into.
string table = 1 [(.google.api.field_behavior) = REQUIRED];getTableBytes in interface ImportClusterRequest.CsvImportOptionsOrBuilderpublic ImportClusterRequest.CsvImportOptions.Builder setTable(String value)
Required. The database table to import CSV file into.
string table = 1 [(.google.api.field_behavior) = REQUIRED];value - The table to set.public ImportClusterRequest.CsvImportOptions.Builder clearTable()
Required. The database table to import CSV file into.
string table = 1 [(.google.api.field_behavior) = REQUIRED];public ImportClusterRequest.CsvImportOptions.Builder setTableBytes(com.google.protobuf.ByteString value)
Required. The database table to import CSV file into.
string table = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for table to set.public com.google.protobuf.ProtocolStringList 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];getColumnsList in interface ImportClusterRequest.CsvImportOptionsOrBuilderpublic 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];getColumnsCount in interface ImportClusterRequest.CsvImportOptionsOrBuilderpublic 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];getColumns in interface ImportClusterRequest.CsvImportOptionsOrBuilderindex - The index of the element to return.public 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];getColumnsBytes in interface ImportClusterRequest.CsvImportOptionsOrBuilderindex - The index of the value to return.public ImportClusterRequest.CsvImportOptions.Builder setColumns(int index, String value)
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];index - The index to set the value at.value - The columns to set.public ImportClusterRequest.CsvImportOptions.Builder addColumns(String value)
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];value - The columns to add.public ImportClusterRequest.CsvImportOptions.Builder addAllColumns(Iterable<String> values)
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];values - The columns to add.public ImportClusterRequest.CsvImportOptions.Builder clearColumns()
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];public ImportClusterRequest.CsvImportOptions.Builder addColumnsBytes(com.google.protobuf.ByteString value)
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];value - The bytes of the columns to add.public 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];getFieldDelimiter in interface ImportClusterRequest.CsvImportOptionsOrBuilderpublic 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];getFieldDelimiterBytes in interface ImportClusterRequest.CsvImportOptionsOrBuilderpublic ImportClusterRequest.CsvImportOptions.Builder setFieldDelimiter(String value)
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];value - The fieldDelimiter to set.public ImportClusterRequest.CsvImportOptions.Builder clearFieldDelimiter()
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];public ImportClusterRequest.CsvImportOptions.Builder setFieldDelimiterBytes(com.google.protobuf.ByteString value)
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];value - The bytes for fieldDelimiter to set.public 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];getQuoteCharacter in interface ImportClusterRequest.CsvImportOptionsOrBuilderpublic 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];getQuoteCharacterBytes in interface ImportClusterRequest.CsvImportOptionsOrBuilderpublic ImportClusterRequest.CsvImportOptions.Builder setQuoteCharacter(String value)
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];value - The quoteCharacter to set.public ImportClusterRequest.CsvImportOptions.Builder clearQuoteCharacter()
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];public ImportClusterRequest.CsvImportOptions.Builder setQuoteCharacterBytes(com.google.protobuf.ByteString value)
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];value - The bytes for quoteCharacter to set.public 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];getEscapeCharacter in interface ImportClusterRequest.CsvImportOptionsOrBuilderpublic 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];getEscapeCharacterBytes in interface ImportClusterRequest.CsvImportOptionsOrBuilderpublic ImportClusterRequest.CsvImportOptions.Builder setEscapeCharacter(String value)
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];value - The escapeCharacter to set.public ImportClusterRequest.CsvImportOptions.Builder clearEscapeCharacter()
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];public ImportClusterRequest.CsvImportOptions.Builder setEscapeCharacterBytes(com.google.protobuf.ByteString value)
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];value - The bytes for escapeCharacter to set.Copyright © 2026 Google LLC. All rights reserved.