public static final class BinlogOuterClass.TableMutation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BinlogOuterClass.TableMutation.Builder> implements BinlogOuterClass.TableMutationOrBuilder
TableMutation contains mutations in a table.Protobuf type
binlog.TableMutation| Modifier and Type | Method and Description |
|---|---|
BinlogOuterClass.TableMutation.Builder |
addAllDeletedIds(Iterable<? extends Long> values)
Obsolete field.
|
BinlogOuterClass.TableMutation.Builder |
addAllDeletedPks(Iterable<? extends com.google.protobuf.ByteString> values)
Obsolete field.
|
BinlogOuterClass.TableMutation.Builder |
addAllDeletedRows(Iterable<? extends com.google.protobuf.ByteString> values)
The row value of the deleted row.
|
BinlogOuterClass.TableMutation.Builder |
addAllInsertedRows(Iterable<? extends com.google.protobuf.ByteString> values)
The inserted row contains all column values.
|
BinlogOuterClass.TableMutation.Builder |
addAllSequence(Iterable<? extends BinlogOuterClass.MutationType> values)
Used to apply table mutations in original sequence.
|
BinlogOuterClass.TableMutation.Builder |
addAllUpdatedRows(Iterable<? extends com.google.protobuf.ByteString> values)
The updated row contains old values and new values of the row.
|
BinlogOuterClass.TableMutation.Builder |
addDeletedIds(long value)
Obsolete field.
|
BinlogOuterClass.TableMutation.Builder |
addDeletedPks(com.google.protobuf.ByteString value)
Obsolete field.
|
BinlogOuterClass.TableMutation.Builder |
addDeletedRows(com.google.protobuf.ByteString value)
The row value of the deleted row.
|
BinlogOuterClass.TableMutation.Builder |
addInsertedRows(com.google.protobuf.ByteString value)
The inserted row contains all column values.
|
BinlogOuterClass.TableMutation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BinlogOuterClass.TableMutation.Builder |
addSequence(BinlogOuterClass.MutationType value)
Used to apply table mutations in original sequence.
|
BinlogOuterClass.TableMutation.Builder |
addUpdatedRows(com.google.protobuf.ByteString value)
The updated row contains old values and new values of the row.
|
BinlogOuterClass.TableMutation |
build() |
BinlogOuterClass.TableMutation |
buildPartial() |
BinlogOuterClass.TableMutation.Builder |
clear() |
BinlogOuterClass.TableMutation.Builder |
clearDeletedIds()
Obsolete field.
|
BinlogOuterClass.TableMutation.Builder |
clearDeletedPks()
Obsolete field.
|
BinlogOuterClass.TableMutation.Builder |
clearDeletedRows()
The row value of the deleted row.
|
BinlogOuterClass.TableMutation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BinlogOuterClass.TableMutation.Builder |
clearInsertedRows()
The inserted row contains all column values.
|
BinlogOuterClass.TableMutation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BinlogOuterClass.TableMutation.Builder |
clearSequence()
Used to apply table mutations in original sequence.
|
BinlogOuterClass.TableMutation.Builder |
clearTableId()
optional int64 table_id = 1 [(.gogoproto.nullable) = false]; |
BinlogOuterClass.TableMutation.Builder |
clearUpdatedRows()
The updated row contains old values and new values of the row.
|
BinlogOuterClass.TableMutation.Builder |
clone() |
BinlogOuterClass.TableMutation |
getDefaultInstanceForType() |
long |
getDeletedIds(int index)
Obsolete field.
|
int |
getDeletedIdsCount()
Obsolete field.
|
List<Long> |
getDeletedIdsList()
Obsolete field.
|
com.google.protobuf.ByteString |
getDeletedPks(int index)
Obsolete field.
|
int |
getDeletedPksCount()
Obsolete field.
|
List<com.google.protobuf.ByteString> |
getDeletedPksList()
Obsolete field.
|
com.google.protobuf.ByteString |
getDeletedRows(int index)
The row value of the deleted row.
|
int |
getDeletedRowsCount()
The row value of the deleted row.
|
List<com.google.protobuf.ByteString> |
getDeletedRowsList()
The row value of the deleted row.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getInsertedRows(int index)
The inserted row contains all column values.
|
int |
getInsertedRowsCount()
The inserted row contains all column values.
|
List<com.google.protobuf.ByteString> |
getInsertedRowsList()
The inserted row contains all column values.
|
BinlogOuterClass.MutationType |
getSequence(int index)
Used to apply table mutations in original sequence.
|
int |
getSequenceCount()
Used to apply table mutations in original sequence.
|
List<BinlogOuterClass.MutationType> |
getSequenceList()
Used to apply table mutations in original sequence.
|
long |
getTableId()
optional int64 table_id = 1 [(.gogoproto.nullable) = false]; |
com.google.protobuf.ByteString |
getUpdatedRows(int index)
The updated row contains old values and new values of the row.
|
int |
getUpdatedRowsCount()
The updated row contains old values and new values of the row.
|
List<com.google.protobuf.ByteString> |
getUpdatedRowsList()
The updated row contains old values and new values of the row.
|
boolean |
hasTableId()
optional int64 table_id = 1 [(.gogoproto.nullable) = false]; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BinlogOuterClass.TableMutation.Builder |
mergeFrom(BinlogOuterClass.TableMutation other) |
BinlogOuterClass.TableMutation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BinlogOuterClass.TableMutation.Builder |
mergeFrom(com.google.protobuf.Message other) |
BinlogOuterClass.TableMutation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BinlogOuterClass.TableMutation.Builder |
setDeletedIds(int index,
long value)
Obsolete field.
|
BinlogOuterClass.TableMutation.Builder |
setDeletedPks(int index,
com.google.protobuf.ByteString value)
Obsolete field.
|
BinlogOuterClass.TableMutation.Builder |
setDeletedRows(int index,
com.google.protobuf.ByteString value)
The row value of the deleted row.
|
BinlogOuterClass.TableMutation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BinlogOuterClass.TableMutation.Builder |
setInsertedRows(int index,
com.google.protobuf.ByteString value)
The inserted row contains all column values.
|
BinlogOuterClass.TableMutation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BinlogOuterClass.TableMutation.Builder |
setSequence(int index,
BinlogOuterClass.MutationType value)
Used to apply table mutations in original sequence.
|
BinlogOuterClass.TableMutation.Builder |
setTableId(long value)
optional int64 table_id = 1 [(.gogoproto.nullable) = false]; |
BinlogOuterClass.TableMutation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BinlogOuterClass.TableMutation.Builder |
setUpdatedRows(int index,
com.google.protobuf.ByteString value)
The updated row contains old values and new values of the row.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BinlogOuterClass.TableMutation.Builder>public BinlogOuterClass.TableMutation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BinlogOuterClass.TableMutation.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BinlogOuterClass.TableMutation.Builder>public BinlogOuterClass.TableMutation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BinlogOuterClass.TableMutation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BinlogOuterClass.TableMutation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BinlogOuterClass.TableMutation.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BinlogOuterClass.TableMutation.Builder>public BinlogOuterClass.TableMutation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BinlogOuterClass.TableMutation.Builder>public BinlogOuterClass.TableMutation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BinlogOuterClass.TableMutation.Builder>public BinlogOuterClass.TableMutation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BinlogOuterClass.TableMutation.Builder>public BinlogOuterClass.TableMutation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BinlogOuterClass.TableMutation.Builder>public BinlogOuterClass.TableMutation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BinlogOuterClass.TableMutation.Builder>public BinlogOuterClass.TableMutation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BinlogOuterClass.TableMutation.Builder>public BinlogOuterClass.TableMutation.Builder mergeFrom(BinlogOuterClass.TableMutation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BinlogOuterClass.TableMutation.Builder>public BinlogOuterClass.TableMutation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BinlogOuterClass.TableMutation.Builder>IOExceptionpublic boolean hasTableId()
optional int64 table_id = 1 [(.gogoproto.nullable) = false];hasTableId in interface BinlogOuterClass.TableMutationOrBuilderpublic long getTableId()
optional int64 table_id = 1 [(.gogoproto.nullable) = false];getTableId in interface BinlogOuterClass.TableMutationOrBuilderpublic BinlogOuterClass.TableMutation.Builder setTableId(long value)
optional int64 table_id = 1 [(.gogoproto.nullable) = false];value - The tableId to set.public BinlogOuterClass.TableMutation.Builder clearTableId()
optional int64 table_id = 1 [(.gogoproto.nullable) = false];public List<com.google.protobuf.ByteString> getInsertedRowsList()
The inserted row contains all column values.
repeated bytes inserted_rows = 2;getInsertedRowsList in interface BinlogOuterClass.TableMutationOrBuilderpublic int getInsertedRowsCount()
The inserted row contains all column values.
repeated bytes inserted_rows = 2;getInsertedRowsCount in interface BinlogOuterClass.TableMutationOrBuilderpublic com.google.protobuf.ByteString getInsertedRows(int index)
The inserted row contains all column values.
repeated bytes inserted_rows = 2;getInsertedRows in interface BinlogOuterClass.TableMutationOrBuilderindex - The index of the element to return.public BinlogOuterClass.TableMutation.Builder setInsertedRows(int index, com.google.protobuf.ByteString value)
The inserted row contains all column values.
repeated bytes inserted_rows = 2;index - The index to set the value at.value - The insertedRows to set.public BinlogOuterClass.TableMutation.Builder addInsertedRows(com.google.protobuf.ByteString value)
The inserted row contains all column values.
repeated bytes inserted_rows = 2;value - The insertedRows to add.public BinlogOuterClass.TableMutation.Builder addAllInsertedRows(Iterable<? extends com.google.protobuf.ByteString> values)
The inserted row contains all column values.
repeated bytes inserted_rows = 2;values - The insertedRows to add.public BinlogOuterClass.TableMutation.Builder clearInsertedRows()
The inserted row contains all column values.
repeated bytes inserted_rows = 2;public List<com.google.protobuf.ByteString> getUpdatedRowsList()
The updated row contains old values and new values of the row.
repeated bytes updated_rows = 3;getUpdatedRowsList in interface BinlogOuterClass.TableMutationOrBuilderpublic int getUpdatedRowsCount()
The updated row contains old values and new values of the row.
repeated bytes updated_rows = 3;getUpdatedRowsCount in interface BinlogOuterClass.TableMutationOrBuilderpublic com.google.protobuf.ByteString getUpdatedRows(int index)
The updated row contains old values and new values of the row.
repeated bytes updated_rows = 3;getUpdatedRows in interface BinlogOuterClass.TableMutationOrBuilderindex - The index of the element to return.public BinlogOuterClass.TableMutation.Builder setUpdatedRows(int index, com.google.protobuf.ByteString value)
The updated row contains old values and new values of the row.
repeated bytes updated_rows = 3;index - The index to set the value at.value - The updatedRows to set.public BinlogOuterClass.TableMutation.Builder addUpdatedRows(com.google.protobuf.ByteString value)
The updated row contains old values and new values of the row.
repeated bytes updated_rows = 3;value - The updatedRows to add.public BinlogOuterClass.TableMutation.Builder addAllUpdatedRows(Iterable<? extends com.google.protobuf.ByteString> values)
The updated row contains old values and new values of the row.
repeated bytes updated_rows = 3;values - The updatedRows to add.public BinlogOuterClass.TableMutation.Builder clearUpdatedRows()
The updated row contains old values and new values of the row.
repeated bytes updated_rows = 3;public List<Long> getDeletedIdsList()
Obsolete field.
repeated int64 deleted_ids = 4;getDeletedIdsList in interface BinlogOuterClass.TableMutationOrBuilderpublic int getDeletedIdsCount()
Obsolete field.
repeated int64 deleted_ids = 4;getDeletedIdsCount in interface BinlogOuterClass.TableMutationOrBuilderpublic long getDeletedIds(int index)
Obsolete field.
repeated int64 deleted_ids = 4;getDeletedIds in interface BinlogOuterClass.TableMutationOrBuilderindex - The index of the element to return.public BinlogOuterClass.TableMutation.Builder setDeletedIds(int index, long value)
Obsolete field.
repeated int64 deleted_ids = 4;index - The index to set the value at.value - The deletedIds to set.public BinlogOuterClass.TableMutation.Builder addDeletedIds(long value)
Obsolete field.
repeated int64 deleted_ids = 4;value - The deletedIds to add.public BinlogOuterClass.TableMutation.Builder addAllDeletedIds(Iterable<? extends Long> values)
Obsolete field.
repeated int64 deleted_ids = 4;values - The deletedIds to add.public BinlogOuterClass.TableMutation.Builder clearDeletedIds()
Obsolete field.
repeated int64 deleted_ids = 4;public List<com.google.protobuf.ByteString> getDeletedPksList()
Obsolete field.
repeated bytes deleted_pks = 5;getDeletedPksList in interface BinlogOuterClass.TableMutationOrBuilderpublic int getDeletedPksCount()
Obsolete field.
repeated bytes deleted_pks = 5;getDeletedPksCount in interface BinlogOuterClass.TableMutationOrBuilderpublic com.google.protobuf.ByteString getDeletedPks(int index)
Obsolete field.
repeated bytes deleted_pks = 5;getDeletedPks in interface BinlogOuterClass.TableMutationOrBuilderindex - The index of the element to return.public BinlogOuterClass.TableMutation.Builder setDeletedPks(int index, com.google.protobuf.ByteString value)
Obsolete field.
repeated bytes deleted_pks = 5;index - The index to set the value at.value - The deletedPks to set.public BinlogOuterClass.TableMutation.Builder addDeletedPks(com.google.protobuf.ByteString value)
Obsolete field.
repeated bytes deleted_pks = 5;value - The deletedPks to add.public BinlogOuterClass.TableMutation.Builder addAllDeletedPks(Iterable<? extends com.google.protobuf.ByteString> values)
Obsolete field.
repeated bytes deleted_pks = 5;values - The deletedPks to add.public BinlogOuterClass.TableMutation.Builder clearDeletedPks()
Obsolete field.
repeated bytes deleted_pks = 5;public List<com.google.protobuf.ByteString> getDeletedRowsList()
The row value of the deleted row.
repeated bytes deleted_rows = 6;getDeletedRowsList in interface BinlogOuterClass.TableMutationOrBuilderpublic int getDeletedRowsCount()
The row value of the deleted row.
repeated bytes deleted_rows = 6;getDeletedRowsCount in interface BinlogOuterClass.TableMutationOrBuilderpublic com.google.protobuf.ByteString getDeletedRows(int index)
The row value of the deleted row.
repeated bytes deleted_rows = 6;getDeletedRows in interface BinlogOuterClass.TableMutationOrBuilderindex - The index of the element to return.public BinlogOuterClass.TableMutation.Builder setDeletedRows(int index, com.google.protobuf.ByteString value)
The row value of the deleted row.
repeated bytes deleted_rows = 6;index - The index to set the value at.value - The deletedRows to set.public BinlogOuterClass.TableMutation.Builder addDeletedRows(com.google.protobuf.ByteString value)
The row value of the deleted row.
repeated bytes deleted_rows = 6;value - The deletedRows to add.public BinlogOuterClass.TableMutation.Builder addAllDeletedRows(Iterable<? extends com.google.protobuf.ByteString> values)
The row value of the deleted row.
repeated bytes deleted_rows = 6;values - The deletedRows to add.public BinlogOuterClass.TableMutation.Builder clearDeletedRows()
The row value of the deleted row.
repeated bytes deleted_rows = 6;public List<BinlogOuterClass.MutationType> getSequenceList()
Used to apply table mutations in original sequence.
repeated .binlog.MutationType sequence = 7;getSequenceList in interface BinlogOuterClass.TableMutationOrBuilderpublic int getSequenceCount()
Used to apply table mutations in original sequence.
repeated .binlog.MutationType sequence = 7;getSequenceCount in interface BinlogOuterClass.TableMutationOrBuilderpublic BinlogOuterClass.MutationType getSequence(int index)
Used to apply table mutations in original sequence.
repeated .binlog.MutationType sequence = 7;getSequence in interface BinlogOuterClass.TableMutationOrBuilderindex - The index of the element to return.public BinlogOuterClass.TableMutation.Builder setSequence(int index, BinlogOuterClass.MutationType value)
Used to apply table mutations in original sequence.
repeated .binlog.MutationType sequence = 7;index - The index to set the value at.value - The sequence to set.public BinlogOuterClass.TableMutation.Builder addSequence(BinlogOuterClass.MutationType value)
Used to apply table mutations in original sequence.
repeated .binlog.MutationType sequence = 7;value - The sequence to add.public BinlogOuterClass.TableMutation.Builder addAllSequence(Iterable<? extends BinlogOuterClass.MutationType> values)
Used to apply table mutations in original sequence.
repeated .binlog.MutationType sequence = 7;values - The sequence to add.public BinlogOuterClass.TableMutation.Builder clearSequence()
Used to apply table mutations in original sequence.
repeated .binlog.MutationType sequence = 7;public final BinlogOuterClass.TableMutation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BinlogOuterClass.TableMutation.Builder>public final BinlogOuterClass.TableMutation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BinlogOuterClass.TableMutation.Builder>Copyright © 2025 PingCAP. All rights reserved.