public static final class Chainedbft.ChainedBftPhaseMessage extends com.google.protobuf.GeneratedMessageV3 implements Chainedbft.ChainedBftPhaseMessageOrBuilder
ChainedBftPhaseMessage is the proposal message of the protocal. In Hotstuff, there are two kinds of messages, "NEW_VIEW_MESSAGE" and "QC_Message". A stable leader can skip this "NEW_VIEW_MESSAGE".Protobuf type
pb.ChainedBftPhaseMessage| 限定符和类型 | 类和说明 |
|---|---|
static class |
Chainedbft.ChainedBftPhaseMessage.Builder
ChainedBftPhaseMessage is the proposal message of the protocal.
|
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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 限定符和类型 | 字段和说明 |
|---|---|
static int |
JUSTIFYQC_FIELD_NUMBER |
static int |
MSGDIGEST_FIELD_NUMBER |
static int |
PROPOSALQC_FIELD_NUMBER |
static int |
SIGNATURE_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
VIEWNUMBER_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
static Chainedbft.ChainedBftPhaseMessage |
getDefaultInstance() |
Chainedbft.ChainedBftPhaseMessage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Chainedbft.QuorumCert |
getJustifyQC()
JustifyQC is the QC of the leader gathered, send to next leader, while the message type is "NEW_VIEW_MESSAGE"
.pb.QuorumCert JustifyQC = 4; |
Chainedbft.QuorumCertOrBuilder |
getJustifyQCOrBuilder()
JustifyQC is the QC of the leader gathered, send to next leader, while the message type is "NEW_VIEW_MESSAGE"
.pb.QuorumCert JustifyQC = 4; |
com.google.protobuf.ByteString |
getMsgDigest()
MsgDigest is the digest of the msgg
bytes MsgDigest = 5; |
com.google.protobuf.Parser<Chainedbft.ChainedBftPhaseMessage> |
getParserForType() |
Chainedbft.QuorumCert |
getProposalQC()
The new proposal send to other replicas while the
.pb.QuorumCert ProposalQC = 3; |
Chainedbft.QuorumCertOrBuilder |
getProposalQCOrBuilder()
The new proposal send to other replicas while the
.pb.QuorumCert ProposalQC = 3; |
int |
getSerializedSize() |
Chainedbft.SignInfo |
getSignature()
Signature for this msg
.pb.SignInfo Signature = 6; |
Chainedbft.SignInfoOrBuilder |
getSignatureOrBuilder()
Signature for this msg
.pb.SignInfo Signature = 6; |
Chainedbft.QCState |
getType()
Message Type: NEW_VIEW_MESSAGE or QC_MESSAGE
.pb.QCState Type = 1; |
int |
getTypeValue()
Message Type: NEW_VIEW_MESSAGE or QC_MESSAGE
.pb.QCState Type = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
long |
getViewNumber()
ViewNumber the current view number
int64 ViewNumber = 2; |
int |
hashCode() |
boolean |
hasJustifyQC()
JustifyQC is the QC of the leader gathered, send to next leader, while the message type is "NEW_VIEW_MESSAGE"
.pb.QuorumCert JustifyQC = 4; |
boolean |
hasProposalQC()
The new proposal send to other replicas while the
.pb.QuorumCert ProposalQC = 3; |
boolean |
hasSignature()
Signature for this msg
.pb.SignInfo Signature = 6; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Chainedbft.ChainedBftPhaseMessage.Builder |
newBuilder() |
static Chainedbft.ChainedBftPhaseMessage.Builder |
newBuilder(Chainedbft.ChainedBftPhaseMessage prototype) |
Chainedbft.ChainedBftPhaseMessage.Builder |
newBuilderForType() |
protected Chainedbft.ChainedBftPhaseMessage.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Chainedbft.ChainedBftPhaseMessage |
parseDelimitedFrom(InputStream input) |
static Chainedbft.ChainedBftPhaseMessage |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Chainedbft.ChainedBftPhaseMessage |
parseFrom(byte[] data) |
static Chainedbft.ChainedBftPhaseMessage |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Chainedbft.ChainedBftPhaseMessage |
parseFrom(ByteBuffer data) |
static Chainedbft.ChainedBftPhaseMessage |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Chainedbft.ChainedBftPhaseMessage |
parseFrom(com.google.protobuf.ByteString data) |
static Chainedbft.ChainedBftPhaseMessage |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Chainedbft.ChainedBftPhaseMessage |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Chainedbft.ChainedBftPhaseMessage |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Chainedbft.ChainedBftPhaseMessage |
parseFrom(InputStream input) |
static Chainedbft.ChainedBftPhaseMessage |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Chainedbft.ChainedBftPhaseMessage> |
parser() |
Chainedbft.ChainedBftPhaseMessage.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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 VIEWNUMBER_FIELD_NUMBER
public static final int PROPOSALQC_FIELD_NUMBER
public static final int JUSTIFYQC_FIELD_NUMBER
public static final int MSGDIGEST_FIELD_NUMBER
public static final int SIGNATURE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 在类中 com.google.protobuf.GeneratedMessageV3public 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 int getTypeValue()
Message Type: NEW_VIEW_MESSAGE or QC_MESSAGE
.pb.QCState Type = 1;getTypeValue 在接口中 Chainedbft.ChainedBftPhaseMessageOrBuilderpublic Chainedbft.QCState getType()
Message Type: NEW_VIEW_MESSAGE or QC_MESSAGE
.pb.QCState Type = 1;getType 在接口中 Chainedbft.ChainedBftPhaseMessageOrBuilderpublic long getViewNumber()
ViewNumber the current view number
int64 ViewNumber = 2;getViewNumber 在接口中 Chainedbft.ChainedBftPhaseMessageOrBuilderpublic boolean hasProposalQC()
The new proposal send to other replicas while the
.pb.QuorumCert ProposalQC = 3;hasProposalQC 在接口中 Chainedbft.ChainedBftPhaseMessageOrBuilderpublic Chainedbft.QuorumCert getProposalQC()
The new proposal send to other replicas while the
.pb.QuorumCert ProposalQC = 3;getProposalQC 在接口中 Chainedbft.ChainedBftPhaseMessageOrBuilderpublic Chainedbft.QuorumCertOrBuilder getProposalQCOrBuilder()
The new proposal send to other replicas while the
.pb.QuorumCert ProposalQC = 3;public boolean hasJustifyQC()
JustifyQC is the QC of the leader gathered, send to next leader, while the message type is "NEW_VIEW_MESSAGE"
.pb.QuorumCert JustifyQC = 4;hasJustifyQC 在接口中 Chainedbft.ChainedBftPhaseMessageOrBuilderpublic Chainedbft.QuorumCert getJustifyQC()
JustifyQC is the QC of the leader gathered, send to next leader, while the message type is "NEW_VIEW_MESSAGE"
.pb.QuorumCert JustifyQC = 4;getJustifyQC 在接口中 Chainedbft.ChainedBftPhaseMessageOrBuilderpublic Chainedbft.QuorumCertOrBuilder getJustifyQCOrBuilder()
JustifyQC is the QC of the leader gathered, send to next leader, while the message type is "NEW_VIEW_MESSAGE"
.pb.QuorumCert JustifyQC = 4;public com.google.protobuf.ByteString getMsgDigest()
MsgDigest is the digest of the msgg
bytes MsgDigest = 5;getMsgDigest 在接口中 Chainedbft.ChainedBftPhaseMessageOrBuilderpublic boolean hasSignature()
Signature for this msg
.pb.SignInfo Signature = 6;hasSignature 在接口中 Chainedbft.ChainedBftPhaseMessageOrBuilderpublic Chainedbft.SignInfo getSignature()
Signature for this msg
.pb.SignInfo Signature = 6;getSignature 在接口中 Chainedbft.ChainedBftPhaseMessageOrBuilderpublic Chainedbft.SignInfoOrBuilder getSignatureOrBuilder()
Signature for this msg
.pb.SignInfo Signature = 6;public 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 Chainedbft.ChainedBftPhaseMessage parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Chainedbft.ChainedBftPhaseMessage parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Chainedbft.ChainedBftPhaseMessage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Chainedbft.ChainedBftPhaseMessage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Chainedbft.ChainedBftPhaseMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Chainedbft.ChainedBftPhaseMessage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Chainedbft.ChainedBftPhaseMessage parseFrom(InputStream input) throws IOException
IOExceptionpublic static Chainedbft.ChainedBftPhaseMessage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Chainedbft.ChainedBftPhaseMessage parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Chainedbft.ChainedBftPhaseMessage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Chainedbft.ChainedBftPhaseMessage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Chainedbft.ChainedBftPhaseMessage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Chainedbft.ChainedBftPhaseMessage.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Chainedbft.ChainedBftPhaseMessage.Builder newBuilder()
public static Chainedbft.ChainedBftPhaseMessage.Builder newBuilder(Chainedbft.ChainedBftPhaseMessage prototype)
public Chainedbft.ChainedBftPhaseMessage.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Chainedbft.ChainedBftPhaseMessage.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static Chainedbft.ChainedBftPhaseMessage getDefaultInstance()
public static com.google.protobuf.Parser<Chainedbft.ChainedBftPhaseMessage> parser()
public com.google.protobuf.Parser<Chainedbft.ChainedBftPhaseMessage> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Chainedbft.ChainedBftPhaseMessage getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2022. All rights reserved.