public static final class EloquentRaftProto.RequestVoteRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EloquentRaftProto.RequestVoteRequest.Builder> implements EloquentRaftProto.RequestVoteRequestOrBuilder
ai.eloquent.raft.RequestVoteRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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<EloquentRaftProto.RequestVoteRequest.Builder>public EloquentRaftProto.RequestVoteRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<EloquentRaftProto.RequestVoteRequest.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<EloquentRaftProto.RequestVoteRequest.Builder>public EloquentRaftProto.RequestVoteRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic EloquentRaftProto.RequestVoteRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic EloquentRaftProto.RequestVoteRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic EloquentRaftProto.RequestVoteRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<EloquentRaftProto.RequestVoteRequest.Builder>public EloquentRaftProto.RequestVoteRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<EloquentRaftProto.RequestVoteRequest.Builder>public EloquentRaftProto.RequestVoteRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<EloquentRaftProto.RequestVoteRequest.Builder>public EloquentRaftProto.RequestVoteRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<EloquentRaftProto.RequestVoteRequest.Builder>public EloquentRaftProto.RequestVoteRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EloquentRaftProto.RequestVoteRequest.Builder>public EloquentRaftProto.RequestVoteRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EloquentRaftProto.RequestVoteRequest.Builder>public EloquentRaftProto.RequestVoteRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EloquentRaftProto.RequestVoteRequest.Builder>public EloquentRaftProto.RequestVoteRequest.Builder mergeFrom(EloquentRaftProto.RequestVoteRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<EloquentRaftProto.RequestVoteRequest.Builder>public EloquentRaftProto.RequestVoteRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EloquentRaftProto.RequestVoteRequest.Builder>java.io.IOExceptionpublic long getTerm()
Candidate's term
uint64 term = 1;getTerm in interface EloquentRaftProto.RequestVoteRequestOrBuilderpublic EloquentRaftProto.RequestVoteRequest.Builder setTerm(long value)
Candidate's term
uint64 term = 1;public EloquentRaftProto.RequestVoteRequest.Builder clearTerm()
Candidate's term
uint64 term = 1;public java.lang.String getCandidateName()
the candidate requesting votes
string candidateName = 2;getCandidateName in interface EloquentRaftProto.RequestVoteRequestOrBuilderpublic com.google.protobuf.ByteString getCandidateNameBytes()
the candidate requesting votes
string candidateName = 2;getCandidateNameBytes in interface EloquentRaftProto.RequestVoteRequestOrBuilderpublic EloquentRaftProto.RequestVoteRequest.Builder setCandidateName(java.lang.String value)
the candidate requesting votes
string candidateName = 2;public EloquentRaftProto.RequestVoteRequest.Builder clearCandidateName()
the candidate requesting votes
string candidateName = 2;public EloquentRaftProto.RequestVoteRequest.Builder setCandidateNameBytes(com.google.protobuf.ByteString value)
the candidate requesting votes
string candidateName = 2;public long getLastLogIndex()
index of candidate's last log entry
uint64 lastLogIndex = 3;getLastLogIndex in interface EloquentRaftProto.RequestVoteRequestOrBuilderpublic EloquentRaftProto.RequestVoteRequest.Builder setLastLogIndex(long value)
index of candidate's last log entry
uint64 lastLogIndex = 3;public EloquentRaftProto.RequestVoteRequest.Builder clearLastLogIndex()
index of candidate's last log entry
uint64 lastLogIndex = 3;public long getLastLogTerm()
term of candidate's last log entry
uint64 lastLogTerm = 4;getLastLogTerm in interface EloquentRaftProto.RequestVoteRequestOrBuilderpublic EloquentRaftProto.RequestVoteRequest.Builder setLastLogTerm(long value)
term of candidate's last log entry
uint64 lastLogTerm = 4;public EloquentRaftProto.RequestVoteRequest.Builder clearLastLogTerm()
term of candidate's last log entry
uint64 lastLogTerm = 4;public final EloquentRaftProto.RequestVoteRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EloquentRaftProto.RequestVoteRequest.Builder>public final EloquentRaftProto.RequestVoteRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EloquentRaftProto.RequestVoteRequest.Builder>