Class ScanRunWarningTrace.Builder (2.49.0)

public static final class ScanRunWarningTrace.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ScanRunWarningTrace.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ScanRunWarningTrace.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public ScanRunWarningTrace.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ScanRunWarningTrace.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ScanRunWarningTrace.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ScanRunWarningTrace.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ScanRunWarningTrace.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public ScanRunWarningTrace.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ScanRunWarningTrace.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ScanRunWarningTrace.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ScanRunWarningTrace.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ScanRunWarningTrace.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ScanRunWarningTrace.Builder
Overrides