-
- All Implemented Interfaces:
-
cash.z.wallet.sdk.internal.rpc.Service.BlockIDOrBuilder,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder
public final class Service.BlockID extends GeneratedMessageLite<Service.BlockID, Service.BlockID.Builder> implements Service.BlockIDOrBuilder
Protobuf typeA BlockID message contains identifiers to select a block: a height or a hash. Specification by hash is not implemented, but may be in the future.{@code cash.z.wallet.sdk.rpc.BlockID}
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classService.BlockID.Builder
Protobuf typeA BlockID message contains identifiers to select a block: a height or a hash. Specification by hash is not implemented, but may be in the future.{@code cash.z.wallet.sdk.rpc.BlockID}
-
Field Summary
Fields Modifier and Type Field Description public final static intHEIGHT_FIELD_NUMBERpublic final static intHASH_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description longgetHeight()uint64 height = 1;ByteStringgetHash()bytes hash = 2;static Service.BlockIDparseFrom(ByteBuffer data)static Service.BlockIDparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static Service.BlockIDparseFrom(ByteString data)static Service.BlockIDparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static Service.BlockIDparseFrom(Array<byte> data)static Service.BlockIDparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static Service.BlockIDparseFrom(InputStream input)static Service.BlockIDparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static Service.BlockIDparseDelimitedFrom(InputStream input)static Service.BlockIDparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static Service.BlockIDparseFrom(CodedInputStream input)static Service.BlockIDparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)static Service.BlockID.BuildernewBuilder()static Service.BlockID.BuildernewBuilder(Service.BlockID prototype)static Service.BlockIDgetDefaultInstance()static Parser<Service.BlockID>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
-
getHeight
long getHeight()
uint64 height = 1;
-
getHash
ByteString getHash()
bytes hash = 2;
-
parseFrom
static Service.BlockID parseFrom(ByteBuffer data)
-
parseFrom
static Service.BlockID parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Service.BlockID parseFrom(ByteString data)
-
parseFrom
static Service.BlockID parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Service.BlockID parseFrom(Array<byte> data)
-
parseFrom
static Service.BlockID parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Service.BlockID parseFrom(InputStream input)
-
parseFrom
static Service.BlockID parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static Service.BlockID parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static Service.BlockID parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Service.BlockID parseFrom(CodedInputStream input)
-
parseFrom
static Service.BlockID parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilder
static Service.BlockID.Builder newBuilder()
-
newBuilder
static Service.BlockID.Builder newBuilder(Service.BlockID prototype)
-
getDefaultInstance
static Service.BlockID getDefaultInstance()
-
parser
static Parser<Service.BlockID> parser()
-
-
-
-