Class ExportContext.SqlExportOptions.MysqlExportOptions.Builder (0.1.0)

public static final class ExportContext.SqlExportOptions.MysqlExportOptions.Builder extends GeneratedMessage.Builder<ExportContext.SqlExportOptions.MysqlExportOptions.Builder> implements ExportContext.SqlExportOptions.MysqlExportOptionsOrBuilder

Options for exporting from MySQL.

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

Static Methods

getDescriptor()

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

Methods

build()

public ExportContext.SqlExportOptions.MysqlExportOptions build()
Returns
Type Description
ExportContext.SqlExportOptions.MysqlExportOptions

buildPartial()

public ExportContext.SqlExportOptions.MysqlExportOptions buildPartial()
Returns
Type Description
ExportContext.SqlExportOptions.MysqlExportOptions

clear()

public ExportContext.SqlExportOptions.MysqlExportOptions.Builder clear()
Returns
Type Description
ExportContext.SqlExportOptions.MysqlExportOptions.Builder
Overrides

clearMasterData()

public ExportContext.SqlExportOptions.MysqlExportOptions.Builder clearMasterData()

Option to include SQL statement required to set up replication. If set to 1, the dump file includes a CHANGE MASTER TO statement with the binary log coordinates, and --set-gtid-purged is set to ON. If set to 2, the CHANGE MASTER TO statement is written as a SQL comment and has no effect. If set to any value other than 1, --set-gtid-purged is set to OFF.

.google.protobuf.Int32Value master_data = 1;

Returns
Type Description
ExportContext.SqlExportOptions.MysqlExportOptions.Builder

getDefaultInstanceForType()

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

getDescriptorForType()

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

getMasterData()

public Int32Value getMasterData()

Option to include SQL statement required to set up replication. If set to 1, the dump file includes a CHANGE MASTER TO statement with the binary log coordinates, and --set-gtid-purged is set to ON. If set to 2, the CHANGE MASTER TO statement is written as a SQL comment and has no effect. If set to any value other than 1, --set-gtid-purged is set to OFF.

.google.protobuf.Int32Value master_data = 1;

Returns
Type Description
Int32Value

The masterData.

getMasterDataBuilder()

public Int32Value.Builder getMasterDataBuilder()

Option to include SQL statement required to set up replication. If set to 1, the dump file includes a CHANGE MASTER TO statement with the binary log coordinates, and --set-gtid-purged is set to ON. If set to 2, the CHANGE MASTER TO statement is written as a SQL comment and has no effect. If set to any value other than 1, --set-gtid-purged is set to OFF.

.google.protobuf.Int32Value master_data = 1;

Returns
Type Description
Builder

getMasterDataOrBuilder()

public Int32ValueOrBuilder getMasterDataOrBuilder()

Option to include SQL statement required to set up replication. If set to 1, the dump file includes a CHANGE MASTER TO statement with the binary log coordinates, and --set-gtid-purged is set to ON. If set to 2, the CHANGE MASTER TO statement is written as a SQL comment and has no effect. If set to any value other than 1, --set-gtid-purged is set to OFF.

.google.protobuf.Int32Value master_data = 1;

Returns
Type Description
Int32ValueOrBuilder

hasMasterData()

public boolean hasMasterData()

Option to include SQL statement required to set up replication. If set to 1, the dump file includes a CHANGE MASTER TO statement with the binary log coordinates, and --set-gtid-purged is set to ON. If set to 2, the CHANGE MASTER TO statement is written as a SQL comment and has no effect. If set to any value other than 1, --set-gtid-purged is set to OFF.

.google.protobuf.Int32Value master_data = 1;

Returns
Type Description
boolean

Whether the masterData field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportContext.SqlExportOptions.MysqlExportOptions other)

public ExportContext.SqlExportOptions.MysqlExportOptions.Builder mergeFrom(ExportContext.SqlExportOptions.MysqlExportOptions other)
Parameter
Name Description
other ExportContext.SqlExportOptions.MysqlExportOptions
Returns
Type Description
ExportContext.SqlExportOptions.MysqlExportOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportContext.SqlExportOptions.MysqlExportOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportContext.SqlExportOptions.MysqlExportOptions.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExportContext.SqlExportOptions.MysqlExportOptions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExportContext.SqlExportOptions.MysqlExportOptions.Builder
Overrides

mergeMasterData(Int32Value value)

public ExportContext.SqlExportOptions.MysqlExportOptions.Builder mergeMasterData(Int32Value value)

Option to include SQL statement required to set up replication. If set to 1, the dump file includes a CHANGE MASTER TO statement with the binary log coordinates, and --set-gtid-purged is set to ON. If set to 2, the CHANGE MASTER TO statement is written as a SQL comment and has no effect. If set to any value other than 1, --set-gtid-purged is set to OFF.

.google.protobuf.Int32Value master_data = 1;

Parameter
Name Description
value Int32Value
Returns
Type Description
ExportContext.SqlExportOptions.MysqlExportOptions.Builder

setMasterData(Int32Value value)

public ExportContext.SqlExportOptions.MysqlExportOptions.Builder setMasterData(Int32Value value)

Option to include SQL statement required to set up replication. If set to 1, the dump file includes a CHANGE MASTER TO statement with the binary log coordinates, and --set-gtid-purged is set to ON. If set to 2, the CHANGE MASTER TO statement is written as a SQL comment and has no effect. If set to any value other than 1, --set-gtid-purged is set to OFF.

.google.protobuf.Int32Value master_data = 1;

Parameter
Name Description
value Int32Value
Returns
Type Description
ExportContext.SqlExportOptions.MysqlExportOptions.Builder

setMasterData(Int32Value.Builder builderForValue)

public ExportContext.SqlExportOptions.MysqlExportOptions.Builder setMasterData(Int32Value.Builder builderForValue)

Option to include SQL statement required to set up replication. If set to 1, the dump file includes a CHANGE MASTER TO statement with the binary log coordinates, and --set-gtid-purged is set to ON. If set to 2, the CHANGE MASTER TO statement is written as a SQL comment and has no effect. If set to any value other than 1, --set-gtid-purged is set to OFF.

.google.protobuf.Int32Value master_data = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ExportContext.SqlExportOptions.MysqlExportOptions.Builder