public final class MysqlDatabase extends GeneratedMessageV3 implements MysqlDatabaseOrBuilder
MySQL database.
Protobuf type google.cloud.datastream.v1alpha1.MysqlDatabase
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
DATABASE_NAME_FIELD_NUMBER
public static final int DATABASE_NAME_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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MysqlDatabase.Builder newBuilder()
newBuilder(MysqlDatabase prototype)
public static MysqlDatabase.Builder newBuilder(MysqlDatabase prototype)
public static MysqlDatabase parseDelimitedFrom(InputStream input)
public static MysqlDatabase parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MysqlDatabase parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MysqlDatabase parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MysqlDatabase parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MysqlDatabase parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MysqlDatabase parseFrom(CodedInputStream input)
public static MysqlDatabase parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MysqlDatabase parseFrom(InputStream input)
public static MysqlDatabase parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MysqlDatabase parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MysqlDatabase parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MysqlDatabase> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDatabaseName()
public String getDatabaseName()
Database name.
string database_name = 1;
Returns |
---|
Type | Description |
String | The databaseName.
|
getDatabaseNameBytes()
public ByteString getDatabaseNameBytes()
Database name.
string database_name = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for databaseName.
|
getDefaultInstanceForType()
public MysqlDatabase getDefaultInstanceForType()
getMysqlTables(int index)
public MysqlTable getMysqlTables(int index)
Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
Parameter |
---|
Name | Description |
index | int
|
getMysqlTablesCount()
public int getMysqlTablesCount()
Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
Returns |
---|
Type | Description |
int | |
getMysqlTablesList()
public List<MysqlTable> getMysqlTablesList()
Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
getMysqlTablesOrBuilder(int index)
public MysqlTableOrBuilder getMysqlTablesOrBuilder(int index)
Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
Parameter |
---|
Name | Description |
index | int
|
getMysqlTablesOrBuilderList()
public List<? extends MysqlTableOrBuilder> getMysqlTablesOrBuilderList()
Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.datastream.v1alpha1.MysqlTableOrBuilder> | |
getParserForType()
public Parser<MysqlDatabase> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MysqlDatabase.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MysqlDatabase.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public MysqlDatabase.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides