Module com.hedera.hashgraph.sdk
Class HintsPreprocessingVoteTransactionBody
java.lang.Object
com.google.protobuf.AbstractMessageLite<HintsPreprocessingVoteTransactionBody,HintsPreprocessingVoteTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite<HintsPreprocessingVoteTransactionBody,HintsPreprocessingVoteTransactionBody.Builder>
com.hedera.hapi.services.auxiliary.hints.legacy.HintsPreprocessingVoteTransactionBody
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,HintsPreprocessingVoteTransactionBodyOrBuilder
@Generated
public final class HintsPreprocessingVoteTransactionBody
extends com.google.protobuf.GeneratedMessageLite<HintsPreprocessingVoteTransactionBody,HintsPreprocessingVoteTransactionBody.Builder>
implements HintsPreprocessingVoteTransactionBodyOrBuilder
* A transaction body to publish a node's vote for the results of aggregating the hinTS keys for a specified construction id. The node can either give their explicit aggregation results, or delegate their vote to another node's results.Protobuf type
com.hedera.hapi.services.auxiliary.hints.HintsPreprocessingVoteTransactionBody-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class* A transaction body to publish a node's vote for the results of aggregating the hinTS keys for a specified construction id.Nested 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 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).newBuilder(HintsPreprocessingVoteTransactionBody prototype) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<HintsPreprocessingVoteTransactionBody> 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
-
CONSTRUCTION_ID_FIELD_NUMBER
public static final int CONSTRUCTION_ID_FIELD_NUMBER- See Also:
-
VOTE_FIELD_NUMBER
public static final int VOTE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getConstructionId
public 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;- Specified by:
getConstructionIdin interfaceHintsPreprocessingVoteTransactionBodyOrBuilder- Returns:
- The constructionId.
-
hasVote
public 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;- Specified by:
hasVotein interfaceHintsPreprocessingVoteTransactionBodyOrBuilder- Returns:
- Whether the vote field is set.
-
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;- Specified by:
getVotein interfaceHintsPreprocessingVoteTransactionBodyOrBuilder- Returns:
- The vote.
-
parseFrom
public static HintsPreprocessingVoteTransactionBody parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HintsPreprocessingVoteTransactionBody parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HintsPreprocessingVoteTransactionBody parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HintsPreprocessingVoteTransactionBody parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HintsPreprocessingVoteTransactionBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HintsPreprocessingVoteTransactionBody parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static HintsPreprocessingVoteTransactionBody parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static HintsPreprocessingVoteTransactionBody parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static HintsPreprocessingVoteTransactionBody parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static HintsPreprocessingVoteTransactionBody parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static HintsPreprocessingVoteTransactionBody parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static HintsPreprocessingVoteTransactionBody.Builder newBuilder(HintsPreprocessingVoteTransactionBody prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<HintsPreprocessingVoteTransactionBody,HintsPreprocessingVoteTransactionBody.Builder>
-
getDefaultInstance
-
parser
-