Module com.hedera.hashgraph.sdk
Interface HintsPreprocessingVoteTransactionBodyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
HintsPreprocessingVoteTransactionBody,HintsPreprocessingVoteTransactionBody.Builder
@Generated
public interface HintsPreprocessingVoteTransactionBodyOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlong* The id of the hinTS construction this vote is for.getVote()* The vote the node is casting for the aggregation of the hints in the given construction (which should be ongoing).booleanhasVote()* The vote the node is casting for the aggregation of the hints in the given construction (which should be ongoing).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getConstructionId
long getConstructionId()* The id of the hinTS construction this vote is for. Because the network only ever performs one construction a time, this is somewhat redundant, but included to detect any strange edge cases where a node is so far behind it votes on the wrong construction.
uint64 construction_id = 1;- Returns:
- The constructionId.
-
hasVote
boolean hasVote()* The vote the node is casting for the aggregation of the hints in the given construction (which should be ongoing).
.com.hedera.hapi.node.state.hints.PreprocessingVote vote = 2;- Returns:
- Whether the vote field is set.
-
getVote
PreprocessingVote getVote()* The vote the node is casting for the aggregation of the hints in the given construction (which should be ongoing).
.com.hedera.hapi.node.state.hints.PreprocessingVote vote = 2;- Returns:
- The vote.
-