-
- All Implemented Interfaces:
-
cash.z.wallet.sdk.internal.rpc.Service.SubtreeRootOrBuilder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable
public final class Service.SubtreeRoot.Builder extends GeneratedMessageLite.Builder<Service.SubtreeRoot, Service.SubtreeRoot.Builder> implements Service.SubtreeRootOrBuilder
Protobuf type
{@code cash.z.wallet.sdk.rpc.SubtreeRoot}
-
-
Method Summary
Modifier and Type Method Description ByteStringgetRootHash()The 32-byte Merkle root of the subtree.bytes rootHash = 2;Service.SubtreeRoot.BuildersetRootHash(ByteString value)The 32-byte Merkle root of the subtree.bytes rootHash = 2;Service.SubtreeRoot.BuilderclearRootHash()The 32-byte Merkle root of the subtree.bytes rootHash = 2;ByteStringgetCompletingBlockHash()The hash of the block that completed this subtree.bytes completingBlockHash = 3;Service.SubtreeRoot.BuildersetCompletingBlockHash(ByteString value)The hash of the block that completed this subtree.bytes completingBlockHash = 3;Service.SubtreeRoot.BuilderclearCompletingBlockHash()The hash of the block that completed this subtree.bytes completingBlockHash = 3;longgetCompletingBlockHeight()The height of the block that completed this subtree in the main chain.uint64 completingBlockHeight = 4;Service.SubtreeRoot.BuildersetCompletingBlockHeight(long value)The height of the block that completed this subtree in the main chain.uint64 completingBlockHeight = 4;Service.SubtreeRoot.BuilderclearCompletingBlockHeight()The height of the block that completed this subtree in the main chain.uint64 completingBlockHeight = 4;-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, getDefaultInstanceForType, isInitialized, mergeFrom -
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom -
Methods inherited from class com.google.protobuf.MessageLite.Builder
build, buildPartial, clear, clone, mergeFrom -
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getRootHash
ByteString getRootHash()
The 32-byte Merkle root of the subtree.bytes rootHash = 2;
-
setRootHash
Service.SubtreeRoot.Builder setRootHash(ByteString value)
The 32-byte Merkle root of the subtree.bytes rootHash = 2;- Parameters:
value- The rootHash to set.
-
clearRootHash
Service.SubtreeRoot.Builder clearRootHash()
The 32-byte Merkle root of the subtree.bytes rootHash = 2;
-
getCompletingBlockHash
ByteString getCompletingBlockHash()
The hash of the block that completed this subtree.bytes completingBlockHash = 3;
-
setCompletingBlockHash
Service.SubtreeRoot.Builder setCompletingBlockHash(ByteString value)
The hash of the block that completed this subtree.bytes completingBlockHash = 3;- Parameters:
value- The completingBlockHash to set.
-
clearCompletingBlockHash
Service.SubtreeRoot.Builder clearCompletingBlockHash()
The hash of the block that completed this subtree.bytes completingBlockHash = 3;
-
getCompletingBlockHeight
long getCompletingBlockHeight()
The height of the block that completed this subtree in the main chain.uint64 completingBlockHeight = 4;
-
setCompletingBlockHeight
Service.SubtreeRoot.Builder setCompletingBlockHeight(long value)
The height of the block that completed this subtree in the main chain.uint64 completingBlockHeight = 4;- Parameters:
value- The completingBlockHeight to set.
-
clearCompletingBlockHeight
Service.SubtreeRoot.Builder clearCompletingBlockHeight()
The height of the block that completed this subtree in the main chain.uint64 completingBlockHeight = 4;
-
-
-
-