public static final class Chainedbft.ChainedBftVoteMessage.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Chainedbft.ChainedBftVoteMessage,Chainedbft.ChainedBftVoteMessage.Builder> implements Chainedbft.ChainedBftVoteMessageOrBuilder
ChainedBftVoteMessage is the vote message of the protocal.
Protobuf type pb.ChainedBftVoteMessage
| 限定符和类型 | 方法和说明 |
|---|---|
Chainedbft.ChainedBftVoteMessage.Builder |
clearProposalId()
The id of this message votes for.
|
Chainedbft.ChainedBftVoteMessage.Builder |
clearSignature()
Replica will sign the QCMessage if the QuorumCert if valid.
|
com.google.protobuf.ByteString |
getProposalId()
The id of this message votes for.
|
Chainedbft.SignInfo |
getSignature()
Replica will sign the QCMessage if the QuorumCert if valid.
|
boolean |
hasSignature()
Replica will sign the QCMessage if the QuorumCert if valid.
|
Chainedbft.ChainedBftVoteMessage.Builder |
mergeSignature(Chainedbft.SignInfo value)
Replica will sign the QCMessage if the QuorumCert if valid.
|
Chainedbft.ChainedBftVoteMessage.Builder |
setProposalId(com.google.protobuf.ByteString value)
The id of this message votes for.
|
Chainedbft.ChainedBftVoteMessage.Builder |
setSignature(Chainedbft.SignInfo.Builder builderForValue)
Replica will sign the QCMessage if the QuorumCert if valid.
|
Chainedbft.ChainedBftVoteMessage.Builder |
setSignature(Chainedbft.SignInfo value)
Replica will sign the QCMessage if the QuorumCert if valid.
|
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 this message votes for.
optional bytes ProposalId = 1;public Chainedbft.ChainedBftVoteMessage.Builder setProposalId(com.google.protobuf.ByteString value)
The id of this message votes for.
optional bytes ProposalId = 1;public Chainedbft.ChainedBftVoteMessage.Builder clearProposalId()
The id of this message votes for.
optional bytes ProposalId = 1;public boolean hasSignature()
Replica will sign the QCMessage if the QuorumCert if valid.
optional .pb.SignInfo Signature = 2;public Chainedbft.SignInfo getSignature()
Replica will sign the QCMessage if the QuorumCert if valid.
optional .pb.SignInfo Signature = 2;public Chainedbft.ChainedBftVoteMessage.Builder setSignature(Chainedbft.SignInfo value)
Replica will sign the QCMessage if the QuorumCert if valid.
optional .pb.SignInfo Signature = 2;public Chainedbft.ChainedBftVoteMessage.Builder setSignature(Chainedbft.SignInfo.Builder builderForValue)
Replica will sign the QCMessage if the QuorumCert if valid.
optional .pb.SignInfo Signature = 2;public Chainedbft.ChainedBftVoteMessage.Builder mergeSignature(Chainedbft.SignInfo value)
Replica will sign the QCMessage if the QuorumCert if valid.
optional .pb.SignInfo Signature = 2;public Chainedbft.ChainedBftVoteMessage.Builder clearSignature()
Replica will sign the QCMessage if the QuorumCert if valid.
optional .pb.SignInfo Signature = 2;Copyright © 2020. All rights reserved.