- 0.53.0 (latest)
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class ImportClusterRequest.CsvImportOptions.Builder extends GeneratedMessageV3.Builder<ImportClusterRequest.CsvImportOptions.Builder> implements ImportClusterRequest.CsvImportOptionsOrBuilder
Options for importing data in CSV format.
Protobuf type google.cloud.alloydb.v1beta.ImportClusterRequest.CsvImportOptions
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ImportClusterRequest.CsvImportOptions.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllColumns(Iterable<String> values)
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];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The columns to add. |
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
This builder for chaining. |
addColumns(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The columns to add. |
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
This builder for chaining. |
addColumnsBytes(ByteString value)
public ImportClusterRequest.CsvImportOptions.Builder addColumnsBytes(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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the columns to add. |
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportClusterRequest.CsvImportOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
build()
public ImportClusterRequest.CsvImportOptions build()
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions |
buildPartial()
public ImportClusterRequest.CsvImportOptions buildPartial()
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions |
clear()
public ImportClusterRequest.CsvImportOptions.Builder clear()
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
clearColumns()
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];
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
This builder for chaining. |
clearEscapeCharacter()
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];
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ImportClusterRequest.CsvImportOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
clearFieldDelimiter()
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];
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportClusterRequest.CsvImportOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
clearQuoteCharacter()
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];
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
This builder for chaining. |
clearTable()
public ImportClusterRequest.CsvImportOptions.Builder clearTable()
Required. The database table to import CSV file into.
string table = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
This builder for chaining. |
clone()
public ImportClusterRequest.CsvImportOptions.Builder clone()
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
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];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the columns. |
getDefaultInstanceForType()
public ImportClusterRequest.CsvImportOptions getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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. |
getTable()
public String 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ImportClusterRequest.CsvImportOptions other)
public ImportClusterRequest.CsvImportOptions.Builder mergeFrom(ImportClusterRequest.CsvImportOptions other)
Parameter | |
---|---|
Name | Description |
other |
ImportClusterRequest.CsvImportOptions |
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportClusterRequest.CsvImportOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ImportClusterRequest.CsvImportOptions.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportClusterRequest.CsvImportOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
setColumns(int index, String value)
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];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The columns to set. |
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
This builder for chaining. |
setEscapeCharacter(String value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
String The escapeCharacter to set. |
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
This builder for chaining. |
setEscapeCharacterBytes(ByteString value)
public ImportClusterRequest.CsvImportOptions.Builder setEscapeCharacterBytes(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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for escapeCharacter to set. |
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ImportClusterRequest.CsvImportOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
setFieldDelimiter(String value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
String The fieldDelimiter to set. |
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
This builder for chaining. |
setFieldDelimiterBytes(ByteString value)
public ImportClusterRequest.CsvImportOptions.Builder setFieldDelimiterBytes(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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for fieldDelimiter to set. |
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
This builder for chaining. |
setQuoteCharacter(String value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
String The quoteCharacter to set. |
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
This builder for chaining. |
setQuoteCharacterBytes(ByteString value)
public ImportClusterRequest.CsvImportOptions.Builder setQuoteCharacterBytes(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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for quoteCharacter to set. |
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportClusterRequest.CsvImportOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
setTable(String value)
public ImportClusterRequest.CsvImportOptions.Builder setTable(String value)
Required. The database table to import CSV file into.
string table = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The table to set. |
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
This builder for chaining. |
setTableBytes(ByteString value)
public ImportClusterRequest.CsvImportOptions.Builder setTableBytes(ByteString value)
Required. The database table to import CSV file into.
string table = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for table to set. |
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportClusterRequest.CsvImportOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ImportClusterRequest.CsvImportOptions.Builder |