public static final class EloquentRaftProto.LogEntry extends com.google.protobuf.GeneratedMessageV3 implements EloquentRaftProto.LogEntryOrBuilder
ai.eloquent.raft.LogEntry| Modifier and Type | Class and Description |
|---|---|
static class |
EloquentRaftProto.LogEntry.Builder
Protobuf type
ai.eloquent.raft.LogEntry |
static class |
EloquentRaftProto.LogEntry.PayloadCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CONFIGURATION_FIELD_NUMBER |
static int |
INDEX_FIELD_NUMBER |
static int |
NEW_HOSPICE_MEMBER_FIELD_NUMBER |
static int |
TERM_FIELD_NUMBER |
static int |
TRANSITION_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getConfiguration(int index)
the new configuration for the cluster - only in CONFIGURATION
|
com.google.protobuf.ByteString |
getConfigurationBytes(int index)
the new configuration for the cluster - only in CONFIGURATION
|
int |
getConfigurationCount()
the new configuration for the cluster - only in CONFIGURATION
|
com.google.protobuf.ProtocolStringList |
getConfigurationList()
the new configuration for the cluster - only in CONFIGURATION
|
static EloquentRaftProto.LogEntry |
getDefaultInstance() |
EloquentRaftProto.LogEntry |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getIndex()
the index of the log entry
|
java.lang.String |
getNewHospiceMember()
or, the addition of a hospice member - only in TRANSITION messages
|
com.google.protobuf.ByteString |
getNewHospiceMemberBytes()
or, the addition of a hospice member - only in TRANSITION messages
|
com.google.protobuf.Parser<EloquentRaftProto.LogEntry> |
getParserForType() |
EloquentRaftProto.LogEntry.PayloadCase |
getPayloadCase() |
int |
getSerializedSize() |
long |
getTerm()
term when the log entry was created
|
com.google.protobuf.ByteString |
getTransition()
the raw bytes of the transition request - only in TRANSITION messages
|
EloquentRaftProto.LogEntryType |
getType()
the type of the log entry
|
int |
getTypeValue()
the type of the log entry
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static EloquentRaftProto.LogEntry.Builder |
newBuilder() |
static EloquentRaftProto.LogEntry.Builder |
newBuilder(EloquentRaftProto.LogEntry prototype) |
EloquentRaftProto.LogEntry.Builder |
newBuilderForType() |
protected EloquentRaftProto.LogEntry.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static EloquentRaftProto.LogEntry |
parseDelimitedFrom(java.io.InputStream input) |
static EloquentRaftProto.LogEntry |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EloquentRaftProto.LogEntry |
parseFrom(byte[] data) |
static EloquentRaftProto.LogEntry |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EloquentRaftProto.LogEntry |
parseFrom(java.nio.ByteBuffer data) |
static EloquentRaftProto.LogEntry |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EloquentRaftProto.LogEntry |
parseFrom(com.google.protobuf.ByteString data) |
static EloquentRaftProto.LogEntry |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EloquentRaftProto.LogEntry |
parseFrom(com.google.protobuf.CodedInputStream input) |
static EloquentRaftProto.LogEntry |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EloquentRaftProto.LogEntry |
parseFrom(java.io.InputStream input) |
static EloquentRaftProto.LogEntry |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<EloquentRaftProto.LogEntry> |
parser() |
EloquentRaftProto.LogEntry.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int INDEX_FIELD_NUMBER
public static final int TERM_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int TRANSITION_FIELD_NUMBER
public static final int NEW_HOSPICE_MEMBER_FIELD_NUMBER
public static final int CONFIGURATION_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public EloquentRaftProto.LogEntry.PayloadCase getPayloadCase()
getPayloadCase in interface EloquentRaftProto.LogEntryOrBuilderpublic long getIndex()
the index of the log entry
uint64 index = 1;getIndex in interface EloquentRaftProto.LogEntryOrBuilderpublic long getTerm()
term when the log entry was created
uint64 term = 2;getTerm in interface EloquentRaftProto.LogEntryOrBuilderpublic int getTypeValue()
the type of the log entry
.ai.eloquent.raft.LogEntryType type = 3;getTypeValue in interface EloquentRaftProto.LogEntryOrBuilderpublic EloquentRaftProto.LogEntryType getType()
the type of the log entry
.ai.eloquent.raft.LogEntryType type = 3;getType in interface EloquentRaftProto.LogEntryOrBuilderpublic com.google.protobuf.ByteString getTransition()
the raw bytes of the transition request - only in TRANSITION messages
bytes transition = 4;getTransition in interface EloquentRaftProto.LogEntryOrBuilderpublic java.lang.String getNewHospiceMember()
or, the addition of a hospice member - only in TRANSITION messages
string new_hospice_member = 6;getNewHospiceMember in interface EloquentRaftProto.LogEntryOrBuilderpublic com.google.protobuf.ByteString getNewHospiceMemberBytes()
or, the addition of a hospice member - only in TRANSITION messages
string new_hospice_member = 6;getNewHospiceMemberBytes in interface EloquentRaftProto.LogEntryOrBuilderpublic com.google.protobuf.ProtocolStringList getConfigurationList()
the new configuration for the cluster - only in CONFIGURATION
repeated string configuration = 5;getConfigurationList in interface EloquentRaftProto.LogEntryOrBuilderpublic int getConfigurationCount()
the new configuration for the cluster - only in CONFIGURATION
repeated string configuration = 5;getConfigurationCount in interface EloquentRaftProto.LogEntryOrBuilderpublic java.lang.String getConfiguration(int index)
the new configuration for the cluster - only in CONFIGURATION
repeated string configuration = 5;getConfiguration in interface EloquentRaftProto.LogEntryOrBuilderpublic com.google.protobuf.ByteString getConfigurationBytes(int index)
the new configuration for the cluster - only in CONFIGURATION
repeated string configuration = 5;getConfigurationBytes in interface EloquentRaftProto.LogEntryOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static EloquentRaftProto.LogEntry parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EloquentRaftProto.LogEntry parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EloquentRaftProto.LogEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EloquentRaftProto.LogEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EloquentRaftProto.LogEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EloquentRaftProto.LogEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EloquentRaftProto.LogEntry parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static EloquentRaftProto.LogEntry parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static EloquentRaftProto.LogEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static EloquentRaftProto.LogEntry parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static EloquentRaftProto.LogEntry parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static EloquentRaftProto.LogEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic EloquentRaftProto.LogEntry.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static EloquentRaftProto.LogEntry.Builder newBuilder()
public static EloquentRaftProto.LogEntry.Builder newBuilder(EloquentRaftProto.LogEntry prototype)
public EloquentRaftProto.LogEntry.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected EloquentRaftProto.LogEntry.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static EloquentRaftProto.LogEntry getDefaultInstance()
public static com.google.protobuf.Parser<EloquentRaftProto.LogEntry> parser()
public com.google.protobuf.Parser<EloquentRaftProto.LogEntry> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public EloquentRaftProto.LogEntry getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder