public static final class LogOutter.PBLogEntry extends com.google.protobuf.GeneratedMessageV3 implements LogOutter.PBLogEntryOrBuilder
jraft.PBLogEntry| Modifier and Type | Class and Description |
|---|---|
static class |
LogOutter.PBLogEntry.Builder
Protobuf type
jraft.PBLogEntry |
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 |
CHECKSUM_FIELD_NUMBER |
static int |
DATA_FIELD_NUMBER |
static int |
INDEX_FIELD_NUMBER |
static int |
LEARNERS_FIELD_NUMBER |
static int |
OLD_LEARNERS_FIELD_NUMBER |
static int |
OLD_PEERS_FIELD_NUMBER |
static com.google.protobuf.Parser<LogOutter.PBLogEntry> |
PARSER
Deprecated.
|
static int |
PEERS_FIELD_NUMBER |
static int |
TERM_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getChecksum()
optional int64 checksum = 7; |
com.google.protobuf.ByteString |
getData()
required bytes data = 6; |
static LogOutter.PBLogEntry |
getDefaultInstance() |
LogOutter.PBLogEntry |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getIndex()
required int64 index = 3; |
com.google.protobuf.ByteString |
getLearners(int index)
repeated bytes learners = 8; |
int |
getLearnersCount()
repeated bytes learners = 8; |
List<com.google.protobuf.ByteString> |
getLearnersList()
repeated bytes learners = 8; |
com.google.protobuf.ByteString |
getOldLearners(int index)
repeated bytes old_learners = 9; |
int |
getOldLearnersCount()
repeated bytes old_learners = 9; |
List<com.google.protobuf.ByteString> |
getOldLearnersList()
repeated bytes old_learners = 9; |
com.google.protobuf.ByteString |
getOldPeers(int index)
repeated bytes old_peers = 5; |
int |
getOldPeersCount()
repeated bytes old_peers = 5; |
List<com.google.protobuf.ByteString> |
getOldPeersList()
repeated bytes old_peers = 5; |
com.google.protobuf.Parser<LogOutter.PBLogEntry> |
getParserForType() |
com.google.protobuf.ByteString |
getPeers(int index)
repeated bytes peers = 4; |
int |
getPeersCount()
repeated bytes peers = 4; |
List<com.google.protobuf.ByteString> |
getPeersList()
repeated bytes peers = 4; |
int |
getSerializedSize() |
long |
getTerm()
required int64 term = 2; |
EnumOutter.EntryType |
getType()
required .jraft.EntryType type = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasChecksum()
optional int64 checksum = 7; |
boolean |
hasData()
required bytes data = 6; |
int |
hashCode() |
boolean |
hasIndex()
required int64 index = 3; |
boolean |
hasTerm()
required int64 term = 2; |
boolean |
hasType()
required .jraft.EntryType type = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LogOutter.PBLogEntry.Builder |
newBuilder() |
static LogOutter.PBLogEntry.Builder |
newBuilder(LogOutter.PBLogEntry prototype) |
LogOutter.PBLogEntry.Builder |
newBuilderForType() |
protected LogOutter.PBLogEntry.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static LogOutter.PBLogEntry |
parseDelimitedFrom(InputStream input) |
static LogOutter.PBLogEntry |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LogOutter.PBLogEntry |
parseFrom(byte[] data) |
static LogOutter.PBLogEntry |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LogOutter.PBLogEntry |
parseFrom(ByteBuffer data) |
static LogOutter.PBLogEntry |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LogOutter.PBLogEntry |
parseFrom(com.google.protobuf.ByteString data) |
static LogOutter.PBLogEntry |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LogOutter.PBLogEntry |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LogOutter.PBLogEntry |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LogOutter.PBLogEntry |
parseFrom(InputStream input) |
static LogOutter.PBLogEntry |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LogOutter.PBLogEntry> |
parser() |
LogOutter.PBLogEntry.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 TYPE_FIELD_NUMBER
public static final int TERM_FIELD_NUMBER
public static final int INDEX_FIELD_NUMBER
public static final int PEERS_FIELD_NUMBER
public static final int OLD_PEERS_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
public static final int CHECKSUM_FIELD_NUMBER
public static final int LEARNERS_FIELD_NUMBER
public static final int OLD_LEARNERS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<LogOutter.PBLogEntry> PARSER
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 boolean hasType()
required .jraft.EntryType type = 1;hasType in interface LogOutter.PBLogEntryOrBuilderpublic EnumOutter.EntryType getType()
required .jraft.EntryType type = 1;getType in interface LogOutter.PBLogEntryOrBuilderpublic boolean hasTerm()
required int64 term = 2;hasTerm in interface LogOutter.PBLogEntryOrBuilderpublic long getTerm()
required int64 term = 2;getTerm in interface LogOutter.PBLogEntryOrBuilderpublic boolean hasIndex()
required int64 index = 3;hasIndex in interface LogOutter.PBLogEntryOrBuilderpublic long getIndex()
required int64 index = 3;getIndex in interface LogOutter.PBLogEntryOrBuilderpublic List<com.google.protobuf.ByteString> getPeersList()
repeated bytes peers = 4;getPeersList in interface LogOutter.PBLogEntryOrBuilderpublic int getPeersCount()
repeated bytes peers = 4;getPeersCount in interface LogOutter.PBLogEntryOrBuilderpublic com.google.protobuf.ByteString getPeers(int index)
repeated bytes peers = 4;getPeers in interface LogOutter.PBLogEntryOrBuilderpublic List<com.google.protobuf.ByteString> getOldPeersList()
repeated bytes old_peers = 5;getOldPeersList in interface LogOutter.PBLogEntryOrBuilderpublic int getOldPeersCount()
repeated bytes old_peers = 5;getOldPeersCount in interface LogOutter.PBLogEntryOrBuilderpublic com.google.protobuf.ByteString getOldPeers(int index)
repeated bytes old_peers = 5;getOldPeers in interface LogOutter.PBLogEntryOrBuilderpublic boolean hasData()
required bytes data = 6;hasData in interface LogOutter.PBLogEntryOrBuilderpublic com.google.protobuf.ByteString getData()
required bytes data = 6;getData in interface LogOutter.PBLogEntryOrBuilderpublic boolean hasChecksum()
optional int64 checksum = 7;hasChecksum in interface LogOutter.PBLogEntryOrBuilderpublic long getChecksum()
optional int64 checksum = 7;getChecksum in interface LogOutter.PBLogEntryOrBuilderpublic List<com.google.protobuf.ByteString> getLearnersList()
repeated bytes learners = 8;getLearnersList in interface LogOutter.PBLogEntryOrBuilderpublic int getLearnersCount()
repeated bytes learners = 8;getLearnersCount in interface LogOutter.PBLogEntryOrBuilderpublic com.google.protobuf.ByteString getLearners(int index)
repeated bytes learners = 8;getLearners in interface LogOutter.PBLogEntryOrBuilderpublic List<com.google.protobuf.ByteString> getOldLearnersList()
repeated bytes old_learners = 9;getOldLearnersList in interface LogOutter.PBLogEntryOrBuilderpublic int getOldLearnersCount()
repeated bytes old_learners = 9;getOldLearnersCount in interface LogOutter.PBLogEntryOrBuilderpublic com.google.protobuf.ByteString getOldLearners(int index)
repeated bytes old_learners = 9;getOldLearners in interface LogOutter.PBLogEntryOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(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 LogOutter.PBLogEntry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LogOutter.PBLogEntry parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LogOutter.PBLogEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LogOutter.PBLogEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LogOutter.PBLogEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LogOutter.PBLogEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LogOutter.PBLogEntry parseFrom(InputStream input) throws IOException
IOExceptionpublic static LogOutter.PBLogEntry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LogOutter.PBLogEntry parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static LogOutter.PBLogEntry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LogOutter.PBLogEntry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static LogOutter.PBLogEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic LogOutter.PBLogEntry.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LogOutter.PBLogEntry.Builder newBuilder()
public static LogOutter.PBLogEntry.Builder newBuilder(LogOutter.PBLogEntry prototype)
public LogOutter.PBLogEntry.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LogOutter.PBLogEntry.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LogOutter.PBLogEntry getDefaultInstance()
public static com.google.protobuf.Parser<LogOutter.PBLogEntry> parser()
public com.google.protobuf.Parser<LogOutter.PBLogEntry> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LogOutter.PBLogEntry getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024. All rights reserved.