public static final class Chainedbft.QuorumCert.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<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
| 限定符和类型 | 方法和说明 |
|---|---|
Chainedbft.QuorumCert.Builder |
clearProposalId()
The id of Proposal this QC certified.
|
Chainedbft.QuorumCert.Builder |
clearProposalMsg()
The msg of Proposal this QC certified.
|
Chainedbft.QuorumCert.Builder |
clearSignInfos()
SignInfos is the signs of the leader gathered from replicas
of a specifically certType.
|
Chainedbft.QuorumCert.Builder |
clearType()
The current type of this QC certified.
|
Chainedbft.QuorumCert.Builder |
clearViewNumber()
The view number of this QC certified.
|
com.google.protobuf.ByteString |
getProposalId()
The id of Proposal this QC certified.
|
com.google.protobuf.ByteString |
getProposalMsg()
The msg of Proposal this QC certified.
|
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.
|
Chainedbft.QuorumCert.Builder |
mergeSignInfos(Chainedbft.QCSignInfos value)
SignInfos is the signs of the leader gathered from replicas
of a specifically certType.
|
Chainedbft.QuorumCert.Builder |
setProposalId(com.google.protobuf.ByteString value)
The id of Proposal this QC certified.
|
Chainedbft.QuorumCert.Builder |
setProposalMsg(com.google.protobuf.ByteString value)
The msg of Proposal this QC certified.
|
Chainedbft.QuorumCert.Builder |
setSignInfos(Chainedbft.QCSignInfos.Builder builderForValue)
SignInfos is the signs of the leader gathered from replicas
of a specifically certType.
|
Chainedbft.QuorumCert.Builder |
setSignInfos(Chainedbft.QCSignInfos value)
SignInfos is the signs of the leader gathered from replicas
of a specifically certType.
|
Chainedbft.QuorumCert.Builder |
setType(Chainedbft.QCState value)
The current type of this QC certified.
|
Chainedbft.QuorumCert.Builder |
setTypeValue(int value)
The current type of this QC certified.
|
Chainedbft.QuorumCert.Builder |
setViewNumber(long value)
The view number of this QC certified.
|
build, buildPartial, clear, clone, copyOnWrite, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFromaddAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionpublic com.google.protobuf.ByteString getProposalId()
The id of Proposal this QC certified.
optional bytes ProposalId = 1;getProposalId 在接口中 Chainedbft.QuorumCertOrBuilderpublic Chainedbft.QuorumCert.Builder setProposalId(com.google.protobuf.ByteString value)
The id of Proposal this QC certified.
optional bytes ProposalId = 1;public Chainedbft.QuorumCert.Builder clearProposalId()
The id of Proposal this QC certified.
optional bytes ProposalId = 1;public com.google.protobuf.ByteString getProposalMsg()
The msg of Proposal this QC certified.
optional bytes ProposalMsg = 2;getProposalMsg 在接口中 Chainedbft.QuorumCertOrBuilderpublic Chainedbft.QuorumCert.Builder setProposalMsg(com.google.protobuf.ByteString value)
The msg of Proposal this QC certified.
optional bytes ProposalMsg = 2;public Chainedbft.QuorumCert.Builder clearProposalMsg()
The msg of Proposal this QC certified.
optional bytes ProposalMsg = 2;public int getTypeValue()
The current type of this QC certified. the type contains `NEW_VIEW`, `PREPARE`
optional .pb.QCState Type = 3;getTypeValue 在接口中 Chainedbft.QuorumCertOrBuilderpublic Chainedbft.QuorumCert.Builder setTypeValue(int value)
The current type of this QC certified. the type contains `NEW_VIEW`, `PREPARE`
optional .pb.QCState Type = 3;public Chainedbft.QCState getType()
The current type of this QC certified. the type contains `NEW_VIEW`, `PREPARE`
optional .pb.QCState Type = 3;getType 在接口中 Chainedbft.QuorumCertOrBuilderpublic Chainedbft.QuorumCert.Builder setType(Chainedbft.QCState value)
The current type of this QC certified. the type contains `NEW_VIEW`, `PREPARE`
optional .pb.QCState Type = 3;public Chainedbft.QuorumCert.Builder clearType()
The current type of this QC certified. the type contains `NEW_VIEW`, `PREPARE`
optional .pb.QCState Type = 3;public long getViewNumber()
The view number of this QC certified.
optional int64 ViewNumber = 4;getViewNumber 在接口中 Chainedbft.QuorumCertOrBuilderpublic Chainedbft.QuorumCert.Builder setViewNumber(long value)
The view number of this QC certified.
optional int64 ViewNumber = 4;public Chainedbft.QuorumCert.Builder clearViewNumber()
The view number of this QC certified.
optional int64 ViewNumber = 4;public 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 Chainedbft.QuorumCert.Builder setSignInfos(Chainedbft.QCSignInfos value)
SignInfos is the signs of the leader gathered from replicas of a specifically certType.
optional .pb.QCSignInfos SignInfos = 5;public Chainedbft.QuorumCert.Builder setSignInfos(Chainedbft.QCSignInfos.Builder builderForValue)
SignInfos is the signs of the leader gathered from replicas of a specifically certType.
optional .pb.QCSignInfos SignInfos = 5;public Chainedbft.QuorumCert.Builder mergeSignInfos(Chainedbft.QCSignInfos value)
SignInfos is the signs of the leader gathered from replicas of a specifically certType.
optional .pb.QCSignInfos SignInfos = 5;public Chainedbft.QuorumCert.Builder clearSignInfos()
SignInfos is the signs of the leader gathered from replicas of a specifically certType.
optional .pb.QCSignInfos SignInfos = 5;Copyright © 2020. All rights reserved.