public static final class ImportSstpb.RawWriteBatch.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.RawWriteBatch.Builder> implements ImportSstpb.RawWriteBatchOrBuilder
import_sstpb.RawWriteBatch| Modifier and Type | Method and Description |
|---|---|
ImportSstpb.RawWriteBatch.Builder |
addAllPairs(Iterable<? extends ImportSstpb.Pair> values)
repeated .import_sstpb.Pair pairs = 2; |
ImportSstpb.RawWriteBatch.Builder |
addPairs(ImportSstpb.Pair.Builder builderForValue)
repeated .import_sstpb.Pair pairs = 2; |
ImportSstpb.RawWriteBatch.Builder |
addPairs(ImportSstpb.Pair value)
repeated .import_sstpb.Pair pairs = 2; |
ImportSstpb.RawWriteBatch.Builder |
addPairs(int index,
ImportSstpb.Pair.Builder builderForValue)
repeated .import_sstpb.Pair pairs = 2; |
ImportSstpb.RawWriteBatch.Builder |
addPairs(int index,
ImportSstpb.Pair value)
repeated .import_sstpb.Pair pairs = 2; |
ImportSstpb.Pair.Builder |
addPairsBuilder()
repeated .import_sstpb.Pair pairs = 2; |
ImportSstpb.Pair.Builder |
addPairsBuilder(int index)
repeated .import_sstpb.Pair pairs = 2; |
ImportSstpb.RawWriteBatch.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ImportSstpb.RawWriteBatch |
build() |
ImportSstpb.RawWriteBatch |
buildPartial() |
ImportSstpb.RawWriteBatch.Builder |
clear() |
ImportSstpb.RawWriteBatch.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ImportSstpb.RawWriteBatch.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ImportSstpb.RawWriteBatch.Builder |
clearPairs()
repeated .import_sstpb.Pair pairs = 2; |
ImportSstpb.RawWriteBatch.Builder |
clearTs()
To be compatible with the key encoding of API V2.
|
ImportSstpb.RawWriteBatch.Builder |
clearTtl()
uint64 ttl = 1; |
ImportSstpb.RawWriteBatch.Builder |
clone() |
ImportSstpb.RawWriteBatch |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ImportSstpb.Pair |
getPairs(int index)
repeated .import_sstpb.Pair pairs = 2; |
ImportSstpb.Pair.Builder |
getPairsBuilder(int index)
repeated .import_sstpb.Pair pairs = 2; |
List<ImportSstpb.Pair.Builder> |
getPairsBuilderList()
repeated .import_sstpb.Pair pairs = 2; |
int |
getPairsCount()
repeated .import_sstpb.Pair pairs = 2; |
List<ImportSstpb.Pair> |
getPairsList()
repeated .import_sstpb.Pair pairs = 2; |
ImportSstpb.PairOrBuilder |
getPairsOrBuilder(int index)
repeated .import_sstpb.Pair pairs = 2; |
List<? extends ImportSstpb.PairOrBuilder> |
getPairsOrBuilderList()
repeated .import_sstpb.Pair pairs = 2; |
long |
getTs()
To be compatible with the key encoding of API V2.
|
long |
getTtl()
uint64 ttl = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ImportSstpb.RawWriteBatch.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ImportSstpb.RawWriteBatch.Builder |
mergeFrom(ImportSstpb.RawWriteBatch other) |
ImportSstpb.RawWriteBatch.Builder |
mergeFrom(com.google.protobuf.Message other) |
ImportSstpb.RawWriteBatch.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ImportSstpb.RawWriteBatch.Builder |
removePairs(int index)
repeated .import_sstpb.Pair pairs = 2; |
ImportSstpb.RawWriteBatch.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ImportSstpb.RawWriteBatch.Builder |
setPairs(int index,
ImportSstpb.Pair.Builder builderForValue)
repeated .import_sstpb.Pair pairs = 2; |
ImportSstpb.RawWriteBatch.Builder |
setPairs(int index,
ImportSstpb.Pair value)
repeated .import_sstpb.Pair pairs = 2; |
ImportSstpb.RawWriteBatch.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ImportSstpb.RawWriteBatch.Builder |
setTs(long value)
To be compatible with the key encoding of API V2.
|
ImportSstpb.RawWriteBatch.Builder |
setTtl(long value)
uint64 ttl = 1; |
ImportSstpb.RawWriteBatch.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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<ImportSstpb.RawWriteBatch.Builder>public ImportSstpb.RawWriteBatch.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.RawWriteBatch.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<ImportSstpb.RawWriteBatch.Builder>public ImportSstpb.RawWriteBatch getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ImportSstpb.RawWriteBatch build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ImportSstpb.RawWriteBatch buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ImportSstpb.RawWriteBatch.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.RawWriteBatch.Builder>public ImportSstpb.RawWriteBatch.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<ImportSstpb.RawWriteBatch.Builder>public ImportSstpb.RawWriteBatch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.RawWriteBatch.Builder>public ImportSstpb.RawWriteBatch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.RawWriteBatch.Builder>public ImportSstpb.RawWriteBatch.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<ImportSstpb.RawWriteBatch.Builder>public ImportSstpb.RawWriteBatch.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<ImportSstpb.RawWriteBatch.Builder>public ImportSstpb.RawWriteBatch.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImportSstpb.RawWriteBatch.Builder>public ImportSstpb.RawWriteBatch.Builder mergeFrom(ImportSstpb.RawWriteBatch other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.RawWriteBatch.Builder>public ImportSstpb.RawWriteBatch.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<ImportSstpb.RawWriteBatch.Builder>IOExceptionpublic long getTtl()
uint64 ttl = 1;getTtl in interface ImportSstpb.RawWriteBatchOrBuilderpublic ImportSstpb.RawWriteBatch.Builder setTtl(long value)
uint64 ttl = 1;value - The ttl to set.public ImportSstpb.RawWriteBatch.Builder clearTtl()
uint64 ttl = 1;public List<ImportSstpb.Pair> getPairsList()
repeated .import_sstpb.Pair pairs = 2;getPairsList in interface ImportSstpb.RawWriteBatchOrBuilderpublic int getPairsCount()
repeated .import_sstpb.Pair pairs = 2;getPairsCount in interface ImportSstpb.RawWriteBatchOrBuilderpublic ImportSstpb.Pair getPairs(int index)
repeated .import_sstpb.Pair pairs = 2;getPairs in interface ImportSstpb.RawWriteBatchOrBuilderpublic ImportSstpb.RawWriteBatch.Builder setPairs(int index, ImportSstpb.Pair value)
repeated .import_sstpb.Pair pairs = 2;public ImportSstpb.RawWriteBatch.Builder setPairs(int index, ImportSstpb.Pair.Builder builderForValue)
repeated .import_sstpb.Pair pairs = 2;public ImportSstpb.RawWriteBatch.Builder addPairs(ImportSstpb.Pair value)
repeated .import_sstpb.Pair pairs = 2;public ImportSstpb.RawWriteBatch.Builder addPairs(int index, ImportSstpb.Pair value)
repeated .import_sstpb.Pair pairs = 2;public ImportSstpb.RawWriteBatch.Builder addPairs(ImportSstpb.Pair.Builder builderForValue)
repeated .import_sstpb.Pair pairs = 2;public ImportSstpb.RawWriteBatch.Builder addPairs(int index, ImportSstpb.Pair.Builder builderForValue)
repeated .import_sstpb.Pair pairs = 2;public ImportSstpb.RawWriteBatch.Builder addAllPairs(Iterable<? extends ImportSstpb.Pair> values)
repeated .import_sstpb.Pair pairs = 2;public ImportSstpb.RawWriteBatch.Builder clearPairs()
repeated .import_sstpb.Pair pairs = 2;public ImportSstpb.RawWriteBatch.Builder removePairs(int index)
repeated .import_sstpb.Pair pairs = 2;public ImportSstpb.Pair.Builder getPairsBuilder(int index)
repeated .import_sstpb.Pair pairs = 2;public ImportSstpb.PairOrBuilder getPairsOrBuilder(int index)
repeated .import_sstpb.Pair pairs = 2;getPairsOrBuilder in interface ImportSstpb.RawWriteBatchOrBuilderpublic List<? extends ImportSstpb.PairOrBuilder> getPairsOrBuilderList()
repeated .import_sstpb.Pair pairs = 2;getPairsOrBuilderList in interface ImportSstpb.RawWriteBatchOrBuilderpublic ImportSstpb.Pair.Builder addPairsBuilder()
repeated .import_sstpb.Pair pairs = 2;public ImportSstpb.Pair.Builder addPairsBuilder(int index)
repeated .import_sstpb.Pair pairs = 2;public List<ImportSstpb.Pair.Builder> getPairsBuilderList()
repeated .import_sstpb.Pair pairs = 2;public long getTs()
To be compatible with the key encoding of API V2. This field should be generated from the client instead of the server, since the message will be send to all the replicas of a region. Otherwise, the underlying data generated by the server would be inconsistent which is hard to scale for other features like MVCC over RawKV.
uint64 ts = 3;getTs in interface ImportSstpb.RawWriteBatchOrBuilderpublic ImportSstpb.RawWriteBatch.Builder setTs(long value)
To be compatible with the key encoding of API V2. This field should be generated from the client instead of the server, since the message will be send to all the replicas of a region. Otherwise, the underlying data generated by the server would be inconsistent which is hard to scale for other features like MVCC over RawKV.
uint64 ts = 3;value - The ts to set.public ImportSstpb.RawWriteBatch.Builder clearTs()
To be compatible with the key encoding of API V2. This field should be generated from the client instead of the server, since the message will be send to all the replicas of a region. Otherwise, the underlying data generated by the server would be inconsistent which is hard to scale for other features like MVCC over RawKV.
uint64 ts = 3;public final ImportSstpb.RawWriteBatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.RawWriteBatch.Builder>public final ImportSstpb.RawWriteBatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.RawWriteBatch.Builder>Copyright © 2025 PingCAP. All rights reserved.