Class MysqlTable.Builder (1.32.0)

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

MySQL table.

Protobuf type google.cloud.datastream.v1alpha1.MysqlTable

Implements

MysqlTableOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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 lists, includes/excludes everything.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.datastream.v1alpha1.MysqlColumn>
Returns
TypeDescription
MysqlTable.Builder

addMysqlColumns(MysqlColumn value)

public MysqlTable.Builder addMysqlColumns(MysqlColumn value)

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

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

Parameter
NameDescription
valueMysqlColumn
Returns
TypeDescription
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 lists, includes/excludes everything.

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

Parameter
NameDescription
builderForValueMysqlColumn.Builder
Returns
TypeDescription
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 lists, includes/excludes everything.

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

Parameters
NameDescription
indexint
valueMysqlColumn
Returns
TypeDescription
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 lists, includes/excludes everything.

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

Parameters
NameDescription
indexint
builderForValueMysqlColumn.Builder
Returns
TypeDescription
MysqlTable.Builder

addMysqlColumnsBuilder()

public MysqlColumn.Builder addMysqlColumnsBuilder()

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

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

Returns
TypeDescription
MysqlColumn.Builder

addMysqlColumnsBuilder(int index)

public MysqlColumn.Builder addMysqlColumnsBuilder(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MysqlColumn.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MysqlTable build()
Returns
TypeDescription
MysqlTable

buildPartial()

public MysqlTable buildPartial()
Returns
TypeDescription
MysqlTable

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMysqlColumns()

public MysqlTable.Builder clearMysqlColumns()

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

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

Returns
TypeDescription
MysqlTable.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTableName()

public MysqlTable.Builder clearTableName()

Table name.

string table_name = 1;

Returns
TypeDescription
MysqlTable.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public MysqlTable getDefaultInstanceForType()
Returns
TypeDescription
MysqlTable

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMysqlColumns(int index)

public MysqlColumn getMysqlColumns(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MysqlColumn

getMysqlColumnsBuilder(int index)

public MysqlColumn.Builder getMysqlColumnsBuilder(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MysqlColumn.Builder

getMysqlColumnsBuilderList()

public List<MysqlColumn.Builder> getMysqlColumnsBuilderList()

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

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

Returns
TypeDescription
List<Builder>

getMysqlColumnsCount()

public int getMysqlColumnsCount()

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

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

Returns
TypeDescription
int

getMysqlColumnsList()

public List<MysqlColumn> getMysqlColumnsList()

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

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

Returns
TypeDescription
List<MysqlColumn>

getMysqlColumnsOrBuilder(int index)

public MysqlColumnOrBuilder getMysqlColumnsOrBuilder(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MysqlColumnOrBuilder

getMysqlColumnsOrBuilderList()

public List<? extends MysqlColumnOrBuilder> getMysqlColumnsOrBuilderList()

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

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

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

getTableName()

public String getTableName()

Table name.

string table_name = 1;

Returns
TypeDescription
String

The tableName.

getTableNameBytes()

public ByteString getTableNameBytes()

Table name.

string table_name = 1;

Returns
TypeDescription
ByteString

The bytes for tableName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MysqlTable other)

public MysqlTable.Builder mergeFrom(MysqlTable other)
Parameter
NameDescription
otherMysqlTable
Returns
TypeDescription
MysqlTable.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeMysqlColumns(int index)

public MysqlTable.Builder removeMysqlColumns(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MysqlTable.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public MysqlTable.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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 lists, includes/excludes everything.

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

Parameters
NameDescription
indexint
valueMysqlColumn
Returns
TypeDescription
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 lists, includes/excludes everything.

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

Parameters
NameDescription
indexint
builderForValueMysqlColumn.Builder
Returns
TypeDescription
MysqlTable.Builder

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

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

setTableName(String value)

public MysqlTable.Builder setTableName(String value)

Table name.

string table_name = 1;

Parameter
NameDescription
valueString

The tableName to set.

Returns
TypeDescription
MysqlTable.Builder

This builder for chaining.

setTableNameBytes(ByteString value)

public MysqlTable.Builder setTableNameBytes(ByteString value)

Table name.

string table_name = 1;

Parameter
NameDescription
valueByteString

The bytes for tableName to set.

Returns
TypeDescription
MysqlTable.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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