Class VulnerabilityReport.Vulnerability.Details.Reference.Builder (2.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VulnerabilityReport.Vulnerability.Details.Reference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference.Builder
Overrides

build()

public VulnerabilityReport.Vulnerability.Details.Reference build()
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference

buildPartial()

public VulnerabilityReport.Vulnerability.Details.Reference buildPartial()
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference

clear()

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

clearField(Descriptors.FieldDescriptor field)

public VulnerabilityReport.Vulnerability.Details.Reference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VulnerabilityReport.Vulnerability.Details.Reference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public VulnerabilityReport.Vulnerability.Details.Reference getDefaultInstanceForType()
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSource()

public String getSource()

The source of the reference e.g. NVD.

string source = 2;

Returns
TypeDescription
String

The source.

getSourceBytes()

public ByteString getSourceBytes()

The source of the reference e.g. NVD.

string source = 2;

Returns
TypeDescription
ByteString

The bytes for source.

getUrl()

public String getUrl()

The url of the reference.

string url = 1;

Returns
TypeDescription
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

The url of the reference.

string url = 1;

Returns
TypeDescription
ByteString

The bytes for url.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides