Class MigrationWrappedHashes.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MigrationWrappedHashes,MigrationWrappedHashes.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<MigrationWrappedHashes,MigrationWrappedHashes.Builder>
com.hedera.hashgraph.sdk.proto.MigrationWrappedHashes.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, MigrationWrappedHashesOrBuilder, Cloneable
Enclosing class:
MigrationWrappedHashes

public static final class MigrationWrappedHashes.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<MigrationWrappedHashes,MigrationWrappedHashes.Builder> implements MigrationWrappedHashesOrBuilder
 *
 Values needed to replay wrapped record hash progression while voting is in progress.
 
Protobuf type com.hedera.hapi.node.state.blockrecords.MigrationWrappedHashes
  • Method Details

    • getBlockNumber

      public long getBlockNumber()
       *
       The block number these wrapped hashes belong to.
       
      uint64 block_number = 1;
      Specified by:
      getBlockNumber in interface MigrationWrappedHashesOrBuilder
      Returns:
      The blockNumber.
    • setBlockNumber

      public MigrationWrappedHashes.Builder setBlockNumber(long value)
       *
       The block number these wrapped hashes belong to.
       
      uint64 block_number = 1;
      Parameters:
      value - The blockNumber to set.
      Returns:
      This builder for chaining.
    • clearBlockNumber

      public MigrationWrappedHashes.Builder clearBlockNumber()
       *
       The block number these wrapped hashes belong to.
       
      uint64 block_number = 1;
      Returns:
      This builder for chaining.
    • getConsensusTimestampHash

      public com.google.protobuf.ByteString getConsensusTimestampHash()
       *
       The wrapped-record consensus timestamp hash for a block.
       
      bytes consensus_timestamp_hash = 2;
      Specified by:
      getConsensusTimestampHash in interface MigrationWrappedHashesOrBuilder
      Returns:
      The consensusTimestampHash.
    • setConsensusTimestampHash

      public MigrationWrappedHashes.Builder setConsensusTimestampHash(com.google.protobuf.ByteString value)
       *
       The wrapped-record consensus timestamp hash for a block.
       
      bytes consensus_timestamp_hash = 2;
      Parameters:
      value - The consensusTimestampHash to set.
      Returns:
      This builder for chaining.
    • clearConsensusTimestampHash

      public MigrationWrappedHashes.Builder clearConsensusTimestampHash()
       *
       The wrapped-record consensus timestamp hash for a block.
       
      bytes consensus_timestamp_hash = 2;
      Returns:
      This builder for chaining.
    • getOutputItemsTreeRootHash

      public com.google.protobuf.ByteString getOutputItemsTreeRootHash()
       *
       The wrapped-record output items tree root hash for a block.
       
      bytes output_items_tree_root_hash = 3;
      Specified by:
      getOutputItemsTreeRootHash in interface MigrationWrappedHashesOrBuilder
      Returns:
      The outputItemsTreeRootHash.
    • setOutputItemsTreeRootHash

      public MigrationWrappedHashes.Builder setOutputItemsTreeRootHash(com.google.protobuf.ByteString value)
       *
       The wrapped-record output items tree root hash for a block.
       
      bytes output_items_tree_root_hash = 3;
      Parameters:
      value - The outputItemsTreeRootHash to set.
      Returns:
      This builder for chaining.
    • clearOutputItemsTreeRootHash

      public MigrationWrappedHashes.Builder clearOutputItemsTreeRootHash()
       *
       The wrapped-record output items tree root hash for a block.
       
      bytes output_items_tree_root_hash = 3;
      Returns:
      This builder for chaining.