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.v1.ExportContext.SqlExportOptions.MysqlExportOptions
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public ExportContext.SqlExportOptions.MysqlExportOptions build()
buildPartial()
public ExportContext.SqlExportOptions.MysqlExportOptions buildPartial()
clear()
public ExportContext.SqlExportOptions.MysqlExportOptions.Builder clear()
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;
getDefaultInstanceForType()
public ExportContext.SqlExportOptions.MysqlExportOptions getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ExportContext.SqlExportOptions.MysqlExportOptions other)
public ExportContext.SqlExportOptions.MysqlExportOptions.Builder mergeFrom(ExportContext.SqlExportOptions.MysqlExportOptions other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExportContext.SqlExportOptions.MysqlExportOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ExportContext.SqlExportOptions.MysqlExportOptions.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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;
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;
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
|