Package 

Class Service.BlockID.Builder

  • 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
                        
    A 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.
    
    Protobuf type {@code cash.z.wallet.sdk.rpc.BlockID}
    • Method Summary

      Modifier and Type Method Description
      long getHeight() uint64 height = 1;
      Service.BlockID.Builder setHeight(long value) uint64 height = 1;
      Service.BlockID.Builder clearHeight() uint64 height = 1;
      ByteString getHash() bytes hash = 2;
      Service.BlockID.Builder setHash(ByteString value) bytes hash = 2;
      Service.BlockID.Builder clearHash() 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