Class ScanRunWarningTrace.Builder (2.85.0)

public static final class ScanRunWarningTrace.Builder extends GeneratedMessage.Builder<ScanRunWarningTrace.Builder> implements ScanRunWarningTraceOrBuilder

Output only. Defines a warning trace message for ScanRun. Warning traces provide customers with useful information that helps make the scanning process more effective.

Protobuf type google.cloud.websecurityscanner.v1.ScanRunWarningTrace

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ScanRunWarningTrace build()
Returns
Type Description
ScanRunWarningTrace

buildPartial()

public ScanRunWarningTrace buildPartial()
Returns
Type Description
ScanRunWarningTrace

clear()

public ScanRunWarningTrace.Builder clear()
Returns
Type Description
ScanRunWarningTrace.Builder
Overrides

clearCode()

public ScanRunWarningTrace.Builder clearCode()

Output only. Indicates the warning code.

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

Returns
Type Description
ScanRunWarningTrace.Builder

This builder for chaining.

getCode()

public ScanRunWarningTrace.Code getCode()

Output only. Indicates the warning code.

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

Returns
Type Description
ScanRunWarningTrace.Code

The code.

getCodeValue()

public int getCodeValue()

Output only. Indicates the warning code.

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

Returns
Type Description
int

The enum numeric value on the wire for code.

getDefaultInstanceForType()

public ScanRunWarningTrace getDefaultInstanceForType()
Returns
Type Description
ScanRunWarningTrace

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ScanRunWarningTrace other)

public ScanRunWarningTrace.Builder mergeFrom(ScanRunWarningTrace other)
Parameter
Name Description
other ScanRunWarningTrace
Returns
Type Description
ScanRunWarningTrace.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ScanRunWarningTrace.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ScanRunWarningTrace.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ScanRunWarningTrace.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ScanRunWarningTrace.Builder
Overrides

setCode(ScanRunWarningTrace.Code value)

public ScanRunWarningTrace.Builder setCode(ScanRunWarningTrace.Code value)

Output only. Indicates the warning code.

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

Parameter
Name Description
value ScanRunWarningTrace.Code

The code to set.

Returns
Type Description
ScanRunWarningTrace.Builder

This builder for chaining.

setCodeValue(int value)

public ScanRunWarningTrace.Builder setCodeValue(int value)

Output only. Indicates the warning code.

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

Parameter
Name Description
value int

The enum numeric value on the wire for code to set.

Returns
Type Description
ScanRunWarningTrace.Builder

This builder for chaining.