-
- All Implemented Interfaces:
-
cash.z.wallet.sdk.internal.rpc.Service.TreeStateOrBuilder,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder
public final class Service.TreeState extends GeneratedMessageLite<Service.TreeState, Service.TreeState.Builder> implements Service.TreeStateOrBuilder
Protobuf typeThe TreeState is derived from the Zcash z_gettreestate rpc.{@code cash.z.wallet.sdk.rpc.TreeState}
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classService.TreeState.Builder
Protobuf typeThe TreeState is derived from the Zcash z_gettreestate rpc.{@code cash.z.wallet.sdk.rpc.TreeState}
-
Field Summary
Fields Modifier and Type Field Description public final static intNETWORK_FIELD_NUMBERpublic final static intHEIGHT_FIELD_NUMBERpublic final static intHASH_FIELD_NUMBERpublic final static intTIME_FIELD_NUMBERpublic final static intSAPLINGTREE_FIELD_NUMBERpublic final static intORCHARDTREE_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description StringgetNetwork()"main" or "test"string network = 1;ByteStringgetNetworkBytes()"main" or "test"string network = 1;longgetHeight()block heightuint64 height = 2;StringgetHash()block idstring hash = 3;ByteStringgetHashBytes()block idstring hash = 3;intgetTime()Unix epoch time when the block was mineduint32 time = 4;StringgetSaplingTree()sapling commitment tree statestring saplingTree = 5;ByteStringgetSaplingTreeBytes()sapling commitment tree statestring saplingTree = 5;StringgetOrchardTree()orchard commitment tree statestring orchardTree = 6;ByteStringgetOrchardTreeBytes()orchard commitment tree statestring orchardTree = 6;static Service.TreeStateparseFrom(ByteBuffer data)static Service.TreeStateparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static Service.TreeStateparseFrom(ByteString data)static Service.TreeStateparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static Service.TreeStateparseFrom(Array<byte> data)static Service.TreeStateparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static Service.TreeStateparseFrom(InputStream input)static Service.TreeStateparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static Service.TreeStateparseDelimitedFrom(InputStream input)static Service.TreeStateparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static Service.TreeStateparseFrom(CodedInputStream input)static Service.TreeStateparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)static Service.TreeState.BuildernewBuilder()static Service.TreeState.BuildernewBuilder(Service.TreeState prototype)static Service.TreeStategetDefaultInstance()static Parser<Service.TreeState>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, toBuilder, toString, writeTo -
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo -
Methods inherited from class com.google.protobuf.MessageLite
getParserForType, newBuilderForType, toBuilder -
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
-
getNetwork
String getNetwork()
"main" or "test"string network = 1;
-
getNetworkBytes
ByteString getNetworkBytes()
"main" or "test"string network = 1;
-
getHeight
long getHeight()
block heightuint64 height = 2;
-
getHashBytes
ByteString getHashBytes()
block idstring hash = 3;
-
getTime
int getTime()
Unix epoch time when the block was mineduint32 time = 4;
-
getSaplingTree
String getSaplingTree()
sapling commitment tree statestring saplingTree = 5;
-
getSaplingTreeBytes
ByteString getSaplingTreeBytes()
sapling commitment tree statestring saplingTree = 5;
-
getOrchardTree
String getOrchardTree()
orchard commitment tree statestring orchardTree = 6;
-
getOrchardTreeBytes
ByteString getOrchardTreeBytes()
orchard commitment tree statestring orchardTree = 6;
-
parseFrom
static Service.TreeState parseFrom(ByteBuffer data)
-
parseFrom
static Service.TreeState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Service.TreeState parseFrom(ByteString data)
-
parseFrom
static Service.TreeState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Service.TreeState parseFrom(Array<byte> data)
-
parseFrom
static Service.TreeState parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Service.TreeState parseFrom(InputStream input)
-
parseFrom
static Service.TreeState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static Service.TreeState parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static Service.TreeState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Service.TreeState parseFrom(CodedInputStream input)
-
parseFrom
static Service.TreeState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilder
static Service.TreeState.Builder newBuilder()
-
newBuilder
static Service.TreeState.Builder newBuilder(Service.TreeState prototype)
-
getDefaultInstance
static Service.TreeState getDefaultInstance()
-
parser
static Parser<Service.TreeState> parser()
-
-
-
-