Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface HistoryProofVoteOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
HistoryProofVote,HistoryProofVote.Builder
@Generated
public interface HistoryProofVoteOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlong* The id of another node that already voted for the exact proof the submitting node is voting for.getProof()* 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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasProof
boolean hasProof()* The history proof the submitting node is voting for.
.com.hedera.hapi.node.state.history.HistoryProof proof = 1;- Returns:
- Whether the proof field is set.
-
getProof
HistoryProof getProof()* The history proof the submitting node is voting for.
.com.hedera.hapi.node.state.history.HistoryProof proof = 1;- Returns:
- The proof.
-
hasCongruentNodeId
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;- Returns:
- Whether the congruentNodeId field is set.
-
getCongruentNodeId
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;- Returns:
- The congruentNodeId.
-
getVoteCase
HistoryProofVote.VoteCase getVoteCase()
-