public static final class Contract.Transaction extends com.google.protobuf.GeneratedMessageV3 implements Contract.TransactionOrBuilder
Transaction is the information of the transactionProtobuf type
xchain.contract.sdk.Transaction| 限定符和类型 | 类和说明 |
|---|---|
static class |
Contract.Transaction.Builder
Transaction is the information of the transaction
Protobuf type
xchain.contract.sdk.Transaction |
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 |
AUTH_REQUIRE_FIELD_NUMBER |
static int |
BLOCKID_FIELD_NUMBER |
static int |
DESC_FIELD_NUMBER |
static int |
INITIATOR_FIELD_NUMBER |
static int |
TX_INPUTS_FIELD_NUMBER |
static int |
TX_OUTPUTS_FIELD_NUMBER |
static int |
TXID_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
String |
getAuthRequire(int index)
交易发起需要被收集签名的AddressURL集合信息,包括用于utxo转账和用于合约调用
repeated string auth_require = 27; |
com.google.protobuf.ByteString |
getAuthRequireBytes(int index)
交易发起需要被收集签名的AddressURL集合信息,包括用于utxo转账和用于合约调用
repeated string auth_require = 27; |
int |
getAuthRequireCount()
交易发起需要被收集签名的AddressURL集合信息,包括用于utxo转账和用于合约调用
repeated string auth_require = 27; |
com.google.protobuf.ProtocolStringList |
getAuthRequireList()
交易发起需要被收集签名的AddressURL集合信息,包括用于utxo转账和用于合约调用
repeated string auth_require = 27; |
String |
getBlockid()
the blockid the transaction belong to
string blockid = 2; |
com.google.protobuf.ByteString |
getBlockidBytes()
the blockid the transaction belong to
string blockid = 2; |
static Contract.Transaction |
getDefaultInstance() |
Contract.Transaction |
getDefaultInstanceForType() |
com.google.protobuf.ByteString |
getDesc()
Transaction description or system contract
bytes desc = 6; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getInitiator()
权限系统新增字段
交易发起者, 可以是一个Address或者一个Account
string initiator = 26; |
com.google.protobuf.ByteString |
getInitiatorBytes()
权限系统新增字段
交易发起者, 可以是一个Address或者一个Account
string initiator = 26; |
com.google.protobuf.Parser<Contract.Transaction> |
getParserForType() |
int |
getSerializedSize() |
String |
getTxid()
txid is the id of this transaction
string txid = 1; |
com.google.protobuf.ByteString |
getTxidBytes()
txid is the id of this transaction
string txid = 1; |
Contract.TxInput |
getTxInputs(int index)
Transaction input list
repeated .xchain.contract.sdk.TxInput tx_inputs = 3; |
int |
getTxInputsCount()
Transaction input list
repeated .xchain.contract.sdk.TxInput tx_inputs = 3; |
List<Contract.TxInput> |
getTxInputsList()
Transaction input list
repeated .xchain.contract.sdk.TxInput tx_inputs = 3; |
Contract.TxInputOrBuilder |
getTxInputsOrBuilder(int index)
Transaction input list
repeated .xchain.contract.sdk.TxInput tx_inputs = 3; |
List<? extends Contract.TxInputOrBuilder> |
getTxInputsOrBuilderList()
Transaction input list
repeated .xchain.contract.sdk.TxInput tx_inputs = 3; |
Contract.TxOutput |
getTxOutputs(int index)
Transaction output list
repeated .xchain.contract.sdk.TxOutput tx_outputs = 4; |
int |
getTxOutputsCount()
Transaction output list
repeated .xchain.contract.sdk.TxOutput tx_outputs = 4; |
List<Contract.TxOutput> |
getTxOutputsList()
Transaction output list
repeated .xchain.contract.sdk.TxOutput tx_outputs = 4; |
Contract.TxOutputOrBuilder |
getTxOutputsOrBuilder(int index)
Transaction output list
repeated .xchain.contract.sdk.TxOutput tx_outputs = 4; |
List<? extends Contract.TxOutputOrBuilder> |
getTxOutputsOrBuilderList()
Transaction output list
repeated .xchain.contract.sdk.TxOutput tx_outputs = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Contract.Transaction.Builder |
newBuilder() |
static Contract.Transaction.Builder |
newBuilder(Contract.Transaction prototype) |
Contract.Transaction.Builder |
newBuilderForType() |
protected Contract.Transaction.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Contract.Transaction |
parseDelimitedFrom(InputStream input) |
static Contract.Transaction |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Contract.Transaction |
parseFrom(byte[] data) |
static Contract.Transaction |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Contract.Transaction |
parseFrom(ByteBuffer data) |
static Contract.Transaction |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Contract.Transaction |
parseFrom(com.google.protobuf.ByteString data) |
static Contract.Transaction |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Contract.Transaction |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Contract.Transaction |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Contract.Transaction |
parseFrom(InputStream input) |
static Contract.Transaction |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Contract.Transaction> |
parser() |
Contract.Transaction.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 TXID_FIELD_NUMBER
public static final int BLOCKID_FIELD_NUMBER
public static final int TX_INPUTS_FIELD_NUMBER
public static final int TX_OUTPUTS_FIELD_NUMBER
public static final int DESC_FIELD_NUMBER
public static final int INITIATOR_FIELD_NUMBER
public static final int AUTH_REQUIRE_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 String getTxid()
txid is the id of this transaction
string txid = 1;getTxid 在接口中 Contract.TransactionOrBuilderpublic com.google.protobuf.ByteString getTxidBytes()
txid is the id of this transaction
string txid = 1;getTxidBytes 在接口中 Contract.TransactionOrBuilderpublic String getBlockid()
the blockid the transaction belong to
string blockid = 2;getBlockid 在接口中 Contract.TransactionOrBuilderpublic com.google.protobuf.ByteString getBlockidBytes()
the blockid the transaction belong to
string blockid = 2;getBlockidBytes 在接口中 Contract.TransactionOrBuilderpublic List<Contract.TxInput> getTxInputsList()
Transaction input list
repeated .xchain.contract.sdk.TxInput tx_inputs = 3;getTxInputsList 在接口中 Contract.TransactionOrBuilderpublic List<? extends Contract.TxInputOrBuilder> getTxInputsOrBuilderList()
Transaction input list
repeated .xchain.contract.sdk.TxInput tx_inputs = 3;public int getTxInputsCount()
Transaction input list
repeated .xchain.contract.sdk.TxInput tx_inputs = 3;public Contract.TxInput getTxInputs(int index)
Transaction input list
repeated .xchain.contract.sdk.TxInput tx_inputs = 3;getTxInputs 在接口中 Contract.TransactionOrBuilderpublic Contract.TxInputOrBuilder getTxInputsOrBuilder(int index)
Transaction input list
repeated .xchain.contract.sdk.TxInput tx_inputs = 3;public List<Contract.TxOutput> getTxOutputsList()
Transaction output list
repeated .xchain.contract.sdk.TxOutput tx_outputs = 4;public List<? extends Contract.TxOutputOrBuilder> getTxOutputsOrBuilderList()
Transaction output list
repeated .xchain.contract.sdk.TxOutput tx_outputs = 4;public int getTxOutputsCount()
Transaction output list
repeated .xchain.contract.sdk.TxOutput tx_outputs = 4;public Contract.TxOutput getTxOutputs(int index)
Transaction output list
repeated .xchain.contract.sdk.TxOutput tx_outputs = 4;getTxOutputs 在接口中 Contract.TransactionOrBuilderpublic Contract.TxOutputOrBuilder getTxOutputsOrBuilder(int index)
Transaction output list
repeated .xchain.contract.sdk.TxOutput tx_outputs = 4;public com.google.protobuf.ByteString getDesc()
Transaction description or system contract
bytes desc = 6;getDesc 在接口中 Contract.TransactionOrBuilderpublic String getInitiator()
权限系统新增字段 交易发起者, 可以是一个Address或者一个Account
string initiator = 26;getInitiator 在接口中 Contract.TransactionOrBuilderpublic com.google.protobuf.ByteString getInitiatorBytes()
权限系统新增字段 交易发起者, 可以是一个Address或者一个Account
string initiator = 26;getInitiatorBytes 在接口中 Contract.TransactionOrBuilderpublic com.google.protobuf.ProtocolStringList getAuthRequireList()
交易发起需要被收集签名的AddressURL集合信息,包括用于utxo转账和用于合约调用
repeated string auth_require = 27;getAuthRequireList 在接口中 Contract.TransactionOrBuilderpublic int getAuthRequireCount()
交易发起需要被收集签名的AddressURL集合信息,包括用于utxo转账和用于合约调用
repeated string auth_require = 27;getAuthRequireCount 在接口中 Contract.TransactionOrBuilderpublic String getAuthRequire(int index)
交易发起需要被收集签名的AddressURL集合信息,包括用于utxo转账和用于合约调用
repeated string auth_require = 27;getAuthRequire 在接口中 Contract.TransactionOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getAuthRequireBytes(int index)
交易发起需要被收集签名的AddressURL集合信息,包括用于utxo转账和用于合约调用
repeated string auth_require = 27;getAuthRequireBytes 在接口中 Contract.TransactionOrBuilderindex - The index of the value to return.public 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 Contract.Transaction parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Contract.Transaction parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Contract.Transaction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Contract.Transaction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Contract.Transaction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Contract.Transaction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Contract.Transaction parseFrom(InputStream input) throws IOException
IOExceptionpublic static Contract.Transaction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Contract.Transaction parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Contract.Transaction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Contract.Transaction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Contract.Transaction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Contract.Transaction.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Contract.Transaction.Builder newBuilder()
public static Contract.Transaction.Builder newBuilder(Contract.Transaction prototype)
public Contract.Transaction.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Contract.Transaction.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static Contract.Transaction getDefaultInstance()
public static com.google.protobuf.Parser<Contract.Transaction> parser()
public com.google.protobuf.Parser<Contract.Transaction> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Contract.Transaction getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2020. All rights reserved.