Module com.hedera.hashgraph.sdk
Class HintsKeyPublicationTransactionBody.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<HintsKeyPublicationTransactionBody,HintsKeyPublicationTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<HintsKeyPublicationTransactionBody,HintsKeyPublicationTransactionBody.Builder>
com.hedera.hapi.services.auxiliary.hints.legacy.HintsKeyPublicationTransactionBody.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,HintsKeyPublicationTransactionBodyOrBuilder,Cloneable
- Enclosing class:
HintsKeyPublicationTransactionBody
public static final class HintsKeyPublicationTransactionBody.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<HintsKeyPublicationTransactionBody,HintsKeyPublicationTransactionBody.Builder>
implements HintsKeyPublicationTransactionBodyOrBuilder
* A transaction body to publish a node's hinTS key for a certain party id and number of parties. A hinTS key is an extended public key; that is, a BLS public key combined with "hints" derived from the matching private key that a signature aggregator can use to prove well-formedness of an aggregate public key by an efficiently verifiable SNARK.Protobuf type
com.hedera.hapi.services.auxiliary.hints.HintsKeyPublicationTransactionBody-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* The party's hinTS key.* The number of parties in the hinTS scheme.* The party id for which the hinTS key is being published; must be in the range [0, num_parties).com.google.protobuf.ByteString* The party's hinTS key.int* The number of parties in the hinTS scheme.int* The party id for which the hinTS key is being published; must be in the range [0, num_parties).setHintsKey(com.google.protobuf.ByteString value) * The party's hinTS key.setNumParties(int value) * The number of parties in the hinTS scheme.setPartyId(int value) * The party id for which the hinTS key is being published; must be in the range [0, num_parties).Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getPartyId
public int getPartyId()* The party id for which the hinTS key is being published; must be in the range [0, num_parties). <p> This value MUST be set to a non-negative integer.<br/>
uint32 party_id = 1;- Specified by:
getPartyIdin interfaceHintsKeyPublicationTransactionBodyOrBuilder- Returns:
- The partyId.
-
setPartyId
* The party id for which the hinTS key is being published; must be in the range [0, num_parties). <p> This value MUST be set to a non-negative integer.<br/>
uint32 party_id = 1;- Parameters:
value- The partyId to set.- Returns:
- This builder for chaining.
-
clearPartyId
* The party id for which the hinTS key is being published; must be in the range [0, num_parties). <p> This value MUST be set to a non-negative integer.<br/>
uint32 party_id = 1;- Returns:
- This builder for chaining.
-
getNumParties
public int getNumParties()* The number of parties in the hinTS scheme.
uint32 num_parties = 2;- Specified by:
getNumPartiesin interfaceHintsKeyPublicationTransactionBodyOrBuilder- Returns:
- The numParties.
-
setNumParties
* The number of parties in the hinTS scheme.
uint32 num_parties = 2;- Parameters:
value- The numParties to set.- Returns:
- This builder for chaining.
-
clearNumParties
* The number of parties in the hinTS scheme.
uint32 num_parties = 2;- Returns:
- This builder for chaining.
-
getHintsKey
public com.google.protobuf.ByteString getHintsKey()* The party's hinTS key.
bytes hints_key = 3;- Specified by:
getHintsKeyin interfaceHintsKeyPublicationTransactionBodyOrBuilder- Returns:
- The hintsKey.
-
setHintsKey
* The party's hinTS key.
bytes hints_key = 3;- Parameters:
value- The hintsKey to set.- Returns:
- This builder for chaining.
-
clearHintsKey
* The party's hinTS key.
bytes hints_key = 3;- Returns:
- This builder for chaining.
-