public static final class RaftServerpb.ExtraMessage.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.ExtraMessage.Builder> implements RaftServerpb.ExtraMessageOrBuilder
raft_serverpb.ExtraMessage
Modifier and Type | Method and Description |
---|---|
RaftServerpb.ExtraMessage.Builder |
addAllCheckPeers(Iterable<? extends Metapb.Peer> values)
repeated .metapb.Peer check_peers = 3; |
RaftServerpb.ExtraMessage.Builder |
addCheckPeers(int index,
Metapb.Peer.Builder builderForValue)
repeated .metapb.Peer check_peers = 3; |
RaftServerpb.ExtraMessage.Builder |
addCheckPeers(int index,
Metapb.Peer value)
repeated .metapb.Peer check_peers = 3; |
RaftServerpb.ExtraMessage.Builder |
addCheckPeers(Metapb.Peer.Builder builderForValue)
repeated .metapb.Peer check_peers = 3; |
RaftServerpb.ExtraMessage.Builder |
addCheckPeers(Metapb.Peer value)
repeated .metapb.Peer check_peers = 3; |
Metapb.Peer.Builder |
addCheckPeersBuilder()
repeated .metapb.Peer check_peers = 3; |
Metapb.Peer.Builder |
addCheckPeersBuilder(int index)
repeated .metapb.Peer check_peers = 3; |
RaftServerpb.ExtraMessage.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RaftServerpb.ExtraMessage |
build() |
RaftServerpb.ExtraMessage |
buildPartial() |
RaftServerpb.ExtraMessage.Builder |
clear() |
RaftServerpb.ExtraMessage.Builder |
clearCheckPeers()
repeated .metapb.Peer check_peers = 3; |
RaftServerpb.ExtraMessage.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RaftServerpb.ExtraMessage.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RaftServerpb.ExtraMessage.Builder |
clearPremergeCommit()
uint64 premerge_commit = 2; |
RaftServerpb.ExtraMessage.Builder |
clearType()
.raft_serverpb.ExtraMessageType type = 1; |
RaftServerpb.ExtraMessage.Builder |
clone() |
Metapb.Peer |
getCheckPeers(int index)
repeated .metapb.Peer check_peers = 3; |
Metapb.Peer.Builder |
getCheckPeersBuilder(int index)
repeated .metapb.Peer check_peers = 3; |
List<Metapb.Peer.Builder> |
getCheckPeersBuilderList()
repeated .metapb.Peer check_peers = 3; |
int |
getCheckPeersCount()
repeated .metapb.Peer check_peers = 3; |
List<Metapb.Peer> |
getCheckPeersList()
repeated .metapb.Peer check_peers = 3; |
Metapb.PeerOrBuilder |
getCheckPeersOrBuilder(int index)
repeated .metapb.Peer check_peers = 3; |
List<? extends Metapb.PeerOrBuilder> |
getCheckPeersOrBuilderList()
repeated .metapb.Peer check_peers = 3; |
RaftServerpb.ExtraMessage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getPremergeCommit()
uint64 premerge_commit = 2; |
RaftServerpb.ExtraMessageType |
getType()
.raft_serverpb.ExtraMessageType type = 1; |
int |
getTypeValue()
.raft_serverpb.ExtraMessageType type = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RaftServerpb.ExtraMessage.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RaftServerpb.ExtraMessage.Builder |
mergeFrom(com.google.protobuf.Message other) |
RaftServerpb.ExtraMessage.Builder |
mergeFrom(RaftServerpb.ExtraMessage other) |
RaftServerpb.ExtraMessage.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RaftServerpb.ExtraMessage.Builder |
removeCheckPeers(int index)
repeated .metapb.Peer check_peers = 3; |
RaftServerpb.ExtraMessage.Builder |
setCheckPeers(int index,
Metapb.Peer.Builder builderForValue)
repeated .metapb.Peer check_peers = 3; |
RaftServerpb.ExtraMessage.Builder |
setCheckPeers(int index,
Metapb.Peer value)
repeated .metapb.Peer check_peers = 3; |
RaftServerpb.ExtraMessage.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RaftServerpb.ExtraMessage.Builder |
setPremergeCommit(long value)
uint64 premerge_commit = 2; |
RaftServerpb.ExtraMessage.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RaftServerpb.ExtraMessage.Builder |
setType(RaftServerpb.ExtraMessageType value)
.raft_serverpb.ExtraMessageType type = 1; |
RaftServerpb.ExtraMessage.Builder |
setTypeValue(int value)
.raft_serverpb.ExtraMessageType type = 1; |
RaftServerpb.ExtraMessage.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<RaftServerpb.ExtraMessage.Builder>
public RaftServerpb.ExtraMessage.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<RaftServerpb.ExtraMessage.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<RaftServerpb.ExtraMessage.Builder>
public RaftServerpb.ExtraMessage getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RaftServerpb.ExtraMessage build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RaftServerpb.ExtraMessage buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RaftServerpb.ExtraMessage.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<RaftServerpb.ExtraMessage.Builder>
public RaftServerpb.ExtraMessage.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<RaftServerpb.ExtraMessage.Builder>
public RaftServerpb.ExtraMessage.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.ExtraMessage.Builder>
public RaftServerpb.ExtraMessage.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.ExtraMessage.Builder>
public RaftServerpb.ExtraMessage.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<RaftServerpb.ExtraMessage.Builder>
public RaftServerpb.ExtraMessage.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<RaftServerpb.ExtraMessage.Builder>
public RaftServerpb.ExtraMessage.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RaftServerpb.ExtraMessage.Builder>
public RaftServerpb.ExtraMessage.Builder mergeFrom(RaftServerpb.ExtraMessage other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.ExtraMessage.Builder>
public RaftServerpb.ExtraMessage.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<RaftServerpb.ExtraMessage.Builder>
IOException
public int getTypeValue()
.raft_serverpb.ExtraMessageType type = 1;
getTypeValue
in interface RaftServerpb.ExtraMessageOrBuilder
public RaftServerpb.ExtraMessage.Builder setTypeValue(int value)
.raft_serverpb.ExtraMessageType type = 1;
value
- The enum numeric value on the wire for type to set.public RaftServerpb.ExtraMessageType getType()
.raft_serverpb.ExtraMessageType type = 1;
getType
in interface RaftServerpb.ExtraMessageOrBuilder
public RaftServerpb.ExtraMessage.Builder setType(RaftServerpb.ExtraMessageType value)
.raft_serverpb.ExtraMessageType type = 1;
value
- The type to set.public RaftServerpb.ExtraMessage.Builder clearType()
.raft_serverpb.ExtraMessageType type = 1;
public long getPremergeCommit()
uint64 premerge_commit = 2;
getPremergeCommit
in interface RaftServerpb.ExtraMessageOrBuilder
public RaftServerpb.ExtraMessage.Builder setPremergeCommit(long value)
uint64 premerge_commit = 2;
value
- The premergeCommit to set.public RaftServerpb.ExtraMessage.Builder clearPremergeCommit()
uint64 premerge_commit = 2;
public List<Metapb.Peer> getCheckPeersList()
repeated .metapb.Peer check_peers = 3;
getCheckPeersList
in interface RaftServerpb.ExtraMessageOrBuilder
public int getCheckPeersCount()
repeated .metapb.Peer check_peers = 3;
getCheckPeersCount
in interface RaftServerpb.ExtraMessageOrBuilder
public Metapb.Peer getCheckPeers(int index)
repeated .metapb.Peer check_peers = 3;
getCheckPeers
in interface RaftServerpb.ExtraMessageOrBuilder
public RaftServerpb.ExtraMessage.Builder setCheckPeers(int index, Metapb.Peer value)
repeated .metapb.Peer check_peers = 3;
public RaftServerpb.ExtraMessage.Builder setCheckPeers(int index, Metapb.Peer.Builder builderForValue)
repeated .metapb.Peer check_peers = 3;
public RaftServerpb.ExtraMessage.Builder addCheckPeers(Metapb.Peer value)
repeated .metapb.Peer check_peers = 3;
public RaftServerpb.ExtraMessage.Builder addCheckPeers(int index, Metapb.Peer value)
repeated .metapb.Peer check_peers = 3;
public RaftServerpb.ExtraMessage.Builder addCheckPeers(Metapb.Peer.Builder builderForValue)
repeated .metapb.Peer check_peers = 3;
public RaftServerpb.ExtraMessage.Builder addCheckPeers(int index, Metapb.Peer.Builder builderForValue)
repeated .metapb.Peer check_peers = 3;
public RaftServerpb.ExtraMessage.Builder addAllCheckPeers(Iterable<? extends Metapb.Peer> values)
repeated .metapb.Peer check_peers = 3;
public RaftServerpb.ExtraMessage.Builder clearCheckPeers()
repeated .metapb.Peer check_peers = 3;
public RaftServerpb.ExtraMessage.Builder removeCheckPeers(int index)
repeated .metapb.Peer check_peers = 3;
public Metapb.Peer.Builder getCheckPeersBuilder(int index)
repeated .metapb.Peer check_peers = 3;
public Metapb.PeerOrBuilder getCheckPeersOrBuilder(int index)
repeated .metapb.Peer check_peers = 3;
getCheckPeersOrBuilder
in interface RaftServerpb.ExtraMessageOrBuilder
public List<? extends Metapb.PeerOrBuilder> getCheckPeersOrBuilderList()
repeated .metapb.Peer check_peers = 3;
getCheckPeersOrBuilderList
in interface RaftServerpb.ExtraMessageOrBuilder
public Metapb.Peer.Builder addCheckPeersBuilder()
repeated .metapb.Peer check_peers = 3;
public Metapb.Peer.Builder addCheckPeersBuilder(int index)
repeated .metapb.Peer check_peers = 3;
public List<Metapb.Peer.Builder> getCheckPeersBuilderList()
repeated .metapb.Peer check_peers = 3;
public final RaftServerpb.ExtraMessage.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.ExtraMessage.Builder>
public final RaftServerpb.ExtraMessage.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.ExtraMessage.Builder>
Copyright © 2024 PingCAP. All rights reserved.