public enum StatusCode extends java.lang.Enum<StatusCode> implements com.google.protobuf.ProtocolMessageEnum
Next Id = 20Protobuf enum
appscode.dtypes.StatusCode| Enum Constant and Description |
|---|
ARE_YOU_SURE
to give ARE_YOU_SURE option
|
BAD_RESPONSE
The response contains invalid arguments.
|
BADREQUEST
The request contains invalid arguments.
|
EXTERNAL
External Server Refuses Connection or Sends Invalid Data.
|
FAILED
Request Unsucesful
|
INTERNAL
Internal errors.
|
INVALID_DATA
invalid data
|
INVALID_PAYMENT_INFORMATION
payment information not valid.
|
INVALID_QUOTA
no valid quta available
|
NOT_FOUND
Requested entity not found.
|
OK
Not an error.
|
PAYMENT_INFORMATION_UNAVAILABLE
no payment informtaion avaible
|
PERMISSION_DENIED
The caller does not have permission to execute the specified
operation.
|
QUOTA_LIMIT_EXCEED
Quota and payment related error codes.
|
TRANSACTION_FAILED
failed to transect the payment information
|
UNAUTHORIZED
The request does not have valid authentication credentials for the
operation.
|
UNIMPLEMENTED
The operation is not implemented or is not supported/enabled
Similar to HTTP status code 501
|
UNKNOWN_ERROR
Unknown error.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ARE_YOU_SURE_VALUE
to give ARE_YOU_SURE option
|
static int |
BAD_RESPONSE_VALUE
The response contains invalid arguments.
|
static int |
BADREQUEST_VALUE
The request contains invalid arguments.
|
static int |
EXTERNAL_VALUE
External Server Refuses Connection or Sends Invalid Data.
|
static int |
FAILED_VALUE
Request Unsucesful
|
static int |
INTERNAL_VALUE
Internal errors.
|
static int |
INVALID_DATA_VALUE
invalid data
|
static int |
INVALID_PAYMENT_INFORMATION_VALUE
payment information not valid.
|
static int |
INVALID_QUOTA_VALUE
no valid quta available
|
static int |
NOT_FOUND_VALUE
Requested entity not found.
|
static int |
OK_VALUE
Not an error.
|
static int |
PAYMENT_INFORMATION_UNAVAILABLE_VALUE
no payment informtaion avaible
|
static int |
PERMISSION_DENIED_VALUE
The caller does not have permission to execute the specified
operation.
|
static int |
QUOTA_LIMIT_EXCEED_VALUE
Quota and payment related error codes.
|
static int |
TRANSACTION_FAILED_VALUE
failed to transect the payment information
|
static int |
UNAUTHORIZED_VALUE
The request does not have valid authentication credentials for the
operation.
|
static int |
UNIMPLEMENTED_VALUE
The operation is not implemented or is not supported/enabled
Similar to HTTP status code 501
|
static int |
UNKNOWN_ERROR_VALUE
Unknown error.
|
| Modifier and Type | Method and Description |
|---|---|
static StatusCode |
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<StatusCode> |
internalGetValueMap() |
static StatusCode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static StatusCode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static StatusCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusCode OK
Not an error. Returned on success. Similar to HTTP Status code 2**.
OK = 0;public static final StatusCode FAILED
Request Unsucesful
FAILED = 1;public static final StatusCode UNAUTHORIZED
The request does not have valid authentication credentials for the operation. Similar to HTTP status code 401.
UNAUTHORIZED = 2;public static final StatusCode BADREQUEST
The request contains invalid arguments. Similar to HTTP status code 400
BADREQUEST = 3;public static final StatusCode PERMISSION_DENIED
The caller does not have permission to execute the specified operation. Reserved For further use. Similar to HTTP Status code 403
PERMISSION_DENIED = 4;public static final StatusCode NOT_FOUND
Requested entity not found. Similar to HTTP status code 404
NOT_FOUND = 5;public static final StatusCode UNIMPLEMENTED
The operation is not implemented or is not supported/enabled Similar to HTTP status code 501
UNIMPLEMENTED = 6;public static final StatusCode INTERNAL
Internal errors. This means that some invariants expected by the underlying system have been broken. Similar to HTTP status code 500
INTERNAL = 7;public static final StatusCode EXTERNAL
External Server Refuses Connection or Sends Invalid Data.
EXTERNAL = 8;public static final StatusCode BAD_RESPONSE
The response contains invalid arguments.
BAD_RESPONSE = 9;public static final StatusCode UNKNOWN_ERROR
Unknown error. Errors raised by APIs that do not return enough error information may be converted to this error. Similar to HTTP status code 500
UNKNOWN_ERROR = 10;public static final StatusCode QUOTA_LIMIT_EXCEED
Quota and payment related error codes. client request crossses the exisitng quta limits.
QUOTA_LIMIT_EXCEED = 11;public static final StatusCode INVALID_QUOTA
no valid quta available
INVALID_QUOTA = 12;public static final StatusCode PAYMENT_INFORMATION_UNAVAILABLE
no payment informtaion avaible
PAYMENT_INFORMATION_UNAVAILABLE = 13;public static final StatusCode INVALID_PAYMENT_INFORMATION
payment information not valid.
INVALID_PAYMENT_INFORMATION = 14;public static final StatusCode TRANSACTION_FAILED
failed to transect the payment information
TRANSACTION_FAILED = 15;public static final StatusCode ARE_YOU_SURE
to give ARE_YOU_SURE option
ARE_YOU_SURE = 16;public static final StatusCode INVALID_DATA
invalid data
INVALID_DATA = 17;public static final StatusCode UNRECOGNIZED
public static final int OK_VALUE
Not an error. Returned on success. Similar to HTTP Status code 2**.
OK = 0;public static final int FAILED_VALUE
Request Unsucesful
FAILED = 1;public static final int UNAUTHORIZED_VALUE
The request does not have valid authentication credentials for the operation. Similar to HTTP status code 401.
UNAUTHORIZED = 2;public static final int BADREQUEST_VALUE
The request contains invalid arguments. Similar to HTTP status code 400
BADREQUEST = 3;public static final int PERMISSION_DENIED_VALUE
The caller does not have permission to execute the specified operation. Reserved For further use. Similar to HTTP Status code 403
PERMISSION_DENIED = 4;public static final int NOT_FOUND_VALUE
Requested entity not found. Similar to HTTP status code 404
NOT_FOUND = 5;public static final int UNIMPLEMENTED_VALUE
The operation is not implemented or is not supported/enabled Similar to HTTP status code 501
UNIMPLEMENTED = 6;public static final int INTERNAL_VALUE
Internal errors. This means that some invariants expected by the underlying system have been broken. Similar to HTTP status code 500
INTERNAL = 7;public static final int EXTERNAL_VALUE
External Server Refuses Connection or Sends Invalid Data.
EXTERNAL = 8;public static final int BAD_RESPONSE_VALUE
The response contains invalid arguments.
BAD_RESPONSE = 9;public static final int UNKNOWN_ERROR_VALUE
Unknown error. Errors raised by APIs that do not return enough error information may be converted to this error. Similar to HTTP status code 500
UNKNOWN_ERROR = 10;public static final int QUOTA_LIMIT_EXCEED_VALUE
Quota and payment related error codes. client request crossses the exisitng quta limits.
QUOTA_LIMIT_EXCEED = 11;public static final int INVALID_QUOTA_VALUE
no valid quta available
INVALID_QUOTA = 12;public static final int PAYMENT_INFORMATION_UNAVAILABLE_VALUE
no payment informtaion avaible
PAYMENT_INFORMATION_UNAVAILABLE = 13;public static final int INVALID_PAYMENT_INFORMATION_VALUE
payment information not valid.
INVALID_PAYMENT_INFORMATION = 14;public static final int TRANSACTION_FAILED_VALUE
failed to transect the payment information
TRANSACTION_FAILED = 15;public static final int ARE_YOU_SURE_VALUE
to give ARE_YOU_SURE option
ARE_YOU_SURE = 16;public static final int INVALID_DATA_VALUE
invalid data
INVALID_DATA = 17;public static StatusCode[] values()
for (StatusCode c : StatusCode.values()) System.out.println(c);
public static StatusCode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static StatusCode valueOf(int value)
forNumber(int) instead.public static StatusCode forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<StatusCode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static StatusCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)