public static final class XchainOuterClass.TxData extends com.google.protobuf.GeneratedMessageLite<XchainOuterClass.TxData,XchainOuterClass.TxData.Builder> implements XchainOuterClass.TxDataOrBuilder
pb.TxData| 限定符和类型 | 类和说明 |
|---|---|
static class |
XchainOuterClass.TxData.Builder
Protobuf type
pb.TxData |
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>, com.google.protobuf.GeneratedMessageLite.MergeFromVisitor, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm, com.google.protobuf.GeneratedMessageLite.Visitor| 限定符和类型 | 字段和说明 |
|---|---|
static int |
ACCOUNT_FIELD_NUMBER |
static int |
BCNAME_FIELD_NUMBER |
static int |
DESC_FIELD_NUMBER |
static int |
FROM_ADDR_FIELD_NUMBER |
static int |
FROM_PUBKEY_FIELD_NUMBER |
static int |
FROM_SCRKEY_FIELD_NUMBER |
static int |
HEADER_FIELD_NUMBER |
static int |
NONCE_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
static int |
TXID_FIELD_NUMBER |
static int |
USER_SIGN_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
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; |
XchainOuterClass.TxDataAccountOrBuilder |
getAccountOrBuilder(int index)
The account list accept tx
repeated .pb.TxDataAccount account = 6; |
List<? extends XchainOuterClass.TxDataAccountOrBuilder> |
getAccountOrBuilderList()
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; |
static XchainOuterClass.TxData |
getDefaultInstance() |
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; |
int |
getSerializedSize() |
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; |
static XchainOuterClass.TxData.Builder |
newBuilder() |
static XchainOuterClass.TxData.Builder |
newBuilder(XchainOuterClass.TxData prototype) |
static XchainOuterClass.TxData |
parseDelimitedFrom(InputStream input) |
static XchainOuterClass.TxData |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.TxData |
parseFrom(byte[] data) |
static XchainOuterClass.TxData |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.TxData |
parseFrom(com.google.protobuf.ByteString data) |
static XchainOuterClass.TxData |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.TxData |
parseFrom(com.google.protobuf.CodedInputStream input) |
static XchainOuterClass.TxData |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static XchainOuterClass.TxData |
parseFrom(InputStream input) |
static XchainOuterClass.TxData |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<XchainOuterClass.TxData> |
parser() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, isInitialized, makeImmutable, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, toBuilder, toStringpublic static final int HEADER_FIELD_NUMBER
public static final int TXID_FIELD_NUMBER
public static final int BCNAME_FIELD_NUMBER
public static final int FROM_ADDR_FIELD_NUMBER
public static final int FROM_PUBKEY_FIELD_NUMBER
public static final int FROM_SCRKEY_FIELD_NUMBER
public static final int USER_SIGN_FIELD_NUMBER
public static final int ACCOUNT_FIELD_NUMBER
public static final int NONCE_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
public static final int DESC_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
public boolean hasHeader()
optional .pb.Header header = 13;hasHeader 在接口中 XchainOuterClass.TxDataOrBuilderpublic XchainOuterClass.Header getHeader()
optional .pb.Header header = 13;getHeader 在接口中 XchainOuterClass.TxDataOrBuilderpublic com.google.protobuf.ByteString getTxid()
Transaction id
optional bytes txid = 1;getTxid 在接口中 XchainOuterClass.TxDataOrBuilderpublic String getBcname()
Block name
optional string bcname = 2;getBcname 在接口中 XchainOuterClass.TxDataOrBuilderpublic com.google.protobuf.ByteString getBcnameBytes()
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 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 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 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 List<XchainOuterClass.TxDataAccount> getAccountList()
The account list accept tx
repeated .pb.TxDataAccount account = 6;public List<? extends XchainOuterClass.TxDataAccountOrBuilder> getAccountOrBuilderList()
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.TxDataAccountOrBuilder getAccountOrBuilder(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 long getTimestamp()
Timestamp to launch the Tx
optional int64 timestamp = 9;getTimestamp 在接口中 XchainOuterClass.TxDataOrBuilderpublic com.google.protobuf.ByteString getDesc()
optional bytes desc = 12;getDesc 在接口中 XchainOuterClass.TxDataOrBuilderpublic int getVersion()
tx version
optional int32 version = 15;getVersion 在接口中 XchainOuterClass.TxDataOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLiteIOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitepublic static XchainOuterClass.TxData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.TxData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.TxData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.TxData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.TxData parseFrom(InputStream input) throws IOException
IOExceptionpublic static XchainOuterClass.TxData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XchainOuterClass.TxData parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static XchainOuterClass.TxData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XchainOuterClass.TxData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static XchainOuterClass.TxData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static XchainOuterClass.TxData.Builder newBuilder()
public static XchainOuterClass.TxData.Builder newBuilder(XchainOuterClass.TxData prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod 在类中 com.google.protobuf.GeneratedMessageLite<XchainOuterClass.TxData,XchainOuterClass.TxData.Builder>public static XchainOuterClass.TxData getDefaultInstance()
public static com.google.protobuf.Parser<XchainOuterClass.TxData> parser()
Copyright © 2020. All rights reserved.