Class ExportClusterRequest.SqlExportOptions (0.56.0)

public static final class ExportClusterRequest.SqlExportOptions extends GeneratedMessageV3 implements ExportClusterRequest.SqlExportOptionsOrBuilder

Options for exporting data in SQL format.

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

Inheritance

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

Static Fields

CLEAN_TARGET_OBJECTS_FIELD_NUMBER

public static final int CLEAN_TARGET_OBJECTS_FIELD_NUMBER
Field Value
Type Description
int

IF_EXIST_TARGET_OBJECTS_FIELD_NUMBER

public static final int IF_EXIST_TARGET_OBJECTS_FIELD_NUMBER
Field Value
Type Description
int

SCHEMA_ONLY_FIELD_NUMBER

public static final int SCHEMA_ONLY_FIELD_NUMBER
Field Value
Type Description
int

TABLES_FIELD_NUMBER

public static final int TABLES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(ExportClusterRequest.SqlExportOptions prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCleanTargetObjects()

public boolean getCleanTargetObjects()

Optional. If true, output commands to DROP all the dumped database objects prior to outputting the commands for creating them.

optional bool clean_target_objects = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The cleanTargetObjects.

getDefaultInstanceForType()

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

getIfExistTargetObjects()

public boolean getIfExistTargetObjects()

Optional. If true, use DROP ... IF EXISTS commands to check for the object's existence before dropping it in clean_target_objects mode.

optional bool if_exist_target_objects = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The ifExistTargetObjects.

getParserForType()

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

getSchemaOnly()

public boolean getSchemaOnly()

Optional. If true, only export the schema.

optional bool schema_only = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The schemaOnly.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTables(int index)

public String getTables(int index)

Optional. Tables to export from.

repeated string tables = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The tables at the given index.

getTablesBytes(int index)

public ByteString getTablesBytes(int index)

Optional. Tables to export from.

repeated string tables = 1 [(.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 tables at the given index.

getTablesCount()

public int getTablesCount()

Optional. Tables to export from.

repeated string tables = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of tables.

getTablesList()

public ProtocolStringList getTablesList()

Optional. Tables to export from.

repeated string tables = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the tables.

hasCleanTargetObjects()

public boolean hasCleanTargetObjects()

Optional. If true, output commands to DROP all the dumped database objects prior to outputting the commands for creating them.

optional bool clean_target_objects = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the cleanTargetObjects field is set.

hasIfExistTargetObjects()

public boolean hasIfExistTargetObjects()

Optional. If true, use DROP ... IF EXISTS commands to check for the object's existence before dropping it in clean_target_objects mode.

optional bool if_exist_target_objects = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the ifExistTargetObjects field is set.

hasSchemaOnly()

public boolean hasSchemaOnly()

Optional. If true, only export the schema.

optional bool schema_only = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the schemaOnly field is set.

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.SqlExportOptions.Builder newBuilderForType()
Returns
Type Description
ExportClusterRequest.SqlExportOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExportClusterRequest.SqlExportOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExportClusterRequest.SqlExportOptions.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.SqlExportOptions.Builder toBuilder()
Returns
Type Description
ExportClusterRequest.SqlExportOptions.Builder

writeTo(CodedOutputStream output)

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