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
  • 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:
      getConstructionId in interface HintsPartialSignatureTransactionBodyOrBuilder
      Returns:
      The constructionId.
    • setConstructionId

      public HintsPartialSignatureTransactionBody.Builder setConstructionId(long value)
       *
       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

      public HintsPartialSignatureTransactionBody.Builder 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:
      getMessage in interface HintsPartialSignatureTransactionBodyOrBuilder
      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:
      getPartialSignature in interface HintsPartialSignatureTransactionBodyOrBuilder
      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

      public HintsPartialSignatureTransactionBody.Builder clearPartialSignature()
       *
       The node's partial signature on the message.
       
      bytes partial_signature = 3;
      Returns:
      This builder for chaining.