public static final class Model.TransactionError extends com.google.protobuf.GeneratedMessageLite<Model.TransactionError,Model.TransactionError.Builder> implements Model.TransactionErrorOrBuilder
kin.agora.common.v4.TransactionError| Modifier and Type | Class and Description |
|---|---|
static class |
Model.TransactionError.Builder
Protobuf type
kin.agora.common.v4.TransactionError |
static class |
Model.TransactionError.Reason
Protobuf enum
kin.agora.common.v4.TransactionError.Reason |
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 |
INSTRUCTION_INDEX_FIELD_NUMBER |
static int |
RAW_FIELD_NUMBER |
static int |
REASON_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) |
static Model.TransactionError |
getDefaultInstance() |
int |
getInstructionIndex()
If the transaction failed due to an instruction, the
instruction_index will be >= 0, corresponding to the
instruction that failed the transaction.
|
com.google.protobuf.ByteString |
getRaw()
Raw is the raw error returned from the underlying RPC
mechanisms with Solana.
|
Model.TransactionError.Reason |
getReason()
.kin.agora.common.v4.TransactionError.Reason reason = 1; |
int |
getReasonValue()
.kin.agora.common.v4.TransactionError.Reason reason = 1; |
static Model.TransactionError.Builder |
newBuilder() |
static Model.TransactionError.Builder |
newBuilder(Model.TransactionError prototype) |
static Model.TransactionError |
parseDelimitedFrom(java.io.InputStream input) |
static Model.TransactionError |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.TransactionError |
parseFrom(byte[] data) |
static Model.TransactionError |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.TransactionError |
parseFrom(java.nio.ByteBuffer data) |
static Model.TransactionError |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.TransactionError |
parseFrom(com.google.protobuf.ByteString data) |
static Model.TransactionError |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.TransactionError |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Model.TransactionError |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Model.TransactionError |
parseFrom(java.io.InputStream input) |
static Model.TransactionError |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Model.TransactionError> |
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 REASON_FIELD_NUMBER
public static final int INSTRUCTION_INDEX_FIELD_NUMBER
public static final int RAW_FIELD_NUMBER
public int getReasonValue()
.kin.agora.common.v4.TransactionError.Reason reason = 1;getReasonValue in interface Model.TransactionErrorOrBuilderpublic Model.TransactionError.Reason getReason()
.kin.agora.common.v4.TransactionError.Reason reason = 1;getReason in interface Model.TransactionErrorOrBuilderpublic int getInstructionIndex()
If the transaction failed due to an instruction, the instruction_index will be >= 0, corresponding to the instruction that failed the transaction. Otherwise, the instruction_index will be negative.
int32 instruction_index = 2;getInstructionIndex in interface Model.TransactionErrorOrBuilderpublic com.google.protobuf.ByteString getRaw()
Raw is the raw error returned from the underlying RPC mechanisms with Solana. There are no stability guarantees for the contents of this field.
bytes raw = 3;getRaw in interface Model.TransactionErrorOrBuilderpublic static Model.TransactionError parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.TransactionError parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.TransactionError parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.TransactionError parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.TransactionError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.TransactionError parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Model.TransactionError parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.TransactionError parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.TransactionError parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.TransactionError parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.TransactionError parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Model.TransactionError parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Model.TransactionError.Builder newBuilder()
public static Model.TransactionError.Builder newBuilder(Model.TransactionError 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<Model.TransactionError,Model.TransactionError.Builder>public static Model.TransactionError getDefaultInstance()
public static com.google.protobuf.Parser<Model.TransactionError> parser()