Interface ScanRunErrorTraceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ScanRunErrorTrace,ScanRunErrorTrace.Builder
@Generated
public interface ScanRunErrorTraceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()Indicates the error reason code.intIndicates the error reason code.intIf the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most common HTTP error code, if such is available.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.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.booleanIf 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.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-