# Enum ScanConfigError.Code (2.93.0)

2.93.0 (latest) 2.91.0 2.88.0 2.87.0 2.85.0 2.83.0 2.82.0 2.80.0 2.78.0 2.76.0 2.75.0 2.74.0 2.73.0 2.72.0 2.70.0 2.68.0 2.67.0 2.64.0 2.63.0 2.62.0 2.60.0 2.59.0 2.58.0 2.57.0 2.56.0 2.55.0 2.54.0 2.53.0 2.52.0 2.51.0 2.49.0 2.48.0 2.47.0 2.46.0 2.45.0 2.44.0 2.43.0 2.42.0 2.41.0 2.40.0 2.39.0 2.37.0 2.36.0 2.35.0 2.34.0 2.33.0 2.32.0 2.31.0 2.30.0 2.29.0 2.28.0 2.27.0 2.24.0 2.23.0 2.22.0 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.4 2.1.1 2.0.15

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

Output only.
Defines an error reason code.
Next id: 44

Protobuf enum `google.cloud.websecurityscanner.v1beta.ScanConfigError.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** |
| `APPENGINE_API_BACKEND_ERROR` | One of the seed URLs is an App Engine URL but we cannot validate the scan settings due to an App Engine API backend error. `APPENGINE_API_BACKEND_ERROR = 2;` |
| `APPENGINE_API_BACKEND_ERROR_VALUE` | One of the seed URLs is an App Engine URL but we cannot validate the scan settings due to an App Engine API backend error. `APPENGINE_API_BACKEND_ERROR = 2;` |
| `APPENGINE_API_NOT_ACCESSIBLE` | One of the seed URLs is an App Engine URL but we cannot access the App Engine API to validate scan settings. `APPENGINE_API_NOT_ACCESSIBLE = 3;` |
| `APPENGINE_API_NOT_ACCESSIBLE_VALUE` | One of the seed URLs is an App Engine URL but we cannot access the App Engine API to validate scan settings. `APPENGINE_API_NOT_ACCESSIBLE = 3;` |
| `APPENGINE_DEFAULT_HOST_MISSING` | One of the seed URLs is an App Engine URL but the Default Host of the App Engine is not set. `APPENGINE_DEFAULT_HOST_MISSING = 4;` |
| `APPENGINE_DEFAULT_HOST_MISSING_VALUE` | One of the seed URLs is an App Engine URL but the Default Host of the App Engine is not set. `APPENGINE_DEFAULT_HOST_MISSING = 4;` |
| `CANNOT_USE_GOOGLE_COM_ACCOUNT` | Google corporate accounts can not be used for scanning. `CANNOT_USE_GOOGLE_COM_ACCOUNT = 6;` |
| `CANNOT_USE_GOOGLE_COM_ACCOUNT_VALUE` | Google corporate accounts can not be used for scanning. `CANNOT_USE_GOOGLE_COM_ACCOUNT = 6;` |
| `CANNOT_USE_OWNER_ACCOUNT` | The account of the scan creator can not be used for scanning. `CANNOT_USE_OWNER_ACCOUNT = 7;` |
| `CANNOT_USE_OWNER_ACCOUNT_VALUE` | The account of the scan creator can not be used for scanning. `CANNOT_USE_OWNER_ACCOUNT = 7;` |
| `CODE_UNSPECIFIED` | There is no error. `CODE_UNSPECIFIED = 0;` |
| `CODE_UNSPECIFIED_VALUE` | There is no error. `CODE_UNSPECIFIED = 0;` |
| `COMPUTE_API_BACKEND_ERROR` | This scan targets Compute Engine, but we cannot validate scan settings due to a Compute Engine API backend error. `COMPUTE_API_BACKEND_ERROR = 8;` |
| `COMPUTE_API_BACKEND_ERROR_VALUE` | This scan targets Compute Engine, but we cannot validate scan settings due to a Compute Engine API backend error. `COMPUTE_API_BACKEND_ERROR = 8;` |
| `COMPUTE_API_NOT_ACCESSIBLE` | This scan targets Compute Engine, but we cannot access the Compute Engine API to validate the scan settings. `COMPUTE_API_NOT_ACCESSIBLE = 9;` |
| `COMPUTE_API_NOT_ACCESSIBLE_VALUE` | This scan targets Compute Engine, but we cannot access the Compute Engine API to validate the scan settings. `COMPUTE_API_NOT_ACCESSIBLE = 9;` |
| `CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT` | The Custom Login URL does not belong to the current project. `CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT = 10;` |
| `CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT_VALUE` | The Custom Login URL does not belong to the current project. `CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT = 10;` |
| `CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS` | The Custom Login URL has a non-routable IP address. `CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS = 14;` |
| `CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS_VALUE` | The Custom Login URL has a non-routable IP address. `CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS = 14;` |
| `CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS` | The Custom Login URL has an IP address which is not reserved for the current project. `CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS = 15;` |
| `CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS_VALUE` | The Custom Login URL has an IP address which is not reserved for the current project. `CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS = 15;` |
| `CUSTOM_LOGIN_URL_MALFORMED` | The Custom Login URL is malformed (can not be parsed). `CUSTOM_LOGIN_URL_MALFORMED = 11;` |
| `CUSTOM_LOGIN_URL_MALFORMED_VALUE` | The Custom Login URL is malformed (can not be parsed). `CUSTOM_LOGIN_URL_MALFORMED = 11;` |
| `CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS` | The Custom Login URL is mapped to a non-routable IP address in DNS. `CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS = 12;` |
| `CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS_VALUE` | The Custom Login URL is mapped to a non-routable IP address in DNS. `CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS = 12;` |
| `CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS` | The Custom Login URL is mapped to an IP address which is not reserved for the current project. `CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS = 13;` |
| `CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS_VALUE` | The Custom Login URL is mapped to an IP address which is not reserved for the current project. `CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS = 13;` |
| `DUPLICATE_SCAN_NAME` | Another scan with the same name (case-sensitive) already exists. `DUPLICATE_SCAN_NAME = 16;` |
| `DUPLICATE_SCAN_NAME_VALUE` | Another scan with the same name (case-sensitive) already exists. `DUPLICATE_SCAN_NAME = 16;` |
| `FAILED_TO_AUTHENTICATE_TO_TARGET` | There was an error trying to authenticate to the scan target. `FAILED_TO_AUTHENTICATE_TO_TARGET = 19;` |
| `FAILED_TO_AUTHENTICATE_TO_TARGET_VALUE` | There was an error trying to authenticate to the scan target. `FAILED_TO_AUTHENTICATE_TO_TARGET = 19;` |
| `FINDING_TYPE_UNSPECIFIED` | Finding type value is not specified in the list findings request. `FINDING_TYPE_UNSPECIFIED = 20;` |
| `FINDING_TYPE_UNSPECIFIED_VALUE` | Finding type value is not specified in the list findings request. `FINDING_TYPE_UNSPECIFIED = 20;` |
| `FORBIDDEN_TO_SCAN_COMPUTE` | Scan targets Compute Engine, yet current project was not whitelisted for Google Compute Engine Scanning Alpha access. `FORBIDDEN_TO_SCAN_COMPUTE = 21;` |
| `FORBIDDEN_TO_SCAN_COMPUTE_VALUE` | Scan targets Compute Engine, yet current project was not whitelisted for Google Compute Engine Scanning Alpha access. `FORBIDDEN_TO_SCAN_COMPUTE = 21;` |
| `FORBIDDEN_UPDATE_TO_MANAGED_SCAN` | User tries to update managed scan `FORBIDDEN_UPDATE_TO_MANAGED_SCAN = 43;` |
| `FORBIDDEN_UPDATE_TO_MANAGED_SCAN_VALUE` | User tries to update managed scan `FORBIDDEN_UPDATE_TO_MANAGED_SCAN = 43;` |
| `INTERNAL_ERROR` | Indicates an internal server error. Please DO NOT USE THIS ERROR CODE unless the root cause is truly unknown. `INTERNAL_ERROR = 1;` |
| `INTERNAL_ERROR_VALUE` | Indicates an internal server error. Please DO NOT USE THIS ERROR CODE unless the root cause is truly unknown. `INTERNAL_ERROR = 1;` |
| `INVALID_FIELD_VALUE` | A field is set to an invalid value. `INVALID_FIELD_VALUE = 18;` |
| `INVALID_FIELD_VALUE_VALUE` | A field is set to an invalid value. `INVALID_FIELD_VALUE = 18;` |
| `MALFORMED_FILTER` | The supplied filter is malformed. For example, it can not be parsed, does not have a filter type in expression, or the same filter type appears more than once. `MALFORMED_FILTER = 22;` |
| `MALFORMED_FILTER_VALUE` | The supplied filter is malformed. For example, it can not be parsed, does not have a filter type in expression, or the same filter type appears more than once. `MALFORMED_FILTER = 22;` |
| `MALFORMED_RESOURCE_NAME` | The supplied resource name is malformed (can not be parsed). `MALFORMED_RESOURCE_NAME = 23;` |
| `MALFORMED_RESOURCE_NAME_VALUE` | The supplied resource name is malformed (can not be parsed). `MALFORMED_RESOURCE_NAME = 23;` |
| `OK` | There is no error. `OK = 0;` |
| `OK_VALUE` | There is no error. `OK = 0;` |
| `PROJECT_INACTIVE` | The current project is not in an active state. `PROJECT_INACTIVE = 24;` |
| `PROJECT_INACTIVE_VALUE` | The current project is not in an active state. `PROJECT_INACTIVE = 24;` |
| `REQUIRED_FIELD` | A required field is not set. `REQUIRED_FIELD = 25;` |
| `REQUIRED_FIELD_VALUE` | A required field is not set. `REQUIRED_FIELD = 25;` |
| `RESOURCE_NAME_INCONSISTENT` | Project id, scanconfig id, scanrun id, or finding id are not consistent with each other in resource name. `RESOURCE_NAME_INCONSISTENT = 26;` |
| `RESOURCE_NAME_INCONSISTENT_VALUE` | Project id, scanconfig id, scanrun id, or finding id are not consistent with each other in resource name. `RESOURCE_NAME_INCONSISTENT = 26;` |
| `SCAN_ALREADY_RUNNING` | The scan being requested to start is already running. `SCAN_ALREADY_RUNNING = 27;` |
| `SCAN_ALREADY_RUNNING_VALUE` | The scan being requested to start is already running. `SCAN_ALREADY_RUNNING = 27;` |
| `SCAN_NOT_RUNNING` | The scan that was requested to be stopped is not running. `SCAN_NOT_RUNNING = 28;` |
| `SCAN_NOT_RUNNING_VALUE` | The scan that was requested to be stopped is not running. `SCAN_NOT_RUNNING = 28;` |
| `SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT` | One of the seed URLs does not belong to the current project. `SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT = 29;` |
| `SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT_VALUE` | One of the seed URLs does not belong to the current project. `SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT = 29;` |
| `SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS` | One of the seed URLs has on-routable IP address. `SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS = 33;` |
| `SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS_VALUE` | One of the seed URLs has on-routable IP address. `SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS = 33;` |
| `SEED_URL_HAS_UNRESERVED_IP_ADDRESS` | One of the seed URLs has an IP address that is not reserved for the current project. `SEED_URL_HAS_UNRESERVED_IP_ADDRESS = 35;` |
| `SEED_URL_HAS_UNRESERVED_IP_ADDRESS_VALUE` | One of the seed URLs has an IP address that is not reserved for the current project. `SEED_URL_HAS_UNRESERVED_IP_ADDRESS = 35;` |
| `SEED_URL_MALFORMED` | One of the seed URLs is malformed (can not be parsed). `SEED_URL_MALFORMED = 30;` |
| `SEED_URL_MALFORMED_VALUE` | One of the seed URLs is malformed (can not be parsed). `SEED_URL_MALFORMED = 30;` |
| `SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS` | One of the seed URLs is mapped to a non-routable IP address in DNS. `SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS = 31;` |
| `SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS_VALUE` | One of the seed URLs is mapped to a non-routable IP address in DNS. `SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS = 31;` |
| `SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS` | One of the seed URLs is mapped to an IP address which is not reserved for the current project. `SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS = 32;` |
| `SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS_VALUE` | One of the seed URLs is mapped to an IP address which is not reserved for the current project. `SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS = 32;` |
| `SERVICE_ACCOUNT_NOT_CONFIGURED` | The Cloud Security Scanner service account is not configured under the project. `SERVICE_ACCOUNT_NOT_CONFIGURED = 36;` |
| `SERVICE_ACCOUNT_NOT_CONFIGURED_VALUE` | The Cloud Security Scanner service account is not configured under the project. `SERVICE_ACCOUNT_NOT_CONFIGURED = 36;` |
| `TOO_MANY_SCANS` | A project has reached the maximum number of scans. `TOO_MANY_SCANS = 37;` |
| `TOO_MANY_SCANS_VALUE` | A project has reached the maximum number of scans. `TOO_MANY_SCANS = 37;` |
| `UNABLE_TO_RESOLVE_PROJECT_INFO` | Resolving the details of the current project fails. `UNABLE_TO_RESOLVE_PROJECT_INFO = 38;` |
| `UNABLE_TO_RESOLVE_PROJECT_INFO_VALUE` | Resolving the details of the current project fails. `UNABLE_TO_RESOLVE_PROJECT_INFO = 38;` |
| `UNRECOGNIZED` |   |
| `UNSUPPORTED_BLACKLIST_PATTERN_FORMAT` | One or more blacklist patterns were in the wrong format. `UNSUPPORTED_BLACKLIST_PATTERN_FORMAT = 39;` |
| `UNSUPPORTED_BLACKLIST_PATTERN_FORMAT_VALUE` | One or more blacklist patterns were in the wrong format. `UNSUPPORTED_BLACKLIST_PATTERN_FORMAT = 39;` |
| `UNSUPPORTED_FILTER` | The supplied filter is not supported. `UNSUPPORTED_FILTER = 40;` |
| `UNSUPPORTED_FILTER_VALUE` | The supplied filter is not supported. `UNSUPPORTED_FILTER = 40;` |
| `UNSUPPORTED_FINDING_TYPE` | The supplied finding type is not supported. For example, we do not provide findings of the given finding type. `UNSUPPORTED_FINDING_TYPE = 41;` |
| `UNSUPPORTED_FINDING_TYPE_VALUE` | The supplied finding type is not supported. For example, we do not provide findings of the given finding type. `UNSUPPORTED_FINDING_TYPE = 41;` |
| `UNSUPPORTED_URL_SCHEME` | The URL scheme of one or more of the supplied URLs is not supported. `UNSUPPORTED_URL_SCHEME = 42;` |
| `UNSUPPORTED_URL_SCHEME_VALUE` | The URL scheme of one or more of the supplied URLs is not supported. `UNSUPPORTED_URL_SCHEME = 42;` |

| ## 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-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1beta.ScanConfigError.Code#com_google_cloud_websecurityscanner_v1beta_ScanConfigError_Code_forNumber_int_) instead.* |
| `valueOf(String name)` |   |
| `values()` |   |

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