Enum ScanRunErrorTrace.Code
- java.lang.Object
-
- java.lang.Enum<ScanRunErrorTrace.Code>
-
- com.google.cloud.websecurityscanner.v1.ScanRunErrorTrace.Code
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<ScanRunErrorTrace.Code>
- Enclosing class:
- ScanRunErrorTrace
public static enum ScanRunErrorTrace.Code extends Enum<ScanRunErrorTrace.Code> implements com.google.protobuf.ProtocolMessageEnum
Output only. Defines an error reason code. Next id: 8
Protobuf enumgoogle.cloud.websecurityscanner.v1.ScanRunErrorTrace.Code
-
-
Enum Constant Summary
Enum Constants Enum Constant 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
-
Field Summary
Fields Modifier and Type Field 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ScanRunErrorTrace.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<ScanRunErrorTrace.Code>
internalGetValueMap()
static ScanRunErrorTrace.Code
valueOf(int value)
Deprecated.static ScanRunErrorTrace.Code
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.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.
-
-
-
Enum Constant Detail
-
CODE_UNSPECIFIED
public static final ScanRunErrorTrace.Code CODE_UNSPECIFIED
Default value is never used.
CODE_UNSPECIFIED = 0;
-
INTERNAL_ERROR
public static final ScanRunErrorTrace.Code INTERNAL_ERROR
Indicates that the scan run failed due to an internal server error.
INTERNAL_ERROR = 1;
-
SCAN_CONFIG_ISSUE
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;
-
AUTHENTICATION_CONFIG_ISSUE
public static final ScanRunErrorTrace.Code AUTHENTICATION_CONFIG_ISSUE
Indicates an authentication error, usually due to outdated ScanConfig authentication settings.
AUTHENTICATION_CONFIG_ISSUE = 3;
-
TIMED_OUT_WHILE_SCANNING
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;
-
TOO_MANY_REDIRECTS
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;
-
TOO_MANY_HTTP_ERRORS
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;
-
UNRECOGNIZED
public static final ScanRunErrorTrace.Code UNRECOGNIZED
-
-
Field Detail
-
CODE_UNSPECIFIED_VALUE
public static final int CODE_UNSPECIFIED_VALUE
Default value is never used.
CODE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
INTERNAL_ERROR_VALUE
public static final int INTERNAL_ERROR_VALUE
Indicates that the scan run failed due to an internal server error.
INTERNAL_ERROR = 1;
- See Also:
- Constant Field Values
-
SCAN_CONFIG_ISSUE_VALUE
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;
- See Also:
- Constant Field Values
-
AUTHENTICATION_CONFIG_ISSUE_VALUE
public static final int AUTHENTICATION_CONFIG_ISSUE_VALUE
Indicates an authentication error, usually due to outdated ScanConfig authentication settings.
AUTHENTICATION_CONFIG_ISSUE = 3;
- See Also:
- Constant Field Values
-
TIMED_OUT_WHILE_SCANNING_VALUE
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;
- See Also:
- Constant Field Values
-
TOO_MANY_REDIRECTS_VALUE
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;
- See Also:
- Constant Field Values
-
TOO_MANY_HTTP_ERRORS_VALUE
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;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ScanRunErrorTrace.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 (ScanRunErrorTrace.Code c : ScanRunErrorTrace.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 ScanRunErrorTrace.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 ScanRunErrorTrace.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 ScanRunErrorTrace.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<ScanRunErrorTrace.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 ScanRunErrorTrace.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
-
-