-
- All Implemented Interfaces:
-
cash.z.wallet.sdk.internal.rpc.Service.RawTransactionOrBuilder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable
public final class Service.RawTransaction.Builder extends GeneratedMessageLite.Builder<Service.RawTransaction, Service.RawTransaction.Builder> implements Service.RawTransactionOrBuilder
Protobuf typeRawTransaction contains the complete transaction data. It also optionally includes the block height in which the transaction was included, or, when returned by GetMempoolStream(), the latest block height.{@code cash.z.wallet.sdk.rpc.RawTransaction}
-
-
Method Summary
Modifier and Type Method Description ByteStringgetData()exact data returned by Zcash 'getrawtransaction'bytes data = 1;Service.RawTransaction.BuildersetData(ByteString value)exact data returned by Zcash 'getrawtransaction'bytes data = 1;Service.RawTransaction.BuilderclearData()exact data returned by Zcash 'getrawtransaction'bytes data = 1;longgetHeight()height that the transaction was mined (or -1)uint64 height = 2;Service.RawTransaction.BuildersetHeight(long value)height that the transaction was mined (or -1)uint64 height = 2;Service.RawTransaction.BuilderclearHeight()height that the transaction was mined (or -1)uint64 height = 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
-
getData
ByteString getData()
exact data returned by Zcash 'getrawtransaction'bytes data = 1;
-
setData
Service.RawTransaction.Builder setData(ByteString value)
exact data returned by Zcash 'getrawtransaction'bytes data = 1;- Parameters:
value- The data to set.
-
clearData
Service.RawTransaction.Builder clearData()
exact data returned by Zcash 'getrawtransaction'bytes data = 1;
-
getHeight
long getHeight()
height that the transaction was mined (or -1)uint64 height = 2;
-
setHeight
Service.RawTransaction.Builder setHeight(long value)
height that the transaction was mined (or -1)uint64 height = 2;- Parameters:
value- The height to set.
-
clearHeight
Service.RawTransaction.Builder clearHeight()
height that the transaction was mined (or -1)uint64 height = 2;
-
-
-
-