Class CrsPublicationTransactionBody.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<CrsPublicationTransactionBody,CrsPublicationTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<CrsPublicationTransactionBody,CrsPublicationTransactionBody.Builder>
com.hedera.hapi.services.auxiliary.hints.legacy.CrsPublicationTransactionBody.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, CrsPublicationTransactionBodyOrBuilder, Cloneable
Enclosing class:
CrsPublicationTransactionBody

public static final class CrsPublicationTransactionBody.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<CrsPublicationTransactionBody,CrsPublicationTransactionBody.Builder> implements CrsPublicationTransactionBodyOrBuilder
 *
 A transaction body to publish a node's Common Reference String (CRS) to the network. This is used
 when node wants to update to reach the final CRS for network to use the hinTS protocol
 
Protobuf type com.hedera.hapi.services.auxiliary.hints.CrsPublicationTransactionBody
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    * The party's generated random CRS.
    * The party's proof of the CRS update.
    com.google.protobuf.ByteString
    * The party's generated random CRS.
    com.google.protobuf.ByteString
    * The party's proof of the CRS update.
    setNewCrs(com.google.protobuf.ByteString value)
    * The party's generated random CRS.
    setProof(com.google.protobuf.ByteString value)
    * The party's proof of the CRS update.

    Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getNewCrs

      public com.google.protobuf.ByteString getNewCrs()
       *
       The party's generated random CRS.
       
      bytes new_crs = 1;
      Specified by:
      getNewCrs in interface CrsPublicationTransactionBodyOrBuilder
      Returns:
      The newCrs.
    • setNewCrs

      public CrsPublicationTransactionBody.Builder setNewCrs(com.google.protobuf.ByteString value)
       *
       The party's generated random CRS.
       
      bytes new_crs = 1;
      Parameters:
      value - The newCrs to set.
      Returns:
      This builder for chaining.
    • clearNewCrs

       *
       The party's generated random CRS.
       
      bytes new_crs = 1;
      Returns:
      This builder for chaining.
    • getProof

      public com.google.protobuf.ByteString getProof()
       *
       The party's proof of the CRS update.
       
      bytes proof = 2;
      Specified by:
      getProof in interface CrsPublicationTransactionBodyOrBuilder
      Returns:
      The proof.
    • setProof

      public CrsPublicationTransactionBody.Builder setProof(com.google.protobuf.ByteString value)
       *
       The party's proof of the CRS update.
       
      bytes proof = 2;
      Parameters:
      value - The proof to set.
      Returns:
      This builder for chaining.
    • clearProof

       *
       The party's proof of the CRS update.
       
      bytes proof = 2;
      Returns:
      This builder for chaining.