Class ExportContext.SqlExportOptions (0.1.0)

public static final class ExportContext.SqlExportOptions extends GeneratedMessage implements ExportContext.SqlExportOptionsOrBuilder

Protobuf type google.cloud.sql.v1beta4.ExportContext.SqlExportOptions

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ExportContext.SqlExportOptions

Static Fields

MYSQL_EXPORT_OPTIONS_FIELD_NUMBER

public static final int MYSQL_EXPORT_OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

PARALLEL_FIELD_NUMBER

public static final int PARALLEL_FIELD_NUMBER
Field Value
Type Description
int

POSTGRES_EXPORT_OPTIONS_FIELD_NUMBER

public static final int POSTGRES_EXPORT_OPTIONS_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

THREADS_FIELD_NUMBER

public static final int THREADS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(ExportContext.SqlExportOptions prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ExportContext.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

getDefaultInstanceForType()

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

getMysqlExportOptions()

public ExportContext.SqlExportOptions.MysqlExportOptions getMysqlExportOptions()

.google.cloud.sql.v1beta4.ExportContext.SqlExportOptions.MysqlExportOptions mysql_export_options = 3;

Returns
Type Description
ExportContext.SqlExportOptions.MysqlExportOptions

The mysqlExportOptions.

getMysqlExportOptionsOrBuilder()

public ExportContext.SqlExportOptions.MysqlExportOptionsOrBuilder getMysqlExportOptionsOrBuilder()

.google.cloud.sql.v1beta4.ExportContext.SqlExportOptions.MysqlExportOptions mysql_export_options = 3;

Returns
Type Description
ExportContext.SqlExportOptions.MysqlExportOptionsOrBuilder

getParallel()

public BoolValue getParallel()

Optional. Whether or not the export should be parallel.

.google.protobuf.BoolValue parallel = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BoolValue

The parallel.

getParallelOrBuilder()

public BoolValueOrBuilder getParallelOrBuilder()

Optional. Whether or not the export should be parallel.

.google.protobuf.BoolValue parallel = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BoolValueOrBuilder

getParserForType()

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

getPostgresExportOptions()

public ExportContext.SqlExportOptions.PostgresExportOptions getPostgresExportOptions()

Optional. Options for exporting from a Cloud SQL for PostgreSQL instance.

.google.cloud.sql.v1beta4.ExportContext.SqlExportOptions.PostgresExportOptions postgres_export_options = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptions

The postgresExportOptions.

getPostgresExportOptionsOrBuilder()

public ExportContext.SqlExportOptions.PostgresExportOptionsOrBuilder getPostgresExportOptionsOrBuilder()

Optional. Options for exporting from a Cloud SQL for PostgreSQL instance.

.google.cloud.sql.v1beta4.ExportContext.SqlExportOptions.PostgresExportOptions postgres_export_options = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExportContext.SqlExportOptions.PostgresExportOptionsOrBuilder

getSchemaOnly()

public BoolValue getSchemaOnly()

Export only schemas.

.google.protobuf.BoolValue schema_only = 2;

Returns
Type Description
BoolValue

The schemaOnly.

getSchemaOnlyOrBuilder()

public BoolValueOrBuilder getSchemaOnlyOrBuilder()

Export only schemas.

.google.protobuf.BoolValue schema_only = 2;

Returns
Type Description
BoolValueOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTables(int index)

public String getTables(int index)

Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. For PostgreSQL instances, you can specify only one table.

repeated string tables = 1;

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)

Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. For PostgreSQL instances, you can specify only one table.

repeated string tables = 1;

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()

Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. For PostgreSQL instances, you can specify only one table.

repeated string tables = 1;

Returns
Type Description
int

The count of tables.

getTablesList()

public ProtocolStringList getTablesList()

Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. For PostgreSQL instances, you can specify only one table.

repeated string tables = 1;

Returns
Type Description
ProtocolStringList

A list containing the tables.

getThreads()

public Int32Value getThreads()

Optional. The number of threads to use for parallel export.

.google.protobuf.Int32Value threads = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Int32Value

The threads.

getThreadsOrBuilder()

public Int32ValueOrBuilder getThreadsOrBuilder()

Optional. The number of threads to use for parallel export.

.google.protobuf.Int32Value threads = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Int32ValueOrBuilder

hasMysqlExportOptions()

public boolean hasMysqlExportOptions()

.google.cloud.sql.v1beta4.ExportContext.SqlExportOptions.MysqlExportOptions mysql_export_options = 3;

Returns
Type Description
boolean

Whether the mysqlExportOptions field is set.

hasParallel()

public boolean hasParallel()

Optional. Whether or not the export should be parallel.

.google.protobuf.BoolValue parallel = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the parallel field is set.

hasPostgresExportOptions()

public boolean hasPostgresExportOptions()

Optional. Options for exporting from a Cloud SQL for PostgreSQL instance.

.google.cloud.sql.v1beta4.ExportContext.SqlExportOptions.PostgresExportOptions postgres_export_options = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the postgresExportOptions field is set.

hasSchemaOnly()

public boolean hasSchemaOnly()

Export only schemas.

.google.protobuf.BoolValue schema_only = 2;

Returns
Type Description
boolean

Whether the schemaOnly field is set.

hasThreads()

public boolean hasThreads()

Optional. The number of threads to use for parallel export.

.google.protobuf.Int32Value threads = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the threads field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExportContext.SqlExportOptions.Builder newBuilderForType()
Returns
Type Description
ExportContext.SqlExportOptions.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ExportContext.SqlExportOptions.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExportContext.SqlExportOptions.Builder
Overrides

toBuilder()

public ExportContext.SqlExportOptions.Builder toBuilder()
Returns
Type Description
ExportContext.SqlExportOptions.Builder

writeTo(CodedOutputStream output)

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