Interface ScanRunErrorTraceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ScanRunErrorTrace,ScanRunErrorTrace.Builder
public interface ScanRunErrorTraceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScanRunErrorTrace.CodegetCode()Indicates the error reason code.intgetCodeValue()Indicates the error reason code.intgetMostCommonHttpErrorCode()If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most common HTTP error code, if such is available.ScanConfigErrorgetScanConfigError()If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error message encountered during scan configuration validation that is performed before each scan run.ScanConfigErrorOrBuildergetScanConfigErrorOrBuilder()If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error message encountered during scan configuration validation that is performed before each scan run.booleanhasScanConfigError()If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error message encountered during scan configuration validation that is performed before each scan run.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCodeValue
int getCodeValue()
Indicates the error reason code.
.google.cloud.websecurityscanner.v1beta.ScanRunErrorTrace.Code code = 1;- Returns:
- The enum numeric value on the wire for code.
-
getCode
ScanRunErrorTrace.Code getCode()
Indicates the error reason code.
.google.cloud.websecurityscanner.v1beta.ScanRunErrorTrace.Code code = 1;- Returns:
- The code.
-
hasScanConfigError
boolean hasScanConfigError()
If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error message encountered during scan configuration validation that is performed before each scan run.
.google.cloud.websecurityscanner.v1beta.ScanConfigError scan_config_error = 2;- Returns:
- Whether the scanConfigError field is set.
-
getScanConfigError
ScanConfigError getScanConfigError()
If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error message encountered during scan configuration validation that is performed before each scan run.
.google.cloud.websecurityscanner.v1beta.ScanConfigError scan_config_error = 2;- Returns:
- The scanConfigError.
-
getScanConfigErrorOrBuilder
ScanConfigErrorOrBuilder getScanConfigErrorOrBuilder()
If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error message encountered during scan configuration validation that is performed before each scan run.
.google.cloud.websecurityscanner.v1beta.ScanConfigError scan_config_error = 2;
-
getMostCommonHttpErrorCode
int getMostCommonHttpErrorCode()
If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most common HTTP error code, if such is available. For example, if this code is 404, the scan has encountered too many NOT_FOUND responses.
int32 most_common_http_error_code = 3;- Returns:
- The mostCommonHttpErrorCode.
-
-