-
- All Implemented Interfaces:
-
cash.z.wallet.sdk.internal.rpc.CompactFormats.ChainMetadataOrBuilder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable
public final class CompactFormats.ChainMetadata.Builder extends GeneratedMessageLite.Builder<CompactFormats.ChainMetadata, CompactFormats.ChainMetadata.Builder> implements CompactFormats.ChainMetadataOrBuilder
Protobuf typeChainMetadata represents information about the state of the chain as of a given block.{@code cash.z.wallet.sdk.rpc.ChainMetadata}
-
-
Method Summary
Modifier and Type Method Description intgetSaplingCommitmentTreeSize()the size of the Sapling note commitment tree as of the end of this blockuint32 saplingCommitmentTreeSize = 1;CompactFormats.ChainMetadata.BuildersetSaplingCommitmentTreeSize(int value)the size of the Sapling note commitment tree as of the end of this blockuint32 saplingCommitmentTreeSize = 1;CompactFormats.ChainMetadata.BuilderclearSaplingCommitmentTreeSize()the size of the Sapling note commitment tree as of the end of this blockuint32 saplingCommitmentTreeSize = 1;intgetOrchardCommitmentTreeSize()the size of the Orchard note commitment tree as of the end of this blockuint32 orchardCommitmentTreeSize = 2;CompactFormats.ChainMetadata.BuildersetOrchardCommitmentTreeSize(int value)the size of the Orchard note commitment tree as of the end of this blockuint32 orchardCommitmentTreeSize = 2;CompactFormats.ChainMetadata.BuilderclearOrchardCommitmentTreeSize()the size of the Orchard note commitment tree as of the end of this blockuint32 orchardCommitmentTreeSize = 2;-
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
-
getSaplingCommitmentTreeSize
int getSaplingCommitmentTreeSize()
the size of the Sapling note commitment tree as of the end of this blockuint32 saplingCommitmentTreeSize = 1;
-
setSaplingCommitmentTreeSize
CompactFormats.ChainMetadata.Builder setSaplingCommitmentTreeSize(int value)
the size of the Sapling note commitment tree as of the end of this blockuint32 saplingCommitmentTreeSize = 1;- Parameters:
value- The saplingCommitmentTreeSize to set.
-
clearSaplingCommitmentTreeSize
CompactFormats.ChainMetadata.Builder clearSaplingCommitmentTreeSize()
the size of the Sapling note commitment tree as of the end of this blockuint32 saplingCommitmentTreeSize = 1;
-
getOrchardCommitmentTreeSize
int getOrchardCommitmentTreeSize()
the size of the Orchard note commitment tree as of the end of this blockuint32 orchardCommitmentTreeSize = 2;
-
setOrchardCommitmentTreeSize
CompactFormats.ChainMetadata.Builder setOrchardCommitmentTreeSize(int value)
the size of the Orchard note commitment tree as of the end of this blockuint32 orchardCommitmentTreeSize = 2;- Parameters:
value- The orchardCommitmentTreeSize to set.
-
clearOrchardCommitmentTreeSize
CompactFormats.ChainMetadata.Builder clearOrchardCommitmentTreeSize()
the size of the Orchard note commitment tree as of the end of this blockuint32 orchardCommitmentTreeSize = 2;
-
-
-
-