Class ExportClusterRequest.CsvExportOptions (0.56.0)

public static final class ExportClusterRequest.CsvExportOptions extends GeneratedMessageV3 implements ExportClusterRequest.CsvExportOptionsOrBuilder

Options for exporting data in CSV format.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ExportClusterRequest.CsvExportOptions

Static Fields

ESCAPE_CHARACTER_FIELD_NUMBER

public static final int ESCAPE_CHARACTER_FIELD_NUMBER
Field Value
Type Description
int

FIELD_DELIMITER_FIELD_NUMBER

public static final int FIELD_DELIMITER_FIELD_NUMBER
Field Value
Type Description
int

QUOTE_CHARACTER_FIELD_NUMBER

public static final int QUOTE_CHARACTER_FIELD_NUMBER
Field Value
Type Description
int

SELECT_QUERY_FIELD_NUMBER

public static final int SELECT_QUERY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExportClusterRequest.CsvExportOptions getDefaultInstance()
Returns
Type Description
ExportClusterRequest.CsvExportOptions

getDescriptor()

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

newBuilder()

public static ExportClusterRequest.CsvExportOptions.Builder newBuilder()
Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder

newBuilder(ExportClusterRequest.CsvExportOptions prototype)

public static ExportClusterRequest.CsvExportOptions.Builder newBuilder(ExportClusterRequest.CsvExportOptions prototype)
Parameter
Name Description
prototype ExportClusterRequest.CsvExportOptions
Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder

parseDelimitedFrom(InputStream input)

public static ExportClusterRequest.CsvExportOptions parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExportClusterRequest.CsvExportOptions
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportClusterRequest.CsvExportOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportClusterRequest.CsvExportOptions
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExportClusterRequest.CsvExportOptions parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExportClusterRequest.CsvExportOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExportClusterRequest.CsvExportOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportClusterRequest.CsvExportOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExportClusterRequest.CsvExportOptions parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExportClusterRequest.CsvExportOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExportClusterRequest.CsvExportOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportClusterRequest.CsvExportOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExportClusterRequest.CsvExportOptions parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExportClusterRequest.CsvExportOptions
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportClusterRequest.CsvExportOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportClusterRequest.CsvExportOptions
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExportClusterRequest.CsvExportOptions parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExportClusterRequest.CsvExportOptions
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportClusterRequest.CsvExportOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportClusterRequest.CsvExportOptions
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExportClusterRequest.CsvExportOptions parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExportClusterRequest.CsvExportOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExportClusterRequest.CsvExportOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportClusterRequest.CsvExportOptions
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExportClusterRequest.CsvExportOptions> parser()
Returns
Type Description
Parser<CsvExportOptions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<ExportClusterRequest.CsvExportOptions> getParserForType()
Returns
Type Description
Parser<CsvExportOptions>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExportClusterRequest.CsvExportOptions.Builder newBuilderForType()
Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExportClusterRequest.CsvExportOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ExportClusterRequest.CsvExportOptions.Builder toBuilder()
Returns
Type Description
ExportClusterRequest.CsvExportOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException