-
- All Implemented Interfaces:
-
cash.z.wallet.sdk.internal.rpc.Service.BlockIDOrBuilder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable
public final class Service.BlockID.Builder extends GeneratedMessageLite.Builder<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}
-
-
Method Summary
Modifier and Type Method Description longgetHeight()uint64 height = 1;Service.BlockID.BuildersetHeight(long value)uint64 height = 1;Service.BlockID.BuilderclearHeight()uint64 height = 1;ByteStringgetHash()bytes hash = 2;Service.BlockID.BuildersetHash(ByteString value)bytes hash = 2;Service.BlockID.BuilderclearHash()bytes hash = 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
-
getHeight
long getHeight()
uint64 height = 1;
-
setHeight
Service.BlockID.Builder setHeight(long value)
uint64 height = 1;- Parameters:
value- The height to set.
-
clearHeight
Service.BlockID.Builder clearHeight()
uint64 height = 1;
-
getHash
ByteString getHash()
bytes hash = 2;
-
setHash
Service.BlockID.Builder setHash(ByteString value)
bytes hash = 2;- Parameters:
value- The hash to set.
-
clearHash
Service.BlockID.Builder clearHash()
bytes hash = 2;
-
-
-
-