Module com.hedera.hashgraph.sdk
Class HintsPartialSignatureTransactionBody.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<HintsPartialSignatureTransactionBody,HintsPartialSignatureTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<HintsPartialSignatureTransactionBody,HintsPartialSignatureTransactionBody.Builder>
com.hedera.hapi.services.auxiliary.hints.legacy.HintsPartialSignatureTransactionBody.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,HintsPartialSignatureTransactionBodyOrBuilder,Cloneable
- Enclosing class:
HintsPartialSignatureTransactionBody
public static final class HintsPartialSignatureTransactionBody.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<HintsPartialSignatureTransactionBody,HintsPartialSignatureTransactionBody.Builder>
implements HintsPartialSignatureTransactionBodyOrBuilder
* A transaction body to publish a node's hinTS partial signature on a particular message for a certain construction id.Protobuf type
com.hedera.hapi.services.auxiliary.hints.HintsPartialSignatureTransactionBody-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* The id of the hinTS construction this partial signature applies to.* The message being signed.* The node's partial signature on the message.long* The id of the hinTS construction this partial signature applies to.com.google.protobuf.ByteString* The message being signed.com.google.protobuf.ByteString* The node's partial signature on the message.setConstructionId(long value) * The id of the hinTS construction this partial signature applies to.setMessage(com.google.protobuf.ByteString value) * The message being signed.setPartialSignature(com.google.protobuf.ByteString value) * The node's partial signature on the message.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
-
getConstructionId
public long getConstructionId()* The id of the hinTS construction this partial signature applies to. (The size of the target roster for this construction implies what hinTS party id the submitting node has in the construction; and hence also what weight the node's signature has.)
uint64 construction_id = 1;- Specified by:
getConstructionIdin interfaceHintsPartialSignatureTransactionBodyOrBuilder- Returns:
- The constructionId.
-
setConstructionId
* The id of the hinTS construction this partial signature applies to. (The size of the target roster for this construction implies what hinTS party id the submitting node has in the construction; and hence also what weight the node's signature has.)
uint64 construction_id = 1;- Parameters:
value- The constructionId to set.- Returns:
- This builder for chaining.
-
clearConstructionId
* The id of the hinTS construction this partial signature applies to. (The size of the target roster for this construction implies what hinTS party id the submitting node has in the construction; and hence also what weight the node's signature has.)
uint64 construction_id = 1;- Returns:
- This builder for chaining.
-
getMessage
public com.google.protobuf.ByteString getMessage()* The message being signed.
bytes message = 2;- Specified by:
getMessagein interfaceHintsPartialSignatureTransactionBodyOrBuilder- Returns:
- The message.
-
setMessage
public HintsPartialSignatureTransactionBody.Builder setMessage(com.google.protobuf.ByteString value) * The message being signed.
bytes message = 2;- Parameters:
value- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
* The message being signed.
bytes message = 2;- Returns:
- This builder for chaining.
-
getPartialSignature
public com.google.protobuf.ByteString getPartialSignature()* The node's partial signature on the message.
bytes partial_signature = 3;- Specified by:
getPartialSignaturein interfaceHintsPartialSignatureTransactionBodyOrBuilder- Returns:
- The partialSignature.
-
setPartialSignature
public HintsPartialSignatureTransactionBody.Builder setPartialSignature(com.google.protobuf.ByteString value) * The node's partial signature on the message.
bytes partial_signature = 3;- Parameters:
value- The partialSignature to set.- Returns:
- This builder for chaining.
-
clearPartialSignature
* The node's partial signature on the message.
bytes partial_signature = 3;- Returns:
- This builder for chaining.
-