Class DataChangeRecord.Builder (6.62.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.spanner.executor.v1.DataChangeRecord.ColumnType>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.spanner.executor.v1.DataChangeRecord.Mod>
Returns
TypeDescription
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
NameDescription
valueDataChangeRecord.ColumnType
Returns
TypeDescription
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
NameDescription
builderForValueDataChangeRecord.ColumnType.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDataChangeRecord.ColumnType
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDataChangeRecord.ColumnType.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueDataChangeRecord.Mod
Returns
TypeDescription
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
NameDescription
builderForValueDataChangeRecord.Mod.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDataChangeRecord.Mod
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDataChangeRecord.Mod.Builder
Returns
TypeDescription
DataChangeRecord.Builder

addModsBuilder()

public DataChangeRecord.Mod.Builder addModsBuilder()

Changes made in the transaction.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataChangeRecord build()
Returns
TypeDescription
DataChangeRecord

buildPartial()

public DataChangeRecord buildPartial()
Returns
TypeDescription
DataChangeRecord

clear()

public DataChangeRecord.Builder clear()
Returns
TypeDescription
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
TypeDescription
DataChangeRecord.Builder

clearCommitTime()

public DataChangeRecord.Builder clearCommitTime()

The timestamp in which the change was committed.

.google.protobuf.Timestamp commit_time = 1;

Returns
TypeDescription
DataChangeRecord.Builder

clearField(Descriptors.FieldDescriptor field)

public DataChangeRecord.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DataChangeRecord.Builder

This builder for chaining.

clearIsSystemTransaction()

public DataChangeRecord.Builder clearIsSystemTransaction()

Whether the transaction is a system transactionn.

bool is_system_transaction = 13;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DataChangeRecord.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPartitionCount()

public DataChangeRecord.Builder clearPartitionCount()

Number of partitions in transactions.

int64 partition_count = 11;

Returns
TypeDescription
DataChangeRecord.Builder

This builder for chaining.

clearRecordCount()

public DataChangeRecord.Builder clearRecordCount()

Number of records in transactions.

int64 record_count = 10;

Returns
TypeDescription
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
TypeDescription
DataChangeRecord.Builder

This builder for chaining.

clearTable()

public DataChangeRecord.Builder clearTable()

Name of the table affected by the change.

string table = 5;

Returns
TypeDescription
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
TypeDescription
DataChangeRecord.Builder

This builder for chaining.

clearTransactionTag()

public DataChangeRecord.Builder clearTransactionTag()

Transaction tag info.

string transaction_tag = 12;

Returns
TypeDescription
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
TypeDescription
DataChangeRecord.Builder

This builder for chaining.

clone()

public DataChangeRecord.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getColumnTypesCount()

public int getColumnTypesCount()

Column types defined in the schema.

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

Returns
TypeDescription
int

getColumnTypesList()

public List<DataChangeRecord.ColumnType> getColumnTypesList()

Column types defined in the schema.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Timestamp

The commitTime.

getCommitTimeBuilder()

public Timestamp.Builder getCommitTimeBuilder()

The timestamp in which the change was committed.

.google.protobuf.Timestamp commit_time = 1;

Returns
TypeDescription
Builder

getCommitTimeOrBuilder()

public TimestampOrBuilder getCommitTimeOrBuilder()

The timestamp in which the change was committed.

.google.protobuf.Timestamp commit_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public DataChangeRecord getDefaultInstanceForType()
Returns
TypeDescription
DataChangeRecord

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

The isLastRecord.

getIsSystemTransaction()

public boolean getIsSystemTransaction()

Whether the transaction is a system transactionn.

bool is_system_transaction = 13;

Returns
TypeDescription
boolean

The isSystemTransaction.

getModType()

public String getModType()

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

string mod_type = 8;

Returns
TypeDescription
String

The modType.

getModTypeBytes()

public ByteString getModTypeBytes()

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

string mod_type = 8;

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

getModsCount()

public int getModsCount()

Changes made in the transaction.

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

Returns
TypeDescription
int

getModsList()

public List<DataChangeRecord.Mod> getModsList()

Changes made in the transaction.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DataChangeRecord.ModOrBuilder

getModsOrBuilderList()

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

Changes made in the transaction.

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

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

getPartitionCount()

public long getPartitionCount()

Number of partitions in transactions.

int64 partition_count = 11;

Returns
TypeDescription
long

The partitionCount.

getRecordCount()

public long getRecordCount()

Number of records in transactions.

int64 record_count = 10;

Returns
TypeDescription
long

The recordCount.

getRecordSequence()

public String getRecordSequence()

The sequence number for the record within the transaction.

string record_sequence = 2;

Returns
TypeDescription
String

The recordSequence.

getRecordSequenceBytes()

public ByteString getRecordSequenceBytes()

The sequence number for the record within the transaction.

string record_sequence = 2;

Returns
TypeDescription
ByteString

The bytes for recordSequence.

getTable()

public String getTable()

Name of the table affected by the change.

string table = 5;

Returns
TypeDescription
String

The table.

getTableBytes()

public ByteString getTableBytes()

Name of the table affected by the change.

string table = 5;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for transactionId.

getTransactionTag()

public String getTransactionTag()

Transaction tag info.

string transaction_tag = 12;

Returns
TypeDescription
String

The transactionTag.

getTransactionTagBytes()

public ByteString getTransactionTagBytes()

Transaction tag info.

string transaction_tag = 12;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for valueCaptureType.

hasCommitTime()

public boolean hasCommitTime()

The timestamp in which the change was committed.

.google.protobuf.Timestamp commit_time = 1;

Returns
TypeDescription
boolean

Whether the commitTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
DataChangeRecord.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(DataChangeRecord other)

public DataChangeRecord.Builder mergeFrom(DataChangeRecord other)
Parameter
NameDescription
otherDataChangeRecord
Returns
TypeDescription
DataChangeRecord.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataChangeRecord.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueDataChangeRecord.ColumnType
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDataChangeRecord.ColumnType.Builder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
DataChangeRecord.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The isLastRecord to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The isSystemTransaction to set.

Returns
TypeDescription
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
NameDescription
valueString

The modType to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for modType to set.

Returns
TypeDescription
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
NameDescription
indexint
valueDataChangeRecord.Mod
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDataChangeRecord.Mod.Builder
Returns
TypeDescription
DataChangeRecord.Builder

setPartitionCount(long value)

public DataChangeRecord.Builder setPartitionCount(long value)

Number of partitions in transactions.

int64 partition_count = 11;

Parameter
NameDescription
valuelong

The partitionCount to set.

Returns
TypeDescription
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
NameDescription
valuelong

The recordCount to set.

Returns
TypeDescription
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
NameDescription
valueString

The recordSequence to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for recordSequence to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DataChangeRecord.Builder
Overrides

setTable(String value)

public DataChangeRecord.Builder setTable(String value)

Name of the table affected by the change.

string table = 5;

Parameter
NameDescription
valueString

The table to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for table to set.

Returns
TypeDescription
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
NameDescription
valueString

The transactionId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for transactionId to set.

Returns
TypeDescription
DataChangeRecord.Builder

This builder for chaining.

setTransactionTag(String value)

public DataChangeRecord.Builder setTransactionTag(String value)

Transaction tag info.

string transaction_tag = 12;

Parameter
NameDescription
valueString

The transactionTag to set.

Returns
TypeDescription
DataChangeRecord.Builder

This builder for chaining.

setTransactionTagBytes(ByteString value)

public DataChangeRecord.Builder setTransactionTagBytes(ByteString value)

Transaction tag info.

string transaction_tag = 12;

Parameter
NameDescription
valueByteString

The bytes for transactionTag to set.

Returns
TypeDescription
DataChangeRecord.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DataChangeRecord.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The valueCaptureType to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for valueCaptureType to set.

Returns
TypeDescription
DataChangeRecord.Builder

This builder for chaining.