public static interface TransactionService.GetTransactionResponseOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
| Modifier and Type | Method and Description |
|---|---|
TransactionService.HistoryItem |
getItem()
Present when state != State::UNKNOWN
|
long |
getLedger()
Non-zero when state == State::SUCCESS
|
TransactionService.GetTransactionResponse.State |
getState()
The state of the transaction.
|
int |
getStateValue()
The state of the transaction.
|
boolean |
hasItem()
Present when state != State::UNKNOWN
|
int getStateValue()
The state of the transaction. The states are the same as SubmitTransaction, with the exception of UNKNOWN, which indicates that the system does not have a record of the transaction. This can occur if the transaction is still pending or if it has failed. If the transaction state is UNKNOWN for an extended period of time, it is likely that it was dropped. As a result, clients should limit the total times GetTransaction is called for a an UNKNOWN transaction.
.kin.agora.transaction.v3.GetTransactionResponse.State state = 1;TransactionService.GetTransactionResponse.State getState()
The state of the transaction. The states are the same as SubmitTransaction, with the exception of UNKNOWN, which indicates that the system does not have a record of the transaction. This can occur if the transaction is still pending or if it has failed. If the transaction state is UNKNOWN for an extended period of time, it is likely that it was dropped. As a result, clients should limit the total times GetTransaction is called for a an UNKNOWN transaction.
.kin.agora.transaction.v3.GetTransactionResponse.State state = 1;long getLedger()
Non-zero when state == State::SUCCESS
int64 ledger = 2 [jstype = JS_STRING];boolean hasItem()
Present when state != State::UNKNOWN
.kin.agora.transaction.v3.HistoryItem item = 3;TransactionService.HistoryItem getItem()
Present when state != State::UNKNOWN
.kin.agora.transaction.v3.HistoryItem item = 3;