public static final class ImportClusterRequest.CsvImportOptions extends com.google.protobuf.GeneratedMessageV3 implements ImportClusterRequest.CsvImportOptionsOrBuilder
Options for importing data in CSV format.Protobuf type
google.cloud.alloydb.v1.ImportClusterRequest.CsvImportOptions| Modifier and Type | Class and Description |
|---|---|
static class |
ImportClusterRequest.CsvImportOptions.Builder
Options for importing data in CSV format.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
COLUMNS_FIELD_NUMBER |
static int |
ESCAPE_CHARACTER_FIELD_NUMBER |
static int |
FIELD_DELIMITER_FIELD_NUMBER |
static int |
QUOTE_CHARACTER_FIELD_NUMBER |
static int |
TABLE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getColumns(int index)
Optional.
|
com.google.protobuf.ByteString |
getColumnsBytes(int index)
Optional.
|
int |
getColumnsCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getColumnsList()
Optional.
|
static ImportClusterRequest.CsvImportOptions |
getDefaultInstance() |
ImportClusterRequest.CsvImportOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getEscapeCharacter()
Optional.
|
com.google.protobuf.ByteString |
getEscapeCharacterBytes()
Optional.
|
String |
getFieldDelimiter()
Optional.
|
com.google.protobuf.ByteString |
getFieldDelimiterBytes()
Optional.
|
com.google.protobuf.Parser<ImportClusterRequest.CsvImportOptions> |
getParserForType() |
String |
getQuoteCharacter()
Optional.
|
com.google.protobuf.ByteString |
getQuoteCharacterBytes()
Optional.
|
int |
getSerializedSize() |
String |
getTable()
Required.
|
com.google.protobuf.ByteString |
getTableBytes()
Required.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ImportClusterRequest.CsvImportOptions.Builder |
newBuilder() |
static ImportClusterRequest.CsvImportOptions.Builder |
newBuilder(ImportClusterRequest.CsvImportOptions prototype) |
ImportClusterRequest.CsvImportOptions.Builder |
newBuilderForType() |
protected ImportClusterRequest.CsvImportOptions.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ImportClusterRequest.CsvImportOptions |
parseDelimitedFrom(InputStream input) |
static ImportClusterRequest.CsvImportOptions |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportClusterRequest.CsvImportOptions |
parseFrom(byte[] data) |
static ImportClusterRequest.CsvImportOptions |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportClusterRequest.CsvImportOptions |
parseFrom(ByteBuffer data) |
static ImportClusterRequest.CsvImportOptions |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportClusterRequest.CsvImportOptions |
parseFrom(com.google.protobuf.ByteString data) |
static ImportClusterRequest.CsvImportOptions |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportClusterRequest.CsvImportOptions |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ImportClusterRequest.CsvImportOptions |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportClusterRequest.CsvImportOptions |
parseFrom(InputStream input) |
static ImportClusterRequest.CsvImportOptions |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ImportClusterRequest.CsvImportOptions> |
parser() |
ImportClusterRequest.CsvImportOptions.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TABLE_FIELD_NUMBER
public static final int COLUMNS_FIELD_NUMBER
public static final int FIELD_DELIMITER_FIELD_NUMBER
public static final int QUOTE_CHARACTER_FIELD_NUMBER
public static final int ESCAPE_CHARACTER_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ImportClusterRequest.CsvImportOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportClusterRequest.CsvImportOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportClusterRequest.CsvImportOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportClusterRequest.CsvImportOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportClusterRequest.CsvImportOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportClusterRequest.CsvImportOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportClusterRequest.CsvImportOptions parseFrom(InputStream input) throws IOException
IOExceptionpublic static ImportClusterRequest.CsvImportOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImportClusterRequest.CsvImportOptions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ImportClusterRequest.CsvImportOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImportClusterRequest.CsvImportOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ImportClusterRequest.CsvImportOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ImportClusterRequest.CsvImportOptions.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ImportClusterRequest.CsvImportOptions.Builder newBuilder()
public static ImportClusterRequest.CsvImportOptions.Builder newBuilder(ImportClusterRequest.CsvImportOptions prototype)
public ImportClusterRequest.CsvImportOptions.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ImportClusterRequest.CsvImportOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ImportClusterRequest.CsvImportOptions getDefaultInstance()
public static com.google.protobuf.Parser<ImportClusterRequest.CsvImportOptions> parser()
public com.google.protobuf.Parser<ImportClusterRequest.CsvImportOptions> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ImportClusterRequest.CsvImportOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.