public static enum ScanRunWarningTrace.Code extends Enum<ScanRunWarningTrace.Code> implements ProtocolMessageEnum
Output only. Defines a warning message code. Next id: 6Protobuf enum
google.cloud.websecurityscanner.v1.ScanRunWarningTrace.Code
Enum Constant and Description |
---|
BLOCKED_BY_IAP
Indicates that a scan is blocked by IAP.
|
CODE_UNSPECIFIED
Default value is never used.
|
INSUFFICIENT_CRAWL_RESULTS
Indicates that a scan discovered an unexpectedly low number of URLs.
|
NO_STARTING_URL_FOUND_FOR_MANAGED_SCAN
Indicates that no seeds is found for a scan
|
TOO_MANY_CRAWL_RESULTS
Indicates that a scan discovered too many URLs to test, or excessive
redundant URLs.
|
TOO_MANY_FUZZ_TASKS
Indicates that too many tests have been generated for the scan.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
BLOCKED_BY_IAP_VALUE
Indicates that a scan is blocked by IAP.
|
static int |
CODE_UNSPECIFIED_VALUE
Default value is never used.
|
static int |
INSUFFICIENT_CRAWL_RESULTS_VALUE
Indicates that a scan discovered an unexpectedly low number of URLs.
|
static int |
NO_STARTING_URL_FOUND_FOR_MANAGED_SCAN_VALUE
Indicates that no seeds is found for a scan
|
static int |
TOO_MANY_CRAWL_RESULTS_VALUE
Indicates that a scan discovered too many URLs to test, or excessive
redundant URLs.
|
static int |
TOO_MANY_FUZZ_TASKS_VALUE
Indicates that too many tests have been generated for the scan.
|
Modifier and Type | Method and Description |
---|---|
static ScanRunWarningTrace.Code |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<ScanRunWarningTrace.Code> |
internalGetValueMap() |
static ScanRunWarningTrace.Code |
valueOf(Descriptors.EnumValueDescriptor desc) |
static ScanRunWarningTrace.Code |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ScanRunWarningTrace.Code |
valueOf(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.
|
public static final ScanRunWarningTrace.Code CODE_UNSPECIFIED
Default value is never used.
CODE_UNSPECIFIED = 0;
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;
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;
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;
public static final ScanRunWarningTrace.Code BLOCKED_BY_IAP
Indicates that a scan is blocked by IAP.
BLOCKED_BY_IAP = 4;
public static final ScanRunWarningTrace.Code NO_STARTING_URL_FOUND_FOR_MANAGED_SCAN
Indicates that no seeds is found for a scan
NO_STARTING_URL_FOUND_FOR_MANAGED_SCAN = 5;
public static final ScanRunWarningTrace.Code UNRECOGNIZED
public static final int CODE_UNSPECIFIED_VALUE
Default value is never used.
CODE_UNSPECIFIED = 0;
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;
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;
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;
public static final int BLOCKED_BY_IAP_VALUE
Indicates that a scan is blocked by IAP.
BLOCKED_BY_IAP = 4;
public static final int NO_STARTING_URL_FOUND_FOR_MANAGED_SCAN_VALUE
Indicates that no seeds is found for a scan
NO_STARTING_URL_FOUND_FOR_MANAGED_SCAN = 5;
public static ScanRunWarningTrace.Code[] values()
for (ScanRunWarningTrace.Code c : ScanRunWarningTrace.Code.values()) System.out.println(c);
public static ScanRunWarningTrace.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 ScanRunWarningTrace.Code valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static ScanRunWarningTrace.Code forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<ScanRunWarningTrace.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 ScanRunWarningTrace.Code valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.