java.lang.Object
com.google.protobuf.AbstractMessageLite<HistoryProofVote,HistoryProofVote.Builder>
com.google.protobuf.GeneratedMessageLite<HistoryProofVote,HistoryProofVote.Builder>
com.hedera.hashgraph.sdk.proto.HistoryProofVote
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,HistoryProofVoteOrBuilder
@Generated
public final class HistoryProofVote
extends com.google.protobuf.GeneratedMessageLite<HistoryProofVote,HistoryProofVote.Builder>
implements HistoryProofVoteOrBuilder
* A node's vote for a particular history proof; either by explicitly giving the proof, or by identifying a node that already voted for it.Protobuf type
com.hedera.hapi.node.state.history.HistoryProofVote-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* A node's vote for a particular history proof; either by explicitly giving the proof, or by identifying a node that already voted for it.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
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.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) long* The id of another node that already voted for the exact proof the submitting node is voting for.static HistoryProofVotegetProof()* The history proof the submitting node is voting for.boolean* The id of another node that already voted for the exact proof the submitting node is voting for.booleanhasProof()* The history proof the submitting node is voting for.static HistoryProofVote.Builderstatic HistoryProofVote.BuildernewBuilder(HistoryProofVote prototype) static HistoryProofVoteparseDelimitedFrom(InputStream input) static HistoryProofVoteparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HistoryProofVoteparseFrom(byte[] data) static HistoryProofVoteparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HistoryProofVoteparseFrom(com.google.protobuf.ByteString data) static HistoryProofVoteparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HistoryProofVoteparseFrom(com.google.protobuf.CodedInputStream input) static HistoryProofVoteparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HistoryProofVoteparseFrom(InputStream input) static HistoryProofVoteparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HistoryProofVoteparseFrom(ByteBuffer data) static HistoryProofVoteparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<HistoryProofVote> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
PROOF_FIELD_NUMBER
public static final int PROOF_FIELD_NUMBER- See Also:
-
CONGRUENT_NODE_ID_FIELD_NUMBER
public static final int CONGRUENT_NODE_ID_FIELD_NUMBER- See Also:
-
-
Method Details
-
getVoteCase
- Specified by:
getVoteCasein interfaceHistoryProofVoteOrBuilder
-
hasProof
public boolean hasProof()* The history proof the submitting node is voting for.
.com.hedera.hapi.node.state.history.HistoryProof proof = 1;- Specified by:
hasProofin interfaceHistoryProofVoteOrBuilder- Returns:
- Whether the proof field is set.
-
getProof
* The history proof the submitting node is voting for.
.com.hedera.hapi.node.state.history.HistoryProof proof = 1;- Specified by:
getProofin interfaceHistoryProofVoteOrBuilder- Returns:
- The proof.
-
hasCongruentNodeId
public boolean hasCongruentNodeId()* The id of another node that already voted for the exact proof the submitting node is voting for.
uint64 congruent_node_id = 2;- Specified by:
hasCongruentNodeIdin interfaceHistoryProofVoteOrBuilder- Returns:
- Whether the congruentNodeId field is set.
-
getCongruentNodeId
public long getCongruentNodeId()* The id of another node that already voted for the exact proof the submitting node is voting for.
uint64 congruent_node_id = 2;- Specified by:
getCongruentNodeIdin interfaceHistoryProofVoteOrBuilder- Returns:
- The congruentNodeId.
-
parseFrom
public static HistoryProofVote parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HistoryProofVote parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HistoryProofVote parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HistoryProofVote parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HistoryProofVote parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HistoryProofVote parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static HistoryProofVote parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static HistoryProofVote parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static HistoryProofVote parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static HistoryProofVote parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<HistoryProofVote,HistoryProofVote.Builder>
-
getDefaultInstance
-
parser
-