Class ExportContext.SqlCsvExportOptions.Builder (0.1.0)

public static final class ExportContext.SqlCsvExportOptions.Builder extends GeneratedMessage.Builder<ExportContext.SqlCsvExportOptions.Builder> implements ExportContext.SqlCsvExportOptionsOrBuilder

Protobuf type google.cloud.sql.v1.ExportContext.SqlCsvExportOptions

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ExportContext.SqlCsvExportOptions build()
Returns
Type Description
ExportContext.SqlCsvExportOptions

buildPartial()

public ExportContext.SqlCsvExportOptions buildPartial()
Returns
Type Description
ExportContext.SqlCsvExportOptions

clear()

public ExportContext.SqlCsvExportOptions.Builder clear()
Returns
Type Description
ExportContext.SqlCsvExportOptions.Builder
Overrides

clearEscapeCharacter()

public ExportContext.SqlCsvExportOptions.Builder clearEscapeCharacter()

Specifies the character that should appear before a data character that needs to be escaped.

string escape_character = 2;

Returns
Type Description
ExportContext.SqlCsvExportOptions.Builder

This builder for chaining.

clearFieldsTerminatedBy()

public ExportContext.SqlCsvExportOptions.Builder clearFieldsTerminatedBy()

Specifies the character that separates columns within each row (line) of the file.

string fields_terminated_by = 4;

Returns
Type Description
ExportContext.SqlCsvExportOptions.Builder

This builder for chaining.

clearLinesTerminatedBy()

public ExportContext.SqlCsvExportOptions.Builder clearLinesTerminatedBy()

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 = 6;

Returns
Type Description
ExportContext.SqlCsvExportOptions.Builder

This builder for chaining.

clearQuoteCharacter()

public ExportContext.SqlCsvExportOptions.Builder clearQuoteCharacter()

Specifies the quoting character to be used when a data value is quoted.

string quote_character = 3;

Returns
Type Description
ExportContext.SqlCsvExportOptions.Builder

This builder for chaining.

clearSelectQuery()

public ExportContext.SqlCsvExportOptions.Builder clearSelectQuery()

The select query used to extract the data.

string select_query = 1;

Returns
Type Description
ExportContext.SqlCsvExportOptions.Builder

This builder for chaining.

getDefaultInstanceForType()

public ExportContext.SqlCsvExportOptions getDefaultInstanceForType()
Returns
Type Description
ExportContext.SqlCsvExportOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEscapeCharacter()

public String getEscapeCharacter()

Specifies the character that should appear before a data character that needs to be escaped.

string escape_character = 2;

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 = 2;

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 = 4;

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 = 4;

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 = 6;

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 = 6;

Returns
Type Description
ByteString

The bytes for linesTerminatedBy.

getQuoteCharacter()

public String getQuoteCharacter()

Specifies the quoting character to be used when a data value is quoted.

string quote_character = 3;

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 = 3;

Returns
Type Description
ByteString

The bytes for quoteCharacter.

getSelectQuery()

public String getSelectQuery()

The select query used to extract the data.

string select_query = 1;

Returns
Type Description
String

The selectQuery.

getSelectQueryBytes()

public ByteString getSelectQueryBytes()

The select query used to extract the data.

string select_query = 1;

Returns
Type Description
ByteString

The bytes for selectQuery.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportContext.SqlCsvExportOptions other)

public ExportContext.SqlCsvExportOptions.Builder mergeFrom(ExportContext.SqlCsvExportOptions other)
Parameter
Name Description
other ExportContext.SqlCsvExportOptions
Returns
Type Description
ExportContext.SqlCsvExportOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportContext.SqlCsvExportOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportContext.SqlCsvExportOptions.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExportContext.SqlCsvExportOptions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExportContext.SqlCsvExportOptions.Builder
Overrides

setEscapeCharacter(String value)

public ExportContext.SqlCsvExportOptions.Builder setEscapeCharacter(String value)

Specifies the character that should appear before a data character that needs to be escaped.

string escape_character = 2;

Parameter
Name Description
value String

The escapeCharacter to set.

Returns
Type Description
ExportContext.SqlCsvExportOptions.Builder

This builder for chaining.

setEscapeCharacterBytes(ByteString value)

public ExportContext.SqlCsvExportOptions.Builder setEscapeCharacterBytes(ByteString value)

Specifies the character that should appear before a data character that needs to be escaped.

string escape_character = 2;

Parameter
Name Description
value ByteString

The bytes for escapeCharacter to set.

Returns
Type Description
ExportContext.SqlCsvExportOptions.Builder

This builder for chaining.

setFieldsTerminatedBy(String value)

public ExportContext.SqlCsvExportOptions.Builder setFieldsTerminatedBy(String value)

Specifies the character that separates columns within each row (line) of the file.

string fields_terminated_by = 4;

Parameter
Name Description
value String

The fieldsTerminatedBy to set.

Returns
Type Description
ExportContext.SqlCsvExportOptions.Builder

This builder for chaining.

setFieldsTerminatedByBytes(ByteString value)

public ExportContext.SqlCsvExportOptions.Builder setFieldsTerminatedByBytes(ByteString value)

Specifies the character that separates columns within each row (line) of the file.

string fields_terminated_by = 4;

Parameter
Name Description
value ByteString

The bytes for fieldsTerminatedBy to set.

Returns
Type Description
ExportContext.SqlCsvExportOptions.Builder

This builder for chaining.

setLinesTerminatedBy(String value)

public ExportContext.SqlCsvExportOptions.Builder setLinesTerminatedBy(String value)

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 = 6;

Parameter
Name Description
value String

The linesTerminatedBy to set.

Returns
Type Description
ExportContext.SqlCsvExportOptions.Builder

This builder for chaining.

setLinesTerminatedByBytes(ByteString value)

public ExportContext.SqlCsvExportOptions.Builder setLinesTerminatedByBytes(ByteString value)

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 = 6;

Parameter
Name Description
value ByteString

The bytes for linesTerminatedBy to set.

Returns
Type Description
ExportContext.SqlCsvExportOptions.Builder

This builder for chaining.

setQuoteCharacter(String value)

public ExportContext.SqlCsvExportOptions.Builder setQuoteCharacter(String value)

Specifies the quoting character to be used when a data value is quoted.

string quote_character = 3;

Parameter
Name Description
value String

The quoteCharacter to set.

Returns
Type Description
ExportContext.SqlCsvExportOptions.Builder

This builder for chaining.

setQuoteCharacterBytes(ByteString value)

public ExportContext.SqlCsvExportOptions.Builder setQuoteCharacterBytes(ByteString value)

Specifies the quoting character to be used when a data value is quoted.

string quote_character = 3;

Parameter
Name Description
value ByteString

The bytes for quoteCharacter to set.

Returns
Type Description
ExportContext.SqlCsvExportOptions.Builder

This builder for chaining.

setSelectQuery(String value)

public ExportContext.SqlCsvExportOptions.Builder setSelectQuery(String value)

The select query used to extract the data.

string select_query = 1;

Parameter
Name Description
value String

The selectQuery to set.

Returns
Type Description
ExportContext.SqlCsvExportOptions.Builder

This builder for chaining.

setSelectQueryBytes(ByteString value)

public ExportContext.SqlCsvExportOptions.Builder setSelectQueryBytes(ByteString value)

The select query used to extract the data.

string select_query = 1;

Parameter
Name Description
value ByteString

The bytes for selectQuery to set.

Returns
Type Description
ExportContext.SqlCsvExportOptions.Builder

This builder for chaining.