Package io.dingodb.common
Class Common.BRaftStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Common.BRaftStatus.Builder>
io.dingodb.common.Common.BRaftStatus.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Common.BRaftStatusOrBuilder,Cloneable
- Enclosing class:
- Common.BRaftStatus
public static final class Common.BRaftStatus.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Common.BRaftStatus.Builder>
implements Common.BRaftStatusOrBuilder
BRaftStatusProtobuf type
dingodb.pb.common.BRaftStatus-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()the index of the highest log entry currently being applied to the state machinethe index of the highest log entry known to be committedthe index of the last log entry persisted to diskclearField(com.google.protobuf.Descriptors.FieldDescriptor field) the index of the first log entrythe index of the highest log entry applied to the state machinethe index of the last log entrythe ID of the current leader peerclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) the ID of the peer associated with this statusthe index of the highest log entry not yet known to be committedthe size of the pending queuethe current state of the raft nodewhether the node is in read-only modethe current term of the raft nodeclone()booleana map of stable followers, where the key is the peer ID and the value is the status of the followerbooleana map of unstable followers, where the key is the peer ID and the value is the status of the followerlongthe index of the highest log entry currently being applied to the state machinelongthe index of the highest log entry known to be committedstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorlongthe index of the last log entry persisted to disklongthe index of the first log entrylongthe index of the highest log entry applied to the state machinelongthe index of the last log entrythe ID of the current leader peercom.google.protobuf.ByteStringthe ID of the current leader peerDeprecated.Deprecated.the ID of the peer associated with this statuscom.google.protobuf.ByteStringthe ID of the peer associated with this statuslongthe index of the highest log entry not yet known to be committedlongthe size of the pending queuethe current state of the raft nodeintthe current state of the raft nodebooleanwhether the node is in read-only modeDeprecated.inta map of stable followers, where the key is the peer ID and the value is the status of the followera map of stable followers, where the key is the peer ID and the value is the status of the followergetStableFollowersOrDefault(String key, Common.RaftPeerStatus defaultValue) a map of stable followers, where the key is the peer ID and the value is the status of the followera map of stable followers, where the key is the peer ID and the value is the status of the followerlonggetTerm()the current term of the raft nodeDeprecated.inta map of unstable followers, where the key is the peer ID and the value is the status of the followera map of unstable followers, where the key is the peer ID and the value is the status of the followergetUnstableFollowersOrDefault(String key, Common.RaftPeerStatus defaultValue) a map of unstable followers, where the key is the peer ID and the value is the status of the followera map of unstable followers, where the key is the peer ID and the value is the status of the followerprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Common.BRaftStatus other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) a map of stable followers, where the key is the peer ID and the value is the status of the followera map of unstable followers, where the key is the peer ID and the value is the status of the followerputStableFollowers(String key, Common.RaftPeerStatus value) a map of stable followers, where the key is the peer ID and the value is the status of the followera map of stable followers, where the key is the peer ID and the value is the status of the followerputUnstableFollowers(String key, Common.RaftPeerStatus value) a map of unstable followers, where the key is the peer ID and the value is the status of the followera map of unstable followers, where the key is the peer ID and the value is the status of the followera map of stable followers, where the key is the peer ID and the value is the status of the followera map of unstable followers, where the key is the peer ID and the value is the status of the followersetApplyingIndex(long value) the index of the highest log entry currently being applied to the state machinesetCommittedIndex(long value) the index of the highest log entry known to be committedsetDiskIndex(long value) the index of the last log entry persisted to disksetFirstIndex(long value) the index of the first log entrysetKnownAppliedIndex(long value) the index of the highest log entry applied to the state machinesetLastIndex(long value) the index of the last log entrysetLeaderPeerId(String value) the ID of the current leader peersetLeaderPeerIdBytes(com.google.protobuf.ByteString value) the ID of the current leader peerthe ID of the peer associated with this statussetPeerIdBytes(com.google.protobuf.ByteString value) the ID of the peer associated with this statussetPendingIndex(long value) the index of the highest log entry not yet known to be committedsetPendingQueueSize(long value) the size of the pending queuesetRaftState(Common.RaftNodeState value) the current state of the raft nodesetRaftStateValue(int value) the current state of the raft nodesetReadonly(boolean value) whether the node is in read-only modesetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTerm(long value) the current term of the raft nodesetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.BRaftStatus.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.BRaftStatus.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Common.BRaftStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.BRaftStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Common.BRaftStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Common.BRaftStatus.Builder>
-
setField
public Common.BRaftStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.BRaftStatus.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.BRaftStatus.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.BRaftStatus.Builder>
-
setRepeatedField
public Common.BRaftStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.BRaftStatus.Builder>
-
addRepeatedField
public Common.BRaftStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.BRaftStatus.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Common.BRaftStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.BRaftStatus.Builder>
-
mergeFrom
public Common.BRaftStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Common.BRaftStatus.Builder>- Throws:
IOException
-
getRaftStateValue
public int getRaftStateValue()the current state of the raft node
.dingodb.pb.common.RaftNodeState raft_state = 1;- Specified by:
getRaftStateValuein interfaceCommon.BRaftStatusOrBuilder- Returns:
- The enum numeric value on the wire for raftState.
-
setRaftStateValue
the current state of the raft node
.dingodb.pb.common.RaftNodeState raft_state = 1;- Parameters:
value- The enum numeric value on the wire for raftState to set.- Returns:
- This builder for chaining.
-
getRaftState
the current state of the raft node
.dingodb.pb.common.RaftNodeState raft_state = 1;- Specified by:
getRaftStatein interfaceCommon.BRaftStatusOrBuilder- Returns:
- The raftState.
-
setRaftState
the current state of the raft node
.dingodb.pb.common.RaftNodeState raft_state = 1;- Parameters:
value- The raftState to set.- Returns:
- This builder for chaining.
-
clearRaftState
the current state of the raft node
.dingodb.pb.common.RaftNodeState raft_state = 1;- Returns:
- This builder for chaining.
-
getPeerId
the ID of the peer associated with this status
string peer_id = 11;- Specified by:
getPeerIdin interfaceCommon.BRaftStatusOrBuilder- Returns:
- The peerId.
-
getPeerIdBytes
public com.google.protobuf.ByteString getPeerIdBytes()the ID of the peer associated with this status
string peer_id = 11;- Specified by:
getPeerIdBytesin interfaceCommon.BRaftStatusOrBuilder- Returns:
- The bytes for peerId.
-
setPeerId
the ID of the peer associated with this status
string peer_id = 11;- Parameters:
value- The peerId to set.- Returns:
- This builder for chaining.
-
clearPeerId
the ID of the peer associated with this status
string peer_id = 11;- Returns:
- This builder for chaining.
-
setPeerIdBytes
the ID of the peer associated with this status
string peer_id = 11;- Parameters:
value- The bytes for peerId to set.- Returns:
- This builder for chaining.
-
getLeaderPeerId
the ID of the current leader peer
string leader_peer_id = 12;- Specified by:
getLeaderPeerIdin interfaceCommon.BRaftStatusOrBuilder- Returns:
- The leaderPeerId.
-
getLeaderPeerIdBytes
public com.google.protobuf.ByteString getLeaderPeerIdBytes()the ID of the current leader peer
string leader_peer_id = 12;- Specified by:
getLeaderPeerIdBytesin interfaceCommon.BRaftStatusOrBuilder- Returns:
- The bytes for leaderPeerId.
-
setLeaderPeerId
the ID of the current leader peer
string leader_peer_id = 12;- Parameters:
value- The leaderPeerId to set.- Returns:
- This builder for chaining.
-
clearLeaderPeerId
the ID of the current leader peer
string leader_peer_id = 12;- Returns:
- This builder for chaining.
-
setLeaderPeerIdBytes
the ID of the current leader peer
string leader_peer_id = 12;- Parameters:
value- The bytes for leaderPeerId to set.- Returns:
- This builder for chaining.
-
getReadonly
public boolean getReadonly()whether the node is in read-only mode
bool readonly = 13;- Specified by:
getReadonlyin interfaceCommon.BRaftStatusOrBuilder- Returns:
- The readonly.
-
setReadonly
whether the node is in read-only mode
bool readonly = 13;- Parameters:
value- The readonly to set.- Returns:
- This builder for chaining.
-
clearReadonly
whether the node is in read-only mode
bool readonly = 13;- Returns:
- This builder for chaining.
-
getTerm
public long getTerm()the current term of the raft node
int64 term = 14;- Specified by:
getTermin interfaceCommon.BRaftStatusOrBuilder- Returns:
- The term.
-
setTerm
the current term of the raft node
int64 term = 14;- Parameters:
value- The term to set.- Returns:
- This builder for chaining.
-
clearTerm
the current term of the raft node
int64 term = 14;- Returns:
- This builder for chaining.
-
getCommittedIndex
public long getCommittedIndex()the index of the highest log entry known to be committed
int64 committed_index = 15;- Specified by:
getCommittedIndexin interfaceCommon.BRaftStatusOrBuilder- Returns:
- The committedIndex.
-
setCommittedIndex
the index of the highest log entry known to be committed
int64 committed_index = 15;- Parameters:
value- The committedIndex to set.- Returns:
- This builder for chaining.
-
clearCommittedIndex
the index of the highest log entry known to be committed
int64 committed_index = 15;- Returns:
- This builder for chaining.
-
getKnownAppliedIndex
public long getKnownAppliedIndex()the index of the highest log entry applied to the state machine
int64 known_applied_index = 16;- Specified by:
getKnownAppliedIndexin interfaceCommon.BRaftStatusOrBuilder- Returns:
- The knownAppliedIndex.
-
setKnownAppliedIndex
the index of the highest log entry applied to the state machine
int64 known_applied_index = 16;- Parameters:
value- The knownAppliedIndex to set.- Returns:
- This builder for chaining.
-
clearKnownAppliedIndex
the index of the highest log entry applied to the state machine
int64 known_applied_index = 16;- Returns:
- This builder for chaining.
-
getPendingIndex
public long getPendingIndex()the index of the highest log entry not yet known to be committed
int64 pending_index = 17;- Specified by:
getPendingIndexin interfaceCommon.BRaftStatusOrBuilder- Returns:
- The pendingIndex.
-
setPendingIndex
the index of the highest log entry not yet known to be committed
int64 pending_index = 17;- Parameters:
value- The pendingIndex to set.- Returns:
- This builder for chaining.
-
clearPendingIndex
the index of the highest log entry not yet known to be committed
int64 pending_index = 17;- Returns:
- This builder for chaining.
-
getPendingQueueSize
public long getPendingQueueSize()the size of the pending queue
int64 pending_queue_size = 18;- Specified by:
getPendingQueueSizein interfaceCommon.BRaftStatusOrBuilder- Returns:
- The pendingQueueSize.
-
setPendingQueueSize
the size of the pending queue
int64 pending_queue_size = 18;- Parameters:
value- The pendingQueueSize to set.- Returns:
- This builder for chaining.
-
clearPendingQueueSize
the size of the pending queue
int64 pending_queue_size = 18;- Returns:
- This builder for chaining.
-
getApplyingIndex
public long getApplyingIndex()the index of the highest log entry currently being applied to the state machine
int64 applying_index = 19;- Specified by:
getApplyingIndexin interfaceCommon.BRaftStatusOrBuilder- Returns:
- The applyingIndex.
-
setApplyingIndex
the index of the highest log entry currently being applied to the state machine
int64 applying_index = 19;- Parameters:
value- The applyingIndex to set.- Returns:
- This builder for chaining.
-
clearApplyingIndex
the index of the highest log entry currently being applied to the state machine
int64 applying_index = 19;- Returns:
- This builder for chaining.
-
getFirstIndex
public long getFirstIndex()the index of the first log entry
int64 first_index = 20;- Specified by:
getFirstIndexin interfaceCommon.BRaftStatusOrBuilder- Returns:
- The firstIndex.
-
setFirstIndex
the index of the first log entry
int64 first_index = 20;- Parameters:
value- The firstIndex to set.- Returns:
- This builder for chaining.
-
clearFirstIndex
the index of the first log entry
int64 first_index = 20;- Returns:
- This builder for chaining.
-
getLastIndex
public long getLastIndex()the index of the last log entry
int64 last_index = 21;- Specified by:
getLastIndexin interfaceCommon.BRaftStatusOrBuilder- Returns:
- The lastIndex.
-
setLastIndex
the index of the last log entry
int64 last_index = 21;- Parameters:
value- The lastIndex to set.- Returns:
- This builder for chaining.
-
clearLastIndex
the index of the last log entry
int64 last_index = 21;- Returns:
- This builder for chaining.
-
getDiskIndex
public long getDiskIndex()the index of the last log entry persisted to disk
int64 disk_index = 22;- Specified by:
getDiskIndexin interfaceCommon.BRaftStatusOrBuilder- Returns:
- The diskIndex.
-
setDiskIndex
the index of the last log entry persisted to disk
int64 disk_index = 22;- Parameters:
value- The diskIndex to set.- Returns:
- This builder for chaining.
-
clearDiskIndex
the index of the last log entry persisted to disk
int64 disk_index = 22;- Returns:
- This builder for chaining.
-
getStableFollowersCount
public int getStableFollowersCount()Description copied from interface:Common.BRaftStatusOrBuildera map of stable followers, where the key is the peer ID and the value is the status of the follower
map<string, .dingodb.pb.common.RaftPeerStatus> stable_followers = 23;- Specified by:
getStableFollowersCountin interfaceCommon.BRaftStatusOrBuilder
-
containsStableFollowers
a map of stable followers, where the key is the peer ID and the value is the status of the follower
map<string, .dingodb.pb.common.RaftPeerStatus> stable_followers = 23;- Specified by:
containsStableFollowersin interfaceCommon.BRaftStatusOrBuilder
-
getStableFollowers
Deprecated.UsegetStableFollowersMap()instead.- Specified by:
getStableFollowersin interfaceCommon.BRaftStatusOrBuilder
-
getStableFollowersMap
a map of stable followers, where the key is the peer ID and the value is the status of the follower
map<string, .dingodb.pb.common.RaftPeerStatus> stable_followers = 23;- Specified by:
getStableFollowersMapin interfaceCommon.BRaftStatusOrBuilder
-
getStableFollowersOrDefault
public Common.RaftPeerStatus getStableFollowersOrDefault(String key, Common.RaftPeerStatus defaultValue) a map of stable followers, where the key is the peer ID and the value is the status of the follower
map<string, .dingodb.pb.common.RaftPeerStatus> stable_followers = 23;- Specified by:
getStableFollowersOrDefaultin interfaceCommon.BRaftStatusOrBuilder
-
getStableFollowersOrThrow
a map of stable followers, where the key is the peer ID and the value is the status of the follower
map<string, .dingodb.pb.common.RaftPeerStatus> stable_followers = 23;- Specified by:
getStableFollowersOrThrowin interfaceCommon.BRaftStatusOrBuilder
-
clearStableFollowers
-
removeStableFollowers
a map of stable followers, where the key is the peer ID and the value is the status of the follower
map<string, .dingodb.pb.common.RaftPeerStatus> stable_followers = 23; -
getMutableStableFollowers
Deprecated.Use alternate mutation accessors instead. -
putStableFollowers
a map of stable followers, where the key is the peer ID and the value is the status of the follower
map<string, .dingodb.pb.common.RaftPeerStatus> stable_followers = 23; -
putAllStableFollowers
a map of stable followers, where the key is the peer ID and the value is the status of the follower
map<string, .dingodb.pb.common.RaftPeerStatus> stable_followers = 23; -
putStableFollowersBuilderIfAbsent
a map of stable followers, where the key is the peer ID and the value is the status of the follower
map<string, .dingodb.pb.common.RaftPeerStatus> stable_followers = 23; -
getUnstableFollowersCount
public int getUnstableFollowersCount()Description copied from interface:Common.BRaftStatusOrBuildera map of unstable followers, where the key is the peer ID and the value is the status of the follower
map<string, .dingodb.pb.common.RaftPeerStatus> unstable_followers = 24;- Specified by:
getUnstableFollowersCountin interfaceCommon.BRaftStatusOrBuilder
-
containsUnstableFollowers
a map of unstable followers, where the key is the peer ID and the value is the status of the follower
map<string, .dingodb.pb.common.RaftPeerStatus> unstable_followers = 24;- Specified by:
containsUnstableFollowersin interfaceCommon.BRaftStatusOrBuilder
-
getUnstableFollowers
Deprecated.UsegetUnstableFollowersMap()instead.- Specified by:
getUnstableFollowersin interfaceCommon.BRaftStatusOrBuilder
-
getUnstableFollowersMap
a map of unstable followers, where the key is the peer ID and the value is the status of the follower
map<string, .dingodb.pb.common.RaftPeerStatus> unstable_followers = 24;- Specified by:
getUnstableFollowersMapin interfaceCommon.BRaftStatusOrBuilder
-
getUnstableFollowersOrDefault
public Common.RaftPeerStatus getUnstableFollowersOrDefault(String key, Common.RaftPeerStatus defaultValue) a map of unstable followers, where the key is the peer ID and the value is the status of the follower
map<string, .dingodb.pb.common.RaftPeerStatus> unstable_followers = 24;- Specified by:
getUnstableFollowersOrDefaultin interfaceCommon.BRaftStatusOrBuilder
-
getUnstableFollowersOrThrow
a map of unstable followers, where the key is the peer ID and the value is the status of the follower
map<string, .dingodb.pb.common.RaftPeerStatus> unstable_followers = 24;- Specified by:
getUnstableFollowersOrThrowin interfaceCommon.BRaftStatusOrBuilder
-
clearUnstableFollowers
-
removeUnstableFollowers
a map of unstable followers, where the key is the peer ID and the value is the status of the follower
map<string, .dingodb.pb.common.RaftPeerStatus> unstable_followers = 24; -
getMutableUnstableFollowers
Deprecated.Use alternate mutation accessors instead. -
putUnstableFollowers
a map of unstable followers, where the key is the peer ID and the value is the status of the follower
map<string, .dingodb.pb.common.RaftPeerStatus> unstable_followers = 24; -
putAllUnstableFollowers
a map of unstable followers, where the key is the peer ID and the value is the status of the follower
map<string, .dingodb.pb.common.RaftPeerStatus> unstable_followers = 24; -
putUnstableFollowersBuilderIfAbsent
a map of unstable followers, where the key is the peer ID and the value is the status of the follower
map<string, .dingodb.pb.common.RaftPeerStatus> unstable_followers = 24; -
setUnknownFields
public final Common.BRaftStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.BRaftStatus.Builder>
-
mergeUnknownFields
public final Common.BRaftStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.BRaftStatus.Builder>
-