Class ExportClusterRequest.CsvExportOptions.Builder (0.56.0)

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

Options for exporting data in CSV format.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportClusterRequest.CsvExportOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public ExportClusterRequest.CsvExportOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportClusterRequest.CsvExportOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportClusterRequest.CsvExportOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public ExportClusterRequest.CsvExportOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder
Overrides

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ExportClusterRequest.CsvExportOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportClusterRequest.CsvExportOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder
Overrides