public static enum GrpcAPI.Return.response_code extends Enum<GrpcAPI.Return.response_code> implements com.google.protobuf.ProtocolMessageEnum
protocol.Return.response_code
Enum Constant and Description |
---|
BANDWITH_ERROR
BANDWITH_ERROR = 4; |
CONTRACT_EXE_ERROR
CONTRACT_EXE_ERROR = 3; |
CONTRACT_VALIDATE_ERROR
CONTRACT_VALIDATE_ERROR = 2; |
DUP_TRANSACTION_ERROR
DUP_TRANSACTION_ERROR = 5; |
OTHER_ERROR
OTHER_ERROR = 20; |
SERVER_BUSY
SERVER_BUSY = 9; |
SIGERROR
error in signature
SIGERROR = 1; |
SUCCESS
SUCCESS = 0; |
TAPOS_ERROR
TAPOS_ERROR = 6; |
TOO_BIG_TRANSACTION_ERROR
TOO_BIG_TRANSACTION_ERROR = 7; |
TRANSACTION_EXPIRATION_ERROR
TRANSACTION_EXPIRATION_ERROR = 8; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
BANDWITH_ERROR_VALUE
BANDWITH_ERROR = 4; |
static int |
CONTRACT_EXE_ERROR_VALUE
CONTRACT_EXE_ERROR = 3; |
static int |
CONTRACT_VALIDATE_ERROR_VALUE
CONTRACT_VALIDATE_ERROR = 2; |
static int |
DUP_TRANSACTION_ERROR_VALUE
DUP_TRANSACTION_ERROR = 5; |
static int |
OTHER_ERROR_VALUE
OTHER_ERROR = 20; |
static int |
SERVER_BUSY_VALUE
SERVER_BUSY = 9; |
static int |
SIGERROR_VALUE
error in signature
SIGERROR = 1; |
static int |
SUCCESS_VALUE
SUCCESS = 0; |
static int |
TAPOS_ERROR_VALUE
TAPOS_ERROR = 6; |
static int |
TOO_BIG_TRANSACTION_ERROR_VALUE
TOO_BIG_TRANSACTION_ERROR = 7; |
static int |
TRANSACTION_EXPIRATION_ERROR_VALUE
TRANSACTION_EXPIRATION_ERROR = 8; |
Modifier and Type | Method and Description |
---|---|
static GrpcAPI.Return.response_code |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<GrpcAPI.Return.response_code> |
internalGetValueMap() |
static GrpcAPI.Return.response_code |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static GrpcAPI.Return.response_code |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GrpcAPI.Return.response_code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrpcAPI.Return.response_code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrpcAPI.Return.response_code SUCCESS
SUCCESS = 0;
public static final GrpcAPI.Return.response_code SIGERROR
error in signature
SIGERROR = 1;
public static final GrpcAPI.Return.response_code CONTRACT_VALIDATE_ERROR
CONTRACT_VALIDATE_ERROR = 2;
public static final GrpcAPI.Return.response_code CONTRACT_EXE_ERROR
CONTRACT_EXE_ERROR = 3;
public static final GrpcAPI.Return.response_code BANDWITH_ERROR
BANDWITH_ERROR = 4;
public static final GrpcAPI.Return.response_code DUP_TRANSACTION_ERROR
DUP_TRANSACTION_ERROR = 5;
public static final GrpcAPI.Return.response_code TAPOS_ERROR
TAPOS_ERROR = 6;
public static final GrpcAPI.Return.response_code TOO_BIG_TRANSACTION_ERROR
TOO_BIG_TRANSACTION_ERROR = 7;
public static final GrpcAPI.Return.response_code TRANSACTION_EXPIRATION_ERROR
TRANSACTION_EXPIRATION_ERROR = 8;
public static final GrpcAPI.Return.response_code SERVER_BUSY
SERVER_BUSY = 9;
public static final GrpcAPI.Return.response_code OTHER_ERROR
OTHER_ERROR = 20;
public static final GrpcAPI.Return.response_code UNRECOGNIZED
public static final int SUCCESS_VALUE
SUCCESS = 0;
public static final int SIGERROR_VALUE
error in signature
SIGERROR = 1;
public static final int CONTRACT_VALIDATE_ERROR_VALUE
CONTRACT_VALIDATE_ERROR = 2;
public static final int CONTRACT_EXE_ERROR_VALUE
CONTRACT_EXE_ERROR = 3;
public static final int BANDWITH_ERROR_VALUE
BANDWITH_ERROR = 4;
public static final int DUP_TRANSACTION_ERROR_VALUE
DUP_TRANSACTION_ERROR = 5;
public static final int TAPOS_ERROR_VALUE
TAPOS_ERROR = 6;
public static final int TOO_BIG_TRANSACTION_ERROR_VALUE
TOO_BIG_TRANSACTION_ERROR = 7;
public static final int TRANSACTION_EXPIRATION_ERROR_VALUE
TRANSACTION_EXPIRATION_ERROR = 8;
public static final int SERVER_BUSY_VALUE
SERVER_BUSY = 9;
public static final int OTHER_ERROR_VALUE
OTHER_ERROR = 20;
public static GrpcAPI.Return.response_code[] values()
for (GrpcAPI.Return.response_code c : GrpcAPI.Return.response_code.values()) System.out.println(c);
public static GrpcAPI.Return.response_code valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static GrpcAPI.Return.response_code valueOf(int value)
forNumber(int)
instead.public static GrpcAPI.Return.response_code forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<GrpcAPI.Return.response_code> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static GrpcAPI.Return.response_code valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020. All rights reserved.