Class VulnerabilityAssessmentNote.Builder (2.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VulnerabilityAssessmentNote.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VulnerabilityAssessmentNote.Builder
Overrides

build()

public VulnerabilityAssessmentNote build()
Returns
TypeDescription
VulnerabilityAssessmentNote

buildPartial()

public VulnerabilityAssessmentNote buildPartial()
Returns
TypeDescription
VulnerabilityAssessmentNote

clear()

public VulnerabilityAssessmentNote.Builder clear()
Returns
TypeDescription
VulnerabilityAssessmentNote.Builder
Overrides

clearAssessment()

public VulnerabilityAssessmentNote.Builder clearAssessment()

Represents a vulnerability assessment for the product.

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

Returns
TypeDescription
VulnerabilityAssessmentNote.Builder

clearField(Descriptors.FieldDescriptor field)

public VulnerabilityAssessmentNote.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
VulnerabilityAssessmentNote.Builder

This builder for chaining.

clearLongDescription()

public VulnerabilityAssessmentNote.Builder clearLongDescription()

A detailed description of this Vex.

string long_description = 3;

Returns
TypeDescription
VulnerabilityAssessmentNote.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VulnerabilityAssessmentNote.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
VulnerabilityAssessmentNote.Builder
Overrides

clearProduct()

public VulnerabilityAssessmentNote.Builder clearProduct()

The product affected by this vex.

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

Returns
TypeDescription
VulnerabilityAssessmentNote.Builder

clearPublisher()

public VulnerabilityAssessmentNote.Builder clearPublisher()

Publisher details of this Note.

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

Returns
TypeDescription
VulnerabilityAssessmentNote.Builder

clearShortDescription()

public VulnerabilityAssessmentNote.Builder clearShortDescription()

A one sentence description of this Vex.

string short_description = 2;

Returns
TypeDescription
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
TypeDescription
VulnerabilityAssessmentNote.Builder

This builder for chaining.

clone()

public VulnerabilityAssessmentNote.Builder clone()
Returns
TypeDescription
VulnerabilityAssessmentNote.Builder
Overrides

getAssessment()

public VulnerabilityAssessmentNote.Assessment getAssessment()

Represents a vulnerability assessment for the product.

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

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment

The assessment.

getAssessmentBuilder()

public VulnerabilityAssessmentNote.Assessment.Builder getAssessmentBuilder()

Represents a vulnerability assessment for the product.

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

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

getAssessmentOrBuilder()

public VulnerabilityAssessmentNote.AssessmentOrBuilder getAssessmentOrBuilder()

Represents a vulnerability assessment for the product.

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

Returns
TypeDescription
VulnerabilityAssessmentNote.AssessmentOrBuilder

getDefaultInstanceForType()

public VulnerabilityAssessmentNote getDefaultInstanceForType()
Returns
TypeDescription
VulnerabilityAssessmentNote

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for languageCode.

getLongDescription()

public String getLongDescription()

A detailed description of this Vex.

string long_description = 3;

Returns
TypeDescription
String

The longDescription.

getLongDescriptionBytes()

public ByteString getLongDescriptionBytes()

A detailed description of this Vex.

string long_description = 3;

Returns
TypeDescription
ByteString

The bytes for longDescription.

getProduct()

public VulnerabilityAssessmentNote.Product getProduct()

The product affected by this vex.

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

Returns
TypeDescription
VulnerabilityAssessmentNote.Product

The product.

getProductBuilder()

public VulnerabilityAssessmentNote.Product.Builder getProductBuilder()

The product affected by this vex.

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

Returns
TypeDescription
VulnerabilityAssessmentNote.Product.Builder

getProductOrBuilder()

public VulnerabilityAssessmentNote.ProductOrBuilder getProductOrBuilder()

The product affected by this vex.

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

Returns
TypeDescription
VulnerabilityAssessmentNote.ProductOrBuilder

getPublisher()

public VulnerabilityAssessmentNote.Publisher getPublisher()

Publisher details of this Note.

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

Returns
TypeDescription
VulnerabilityAssessmentNote.Publisher

The publisher.

getPublisherBuilder()

public VulnerabilityAssessmentNote.Publisher.Builder getPublisherBuilder()

Publisher details of this Note.

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

Returns
TypeDescription
VulnerabilityAssessmentNote.Publisher.Builder

getPublisherOrBuilder()

public VulnerabilityAssessmentNote.PublisherOrBuilder getPublisherOrBuilder()

Publisher details of this Note.

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

Returns
TypeDescription
VulnerabilityAssessmentNote.PublisherOrBuilder

getShortDescription()

public String getShortDescription()

A one sentence description of this Vex.

string short_description = 2;

Returns
TypeDescription
String

The shortDescription.

getShortDescriptionBytes()

public ByteString getShortDescriptionBytes()

A one sentence description of this Vex.

string short_description = 2;

Returns
TypeDescription
ByteString

The bytes for shortDescription.

getTitle()

public String getTitle()

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

string title = 1;

Returns
TypeDescription
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

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

string title = 1;

Returns
TypeDescription
ByteString

The bytes for title.

hasAssessment()

public boolean hasAssessment()

Represents a vulnerability assessment for the product.

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

Returns
TypeDescription
boolean

Whether the assessment field is set.

hasProduct()

public boolean hasProduct()

The product affected by this vex.

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

Returns
TypeDescription
boolean

Whether the product field is set.

hasPublisher()

public boolean hasPublisher()

Publisher details of this Note.

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

Returns
TypeDescription
boolean

Whether the publisher field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueVulnerabilityAssessmentNote.Assessment
Returns
TypeDescription
VulnerabilityAssessmentNote.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public VulnerabilityAssessmentNote.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VulnerabilityAssessmentNote.Builder
Overrides

mergeFrom(VulnerabilityAssessmentNote other)

public VulnerabilityAssessmentNote.Builder mergeFrom(VulnerabilityAssessmentNote other)
Parameter
NameDescription
otherVulnerabilityAssessmentNote
Returns
TypeDescription
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
NameDescription
valueVulnerabilityAssessmentNote.Product
Returns
TypeDescription
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
NameDescription
valueVulnerabilityAssessmentNote.Publisher
Returns
TypeDescription
VulnerabilityAssessmentNote.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VulnerabilityAssessmentNote.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueVulnerabilityAssessmentNote.Assessment
Returns
TypeDescription
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
NameDescription
builderForValueVulnerabilityAssessmentNote.Assessment.Builder
Returns
TypeDescription
VulnerabilityAssessmentNote.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public VulnerabilityAssessmentNote.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The languageCode to set.

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

The bytes for languageCode to set.

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

The longDescription to set.

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

The bytes for longDescription to set.

Returns
TypeDescription
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
NameDescription
valueVulnerabilityAssessmentNote.Product
Returns
TypeDescription
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
NameDescription
builderForValueVulnerabilityAssessmentNote.Product.Builder
Returns
TypeDescription
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
NameDescription
valueVulnerabilityAssessmentNote.Publisher
Returns
TypeDescription
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
NameDescription
builderForValueVulnerabilityAssessmentNote.Publisher.Builder
Returns
TypeDescription
VulnerabilityAssessmentNote.Builder

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

public VulnerabilityAssessmentNote.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VulnerabilityAssessmentNote.Builder
Overrides

setShortDescription(String value)

public VulnerabilityAssessmentNote.Builder setShortDescription(String value)

A one sentence description of this Vex.

string short_description = 2;

Parameter
NameDescription
valueString

The shortDescription to set.

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

The bytes for shortDescription to set.

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

The title to set.

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

The bytes for title to set.

Returns
TypeDescription
VulnerabilityAssessmentNote.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final VulnerabilityAssessmentNote.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VulnerabilityAssessmentNote.Builder
Overrides