public static final class RaftCmdpb.ReadIndexRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RaftCmdpb.ReadIndexRequest.Builder> implements RaftCmdpb.ReadIndexRequestOrBuilder
raft_cmdpb.ReadIndexRequest
Modifier and Type | Method and Description |
---|---|
RaftCmdpb.ReadIndexRequest.Builder |
addAllKeyRanges(Iterable<? extends Kvrpcpb.KeyRange> values)
repeated .kvrpcpb.KeyRange key_ranges = 2; |
RaftCmdpb.ReadIndexRequest.Builder |
addKeyRanges(int index,
Kvrpcpb.KeyRange.Builder builderForValue)
repeated .kvrpcpb.KeyRange key_ranges = 2; |
RaftCmdpb.ReadIndexRequest.Builder |
addKeyRanges(int index,
Kvrpcpb.KeyRange value)
repeated .kvrpcpb.KeyRange key_ranges = 2; |
RaftCmdpb.ReadIndexRequest.Builder |
addKeyRanges(Kvrpcpb.KeyRange.Builder builderForValue)
repeated .kvrpcpb.KeyRange key_ranges = 2; |
RaftCmdpb.ReadIndexRequest.Builder |
addKeyRanges(Kvrpcpb.KeyRange value)
repeated .kvrpcpb.KeyRange key_ranges = 2; |
Kvrpcpb.KeyRange.Builder |
addKeyRangesBuilder()
repeated .kvrpcpb.KeyRange key_ranges = 2; |
Kvrpcpb.KeyRange.Builder |
addKeyRangesBuilder(int index)
repeated .kvrpcpb.KeyRange key_ranges = 2; |
RaftCmdpb.ReadIndexRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RaftCmdpb.ReadIndexRequest |
build() |
RaftCmdpb.ReadIndexRequest |
buildPartial() |
RaftCmdpb.ReadIndexRequest.Builder |
clear() |
RaftCmdpb.ReadIndexRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RaftCmdpb.ReadIndexRequest.Builder |
clearKeyRanges()
repeated .kvrpcpb.KeyRange key_ranges = 2; |
RaftCmdpb.ReadIndexRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RaftCmdpb.ReadIndexRequest.Builder |
clearStartTs()
In replica read, leader uses start_ts and key_ranges to check memory locks.
|
RaftCmdpb.ReadIndexRequest.Builder |
clone() |
RaftCmdpb.ReadIndexRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Kvrpcpb.KeyRange |
getKeyRanges(int index)
repeated .kvrpcpb.KeyRange key_ranges = 2; |
Kvrpcpb.KeyRange.Builder |
getKeyRangesBuilder(int index)
repeated .kvrpcpb.KeyRange key_ranges = 2; |
List<Kvrpcpb.KeyRange.Builder> |
getKeyRangesBuilderList()
repeated .kvrpcpb.KeyRange key_ranges = 2; |
int |
getKeyRangesCount()
repeated .kvrpcpb.KeyRange key_ranges = 2; |
List<Kvrpcpb.KeyRange> |
getKeyRangesList()
repeated .kvrpcpb.KeyRange key_ranges = 2; |
Kvrpcpb.KeyRangeOrBuilder |
getKeyRangesOrBuilder(int index)
repeated .kvrpcpb.KeyRange key_ranges = 2; |
List<? extends Kvrpcpb.KeyRangeOrBuilder> |
getKeyRangesOrBuilderList()
repeated .kvrpcpb.KeyRange key_ranges = 2; |
long |
getStartTs()
In replica read, leader uses start_ts and key_ranges to check memory locks.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RaftCmdpb.ReadIndexRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RaftCmdpb.ReadIndexRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
RaftCmdpb.ReadIndexRequest.Builder |
mergeFrom(RaftCmdpb.ReadIndexRequest other) |
RaftCmdpb.ReadIndexRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RaftCmdpb.ReadIndexRequest.Builder |
removeKeyRanges(int index)
repeated .kvrpcpb.KeyRange key_ranges = 2; |
RaftCmdpb.ReadIndexRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RaftCmdpb.ReadIndexRequest.Builder |
setKeyRanges(int index,
Kvrpcpb.KeyRange.Builder builderForValue)
repeated .kvrpcpb.KeyRange key_ranges = 2; |
RaftCmdpb.ReadIndexRequest.Builder |
setKeyRanges(int index,
Kvrpcpb.KeyRange value)
repeated .kvrpcpb.KeyRange key_ranges = 2; |
RaftCmdpb.ReadIndexRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RaftCmdpb.ReadIndexRequest.Builder |
setStartTs(long value)
In replica read, leader uses start_ts and key_ranges to check memory locks.
|
RaftCmdpb.ReadIndexRequest.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<RaftCmdpb.ReadIndexRequest.Builder>
public RaftCmdpb.ReadIndexRequest.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<RaftCmdpb.ReadIndexRequest.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<RaftCmdpb.ReadIndexRequest.Builder>
public RaftCmdpb.ReadIndexRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RaftCmdpb.ReadIndexRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RaftCmdpb.ReadIndexRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RaftCmdpb.ReadIndexRequest.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<RaftCmdpb.ReadIndexRequest.Builder>
public RaftCmdpb.ReadIndexRequest.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<RaftCmdpb.ReadIndexRequest.Builder>
public RaftCmdpb.ReadIndexRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftCmdpb.ReadIndexRequest.Builder>
public RaftCmdpb.ReadIndexRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftCmdpb.ReadIndexRequest.Builder>
public RaftCmdpb.ReadIndexRequest.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<RaftCmdpb.ReadIndexRequest.Builder>
public RaftCmdpb.ReadIndexRequest.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<RaftCmdpb.ReadIndexRequest.Builder>
public RaftCmdpb.ReadIndexRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RaftCmdpb.ReadIndexRequest.Builder>
public RaftCmdpb.ReadIndexRequest.Builder mergeFrom(RaftCmdpb.ReadIndexRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftCmdpb.ReadIndexRequest.Builder>
public RaftCmdpb.ReadIndexRequest.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<RaftCmdpb.ReadIndexRequest.Builder>
IOException
public long getStartTs()
In replica read, leader uses start_ts and key_ranges to check memory locks.
uint64 start_ts = 1;
getStartTs
in interface RaftCmdpb.ReadIndexRequestOrBuilder
public RaftCmdpb.ReadIndexRequest.Builder setStartTs(long value)
In replica read, leader uses start_ts and key_ranges to check memory locks.
uint64 start_ts = 1;
value
- The startTs to set.public RaftCmdpb.ReadIndexRequest.Builder clearStartTs()
In replica read, leader uses start_ts and key_ranges to check memory locks.
uint64 start_ts = 1;
public List<Kvrpcpb.KeyRange> getKeyRangesList()
repeated .kvrpcpb.KeyRange key_ranges = 2;
getKeyRangesList
in interface RaftCmdpb.ReadIndexRequestOrBuilder
public int getKeyRangesCount()
repeated .kvrpcpb.KeyRange key_ranges = 2;
getKeyRangesCount
in interface RaftCmdpb.ReadIndexRequestOrBuilder
public Kvrpcpb.KeyRange getKeyRanges(int index)
repeated .kvrpcpb.KeyRange key_ranges = 2;
getKeyRanges
in interface RaftCmdpb.ReadIndexRequestOrBuilder
public RaftCmdpb.ReadIndexRequest.Builder setKeyRanges(int index, Kvrpcpb.KeyRange value)
repeated .kvrpcpb.KeyRange key_ranges = 2;
public RaftCmdpb.ReadIndexRequest.Builder setKeyRanges(int index, Kvrpcpb.KeyRange.Builder builderForValue)
repeated .kvrpcpb.KeyRange key_ranges = 2;
public RaftCmdpb.ReadIndexRequest.Builder addKeyRanges(Kvrpcpb.KeyRange value)
repeated .kvrpcpb.KeyRange key_ranges = 2;
public RaftCmdpb.ReadIndexRequest.Builder addKeyRanges(int index, Kvrpcpb.KeyRange value)
repeated .kvrpcpb.KeyRange key_ranges = 2;
public RaftCmdpb.ReadIndexRequest.Builder addKeyRanges(Kvrpcpb.KeyRange.Builder builderForValue)
repeated .kvrpcpb.KeyRange key_ranges = 2;
public RaftCmdpb.ReadIndexRequest.Builder addKeyRanges(int index, Kvrpcpb.KeyRange.Builder builderForValue)
repeated .kvrpcpb.KeyRange key_ranges = 2;
public RaftCmdpb.ReadIndexRequest.Builder addAllKeyRanges(Iterable<? extends Kvrpcpb.KeyRange> values)
repeated .kvrpcpb.KeyRange key_ranges = 2;
public RaftCmdpb.ReadIndexRequest.Builder clearKeyRanges()
repeated .kvrpcpb.KeyRange key_ranges = 2;
public RaftCmdpb.ReadIndexRequest.Builder removeKeyRanges(int index)
repeated .kvrpcpb.KeyRange key_ranges = 2;
public Kvrpcpb.KeyRange.Builder getKeyRangesBuilder(int index)
repeated .kvrpcpb.KeyRange key_ranges = 2;
public Kvrpcpb.KeyRangeOrBuilder getKeyRangesOrBuilder(int index)
repeated .kvrpcpb.KeyRange key_ranges = 2;
getKeyRangesOrBuilder
in interface RaftCmdpb.ReadIndexRequestOrBuilder
public List<? extends Kvrpcpb.KeyRangeOrBuilder> getKeyRangesOrBuilderList()
repeated .kvrpcpb.KeyRange key_ranges = 2;
getKeyRangesOrBuilderList
in interface RaftCmdpb.ReadIndexRequestOrBuilder
public Kvrpcpb.KeyRange.Builder addKeyRangesBuilder()
repeated .kvrpcpb.KeyRange key_ranges = 2;
public Kvrpcpb.KeyRange.Builder addKeyRangesBuilder(int index)
repeated .kvrpcpb.KeyRange key_ranges = 2;
public List<Kvrpcpb.KeyRange.Builder> getKeyRangesBuilderList()
repeated .kvrpcpb.KeyRange key_ranges = 2;
public final RaftCmdpb.ReadIndexRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftCmdpb.ReadIndexRequest.Builder>
public final RaftCmdpb.ReadIndexRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftCmdpb.ReadIndexRequest.Builder>
Copyright © 2024 PingCAP. All rights reserved.