public static final class MysqlDatabase.Builder extends GeneratedMessage.Builder<MysqlDatabase.Builder> implements MysqlDatabaseOrBuilderMySQL database.
Protobuf type google.cloud.datastream.v1alpha1.MysqlDatabase
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MysqlDatabase.BuilderImplements
MysqlDatabaseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
MysqlDatabase.Builder |
|
addMysqlTables(MysqlTable value)
public MysqlDatabase.Builder addMysqlTables(MysqlTable value)Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
MysqlTable |
| Returns | |
|---|---|
| Type | Description |
MysqlDatabase.Builder |
|
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 | |
|---|---|
| Name | Description |
builderForValue |
MysqlTable.Builder |
| Returns | |
|---|---|
| Type | Description |
MysqlDatabase.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
value |
MysqlTable |
| Returns | |
|---|---|
| Type | Description |
MysqlDatabase.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MysqlTable.Builder |
| Returns | |
|---|---|
| Type | Description |
MysqlDatabase.Builder |
|
addMysqlTablesBuilder()
public MysqlTable.Builder addMysqlTablesBuilder()Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
| Returns | |
|---|---|
| Type | Description |
MysqlTable.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
MysqlTable.Builder |
|
build()
public MysqlDatabase build()| Returns | |
|---|---|
| Type | Description |
MysqlDatabase |
|
buildPartial()
public MysqlDatabase buildPartial()| Returns | |
|---|---|
| Type | Description |
MysqlDatabase |
|
clear()
public MysqlDatabase.Builder clear()| Returns | |
|---|---|
| Type | Description |
MysqlDatabase.Builder |
|
clearDatabaseName()
public MysqlDatabase.Builder clearDatabaseName()Database name.
string database_name = 1;
| Returns | |
|---|---|
| Type | Description |
MysqlDatabase.Builder |
This builder for chaining. |
clearMysqlTables()
public MysqlDatabase.Builder clearMysqlTables()Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
| Returns | |
|---|---|
| Type | Description |
MysqlDatabase.Builder |
|
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 | |
|---|---|
| Type | Description |
MysqlDatabase |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
| Returns | |
|---|---|
| Type | Description |
MysqlTable |
|
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 |
| Returns | |
|---|---|
| Type | Description |
MysqlTable.Builder |
|
getMysqlTablesBuilderList()
public List<MysqlTable.Builder> getMysqlTablesBuilderList()Tables in the database.
repeated .google.cloud.datastream.v1alpha1.MysqlTable mysql_tables = 2;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<MysqlTable> |
|
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 |
| Returns | |
|---|---|
| Type | Description |
MysqlTableOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(MysqlDatabase other)
public MysqlDatabase.Builder mergeFrom(MysqlDatabase other)| Parameter | |
|---|---|
| Name | Description |
other |
MysqlDatabase |
| Returns | |
|---|---|
| Type | Description |
MysqlDatabase.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MysqlDatabase.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MysqlDatabase.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MysqlDatabase.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MysqlDatabase.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
MysqlDatabase.Builder |
|
setDatabaseName(String value)
public MysqlDatabase.Builder setDatabaseName(String value)Database name.
string database_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe databaseName to set. |
| Returns | |
|---|---|
| Type | Description |
MysqlDatabase.Builder |
This builder for chaining. |
setDatabaseNameBytes(ByteString value)
public MysqlDatabase.Builder setDatabaseNameBytes(ByteString value)Database name.
string database_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for databaseName to set. |
| Returns | |
|---|---|
| Type | Description |
MysqlDatabase.Builder |
This builder for chaining. |
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 | |
|---|---|
| Name | Description |
index |
int |
value |
MysqlTable |
| Returns | |
|---|---|
| Type | Description |
MysqlDatabase.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MysqlTable.Builder |
| Returns | |
|---|---|
| Type | Description |
MysqlDatabase.Builder |
|