public final class MysqlDatabase extends GeneratedMessageV3 implements MysqlDatabaseOrBuilder
MySQL database.
Protobuf type google.cloud.datastream.v1.MysqlDatabase
Static Fields
DATABASE_FIELD_NUMBER
public static final int DATABASE_FIELD_NUMBER
Field Value
MYSQL_TABLES_FIELD_NUMBER
public static final int MYSQL_TABLES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static MysqlDatabase getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static MysqlDatabase.Builder newBuilder()
Returns
newBuilder(MysqlDatabase prototype)
public static MysqlDatabase.Builder newBuilder(MysqlDatabase prototype)
Parameter
Returns
public static MysqlDatabase parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static MysqlDatabase parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static MysqlDatabase parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MysqlDatabase parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static MysqlDatabase parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MysqlDatabase parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MysqlDatabase parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static MysqlDatabase parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MysqlDatabase parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static MysqlDatabase parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static MysqlDatabase parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MysqlDatabase parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<MysqlDatabase> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDatabase()
public String getDatabase()
Database name.
string database = 1;
Returns
Type | Description |
String | The database.
|
getDatabaseBytes()
public ByteString getDatabaseBytes()
Database name.
string database = 1;
Returns
getDefaultInstanceForType()
public MysqlDatabase getDefaultInstanceForType()
Returns
getMysqlTables(int index)
public MysqlTable getMysqlTables(int index)
Tables in the database.
repeated .google.cloud.datastream.v1.MysqlTable mysql_tables = 2;
Parameter
Returns
getMysqlTablesCount()
public int getMysqlTablesCount()
Tables in the database.
repeated .google.cloud.datastream.v1.MysqlTable mysql_tables = 2;
Returns
getMysqlTablesList()
public List<MysqlTable> getMysqlTablesList()
Tables in the database.
repeated .google.cloud.datastream.v1.MysqlTable mysql_tables = 2;
Returns
getMysqlTablesOrBuilder(int index)
public MysqlTableOrBuilder getMysqlTablesOrBuilder(int index)
Tables in the database.
repeated .google.cloud.datastream.v1.MysqlTable mysql_tables = 2;
Parameter
Returns
getMysqlTablesOrBuilderList()
public List<? extends MysqlTableOrBuilder> getMysqlTablesOrBuilderList()
Tables in the database.
repeated .google.cloud.datastream.v1.MysqlTable mysql_tables = 2;
Returns
Type | Description |
List<? extends com.google.cloud.datastream.v1.MysqlTableOrBuilder> | |
getParserForType()
public Parser<MysqlDatabase> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public MysqlDatabase.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MysqlDatabase.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public MysqlDatabase.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions