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

mergeFrom(VulnerabilityReport.Vulnerability.Details.Reference other)

public VulnerabilityReport.Vulnerability.Details.Reference.Builder mergeFrom(VulnerabilityReport.Vulnerability.Details.Reference other)
Parameter
NameDescription
otherVulnerabilityReport.Vulnerability.Details.Reference
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VulnerabilityReport.Vulnerability.Details.Reference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VulnerabilityReport.Vulnerability.Details.Reference.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VulnerabilityReport.Vulnerability.Details.Reference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The source to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for source to set.

Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final VulnerabilityReport.Vulnerability.Details.Reference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The url to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for url to set.

Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference.Builder

This builder for chaining.