public static final class ScanRunErrorTrace.Builder extends GeneratedMessage.Builder<ScanRunErrorTrace.Builder> implements ScanRunErrorTraceOrBuilderOutput only. Defines an error trace message for a ScanRun.
Protobuf type google.cloud.websecurityscanner.v1.ScanRunErrorTrace
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ScanRunErrorTrace.BuilderImplements
ScanRunErrorTraceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ScanRunErrorTrace build()| Returns | |
|---|---|
| Type | Description |
ScanRunErrorTrace |
|
buildPartial()
public ScanRunErrorTrace buildPartial()| Returns | |
|---|---|
| Type | Description |
ScanRunErrorTrace |
|
clear()
public ScanRunErrorTrace.Builder clear()| Returns | |
|---|---|
| Type | Description |
ScanRunErrorTrace.Builder |
|
clearCode()
public ScanRunErrorTrace.Builder clearCode()Output only. Indicates the error reason code.
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace.Code code = 1;
| Returns | |
|---|---|
| Type | Description |
ScanRunErrorTrace.Builder |
This builder for chaining. |
clearMostCommonHttpErrorCode()
public ScanRunErrorTrace.Builder clearMostCommonHttpErrorCode()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 | |
|---|---|
| Type | Description |
ScanRunErrorTrace.Builder |
This builder for chaining. |
clearScanConfigError()
public ScanRunErrorTrace.Builder clearScanConfigError()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 | |
|---|---|
| Type | Description |
ScanRunErrorTrace.Builder |
|
getCode()
public ScanRunErrorTrace.Code getCode()Output only. Indicates the error reason code.
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace.Code code = 1;
| Returns | |
|---|---|
| Type | Description |
ScanRunErrorTrace.Code |
The code. |
getCodeValue()
public int getCodeValue()Output only. Indicates the error reason code.
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace.Code code = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for code. |
getDefaultInstanceForType()
public ScanRunErrorTrace getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ScanRunErrorTrace |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMostCommonHttpErrorCode()
public 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 | |
|---|---|
| Type | Description |
int |
The mostCommonHttpErrorCode. |
getScanConfigError()
public 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 | |
|---|---|
| Type | Description |
ScanConfigError |
The scanConfigError. |
getScanConfigErrorBuilder()
public ScanConfigError.Builder getScanConfigErrorBuilder()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 | |
|---|---|
| Type | Description |
ScanConfigError.Builder |
|
getScanConfigErrorOrBuilder()
public 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 | |
|---|---|
| Type | Description |
ScanConfigErrorOrBuilder |
|
hasScanConfigError()
public 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 | |
|---|---|
| Type | Description |
boolean |
Whether the scanConfigError field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ScanRunErrorTrace other)
public ScanRunErrorTrace.Builder mergeFrom(ScanRunErrorTrace other)| Parameter | |
|---|---|
| Name | Description |
other |
ScanRunErrorTrace |
| Returns | |
|---|---|
| Type | Description |
ScanRunErrorTrace.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ScanRunErrorTrace.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ScanRunErrorTrace.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ScanRunErrorTrace.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ScanRunErrorTrace.Builder |
|
mergeScanConfigError(ScanConfigError value)
public ScanRunErrorTrace.Builder mergeScanConfigError(ScanConfigError value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ScanConfigError |
| Returns | |
|---|---|
| Type | Description |
ScanRunErrorTrace.Builder |
|
setCode(ScanRunErrorTrace.Code value)
public ScanRunErrorTrace.Builder setCode(ScanRunErrorTrace.Code value)Output only. Indicates the error reason code.
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace.Code code = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ScanRunErrorTrace.CodeThe code to set. |
| Returns | |
|---|---|
| Type | Description |
ScanRunErrorTrace.Builder |
This builder for chaining. |
setCodeValue(int value)
public ScanRunErrorTrace.Builder setCodeValue(int value)Output only. Indicates the error reason code.
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace.Code code = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for code to set. |
| Returns | |
|---|---|
| Type | Description |
ScanRunErrorTrace.Builder |
This builder for chaining. |
setMostCommonHttpErrorCode(int value)
public ScanRunErrorTrace.Builder setMostCommonHttpErrorCode(int value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe mostCommonHttpErrorCode to set. |
| Returns | |
|---|---|
| Type | Description |
ScanRunErrorTrace.Builder |
This builder for chaining. |
setScanConfigError(ScanConfigError value)
public ScanRunErrorTrace.Builder setScanConfigError(ScanConfigError value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ScanConfigError |
| Returns | |
|---|---|
| Type | Description |
ScanRunErrorTrace.Builder |
|
setScanConfigError(ScanConfigError.Builder builderForValue)
public ScanRunErrorTrace.Builder setScanConfigError(ScanConfigError.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ScanConfigError.Builder |
| Returns | |
|---|---|
| Type | Description |
ScanRunErrorTrace.Builder |
|