Class VulnerabilityAssessmentNote (2.43.0)

public final class VulnerabilityAssessmentNote extends GeneratedMessageV3 implements VulnerabilityAssessmentNoteOrBuilder

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

Protobuf type grafeas.v1.VulnerabilityAssessmentNote

Static Fields

ASSESSMENT_FIELD_NUMBER

public static final int ASSESSMENT_FIELD_NUMBER
Field Value
Type Description
int

LANGUAGE_CODE_FIELD_NUMBER

public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value
Type Description
int

LONG_DESCRIPTION_FIELD_NUMBER

public static final int LONG_DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

PRODUCT_FIELD_NUMBER

public static final int PRODUCT_FIELD_NUMBER
Field Value
Type Description
int

PUBLISHER_FIELD_NUMBER

public static final int PUBLISHER_FIELD_NUMBER
Field Value
Type Description
int

SHORT_DESCRIPTION_FIELD_NUMBER

public static final int SHORT_DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VulnerabilityAssessmentNote getDefaultInstance()
Returns
Type Description
VulnerabilityAssessmentNote

getDescriptor()

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

newBuilder()

public static VulnerabilityAssessmentNote.Builder newBuilder()
Returns
Type Description
VulnerabilityAssessmentNote.Builder

newBuilder(VulnerabilityAssessmentNote prototype)

public static VulnerabilityAssessmentNote.Builder newBuilder(VulnerabilityAssessmentNote prototype)
Parameter
Name Description
prototype VulnerabilityAssessmentNote
Returns
Type Description
VulnerabilityAssessmentNote.Builder

parseDelimitedFrom(InputStream input)

public static VulnerabilityAssessmentNote parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VulnerabilityAssessmentNote
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityAssessmentNote
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VulnerabilityAssessmentNote parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VulnerabilityAssessmentNote
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityAssessmentNote
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VulnerabilityAssessmentNote parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VulnerabilityAssessmentNote
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityAssessmentNote
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VulnerabilityAssessmentNote parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VulnerabilityAssessmentNote
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityAssessmentNote
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VulnerabilityAssessmentNote parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VulnerabilityAssessmentNote
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityAssessmentNote
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VulnerabilityAssessmentNote parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VulnerabilityAssessmentNote
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityAssessmentNote
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VulnerabilityAssessmentNote> parser()
Returns
Type Description
Parser<VulnerabilityAssessmentNote>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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

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.

getParserForType()

public Parser<VulnerabilityAssessmentNote> getParserForType()
Returns
Type Description
Parser<VulnerabilityAssessmentNote>
Overrides

getProduct()

public VulnerabilityAssessmentNote.Product getProduct()

The product affected by this vex.

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

Returns
Type Description
VulnerabilityAssessmentNote.Product

The product.

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.

getPublisherOrBuilder()

public VulnerabilityAssessmentNote.PublisherOrBuilder getPublisherOrBuilder()

Publisher details of this Note.

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

Returns
Type Description
VulnerabilityAssessmentNote.PublisherOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public VulnerabilityAssessmentNote.Builder newBuilderForType()
Returns
Type Description
VulnerabilityAssessmentNote.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VulnerabilityAssessmentNote.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VulnerabilityAssessmentNote.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public VulnerabilityAssessmentNote.Builder toBuilder()
Returns
Type Description
VulnerabilityAssessmentNote.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException