Module com.hedera.hashgraph.sdk
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-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllWrappedIntermediatePreviousBlockRootHashes(Iterable<? extends com.google.protobuf.ByteString> values) * Intermediate hashing state for wrapped previous block roots.addWrappedIntermediatePreviousBlockRootHashes(com.google.protobuf.ByteString value) * Intermediate hashing state for wrapped previous block roots.* The previous wrapped record block root hash from startup migration.* Leaf count of the wrapped previous block roots hasher.* Intermediate hashing state for wrapped previous block roots.com.google.protobuf.ByteString* The previous wrapped record block root hash from startup migration.long* Leaf count of the wrapped previous block roots hasher.com.google.protobuf.ByteString* Intermediate hashing state for wrapped previous block roots.int* Intermediate hashing state for wrapped previous block roots.List<com.google.protobuf.ByteString> * Intermediate hashing state for wrapped previous block roots.setPreviousWrappedRecordBlockRootHash(com.google.protobuf.ByteString value) * The previous wrapped record block root hash from startup migration.setWrappedIntermediateBlockRootsLeafCount(long value) * Leaf count of the wrapped previous block roots hasher.setWrappedIntermediatePreviousBlockRootHashes(int index, com.google.protobuf.ByteString value) * Intermediate hashing state for wrapped previous block roots.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
-
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:
getPreviousWrappedRecordBlockRootHashin interfaceMigrationRootHashVoteTransactionBodyOrBuilder- 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
* The previous wrapped record block root hash from startup migration.
bytes previous_wrapped_record_block_root_hash = 1;- Returns:
- This builder for chaining.
-
getWrappedIntermediatePreviousBlockRootHashesList
* Intermediate hashing state for wrapped previous block roots.
repeated bytes wrapped_intermediate_previous_block_root_hashes = 2;- Specified by:
getWrappedIntermediatePreviousBlockRootHashesListin interfaceMigrationRootHashVoteTransactionBodyOrBuilder- 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:
getWrappedIntermediatePreviousBlockRootHashesCountin interfaceMigrationRootHashVoteTransactionBodyOrBuilder- 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:
getWrappedIntermediatePreviousBlockRootHashesin interfaceMigrationRootHashVoteTransactionBodyOrBuilder- 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:
getWrappedIntermediateBlockRootsLeafCountin interfaceMigrationRootHashVoteTransactionBodyOrBuilder- 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
* Leaf count of the wrapped previous block roots hasher.
uint64 wrapped_intermediate_block_roots_leaf_count = 3;- Returns:
- This builder for chaining.
-