Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
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-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* The block number these wrapped hashes belong to.* The wrapped-record consensus timestamp hash for a block.* The wrapped-record output items tree root hash for a block.long* The block number these wrapped hashes belong to.com.google.protobuf.ByteString* The wrapped-record consensus timestamp hash for a block.com.google.protobuf.ByteString* The wrapped-record output items tree root hash for a block.setBlockNumber(long value) * The block number these wrapped hashes belong to.setConsensusTimestampHash(com.google.protobuf.ByteString value) * The wrapped-record consensus timestamp hash for a block.setOutputItemsTreeRootHash(com.google.protobuf.ByteString value) * The wrapped-record output items tree root hash for a block.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
-
getBlockNumber
public long getBlockNumber()* The block number these wrapped hashes belong to.
uint64 block_number = 1;- Specified by:
getBlockNumberin interfaceMigrationWrappedHashesOrBuilder- Returns:
- The blockNumber.
-
setBlockNumber
* The block number these wrapped hashes belong to.
uint64 block_number = 1;- Parameters:
value- The blockNumber to set.- Returns:
- This builder for chaining.
-
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:
getConsensusTimestampHashin interfaceMigrationWrappedHashesOrBuilder- 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
* 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:
getOutputItemsTreeRootHashin interfaceMigrationWrappedHashesOrBuilder- 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
* The wrapped-record output items tree root hash for a block.
bytes output_items_tree_root_hash = 3;- Returns:
- This builder for chaining.
-