Interface ScanRunErrorTraceOrBuilder (2.13.0)

public interface ScanRunErrorTraceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCode()

public abstract ScanRunErrorTrace.Code getCode()

Indicates the error reason code.

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

Returns
TypeDescription
ScanRunErrorTrace.Code

The code.

getCodeValue()

public abstract int getCodeValue()

Indicates the error reason code.

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

Returns
TypeDescription
int

The enum numeric value on the wire for code.

getMostCommonHttpErrorCode()

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

The mostCommonHttpErrorCode.

getScanConfigError()

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

The scanConfigError.

getScanConfigErrorOrBuilder()

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

Returns
TypeDescription
ScanConfigErrorOrBuilder

hasScanConfigError()

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

Whether the scanConfigError field is set.