Interface TransactionIDOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
TransactionID, TransactionID.Builder

@Generated public interface TransactionIDOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    * An Account identifier.
    int
    * An identifier for an internal transaction.<br/> An internal transaction is one that was spawned as part of handling a user transaction.
    boolean
    * A scheduled transaction flag.<br/> If set, this transaction represents the execution of a Schedule after all necessary signatures are gathered.
    * A timestamp for the transaction start time.<br/> This is the earliest expected start time for this transaction.
    boolean
    * An Account identifier.
    boolean
    * A timestamp for the transaction start time.<br/> This is the earliest expected start time for this transaction.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • hasTransactionValidStart

      boolean hasTransactionValidStart()
       *
       A timestamp for the transaction start time.<br/>
       This is the earliest expected start time for this transaction.
       <p>
       This value MUST be strictly less than `consensusTimestamp` when the
       transaction is submitted.
       
      .proto.Timestamp transactionValidStart = 1;
      Returns:
      Whether the transactionValidStart field is set.
    • getTransactionValidStart

      Timestamp getTransactionValidStart()
       *
       A timestamp for the transaction start time.<br/>
       This is the earliest expected start time for this transaction.
       <p>
       This value MUST be strictly less than `consensusTimestamp` when the
       transaction is submitted.
       
      .proto.Timestamp transactionValidStart = 1;
      Returns:
      The transactionValidStart.
    • hasAccountID

      boolean hasAccountID()
       *
       An Account identifier.
       <p>
       The identified account SHALL pay transaction fees for this transaction.
       
      .proto.AccountID accountID = 2;
      Returns:
      Whether the accountID field is set.
    • getAccountID

      AccountID getAccountID()
       *
       An Account identifier.
       <p>
       The identified account SHALL pay transaction fees for this transaction.
       
      .proto.AccountID accountID = 2;
      Returns:
      The accountID.
    • getScheduled

      boolean getScheduled()
       *
       A scheduled transaction flag.<br/>
       If set, this transaction represents the execution of a Schedule after
       all necessary signatures are gathered.
       <p>
       This flag MUST NOT be set in a user-submitted transaction.
       
      bool scheduled = 3;
      Returns:
      The scheduled.
    • getNonce

      int getNonce()
       *
       An identifier for an internal transaction.<br/>
       An internal transaction is one that was spawned as part of handling a
       user transaction. These internal transactions share the
       transactionValidStart and accountID of the user transaction, so a nonce
       is necessary to give them a unique TransactionID.
       <p>
       An example is when a "parent" ContractCreate or ContractCall transaction
       calls one or more HTS precompiled contracts; each of the "child"
       transactions spawned for a precompile has a transaction id with a
       different nonce.
       <p>
       This value MUST be unset for user-submitted transactions.
       
      int32 nonce = 4;
      Returns:
      The nonce.