public static final class XchainOuterClass.TxInput.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<XchainOuterClass.TxInput,XchainOuterClass.TxInput.Builder> implements XchainOuterClass.TxInputOrBuilder
Transaction input
Protobuf type pb.TxInput
| 限定符和类型 | 方法和说明 |
|---|---|
XchainOuterClass.TxInput.Builder |
clearAmount()
The amount of the transaction
optional bytes amount = 6; |
XchainOuterClass.TxInput.Builder |
clearFromAddr()
The address of the launcher
optional bytes from_addr = 5; |
XchainOuterClass.TxInput.Builder |
clearFrozenHeight()
Frozen height
optional int64 frozen_height = 7; |
XchainOuterClass.TxInput.Builder |
clearRefOffset()
The output offset of the transaction referenced to
optional int32 ref_offset = 2; |
XchainOuterClass.TxInput.Builder |
clearRefTxid()
The transaction id referenced to
optional bytes ref_txid = 1; |
com.google.protobuf.ByteString |
getAmount()
The amount of the transaction
optional bytes amount = 6; |
com.google.protobuf.ByteString |
getFromAddr()
The address of the launcher
optional bytes from_addr = 5; |
long |
getFrozenHeight()
Frozen height
optional int64 frozen_height = 7; |
int |
getRefOffset()
The output offset of the transaction referenced to
optional int32 ref_offset = 2; |
com.google.protobuf.ByteString |
getRefTxid()
The transaction id referenced to
optional bytes ref_txid = 1; |
XchainOuterClass.TxInput.Builder |
setAmount(com.google.protobuf.ByteString value)
The amount of the transaction
optional bytes amount = 6; |
XchainOuterClass.TxInput.Builder |
setFromAddr(com.google.protobuf.ByteString value)
The address of the launcher
optional bytes from_addr = 5; |
XchainOuterClass.TxInput.Builder |
setFrozenHeight(long value)
Frozen height
optional int64 frozen_height = 7; |
XchainOuterClass.TxInput.Builder |
setRefOffset(int value)
The output offset of the transaction referenced to
optional int32 ref_offset = 2; |
XchainOuterClass.TxInput.Builder |
setRefTxid(com.google.protobuf.ByteString value)
The transaction id referenced to
optional bytes ref_txid = 1; |
build, buildPartial, clear, clone, copyOnWrite, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFromaddAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionpublic com.google.protobuf.ByteString getRefTxid()
The transaction id referenced to
optional bytes ref_txid = 1;getRefTxid 在接口中 XchainOuterClass.TxInputOrBuilderpublic XchainOuterClass.TxInput.Builder setRefTxid(com.google.protobuf.ByteString value)
The transaction id referenced to
optional bytes ref_txid = 1;public XchainOuterClass.TxInput.Builder clearRefTxid()
The transaction id referenced to
optional bytes ref_txid = 1;public int getRefOffset()
The output offset of the transaction referenced to
optional int32 ref_offset = 2;public XchainOuterClass.TxInput.Builder setRefOffset(int value)
The output offset of the transaction referenced to
optional int32 ref_offset = 2;public XchainOuterClass.TxInput.Builder clearRefOffset()
The output offset of the transaction referenced to
optional int32 ref_offset = 2;public com.google.protobuf.ByteString getFromAddr()
The address of the launcher
optional bytes from_addr = 5;getFromAddr 在接口中 XchainOuterClass.TxInputOrBuilderpublic XchainOuterClass.TxInput.Builder setFromAddr(com.google.protobuf.ByteString value)
The address of the launcher
optional bytes from_addr = 5;public XchainOuterClass.TxInput.Builder clearFromAddr()
The address of the launcher
optional bytes from_addr = 5;public com.google.protobuf.ByteString getAmount()
The amount of the transaction
optional bytes amount = 6;getAmount 在接口中 XchainOuterClass.TxInputOrBuilderpublic XchainOuterClass.TxInput.Builder setAmount(com.google.protobuf.ByteString value)
The amount of the transaction
optional bytes amount = 6;public XchainOuterClass.TxInput.Builder clearAmount()
The amount of the transaction
optional bytes amount = 6;public long getFrozenHeight()
Frozen height
optional int64 frozen_height = 7;public XchainOuterClass.TxInput.Builder setFrozenHeight(long value)
Frozen height
optional int64 frozen_height = 7;public XchainOuterClass.TxInput.Builder clearFrozenHeight()
Frozen height
optional int64 frozen_height = 7;Copyright © 2020. All rights reserved.