public static final class Model.TransactionError.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Model.TransactionError,Model.TransactionError.Builder> implements Model.TransactionErrorOrBuilder
kin.agora.common.v4.TransactionError| Modifier and Type | Method and Description |
|---|---|
Model.TransactionError.Builder |
clearInstructionIndex()
If the transaction failed due to an instruction, the
instruction_index will be >= 0, corresponding to the
instruction that failed the transaction.
|
Model.TransactionError.Builder |
clearRaw()
Raw is the raw error returned from the underlying RPC
mechanisms with Solana.
|
Model.TransactionError.Builder |
clearReason()
.kin.agora.common.v4.TransactionError.Reason reason = 1; |
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; |
Model.TransactionError.Builder |
setInstructionIndex(int value)
If the transaction failed due to an instruction, the
instruction_index will be >= 0, corresponding to the
instruction that failed the transaction.
|
Model.TransactionError.Builder |
setRaw(com.google.protobuf.ByteString value)
Raw is the raw error returned from the underlying RPC
mechanisms with Solana.
|
Model.TransactionError.Builder |
setReason(Model.TransactionError.Reason value)
.kin.agora.common.v4.TransactionError.Reason reason = 1; |
Model.TransactionError.Builder |
setReasonValue(int value)
.kin.agora.common.v4.TransactionError.Reason reason = 1; |
build, 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 getReasonValue()
.kin.agora.common.v4.TransactionError.Reason reason = 1;getReasonValue in interface Model.TransactionErrorOrBuilderpublic Model.TransactionError.Builder setReasonValue(int value)
.kin.agora.common.v4.TransactionError.Reason reason = 1;value - The reason to set.public Model.TransactionError.Reason getReason()
.kin.agora.common.v4.TransactionError.Reason reason = 1;getReason in interface Model.TransactionErrorOrBuilderpublic Model.TransactionError.Builder setReason(Model.TransactionError.Reason value)
.kin.agora.common.v4.TransactionError.Reason reason = 1;value - The enum numeric value on the wire for reason to set.public Model.TransactionError.Builder clearReason()
.kin.agora.common.v4.TransactionError.Reason reason = 1;public 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 Model.TransactionError.Builder setInstructionIndex(int value)
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;value - The instructionIndex to set.public Model.TransactionError.Builder clearInstructionIndex()
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;public 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 Model.TransactionError.Builder setRaw(com.google.protobuf.ByteString value)
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;value - The raw to set.public Model.TransactionError.Builder clearRaw()
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;