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.Code
getCode()
Output only.int
getCodeValue()
Output only.int
getMostCommonHttpErrorCode()
Output only.ScanConfigError
getScanConfigError()
Output only.ScanConfigErrorOrBuilder
getScanConfigErrorOrBuilder()
Output only.boolean
hasScanConfigError()
Output only.-
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()
Output only. Indicates the error reason code.
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace.Code code = 1;
- Returns:
- The enum numeric value on the wire for code.
-
getCode
ScanRunErrorTrace.Code getCode()
Output only. Indicates the error reason code.
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace.Code code = 1;
- Returns:
- The code.
-
hasScanConfigError
boolean hasScanConfigError()
Output only. 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.v1.ScanConfigError scan_config_error = 2;
- Returns:
- Whether the scanConfigError field is set.
-
getScanConfigError
ScanConfigError getScanConfigError()
Output only. 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.v1.ScanConfigError scan_config_error = 2;
- Returns:
- The scanConfigError.
-
getScanConfigErrorOrBuilder
ScanConfigErrorOrBuilder getScanConfigErrorOrBuilder()
Output only. 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.v1.ScanConfigError scan_config_error = 2;
-
getMostCommonHttpErrorCode
int getMostCommonHttpErrorCode()
Output only. 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.
-
-