public static final class TransactionService.SubmitTransactionResponse extends com.google.protobuf.GeneratedMessageLite<TransactionService.SubmitTransactionResponse,TransactionService.SubmitTransactionResponse.Builder> implements TransactionService.SubmitTransactionResponseOrBuilder
kin.agora.transaction.v3.SubmitTransactionResponse| Modifier and Type | Class and Description |
|---|---|
static class |
TransactionService.SubmitTransactionResponse.Builder
Protobuf type
kin.agora.transaction.v3.SubmitTransactionResponse |
static class |
TransactionService.SubmitTransactionResponse.Result
Protobuf enum
kin.agora.transaction.v3.SubmitTransactionResponse.Result |
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 |
HASH_FIELD_NUMBER |
static int |
INVOICE_ERRORS_FIELD_NUMBER |
static int |
LEDGER_FIELD_NUMBER |
static int |
RESULT_FIELD_NUMBER |
static int |
RESULT_XDR_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 TransactionService.SubmitTransactionResponse |
getDefaultInstance() |
Model.TransactionHash |
getHash()
The hash of the transaction, if it was submitted.
|
Model.InvoiceError |
getInvoiceErrors(int index)
Present when result = INVOICE_ERROR.
|
int |
getInvoiceErrorsCount()
Present when result = INVOICE_ERROR.
|
java.util.List<Model.InvoiceError> |
getInvoiceErrorsList()
Present when result = INVOICE_ERROR.
|
Model.InvoiceErrorOrBuilder |
getInvoiceErrorsOrBuilder(int index)
Present when result = INVOICE_ERROR.
|
java.util.List<? extends Model.InvoiceErrorOrBuilder> |
getInvoiceErrorsOrBuilderList()
Present when result = INVOICE_ERROR.
|
long |
getLedger()
The ledger in which the submitted transaction was included in.
|
TransactionService.SubmitTransactionResponse.Result |
getResult()
.kin.agora.transaction.v3.SubmitTransactionResponse.Result result = 1; |
int |
getResultValue()
.kin.agora.transaction.v3.SubmitTransactionResponse.Result result = 1; |
com.google.protobuf.ByteString |
getResultXdr()
The transaction result XDR, if a transaction was submitted.
|
boolean |
hasHash()
The hash of the transaction, if it was submitted.
|
static TransactionService.SubmitTransactionResponse.Builder |
newBuilder() |
static TransactionService.SubmitTransactionResponse.Builder |
newBuilder(TransactionService.SubmitTransactionResponse prototype) |
static TransactionService.SubmitTransactionResponse |
parseDelimitedFrom(java.io.InputStream input) |
static TransactionService.SubmitTransactionResponse |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionService.SubmitTransactionResponse |
parseFrom(byte[] data) |
static TransactionService.SubmitTransactionResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionService.SubmitTransactionResponse |
parseFrom(java.nio.ByteBuffer data) |
static TransactionService.SubmitTransactionResponse |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionService.SubmitTransactionResponse |
parseFrom(com.google.protobuf.ByteString data) |
static TransactionService.SubmitTransactionResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionService.SubmitTransactionResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TransactionService.SubmitTransactionResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionService.SubmitTransactionResponse |
parseFrom(java.io.InputStream input) |
static TransactionService.SubmitTransactionResponse |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TransactionService.SubmitTransactionResponse> |
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 RESULT_FIELD_NUMBER
public static final int INVOICE_ERRORS_FIELD_NUMBER
public static final int HASH_FIELD_NUMBER
public static final int LEDGER_FIELD_NUMBER
public static final int RESULT_XDR_FIELD_NUMBER
public int getResultValue()
.kin.agora.transaction.v3.SubmitTransactionResponse.Result result = 1;getResultValue in interface TransactionService.SubmitTransactionResponseOrBuilderpublic TransactionService.SubmitTransactionResponse.Result getResult()
.kin.agora.transaction.v3.SubmitTransactionResponse.Result result = 1;getResult in interface TransactionService.SubmitTransactionResponseOrBuilderpublic java.util.List<Model.InvoiceError> getInvoiceErrorsList()
Present when result = INVOICE_ERROR.
repeated .kin.agora.common.v3.InvoiceError invoice_errors = 2;getInvoiceErrorsList in interface TransactionService.SubmitTransactionResponseOrBuilderpublic java.util.List<? extends Model.InvoiceErrorOrBuilder> getInvoiceErrorsOrBuilderList()
Present when result = INVOICE_ERROR.
repeated .kin.agora.common.v3.InvoiceError invoice_errors = 2;public int getInvoiceErrorsCount()
Present when result = INVOICE_ERROR.
repeated .kin.agora.common.v3.InvoiceError invoice_errors = 2;getInvoiceErrorsCount in interface TransactionService.SubmitTransactionResponseOrBuilderpublic Model.InvoiceError getInvoiceErrors(int index)
Present when result = INVOICE_ERROR.
repeated .kin.agora.common.v3.InvoiceError invoice_errors = 2;getInvoiceErrors in interface TransactionService.SubmitTransactionResponseOrBuilderpublic Model.InvoiceErrorOrBuilder getInvoiceErrorsOrBuilder(int index)
Present when result = INVOICE_ERROR.
repeated .kin.agora.common.v3.InvoiceError invoice_errors = 2;public boolean hasHash()
The hash of the transaction, if it was submitted. May be used for other RPCs.
.kin.agora.common.v3.TransactionHash hash = 3;hasHash in interface TransactionService.SubmitTransactionResponseOrBuilderpublic Model.TransactionHash getHash()
The hash of the transaction, if it was submitted. May be used for other RPCs.
.kin.agora.common.v3.TransactionHash hash = 3;getHash in interface TransactionService.SubmitTransactionResponseOrBuilderpublic long getLedger()
The ledger in which the submitted transaction was included in. Non-zero on success.
int64 ledger = 4 [jstype = JS_STRING];getLedger in interface TransactionService.SubmitTransactionResponseOrBuilderpublic com.google.protobuf.ByteString getResultXdr()
The transaction result XDR, if a transaction was submitted.
bytes result_xdr = 5;getResultXdr in interface TransactionService.SubmitTransactionResponseOrBuilderpublic static TransactionService.SubmitTransactionResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionService.SubmitTransactionResponse parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionService.SubmitTransactionResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionService.SubmitTransactionResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionService.SubmitTransactionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionService.SubmitTransactionResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionService.SubmitTransactionResponse parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static TransactionService.SubmitTransactionResponse parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static TransactionService.SubmitTransactionResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static TransactionService.SubmitTransactionResponse parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static TransactionService.SubmitTransactionResponse parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static TransactionService.SubmitTransactionResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static TransactionService.SubmitTransactionResponse.Builder newBuilder()
public static TransactionService.SubmitTransactionResponse.Builder newBuilder(TransactionService.SubmitTransactionResponse 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.SubmitTransactionResponse,TransactionService.SubmitTransactionResponse.Builder>public static TransactionService.SubmitTransactionResponse getDefaultInstance()
public static com.google.protobuf.Parser<TransactionService.SubmitTransactionResponse> parser()