Class MysqlDatabase (0.16.0)

public final class MysqlDatabase extends GeneratedMessageV3 implements MysqlDatabaseOrBuilder

MySQL database.

Protobuf type google.events.cloud.datastream.v1.MysqlDatabase

Static Fields

DATABASE_FIELD_NUMBER

public static final int DATABASE_FIELD_NUMBER
Field Value
Type Description
int

MYSQL_TABLES_FIELD_NUMBER

public static final int MYSQL_TABLES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MysqlDatabase getDefaultInstance()
Returns
Type Description
MysqlDatabase

getDescriptor()

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

newBuilder()

public static MysqlDatabase.Builder newBuilder()
Returns
Type Description
MysqlDatabase.Builder

newBuilder(MysqlDatabase prototype)

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

parseDelimitedFrom(InputStream input)

public static MysqlDatabase parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MysqlDatabase
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static MysqlDatabase parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MysqlDatabase
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static MysqlDatabase parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MysqlDatabase
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static MysqlDatabase parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MysqlDatabase
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static MysqlDatabase parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MysqlDatabase
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<MysqlDatabase> parser()
Returns
Type Description
Parser<MysqlDatabase>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Type Description
ByteString

The bytes for database.

getDefaultInstanceForType()

public MysqlDatabase getDefaultInstanceForType()
Returns
Type Description
MysqlDatabase

getMysqlTables(int index)

public MysqlTable getMysqlTables(int index)

Tables in the database.

repeated .google.events.cloud.datastream.v1.MysqlTable mysql_tables = 2;

Parameter
Name Description
index int
Returns
Type Description
MysqlTable

getMysqlTablesCount()

public int getMysqlTablesCount()

Tables in the database.

repeated .google.events.cloud.datastream.v1.MysqlTable mysql_tables = 2;

Returns
Type Description
int

getMysqlTablesList()

public List<MysqlTable> getMysqlTablesList()

Tables in the database.

repeated .google.events.cloud.datastream.v1.MysqlTable mysql_tables = 2;

Returns
Type Description
List<MysqlTable>

getMysqlTablesOrBuilder(int index)

public MysqlTableOrBuilder getMysqlTablesOrBuilder(int index)

Tables in the database.

repeated .google.events.cloud.datastream.v1.MysqlTable mysql_tables = 2;

Parameter
Name Description
index int
Returns
Type Description
MysqlTableOrBuilder

getMysqlTablesOrBuilderList()

public List<? extends MysqlTableOrBuilder> getMysqlTablesOrBuilderList()

Tables in the database.

repeated .google.events.cloud.datastream.v1.MysqlTable mysql_tables = 2;

Returns
Type Description
List<? extends com.google.events.cloud.datastream.v1.MysqlTableOrBuilder>

getParserForType()

public Parser<MysqlDatabase> getParserForType()
Returns
Type Description
Parser<MysqlDatabase>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MysqlDatabase.Builder newBuilderForType()
Returns
Type Description
MysqlDatabase.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MysqlDatabase.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MysqlDatabase.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public MysqlDatabase.Builder toBuilder()
Returns
Type Description
MysqlDatabase.Builder

writeTo(CodedOutputStream output)

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