public static final class XchainOuterClass.TxData extends com.google.protobuf.GeneratedMessageV3 implements XchainOuterClass.TxDataOrBuilder
pb.TxData| 限定符和类型 | 类和说明 |
|---|---|
static class |
XchainOuterClass.TxData.Builder
Protobuf type
pb.TxData |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 限定符和类型 | 字段和说明 |
|---|---|
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 |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
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
string bcname = 2; |
com.google.protobuf.ByteString |
getBcnameBytes()
Block name
string bcname = 2; |
static XchainOuterClass.TxData |
getDefaultInstance() |
XchainOuterClass.TxData |
getDefaultInstanceForType() |
com.google.protobuf.ByteString |
getDesc()
bytes desc = 12; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFromAddr()
Account which start the transaction
string from_addr = 3; |
com.google.protobuf.ByteString |
getFromAddrBytes()
Account which start the transaction
string from_addr = 3; |
String |
getFromPubkey()
The pk of the account which start the transaction
string from_pubkey = 4; |
com.google.protobuf.ByteString |
getFromPubkeyBytes()
The pk of the account which start the transaction
string from_pubkey = 4; |
String |
getFromScrkey()
The sk of the account which start the transaction
string from_scrkey = 5; |
com.google.protobuf.ByteString |
getFromScrkeyBytes()
The sk of the account which start the transaction
string from_scrkey = 5; |
XchainOuterClass.Header |
getHeader()
.pb.Header header = 13; |
XchainOuterClass.HeaderOrBuilder |
getHeaderOrBuilder()
.pb.Header header = 13; |
String |
getNonce()
Random number used to avoid replay attacks
string nonce = 8; |
com.google.protobuf.ByteString |
getNonceBytes()
Random number used to avoid replay attacks
string nonce = 8; |
com.google.protobuf.Parser<XchainOuterClass.TxData> |
getParserForType() |
int |
getSerializedSize() |
long |
getTimestamp()
Timestamp to launch the Tx
int64 timestamp = 9; |
com.google.protobuf.ByteString |
getTxid()
Transaction id
bytes txid = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.ByteString |
getUserSign()
if user don't want to provide scrkey, he should sign the txdata into
user_sign
bytes user_sign = 14; |
int |
getVersion()
tx version
int32 version = 15; |
int |
hashCode() |
boolean |
hasHeader()
.pb.Header header = 13; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static XchainOuterClass.TxData.Builder |
newBuilder() |
static XchainOuterClass.TxData.Builder |
newBuilder(XchainOuterClass.TxData prototype) |
XchainOuterClass.TxData.Builder |
newBuilderForType() |
protected XchainOuterClass.TxData.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
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(ByteBuffer data) |
static XchainOuterClass.TxData |
parseFrom(ByteBuffer 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() |
XchainOuterClass.TxData.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic 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
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 在类中 com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public boolean hasHeader()
.pb.Header header = 13;hasHeader 在接口中 XchainOuterClass.TxDataOrBuilderpublic XchainOuterClass.Header getHeader()
.pb.Header header = 13;getHeader 在接口中 XchainOuterClass.TxDataOrBuilderpublic XchainOuterClass.HeaderOrBuilder getHeaderOrBuilder()
.pb.Header header = 13;public com.google.protobuf.ByteString getTxid()
Transaction id
bytes txid = 1;getTxid 在接口中 XchainOuterClass.TxDataOrBuilderpublic String getBcname()
Block name
string bcname = 2;getBcname 在接口中 XchainOuterClass.TxDataOrBuilderpublic com.google.protobuf.ByteString getBcnameBytes()
Block name
string bcname = 2;getBcnameBytes 在接口中 XchainOuterClass.TxDataOrBuilderpublic String getFromAddr()
Account which start the transaction
string from_addr = 3;getFromAddr 在接口中 XchainOuterClass.TxDataOrBuilderpublic com.google.protobuf.ByteString getFromAddrBytes()
Account which start the transaction
string from_addr = 3;getFromAddrBytes 在接口中 XchainOuterClass.TxDataOrBuilderpublic String getFromPubkey()
The pk of the account which start the transaction
string from_pubkey = 4;getFromPubkey 在接口中 XchainOuterClass.TxDataOrBuilderpublic com.google.protobuf.ByteString getFromPubkeyBytes()
The pk of the account which start the transaction
string from_pubkey = 4;getFromPubkeyBytes 在接口中 XchainOuterClass.TxDataOrBuilderpublic String getFromScrkey()
The sk of the account which start the transaction
string from_scrkey = 5;getFromScrkey 在接口中 XchainOuterClass.TxDataOrBuilderpublic com.google.protobuf.ByteString getFromScrkeyBytes()
The sk of the account which start the transaction
string from_scrkey = 5;getFromScrkeyBytes 在接口中 XchainOuterClass.TxDataOrBuilderpublic com.google.protobuf.ByteString getUserSign()
if user don't want to provide scrkey, he should sign the txdata into user_sign
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
string nonce = 8;getNonce 在接口中 XchainOuterClass.TxDataOrBuilderpublic com.google.protobuf.ByteString getNonceBytes()
Random number used to avoid replay attacks
string nonce = 8;getNonceBytes 在接口中 XchainOuterClass.TxDataOrBuilderpublic long getTimestamp()
Timestamp to launch the Tx
int64 timestamp = 9;getTimestamp 在接口中 XchainOuterClass.TxDataOrBuilderpublic com.google.protobuf.ByteString getDesc()
bytes desc = 12;getDesc 在接口中 XchainOuterClass.TxDataOrBuilderpublic int getVersion()
tx version
int32 version = 15;getVersion 在接口中 XchainOuterClass.TxDataOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static XchainOuterClass.TxData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static XchainOuterClass.TxData parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic 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 XchainOuterClass.TxData.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static XchainOuterClass.TxData.Builder newBuilder()
public static XchainOuterClass.TxData.Builder newBuilder(XchainOuterClass.TxData prototype)
public XchainOuterClass.TxData.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected XchainOuterClass.TxData.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static XchainOuterClass.TxData getDefaultInstance()
public static com.google.protobuf.Parser<XchainOuterClass.TxData> parser()
public com.google.protobuf.Parser<XchainOuterClass.TxData> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public XchainOuterClass.TxData getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2022. All rights reserved.