public static final class LogOutter.PBLogEntry extends com.google.protobuf.GeneratedMessageV3 implements LogOutter.PBLogEntryOrBuilder
jraft.PBLogEntry| 限定符和类型 | 类和说明 |
|---|---|
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| 限定符和类型 | 字段和说明 |
|---|---|
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
已过时。
|
static int |
PEERS_FIELD_NUMBER |
static int |
TERM_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
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, writeTopublic 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 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public boolean hasType()
required .jraft.EntryType type = 1;hasType 在接口中 LogOutter.PBLogEntryOrBuilderpublic EnumOutter.EntryType getType()
required .jraft.EntryType type = 1;getType 在接口中 LogOutter.PBLogEntryOrBuilderpublic boolean hasTerm()
required int64 term = 2;hasTerm 在接口中 LogOutter.PBLogEntryOrBuilderpublic long getTerm()
required int64 term = 2;getTerm 在接口中 LogOutter.PBLogEntryOrBuilderpublic boolean hasIndex()
required int64 index = 3;hasIndex 在接口中 LogOutter.PBLogEntryOrBuilderpublic long getIndex()
required int64 index = 3;getIndex 在接口中 LogOutter.PBLogEntryOrBuilderpublic List<com.google.protobuf.ByteString> getPeersList()
repeated bytes peers = 4;getPeersList 在接口中 LogOutter.PBLogEntryOrBuilderpublic int getPeersCount()
repeated bytes peers = 4;getPeersCount 在接口中 LogOutter.PBLogEntryOrBuilderpublic com.google.protobuf.ByteString getPeers(int index)
repeated bytes peers = 4;getPeers 在接口中 LogOutter.PBLogEntryOrBuilderpublic List<com.google.protobuf.ByteString> getOldPeersList()
repeated bytes old_peers = 5;getOldPeersList 在接口中 LogOutter.PBLogEntryOrBuilderpublic int getOldPeersCount()
repeated bytes old_peers = 5;public com.google.protobuf.ByteString getOldPeers(int index)
repeated bytes old_peers = 5;getOldPeers 在接口中 LogOutter.PBLogEntryOrBuilderpublic boolean hasData()
required bytes data = 6;hasData 在接口中 LogOutter.PBLogEntryOrBuilderpublic com.google.protobuf.ByteString getData()
required bytes data = 6;getData 在接口中 LogOutter.PBLogEntryOrBuilderpublic boolean hasChecksum()
optional int64 checksum = 7;hasChecksum 在接口中 LogOutter.PBLogEntryOrBuilderpublic long getChecksum()
optional int64 checksum = 7;getChecksum 在接口中 LogOutter.PBLogEntryOrBuilderpublic List<com.google.protobuf.ByteString> getLearnersList()
repeated bytes learners = 8;getLearnersList 在接口中 LogOutter.PBLogEntryOrBuilderpublic int getLearnersCount()
repeated bytes learners = 8;public com.google.protobuf.ByteString getLearners(int index)
repeated bytes learners = 8;getLearners 在接口中 LogOutter.PBLogEntryOrBuilderpublic List<com.google.protobuf.ByteString> getOldLearnersList()
repeated bytes old_learners = 9;public int getOldLearnersCount()
repeated bytes old_learners = 9;public com.google.protobuf.ByteString getOldLearners(int index)
repeated bytes old_learners = 9;getOldLearners 在接口中 LogOutter.PBLogEntryOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 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 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static LogOutter.PBLogEntry.Builder newBuilder()
public static LogOutter.PBLogEntry.Builder newBuilder(LogOutter.PBLogEntry prototype)
public LogOutter.PBLogEntry.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected LogOutter.PBLogEntry.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 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 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public LogOutter.PBLogEntry getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.