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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.RawWriteBatch.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.RawWriteBatch.Builder>
public ImportSstpb.RawWriteBatch getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ImportSstpb.RawWriteBatch build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ImportSstpb.RawWriteBatch buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ImportSstpb.RawWriteBatch.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ImportSstpb.RawWriteBatch.Builder>
IOException
public long getTtl()
uint64 ttl = 1;
getTtl
in interface ImportSstpb.RawWriteBatchOrBuilder
public 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.RawWriteBatchOrBuilder
public int getPairsCount()
repeated .import_sstpb.Pair pairs = 2;
getPairsCount
in interface ImportSstpb.RawWriteBatchOrBuilder
public ImportSstpb.Pair getPairs(int index)
repeated .import_sstpb.Pair pairs = 2;
getPairs
in interface ImportSstpb.RawWriteBatchOrBuilder
public 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.RawWriteBatchOrBuilder
public List<? extends ImportSstpb.PairOrBuilder> getPairsOrBuilderList()
repeated .import_sstpb.Pair pairs = 2;
getPairsOrBuilderList
in interface ImportSstpb.RawWriteBatchOrBuilder
public 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.RawWriteBatchOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.RawWriteBatch.Builder>
Copyright © 2024 PingCAP. All rights reserved.