public static enum Databricks.ErrorCode extends Enum<Databricks.ErrorCode> implements com.google.protobuf.ProtocolMessageEnum
ErrorCode
Enum Constant and Description |
---|
BAD_REQUEST
The request is invalid.
|
COULD_NOT_ACQUIRE_LOCK
Unable to perform the operation because the shard was locked by some other operation.
|
CUSTOMER_UNAUTHORIZED
If customer-provided credentials are not authorized to perform an operation
|
DIRECTORY_NOT_EMPTY
DIRECTORY_NOT_EMPTY = 6001; |
DIRECTORY_PROTECTED
DIRECTORY_PROTECTED = 6002; |
DRY_RUN_FAILED
DRY_RUN_FAILED = 5001; |
ENDPOINT_NOT_FOUND
Indicates that the given API endpoint does not exist.
|
FEATURE_DISABLED
If a given user/entity is trying to use a feature which has been disabled
|
INTERNAL_ERROR
Internal, system-level error codes, which generally cannot be resolved by the user, but
instead are due to service issues.
|
INVALID_PARAMETER_VALUE
Common application-level error codes, which were caused by the user input but may be returned
by multiple services.
|
INVALID_STATE
If one or more of the inputs to a given RPC are not in a valid state for the action.
|
INVALID_STATE_TRANSITION
If the user attempts to perform an invalid state transition on a shard.
|
IO_ERROR
Indicates that an IOException has been internally thrown.
|
MALFORMED_REQUEST
Indicates that the given API request was malformed.
|
MAX_BLOCK_SIZE_EXCEEDED
MAX_BLOCK_SIZE_EXCEEDED = 4002; |
MAX_NOTEBOOK_SIZE_EXCEEDED
MAX_NOTEBOOK_SIZE_EXCEEDED = 6003; |
MAX_READ_SIZE_EXCEEDED
MAX_READ_SIZE_EXCEEDED = 4003; |
PERMISSION_DENIED
If a given user/entity doesn't have the required permission(s) to perform an action
|
QUOTA_EXCEEDED
QUOTA_EXCEEDED = 4001; |
REQUEST_LIMIT_EXCEEDED
If the API request is rejected due to throttling
|
RESOURCE_ALREADY_EXISTS
Operation was performed on a resource that already exists.
|
RESOURCE_DOES_NOT_EXIST
Operation was performed on a resource that does not exist.
|
RESOURCE_LIMIT_EXCEEDED
Cluster request was rejected because it would exceed a resource limit.
|
TEMPORARILY_UNAVAILABLE
An internal system could not be contacted due to a period of unavailability.
|
Modifier and Type | Field and Description |
---|---|
static int |
BAD_REQUEST_VALUE
The request is invalid.
|
static int |
COULD_NOT_ACQUIRE_LOCK_VALUE
Unable to perform the operation because the shard was locked by some other operation.
|
static int |
CUSTOMER_UNAUTHORIZED_VALUE
If customer-provided credentials are not authorized to perform an operation
|
static int |
DIRECTORY_NOT_EMPTY_VALUE
DIRECTORY_NOT_EMPTY = 6001; |
static int |
DIRECTORY_PROTECTED_VALUE
DIRECTORY_PROTECTED = 6002; |
static int |
DRY_RUN_FAILED_VALUE
DRY_RUN_FAILED = 5001; |
static int |
ENDPOINT_NOT_FOUND_VALUE
Indicates that the given API endpoint does not exist.
|
static int |
FEATURE_DISABLED_VALUE
If a given user/entity is trying to use a feature which has been disabled
|
static int |
INTERNAL_ERROR_VALUE
Internal, system-level error codes, which generally cannot be resolved by the user, but
instead are due to service issues.
|
static int |
INVALID_PARAMETER_VALUE_VALUE
Common application-level error codes, which were caused by the user input but may be returned
by multiple services.
|
static int |
INVALID_STATE_TRANSITION_VALUE
If the user attempts to perform an invalid state transition on a shard.
|
static int |
INVALID_STATE_VALUE
If one or more of the inputs to a given RPC are not in a valid state for the action.
|
static int |
IO_ERROR_VALUE
Indicates that an IOException has been internally thrown.
|
static int |
MALFORMED_REQUEST_VALUE
Indicates that the given API request was malformed.
|
static int |
MAX_BLOCK_SIZE_EXCEEDED_VALUE
MAX_BLOCK_SIZE_EXCEEDED = 4002; |
static int |
MAX_NOTEBOOK_SIZE_EXCEEDED_VALUE
MAX_NOTEBOOK_SIZE_EXCEEDED = 6003; |
static int |
MAX_READ_SIZE_EXCEEDED_VALUE
MAX_READ_SIZE_EXCEEDED = 4003; |
static int |
PERMISSION_DENIED_VALUE
If a given user/entity doesn't have the required permission(s) to perform an action
|
static int |
QUOTA_EXCEEDED_VALUE
QUOTA_EXCEEDED = 4001; |
static int |
REQUEST_LIMIT_EXCEEDED_VALUE
If the API request is rejected due to throttling
|
static int |
RESOURCE_ALREADY_EXISTS_VALUE
Operation was performed on a resource that already exists.
|
static int |
RESOURCE_DOES_NOT_EXIST_VALUE
Operation was performed on a resource that does not exist.
|
static int |
RESOURCE_LIMIT_EXCEEDED_VALUE
Cluster request was rejected because it would exceed a resource limit.
|
static int |
TEMPORARILY_UNAVAILABLE_VALUE
An internal system could not be contacted due to a period of unavailability.
|
Modifier and Type | Method and Description |
---|---|
static Databricks.ErrorCode |
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<Databricks.ErrorCode> |
internalGetValueMap() |
static Databricks.ErrorCode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Databricks.ErrorCode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Databricks.ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Databricks.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Databricks.ErrorCode INTERNAL_ERROR
Internal, system-level error codes, which generally cannot be resolved by the user, but instead are due to service issues. Generic internal error occurred.
INTERNAL_ERROR = 1;
public static final Databricks.ErrorCode TEMPORARILY_UNAVAILABLE
An internal system could not be contacted due to a period of unavailability.
TEMPORARILY_UNAVAILABLE = 2;
public static final Databricks.ErrorCode IO_ERROR
Indicates that an IOException has been internally thrown.
IO_ERROR = 3;
public static final Databricks.ErrorCode BAD_REQUEST
The request is invalid.
BAD_REQUEST = 4;
public static final Databricks.ErrorCode INVALID_PARAMETER_VALUE
Common application-level error codes, which were caused by the user input but may be returned by multiple services. Supplied value for a parameter was invalid (e.g., giving a number for a string parameter).
INVALID_PARAMETER_VALUE = 1000;
public static final Databricks.ErrorCode ENDPOINT_NOT_FOUND
Indicates that the given API endpoint does not exist.
ENDPOINT_NOT_FOUND = 1001;
public static final Databricks.ErrorCode MALFORMED_REQUEST
Indicates that the given API request was malformed.
MALFORMED_REQUEST = 1002;
public static final Databricks.ErrorCode INVALID_STATE
If one or more of the inputs to a given RPC are not in a valid state for the action.
INVALID_STATE = 1003;
public static final Databricks.ErrorCode PERMISSION_DENIED
If a given user/entity doesn't have the required permission(s) to perform an action
PERMISSION_DENIED = 1004;
public static final Databricks.ErrorCode FEATURE_DISABLED
If a given user/entity is trying to use a feature which has been disabled
FEATURE_DISABLED = 1005;
public static final Databricks.ErrorCode CUSTOMER_UNAUTHORIZED
If customer-provided credentials are not authorized to perform an operation
CUSTOMER_UNAUTHORIZED = 1006;
public static final Databricks.ErrorCode REQUEST_LIMIT_EXCEEDED
If the API request is rejected due to throttling
REQUEST_LIMIT_EXCEEDED = 1007;
public static final Databricks.ErrorCode INVALID_STATE_TRANSITION
If the user attempts to perform an invalid state transition on a shard.
INVALID_STATE_TRANSITION = 2001;
public static final Databricks.ErrorCode COULD_NOT_ACQUIRE_LOCK
Unable to perform the operation because the shard was locked by some other operation.
COULD_NOT_ACQUIRE_LOCK = 2002;
public static final Databricks.ErrorCode RESOURCE_ALREADY_EXISTS
Operation was performed on a resource that already exists.
RESOURCE_ALREADY_EXISTS = 3001;
public static final Databricks.ErrorCode RESOURCE_DOES_NOT_EXIST
Operation was performed on a resource that does not exist.
RESOURCE_DOES_NOT_EXIST = 3002;
public static final Databricks.ErrorCode QUOTA_EXCEEDED
QUOTA_EXCEEDED = 4001;
public static final Databricks.ErrorCode MAX_BLOCK_SIZE_EXCEEDED
MAX_BLOCK_SIZE_EXCEEDED = 4002;
public static final Databricks.ErrorCode MAX_READ_SIZE_EXCEEDED
MAX_READ_SIZE_EXCEEDED = 4003;
public static final Databricks.ErrorCode DRY_RUN_FAILED
DRY_RUN_FAILED = 5001;
public static final Databricks.ErrorCode RESOURCE_LIMIT_EXCEEDED
Cluster request was rejected because it would exceed a resource limit.
RESOURCE_LIMIT_EXCEEDED = 5002;
public static final Databricks.ErrorCode DIRECTORY_NOT_EMPTY
DIRECTORY_NOT_EMPTY = 6001;
public static final Databricks.ErrorCode DIRECTORY_PROTECTED
DIRECTORY_PROTECTED = 6002;
public static final Databricks.ErrorCode MAX_NOTEBOOK_SIZE_EXCEEDED
MAX_NOTEBOOK_SIZE_EXCEEDED = 6003;
public static final int INTERNAL_ERROR_VALUE
Internal, system-level error codes, which generally cannot be resolved by the user, but instead are due to service issues. Generic internal error occurred.
INTERNAL_ERROR = 1;
public static final int TEMPORARILY_UNAVAILABLE_VALUE
An internal system could not be contacted due to a period of unavailability.
TEMPORARILY_UNAVAILABLE = 2;
public static final int IO_ERROR_VALUE
Indicates that an IOException has been internally thrown.
IO_ERROR = 3;
public static final int BAD_REQUEST_VALUE
The request is invalid.
BAD_REQUEST = 4;
public static final int INVALID_PARAMETER_VALUE_VALUE
Common application-level error codes, which were caused by the user input but may be returned by multiple services. Supplied value for a parameter was invalid (e.g., giving a number for a string parameter).
INVALID_PARAMETER_VALUE = 1000;
public static final int ENDPOINT_NOT_FOUND_VALUE
Indicates that the given API endpoint does not exist.
ENDPOINT_NOT_FOUND = 1001;
public static final int MALFORMED_REQUEST_VALUE
Indicates that the given API request was malformed.
MALFORMED_REQUEST = 1002;
public static final int INVALID_STATE_VALUE
If one or more of the inputs to a given RPC are not in a valid state for the action.
INVALID_STATE = 1003;
public static final int PERMISSION_DENIED_VALUE
If a given user/entity doesn't have the required permission(s) to perform an action
PERMISSION_DENIED = 1004;
public static final int FEATURE_DISABLED_VALUE
If a given user/entity is trying to use a feature which has been disabled
FEATURE_DISABLED = 1005;
public static final int CUSTOMER_UNAUTHORIZED_VALUE
If customer-provided credentials are not authorized to perform an operation
CUSTOMER_UNAUTHORIZED = 1006;
public static final int REQUEST_LIMIT_EXCEEDED_VALUE
If the API request is rejected due to throttling
REQUEST_LIMIT_EXCEEDED = 1007;
public static final int INVALID_STATE_TRANSITION_VALUE
If the user attempts to perform an invalid state transition on a shard.
INVALID_STATE_TRANSITION = 2001;
public static final int COULD_NOT_ACQUIRE_LOCK_VALUE
Unable to perform the operation because the shard was locked by some other operation.
COULD_NOT_ACQUIRE_LOCK = 2002;
public static final int RESOURCE_ALREADY_EXISTS_VALUE
Operation was performed on a resource that already exists.
RESOURCE_ALREADY_EXISTS = 3001;
public static final int RESOURCE_DOES_NOT_EXIST_VALUE
Operation was performed on a resource that does not exist.
RESOURCE_DOES_NOT_EXIST = 3002;
public static final int QUOTA_EXCEEDED_VALUE
QUOTA_EXCEEDED = 4001;
public static final int MAX_BLOCK_SIZE_EXCEEDED_VALUE
MAX_BLOCK_SIZE_EXCEEDED = 4002;
public static final int MAX_READ_SIZE_EXCEEDED_VALUE
MAX_READ_SIZE_EXCEEDED = 4003;
public static final int DRY_RUN_FAILED_VALUE
DRY_RUN_FAILED = 5001;
public static final int RESOURCE_LIMIT_EXCEEDED_VALUE
Cluster request was rejected because it would exceed a resource limit.
RESOURCE_LIMIT_EXCEEDED = 5002;
public static final int DIRECTORY_NOT_EMPTY_VALUE
DIRECTORY_NOT_EMPTY = 6001;
public static final int DIRECTORY_PROTECTED_VALUE
DIRECTORY_PROTECTED = 6002;
public static final int MAX_NOTEBOOK_SIZE_EXCEEDED_VALUE
MAX_NOTEBOOK_SIZE_EXCEEDED = 6003;
public static Databricks.ErrorCode[] values()
for (Databricks.ErrorCode c : Databricks.ErrorCode.values()) System.out.println(c);
public static Databricks.ErrorCode 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 Databricks.ErrorCode valueOf(int value)
forNumber(int)
instead.public static Databricks.ErrorCode forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Databricks.ErrorCode> 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 Databricks.ErrorCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018. All rights reserved.