Interface ScanRunErrorTraceOrBuilder (2.15.0)

public interface ScanRunErrorTraceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCode()

public abstract ScanRunErrorTrace.Code getCode()

Output only. Indicates the error reason code.

.google.cloud.websecurityscanner.v1.ScanRunErrorTrace.Code code = 1;

Returns
TypeDescription
ScanRunErrorTrace.Code

The code.

getCodeValue()

public abstract int getCodeValue()

Output only. Indicates the error reason code.

.google.cloud.websecurityscanner.v1.ScanRunErrorTrace.Code code = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for code.

getMostCommonHttpErrorCode()

public abstract 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
TypeDescription
int

The mostCommonHttpErrorCode.

getScanConfigError()

public abstract 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
TypeDescription
ScanConfigError

The scanConfigError.

getScanConfigErrorOrBuilder()

public abstract 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;

Returns
TypeDescription
ScanConfigErrorOrBuilder

hasScanConfigError()

public abstract 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
TypeDescription
boolean

Whether the scanConfigError field is set.