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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static VulnerabilityAssessmentNote.Builder newBuilder()
newBuilder(VulnerabilityAssessmentNote prototype)
public static VulnerabilityAssessmentNote.Builder newBuilder(VulnerabilityAssessmentNote prototype)
public static VulnerabilityAssessmentNote parseDelimitedFrom(InputStream input)
public static VulnerabilityAssessmentNote parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static VulnerabilityAssessmentNote parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityAssessmentNote parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static VulnerabilityAssessmentNote parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityAssessmentNote parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityAssessmentNote parseFrom(CodedInputStream input)
public static VulnerabilityAssessmentNote parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityAssessmentNote parseFrom(InputStream input)
public static VulnerabilityAssessmentNote parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static VulnerabilityAssessmentNote parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityAssessmentNote parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<VulnerabilityAssessmentNote> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAssessment()
public VulnerabilityAssessmentNote.Assessment getAssessment()
Represents a vulnerability assessment for the product.
.grafeas.v1.VulnerabilityAssessmentNote.Assessment assessment = 7;
getAssessmentOrBuilder()
public VulnerabilityAssessmentNote.AssessmentOrBuilder getAssessmentOrBuilder()
Represents a vulnerability assessment for the product.
.grafeas.v1.VulnerabilityAssessmentNote.Assessment assessment = 7;
getDefaultInstanceForType()
public VulnerabilityAssessmentNote getDefaultInstanceForType()
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()
Overrides
getProduct()
public VulnerabilityAssessmentNote.Product getProduct()
The product affected by this vex.
.grafeas.v1.VulnerabilityAssessmentNote.Product product = 6;
getProductOrBuilder()
public VulnerabilityAssessmentNote.ProductOrBuilder getProductOrBuilder()
The product affected by this vex.
.grafeas.v1.VulnerabilityAssessmentNote.Product product = 6;
getPublisher()
public VulnerabilityAssessmentNote.Publisher getPublisher()
Publisher details of this Note.
.grafeas.v1.VulnerabilityAssessmentNote.Publisher publisher = 5;
getPublisherOrBuilder()
public VulnerabilityAssessmentNote.PublisherOrBuilder getPublisherOrBuilder()
Publisher details of this Note.
.grafeas.v1.VulnerabilityAssessmentNote.Publisher publisher = 5;
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()
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public VulnerabilityAssessmentNote.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VulnerabilityAssessmentNote.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public VulnerabilityAssessmentNote.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides