public static final class TransactionService.GetTransactionResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<TransactionService.GetTransactionResponse,TransactionService.GetTransactionResponse.Builder> implements TransactionService.GetTransactionResponseOrBuilder
kin.agora.transaction.v4.GetTransactionResponsebuild, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionpublic 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.v4.GetTransactionResponse.State state = 1;getStateValue in interface TransactionService.GetTransactionResponseOrBuilderpublic TransactionService.GetTransactionResponse.Builder setStateValue(int value)
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.v4.GetTransactionResponse.State state = 1;value - The state to set.public 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.v4.GetTransactionResponse.State state = 1;getState in interface TransactionService.GetTransactionResponseOrBuilderpublic TransactionService.GetTransactionResponse.Builder setState(TransactionService.GetTransactionResponse.State value)
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.v4.GetTransactionResponse.State state = 1;value - The enum numeric value on the wire for state to set.public TransactionService.GetTransactionResponse.Builder clearState()
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.v4.GetTransactionResponse.State state = 1;public long getSlot()
Non-zero when state == State::SUCCESS
uint64 slot = 2;getSlot in interface TransactionService.GetTransactionResponseOrBuilderpublic TransactionService.GetTransactionResponse.Builder setSlot(long value)
Non-zero when state == State::SUCCESS
uint64 slot = 2;value - The slot to set.public TransactionService.GetTransactionResponse.Builder clearSlot()
Non-zero when state == State::SUCCESS
uint64 slot = 2;public int getConfirmations()
The number of confirmations for the transaction. The value is irrelevant when state != State::PENDING.
uint32 confirmations = 3;getConfirmations in interface TransactionService.GetTransactionResponseOrBuilderpublic TransactionService.GetTransactionResponse.Builder setConfirmations(int value)
The number of confirmations for the transaction. The value is irrelevant when state != State::PENDING.
uint32 confirmations = 3;value - The confirmations to set.public TransactionService.GetTransactionResponse.Builder clearConfirmations()
The number of confirmations for the transaction. The value is irrelevant when state != State::PENDING.
uint32 confirmations = 3;public boolean hasItem()
Present when state == State::SUCCESS. May or may not be present in other cases.
.kin.agora.transaction.v4.HistoryItem item = 4;hasItem in interface TransactionService.GetTransactionResponseOrBuilderpublic TransactionService.HistoryItem getItem()
Present when state == State::SUCCESS. May or may not be present in other cases.
.kin.agora.transaction.v4.HistoryItem item = 4;getItem in interface TransactionService.GetTransactionResponseOrBuilderpublic TransactionService.GetTransactionResponse.Builder setItem(TransactionService.HistoryItem value)
Present when state == State::SUCCESS. May or may not be present in other cases.
.kin.agora.transaction.v4.HistoryItem item = 4;public TransactionService.GetTransactionResponse.Builder setItem(TransactionService.HistoryItem.Builder builderForValue)
Present when state == State::SUCCESS. May or may not be present in other cases.
.kin.agora.transaction.v4.HistoryItem item = 4;public TransactionService.GetTransactionResponse.Builder mergeItem(TransactionService.HistoryItem value)
Present when state == State::SUCCESS. May or may not be present in other cases.
.kin.agora.transaction.v4.HistoryItem item = 4;public TransactionService.GetTransactionResponse.Builder clearItem()
Present when state == State::SUCCESS. May or may not be present in other cases.
.kin.agora.transaction.v4.HistoryItem item = 4;