Class DataChangeRecord.Builder (6.72.0)

public static final class DataChangeRecord.Builder extends GeneratedMessageV3.Builder<DataChangeRecord.Builder> implements DataChangeRecordOrBuilder

ChangeStream data change record.

Protobuf type google.spanner.executor.v1.DataChangeRecord

Static Methods

getDescriptor()

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

Methods

addAllColumnTypes(Iterable<? extends DataChangeRecord.ColumnType> values)

public DataChangeRecord.Builder addAllColumnTypes(Iterable<? extends DataChangeRecord.ColumnType> values)

Column types defined in the schema.

repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;

Parameter
Name Description
values Iterable<? extends com.google.spanner.executor.v1.DataChangeRecord.ColumnType>
Returns
Type Description
DataChangeRecord.Builder

addAllMods(Iterable<? extends DataChangeRecord.Mod> values)

public DataChangeRecord.Builder addAllMods(Iterable<? extends DataChangeRecord.Mod> values)

Changes made in the transaction.

repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;

Parameter
Name Description
values Iterable<? extends com.google.spanner.executor.v1.DataChangeRecord.Mod>
Returns
Type Description
DataChangeRecord.Builder

addColumnTypes(DataChangeRecord.ColumnType value)

public DataChangeRecord.Builder addColumnTypes(DataChangeRecord.ColumnType value)

Column types defined in the schema.

repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;

Parameter
Name Description
value DataChangeRecord.ColumnType
Returns
Type Description
DataChangeRecord.Builder

addColumnTypes(DataChangeRecord.ColumnType.Builder builderForValue)

public DataChangeRecord.Builder addColumnTypes(DataChangeRecord.ColumnType.Builder builderForValue)

Column types defined in the schema.

repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;

Parameter
Name Description
builderForValue DataChangeRecord.ColumnType.Builder
Returns
Type Description
DataChangeRecord.Builder

addColumnTypes(int index, DataChangeRecord.ColumnType value)

public DataChangeRecord.Builder addColumnTypes(int index, DataChangeRecord.ColumnType value)

Column types defined in the schema.

repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;

Parameters
Name Description
index int
value DataChangeRecord.ColumnType
Returns
Type Description
DataChangeRecord.Builder

addColumnTypes(int index, DataChangeRecord.ColumnType.Builder builderForValue)

public DataChangeRecord.Builder addColumnTypes(int index, DataChangeRecord.ColumnType.Builder builderForValue)

Column types defined in the schema.

repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;

Parameters
Name Description
index int
builderForValue DataChangeRecord.ColumnType.Builder
Returns
Type Description
DataChangeRecord.Builder

addColumnTypesBuilder()

public DataChangeRecord.ColumnType.Builder addColumnTypesBuilder()

Column types defined in the schema.

repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;

Returns
Type Description
DataChangeRecord.ColumnType.Builder

addColumnTypesBuilder(int index)

public DataChangeRecord.ColumnType.Builder addColumnTypesBuilder(int index)

Column types defined in the schema.

repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;

Parameter
Name Description
index int
Returns
Type Description
DataChangeRecord.ColumnType.Builder

addMods(DataChangeRecord.Mod value)

public DataChangeRecord.Builder addMods(DataChangeRecord.Mod value)

Changes made in the transaction.

repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;

Parameter
Name Description
value DataChangeRecord.Mod
Returns
Type Description
DataChangeRecord.Builder

addMods(DataChangeRecord.Mod.Builder builderForValue)

public DataChangeRecord.Builder addMods(DataChangeRecord.Mod.Builder builderForValue)

Changes made in the transaction.

repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;

Parameter
Name Description
builderForValue DataChangeRecord.Mod.Builder
Returns
Type Description
DataChangeRecord.Builder

addMods(int index, DataChangeRecord.Mod value)

public DataChangeRecord.Builder addMods(int index, DataChangeRecord.Mod value)

Changes made in the transaction.

repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;

Parameters
Name Description
index int
value DataChangeRecord.Mod
Returns
Type Description
DataChangeRecord.Builder

addMods(int index, DataChangeRecord.Mod.Builder builderForValue)

public DataChangeRecord.Builder addMods(int index, DataChangeRecord.Mod.Builder builderForValue)

Changes made in the transaction.

repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;

Parameters
Name Description
index int
builderForValue DataChangeRecord.Mod.Builder
Returns
Type Description
DataChangeRecord.Builder

addModsBuilder()

public DataChangeRecord.Mod.Builder addModsBuilder()

Changes made in the transaction.

repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;

Returns
Type Description
DataChangeRecord.Mod.Builder

addModsBuilder(int index)

public DataChangeRecord.Mod.Builder addModsBuilder(int index)

Changes made in the transaction.

repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;

Parameter
Name Description
index int
Returns
Type Description
DataChangeRecord.Mod.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataChangeRecord build()
Returns
Type Description
DataChangeRecord

buildPartial()

public DataChangeRecord buildPartial()
Returns
Type Description
DataChangeRecord

clear()

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

clearColumnTypes()

public DataChangeRecord.Builder clearColumnTypes()

Column types defined in the schema.

repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;

Returns
Type Description
DataChangeRecord.Builder

clearCommitTime()

public DataChangeRecord.Builder clearCommitTime()

The timestamp in which the change was committed.

.google.protobuf.Timestamp commit_time = 1;

Returns
Type Description
DataChangeRecord.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearIsLastRecord()

public DataChangeRecord.Builder clearIsLastRecord()

Indicates whether this is the last record for a transaction in the current partition.

bool is_last_record = 4;

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

clearIsSystemTransaction()

public DataChangeRecord.Builder clearIsSystemTransaction()

Whether the transaction is a system transactionn.

bool is_system_transaction = 13;

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

clearModType()

public DataChangeRecord.Builder clearModType()

Describes the type of change. One of INSERT, UPDATE or DELETE.

string mod_type = 8;

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

clearMods()

public DataChangeRecord.Builder clearMods()

Changes made in the transaction.

repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;

Returns
Type Description
DataChangeRecord.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPartitionCount()

public DataChangeRecord.Builder clearPartitionCount()

Number of partitions in transactions.

int64 partition_count = 11;

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

clearRecordCount()

public DataChangeRecord.Builder clearRecordCount()

Number of records in transactions.

int64 record_count = 10;

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

clearRecordSequence()

public DataChangeRecord.Builder clearRecordSequence()

The sequence number for the record within the transaction.

string record_sequence = 2;

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

clearTable()

public DataChangeRecord.Builder clearTable()

Name of the table affected by the change.

string table = 5;

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

clearTransactionId()

public DataChangeRecord.Builder clearTransactionId()

A globally unique string that represents the transaction in which the change was committed.

string transaction_id = 3;

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

clearTransactionTag()

public DataChangeRecord.Builder clearTransactionTag()

Transaction tag info.

string transaction_tag = 12;

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

clearValueCaptureType()

public DataChangeRecord.Builder clearValueCaptureType()

One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.

string value_capture_type = 9;

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

clone()

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

getColumnTypes(int index)

public DataChangeRecord.ColumnType getColumnTypes(int index)

Column types defined in the schema.

repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;

Parameter
Name Description
index int
Returns
Type Description
DataChangeRecord.ColumnType

getColumnTypesBuilder(int index)

public DataChangeRecord.ColumnType.Builder getColumnTypesBuilder(int index)

Column types defined in the schema.

repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;

Parameter
Name Description
index int
Returns
Type Description
DataChangeRecord.ColumnType.Builder

getColumnTypesBuilderList()

public List<DataChangeRecord.ColumnType.Builder> getColumnTypesBuilderList()

Column types defined in the schema.

repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;

Returns
Type Description
List<Builder>

getColumnTypesCount()

public int getColumnTypesCount()

Column types defined in the schema.

repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;

Returns
Type Description
int

getColumnTypesList()

public List<DataChangeRecord.ColumnType> getColumnTypesList()

Column types defined in the schema.

repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;

Returns
Type Description
List<ColumnType>

getColumnTypesOrBuilder(int index)

public DataChangeRecord.ColumnTypeOrBuilder getColumnTypesOrBuilder(int index)

Column types defined in the schema.

repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;

Parameter
Name Description
index int
Returns
Type Description
DataChangeRecord.ColumnTypeOrBuilder

getColumnTypesOrBuilderList()

public List<? extends DataChangeRecord.ColumnTypeOrBuilder> getColumnTypesOrBuilderList()

Column types defined in the schema.

repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;

Returns
Type Description
List<? extends com.google.spanner.executor.v1.DataChangeRecord.ColumnTypeOrBuilder>

getCommitTime()

public Timestamp getCommitTime()

The timestamp in which the change was committed.

.google.protobuf.Timestamp commit_time = 1;

Returns
Type Description
Timestamp

The commitTime.

getCommitTimeBuilder()

public Timestamp.Builder getCommitTimeBuilder()

The timestamp in which the change was committed.

.google.protobuf.Timestamp commit_time = 1;

Returns
Type Description
Builder

getCommitTimeOrBuilder()

public TimestampOrBuilder getCommitTimeOrBuilder()

The timestamp in which the change was committed.

.google.protobuf.Timestamp commit_time = 1;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public DataChangeRecord getDefaultInstanceForType()
Returns
Type Description
DataChangeRecord

getDescriptorForType()

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

getIsLastRecord()

public boolean getIsLastRecord()

Indicates whether this is the last record for a transaction in the current partition.

bool is_last_record = 4;

Returns
Type Description
boolean

The isLastRecord.

getIsSystemTransaction()

public boolean getIsSystemTransaction()

Whether the transaction is a system transactionn.

bool is_system_transaction = 13;

Returns
Type Description
boolean

The isSystemTransaction.

getModType()

public String getModType()

Describes the type of change. One of INSERT, UPDATE or DELETE.

string mod_type = 8;

Returns
Type Description
String

The modType.

getModTypeBytes()

public ByteString getModTypeBytes()

Describes the type of change. One of INSERT, UPDATE or DELETE.

string mod_type = 8;

Returns
Type Description
ByteString

The bytes for modType.

getMods(int index)

public DataChangeRecord.Mod getMods(int index)

Changes made in the transaction.

repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;

Parameter
Name Description
index int
Returns
Type Description
DataChangeRecord.Mod

getModsBuilder(int index)

public DataChangeRecord.Mod.Builder getModsBuilder(int index)

Changes made in the transaction.

repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;

Parameter
Name Description
index int
Returns
Type Description
DataChangeRecord.Mod.Builder

getModsBuilderList()

public List<DataChangeRecord.Mod.Builder> getModsBuilderList()

Changes made in the transaction.

repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;

Returns
Type Description
List<Builder>

getModsCount()

public int getModsCount()

Changes made in the transaction.

repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;

Returns
Type Description
int

getModsList()

public List<DataChangeRecord.Mod> getModsList()

Changes made in the transaction.

repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;

Returns
Type Description
List<Mod>

getModsOrBuilder(int index)

public DataChangeRecord.ModOrBuilder getModsOrBuilder(int index)

Changes made in the transaction.

repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;

Parameter
Name Description
index int
Returns
Type Description
DataChangeRecord.ModOrBuilder

getModsOrBuilderList()

public List<? extends DataChangeRecord.ModOrBuilder> getModsOrBuilderList()

Changes made in the transaction.

repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;

Returns
Type Description
List<? extends com.google.spanner.executor.v1.DataChangeRecord.ModOrBuilder>

getPartitionCount()

public long getPartitionCount()

Number of partitions in transactions.

int64 partition_count = 11;

Returns
Type Description
long

The partitionCount.

getRecordCount()

public long getRecordCount()

Number of records in transactions.

int64 record_count = 10;

Returns
Type Description
long

The recordCount.

getRecordSequence()

public String getRecordSequence()

The sequence number for the record within the transaction.

string record_sequence = 2;

Returns
Type Description
String

The recordSequence.

getRecordSequenceBytes()

