public static final class XchainOuterClass.TxData.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<XchainOuterClass.TxData,XchainOuterClass.TxData.Builder> implements XchainOuterClass.TxDataOrBuilder
pb.TxData| 限定符和类型 | 方法和说明 |
|---|---|
XchainOuterClass.TxData.Builder |
addAccount(int index,
XchainOuterClass.TxDataAccount.Builder builderForValue)
The account list accept tx
repeated .pb.TxDataAccount account = 6; |
XchainOuterClass.TxData.Builder |
addAccount(int index,
XchainOuterClass.TxDataAccount value)
The account list accept tx
repeated .pb.TxDataAccount account = 6; |
XchainOuterClass.TxData.Builder |
addAccount(XchainOuterClass.TxDataAccount.Builder builderForValue)
The account list accept tx
repeated .pb.TxDataAccount account = 6; |
XchainOuterClass.TxData.Builder |
addAccount(XchainOuterClass.TxDataAccount value)
The account list accept tx
repeated .pb.TxDataAccount account = 6; |
XchainOuterClass.TxData.Builder |
addAllAccount(Iterable<? extends XchainOuterClass.TxDataAccount> values)
The account list accept tx
repeated .pb.TxDataAccount account = 6; |
XchainOuterClass.TxData.Builder |
clearAccount()
The account list accept tx
repeated .pb.TxDataAccount account = 6; |
XchainOuterClass.TxData.Builder |
clearBcname()
Block name
optional string bcname = 2; |
XchainOuterClass.TxData.Builder |
clearDesc()
optional bytes desc = 12; |
XchainOuterClass.TxData.Builder |
clearFromAddr()
Account which start the transaction
optional string from_addr = 3; |
XchainOuterClass.TxData.Builder |
clearFromPubkey()
The pk of the account which start the transaction
optional string from_pubkey = 4; |
XchainOuterClass.TxData.Builder |
clearFromScrkey()
The sk of the account which start the transaction
optional string from_scrkey = 5; |
XchainOuterClass.TxData.Builder |
clearHeader()
optional .pb.Header header = 13; |
XchainOuterClass.TxData.Builder |
clearNonce()
Random number used to avoid replay attacks
optional string nonce = 8; |
XchainOuterClass.TxData.Builder |
clearTimestamp()
Timestamp to launch the Tx
optional int64 timestamp = 9; |
XchainOuterClass.TxData.Builder |
clearTxid()
Transaction id
optional bytes txid = 1; |
XchainOuterClass.TxData.Builder |
clearUserSign()
if user don't want to provide scrkey, he should sign the txdata into
user_sign
optional bytes user_sign = 14; |
XchainOuterClass.TxData.Builder |
clearVersion()
tx version
optional int32 version = 15; |
XchainOuterClass.TxDataAccount |
getAccount(int index)
The account list accept tx
repeated .pb.TxDataAccount account = 6; |
int |
getAccountCount()
The account list accept tx
repeated .pb.TxDataAccount account = 6; |
List<XchainOuterClass.TxDataAccount> |
getAccountList()
The account list accept tx
repeated .pb.TxDataAccount account = 6; |
String |
getBcname()
Block name
optional string bcname = 2; |
com.google.protobuf.ByteString |
getBcnameBytes()
Block name
optional string bcname = 2; |
com.google.protobuf.ByteString |
getDesc()
optional bytes desc = 12; |
String |
getFromAddr()
Account which start the transaction
optional string from_addr = 3; |
com.google.protobuf.ByteString |
getFromAddrBytes()
Account which start the transaction
optional string from_addr = 3; |
String |
getFromPubkey()
The pk of the account which start the transaction
optional string from_pubkey = 4; |
com.google.protobuf.ByteString |
getFromPubkeyBytes()
The pk of the account which start the transaction
optional string from_pubkey = 4; |
String |
getFromScrkey()
The sk of the account which start the transaction
optional string from_scrkey = 5; |
com.google.protobuf.ByteString |
getFromScrkeyBytes()
The sk of the account which start the transaction
optional string from_scrkey = 5; |
XchainOuterClass.Header |
getHeader()
optional .pb.Header header = 13; |
String |
getNonce()
Random number used to avoid replay attacks
optional string nonce = 8; |
com.google.protobuf.ByteString |
getNonceBytes()
Random number used to avoid replay attacks
optional string nonce = 8; |
long |
getTimestamp()
Timestamp to launch the Tx
optional int64 timestamp = 9; |
com.google.protobuf.ByteString |
getTxid()
Transaction id
optional bytes txid = 1; |
com.google.protobuf.ByteString |
getUserSign()
if user don't want to provide scrkey, he should sign the txdata into
user_sign
optional bytes user_sign = 14; |
int |
getVersion()
tx version
optional int32 version = 15; |
boolean |
hasHeader()
optional .pb.Header header = 13; |
XchainOuterClass.TxData.Builder |
mergeHeader(XchainOuterClass.Header value)
optional .pb.Header header = 13; |
XchainOuterClass.TxData.Builder |
removeAccount(int index)
The account list accept tx
repeated .pb.TxDataAccount account = 6; |
XchainOuterClass.TxData.Builder |
setAccount(int index,
XchainOuterClass.TxDataAccount.Builder builderForValue)
The account list accept tx
repeated .pb.TxDataAccount account = 6; |
XchainOuterClass.TxData.Builder |
setAccount(int index,
XchainOuterClass.TxDataAccount value)
The account list accept tx
repeated .pb.TxDataAccount account = 6; |
XchainOuterClass.TxData.Builder |
setBcname(String value)
Block name
optional string bcname = 2; |
XchainOuterClass.TxData.Builder |
setBcnameBytes(com.google.protobuf.ByteString value)
Block name
optional string bcname = 2; |
XchainOuterClass.TxData.Builder |
setDesc(com.google.protobuf.ByteString value)
optional bytes desc = 12; |
XchainOuterClass.TxData.Builder |
setFromAddr(String value)
Account which start the transaction
optional string from_addr = 3; |
XchainOuterClass.TxData.Builder |
setFromAddrBytes(com.google.protobuf.ByteString value)
Account which start the transaction
optional string from_addr = 3; |
XchainOuterClass.TxData.Builder |
setFromPubkey(String value)
The pk of the account which start the transaction
optional string from_pubkey = 4; |
XchainOuterClass.TxData.Builder |
setFromPubkeyBytes(com.google.protobuf.ByteString value)
The pk of the account which start the transaction
optional string from_pubkey = 4; |
XchainOuterClass.TxData.Builder |
setFromScrkey(String value)
The sk of the account which start the transaction
optional string from_scrkey = 5; |
XchainOuterClass.TxData.Builder |
setFromScrkeyBytes(com.google.protobuf.ByteString value)
The sk of the account which start the transaction
optional string from_scrkey = 5; |
XchainOuterClass.TxData.Builder |
setHeader(XchainOuterClass.Header.Builder builderForValue)
optional .pb.Header header = 13; |
XchainOuterClass.TxData.Builder |
setHeader(XchainOuterClass.Header value)
optional .pb.Header header = 13; |
XchainOuterClass.TxData.Builder |
setNonce(String value)
Random number used to avoid replay attacks
optional string nonce = 8; |
XchainOuterClass.TxData.Builder |
setNonceBytes(com.google.protobuf.ByteString value)
Random number used to avoid replay attacks
optional string nonce = 8; |
XchainOuterClass.TxData.Builder |
setTimestamp(long value)
Timestamp to launch the Tx
optional int64 timestamp = 9; |
XchainOuterClass.TxData.Builder |
setTxid(com.google.protobuf.ByteString value)
Transaction id
optional bytes txid = 1; |
XchainOuterClass.TxData.Builder |
setUserSign(com.google.protobuf.ByteString value)
if user don't want to provide scrkey, he should sign the txdata into
user_sign
optional bytes user_sign = 14; |
XchainOuterClass.TxData.Builder |
setVersion(int value)
tx version
optional int32 version = 15; |
build, buildPartial, clear, clone, copyOnWrite, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFromaddAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionpublic boolean hasHeader()
optional .pb.Header header = 13;hasHeader 在接口中 XchainOuterClass.TxDataOrBuilderpublic XchainOuterClass.Header getHeader()
optional .pb.Header header = 13;getHeader 在接口中 XchainOuterClass.TxDataOrBuilderpublic XchainOuterClass.TxData.Builder setHeader(XchainOuterClass.Header value)
optional .pb.Header header = 13;public XchainOuterClass.TxData.Builder setHeader(XchainOuterClass.Header.Builder builderForValue)
optional .pb.Header header = 13;public XchainOuterClass.TxData.Builder mergeHeader(XchainOuterClass.Header value)
optional .pb.Header header = 13;public XchainOuterClass.TxData.Builder clearHeader()
optional .pb.Header header = 13;public com.google.protobuf.ByteString getTxid()
Transaction id
optional bytes txid = 1;getTxid 在接口中 XchainOuterClass.TxDataOrBuilderpublic XchainOuterClass.TxData.Builder setTxid(com.google.protobuf.ByteString value)
Transaction id
optional bytes txid = 1;public XchainOuterClass.TxData.Builder clearTxid()
Transaction id
optional bytes txid = 1;public String getBcname()
Block name
optional string bcname = 2;getBcname 在接口中 XchainOuterClass.TxDataOrBuilderpublic com.google.protobuf.ByteString getBcnameBytes()
Block name
optional string bcname = 2;public XchainOuterClass.TxData.Builder setBcname(String value)
Block name
optional string bcname = 2;public XchainOuterClass.TxData.Builder clearBcname()
Block name
optional string bcname = 2;public XchainOuterClass.TxData.Builder setBcnameBytes(com.google.protobuf.ByteString value)
Block name
optional string bcname = 2;public String getFromAddr()
Account which start the transaction
optional string from_addr = 3;getFromAddr 在接口中 XchainOuterClass.TxDataOrBuilderpublic com.google.protobuf.ByteString getFromAddrBytes()
Account which start the transaction
optional string from_addr = 3;public XchainOuterClass.TxData.Builder setFromAddr(String value)
Account which start the transaction
optional string from_addr = 3;public XchainOuterClass.TxData.Builder clearFromAddr()
Account which start the transaction
optional string from_addr = 3;public XchainOuterClass.TxData.Builder setFromAddrBytes(com.google.protobuf.ByteString value)
Account which start the transaction
optional string from_addr = 3;public String getFromPubkey()
The pk of the account which start the transaction
optional string from_pubkey = 4;public com.google.protobuf.ByteString getFromPubkeyBytes()
The pk of the account which start the transaction
optional string from_pubkey = 4;public XchainOuterClass.TxData.Builder setFromPubkey(String value)
The pk of the account which start the transaction
optional string from_pubkey = 4;public XchainOuterClass.TxData.Builder clearFromPubkey()
The pk of the account which start the transaction
optional string from_pubkey = 4;public XchainOuterClass.TxData.Builder setFromPubkeyBytes(com.google.protobuf.ByteString value)
The pk of the account which start the transaction
optional string from_pubkey = 4;public String getFromScrkey()
The sk of the account which start the transaction
optional string from_scrkey = 5;public com.google.protobuf.ByteString getFromScrkeyBytes()
The sk of the account which start the transaction
optional string from_scrkey = 5;public XchainOuterClass.TxData.Builder setFromScrkey(String value)
The sk of the account which start the transaction
optional string from_scrkey = 5;public XchainOuterClass.TxData.Builder clearFromScrkey()
The sk of the account which start the transaction
optional string from_scrkey = 5;public XchainOuterClass.TxData.Builder setFromScrkeyBytes(com.google.protobuf.ByteString value)
The sk of the account which start the transaction
optional string from_scrkey = 5;public com.google.protobuf.ByteString getUserSign()
if user don't want to provide scrkey, he should sign the txdata into user_sign
optional bytes user_sign = 14;getUserSign 在接口中 XchainOuterClass.TxDataOrBuilderpublic XchainOuterClass.TxData.Builder setUserSign(com.google.protobuf.ByteString value)
if user don't want to provide scrkey, he should sign the txdata into user_sign
optional bytes user_sign = 14;public XchainOuterClass.TxData.Builder clearUserSign()
if user don't want to provide scrkey, he should sign the txdata into user_sign
optional bytes user_sign = 14;public List<XchainOuterClass.TxDataAccount> getAccountList()
The account list accept tx
repeated .pb.TxDataAccount account = 6;public int getAccountCount()
The account list accept tx
repeated .pb.TxDataAccount account = 6;public XchainOuterClass.TxDataAccount getAccount(int index)
The account list accept tx
repeated .pb.TxDataAccount account = 6;getAccount 在接口中 XchainOuterClass.TxDataOrBuilderpublic XchainOuterClass.TxData.Builder setAccount(int index, XchainOuterClass.TxDataAccount value)
The account list accept tx
repeated .pb.TxDataAccount account = 6;public XchainOuterClass.TxData.Builder setAccount(int index, XchainOuterClass.TxDataAccount.Builder builderForValue)
The account list accept tx
repeated .pb.TxDataAccount account = 6;public XchainOuterClass.TxData.Builder addAccount(XchainOuterClass.TxDataAccount value)
The account list accept tx
repeated .pb.TxDataAccount account = 6;public XchainOuterClass.TxData.Builder addAccount(int index, XchainOuterClass.TxDataAccount value)
The account list accept tx
repeated .pb.TxDataAccount account = 6;public XchainOuterClass.TxData.Builder addAccount(XchainOuterClass.TxDataAccount.Builder builderForValue)
The account list accept tx
repeated .pb.TxDataAccount account = 6;public XchainOuterClass.TxData.Builder addAccount(int index, XchainOuterClass.TxDataAccount.Builder builderForValue)
The account list accept tx
repeated .pb.TxDataAccount account = 6;public XchainOuterClass.TxData.Builder addAllAccount(Iterable<? extends XchainOuterClass.TxDataAccount> values)
The account list accept tx
repeated .pb.TxDataAccount account = 6;public XchainOuterClass.TxData.Builder clearAccount()
The account list accept tx
repeated .pb.TxDataAccount account = 6;public XchainOuterClass.TxData.Builder removeAccount(int index)
The account list accept tx
repeated .pb.TxDataAccount account = 6;public String getNonce()
Random number used to avoid replay attacks
optional string nonce = 8;getNonce 在接口中 XchainOuterClass.TxDataOrBuilderpublic com.google.protobuf.ByteString getNonceBytes()
Random number used to avoid replay attacks
optional string nonce = 8;public XchainOuterClass.TxData.Builder setNonce(String value)
Random number used to avoid replay attacks
optional string nonce = 8;public XchainOuterClass.TxData.Builder clearNonce()
Random number used to avoid replay attacks
optional string nonce = 8;public XchainOuterClass.TxData.Builder setNonceBytes(com.google.protobuf.ByteString value)
Random number used to avoid replay attacks
optional string nonce = 8;public long getTimestamp()
Timestamp to launch the Tx
optional int64 timestamp = 9;getTimestamp 在接口中 XchainOuterClass.TxDataOrBuilderpublic XchainOuterClass.TxData.Builder setTimestamp(long value)
Timestamp to launch the Tx
optional int64 timestamp = 9;public XchainOuterClass.TxData.Builder clearTimestamp()
Timestamp to launch the Tx
optional int64 timestamp = 9;public com.google.protobuf.ByteString getDesc()
optional bytes desc = 12;getDesc 在接口中 XchainOuterClass.TxDataOrBuilderpublic XchainOuterClass.TxData.Builder setDesc(com.google.protobuf.ByteString value)
optional bytes desc = 12;public XchainOuterClass.TxData.Builder clearDesc()
optional bytes desc = 12;public int getVersion()
tx version
optional int32 version = 15;getVersion 在接口中 XchainOuterClass.TxDataOrBuilderpublic XchainOuterClass.TxData.Builder setVersion(int value)
tx version
optional int32 version = 15;public XchainOuterClass.TxData.Builder clearVersion()
tx version
optional int32 version = 15;Copyright © 2020. All rights reserved.