Enum ScanConfigError.Code
- java.lang.Object
-
- java.lang.Enum<ScanConfigError.Code>
-
- com.google.cloud.websecurityscanner.v1.ScanConfigError.Code
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<ScanConfigError.Code>
- Enclosing class:
- ScanConfigError
public static enum ScanConfigError.Code extends Enum<ScanConfigError.Code> implements com.google.protobuf.ProtocolMessageEnum
Output only. Defines an error reason code. Next id: 44
Protobuf enumgoogle.cloud.websecurityscanner.v1.ScanConfigError.Code
-
-
Enum Constant Summary
Enum Constants Enum Constant 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 scanINTERNAL_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 Web 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.
-
Field Summary
Fields Modifier and Type Field 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 scanstatic 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 Web 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ScanConfigError.Code
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<ScanConfigError.Code>
internalGetValueMap()
static ScanConfigError.Code
valueOf(int value)
Deprecated.static ScanConfigError.Code
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.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.
-
-
-
Enum Constant Detail
-
CODE_UNSPECIFIED
public static final ScanConfigError.Code CODE_UNSPECIFIED
There is no error.
CODE_UNSPECIFIED = 0;
-
INTERNAL_ERROR
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;
-
APPENGINE_API_BACKEND_ERROR
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;
-
APPENGINE_API_NOT_ACCESSIBLE
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;
-
APPENGINE_DEFAULT_HOST_MISSING
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;
-
CANNOT_USE_GOOGLE_COM_ACCOUNT
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;
-
CANNOT_USE_OWNER_ACCOUNT
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;
-
COMPUTE_API_BACKEND_ERROR
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;
-
COMPUTE_API_NOT_ACCESSIBLE
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;
-
CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT
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;
-
CUSTOM_LOGIN_URL_MALFORMED
public static final ScanConfigError.Code CUSTOM_LOGIN_URL_MALFORMED
The Custom Login URL is malformed (can not be parsed).
CUSTOM_LOGIN_URL_MALFORMED = 11;
-
CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS
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;
-
CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS
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;
-
CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS
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;
-
CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS
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;
-
DUPLICATE_SCAN_NAME
public static final ScanConfigError.Code DUPLICATE_SCAN_NAME
Another scan with the same name (case-sensitive) already exists.
DUPLICATE_SCAN_NAME = 16;
-
INVALID_FIELD_VALUE
public static final ScanConfigError.Code INVALID_FIELD_VALUE
A field is set to an invalid value.
INVALID_FIELD_VALUE = 18;
-
FAILED_TO_AUTHENTICATE_TO_TARGET
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;
-
FINDING_TYPE_UNSPECIFIED
public static final ScanConfigError.Code FINDING_TYPE_UNSPECIFIED
Finding type value is not specified in the list findings request.
FINDING_TYPE_UNSPECIFIED = 20;
-
FORBIDDEN_TO_SCAN_COMPUTE
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;
-
FORBIDDEN_UPDATE_TO_MANAGED_SCAN
public static final ScanConfigError.Code FORBIDDEN_UPDATE_TO_MANAGED_SCAN
User tries to update managed scan
FORBIDDEN_UPDATE_TO_MANAGED_SCAN = 43;
-
MALFORMED_FILTER
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;
-
MALFORMED_RESOURCE_NAME
public static final ScanConfigError.Code MALFORMED_RESOURCE_NAME
The supplied resource name is malformed (can not be parsed).
MALFORMED_RESOURCE_NAME = 23;
-
PROJECT_INACTIVE
public static final ScanConfigError.Code PROJECT_INACTIVE
The current project is not in an active state.
PROJECT_INACTIVE = 24;
-
REQUIRED_FIELD
public static final ScanConfigError.Code REQUIRED_FIELD
A required field is not set.
REQUIRED_FIELD = 25;
-
RESOURCE_NAME_INCONSISTENT
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;
-
SCAN_ALREADY_RUNNING
public static final ScanConfigError.Code SCAN_ALREADY_RUNNING
The scan being requested to start is already running.
SCAN_ALREADY_RUNNING = 27;
-
SCAN_NOT_RUNNING
public static final ScanConfigError.Code SCAN_NOT_RUNNING
The scan that was requested to be stopped is not running.
SCAN_NOT_RUNNING = 28;
-
SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT
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;
-
SEED_URL_MALFORMED
public static final ScanConfigError.Code SEED_URL_MALFORMED
One of the seed URLs is malformed (can not be parsed).
SEED_URL_MALFORMED = 30;
-
SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS
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;
-
SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS
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;
-
SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS
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;
-
SEED_URL_HAS_UNRESERVED_IP_ADDRESS
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;
-
SERVICE_ACCOUNT_NOT_CONFIGURED
public static final ScanConfigError.Code SERVICE_ACCOUNT_NOT_CONFIGURED
The Web Security Scanner service account is not configured under the project.
SERVICE_ACCOUNT_NOT_CONFIGURED = 36;
-
TOO_MANY_SCANS
public static final ScanConfigError.Code TOO_MANY_SCANS
A project has reached the maximum number of scans.
TOO_MANY_SCANS = 37;
-
UNABLE_TO_RESOLVE_PROJECT_INFO
public static final ScanConfigError.Code UNABLE_TO_RESOLVE_PROJECT_INFO
Resolving the details of the current project fails.
UNABLE_TO_RESOLVE_PROJECT_INFO = 38;
-
UNSUPPORTED_BLACKLIST_PATTERN_FORMAT
public static final ScanConfigError.Code UNSUPPORTED_BLACKLIST_PATTERN_FORMAT
One or more blacklist patterns were in the wrong format.
UNSUPPORTED_BLACKLIST_PATTERN_FORMAT = 39;
-
UNSUPPORTED_FILTER
public static final ScanConfigError.Code UNSUPPORTED_FILTER
The supplied filter is not supported.
UNSUPPORTED_FILTER = 40;
-
UNSUPPORTED_FINDING_TYPE
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;
-
UNSUPPORTED_URL_SCHEME
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;
-
UNRECOGNIZED
public static final ScanConfigError.Code UNRECOGNIZED
-
-
Field Detail
-
OK
public static final ScanConfigError.Code OK
There is no error.
OK = 0;
-
CODE_UNSPECIFIED_VALUE
public static final int CODE_UNSPECIFIED_VALUE
There is no error.
CODE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
OK_VALUE
public static final int OK_VALUE
There is no error.
OK = 0;
- See Also:
- Constant Field Values
-
INTERNAL_ERROR_VALUE
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;
- See Also:
- Constant Field Values
-
APPENGINE_API_BACKEND_ERROR_VALUE
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;
- See Also:
- Constant Field Values
-
APPENGINE_API_NOT_ACCESSIBLE_VALUE
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;
- See Also:
- Constant Field Values
-
APPENGINE_DEFAULT_HOST_MISSING_VALUE
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;
- See Also:
- Constant Field Values
-
CANNOT_USE_GOOGLE_COM_ACCOUNT_VALUE
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;
- See Also:
- Constant Field Values
-
CANNOT_USE_OWNER_ACCOUNT_VALUE
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;
- See Also:
- Constant Field Values
-
COMPUTE_API_BACKEND_ERROR_VALUE
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;
- See Also:
- Constant Field Values
-
COMPUTE_API_NOT_ACCESSIBLE_VALUE
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;
- See Also:
- Constant Field Values
-
CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT_VALUE
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;
- See Also:
- Constant Field Values
-
CUSTOM_LOGIN_URL_MALFORMED_VALUE
public static final int CUSTOM_LOGIN_URL_MALFORMED_VALUE
The Custom Login URL is malformed (can not be parsed).
CUSTOM_LOGIN_URL_MALFORMED = 11;
- See Also:
- Constant Field Values
-
CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS_VALUE
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;
- See Also:
- Constant Field Values
-
CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS_VALUE
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;
- See Also:
- Constant Field Values
-
CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS_VALUE
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;
- See Also:
- Constant Field Values
-
CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS_VALUE
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;
- See Also:
- Constant Field Values
-
DUPLICATE_SCAN_NAME_VALUE
public static final int DUPLICATE_SCAN_NAME_VALUE
Another scan with the same name (case-sensitive) already exists.
DUPLICATE_SCAN_NAME = 16;
- See Also:
- Constant Field Values
-
INVALID_FIELD_VALUE_VALUE
public static final int INVALID_FIELD_VALUE_VALUE
A field is set to an invalid value.
INVALID_FIELD_VALUE = 18;
- See Also:
- Constant Field Values
-
FAILED_TO_AUTHENTICATE_TO_TARGET_VALUE
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;
- See Also:
- Constant Field Values
-
FINDING_TYPE_UNSPECIFIED_VALUE
public static final int FINDING_TYPE_UNSPECIFIED_VALUE
Finding type value is not specified in the list findings request.
FINDING_TYPE_UNSPECIFIED = 20;
- See Also:
- Constant Field Values
-
FORBIDDEN_TO_SCAN_COMPUTE_VALUE
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;
- See Also:
- Constant Field Values
-
FORBIDDEN_UPDATE_TO_MANAGED_SCAN_VALUE
public static final int FORBIDDEN_UPDATE_TO_MANAGED_SCAN_VALUE
User tries to update managed scan
FORBIDDEN_UPDATE_TO_MANAGED_SCAN = 43;
- See Also:
- Constant Field Values
-
MALFORMED_FILTER_VALUE
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;
- See Also:
- Constant Field Values
-
MALFORMED_RESOURCE_NAME_VALUE
public static final int MALFORMED_RESOURCE_NAME_VALUE
The supplied resource name is malformed (can not be parsed).
MALFORMED_RESOURCE_NAME = 23;
- See Also:
- Constant Field Values
-
PROJECT_INACTIVE_VALUE
public static final int PROJECT_INACTIVE_VALUE
The current project is not in an active state.
PROJECT_INACTIVE = 24;
- See Also:
- Constant Field Values
-
REQUIRED_FIELD_VALUE
public static final int REQUIRED_FIELD_VALUE
A required field is not set.
REQUIRED_FIELD = 25;
- See Also:
- Constant Field Values
-
RESOURCE_NAME_INCONSISTENT_VALUE
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;
- See Also:
- Constant Field Values
-
SCAN_ALREADY_RUNNING_VALUE
public static final int SCAN_ALREADY_RUNNING_VALUE
The scan being requested to start is already running.
SCAN_ALREADY_RUNNING = 27;
- See Also:
- Constant Field Values
-
SCAN_NOT_RUNNING_VALUE
public static final int SCAN_NOT_RUNNING_VALUE
The scan that was requested to be stopped is not running.
SCAN_NOT_RUNNING = 28;
- See Also:
- Constant Field Values
-
SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT_VALUE
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;
- See Also:
- Constant Field Values
-
SEED_URL_MALFORMED_VALUE
public static final int SEED_URL_MALFORMED_VALUE
One of the seed URLs is malformed (can not be parsed).
SEED_URL_MALFORMED = 30;
- See Also:
- Constant Field Values
-
SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS_VALUE
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;
- See Also:
- Constant Field Values
-
SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS_VALUE
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;
- See Also:
- Constant Field Values
-
SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS_VALUE
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;
- See Also:
- Constant Field Values
-
SEED_URL_HAS_UNRESERVED_IP_ADDRESS_VALUE
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;
- See Also:
- Constant Field Values
-
SERVICE_ACCOUNT_NOT_CONFIGURED_VALUE
public static final int SERVICE_ACCOUNT_NOT_CONFIGURED_VALUE
The Web Security Scanner service account is not configured under the project.
SERVICE_ACCOUNT_NOT_CONFIGURED = 36;
- See Also:
- Constant Field Values
-
TOO_MANY_SCANS_VALUE
public static final int TOO_MANY_SCANS_VALUE
A project has reached the maximum number of scans.
TOO_MANY_SCANS = 37;
- See Also:
- Constant Field Values
-
UNABLE_TO_RESOLVE_PROJECT_INFO_VALUE
public static final int UNABLE_TO_RESOLVE_PROJECT_INFO_VALUE
Resolving the details of the current project fails.
UNABLE_TO_RESOLVE_PROJECT_INFO = 38;
- See Also:
- Constant Field Values
-
UNSUPPORTED_BLACKLIST_PATTERN_FORMAT_VALUE
public static final int UNSUPPORTED_BLACKLIST_PATTERN_FORMAT_VALUE
One or more blacklist patterns were in the wrong format.
UNSUPPORTED_BLACKLIST_PATTERN_FORMAT = 39;
- See Also:
- Constant Field Values
-
UNSUPPORTED_FILTER_VALUE
public static final int UNSUPPORTED_FILTER_VALUE
The supplied filter is not supported.
UNSUPPORTED_FILTER = 40;
- See Also:
- Constant Field Values
-
UNSUPPORTED_FINDING_TYPE_VALUE
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;
- See Also:
- Constant Field Values
-
UNSUPPORTED_URL_SCHEME_VALUE
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;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ScanConfigError.Code[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ScanConfigError.Code c : ScanConfigError.Code.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ScanConfigError.Code valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ScanConfigError.Code valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static ScanConfigError.Code forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<ScanConfigError.Code> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static ScanConfigError.Code valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-