public static final class Cdcpb.Event.Row.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Cdcpb.Event.Row.Builder> implements Cdcpb.Event.RowOrBuilder
cdcpb.Event.Row| Modifier and Type | Method and Description |
|---|---|
Cdcpb.Event.Row.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Cdcpb.Event.Row |
build() |
Cdcpb.Event.Row |
buildPartial() |
Cdcpb.Event.Row.Builder |
clear() |
Cdcpb.Event.Row.Builder |
clearCommitTs()
uint64 commit_ts = 2; |
Cdcpb.Event.Row.Builder |
clearExpireTsUnixSecs()
expire_ts_unix_secs is used for RawKV (see `ChangeDataRequest.KvApi`),
and represents the expiration time of this row.
|
Cdcpb.Event.Row.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Cdcpb.Event.Row.Builder |
clearKey()
bytes key = 5; |
Cdcpb.Event.Row.Builder |
clearOldValue()
bytes old_value = 7; |
Cdcpb.Event.Row.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Cdcpb.Event.Row.Builder |
clearOpType()
.cdcpb.Event.Row.OpType op_type = 4; |
Cdcpb.Event.Row.Builder |
clearStartTs()
uint64 start_ts = 1; |
Cdcpb.Event.Row.Builder |
clearType()
.cdcpb.Event.LogType type = 3; |
Cdcpb.Event.Row.Builder |
clearValue()
bytes value = 6; |
Cdcpb.Event.Row.Builder |
clone() |
long |
getCommitTs()
uint64 commit_ts = 2; |
Cdcpb.Event.Row |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getExpireTsUnixSecs()
expire_ts_unix_secs is used for RawKV (see `ChangeDataRequest.KvApi`),
and represents the expiration time of this row.
|
com.google.protobuf.ByteString |
getKey()
bytes key = 5; |
com.google.protobuf.ByteString |
getOldValue()
bytes old_value = 7; |
Cdcpb.Event.Row.OpType |
getOpType()
.cdcpb.Event.Row.OpType op_type = 4; |
int |
getOpTypeValue()
.cdcpb.Event.Row.OpType op_type = 4; |
long |
getStartTs()
uint64 start_ts = 1; |
Cdcpb.Event.LogType |
getType()
.cdcpb.Event.LogType type = 3; |
int |
getTypeValue()
.cdcpb.Event.LogType type = 3; |
com.google.protobuf.ByteString |
getValue()
bytes value = 6; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Cdcpb.Event.Row.Builder |
mergeFrom(Cdcpb.Event.Row other) |
Cdcpb.Event.Row.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Cdcpb.Event.Row.Builder |
mergeFrom(com.google.protobuf.Message other) |
Cdcpb.Event.Row.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Cdcpb.Event.Row.Builder |
setCommitTs(long value)
uint64 commit_ts = 2; |
Cdcpb.Event.Row.Builder |
setExpireTsUnixSecs(long value)
expire_ts_unix_secs is used for RawKV (see `ChangeDataRequest.KvApi`),
and represents the expiration time of this row.
|
Cdcpb.Event.Row.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Cdcpb.Event.Row.Builder |
setKey(com.google.protobuf.ByteString value)
bytes key = 5; |
Cdcpb.Event.Row.Builder |
setOldValue(com.google.protobuf.ByteString value)
bytes old_value = 7; |
Cdcpb.Event.Row.Builder |
setOpType(Cdcpb.Event.Row.OpType value)
.cdcpb.Event.Row.OpType op_type = 4; |
Cdcpb.Event.Row.Builder |
setOpTypeValue(int value)
.cdcpb.Event.Row.OpType op_type = 4; |
Cdcpb.Event.Row.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Cdcpb.Event.Row.Builder |
setStartTs(long value)
uint64 start_ts = 1; |
Cdcpb.Event.Row.Builder |
setType(Cdcpb.Event.LogType value)
.cdcpb.Event.LogType type = 3; |
Cdcpb.Event.Row.Builder |
setTypeValue(int value)
.cdcpb.Event.LogType type = 3; |
Cdcpb.Event.Row.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Cdcpb.Event.Row.Builder |
setValue(com.google.protobuf.ByteString value)
bytes value = 6; |
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<Cdcpb.Event.Row.Builder>public Cdcpb.Event.Row.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Cdcpb.Event.Row.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<Cdcpb.Event.Row.Builder>public Cdcpb.Event.Row getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Cdcpb.Event.Row build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Cdcpb.Event.Row buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Cdcpb.Event.Row.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Cdcpb.Event.Row.Builder>public Cdcpb.Event.Row.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<Cdcpb.Event.Row.Builder>public Cdcpb.Event.Row.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Cdcpb.Event.Row.Builder>public Cdcpb.Event.Row.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Cdcpb.Event.Row.Builder>public Cdcpb.Event.Row.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<Cdcpb.Event.Row.Builder>public Cdcpb.Event.Row.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<Cdcpb.Event.Row.Builder>public Cdcpb.Event.Row.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Cdcpb.Event.Row.Builder>public Cdcpb.Event.Row.Builder mergeFrom(Cdcpb.Event.Row other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Cdcpb.Event.Row.Builder>public Cdcpb.Event.Row.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<Cdcpb.Event.Row.Builder>IOExceptionpublic long getStartTs()
uint64 start_ts = 1;getStartTs in interface Cdcpb.Event.RowOrBuilderpublic Cdcpb.Event.Row.Builder setStartTs(long value)
uint64 start_ts = 1;value - The startTs to set.public Cdcpb.Event.Row.Builder clearStartTs()
uint64 start_ts = 1;public long getCommitTs()
uint64 commit_ts = 2;getCommitTs in interface Cdcpb.Event.RowOrBuilderpublic Cdcpb.Event.Row.Builder setCommitTs(long value)
uint64 commit_ts = 2;value - The commitTs to set.public Cdcpb.Event.Row.Builder clearCommitTs()
uint64 commit_ts = 2;public int getTypeValue()
.cdcpb.Event.LogType type = 3;getTypeValue in interface Cdcpb.Event.RowOrBuilderpublic Cdcpb.Event.Row.Builder setTypeValue(int value)
.cdcpb.Event.LogType type = 3;value - The enum numeric value on the wire for type to set.public Cdcpb.Event.LogType getType()
.cdcpb.Event.LogType type = 3;getType in interface Cdcpb.Event.RowOrBuilderpublic Cdcpb.Event.Row.Builder setType(Cdcpb.Event.LogType value)
.cdcpb.Event.LogType type = 3;value - The type to set.public Cdcpb.Event.Row.Builder clearType()
.cdcpb.Event.LogType type = 3;public int getOpTypeValue()
.cdcpb.Event.Row.OpType op_type = 4;getOpTypeValue in interface Cdcpb.Event.RowOrBuilderpublic Cdcpb.Event.Row.Builder setOpTypeValue(int value)
.cdcpb.Event.Row.OpType op_type = 4;value - The enum numeric value on the wire for opType to set.public Cdcpb.Event.Row.OpType getOpType()
.cdcpb.Event.Row.OpType op_type = 4;getOpType in interface Cdcpb.Event.RowOrBuilderpublic Cdcpb.Event.Row.Builder setOpType(Cdcpb.Event.Row.OpType value)
.cdcpb.Event.Row.OpType op_type = 4;value - The opType to set.public Cdcpb.Event.Row.Builder clearOpType()
.cdcpb.Event.Row.OpType op_type = 4;public com.google.protobuf.ByteString getKey()
bytes key = 5;getKey in interface Cdcpb.Event.RowOrBuilderpublic Cdcpb.Event.Row.Builder setKey(com.google.protobuf.ByteString value)
bytes key = 5;value - The key to set.public Cdcpb.Event.Row.Builder clearKey()
bytes key = 5;public com.google.protobuf.ByteString getValue()
bytes value = 6;getValue in interface Cdcpb.Event.RowOrBuilderpublic Cdcpb.Event.Row.Builder setValue(com.google.protobuf.ByteString value)
bytes value = 6;value - The value to set.public Cdcpb.Event.Row.Builder clearValue()
bytes value = 6;public com.google.protobuf.ByteString getOldValue()
bytes old_value = 7;getOldValue in interface Cdcpb.Event.RowOrBuilderpublic Cdcpb.Event.Row.Builder setOldValue(com.google.protobuf.ByteString value)
bytes old_value = 7;value - The oldValue to set.public Cdcpb.Event.Row.Builder clearOldValue()
bytes old_value = 7;public long getExpireTsUnixSecs()
expire_ts_unix_secs is used for RawKV (see `ChangeDataRequest.KvApi`), and represents the expiration time of this row. Absolute time, seconds since Unix epoch.
uint64 expire_ts_unix_secs = 8;getExpireTsUnixSecs in interface Cdcpb.Event.RowOrBuilderpublic Cdcpb.Event.Row.Builder setExpireTsUnixSecs(long value)
expire_ts_unix_secs is used for RawKV (see `ChangeDataRequest.KvApi`), and represents the expiration time of this row. Absolute time, seconds since Unix epoch.
uint64 expire_ts_unix_secs = 8;value - The expireTsUnixSecs to set.public Cdcpb.Event.Row.Builder clearExpireTsUnixSecs()
expire_ts_unix_secs is used for RawKV (see `ChangeDataRequest.KvApi`), and represents the expiration time of this row. Absolute time, seconds since Unix epoch.
uint64 expire_ts_unix_secs = 8;public final Cdcpb.Event.Row.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Cdcpb.Event.Row.Builder>public final Cdcpb.Event.Row.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Cdcpb.Event.Row.Builder>Copyright © 2025 PingCAP. All rights reserved.