public static final class Chainedbft.QuorumCert extends com.google.protobuf.GeneratedMessageLite<Chainedbft.QuorumCert,Chainedbft.QuorumCert.Builder> implements Chainedbft.QuorumCertOrBuilder
QuorumCert is a data type that combines a collection of signatures from replicas.
Protobuf type pb.QuorumCert
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Chainedbft.QuorumCert.Builder
QuorumCert is a data type that combines a collection of signatures from replicas.
|
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>, com.google.protobuf.GeneratedMessageLite.MergeFromVisitor, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm, com.google.protobuf.GeneratedMessageLite.Visitor| 限定符和类型 | 字段和说明 |
|---|---|
static int |
PROPOSALID_FIELD_NUMBER |
static int |
PROPOSALMSG_FIELD_NUMBER |
static int |
SIGNINFOS_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
VIEWNUMBER_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
static Chainedbft.QuorumCert |
getDefaultInstance() |
com.google.protobuf.ByteString |
getProposalId()
The id of Proposal this QC certified.
|
com.google.protobuf.ByteString |
getProposalMsg()
The msg of Proposal this QC certified.
|
int |
getSerializedSize() |
Chainedbft.QCSignInfos |
getSignInfos()
SignInfos is the signs of the leader gathered from replicas
of a specifically certType.
|
Chainedbft.QCState |
getType()
The current type of this QC certified.
|
int |
getTypeValue()
The current type of this QC certified.
|
long |
getViewNumber()
The view number of this QC certified.
|
boolean |
hasSignInfos()
SignInfos is the signs of the leader gathered from replicas
of a specifically certType.
|
static Chainedbft.QuorumCert.Builder |
newBuilder() |
static Chainedbft.QuorumCert.Builder |
newBuilder(Chainedbft.QuorumCert prototype) |
static Chainedbft.QuorumCert |
parseDelimitedFrom(InputStream input) |
static Chainedbft.QuorumCert |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Chainedbft.QuorumCert |
parseFrom(byte[] data) |
static Chainedbft.QuorumCert |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Chainedbft.QuorumCert |
parseFrom(com.google.protobuf.ByteString data) |
static Chainedbft.QuorumCert |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Chainedbft.QuorumCert |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Chainedbft.QuorumCert |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Chainedbft.QuorumCert |
parseFrom(InputStream input) |
static Chainedbft.QuorumCert |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Chainedbft.QuorumCert> |
parser() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, isInitialized, makeImmutable, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, toBuilder, toStringpublic static final int PROPOSALID_FIELD_NUMBER
public static final int PROPOSALMSG_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int VIEWNUMBER_FIELD_NUMBER
public static final int SIGNINFOS_FIELD_NUMBER
public com.google.protobuf.ByteString getProposalId()
The id of Proposal this QC certified.
optional bytes ProposalId = 1;getProposalId 在接口中 Chainedbft.QuorumCertOrBuilderpublic com.google.protobuf.ByteString getProposalMsg()
The msg of Proposal this QC certified.
optional bytes ProposalMsg = 2;getProposalMsg 在接口中 Chainedbft.QuorumCertOrBuilderpublic int getTypeValue()
The current type of this QC certified. the type contains `NEW_VIEW`, `PREPARE`
optional .pb.QCState Type = 3;getTypeValue 在接口中 Chainedbft.QuorumCertOrBuilderpublic Chainedbft.QCState getType()
The current type of this QC certified. the type contains `NEW_VIEW`, `PREPARE`
optional .pb.QCState Type = 3;getType 在接口中 Chainedbft.QuorumCertOrBuilderpublic long getViewNumber()
The view number of this QC certified.
optional int64 ViewNumber = 4;getViewNumber 在接口中 Chainedbft.QuorumCertOrBuilderpublic boolean hasSignInfos()
SignInfos is the signs of the leader gathered from replicas of a specifically certType.
optional .pb.QCSignInfos SignInfos = 5;hasSignInfos 在接口中 Chainedbft.QuorumCertOrBuilderpublic Chainedbft.QCSignInfos getSignInfos()
SignInfos is the signs of the leader gathered from replicas of a specifically certType.
optional .pb.QCSignInfos SignInfos = 5;getSignInfos 在接口中 Chainedbft.QuorumCertOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLiteIOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitepublic static Chainedbft.QuorumCert parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Chainedbft.QuorumCert parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Chainedbft.QuorumCert parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Chainedbft.QuorumCert parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Chainedbft.QuorumCert parseFrom(InputStream input) throws IOException
IOExceptionpublic static Chainedbft.QuorumCert parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Chainedbft.QuorumCert parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Chainedbft.QuorumCert parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Chainedbft.QuorumCert parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Chainedbft.QuorumCert parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Chainedbft.QuorumCert.Builder newBuilder()
public static Chainedbft.QuorumCert.Builder newBuilder(Chainedbft.QuorumCert prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod 在类中 com.google.protobuf.GeneratedMessageLite<Chainedbft.QuorumCert,Chainedbft.QuorumCert.Builder>public static Chainedbft.QuorumCert getDefaultInstance()
public static com.google.protobuf.Parser<Chainedbft.QuorumCert> parser()
Copyright © 2020. All rights reserved.