public static final class ImportContext.SqlCsvImportOptions extends GeneratedMessage implements ImportContext.SqlCsvImportOptionsOrBuilder
Protobuf type google.cloud.sql.v1.ImportContext.SqlCsvImportOptions
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,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 |
|
FIELDS_TERMINATED_BY_FIELD_NUMBER
public static final int FIELDS_TERMINATED_BY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LINES_TERMINATED_BY_FIELD_NUMBER
public static final int LINES_TERMINATED_BY_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 ImportContext.SqlCsvImportOptions getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ImportContext.SqlCsvImportOptions.Builder newBuilder()
newBuilder(ImportContext.SqlCsvImportOptions prototype)
public static ImportContext.SqlCsvImportOptions.Builder newBuilder(ImportContext.SqlCsvImportOptions prototype)
parseDelimitedFrom(InputStream input)
public static ImportContext.SqlCsvImportOptions parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ImportContext.SqlCsvImportOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ImportContext.SqlCsvImportOptions parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImportContext.SqlCsvImportOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ImportContext.SqlCsvImportOptions parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportContext.SqlCsvImportOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static ImportContext.SqlCsvImportOptions parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ImportContext.SqlCsvImportOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static ImportContext.SqlCsvImportOptions parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ImportContext.SqlCsvImportOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ImportContext.SqlCsvImportOptions parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ImportContext.SqlCsvImportOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ImportContext.SqlCsvImportOptions> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getColumns(int index)
public String getColumns(int index)
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;
| 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)
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;
| 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()
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;
| Returns |
| Type |
Description |
int |
The count of columns.
|
getColumnsList()
public ProtocolStringList getColumnsList()
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;
getDefaultInstanceForType()
public ImportContext.SqlCsvImportOptions getDefaultInstanceForType()
getEscapeCharacter()
public String getEscapeCharacter()
Specifies the character that should appear before a data character that
needs to be escaped.
string escape_character = 4;
| Returns |
| Type |
Description |
String |
The escapeCharacter.
|
getEscapeCharacterBytes()
public ByteString getEscapeCharacterBytes()
Specifies the character that should appear before a data character that
needs to be escaped.
string escape_character = 4;
| Returns |
| Type |
Description |
ByteString |
The bytes for escapeCharacter.
|
getFieldsTerminatedBy()
public String getFieldsTerminatedBy()
Specifies the character that separates columns within each row (line) of
the file.
string fields_terminated_by = 6;
| Returns |
| Type |
Description |
String |
The fieldsTerminatedBy.
|
getFieldsTerminatedByBytes()
public ByteString getFieldsTerminatedByBytes()
Specifies the character that separates columns within each row (line) of
the file.
string fields_terminated_by = 6;
| Returns |
| Type |
Description |
ByteString |
The bytes for fieldsTerminatedBy.
|
getLinesTerminatedBy()
public String getLinesTerminatedBy()
This is used to separate lines. If a line does not contain all fields,
the rest of the columns are set to their default values.
string lines_terminated_by = 8;
| Returns |
| Type |
Description |
String |
The linesTerminatedBy.
|
getLinesTerminatedByBytes()
public ByteString getLinesTerminatedByBytes()
This is used to separate lines. If a line does not contain all fields,
the rest of the columns are set to their default values.
string lines_terminated_by = 8;
| Returns |
| Type |
Description |
ByteString |
The bytes for linesTerminatedBy.
|
getParserForType()
public Parser<ImportContext.SqlCsvImportOptions> getParserForType()
Overrides
getQuoteCharacter()
public String getQuoteCharacter()
Specifies the quoting character to be used when a data value is quoted.
string quote_character = 5;
| Returns |
| Type |
Description |
String |
The quoteCharacter.
|
getQuoteCharacterBytes()
public ByteString getQuoteCharacterBytes()
Specifies the quoting character to be used when a data value is quoted.
string quote_character = 5;
| Returns |
| Type |
Description |
ByteString |
The bytes for quoteCharacter.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getTable()
The table to which CSV data is imported.
string table = 1;
| Returns |
| Type |
Description |
String |
The table.
|
getTableBytes()
public ByteString getTableBytes()
The table to which CSV data is imported.
string table = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for table.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ImportContext.SqlCsvImportOptions.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ImportContext.SqlCsvImportOptions.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ImportContext.SqlCsvImportOptions.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides