Class VulnerabilityAssessmentNote.Builder (2.54.0)

public static final class VulnerabilityAssessmentNote.Builder extends GeneratedMessageV3.Builder<VulnerabilityAssessmentNote.Builder> implements VulnerabilityAssessmentNoteOrBuilder

A single VulnerabilityAssessmentNote represents one particular product's vulnerability assessment for one CVE.

Protobuf type grafeas.v1.VulnerabilityAssessmentNote

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VulnerabilityAssessmentNote build()
Returns
Type Description
VulnerabilityAssessmentNote

buildPartial()

public VulnerabilityAssessmentNote buildPartial()
Returns
Type Description
VulnerabilityAssessmentNote

clear()

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

clearAssessment()

public VulnerabilityAssessmentNote.Builder clearAssessment()

Represents a vulnerability assessment for the product.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment assessment = 7;

Returns
Type Description
VulnerabilityAssessmentNote.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearLanguageCode()

public VulnerabilityAssessmentNote.Builder clearLanguageCode()

Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.

string language_code = 4;

Returns
Type Description
VulnerabilityAssessmentNote.Builder

This builder for chaining.

clearLongDescription()

public VulnerabilityAssessmentNote.Builder clearLongDescription()

A detailed description of this Vex.

string long_description = 3;

Returns
Type Description
VulnerabilityAssessmentNote.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProduct()

public VulnerabilityAssessmentNote.Builder clearProduct()

The product affected by this vex.

.grafeas.v1.VulnerabilityAssessmentNote.Product product = 6;

Returns
Type Description
VulnerabilityAssessmentNote.Builder

clearPublisher()

public VulnerabilityAssessmentNote.Builder clearPublisher()

Publisher details of this Note.

.grafeas.v1.VulnerabilityAssessmentNote.Publisher publisher = 5;

Returns
Type Description
VulnerabilityAssessmentNote.Builder

clearShortDescription()

public VulnerabilityAssessmentNote.Builder clearShortDescription()

A one sentence description of this Vex.

string short_description = 2;

Returns
Type Description
VulnerabilityAssessmentNote.Builder

This builder for chaining.

clearTitle()

public VulnerabilityAssessmentNote.Builder clearTitle()

The title of the note. E.g. Vex-Debian-11.4

string title = 1;

Returns
Type Description
VulnerabilityAssessmentNote.Builder

This builder for chaining.

clone()

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

getAssessment()

public VulnerabilityAssessmentNote.Assessment getAssessment()

Represents a vulnerability assessment for the product.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment assessment = 7;

Returns
Type Description
VulnerabilityAssessmentNote.Assessment

The assessment.

getAssessmentBuilder()

public VulnerabilityAssessmentNote.Assessment.Builder getAssessmentBuilder()

Represents a vulnerability assessment for the product.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment assessment = 7;

Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Builder

getAssessmentOrBuilder()

public VulnerabilityAssessmentNote.AssessmentOrBuilder getAssessmentOrBuilder()

Represents a vulnerability assessment for the product.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment assessment = 7;

Returns
Type Description
VulnerabilityAssessmentNote.AssessmentOrBuilder

getDefaultInstanceForType()

public VulnerabilityAssessmentNote getDefaultInstanceForType()
Returns
Type Description
VulnerabilityAssessmentNote

getDescriptorForType()

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

getLanguageCode()

public String getLanguageCode()

Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.

string language_code = 4;

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public ByteString getLanguageCodeBytes()

Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.

string language_code = 4;

Returns
Type Description
ByteString

The bytes for languageCode.

getLongDescription()

public String getLongDescription()

A detailed description of this Vex.

string long_description = 3;

Returns
Type Description
String

The longDescription.

getLongDescriptionBytes()

public ByteString getLongDescriptionBytes()

A detailed description of this Vex.

string long_description = 3;

Returns
Type Description
ByteString

The bytes for longDescription.

getProduct()

public VulnerabilityAssessmentNote.Product getProduct()

The product affected by this vex.

.grafeas.v1.VulnerabilityAssessmentNote.Product product = 6;

Returns
Type Description
VulnerabilityAssessmentNote.Product

The product.

getProductBuilder()

public VulnerabilityAssessmentNote.Product.Builder getProductBuilder()

The product affected by this vex.

.grafeas.v1.VulnerabilityAssessmentNote.Product product = 6;

Returns
Type Description
VulnerabilityAssessmentNote.Product.Builder

getProductOrBuilder()

public VulnerabilityAssessmentNote.ProductOrBuilder getProductOrBuilder()

The product affected by this vex.

.grafeas.v1.VulnerabilityAssessmentNote.Product product = 6;

Returns
Type Description
VulnerabilityAssessmentNote.ProductOrBuilder

getPublisher()

public VulnerabilityAssessmentNote.Publisher getPublisher()

Publisher details of this Note.

.grafeas.v1.VulnerabilityAssessmentNote.Publisher publisher = 5;

Returns
Type Description
VulnerabilityAssessmentNote.Publisher

The publisher.

getPublisherBuilder()

public VulnerabilityAssessmentNote.Publisher.Builder getPublisherBuilder()

Publisher details of this Note.

.grafeas.v1.VulnerabilityAssessmentNote.Publisher publisher = 5;

Returns
Type Description
VulnerabilityAssessmentNote.Publisher.Builder

getPublisherOrBuilder()

public VulnerabilityAssessmentNote.PublisherOrBuilder getPublisherOrBuilder()

Publisher details of this Note.

.grafeas.v1.VulnerabilityAssessmentNote.Publisher publisher = 5;

Returns
Type Description
VulnerabilityAssessmentNote.PublisherOrBuilder

getShortDescription()

public String getShortDescription()

A one sentence description of this Vex.

string short_description = 2;

Returns
Type Description
String

The shortDescription.

getShortDescriptionBytes()

public ByteString getShortDescriptionBytes()

A one sentence description of this Vex.

string short_description = 2;

Returns
Type Description
ByteString

The bytes for shortDescription.

getTitle()

public String getTitle()

The title of the note. E.g. Vex-Debian-11.4

string title = 1;

Returns
Type Description
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

The title of the note. E.g. Vex-Debian-11.4

string title = 1;

Returns
Type Description
ByteString

The bytes for title.

hasAssessment()

public boolean hasAssessment()

Represents a vulnerability assessment for the product.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment assessment = 7;

Returns
Type Description
boolean

Whether the assessment field is set.

hasProduct()

public boolean hasProduct()

The product affected by this vex.

.grafeas.v1.VulnerabilityAssessmentNote.Product product = 6;

Returns
Type Description
boolean

Whether the product field is set.

hasPublisher()

public boolean hasPublisher()

Publisher details of this Note.

.grafeas.v1.VulnerabilityAssessmentNote.Publisher publisher = 5;

Returns
Type Description
boolean

Whether the publisher field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAssessment(VulnerabilityAssessmentNote.Assessment value)

public VulnerabilityAssessmentNote.Builder mergeAssessment(VulnerabilityAssessmentNote.Assessment value)

Represents a vulnerability assessment for the product.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment assessment = 7;

Parameter
Name Description
value VulnerabilityAssessmentNote.Assessment
Returns
Type Description
VulnerabilityAssessmentNote.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(VulnerabilityAssessmentNote other)

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

mergeProduct(VulnerabilityAssessmentNote.Product value)

public VulnerabilityAssessmentNote.Builder mergeProduct(VulnerabilityAssessmentNote.Product value)

The product affected by this vex.

.grafeas.v1.VulnerabilityAssessmentNote.Product product = 6;

Parameter
Name Description
value VulnerabilityAssessmentNote.Product
Returns
Type Description
VulnerabilityAssessmentNote.Builder

mergePublisher(VulnerabilityAssessmentNote.Publisher value)

public VulnerabilityAssessmentNote.Builder mergePublisher(VulnerabilityAssessmentNote.Publisher value)

Publisher details of this Note.

.grafeas.v1.VulnerabilityAssessmentNote.Publisher publisher = 5;

Parameter
Name Description
value VulnerabilityAssessmentNote.Publisher
Returns
Type Description
VulnerabilityAssessmentNote.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VulnerabilityAssessmentNote.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VulnerabilityAssessmentNote.Builder
Overrides

setAssessment(VulnerabilityAssessmentNote.Assessment value)

public VulnerabilityAssessmentNote.Builder setAssessment(VulnerabilityAssessmentNote.Assessment value)

Represents a vulnerability assessment for the product.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment assessment = 7;

Parameter
Name Description
value VulnerabilityAssessmentNote.Assessment
Returns
Type Description
VulnerabilityAssessmentNote.Builder

setAssessment(VulnerabilityAssessmentNote.Assessment.Builder builderForValue)

public VulnerabilityAssessmentNote.Builder setAssessment(VulnerabilityAssessmentNote.Assessment.Builder builderForValue)

Represents a vulnerability assessment for the product.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment assessment = 7;

Parameter
Name Description
builderForValue VulnerabilityAssessmentNote.Assessment.Builder
Returns
Type Description
VulnerabilityAssessmentNote.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setLanguageCode(String value)

public VulnerabilityAssessmentNote.Builder setLanguageCode(String value)

Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.

string language_code = 4;

Parameter
Name Description
value String

The languageCode to set.

Returns
Type Description
VulnerabilityAssessmentNote.Builder

This builder for chaining.

setLanguageCodeBytes(ByteString value)

public VulnerabilityAssessmentNote.Builder setLanguageCodeBytes(ByteString value)

Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.

string language_code = 4;

Parameter
Name Description
value ByteString

The bytes for languageCode to set.

Returns
Type Description
VulnerabilityAssessmentNote.Builder

This builder for chaining.

setLongDescription(String value)

public VulnerabilityAssessmentNote.Builder setLongDescription(String value)

A detailed description of this Vex.

string long_description = 3;

Parameter
Name Description
value String

The longDescription to set.

Returns
Type Description
VulnerabilityAssessmentNote.Builder

This builder for chaining.

setLongDescriptionBytes(ByteString value)

public VulnerabilityAssessmentNote.Builder setLongDescriptionBytes(ByteString value)

A detailed description of this Vex.

string long_description = 3;

Parameter
Name Description
value ByteString

The bytes for longDescription to set.

Returns
Type Description
VulnerabilityAssessmentNote.Builder

This builder for chaining.

setProduct(VulnerabilityAssessmentNote.Product value)

public VulnerabilityAssessmentNote.Builder setProduct(VulnerabilityAssessmentNote.Product value)

The product affected by this vex.

.grafeas.v1.VulnerabilityAssessmentNote.Product product = 6;

Parameter
Name Description
value VulnerabilityAssessmentNote.Product
Returns
Type Description
VulnerabilityAssessmentNote.Builder

setProduct(VulnerabilityAssessmentNote.Product.Builder builderForValue)

public VulnerabilityAssessmentNote.Builder setProduct(VulnerabilityAssessmentNote.Product.Builder builderForValue)

The product affected by this vex.

.grafeas.v1.VulnerabilityAssessmentNote.Product product = 6;

Parameter
Name Description
builderForValue VulnerabilityAssessmentNote.Product.Builder
Returns
Type Description
VulnerabilityAssessmentNote.Builder

setPublisher(VulnerabilityAssessmentNote.Publisher value)

public VulnerabilityAssessmentNote.Builder setPublisher(VulnerabilityAssessmentNote.Publisher value)

Publisher details of this Note.

.grafeas.v1.VulnerabilityAssessmentNote.Publisher publisher = 5;

Parameter
Name Description
value VulnerabilityAssessmentNote.Publisher
Returns
Type Description
VulnerabilityAssessmentNote.Builder

setPublisher(VulnerabilityAssessmentNote.Publisher.Builder builderForValue)

public VulnerabilityAssessmentNote.Builder setPublisher(VulnerabilityAssessmentNote.Publisher.Builder builderForValue)

Publisher details of this Note.

.grafeas.v1.VulnerabilityAssessmentNote.Publisher publisher = 5;

Parameter
Name Description
builderForValue VulnerabilityAssessmentNote.Publisher.Builder
Returns
Type Description
VulnerabilityAssessmentNote.Builder

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

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

setShortDescription(String value)

public VulnerabilityAssessmentNote.Builder setShortDescription(String value)

A one sentence description of this Vex.

string short_description = 2;

Parameter
Name Description
value String

The shortDescription to set.

Returns
Type Description
VulnerabilityAssessmentNote.Builder

This builder for chaining.

setShortDescriptionBytes(ByteString value)

public VulnerabilityAssessmentNote.Builder setShortDescriptionBytes(ByteString value)

A one sentence description of this Vex.

string short_description = 2;

Parameter
Name Description
value ByteString

The bytes for shortDescription to set.

Returns
Type Description
VulnerabilityAssessmentNote.Builder

This builder for chaining.

setTitle(String value)

public VulnerabilityAssessmentNote.Builder setTitle(String value)

The title of the note. E.g. Vex-Debian-11.4

string title = 1;

Parameter
Name Description
value String

The title to set.

Returns
Type Description
VulnerabilityAssessmentNote.Builder

This builder for chaining.

setTitleBytes(ByteString value)

public VulnerabilityAssessmentNote.Builder setTitleBytes(ByteString value)

The title of the note. E.g. Vex-Debian-11.4

string title = 1;

Parameter
Name Description
value ByteString

The bytes for title to set.

Returns
Type Description
VulnerabilityAssessmentNote.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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