public static enum ScanRunErrorTrace.Code extends Enum<ScanRunErrorTrace.Code> implements ProtocolMessageEnum
Output only. Defines an error reason code. Next id: 7Protobuf enum
google.cloud.websecurityscanner.v1beta.ScanRunErrorTrace.Code
Enum Constant and Description |
---|
AUTHENTICATION_CONFIG_ISSUE
Indicates an authentication error, usually due to outdated ScanConfig
authentication settings.
|
CODE_UNSPECIFIED
Default value is never used.
|
INTERNAL_ERROR
Indicates that the scan run failed due to an internal server error.
|
SCAN_CONFIG_ISSUE
Indicates a scan configuration error, usually due to outdated ScanConfig
settings, such as starting_urls or the DNS configuration.
|
TIMED_OUT_WHILE_SCANNING
Indicates a scan operation timeout, usually caused by a very large site.
|
TOO_MANY_HTTP_ERRORS
Indicates that a scan encountered numerous errors from the web site
pages.
|
TOO_MANY_REDIRECTS
Indicates that a scan encountered excessive redirects, either to
authentication or some other page outside of the scan scope.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
AUTHENTICATION_CONFIG_ISSUE_VALUE
Indicates an authentication error, usually due to outdated ScanConfig
authentication settings.
|
static int |
CODE_UNSPECIFIED_VALUE
Default value is never used.
|
static int |
INTERNAL_ERROR_VALUE
Indicates that the scan run failed due to an internal server error.
|
static int |
SCAN_CONFIG_ISSUE_VALUE
Indicates a scan configuration error, usually due to outdated ScanConfig
settings, such as starting_urls or the DNS configuration.
|
static int |
TIMED_OUT_WHILE_SCANNING_VALUE
Indicates a scan operation timeout, usually caused by a very large site.
|
static int |
TOO_MANY_HTTP_ERRORS_VALUE
Indicates that a scan encountered numerous errors from the web site
pages.
|
static int |
TOO_MANY_REDIRECTS_VALUE
Indicates that a scan encountered excessive redirects, either to
authentication or some other page outside of the scan scope.
|
Modifier and Type | Method and Description |
---|---|
static ScanRunErrorTrace.Code |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<ScanRunErrorTrace.Code> |
internalGetValueMap() |
static ScanRunErrorTrace.Code |
valueOf(Descriptors.EnumValueDescriptor desc) |
static ScanRunErrorTrace.Code |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ScanRunErrorTrace.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScanRunErrorTrace.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScanRunErrorTrace.Code CODE_UNSPECIFIED
Default value is never used.
CODE_UNSPECIFIED = 0;
public static final ScanRunErrorTrace.Code INTERNAL_ERROR
Indicates that the scan run failed due to an internal server error.
INTERNAL_ERROR = 1;
public static final ScanRunErrorTrace.Code SCAN_CONFIG_ISSUE
Indicates a scan configuration error, usually due to outdated ScanConfig settings, such as starting_urls or the DNS configuration.
SCAN_CONFIG_ISSUE = 2;
public static final ScanRunErrorTrace.Code AUTHENTICATION_CONFIG_ISSUE
Indicates an authentication error, usually due to outdated ScanConfig authentication settings.
AUTHENTICATION_CONFIG_ISSUE = 3;
public static final ScanRunErrorTrace.Code TIMED_OUT_WHILE_SCANNING
Indicates a scan operation timeout, usually caused by a very large site.
TIMED_OUT_WHILE_SCANNING = 4;
public static final ScanRunErrorTrace.Code TOO_MANY_REDIRECTS
Indicates that a scan encountered excessive redirects, either to authentication or some other page outside of the scan scope.
TOO_MANY_REDIRECTS = 5;
public static final ScanRunErrorTrace.Code TOO_MANY_HTTP_ERRORS
Indicates that a scan encountered numerous errors from the web site pages. When available, most_common_http_error_code field indicates the most common HTTP error code encountered during the scan.
TOO_MANY_HTTP_ERRORS = 6;
public static final ScanRunErrorTrace.Code UNRECOGNIZED
public static final int CODE_UNSPECIFIED_VALUE
Default value is never used.
CODE_UNSPECIFIED = 0;
public static final int INTERNAL_ERROR_VALUE
Indicates that the scan run failed due to an internal server error.
INTERNAL_ERROR = 1;
public static final int SCAN_CONFIG_ISSUE_VALUE
Indicates a scan configuration error, usually due to outdated ScanConfig settings, such as starting_urls or the DNS configuration.
SCAN_CONFIG_ISSUE = 2;
public static final int AUTHENTICATION_CONFIG_ISSUE_VALUE
Indicates an authentication error, usually due to outdated ScanConfig authentication settings.
AUTHENTICATION_CONFIG_ISSUE = 3;
public static final int TIMED_OUT_WHILE_SCANNING_VALUE
Indicates a scan operation timeout, usually caused by a very large site.
TIMED_OUT_WHILE_SCANNING = 4;
public static final int TOO_MANY_REDIRECTS_VALUE
Indicates that a scan encountered excessive redirects, either to authentication or some other page outside of the scan scope.
TOO_MANY_REDIRECTS = 5;
public static final int TOO_MANY_HTTP_ERRORS_VALUE
Indicates that a scan encountered numerous errors from the web site pages. When available, most_common_http_error_code field indicates the most common HTTP error code encountered during the scan.
TOO_MANY_HTTP_ERRORS = 6;
public static ScanRunErrorTrace.Code[] values()
for (ScanRunErrorTrace.Code c : ScanRunErrorTrace.Code.values()) System.out.println(c);
public static ScanRunErrorTrace.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 ScanRunErrorTrace.Code valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static ScanRunErrorTrace.Code forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<ScanRunErrorTrace.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 ScanRunErrorTrace.Code valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.