public ByteString getRecordSequenceBytes()

The sequence number for the record within the transaction.

string record_sequence = 2;

Returns
Type Description
ByteString

The bytes for recordSequence.

getTable()

public String getTable()

Name of the table affected by the change.

string table = 5;

Returns
Type Description
String

The table.

getTableBytes()

public ByteString getTableBytes()

Name of the table affected by the change.

string table = 5;

Returns
Type Description
ByteString

The bytes for table.

getTransactionId()

public String getTransactionId()

A globally unique string that represents the transaction in which the change was committed.

string transaction_id = 3;

Returns
Type Description
String

The transactionId.

getTransactionIdBytes()

public ByteString getTransactionIdBytes()

A globally unique string that represents the transaction in which the change was committed.

string transaction_id = 3;

Returns
Type Description
ByteString

The bytes for transactionId.

getTransactionTag()

public String getTransactionTag()

Transaction tag info.

string transaction_tag = 12;

Returns
Type Description
String

The transactionTag.

getTransactionTagBytes()

public ByteString getTransactionTagBytes()

Transaction tag info.

string transaction_tag = 12;

Returns
Type Description
ByteString

The bytes for transactionTag.

getValueCaptureType()

public String getValueCaptureType()

One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.

string value_capture_type = 9;

Returns
Type Description
String

The valueCaptureType.

getValueCaptureTypeBytes()

public ByteString getValueCaptureTypeBytes()

One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.

string value_capture_type = 9;

Returns
Type Description
ByteString

The bytes for valueCaptureType.

hasCommitTime()

public boolean hasCommitTime()

The timestamp in which the change was committed.

.google.protobuf.Timestamp commit_time = 1;

Returns
Type Description
boolean

Whether the commitTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCommitTime(Timestamp value)

public DataChangeRecord.Builder mergeCommitTime(Timestamp value)

The timestamp in which the change was committed.

.google.protobuf.Timestamp commit_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
DataChangeRecord.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(DataChangeRecord other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeColumnTypes(int index)

public DataChangeRecord.Builder removeColumnTypes(int index)

Column types defined in the schema.

repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;

Parameter
Name Description
index int
Returns
Type Description
DataChangeRecord.Builder

removeMods(int index)

public DataChangeRecord.Builder removeMods(int index)

Changes made in the transaction.

repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;

Parameter
Name Description
index int
Returns
Type Description
DataChangeRecord.Builder

setColumnTypes(int index, DataChangeRecord.ColumnType value)

public DataChangeRecord.Builder setColumnTypes(int index, DataChangeRecord.ColumnType value)

Column types defined in the schema.

repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;

Parameters
Name Description
index int
value DataChangeRecord.ColumnType
Returns
Type Description
DataChangeRecord.Builder

setColumnTypes(int index, DataChangeRecord.ColumnType.Builder builderForValue)

public DataChangeRecord.Builder setColumnTypes(int index, DataChangeRecord.ColumnType.Builder builderForValue)

Column types defined in the schema.

repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;

Parameters
Name Description
index int
builderForValue DataChangeRecord.ColumnType.Builder
Returns
Type Description
DataChangeRecord.Builder

setCommitTime(Timestamp value)

public DataChangeRecord.Builder setCommitTime(Timestamp value)

The timestamp in which the change was committed.

.google.protobuf.Timestamp commit_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
DataChangeRecord.Builder

setCommitTime(Timestamp.Builder builderForValue)

public DataChangeRecord.Builder setCommitTime(Timestamp.Builder builderForValue)

The timestamp in which the change was committed.

.google.protobuf.Timestamp commit_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DataChangeRecord.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setIsLastRecord(boolean value)

public DataChangeRecord.Builder setIsLastRecord(boolean value)

Indicates whether this is the last record for a transaction in the current partition.

bool is_last_record = 4;

Parameter
Name Description
value boolean

The isLastRecord to set.

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

setIsSystemTransaction(boolean value)

public DataChangeRecord.Builder setIsSystemTransaction(boolean value)

Whether the transaction is a system transactionn.

bool is_system_transaction = 13;

Parameter
Name Description
value boolean

The isSystemTransaction to set.

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

setModType(String value)

public DataChangeRecord.Builder setModType(String value)

Describes the type of change. One of INSERT, UPDATE or DELETE.

string mod_type = 8;

Parameter
Name Description
value String

The modType to set.

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

setModTypeBytes(ByteString value)

public DataChangeRecord.Builder setModTypeBytes(ByteString value)

Describes the type of change. One of INSERT, UPDATE or DELETE.

string mod_type = 8;

Parameter
Name Description
value ByteString

The bytes for modType to set.

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

setMods(int index, DataChangeRecord.Mod value)

public DataChangeRecord.Builder setMods(int index, DataChangeRecord.Mod value)

Changes made in the transaction.

repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;

Parameters
Name Description
index int
value DataChangeRecord.Mod
Returns
Type Description
DataChangeRecord.Builder

setMods(int index, DataChangeRecord.Mod.Builder builderForValue)

public DataChangeRecord.Builder setMods(int index, DataChangeRecord.Mod.Builder builderForValue)

Changes made in the transaction.

repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;

Parameters
Name Description
index int
builderForValue DataChangeRecord.Mod.Builder
Returns
Type Description
DataChangeRecord.Builder

setPartitionCount(long value)

public DataChangeRecord.Builder setPartitionCount(long value)

Number of partitions in transactions.

int64 partition_count = 11;

Parameter
Name Description
value long

The partitionCount to set.

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

setRecordCount(long value)

public DataChangeRecord.Builder setRecordCount(long value)

Number of records in transactions.

int64 record_count = 10;

Parameter
Name Description
value long

The recordCount to set.

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

setRecordSequence(String value)

public DataChangeRecord.Builder setRecordSequence(String value)

The sequence number for the record within the transaction.

string record_sequence = 2;

Parameter
Name Description
value String

The recordSequence to set.

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

setRecordSequenceBytes(ByteString value)

public DataChangeRecord.Builder setRecordSequenceBytes(ByteString value)

The sequence number for the record within the transaction.

string record_sequence = 2;

Parameter
Name Description
value ByteString

The bytes for recordSequence to set.

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

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

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

setTable(String value)

public DataChangeRecord.Builder setTable(String value)

Name of the table affected by the change.

string table = 5;

Parameter
Name Description
value String

The table to set.

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

setTableBytes(ByteString value)

public DataChangeRecord.Builder setTableBytes(ByteString value)

Name of the table affected by the change.

string table = 5;

Parameter
Name Description
value ByteString

The bytes for table to set.

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

setTransactionId(String value)

public DataChangeRecord.Builder setTransactionId(String value)

A globally unique string that represents the transaction in which the change was committed.

string transaction_id = 3;

Parameter
Name Description
value String

The transactionId to set.

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

setTransactionIdBytes(ByteString value)

public DataChangeRecord.Builder setTransactionIdBytes(ByteString value)

A globally unique string that represents the transaction in which the change was committed.

string transaction_id = 3;

Parameter
Name Description
value ByteString

The bytes for transactionId to set.

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

setTransactionTag(String value)

public DataChangeRecord.Builder setTransactionTag(String value)

Transaction tag info.

string transaction_tag = 12;

Parameter
Name Description
value String

The transactionTag to set.

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

setTransactionTagBytes(ByteString value)

public DataChangeRecord.Builder setTransactionTagBytes(ByteString value)

Transaction tag info.

string transaction_tag = 12;

Parameter
Name Description
value ByteString

The bytes for transactionTag to set.

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setValueCaptureType(String value)

public DataChangeRecord.Builder setValueCaptureType(String value)

One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.

string value_capture_type = 9;

Parameter
Name Description
value String

The valueCaptureType to set.

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.

setValueCaptureTypeBytes(ByteString value)

public DataChangeRecord.Builder setValueCaptureTypeBytes(ByteString value)

One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.

string value_capture_type = 9;

Parameter
Name Description
value ByteString

The bytes for valueCaptureType to set.

Returns
Type Description
DataChangeRecord.Builder

This builder for chaining.