Enum ScanRunWarningTrace.Code
- java.lang.Object
-
- java.lang.Enum<ScanRunWarningTrace.Code>
-
- com.google.cloud.websecurityscanner.v1beta.ScanRunWarningTrace.Code
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ScanRunWarningTrace.Code>
- Enclosing class:
- ScanRunWarningTrace
public static enum ScanRunWarningTrace.Code extends Enum<ScanRunWarningTrace.Code> implements com.google.protobuf.ProtocolMessageEnum
Output only. Defines a warning message code. Next id: 6
Protobuf enumgoogle.cloud.websecurityscanner.v1beta.ScanRunWarningTrace.Code
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLOCKED_BY_IAPIndicates that a scan is blocked by IAP.CODE_UNSPECIFIEDDefault value is never used.INSUFFICIENT_CRAWL_RESULTSIndicates that a scan discovered an unexpectedly low number of URLs.TOO_MANY_CRAWL_RESULTSIndicates that a scan discovered too many URLs to test, or excessive redundant URLs.TOO_MANY_FUZZ_TASKSIndicates that too many tests have been generated for the scan.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intBLOCKED_BY_IAP_VALUEIndicates that a scan is blocked by IAP.static intCODE_UNSPECIFIED_VALUEDefault value is never used.static intINSUFFICIENT_CRAWL_RESULTS_VALUEIndicates that a scan discovered an unexpectedly low number of URLs.static intTOO_MANY_CRAWL_RESULTS_VALUEIndicates that a scan discovered too many URLs to test, or excessive redundant URLs.static intTOO_MANY_FUZZ_TASKS_VALUEIndicates that too many tests have been generated for the scan.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ScanRunWarningTrace.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<ScanRunWarningTrace.Code>internalGetValueMap()static ScanRunWarningTrace.CodevalueOf(int value)Deprecated.static ScanRunWarningTrace.CodevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ScanRunWarningTrace.CodevalueOf(String name)Returns the enum constant of this type with the specified name.static ScanRunWarningTrace.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 ScanRunWarningTrace.Code CODE_UNSPECIFIED
Default value is never used.
CODE_UNSPECIFIED = 0;
-
INSUFFICIENT_CRAWL_RESULTS
public static final ScanRunWarningTrace.Code INSUFFICIENT_CRAWL_RESULTS
Indicates that a scan discovered an unexpectedly low number of URLs. This is sometimes caused by complex navigation features or by using a single URL for numerous pages.
INSUFFICIENT_CRAWL_RESULTS = 1;
-
TOO_MANY_CRAWL_RESULTS
public static final ScanRunWarningTrace.Code TOO_MANY_CRAWL_RESULTS
Indicates that a scan discovered too many URLs to test, or excessive redundant URLs.
TOO_MANY_CRAWL_RESULTS = 2;
-
TOO_MANY_FUZZ_TASKS
public static final ScanRunWarningTrace.Code TOO_MANY_FUZZ_TASKS
Indicates that too many tests have been generated for the scan. Customer should try reducing the number of starting URLs, increasing the QPS rate, or narrowing down the scope of the scan using the excluded patterns.
TOO_MANY_FUZZ_TASKS = 3;
-
BLOCKED_BY_IAP
public static final ScanRunWarningTrace.Code BLOCKED_BY_IAP
Indicates that a scan is blocked by IAP.
BLOCKED_BY_IAP = 4;
-
UNRECOGNIZED
public static final ScanRunWarningTrace.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
-
INSUFFICIENT_CRAWL_RESULTS_VALUE
public static final int INSUFFICIENT_CRAWL_RESULTS_VALUE
Indicates that a scan discovered an unexpectedly low number of URLs. This is sometimes caused by complex navigation features or by using a single URL for numerous pages.
INSUFFICIENT_CRAWL_RESULTS = 1;- See Also:
- Constant Field Values
-
TOO_MANY_CRAWL_RESULTS_VALUE
public static final int TOO_MANY_CRAWL_RESULTS_VALUE
Indicates that a scan discovered too many URLs to test, or excessive redundant URLs.
TOO_MANY_CRAWL_RESULTS = 2;- See Also:
- Constant Field Values
-
TOO_MANY_FUZZ_TASKS_VALUE
public static final int TOO_MANY_FUZZ_TASKS_VALUE
Indicates that too many tests have been generated for the scan. Customer should try reducing the number of starting URLs, increasing the QPS rate, or narrowing down the scope of the scan using the excluded patterns.
TOO_MANY_FUZZ_TASKS = 3;- See Also:
- Constant Field Values
-
BLOCKED_BY_IAP_VALUE
public static final int BLOCKED_BY_IAP_VALUE
Indicates that a scan is blocked by IAP.
BLOCKED_BY_IAP = 4;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ScanRunWarningTrace.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 (ScanRunWarningTrace.Code c : ScanRunWarningTrace.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 ScanRunWarningTrace.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 ScanRunWarningTrace.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 ScanRunWarningTrace.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<ScanRunWarningTrace.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 ScanRunWarningTrace.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
-
-