1.93.0 (latest) 1.91.0 1.88.0 1.87.0 1.85.0 1.83.0 1.82.0 1.80.0 1.78.0 1.76.0 1.75.0 1.74.0 1.73.0 1.72.0 1.70.0 1.68.0 1.67.0 1.64.0 1.63.0 1.62.0 1.60.0 1.59.0 1.58.0 1.57.0 1.56.0 1.55.0 1.54.0 1.53.0 1.52.0 1.51.0 1.49.0 1.48.0 1.47.0 1.46.0 1.45.0 1.44.0 1.43.0 1.42.0 1.41.0 1.40.0 1.39.0 1.37.0 1.36.0 1.35.0 1.34.0 1.33.0 1.32.0 1.31.0 1.30.0 1.29.0 1.28.0 1.27.0 1.24.0 1.23.0 1.22.0 1.21.0 1.20.0 1.19.0 1.18.0 1.17.0 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.1.10

    public enum CheckError.Code extends Enum<CheckError.Code> implements ProtocolMessageEnum

Error codes for Check responses.

Protobuf enum `google.api.servicecontrol.v1.CheckError.Code`

## Implements

[ProtocolMessageEnum](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ProtocolMessageEnum.html)

## Inherited Members

[Enum.\<T\>valueOf(Class\<T\>,String)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#valueOf-java.lang.Class-java.lang.String-) [Enum.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#clone--) [Enum.compareTo(E)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#compareTo-E-) [Enum.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#equals-java.lang.Object-) [Enum.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#finalize--) [Enum.getDeclaringClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#getDeclaringClass--) [Enum.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#hashCode--) [Enum.name()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#name--) [Enum.ordinal()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#ordinal--) [Enum.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#toString--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

| ## Static Fields ||
|---|---|
| **Name** | **Description** |
| `API_KEY_EXPIRED` | The consumer's API Key has expired. `API_KEY_EXPIRED = 112;` |
| `API_KEY_EXPIRED_VALUE` | The consumer's API Key has expired. `API_KEY_EXPIRED = 112;` |
| `API_KEY_INVALID` | The consumer's API key is invalid. `API_KEY_INVALID = 105;` |
| `API_KEY_INVALID_VALUE` | The consumer's API key is invalid. `API_KEY_INVALID = 105;` |
| `API_KEY_NOT_FOUND` | The consumer's API Key was not found in config record. `API_KEY_NOT_FOUND = 113;` |
| `API_KEY_NOT_FOUND_VALUE` | The consumer's API Key was not found in config record. `API_KEY_NOT_FOUND = 113;` |
| `API_TARGET_BLOCKED` | The API targeted by this request is invalid for the specified consumer project. `API_TARGET_BLOCKED = 122;` |
| `API_TARGET_BLOCKED_VALUE` | The API targeted by this request is invalid for the specified consumer project. `API_TARGET_BLOCKED = 122;` |
| `BILLING_DISABLED` | The consumer cannot access the service because billing is disabled. `BILLING_DISABLED = 107;` |
| `BILLING_DISABLED_VALUE` | The consumer cannot access the service because billing is disabled. `BILLING_DISABLED = 107;` |
| `BILLING_STATUS_UNAVAILABLE` | The backend server for checking billing status is unavailable. `BILLING_STATUS_UNAVAILABLE = 302;` |
| `BILLING_STATUS_UNAVAILABLE_VALUE` | The backend server for checking billing status is unavailable. `BILLING_STATUS_UNAVAILABLE = 302;` |
| `CLIENT_APP_BLOCKED` | The client application of the consumer request is invalid for the specific consumer project. `CLIENT_APP_BLOCKED = 111;` |
| `CLIENT_APP_BLOCKED_VALUE` | The client application of the consumer request is invalid for the specific consumer project. `CLIENT_APP_BLOCKED = 111;` |
| `CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE` | Cloud Resource Manager backend server is unavailable. `CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE = 305;` |
| `CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE_VALUE` | Cloud Resource Manager backend server is unavailable. `CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE = 305;` |
| `CONSUMER_INVALID` | The input consumer info does not represent a valid consumer folder or organization. `CONSUMER_INVALID = 125;` |
| `CONSUMER_INVALID_VALUE` | The input consumer info does not represent a valid consumer folder or organization. `CONSUMER_INVALID = 125;` |
| `ERROR_CODE_UNSPECIFIED` | This is never used in `CheckResponse`. `ERROR_CODE_UNSPECIFIED = 0;` |
| `ERROR_CODE_UNSPECIFIED_VALUE` | This is never used in `CheckResponse`. `ERROR_CODE_UNSPECIFIED = 0;` |
| `INVALID_CREDENTIAL` | The credential in the request can not be verified. `INVALID_CREDENTIAL = 123;` |
| `INVALID_CREDENTIAL_VALUE` | The credential in the request can not be verified. `INVALID_CREDENTIAL = 123;` |
| `IP_ADDRESS_BLOCKED` | The IP address of the consumer is invalid for the specific consumer project. `IP_ADDRESS_BLOCKED = 109;` |
| `IP_ADDRESS_BLOCKED_VALUE` | The IP address of the consumer is invalid for the specific consumer project. `IP_ADDRESS_BLOCKED = 109;` |
| `NAMESPACE_LOOKUP_UNAVAILABLE` | The backend server for looking up project id/number is unavailable. `NAMESPACE_LOOKUP_UNAVAILABLE = 300;` |
| `NAMESPACE_LOOKUP_UNAVAILABLE_VALUE` | The backend server for looking up project id/number is unavailable. `NAMESPACE_LOOKUP_UNAVAILABLE = 300;` |
| `NOT_FOUND` | The consumer's project id, network container, or resource container was not found. Same as google.rpc.Code.NOT_FOUND. `NOT_FOUND = 5;` |
| `NOT_FOUND_VALUE` | The consumer's project id, network container, or resource container was not found. Same as google.rpc.Code.NOT_FOUND. `NOT_FOUND = 5;` |
| `PERMISSION_DENIED` | The consumer doesn't have access to the specified resource. Same as google.rpc.Code.PERMISSION_DENIED. `PERMISSION_DENIED = 7;` |
| `PERMISSION_DENIED_VALUE` | The consumer doesn't have access to the specified resource. Same as google.rpc.Code.PERMISSION_DENIED. `PERMISSION_DENIED = 7;` |
| `PROJECT_DELETED` | The consumer's project has been marked as deleted (soft deletion). `PROJECT_DELETED = 108;` |
| `PROJECT_DELETED_VALUE` | The consumer's project has been marked as deleted (soft deletion). `PROJECT_DELETED = 108;` |
| `PROJECT_INVALID` | The consumer's project number or id does not represent a valid project. `PROJECT_INVALID = 114;` |
| `PROJECT_INVALID_VALUE` | The consumer's project number or id does not represent a valid project. `PROJECT_INVALID = 114;` |
| `REFERER_BLOCKED` | The referer address of the consumer request is invalid for the specific consumer project. `REFERER_BLOCKED = 110;` |
| `REFERER_BLOCKED_VALUE` | The referer address of the consumer request is invalid for the specific consumer project. `REFERER_BLOCKED = 110;` |
| `RESOURCE_EXHAUSTED` | Quota check failed. Same as google.rpc.Code.RESOURCE_EXHAUSTED. `RESOURCE_EXHAUSTED = 8;` |
| `RESOURCE_EXHAUSTED_VALUE` | Quota check failed. Same as google.rpc.Code.RESOURCE_EXHAUSTED. `RESOURCE_EXHAUSTED = 8;` |
| `SERVICE_NOT_ACTIVATED` | The consumer hasn't activated the service. `SERVICE_NOT_ACTIVATED = 104;` |
| `SERVICE_NOT_ACTIVATED_VALUE` | The consumer hasn't activated the service. `SERVICE_NOT_ACTIVATED = 104;` |
| `SERVICE_STATUS_UNAVAILABLE` | The backend server for checking service status is unavailable. `SERVICE_STATUS_UNAVAILABLE = 301;` |
| `SERVICE_STATUS_UNAVAILABLE_VALUE` | The backend server for checking service status is unavailable. `SERVICE_STATUS_UNAVAILABLE = 301;` |
| `UNRECOGNIZED` |   |

| ## Static Methods ||
|---|---|
| **Name** | **Description** |
| `forNumber(int value)` |   |
| `getDescriptor()` |   |
| `internalGetValueMap()` |   |
| `valueOf(Descriptors.EnumValueDescriptor desc)` |   |
| `valueOf(int value)` | **Deprecated.** *Use [#forNumber(int)](https://docs.cloud.google.com/java/docs/reference/google-cloud-service-control/latest/com.google.api.servicecontrol.v1.CheckError.Code#com_google_api_servicecontrol_v1_CheckError_Code_forNumber_int_) instead.* |
| `valueOf(String name)` |   |
| `values()` |   |

| ## Methods ||
|---|---|
| **Name** | **Description** |
| `getDescriptorForType()` |   |
| `getNumber()` |   |
| `getValueDescriptor()` |   |