类 Contract.Transaction
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.baidu.xuper.contractpb.Contract.Transaction
- 所有已实现的接口:
Contract.TransactionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- 封闭类:
- Contract
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 classContract.Transaction.BuilderTransaction is the information of the transaction从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
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从类继承的嵌套类/接口 com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
字段概要
字段 修饰符和类型 字段 说明 static intAUTH_REQUIRE_FIELD_NUMBERstatic intBLOCKID_FIELD_NUMBERstatic intDESC_FIELD_NUMBERstatic intINITIATOR_FIELD_NUMBERstatic intTX_INPUTS_FIELD_NUMBERstatic intTX_OUTPUTS_FIELD_NUMBERstatic intTXID_FIELD_NUMBER从类继承的字段 com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields从类继承的字段 com.google.protobuf.AbstractMessage
memoizedSize从类继承的字段 com.google.protobuf.AbstractMessageLite
memoizedHashCode -
方法概要
修饰符和类型 方法 说明 booleanequals(Object obj)StringgetAuthRequire(int index)交易发起需要被收集签名的AddressURL集合信息,包括用于utxo转账和用于合约调用com.google.protobuf.ByteStringgetAuthRequireBytes(int index)交易发起需要被收集签名的AddressURL集合信息,包括用于utxo转账和用于合约调用intgetAuthRequireCount()交易发起需要被收集签名的AddressURL集合信息,包括用于utxo转账和用于合约调用com.google.protobuf.ProtocolStringListgetAuthRequireList()交易发起需要被收集签名的AddressURL集合信息,包括用于utxo转账和用于合约调用StringgetBlockid()the blockid the transaction belong tocom.google.protobuf.ByteStringgetBlockidBytes()the blockid the transaction belong tostatic Contract.TransactiongetDefaultInstance()Contract.TransactiongetDefaultInstanceForType()com.google.protobuf.ByteStringgetDesc()Transaction description or system contractstatic com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetInitiator()权限系统新增字段 交易发起者, 可以是一个Address或者一个Accountcom.google.protobuf.ByteStringgetInitiatorBytes()权限系统新增字段 交易发起者, 可以是一个Address或者一个Accountcom.google.protobuf.Parser<Contract.Transaction>getParserForType()intgetSerializedSize()StringgetTxid()txid is the id of this transactioncom.google.protobuf.ByteStringgetTxidBytes()txid is the id of this transactionContract.TxInputgetTxInputs(int index)Transaction input listintgetTxInputsCount()Transaction input listList<Contract.TxInput>getTxInputsList()Transaction input listContract.TxInputOrBuildergetTxInputsOrBuilder(int index)Transaction input listList<? extends Contract.TxInputOrBuilder>getTxInputsOrBuilderList()Transaction input listContract.TxOutputgetTxOutputs(int index)Transaction output listintgetTxOutputsCount()Transaction output listList<Contract.TxOutput>getTxOutputsList()Transaction output listContract.TxOutputOrBuildergetTxOutputsOrBuilder(int index)Transaction output listList<? extends Contract.TxOutputOrBuilder>getTxOutputsOrBuilderList()Transaction output listcom.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Contract.Transaction.BuildernewBuilder()static Contract.Transaction.BuildernewBuilder(Contract.Transaction prototype)Contract.Transaction.BuildernewBuilderForType()protected Contract.Transaction.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Contract.TransactionparseDelimitedFrom(InputStream input)static Contract.TransactionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Contract.TransactionparseFrom(byte[] data)static Contract.TransactionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Contract.TransactionparseFrom(com.google.protobuf.ByteString data)static Contract.TransactionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Contract.TransactionparseFrom(com.google.protobuf.CodedInputStream input)static Contract.TransactionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Contract.TransactionparseFrom(InputStream input)static Contract.TransactionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Contract.TransactionparseFrom(ByteBuffer data)static Contract.TransactionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Contract.Transaction>parser()Contract.Transaction.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)从类继承的方法 com.google.protobuf.GeneratedMessageV3
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, writeStringNoTag从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString从类继承的方法 com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
字段详细资料
-
TXID_FIELD_NUMBER
public static final int TXID_FIELD_NUMBER- 另请参阅:
- 常量字段值
-
BLOCKID_FIELD_NUMBER
public static final int BLOCKID_FIELD_NUMBER- 另请参阅:
- 常量字段值
-
TX_INPUTS_FIELD_NUMBER
public static final int TX_INPUTS_FIELD_NUMBER- 另请参阅:
- 常量字段值
-
TX_OUTPUTS_FIELD_NUMBER
public static final int TX_OUTPUTS_FIELD_NUMBER- 另请参阅:
- 常量字段值
-
DESC_FIELD_NUMBER
public static final int DESC_FIELD_NUMBER- 另请参阅:
- 常量字段值
-
INITIATOR_FIELD_NUMBER
public static final int INITIATOR_FIELD_NUMBER- 另请参阅:
- 常量字段值
-
AUTH_REQUIRE_FIELD_NUMBER
public static final int AUTH_REQUIRE_FIELD_NUMBER- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
newInstance
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
getTxid
txid is the id of this transaction
string txid = 1;- 指定者:
getTxid在接口中Contract.TransactionOrBuilder- 返回:
- The txid.
-
getTxidBytes
public com.google.protobuf.ByteString getTxidBytes()txid is the id of this transaction
string txid = 1;- 指定者:
getTxidBytes在接口中Contract.TransactionOrBuilder- 返回:
- The bytes for txid.
-
getBlockid
the blockid the transaction belong to
string blockid = 2;- 指定者:
getBlockid在接口中Contract.TransactionOrBuilder- 返回:
- The blockid.
-
getBlockidBytes
public com.google.protobuf.ByteString getBlockidBytes()the blockid the transaction belong to
string blockid = 2;- 指定者:
getBlockidBytes在接口中Contract.TransactionOrBuilder- 返回:
- The bytes for blockid.
-
getTxInputsList
Transaction input list
repeated .xchain.contract.sdk.TxInput tx_inputs = 3;- 指定者:
getTxInputsList在接口中Contract.TransactionOrBuilder
-
getTxInputsOrBuilderList
Transaction input list
repeated .xchain.contract.sdk.TxInput tx_inputs = 3; -
getTxInputsCount
public int getTxInputsCount()Transaction input list
repeated .xchain.contract.sdk.TxInput tx_inputs = 3; -
getTxInputs
Transaction input list
repeated .xchain.contract.sdk.TxInput tx_inputs = 3;- 指定者:
getTxInputs在接口中Contract.TransactionOrBuilder
-
getTxInputsOrBuilder
Transaction input list
repeated .xchain.contract.sdk.TxInput tx_inputs = 3; -
getTxOutputsList
Transaction output list
repeated .xchain.contract.sdk.TxOutput tx_outputs = 4; -
getTxOutputsOrBuilderList
Transaction output list
repeated .xchain.contract.sdk.TxOutput tx_outputs = 4; -
getTxOutputsCount
public int getTxOutputsCount()Transaction output list
repeated .xchain.contract.sdk.TxOutput tx_outputs = 4; -
getTxOutputs
Transaction output list
repeated .xchain.contract.sdk.TxOutput tx_outputs = 4;- 指定者:
getTxOutputs在接口中Contract.TransactionOrBuilder
-
getTxOutputsOrBuilder
Transaction output list
repeated .xchain.contract.sdk.TxOutput tx_outputs = 4; -
getDesc
public com.google.protobuf.ByteString getDesc()Transaction description or system contract
bytes desc = 6;- 指定者:
getDesc在接口中Contract.TransactionOrBuilder- 返回:
- The desc.
-
getInitiator
权限系统新增字段 交易发起者, 可以是一个Address或者一个Account
string initiator = 26;- 指定者:
getInitiator在接口中Contract.TransactionOrBuilder- 返回:
- The initiator.
-
getInitiatorBytes
public com.google.protobuf.ByteString getInitiatorBytes()权限系统新增字段 交易发起者, 可以是一个Address或者一个Account
string initiator = 26;- 指定者:
getInitiatorBytes在接口中Contract.TransactionOrBuilder- 返回:
- The bytes for initiator.
-
getAuthRequireList
public com.google.protobuf.ProtocolStringList getAuthRequireList()交易发起需要被收集签名的AddressURL集合信息,包括用于utxo转账和用于合约调用
repeated string auth_require = 27;- 指定者:
getAuthRequireList在接口中Contract.TransactionOrBuilder- 返回:
- A list containing the authRequire.
-
getAuthRequireCount
public int getAuthRequireCount()交易发起需要被收集签名的AddressURL集合信息,包括用于utxo转账和用于合约调用
repeated string auth_require = 27;- 指定者:
getAuthRequireCount在接口中Contract.TransactionOrBuilder- 返回:
- The count of authRequire.
-
getAuthRequire
交易发起需要被收集签名的AddressURL集合信息,包括用于utxo转账和用于合约调用
repeated string auth_require = 27;- 指定者:
getAuthRequire在接口中Contract.TransactionOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The authRequire at the given index.
-
getAuthRequireBytes
public com.google.protobuf.ByteString getAuthRequireBytes(int index)交易发起需要被收集签名的AddressURL集合信息,包括用于utxo转账和用于合约调用
repeated string auth_require = 27;- 指定者:
getAuthRequireBytes在接口中Contract.TransactionOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the authRequire at the given index.
-
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
IOException
-
getSerializedSize
public int getSerializedSize()- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static Contract.Transaction parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Contract.Transaction parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Contract.Transaction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Contract.Transaction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Contract.Transaction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Contract.Transaction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- 抛出:
IOException
-
parseFrom
public static Contract.Transaction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException- 抛出:
IOException
-
parseDelimitedFrom
- 抛出:
IOException
-
parseDelimitedFrom
public static Contract.Transaction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException- 抛出:
IOException
-
parseFrom
public static Contract.Transaction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException- 抛出:
IOException
-
parseFrom
public static Contract.Transaction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException- 抛出:
IOException
-
newBuilderForType
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected Contract.Transaction.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)- 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-