Class MysqlTable.Builder (1.41.0)

public static final class MysqlTable.Builder extends GeneratedMessageV3.Builder<MysqlTable.Builder> implements MysqlTableOrBuilder

MySQL table.

Protobuf type google.cloud.datastream.v1.MysqlTable

Implements

MysqlTableOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllMysqlColumns(Iterable<? extends MysqlColumn> values)

public MysqlTable.Builder addAllMysqlColumns(Iterable<? extends MysqlColumn> values)

MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.datastream.v1.MysqlColumn>
Returns
Type Description
MysqlTable.Builder

addMysqlColumns(MysqlColumn value)

public MysqlTable.Builder addMysqlColumns(MysqlColumn value)

MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2;

Parameter
Name Description
value MysqlColumn
Returns
Type Description
MysqlTable.Builder

addMysqlColumns(MysqlColumn.Builder builderForValue)

public MysqlTable.Builder addMysqlColumns(MysqlColumn.Builder builderForValue)

MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2;

Parameter
Name Description
builderForValue MysqlColumn.Builder
Returns
Type Description
MysqlTable.Builder

addMysqlColumns(int index, MysqlColumn value)

public MysqlTable.Builder addMysqlColumns(int index, MysqlColumn value)

MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2;

Parameters
Name Description
index int
value MysqlColumn
Returns
Type Description
MysqlTable.Builder

addMysqlColumns(int index, MysqlColumn.Builder builderForValue)

public MysqlTable.Builder addMysqlColumns(int index, MysqlColumn.Builder builderForValue)

MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2;

Parameters
Name Description
index int
builderForValue MysqlColumn.Builder
Returns
Type Description
MysqlTable.Builder

addMysqlColumnsBuilder()

public MysqlColumn.Builder addMysqlColumnsBuilder()

MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2;

Returns
Type Description
MysqlColumn.Builder

addMysqlColumnsBuilder(int index)

public MysqlColumn.Builder addMysqlColumnsBuilder(int index)

MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2;

Parameter
Name Description
index int
Returns
Type Description
MysqlColumn.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MysqlTable.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MysqlTable.Builder
Overrides

build()

public MysqlTable build()
Returns
Type Description
MysqlTable

buildPartial()

public MysqlTable buildPartial()
Returns
Type Description
MysqlTable

clear()

public MysqlTable.Builder clear()
Returns
Type Description
MysqlTable.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public MysqlTable.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MysqlTable.Builder
Overrides

clearMysqlColumns()

public MysqlTable.Builder clearMysqlColumns()

MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2;

Returns
Type Description
MysqlTable.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public MysqlTable.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MysqlTable.Builder
Overrides

clearTable()

public MysqlTable.Builder clearTable()

Table name.

string table = 1;

Returns
Type Description
MysqlTable.Builder

This builder for chaining.

clone()

public MysqlTable.Builder clone()
Returns
Type Description
MysqlTable.Builder
Overrides

getDefaultInstanceForType()

public MysqlTable getDefaultInstanceForType()
Returns
Type Description
MysqlTable

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMysqlColumns(int index)

public MysqlColumn getMysqlColumns(int index)

MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2;

Parameter
Name Description
index int
Returns
Type Description
MysqlColumn

getMysqlColumnsBuilder(int index)

public MysqlColumn.Builder getMysqlColumnsBuilder(int index)

MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2;

Parameter
Name Description
index int
Returns
Type Description
MysqlColumn.Builder

getMysqlColumnsBuilderList()

public List<MysqlColumn.Builder> getMysqlColumnsBuilderList()

MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2;

Returns
Type Description
List<Builder>

getMysqlColumnsCount()

public int getMysqlColumnsCount()

MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2;

Returns
Type Description
int

getMysqlColumnsList()

public List<MysqlColumn> getMysqlColumnsList()

MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2;

Returns
Type Description
List<MysqlColumn>

getMysqlColumnsOrBuilder(int index)

public MysqlColumnOrBuilder getMysqlColumnsOrBuilder(int index)

MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2;

Parameter
Name Description
index int
Returns
Type Description
MysqlColumnOrBuilder

getMysqlColumnsOrBuilderList()

public List<? extends MysqlColumnOrBuilder> getMysqlColumnsOrBuilderList()

MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2;

Returns
Type Description
List<? extends com.google.cloud.datastream.v1.MysqlColumnOrBuilder>

getTable()

public String getTable()

Table name.

string table = 1;

Returns
Type Description
String

The table.

getTableBytes()

public ByteString getTableBytes()

Table name.

string table = 1;

Returns
Type Description
ByteString

The bytes for table.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MysqlTable other)

public MysqlTable.Builder mergeFrom(MysqlTable other)
Parameter
Name Description
other MysqlTable
Returns
Type Description
MysqlTable.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MysqlTable.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MysqlTable.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MysqlTable.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MysqlTable.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MysqlTable.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MysqlTable.Builder
Overrides

removeMysqlColumns(int index)

public MysqlTable.Builder removeMysqlColumns(int index)

MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2;

Parameter
Name Description
index int
Returns
Type Description
MysqlTable.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public MysqlTable.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MysqlTable.Builder
Overrides

setMysqlColumns(int index, MysqlColumn value)

public MysqlTable.Builder setMysqlColumns(int index, MysqlColumn value)

MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2;

Parameters
Name Description
index int
value MysqlColumn
Returns
Type Description
MysqlTable.Builder

setMysqlColumns(int index, MysqlColumn.Builder builderForValue)

public MysqlTable.Builder setMysqlColumns(int index, MysqlColumn.Builder builderForValue)

MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything.

repeated .google.cloud.datastream.v1.MysqlColumn mysql_columns = 2;

Parameters
Name Description
index int
builderForValue MysqlColumn.Builder
Returns
Type Description
MysqlTable.Builder

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

public MysqlTable.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MysqlTable.Builder
Overrides

setTable(String value)

public MysqlTable.Builder setTable(String value)

Table name.

string table = 1;

Parameter
Name Description
value String

The table to set.

Returns
Type Description
MysqlTable.Builder

This builder for chaining.

setTableBytes(ByteString value)

public MysqlTable.Builder setTableBytes(ByteString value)

Table name.

string table = 1;

Parameter
Name Description
value ByteString

The bytes for table to set.

Returns
Type Description
MysqlTable.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final MysqlTable.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MysqlTable.Builder
Overrides