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