public static final class ExportContext.SqlExportOptions.MysqlExportOptions extends GeneratedMessage implements ExportContext.SqlExportOptions.MysqlExportOptionsOrBuilderOptions for exporting from MySQL.
Protobuf type google.cloud.sql.v1.ExportContext.SqlExportOptions.MysqlExportOptions
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ExportContext.SqlExportOptions.MysqlExportOptionsStatic Fields
MASTER_DATA_FIELD_NUMBER
public static final int MASTER_DATA_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ExportContext.SqlExportOptions.MysqlExportOptions getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ExportContext.SqlExportOptions.MysqlExportOptions |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ExportContext.SqlExportOptions.MysqlExportOptions.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ExportContext.SqlExportOptions.MysqlExportOptions.Builder |
|
newBuilder(ExportContext.SqlExportOptions.MysqlExportOptions prototype)
public static ExportContext.SqlExportOptions.MysqlExportOptions.Builder newBuilder(ExportContext.SqlExportOptions.MysqlExportOptions prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ExportContext.SqlExportOptions.MysqlExportOptions |
| Returns | |
|---|---|
| Type | Description |
ExportContext.SqlExportOptions.MysqlExportOptions.Builder |
|
parseDelimitedFrom(InputStream input)
public static ExportContext.SqlExportOptions.MysqlExportOptions parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ExportContext.SqlExportOptions.MysqlExportOptions |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ExportContext.SqlExportOptions.MysqlExportOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportContext.SqlExportOptions.MysqlExportOptions |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ExportContext.SqlExportOptions.MysqlExportOptions parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ExportContext.SqlExportOptions.MysqlExportOptions |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExportContext.SqlExportOptions.MysqlExportOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportContext.SqlExportOptions.MysqlExportOptions |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ExportContext.SqlExportOptions.MysqlExportOptions parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ExportContext.SqlExportOptions.MysqlExportOptions |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExportContext.SqlExportOptions.MysqlExportOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportContext.SqlExportOptions.MysqlExportOptions |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ExportContext.SqlExportOptions.MysqlExportOptions parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ExportContext.SqlExportOptions.MysqlExportOptions |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ExportContext.SqlExportOptions.MysqlExportOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportContext.SqlExportOptions.MysqlExportOptions |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ExportContext.SqlExportOptions.MysqlExportOptions parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ExportContext.SqlExportOptions.MysqlExportOptions |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ExportContext.SqlExportOptions.MysqlExportOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportContext.SqlExportOptions.MysqlExportOptions |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ExportContext.SqlExportOptions.MysqlExportOptions parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ExportContext.SqlExportOptions.MysqlExportOptions |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExportContext.SqlExportOptions.MysqlExportOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportContext.SqlExportOptions.MysqlExportOptions |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ExportContext.SqlExportOptions.MysqlExportOptions> parser()| Returns | |
|---|---|
| Type | Description |
Parser<MysqlExportOptions> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public ExportContext.SqlExportOptions.MysqlExportOptions getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ExportContext.SqlExportOptions.MysqlExportOptions |
|
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. |
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 |
|
getParserForType()
public Parser<ExportContext.SqlExportOptions.MysqlExportOptions> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<MysqlExportOptions> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ExportContext.SqlExportOptions.MysqlExportOptions.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ExportContext.SqlExportOptions.MysqlExportOptions.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ExportContext.SqlExportOptions.MysqlExportOptions.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ExportContext.SqlExportOptions.MysqlExportOptions.Builder |
|
toBuilder()
public ExportContext.SqlExportOptions.MysqlExportOptions.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ExportContext.SqlExportOptions.MysqlExportOptions.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|