类 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 transaction
 
Protobuf type xchain.contract.sdk.Transaction
另请参阅:
序列化表格
  • 字段详细资料

    • 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

      protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      覆盖:
      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

      public String 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

      public String 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

      public List<Contract.TxInput> getTxInputsList()
       Transaction input list
       
      repeated .xchain.contract.sdk.TxInput tx_inputs = 3;
      指定者:
      getTxInputsList 在接口中 Contract.TransactionOrBuilder
    • getTxInputsOrBuilderList

      public List<? extends Contract.TxInputOrBuilder> getTxInputsOrBuilderList()
       Transaction input list
       
      repeated .xchain.contract.sdk.TxInput tx_inputs = 3;
      指定者:
      getTxInputsOrBuilderList 在接口中 Contract.TransactionOrBuilder
    • getTxInputsCount

      public int getTxInputsCount()
       Transaction input list
       
      repeated .xchain.contract.sdk.TxInput tx_inputs = 3;
      指定者:
      getTxInputsCount 在接口中 Contract.TransactionOrBuilder
    • getTxInputs

      public Contract.TxInput getTxInputs​(int index)
       Transaction input list
       
      repeated .xchain.contract.sdk.TxInput tx_inputs = 3;
      指定者:
      getTxInputs 在接口中 Contract.TransactionOrBuilder
    • getTxInputsOrBuilder

      public Contract.TxInputOrBuilder getTxInputsOrBuilder​(int index)
       Transaction input list
       
      repeated .xchain.contract.sdk.TxInput tx_inputs = 3;
      指定者:
      getTxInputsOrBuilder 在接口中 Contract.TransactionOrBuilder
    • getTxOutputsList

      public List<Contract.TxOutput> getTxOutputsList()
       Transaction output list
       
      repeated .xchain.contract.sdk.TxOutput tx_outputs = 4;
      指定者:
      getTxOutputsList 在接口中 Contract.TransactionOrBuilder
    • getTxOutputsOrBuilderList

      public List<? extends Contract.TxOutputOrBuilder> getTxOutputsOrBuilderList()
       Transaction output list
       
      repeated .xchain.contract.sdk.TxOutput tx_outputs = 4;
      指定者:
      getTxOutputsOrBuilderList 在接口中 Contract.TransactionOrBuilder
    • getTxOutputsCount

      public int getTxOutputsCount()
       Transaction output list
       
      repeated .xchain.contract.sdk.TxOutput tx_outputs = 4;
      指定者:
      getTxOutputsCount 在接口中 Contract.TransactionOrBuilder
    • getTxOutputs

      public Contract.TxOutput getTxOutputs​(int index)
       Transaction output list
       
      repeated .xchain.contract.sdk.TxOutput tx_outputs = 4;
      指定者:
      getTxOutputs 在接口中 Contract.TransactionOrBuilder
    • getTxOutputsOrBuilder

      public Contract.TxOutputOrBuilder getTxOutputsOrBuilder​(int index)
       Transaction output list
       
      repeated .xchain.contract.sdk.TxOutput tx_outputs = 4;
      指定者:
      getTxOutputsOrBuilder 在接口中 Contract.TransactionOrBuilder
    • getDesc

      public com.google.protobuf.ByteString getDesc()
       Transaction description or system contract
       
      bytes desc = 6;
      指定者:
      getDesc 在接口中 Contract.TransactionOrBuilder
      返回:
      The desc.
    • getInitiator

      public String 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

      public String getAuthRequire​(int index)
       交易发起需要被收集签名的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

      public void writeTo​(com.google.protobuf.CodedOutputStream output) throws IOException
      指定者:
      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

      public boolean equals​(Object obj)
      指定者:
      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

      public static Contract.Transaction parseFrom​(InputStream input) throws IOException
      抛出:
      IOException
    • parseFrom

      public static Contract.Transaction parseFrom​(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      抛出:
      IOException
    • parseDelimitedFrom

      public static Contract.Transaction parseDelimitedFrom​(InputStream input) throws IOException
      抛出:
      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

      public Contract.Transaction.Builder newBuilderForType()
      指定者:
      newBuilderForType 在接口中 com.google.protobuf.Message
      指定者:
      newBuilderForType 在接口中 com.google.protobuf.MessageLite
    • newBuilder

      public static Contract.Transaction.Builder newBuilder()
    • newBuilder

      public static Contract.Transaction.Builder newBuilder​(Contract.Transaction prototype)
    • toBuilder

      public Contract.Transaction.Builder 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

      public static Contract.Transaction getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Contract.Transaction> parser()
    • getParserForType

      public com.google.protobuf.Parser<Contract.Transaction> getParserForType()
      指定者:
      getParserForType 在接口中 com.google.protobuf.Message
      指定者:
      getParserForType 在接口中 com.google.protobuf.MessageLite
      覆盖:
      getParserForType 在类中 com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Contract.Transaction getDefaultInstanceForType()
      指定者:
      getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuilder
      指定者:
      getDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilder