Class VulnerabilityAssessmentNote (2.30.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
TypeDescription
int

LANGUAGE_CODE_FIELD_NUMBER

public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

LONG_DESCRIPTION_FIELD_NUMBER

public static final int LONG_DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

PRODUCT_FIELD_NUMBER

public static final int PRODUCT_FIELD_NUMBER
Field Value
TypeDescription
int

PUBLISHER_FIELD_NUMBER

public static final int PUBLISHER_FIELD_NUMBER
Field Value
TypeDescription
int

SHORT_DESCRIPTION_FIELD_NUMBER

public static final int SHORT_DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VulnerabilityAssessmentNote getDefaultInstance()
Returns
TypeDescription
VulnerabilityAssessmentNote

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VulnerabilityAssessmentNote.Builder newBuilder()
Returns
TypeDescription
VulnerabilityAssessmentNote.Builder

newBuilder(VulnerabilityAssessmentNote prototype)

public static VulnerabilityAssessmentNote.Builder newBuilder(VulnerabilityAssessmentNote prototype)
Parameter
NameDescription
prototypeVulnerabilityAssessmentNote
Returns
TypeDescription
VulnerabilityAssessmentNote.Builder

parseDelimitedFrom(InputStream input)

public static VulnerabilityAssessmentNote parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VulnerabilityAssessmentNote
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityAssessmentNote
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VulnerabilityAssessmentNote parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VulnerabilityAssessmentNote
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityAssessmentNote
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VulnerabilityAssessmentNote parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VulnerabilityAssessmentNote
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityAssessmentNote
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VulnerabilityAssessmentNote parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VulnerabilityAssessmentNote
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityAssessmentNote
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VulnerabilityAssessmentNote parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VulnerabilityAssessmentNote
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityAssessmentNote
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VulnerabilityAssessmentNote parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VulnerabilityAssessmentNote
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityAssessmentNote
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<VulnerabilityAssessmentNote> parser()
Returns
TypeDescription
Parser<VulnerabilityAssessmentNote>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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

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.

getParserForType()

public Parser<VulnerabilityAssessmentNote> getParserForType()
Returns
TypeDescription
Parser<VulnerabilityAssessmentNote>
Overrides

getProduct()

public VulnerabilityAssessmentNote.Product getProduct()

The product affected by this vex.

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

Returns
TypeDescription
VulnerabilityAssessmentNote.Product

The product.

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.

getPublisherOrBuilder()

public VulnerabilityAssessmentNote.PublisherOrBuilder getPublisherOrBuilder()

Publisher details of this Note.

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

Returns
TypeDescription
VulnerabilityAssessmentNote.PublisherOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VulnerabilityAssessmentNote.Builder newBuilderForType()
Returns
TypeDescription
VulnerabilityAssessmentNote.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VulnerabilityAssessmentNote.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VulnerabilityAssessmentNote.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VulnerabilityAssessmentNote.Builder toBuilder()
Returns
TypeDescription
VulnerabilityAssessmentNote.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException