public static enum ScanConfigError.Code extends Enum<ScanConfigError.Code> implements ProtocolMessageEnum
Output only. Defines an error reason code. Next id: 44Protobuf enum
google.cloud.websecurityscanner.v1beta.ScanConfigError.Code
Enum Constant and 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_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_DEFAULT_HOST_MISSING
One of the seed URLs is an App Engine URL but the Default Host of the
App Engine is not set.
|
CANNOT_USE_GOOGLE_COM_ACCOUNT
Google corporate accounts can not be used for scanning.
|
CANNOT_USE_OWNER_ACCOUNT
The account of the scan creator can not be used for scanning.
|
CODE_UNSPECIFIED
There is no error.
|
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_NOT_ACCESSIBLE
This scan targets Compute Engine, but we cannot access the Compute Engine
API to validate the scan settings.
|
CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT
The Custom Login URL does not belong to the current project.
|
CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS
The Custom Login URL has a non-routable IP address.
|
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_MALFORMED
The Custom Login URL is malformed (can not be parsed).
|
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_UNRESERVED_ADDRESS
The Custom Login URL is mapped to an IP address which is not reserved for
the current project.
|
DUPLICATE_SCAN_NAME
Another scan with the same name (case-sensitive) already exists.
|
FAILED_TO_AUTHENTICATE_TO_TARGET
There was an error trying to authenticate to the scan target.
|
FINDING_TYPE_UNSPECIFIED
Finding type value is not specified in the list findings request.
|
FORBIDDEN_TO_SCAN_COMPUTE
Scan targets Compute Engine, yet current project was not whitelisted for
Google Compute Engine Scanning Alpha access.
|
FORBIDDEN_UPDATE_TO_MANAGED_SCAN
User tries to update managed scan
|
INTERNAL_ERROR
Indicates an internal server error.
|
INVALID_FIELD_VALUE
A field is set to an invalid value.
|
MALFORMED_FILTER
The supplied filter is malformed.
|
MALFORMED_RESOURCE_NAME
The supplied resource name is malformed (can not be parsed).
|
PROJECT_INACTIVE
The current project is not in an active state.
|
REQUIRED_FIELD
A required field is not set.
|
RESOURCE_NAME_INCONSISTENT
Project id, scanconfig id, scanrun id, or finding id are not consistent
with each other in resource name.
|
SCAN_ALREADY_RUNNING
The scan being requested to start is already running.
|
SCAN_NOT_RUNNING
The scan that was requested to be stopped is not running.
|
SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT
One of the seed URLs does not belong to the current project.
|
SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS
One of the seed URLs has on-routable IP address.
|
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_MALFORMED
One of the seed URLs is malformed (can not be parsed).
|
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_UNRESERVED_ADDRESS
One of the seed URLs is mapped to an IP address which is not reserved
for the current project.
|
SERVICE_ACCOUNT_NOT_CONFIGURED
The Cloud Security Scanner service account is not configured under the
project.
|
TOO_MANY_SCANS
A project has reached the maximum number of scans.
|
UNABLE_TO_RESOLVE_PROJECT_INFO
Resolving the details of the current project fails.
|
UNRECOGNIZED |
UNSUPPORTED_BLACKLIST_PATTERN_FORMAT
One or more blacklist patterns were in the wrong format.
|
UNSUPPORTED_FILTER
The supplied filter is not supported.
|
UNSUPPORTED_FINDING_TYPE
The supplied finding type is not supported.
|
UNSUPPORTED_URL_SCHEME
The URL scheme of one or more of the supplied URLs is not supported.
|
Modifier and Type | Field and Description |
---|---|
static int |
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.
|
static int |
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.
|
static int |
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.
|
static int |
CANNOT_USE_GOOGLE_COM_ACCOUNT_VALUE
Google corporate accounts can not be used for scanning.
|
static int |
CANNOT_USE_OWNER_ACCOUNT_VALUE
The account of the scan creator can not be used for scanning.
|
static int |
CODE_UNSPECIFIED_VALUE
There is no error.
|
static int |
COMPUTE_API_BACKEND_ERROR_VALUE
This scan targets Compute Engine, but we cannot validate scan settings
due to a Compute Engine API backend error.
|
static int |
COMPUTE_API_NOT_ACCESSIBLE_VALUE
This scan targets Compute Engine, but we cannot access the Compute Engine
API to validate the scan settings.
|
static int |
CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT_VALUE
The Custom Login URL does not belong to the current project.
|
static int |
CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS_VALUE
The Custom Login URL has a non-routable IP address.
|
static int |
CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS_VALUE
The Custom Login URL has an IP address which is not reserved for the
current project.
|
static int |
CUSTOM_LOGIN_URL_MALFORMED_VALUE
The Custom Login URL is malformed (can not be parsed).
|
static int |
CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS_VALUE
The Custom Login URL is mapped to a non-routable IP address in DNS.
|
static int |
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.
|
static int |
DUPLICATE_SCAN_NAME_VALUE
Another scan with the same name (case-sensitive) already exists.
|
static int |
FAILED_TO_AUTHENTICATE_TO_TARGET_VALUE
There was an error trying to authenticate to the scan target.
|
static int |
FINDING_TYPE_UNSPECIFIED_VALUE
Finding type value is not specified in the list findings request.
|
static int |
FORBIDDEN_TO_SCAN_COMPUTE_VALUE
Scan targets Compute Engine, yet current project was not whitelisted for
Google Compute Engine Scanning Alpha access.
|
static int |
FORBIDDEN_UPDATE_TO_MANAGED_SCAN_VALUE
User tries to update managed scan
|
static int |
INTERNAL_ERROR_VALUE
Indicates an internal server error.
|
static int |
INVALID_FIELD_VALUE_VALUE
A field is set to an invalid value.
|
static int |
MALFORMED_FILTER_VALUE
The supplied filter is malformed.
|
static int |
MALFORMED_RESOURCE_NAME_VALUE
The supplied resource name is malformed (can not be parsed).
|
static ScanConfigError.Code |
OK
There is no error.
|
static int |
OK_VALUE
There is no error.
|
static int |
PROJECT_INACTIVE_VALUE
The current project is not in an active state.
|
static int |
REQUIRED_FIELD_VALUE
A required field is not set.
|
static int |
RESOURCE_NAME_INCONSISTENT_VALUE
Project id, scanconfig id, scanrun id, or finding id are not consistent
with each other in resource name.
|
static int |
SCAN_ALREADY_RUNNING_VALUE
The scan being requested to start is already running.
|
static int |
SCAN_NOT_RUNNING_VALUE
The scan that was requested to be stopped is not running.
|
static int |
SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT_VALUE
One of the seed URLs does not belong to the current project.
|
static int |
SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS_VALUE
One of the seed URLs has on-routable IP address.
|
static int |
SEED_URL_HAS_UNRESERVED_IP_ADDRESS_VALUE
One of the seed URLs has an IP address that is not reserved
for the current project.
|
static int |
SEED_URL_MALFORMED_VALUE
One of the seed URLs is malformed (can not be parsed).
|
static int |
SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS_VALUE
One of the seed URLs is mapped to a non-routable IP address in DNS.
|
static int |
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.
|
static int |
SERVICE_ACCOUNT_NOT_CONFIGURED_VALUE
The Cloud Security Scanner service account is not configured under the
project.
|
static int |
TOO_MANY_SCANS_VALUE
A project has reached the maximum number of scans.
|
static int |
UNABLE_TO_RESOLVE_PROJECT_INFO_VALUE
Resolving the details of the current project fails.
|
static int |
UNSUPPORTED_BLACKLIST_PATTERN_FORMAT_VALUE
One or more blacklist patterns were in the wrong format.
|
static int |
UNSUPPORTED_FILTER_VALUE
The supplied filter is not supported.
|
static int |
UNSUPPORTED_FINDING_TYPE_VALUE
The supplied finding type is not supported.
|
static int |
UNSUPPORTED_URL_SCHEME_VALUE
The URL scheme of one or more of the supplied URLs is not supported.
|
Modifier and Type | Method and Description |
---|---|
static ScanConfigError.Code |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<ScanConfigError.Code> |
internalGetValueMap() |
static ScanConfigError.Code |
valueOf(Descriptors.EnumValueDescriptor desc) |
static ScanConfigError.Code |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ScanConfigError.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScanConfigError.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScanConfigError.Code CODE_UNSPECIFIED
There is no error.
CODE_UNSPECIFIED = 0;
public static final ScanConfigError.Code INTERNAL_ERROR
Indicates an internal server error. Please DO NOT USE THIS ERROR CODE unless the root cause is truly unknown.
INTERNAL_ERROR = 1;
public static final ScanConfigError.Code 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;
public static final ScanConfigError.Code 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;
public static final ScanConfigError.Code 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;
public static final ScanConfigError.Code CANNOT_USE_GOOGLE_COM_ACCOUNT
Google corporate accounts can not be used for scanning.
CANNOT_USE_GOOGLE_COM_ACCOUNT = 6;
public static final ScanConfigError.Code CANNOT_USE_OWNER_ACCOUNT
The account of the scan creator can not be used for scanning.
CANNOT_USE_OWNER_ACCOUNT = 7;
public static final ScanConfigError.Code 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;
public static final ScanConfigError.Code 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;
public static final ScanConfigError.Code 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;
public static final ScanConfigError.Code CUSTOM_LOGIN_URL_MALFORMED
The Custom Login URL is malformed (can not be parsed).
CUSTOM_LOGIN_URL_MALFORMED = 11;
public static final ScanConfigError.Code 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;
public static final ScanConfigError.Code 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;
public static final ScanConfigError.Code 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;
public static final ScanConfigError.Code 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;
public static final ScanConfigError.Code DUPLICATE_SCAN_NAME
Another scan with the same name (case-sensitive) already exists.
DUPLICATE_SCAN_NAME = 16;
public static final ScanConfigError.Code INVALID_FIELD_VALUE
A field is set to an invalid value.
INVALID_FIELD_VALUE = 18;
public static final ScanConfigError.Code FAILED_TO_AUTHENTICATE_TO_TARGET
There was an error trying to authenticate to the scan target.
FAILED_TO_AUTHENTICATE_TO_TARGET = 19;
public static final ScanConfigError.Code FINDING_TYPE_UNSPECIFIED
Finding type value is not specified in the list findings request.
FINDING_TYPE_UNSPECIFIED = 20;
public static final ScanConfigError.Code 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;
public static final ScanConfigError.Code FORBIDDEN_UPDATE_TO_MANAGED_SCAN
User tries to update managed scan
FORBIDDEN_UPDATE_TO_MANAGED_SCAN = 43;
public static final ScanConfigError.Code 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;
public static final ScanConfigError.Code MALFORMED_RESOURCE_NAME
The supplied resource name is malformed (can not be parsed).
MALFORMED_RESOURCE_NAME = 23;
public static final ScanConfigError.Code PROJECT_INACTIVE
The current project is not in an active state.
PROJECT_INACTIVE = 24;
public static final ScanConfigError.Code REQUIRED_FIELD
A required field is not set.
REQUIRED_FIELD = 25;
public static final ScanConfigError.Code 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;
public static final ScanConfigError.Code SCAN_ALREADY_RUNNING
The scan being requested to start is already running.
SCAN_ALREADY_RUNNING = 27;
public static final ScanConfigError.Code SCAN_NOT_RUNNING
The scan that was requested to be stopped is not running.
SCAN_NOT_RUNNING = 28;
public static final ScanConfigError.Code 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;
public static final ScanConfigError.Code SEED_URL_MALFORMED
One of the seed URLs is malformed (can not be parsed).
SEED_URL_MALFORMED = 30;
public static final ScanConfigError.Code 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;
public static final ScanConfigError.Code 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;
public static final ScanConfigError.Code 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;
public static final ScanConfigError.Code 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;
public static final ScanConfigError.Code SERVICE_ACCOUNT_NOT_CONFIGURED
The Cloud Security Scanner service account is not configured under the project.
SERVICE_ACCOUNT_NOT_CONFIGURED = 36;
public static final ScanConfigError.Code TOO_MANY_SCANS
A project has reached the maximum number of scans.
TOO_MANY_SCANS = 37;
public static final ScanConfigError.Code UNABLE_TO_RESOLVE_PROJECT_INFO
Resolving the details of the current project fails.
UNABLE_TO_RESOLVE_PROJECT_INFO = 38;
public static final ScanConfigError.Code UNSUPPORTED_BLACKLIST_PATTERN_FORMAT
One or more blacklist patterns were in the wrong format.
UNSUPPORTED_BLACKLIST_PATTERN_FORMAT = 39;
public static final ScanConfigError.Code UNSUPPORTED_FILTER
The supplied filter is not supported.
UNSUPPORTED_FILTER = 40;
public static final ScanConfigError.Code 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;
public static final ScanConfigError.Code UNSUPPORTED_URL_SCHEME
The URL scheme of one or more of the supplied URLs is not supported.
UNSUPPORTED_URL_SCHEME = 42;
public static final ScanConfigError.Code UNRECOGNIZED
public static final ScanConfigError.Code OK
There is no error.
OK = 0;
public static final int CODE_UNSPECIFIED_VALUE
There is no error.
CODE_UNSPECIFIED = 0;
public static final int OK_VALUE
There is no error.
OK = 0;
public static final int 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;
public static final int 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;
public static final int 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;
public static final int 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;
public static final int CANNOT_USE_GOOGLE_COM_ACCOUNT_VALUE
Google corporate accounts can not be used for scanning.
CANNOT_USE_GOOGLE_COM_ACCOUNT = 6;
public static final int CANNOT_USE_OWNER_ACCOUNT_VALUE
The account of the scan creator can not be used for scanning.
CANNOT_USE_OWNER_ACCOUNT = 7;
public static final int 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;
public static final int 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;
public static final int 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;
public static final int CUSTOM_LOGIN_URL_MALFORMED_VALUE
The Custom Login URL is malformed (can not be parsed).
CUSTOM_LOGIN_URL_MALFORMED = 11;
public static final int 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;
public static final int 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;
public static final int 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;
public static final int 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;
public static final int DUPLICATE_SCAN_NAME_VALUE
Another scan with the same name (case-sensitive) already exists.
DUPLICATE_SCAN_NAME = 16;
public static final int INVALID_FIELD_VALUE_VALUE
A field is set to an invalid value.
INVALID_FIELD_VALUE = 18;
public static final int FAILED_TO_AUTHENTICATE_TO_TARGET_VALUE
There was an error trying to authenticate to the scan target.
FAILED_TO_AUTHENTICATE_TO_TARGET = 19;
public static final int FINDING_TYPE_UNSPECIFIED_VALUE
Finding type value is not specified in the list findings request.
FINDING_TYPE_UNSPECIFIED = 20;
public static final int 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;
public static final int FORBIDDEN_UPDATE_TO_MANAGED_SCAN_VALUE
User tries to update managed scan
FORBIDDEN_UPDATE_TO_MANAGED_SCAN = 43;
public static final int 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;
public static final int MALFORMED_RESOURCE_NAME_VALUE
The supplied resource name is malformed (can not be parsed).
MALFORMED_RESOURCE_NAME = 23;
public static final int PROJECT_INACTIVE_VALUE
The current project is not in an active state.
PROJECT_INACTIVE = 24;
public static final int REQUIRED_FIELD_VALUE
A required field is not set.
REQUIRED_FIELD = 25;
public static final int 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;
public static final int SCAN_ALREADY_RUNNING_VALUE
The scan being requested to start is already running.
SCAN_ALREADY_RUNNING = 27;
public static final int SCAN_NOT_RUNNING_VALUE
The scan that was requested to be stopped is not running.
SCAN_NOT_RUNNING = 28;
public static final int 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;
public static final int SEED_URL_MALFORMED_VALUE
One of the seed URLs is malformed (can not be parsed).
SEED_URL_MALFORMED = 30;
public static final int 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;
public static final int 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;
public static final int 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;
public static final int 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;
public static final int SERVICE_ACCOUNT_NOT_CONFIGURED_VALUE
The Cloud Security Scanner service account is not configured under the project.
SERVICE_ACCOUNT_NOT_CONFIGURED = 36;
public static final int TOO_MANY_SCANS_VALUE
A project has reached the maximum number of scans.
TOO_MANY_SCANS = 37;
public static final int UNABLE_TO_RESOLVE_PROJECT_INFO_VALUE
Resolving the details of the current project fails.
UNABLE_TO_RESOLVE_PROJECT_INFO = 38;
public static final int UNSUPPORTED_BLACKLIST_PATTERN_FORMAT_VALUE
One or more blacklist patterns were in the wrong format.
UNSUPPORTED_BLACKLIST_PATTERN_FORMAT = 39;
public static final int UNSUPPORTED_FILTER_VALUE
The supplied filter is not supported.
UNSUPPORTED_FILTER = 40;
public static final int 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;
public static final int UNSUPPORTED_URL_SCHEME_VALUE
The URL scheme of one or more of the supplied URLs is not supported.
UNSUPPORTED_URL_SCHEME = 42;
public static ScanConfigError.Code[] values()
for (ScanConfigError.Code c : ScanConfigError.Code.values()) System.out.println(c);
public static ScanConfigError.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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static ScanConfigError.Code valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static ScanConfigError.Code forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<ScanConfigError.Code> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static ScanConfigError.Code valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.