-
- All Implemented Interfaces:
-
cash.z.wallet.sdk.internal.rpc.Service.TxFilterOrBuilder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable
public final class Service.TxFilter.Builder extends GeneratedMessageLite.Builder<Service.TxFilter, Service.TxFilter.Builder> implements Service.TxFilterOrBuilder
Protobuf typeA TxFilter contains the information needed to identify a particular transaction: either a block and an index, or a direct transaction hash. Currently, only specification by hash is supported.{@code cash.z.wallet.sdk.rpc.TxFilter}
-
-
Method Summary
Modifier and Type Method Description booleanhasBlock()block identifier, height or hash.cash.z.wallet.sdk.rpc.BlockID block = 1;Service.BlockIDgetBlock()block identifier, height or hash.cash.z.wallet.sdk.rpc.BlockID block = 1;Service.TxFilter.BuildersetBlock(Service.BlockID value)block identifier, height or hash.cash.z.wallet.sdk.rpc.BlockID block = 1;Service.TxFilter.BuildersetBlock(Service.BlockID.Builder builderForValue)block identifier, height or hash.cash.z.wallet.sdk.rpc.BlockID block = 1;Service.TxFilter.BuildermergeBlock(Service.BlockID value)block identifier, height or hash.cash.z.wallet.sdk.rpc.BlockID block = 1;Service.TxFilter.BuilderclearBlock()block identifier, height or hash.cash.z.wallet.sdk.rpc.BlockID block = 1;longgetIndex()index within the blockuint64 index = 2;Service.TxFilter.BuildersetIndex(long value)index within the blockuint64 index = 2;Service.TxFilter.BuilderclearIndex()index within the blockuint64 index = 2;ByteStringgetHash()transaction ID (hash, txid)bytes hash = 3;Service.TxFilter.BuildersetHash(ByteString value)transaction ID (hash, txid)bytes hash = 3;Service.TxFilter.BuilderclearHash()transaction ID (hash, txid)bytes hash = 3;-
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
-
hasBlock
boolean hasBlock()
block identifier, height or hash.cash.z.wallet.sdk.rpc.BlockID block = 1;
-
getBlock
Service.BlockID getBlock()
block identifier, height or hash.cash.z.wallet.sdk.rpc.BlockID block = 1;
-
setBlock
Service.TxFilter.Builder setBlock(Service.BlockID value)
block identifier, height or hash.cash.z.wallet.sdk.rpc.BlockID block = 1;
-
setBlock
Service.TxFilter.Builder setBlock(Service.BlockID.Builder builderForValue)
block identifier, height or hash.cash.z.wallet.sdk.rpc.BlockID block = 1;
-
mergeBlock
Service.TxFilter.Builder mergeBlock(Service.BlockID value)
block identifier, height or hash.cash.z.wallet.sdk.rpc.BlockID block = 1;
-
clearBlock
Service.TxFilter.Builder clearBlock()
block identifier, height or hash.cash.z.wallet.sdk.rpc.BlockID block = 1;
-
getIndex
long getIndex()
index within the blockuint64 index = 2;
-
setIndex
Service.TxFilter.Builder setIndex(long value)
index within the blockuint64 index = 2;- Parameters:
value- The index to set.
-
clearIndex
Service.TxFilter.Builder clearIndex()
index within the blockuint64 index = 2;
-
getHash
ByteString getHash()
transaction ID (hash, txid)bytes hash = 3;
-
setHash
Service.TxFilter.Builder setHash(ByteString value)
transaction ID (hash, txid)bytes hash = 3;- Parameters:
value- The hash to set.
-
clearHash
Service.TxFilter.Builder clearHash()
transaction ID (hash, txid)bytes hash = 3;
-
-
-
-