Class MigrationRootHashVoteTransactionBody.Builder

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

public static final class MigrationRootHashVoteTransactionBody.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<MigrationRootHashVoteTransactionBody,MigrationRootHashVoteTransactionBody.Builder> implements MigrationRootHashVoteTransactionBodyOrBuilder
 *
 A transaction body to publish a node's vote for wrapped record migration state.
 
Protobuf type com.hedera.hapi.services.auxiliary.blockrecords.MigrationRootHashVoteTransactionBody
  • Method Details

    • getPreviousWrappedRecordBlockRootHash

      public com.google.protobuf.ByteString getPreviousWrappedRecordBlockRootHash()
       *
       The previous wrapped record block root hash from startup migration.
       
      bytes previous_wrapped_record_block_root_hash = 1;
      Specified by:
      getPreviousWrappedRecordBlockRootHash in interface MigrationRootHashVoteTransactionBodyOrBuilder
      Returns:
      The previousWrappedRecordBlockRootHash.
    • setPreviousWrappedRecordBlockRootHash

      public MigrationRootHashVoteTransactionBody.Builder setPreviousWrappedRecordBlockRootHash(com.google.protobuf.ByteString value)
       *
       The previous wrapped record block root hash from startup migration.
       
      bytes previous_wrapped_record_block_root_hash = 1;
      Parameters:
      value - The previousWrappedRecordBlockRootHash to set.
      Returns:
      This builder for chaining.
    • clearPreviousWrappedRecordBlockRootHash

      public MigrationRootHashVoteTransactionBody.Builder clearPreviousWrappedRecordBlockRootHash()
       *
       The previous wrapped record block root hash from startup migration.
       
      bytes previous_wrapped_record_block_root_hash = 1;
      Returns:
      This builder for chaining.
    • getWrappedIntermediatePreviousBlockRootHashesList

      public List<com.google.protobuf.ByteString> getWrappedIntermediatePreviousBlockRootHashesList()
       *
       Intermediate hashing state for wrapped previous block roots.
       
      repeated bytes wrapped_intermediate_previous_block_root_hashes = 2;
      Specified by:
      getWrappedIntermediatePreviousBlockRootHashesList in interface MigrationRootHashVoteTransactionBodyOrBuilder
      Returns:
      A list containing the wrappedIntermediatePreviousBlockRootHashes.
    • getWrappedIntermediatePreviousBlockRootHashesCount

      public int getWrappedIntermediatePreviousBlockRootHashesCount()
       *
       Intermediate hashing state for wrapped previous block roots.
       
      repeated bytes wrapped_intermediate_previous_block_root_hashes = 2;
      Specified by:
      getWrappedIntermediatePreviousBlockRootHashesCount in interface MigrationRootHashVoteTransactionBodyOrBuilder
      Returns:
      The count of wrappedIntermediatePreviousBlockRootHashes.
    • getWrappedIntermediatePreviousBlockRootHashes

      public com.google.protobuf.ByteString getWrappedIntermediatePreviousBlockRootHashes(int index)
       *
       Intermediate hashing state for wrapped previous block roots.
       
      repeated bytes wrapped_intermediate_previous_block_root_hashes = 2;
      Specified by:
      getWrappedIntermediatePreviousBlockRootHashes in interface MigrationRootHashVoteTransactionBodyOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The wrappedIntermediatePreviousBlockRootHashes at the given index.
    • setWrappedIntermediatePreviousBlockRootHashes

      public MigrationRootHashVoteTransactionBody.Builder setWrappedIntermediatePreviousBlockRootHashes(int index, com.google.protobuf.ByteString value)
       *
       Intermediate hashing state for wrapped previous block roots.
       
      repeated bytes wrapped_intermediate_previous_block_root_hashes = 2;
      Parameters:
      value - The wrappedIntermediatePreviousBlockRootHashes to set.
      Returns:
      This builder for chaining.
    • addWrappedIntermediatePreviousBlockRootHashes

      public MigrationRootHashVoteTransactionBody.Builder addWrappedIntermediatePreviousBlockRootHashes(com.google.protobuf.ByteString value)
       *
       Intermediate hashing state for wrapped previous block roots.
       
      repeated bytes wrapped_intermediate_previous_block_root_hashes = 2;
      Parameters:
      value - The wrappedIntermediatePreviousBlockRootHashes to add.
      Returns:
      This builder for chaining.
    • addAllWrappedIntermediatePreviousBlockRootHashes

      public MigrationRootHashVoteTransactionBody.Builder addAllWrappedIntermediatePreviousBlockRootHashes(Iterable<? extends com.google.protobuf.ByteString> values)
       *
       Intermediate hashing state for wrapped previous block roots.
       
      repeated bytes wrapped_intermediate_previous_block_root_hashes = 2;
      Parameters:
      values - The wrappedIntermediatePreviousBlockRootHashes to add.
      Returns:
      This builder for chaining.
    • clearWrappedIntermediatePreviousBlockRootHashes

      public MigrationRootHashVoteTransactionBody.Builder clearWrappedIntermediatePreviousBlockRootHashes()
       *
       Intermediate hashing state for wrapped previous block roots.
       
      repeated bytes wrapped_intermediate_previous_block_root_hashes = 2;
      Returns:
      This builder for chaining.
    • getWrappedIntermediateBlockRootsLeafCount

      public long getWrappedIntermediateBlockRootsLeafCount()
       *
       Leaf count of the wrapped previous block roots hasher.
       
      uint64 wrapped_intermediate_block_roots_leaf_count = 3;
      Specified by:
      getWrappedIntermediateBlockRootsLeafCount in interface MigrationRootHashVoteTransactionBodyOrBuilder
      Returns:
      The wrappedIntermediateBlockRootsLeafCount.
    • setWrappedIntermediateBlockRootsLeafCount

      public MigrationRootHashVoteTransactionBody.Builder setWrappedIntermediateBlockRootsLeafCount(long value)
       *
       Leaf count of the wrapped previous block roots hasher.
       
      uint64 wrapped_intermediate_block_roots_leaf_count = 3;
      Parameters:
      value - The wrappedIntermediateBlockRootsLeafCount to set.
      Returns:
      This builder for chaining.
    • clearWrappedIntermediateBlockRootsLeafCount

      public MigrationRootHashVoteTransactionBody.Builder clearWrappedIntermediateBlockRootsLeafCount()
       *
       Leaf count of the wrapped previous block roots hasher.
       
      uint64 wrapped_intermediate_block_roots_leaf_count = 3;
      Returns:
      This builder for chaining.