public static final class EloquentRaftProto.ApplyTransitionReply.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EloquentRaftProto.ApplyTransitionReply.Builder> implements EloquentRaftProto.ApplyTransitionReplyOrBuilder
ai.eloquent.raft.ApplyTransitionReply| Modifier and Type | Method and Description |
|---|---|
EloquentRaftProto.ApplyTransitionReply.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
EloquentRaftProto.ApplyTransitionReply |
build() |
EloquentRaftProto.ApplyTransitionReply |
buildPartial() |
EloquentRaftProto.ApplyTransitionReply.Builder |
clear() |
EloquentRaftProto.ApplyTransitionReply.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
EloquentRaftProto.ApplyTransitionReply.Builder |
clearNewEntryIndex()
the index of the log entry
|
EloquentRaftProto.ApplyTransitionReply.Builder |
clearNewEntryTerm()
the term of the log entry
|
EloquentRaftProto.ApplyTransitionReply.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
EloquentRaftProto.ApplyTransitionReply.Builder |
clearSuccess()
false if we this node is no longer the leader and the transition couldn't be applied
|
EloquentRaftProto.ApplyTransitionReply.Builder |
clearTerm()
currentTerm, for requester to update itself
|
EloquentRaftProto.ApplyTransitionReply.Builder |
clone() |
EloquentRaftProto.ApplyTransitionReply |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getNewEntryIndex()
the index of the log entry
|
long |
getNewEntryTerm()
the term of the log entry
|
boolean |
getSuccess()
false if we this node is no longer the leader and the transition couldn't be applied
|
long |
getTerm()
currentTerm, for requester to update itself
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
EloquentRaftProto.ApplyTransitionReply.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
EloquentRaftProto.ApplyTransitionReply.Builder |
mergeFrom(EloquentRaftProto.ApplyTransitionReply other) |
EloquentRaftProto.ApplyTransitionReply.Builder |
mergeFrom(com.google.protobuf.Message other) |
EloquentRaftProto.ApplyTransitionReply.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EloquentRaftProto.ApplyTransitionReply.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
EloquentRaftProto.ApplyTransitionReply.Builder |
setNewEntryIndex(long value)
the index of the log entry
|
EloquentRaftProto.ApplyTransitionReply.Builder |
setNewEntryTerm(long value)
the term of the log entry
|
EloquentRaftProto.ApplyTransitionReply.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
EloquentRaftProto.ApplyTransitionReply.Builder |
setSuccess(boolean value)
false if we this node is no longer the leader and the transition couldn't be applied
|
EloquentRaftProto.ApplyTransitionReply.Builder |
setTerm(long value)
currentTerm, for requester to update itself
|
EloquentRaftProto.ApplyTransitionReply.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, 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.ApplyTransitionReply.Builder>public EloquentRaftProto.ApplyTransitionReply.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.ApplyTransitionReply.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.ApplyTransitionReply.Builder>public EloquentRaftProto.ApplyTransitionReply getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic EloquentRaftProto.ApplyTransitionReply build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic EloquentRaftProto.ApplyTransitionReply buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic EloquentRaftProto.ApplyTransitionReply.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.ApplyTransitionReply.Builder>public EloquentRaftProto.ApplyTransitionReply.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.ApplyTransitionReply.Builder>public EloquentRaftProto.ApplyTransitionReply.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<EloquentRaftProto.ApplyTransitionReply.Builder>public EloquentRaftProto.ApplyTransitionReply.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<EloquentRaftProto.ApplyTransitionReply.Builder>public EloquentRaftProto.ApplyTransitionReply.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.ApplyTransitionReply.Builder>public EloquentRaftProto.ApplyTransitionReply.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.ApplyTransitionReply.Builder>public EloquentRaftProto.ApplyTransitionReply.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EloquentRaftProto.ApplyTransitionReply.Builder>public EloquentRaftProto.ApplyTransitionReply.Builder mergeFrom(EloquentRaftProto.ApplyTransitionReply other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<EloquentRaftProto.ApplyTransitionReply.Builder>public EloquentRaftProto.ApplyTransitionReply.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.ApplyTransitionReply.Builder>java.io.IOExceptionpublic long getTerm()
currentTerm, for requester to update itself
uint64 term = 1;getTerm in interface EloquentRaftProto.ApplyTransitionReplyOrBuilderpublic EloquentRaftProto.ApplyTransitionReply.Builder setTerm(long value)
currentTerm, for requester to update itself
uint64 term = 1;public EloquentRaftProto.ApplyTransitionReply.Builder clearTerm()
currentTerm, for requester to update itself
uint64 term = 1;public boolean getSuccess()
false if we this node is no longer the leader and the transition couldn't be applied
bool success = 2;getSuccess in interface EloquentRaftProto.ApplyTransitionReplyOrBuilderpublic EloquentRaftProto.ApplyTransitionReply.Builder setSuccess(boolean value)
false if we this node is no longer the leader and the transition couldn't be applied
bool success = 2;public EloquentRaftProto.ApplyTransitionReply.Builder clearSuccess()
false if we this node is no longer the leader and the transition couldn't be applied
bool success = 2;public long getNewEntryIndex()
the index of the log entry
uint64 newEntryIndex = 3;getNewEntryIndex in interface EloquentRaftProto.ApplyTransitionReplyOrBuilderpublic EloquentRaftProto.ApplyTransitionReply.Builder setNewEntryIndex(long value)
the index of the log entry
uint64 newEntryIndex = 3;public EloquentRaftProto.ApplyTransitionReply.Builder clearNewEntryIndex()
the index of the log entry
uint64 newEntryIndex = 3;public long getNewEntryTerm()
the term of the log entry
uint64 newEntryTerm = 4;getNewEntryTerm in interface EloquentRaftProto.ApplyTransitionReplyOrBuilderpublic EloquentRaftProto.ApplyTransitionReply.Builder setNewEntryTerm(long value)
the term of the log entry
uint64 newEntryTerm = 4;public EloquentRaftProto.ApplyTransitionReply.Builder clearNewEntryTerm()
the term of the log entry
uint64 newEntryTerm = 4;public final EloquentRaftProto.ApplyTransitionReply.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EloquentRaftProto.ApplyTransitionReply.Builder>public final EloquentRaftProto.ApplyTransitionReply.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EloquentRaftProto.ApplyTransitionReply.Builder>