public static final class MysqlDatabase.Builder extends GeneratedMessageV3.Builder<MysqlDatabase.Builder> implements MysqlDatabaseOrBuilder
MySQL database.
Protobuf type google.cloud.datastream.v1alpha1.MysqlDatabase
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllMysqlTables(Iterable<? extends MysqlTable> values)
public MysqlDatabase.Builder addAllMysqlTables(Iterable<? extends MysqlTable> values)
Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.datastream.v1alpha1.MysqlTable>
|
Returns
addMysqlTables(MysqlTable value)
public MysqlDatabase.Builder addMysqlTables(MysqlTable value)
Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
Parameter
Returns
addMysqlTables(MysqlTable.Builder builderForValue)
public MysqlDatabase.Builder addMysqlTables(MysqlTable.Builder builderForValue)
Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
Parameter
Returns
addMysqlTables(int index, MysqlTable value)
public MysqlDatabase.Builder addMysqlTables(int index, MysqlTable value)
Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
Parameters
Returns
addMysqlTables(int index, MysqlTable.Builder builderForValue)
public MysqlDatabase.Builder addMysqlTables(int index, MysqlTable.Builder builderForValue)
Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
Parameters
Returns
addMysqlTablesBuilder()
public MysqlTable.Builder addMysqlTablesBuilder()
Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
Returns
addMysqlTablesBuilder(int index)
public MysqlTable.Builder addMysqlTablesBuilder(int index)
Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MysqlDatabase.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public MysqlDatabase build()
Returns
buildPartial()
public MysqlDatabase buildPartial()
Returns
clear()
public MysqlDatabase.Builder clear()
Returns
Overrides
clearDatabaseName()
public MysqlDatabase.Builder clearDatabaseName()
Database name.
string database_name = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public MysqlDatabase.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMysqlTables()
public MysqlDatabase.Builder clearMysqlTables()
Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public MysqlDatabase.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public MysqlDatabase.Builder clone()
Returns
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()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMysqlTables(int index)
public MysqlTable getMysqlTables(int index)
Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
Parameter
Returns
getMysqlTablesBuilder(int index)
public MysqlTable.Builder getMysqlTablesBuilder(int index)
Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
Parameter
Returns
getMysqlTablesBuilderList()
public List<MysqlTable.Builder> getMysqlTablesBuilderList()
Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
Returns
getMysqlTablesCount()
public int getMysqlTablesCount()
Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
Returns
getMysqlTablesList()
public List<MysqlTable> getMysqlTablesList()
Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
Returns
getMysqlTablesOrBuilder(int index)
public MysqlTableOrBuilder getMysqlTablesOrBuilder(int index)
Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
Parameter
Returns
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> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(MysqlDatabase other)
public MysqlDatabase.Builder mergeFrom(MysqlDatabase other)
Parameter
Returns
public MysqlDatabase.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public MysqlDatabase.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MysqlDatabase.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeMysqlTables(int index)
public MysqlDatabase.Builder removeMysqlTables(int index)
Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
Parameter
Returns
setDatabaseName(String value)
public MysqlDatabase.Builder setDatabaseName(String value)
Database name.
string database_name = 1;
Parameter
Name | Description |
value | String
The databaseName to set.
|
Returns
setDatabaseNameBytes(ByteString value)
public MysqlDatabase.Builder setDatabaseNameBytes(ByteString value)
Database name.
string database_name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for databaseName to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public MysqlDatabase.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMysqlTables(int index, MysqlTable value)
public MysqlDatabase.Builder setMysqlTables(int index, MysqlTable value)
Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
Parameters
Returns
setMysqlTables(int index, MysqlTable.Builder builderForValue)
public MysqlDatabase.Builder setMysqlTables(int index, MysqlTable.Builder builderForValue)
Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MysqlDatabase.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MysqlDatabase.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides