Enum ScanRunErrorTrace.Code
- java.lang.Object
-
- java.lang.Enum<ScanRunErrorTrace.Code>
-
- com.google.cloud.websecurityscanner.v1beta.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: 7
Protobuf enumgoogle.cloud.websecurityscanner.v1beta.ScanRunErrorTrace.Code
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHENTICATION_CONFIG_ISSUEIndicates an authentication error, usually due to outdated ScanConfig authentication settings.CODE_UNSPECIFIEDDefault value is never used.INTERNAL_ERRORIndicates that the scan run failed due to an internal server error.SCAN_CONFIG_ISSUEIndicates a scan configuration error, usually due to outdated ScanConfig settings, such as starting_urls or the DNS configuration.TIMED_OUT_WHILE_SCANNINGIndicates a scan operation timeout, usually caused by a very large site.TOO_MANY_HTTP_ERRORSIndicates that a scan encountered numerous errors from the web site pages.TOO_MANY_REDIRECTSIndicates 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 intAUTHENTICATION_CONFIG_ISSUE_VALUEIndicates an authentication error, usually due to outdated ScanConfig authentication settings.static intCODE_UNSPECIFIED_VALUEDefault value is never used.static intINTERNAL_ERROR_VALUEIndicates that the scan run failed due to an internal server error.static intSCAN_CONFIG_ISSUE_VALUEIndicates a scan configuration error, usually due to outdated ScanConfig settings, such as starting_urls or the DNS configuration.static intTIMED_OUT_WHILE_SCANNING_VALUEIndicates a scan operation timeout, usually caused by a very large site.static intTOO_MANY_HTTP_ERRORS_VALUEIndicates that a scan encountered numerous errors from the web site pages.static intTOO_MANY_REDIRECTS_VALUEIndicates 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.CodeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<ScanRunErrorTrace.Code>internalGetValueMap()static ScanRunErrorTrace.CodevalueOf(int value)Deprecated.static ScanRunErrorTrace.CodevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ScanRunErrorTrace.CodevalueOf(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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein 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
-
-