Class ImportClusterRequest.CsvImportOptions (0.65.0)
public static final class ImportClusterRequest.CsvImportOptions extends GeneratedMessageV3 implements ImportClusterRequest.CsvImportOptionsOrBuilder
Options for importing data in CSV format.
Protobuf type google.cloud.alloydb.v1.ImportClusterRequest.CsvImportOptions
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
COLUMNS_FIELD_NUMBER
public static final int COLUMNS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ESCAPE_CHARACTER_FIELD_NUMBER
public static final int ESCAPE_CHARACTER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FIELD_DELIMITER_FIELD_NUMBER
public static final int FIELD_DELIMITER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
QUOTE_CHARACTER_FIELD_NUMBER
public static final int QUOTE_CHARACTER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TABLE_FIELD_NUMBER
public static final int TABLE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ImportClusterRequest.CsvImportOptions getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ImportClusterRequest.CsvImportOptions.Builder newBuilder()
newBuilder(ImportClusterRequest.CsvImportOptions prototype)
public static ImportClusterRequest.CsvImportOptions.Builder newBuilder(ImportClusterRequest.CsvImportOptions prototype)
public static ImportClusterRequest.CsvImportOptions parseDelimitedFrom(InputStream input)
public static ImportClusterRequest.CsvImportOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ImportClusterRequest.CsvImportOptions parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImportClusterRequest.CsvImportOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ImportClusterRequest.CsvImportOptions parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportClusterRequest.CsvImportOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportClusterRequest.CsvImportOptions parseFrom(CodedInputStream input)
public static ImportClusterRequest.CsvImportOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ImportClusterRequest.CsvImportOptions parseFrom(InputStream input)
public static ImportClusterRequest.CsvImportOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ImportClusterRequest.CsvImportOptions parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ImportClusterRequest.CsvImportOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ImportClusterRequest.CsvImportOptions> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getColumns(int index)
public 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 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 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 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];
getDefaultInstanceForType()
public ImportClusterRequest.CsvImportOptions getDefaultInstanceForType()
getEscapeCharacter()
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];
Returns |
Type |
Description |
String |
The escapeCharacter.
|
getEscapeCharacterBytes()
public 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 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 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.
|
getParserForType()
public Parser<ImportClusterRequest.CsvImportOptions> getParserForType()
Overrides
getQuoteCharacter()
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];
Returns |
Type |
Description |
String |
The quoteCharacter.
|
getQuoteCharacterBytes()
public 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.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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 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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ImportClusterRequest.CsvImportOptions.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ImportClusterRequest.CsvImportOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ImportClusterRequest.CsvImportOptions.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-10 UTC."],[],[]]