Class MysqlDatabase (1.15.0)

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
TypeDescription
int

MYSQL_TABLES_FIELD_NUMBER

public static final int MYSQL_TABLES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MysqlDatabase getDefaultInstance()
Returns
TypeDescription
MysqlDatabase

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MysqlDatabase.Builder newBuilder()
Returns
TypeDescription
MysqlDatabase.Builder

newBuilder(MysqlDatabase prototype)

public static MysqlDatabase.Builder newBuilder(MysqlDatabase prototype)
Parameter
NameDescription
prototypeMysqlDatabase
Returns
TypeDescription
MysqlDatabase.Builder

parseDelimitedFrom(InputStream input)

public static MysqlDatabase parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MysqlDatabase
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MysqlDatabase parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlDatabase
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MysqlDatabase parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MysqlDatabase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MysqlDatabase parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlDatabase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MysqlDatabase parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MysqlDatabase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MysqlDatabase parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlDatabase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MysqlDatabase parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MysqlDatabase
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MysqlDatabase parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlDatabase
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MysqlDatabase parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MysqlDatabase
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MysqlDatabase parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlDatabase
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MysqlDatabase parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MysqlDatabase
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MysqlDatabase parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlDatabase
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MysqlDatabase> parser()
Returns
TypeDescription
Parser<MysqlDatabase>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDatabase()

public String getDatabase()

Database name.

string database = 1;

Returns
TypeDescription
String

The database.

getDatabaseBytes()

public ByteString getDatabaseBytes()

Database name.

string database = 1;

Returns
TypeDescription
ByteString

The bytes for database.

getDefaultInstanceForType()

public MysqlDatabase getDefaultInstanceForType()
Returns
TypeDescription
MysqlDatabase

getMysqlTables(int index)

public MysqlTable getMysqlTables(int index)

Tables in the database.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MysqlTable

getMysqlTablesCount()

public int getMysqlTablesCount()

Tables in the database.

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

Returns
TypeDescription
int

getMysqlTablesList()

public List<MysqlTable> getMysqlTablesList()

Tables in the database.

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

Returns
TypeDescription
List<MysqlTable>

getMysqlTablesOrBuilder(int index)

public MysqlTableOrBuilder getMysqlTablesOrBuilder(int index)

Tables in the database.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MysqlTableOrBuilder

getMysqlTablesOrBuilderList()

public List<? extends MysqlTableOrBuilder> getMysqlTablesOrBuilderList()

Tables in the database.

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

Returns
TypeDescription
List<? extends com.google.cloud.datastream.v1.MysqlTableOrBuilder>

getParserForType()

public Parser<MysqlDatabase> getParserForType()
Returns
TypeDescription
Parser<MysqlDatabase>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MysqlDatabase.Builder newBuilderForType()
Returns
TypeDescription
MysqlDatabase.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MysqlDatabase.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MysqlDatabase.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MysqlDatabase.Builder toBuilder()
Returns
TypeDescription
MysqlDatabase.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException