public static final class ScanRunErrorTrace.Builder extends GeneratedMessageV3.Builder<ScanRunErrorTrace.Builder> implements ScanRunErrorTraceOrBuilder
Output only.
Defines an error trace message for a ScanRun.
Protobuf type google.cloud.websecurityscanner.v1.ScanRunErrorTrace
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ScanRunErrorTrace.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ScanRunErrorTrace build()
buildPartial()
public ScanRunErrorTrace buildPartial()
clear()
public ScanRunErrorTrace.Builder clear()
Overrides
clearCode()
public ScanRunErrorTrace.Builder clearCode()
Output only. Indicates the error reason code.
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace.Code code = 1;
clearField(Descriptors.FieldDescriptor field)
public ScanRunErrorTrace.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ScanRunErrorTrace.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
clone()
public ScanRunErrorTrace.Builder clone()
Overrides
getCode()
public ScanRunErrorTrace.Code getCode()
Output only. Indicates the error reason code.
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace.Code code = 1;
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
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;
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;
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ScanRunErrorTrace other)
public ScanRunErrorTrace.Builder mergeFrom(ScanRunErrorTrace other)
public ScanRunErrorTrace.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ScanRunErrorTrace.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ScanRunErrorTrace.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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 | int
The enum numeric value on the wire for code to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ScanRunErrorTrace.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 | int
The mostCommonHttpErrorCode to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ScanRunErrorTrace.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final ScanRunErrorTrace.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides