Class VulnerabilityReport.Vulnerability.Details.Reference.Builder (2.56.0)

public static final class VulnerabilityReport.Vulnerability.Details.Reference.Builder extends GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Details.Reference.Builder> implements VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder

A reference for this vulnerability.

Protobuf type google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VulnerabilityReport.Vulnerability.Details.Reference.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VulnerabilityReport.Vulnerability.Details.Reference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference.Builder
Overrides

build()

public VulnerabilityReport.Vulnerability.Details.Reference build()
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference

buildPartial()

public VulnerabilityReport.Vulnerability.Details.Reference buildPartial()
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference

clear()

public VulnerabilityReport.Vulnerability.Details.Reference.Builder clear()
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public VulnerabilityReport.Vulnerability.Details.Reference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VulnerabilityReport.Vulnerability.Details.Reference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference.Builder
Overrides

clearSource()

public VulnerabilityReport.Vulnerability.Details.Reference.Builder clearSource()

The source of the reference e.g. NVD.

string source = 2;

Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference.Builder

This builder for chaining.

clearUrl()

public VulnerabilityReport.Vulnerability.Details.Reference.Builder clearUrl()

The url of the reference.

string url = 1;

Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference.Builder

This builder for chaining.

clone()

public VulnerabilityReport.Vulnerability.Details.Reference.Builder clone()
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference.Builder
Overrides

getDefaultInstanceForType()

public VulnerabilityReport.Vulnerability.Details.Reference getDefaultInstanceForType()
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference

getDescriptorForType()

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

getSource()

public String getSource()

The source of the reference e.g. NVD.

string source = 2;

Returns
Type Description
String

The source.

getSourceBytes()

public ByteString getSourceBytes()

The source of the reference e.g. NVD.

string source = 2;

Returns
Type Description
ByteString

The bytes for source.

getUrl()

public String getUrl()

The url of the reference.

string url = 1;

Returns
Type Description
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

The url of the reference.

string url = 1;

Returns
Type Description
ByteString

The bytes for url.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VulnerabilityReport.Vulnerability.Details.Reference other)

public VulnerabilityReport.Vulnerability.Details.Reference.Builder mergeFrom(VulnerabilityReport.Vulnerability.Details.Reference other)
Parameter
Name Description
other VulnerabilityReport.Vulnerability.Details.Reference
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VulnerabilityReport.Vulnerability.Details.Reference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VulnerabilityReport.Vulnerability.Details.Reference.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VulnerabilityReport.Vulnerability.Details.Reference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public VulnerabilityReport.Vulnerability.Details.Reference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference.Builder
Overrides

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

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

setSource(String value)

public VulnerabilityReport.Vulnerability.Details.Reference.Builder setSource(String value)

The source of the reference e.g. NVD.

string source = 2;

Parameter
Name Description
value String

The source to set.

Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference.Builder

This builder for chaining.

setSourceBytes(ByteString value)

public VulnerabilityReport.Vulnerability.Details.Reference.Builder setSourceBytes(ByteString value)

The source of the reference e.g. NVD.

string source = 2;

Parameter
Name Description
value ByteString

The bytes for source to set.

Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final VulnerabilityReport.Vulnerability.Details.Reference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference.Builder
Overrides

setUrl(String value)

public VulnerabilityReport.Vulnerability.Details.Reference.Builder setUrl(String value)

The url of the reference.

string url = 1;

Parameter
Name Description
value String

The url to set.

Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference.Builder

This builder for chaining.

setUrlBytes(ByteString value)

public VulnerabilityReport.Vulnerability.Details.Reference.Builder setUrlBytes(ByteString value)

The url of the reference.

string url = 1;

Parameter
Name Description
value ByteString

The bytes for url to set.

Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference.Builder

This builder for chaining.