Class MysqlDatabase.Builder (1.10.0)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.datastream.v1alpha1.MysqlTable>
Returns
TypeDescription
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
NameDescription
valueMysqlTable
Returns
TypeDescription
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
NameDescription
builderForValueMysqlTable.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueMysqlTable
Returns
TypeDescription
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
NameDescription
indexint
builderForValueMysqlTable.Builder
Returns
TypeDescription
MysqlDatabase.Builder

addMysqlTablesBuilder()

public MysqlTable.Builder addMysqlTablesBuilder()

Tables in the database.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
MysqlTable.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MysqlDatabase.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MysqlDatabase.Builder
Overrides

build()

public MysqlDatabase build()
Returns
TypeDescription
MysqlDatabase

buildPartial()

public MysqlDatabase buildPartial()
Returns
TypeDescription
MysqlDatabase

clear()

public MysqlDatabase.Builder clear()
Returns
TypeDescription
MysqlDatabase.Builder
Overrides

clearDatabaseName()

public MysqlDatabase.Builder clearDatabaseName()

Database name.

string database_name = 1;

Returns
TypeDescription
MysqlDatabase.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public MysqlDatabase.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
MysqlDatabase.Builder
Overrides

clearMysqlTables()

public MysqlDatabase.Builder clearMysqlTables()

Tables in the database.

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

Returns
TypeDescription
MysqlDatabase.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public MysqlDatabase.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MysqlDatabase.Builder
Overrides

clone()

public MysqlDatabase.Builder clone()
Returns
TypeDescription
MysqlDatabase.Builder
Overrides

getDatabaseName()

public String getDatabaseName()

Database name.

string database_name = 1;

Returns
TypeDescription
String

The databaseName.

getDatabaseNameBytes()

public ByteString getDatabaseNameBytes()

Database name.

string database_name = 1;

Returns
TypeDescription
ByteString

The bytes for databaseName.

getDefaultInstanceForType()

public MysqlDatabase getDefaultInstanceForType()
Returns
TypeDescription
MysqlDatabase

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMysqlTables(int index)

public MysqlTable getMysqlTables(int index)

Tables in the database.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MysqlTable

getMysqlTablesBuilder(int index)

public MysqlTable.Builder getMysqlTablesBuilder(int index)

Tables in the database.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MysqlTable.Builder

getMysqlTablesBuilderList()

public List<MysqlTable.Builder> getMysqlTablesBuilderList()

Tables in the database.

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

Returns
TypeDescription
List<Builder>

getMysqlTablesCount()

public int getMysqlTablesCount()

Tables in the database.

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

Returns
TypeDescription
int

getMysqlTablesList()

public List<MysqlTable> getMysqlTablesList()

Tables in the database.

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

Returns
TypeDescription
List<MysqlTable>

getMysqlTablesOrBuilder(int index)

public MysqlTableOrBuilder getMysqlTablesOrBuilder(int index)

Tables in the database.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MysqlTableOrBuilder

getMysqlTablesOrBuilderList()

public List<? extends MysqlTableOrBuilder> getMysqlTablesOrBuilderList()

Tables in the database.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MysqlDatabase other)

public MysqlDatabase.Builder mergeFrom(MysqlDatabase other)
Parameter
NameDescription
otherMysqlDatabase
Returns
TypeDescription
MysqlDatabase.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MysqlDatabase.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlDatabase.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public MysqlDatabase.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MysqlDatabase.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MysqlDatabase.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MysqlDatabase.Builder
Overrides

removeMysqlTables(int index)

public MysqlDatabase.Builder removeMysqlTables(int index)

Tables in the database.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MysqlDatabase.Builder

setDatabaseName(String value)

public MysqlDatabase.Builder setDatabaseName(String value)

Database name.

string database_name = 1;

Parameter
NameDescription
valueString

The databaseName to set.

Returns
TypeDescription
MysqlDatabase.Builder

This builder for chaining.

setDatabaseNameBytes(ByteString value)

public MysqlDatabase.Builder setDatabaseNameBytes(ByteString value)

Database name.

string database_name = 1;

Parameter
NameDescription
valueByteString

The bytes for databaseName to set.

Returns
TypeDescription
MysqlDatabase.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public MysqlDatabase.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MysqlDatabase.Builder
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
NameDescription
indexint
valueMysqlTable
Returns
TypeDescription
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
NameDescription
indexint
builderForValueMysqlTable.Builder
Returns
TypeDescription
MysqlDatabase.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MysqlDatabase.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MysqlDatabase.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MysqlDatabase.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MysqlDatabase.Builder
Overrides