Class ExportClusterRequest.CsvExportOptions.Builder (0.72.0)

public static final class ExportClusterRequest.CsvExportOptions.Builder extends GeneratedMessage.Builder<ExportClusterRequest.CsvExportOptions.Builder> implements ExportClusterRequest.CsvExportOptionsOrBuilder

Options for exporting data in CSV format.

Protobuf type google.cloud.alloydb.v1beta.ExportClusterRequest.CsvExportOptions

Static Methods

getDescriptor()

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

Methods

build()

public ExportClusterRequest.CsvExportOptions build()
Returns
Type Description
ExportClusterRequest.CsvExportOptions

buildPartial()

public ExportClusterRequest.CsvExportOptions buildPartial()
Returns
Type Description
ExportClusterRequest.CsvExportOptions

clear()

public ExportClusterRequest.CsvExportOptions.Builder clear()
Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder
Overrides

clearEscapeCharacter()

public ExportClusterRequest.CsvExportOptions.Builder clearEscapeCharacter()

Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is the same as quote character. The value of this argument has to be a character in Hex ASCII Code.

string escape_character = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder

This builder for chaining.

clearFieldDelimiter()

public ExportClusterRequest.CsvExportOptions.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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder

This builder for chaining.

clearQuoteCharacter()

public ExportClusterRequest.CsvExportOptions.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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder

This builder for chaining.

clearSelectQuery()

public ExportClusterRequest.CsvExportOptions.Builder clearSelectQuery()

Required. The SELECT query used to extract the data.

string select_query = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder

This builder for chaining.

getDefaultInstanceForType()

public ExportClusterRequest.CsvExportOptions getDefaultInstanceForType()
Returns
Type Description
ExportClusterRequest.CsvExportOptions

getDescriptorForType()

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

getEscapeCharacter()

public String getEscapeCharacter()

Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is the same as quote character. The value of this argument has to be a character in Hex ASCII Code.

string escape_character = 4 [(.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 the same as quote character. The value of this argument has to be a character in Hex ASCII Code.

string escape_character = 4 [(.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 = 2 [(.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 = 2 [(.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 = 3 [(.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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for quoteCharacter.

getSelectQuery()

public String getSelectQuery()

Required. The SELECT query used to extract the data.

string select_query = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The selectQuery.

getSelectQueryBytes()

public ByteString getSelectQueryBytes()

Required. The SELECT query used to extract the data.

string select_query = 1 [(.google.api.field_behavior) = REQUIRED];

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(ExportClusterRequest.CsvExportOptions other)

public ExportClusterRequest.CsvExportOptions.Builder mergeFrom(ExportClusterRequest.CsvExportOptions other)
Parameter
Name Description
other ExportClusterRequest.CsvExportOptions
Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ExportClusterRequest.CsvExportOptions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder
Overrides

setEscapeCharacter(String value)

public ExportClusterRequest.CsvExportOptions.Builder setEscapeCharacter(String value)

Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is the same as quote character. The value of this argument has to be a character in Hex ASCII Code.

string escape_character = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The escapeCharacter to set.

Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder

This builder for chaining.

setEscapeCharacterBytes(ByteString value)

public ExportClusterRequest.CsvExportOptions.Builder setEscapeCharacterBytes(ByteString value)

Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is the same as quote character. The value of this argument has to be a character in Hex ASCII Code.

string escape_character = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for escapeCharacter to set.

Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder

This builder for chaining.

setFieldDelimiter(String value)

public ExportClusterRequest.CsvExportOptions.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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The fieldDelimiter to set.

Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder

This builder for chaining.

setFieldDelimiterBytes(ByteString value)

public ExportClusterRequest.CsvExportOptions.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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for fieldDelimiter to set.

Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder

This builder for chaining.

setQuoteCharacter(String value)

public ExportClusterRequest.CsvExportOptions.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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The quoteCharacter to set.

Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder

This builder for chaining.

setQuoteCharacterBytes(ByteString value)

public ExportClusterRequest.CsvExportOptions.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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for quoteCharacter to set.

Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder

This builder for chaining.

setSelectQuery(String value)

public ExportClusterRequest.CsvExportOptions.Builder setSelectQuery(String value)

Required. The SELECT query used to extract the data.

string select_query = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The selectQuery to set.

Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder

This builder for chaining.

setSelectQueryBytes(ByteString value)

public ExportClusterRequest.CsvExportOptions.Builder setSelectQueryBytes(ByteString value)

Required. The SELECT query used to extract the data.

string select_query = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for selectQuery to set.

Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder

This builder for chaining.