public static final class TransactionService.GetTransactionResponse extends com.google.protobuf.GeneratedMessageLite<TransactionService.GetTransactionResponse,TransactionService.GetTransactionResponse.Builder> implements TransactionService.GetTransactionResponseOrBuilder
kin.agora.transaction.v4.GetTransactionResponse| Modifier and Type | Class and Description |
|---|---|
static class |
TransactionService.GetTransactionResponse.Builder
Protobuf type
kin.agora.transaction.v4.GetTransactionResponse |
static class |
TransactionService.GetTransactionResponse.State
Protobuf enum
kin.agora.transaction.v4.GetTransactionResponse.State |
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm| Modifier and Type | Field and Description |
|---|---|
static int |
CONFIRMATIONS_FIELD_NUMBER |
static int |
ITEM_FIELD_NUMBER |
static int |
SLOT_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0,
java.lang.Object arg1) |
int |
getConfirmations()
The number of confirmations for the transaction.
|
static TransactionService.GetTransactionResponse |
getDefaultInstance() |
TransactionService.HistoryItem |
getItem()
Present when state == State::SUCCESS.
|
long |
getSlot()
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::SUCCESS.
|
static TransactionService.GetTransactionResponse.Builder |
newBuilder() |
static TransactionService.GetTransactionResponse.Builder |
newBuilder(TransactionService.GetTransactionResponse prototype) |
static TransactionService.GetTransactionResponse |
parseDelimitedFrom(java.io.InputStream input) |
static TransactionService.GetTransactionResponse |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionService.GetTransactionResponse |
parseFrom(byte[] data) |
static TransactionService.GetTransactionResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionService.GetTransactionResponse |
parseFrom(java.nio.ByteBuffer data) |
static TransactionService.GetTransactionResponse |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionService.GetTransactionResponse |
parseFrom(com.google.protobuf.ByteString data) |
static TransactionService.GetTransactionResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionService.GetTransactionResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TransactionService.GetTransactionResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionService.GetTransactionResponse |
parseFrom(java.io.InputStream input) |
static TransactionService.GetTransactionResponse |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TransactionService.GetTransactionResponse> |
parser() |
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int STATE_FIELD_NUMBER
public static final int SLOT_FIELD_NUMBER
public static final int CONFIRMATIONS_FIELD_NUMBER
public static final int ITEM_FIELD_NUMBER
public 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.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 long getSlot()
Non-zero when state == State::SUCCESS
uint64 slot = 2;getSlot in interface TransactionService.GetTransactionResponseOrBuilderpublic 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 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 static TransactionService.GetTransactionResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionService.GetTransactionResponse parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionService.GetTransactionResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionService.GetTransactionResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionService.GetTransactionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionService.GetTransactionResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionService.GetTransactionResponse parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static TransactionService.GetTransactionResponse parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static TransactionService.GetTransactionResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static TransactionService.GetTransactionResponse parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static TransactionService.GetTransactionResponse parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static TransactionService.GetTransactionResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static TransactionService.GetTransactionResponse.Builder newBuilder()
public static TransactionService.GetTransactionResponse.Builder newBuilder(TransactionService.GetTransactionResponse prototype)
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0,
java.lang.Object arg1)
dynamicMethod in class com.google.protobuf.GeneratedMessageLite<TransactionService.GetTransactionResponse,TransactionService.GetTransactionResponse.Builder>public static TransactionService.GetTransactionResponse getDefaultInstance()
public static com.google.protobuf.Parser<TransactionService.GetTransactionResponse> parser()