public final class VulnerabilityNote extends GeneratedMessageV3 implements VulnerabilityNoteOrBuilder
A security vulnerability that can be found in resources.Protobuf type
grafeas.v1.VulnerabilityNote
Modifier and Type | Class and Description |
---|---|
static class |
VulnerabilityNote.Builder
A security vulnerability that can be found in resources.
|
static class |
VulnerabilityNote.Detail
A detail for a distro and package affected by this vulnerability and its
associated fix (if one is available).
|
static interface |
VulnerabilityNote.DetailOrBuilder |
static class |
VulnerabilityNote.WindowsDetail
Protobuf type
grafeas.v1.VulnerabilityNote.WindowsDetail |
static interface |
VulnerabilityNote.WindowsDetailOrBuilder |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
CVSS_SCORE_FIELD_NUMBER |
static int |
CVSS_V3_FIELD_NUMBER |
static int |
DETAILS_FIELD_NUMBER |
static int |
SEVERITY_FIELD_NUMBER |
static int |
WINDOWS_DETAILS_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
float |
getCvssScore()
The CVSS score of this vulnerability.
|
CVSSv3 |
getCvssV3()
The full description of the CVSSv3 for this vulnerability.
|
CVSSv3OrBuilder |
getCvssV3OrBuilder()
The full description of the CVSSv3 for this vulnerability.
|
static VulnerabilityNote |
getDefaultInstance() |
VulnerabilityNote |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
VulnerabilityNote.Detail |
getDetails(int index)
Details of all known distros and packages affected by this vulnerability.
|
int |
getDetailsCount()
Details of all known distros and packages affected by this vulnerability.
|
List<VulnerabilityNote.Detail> |
getDetailsList()
Details of all known distros and packages affected by this vulnerability.
|
VulnerabilityNote.DetailOrBuilder |
getDetailsOrBuilder(int index)
Details of all known distros and packages affected by this vulnerability.
|
List<? extends VulnerabilityNote.DetailOrBuilder> |
getDetailsOrBuilderList()
Details of all known distros and packages affected by this vulnerability.
|
Parser<VulnerabilityNote> |
getParserForType() |
int |
getSerializedSize() |
Severity |
getSeverity()
The note provider assigned severity of this vulnerability.
|
int |
getSeverityValue()
The note provider assigned severity of this vulnerability.
|
UnknownFieldSet |
getUnknownFields() |
VulnerabilityNote.WindowsDetail |
getWindowsDetails(int index)
Windows details get their own format because the information format and
model don't match a normal detail.
|
int |
getWindowsDetailsCount()
Windows details get their own format because the information format and
model don't match a normal detail.
|
List<VulnerabilityNote.WindowsDetail> |
getWindowsDetailsList()
Windows details get their own format because the information format and
model don't match a normal detail.
|
VulnerabilityNote.WindowsDetailOrBuilder |
getWindowsDetailsOrBuilder(int index)
Windows details get their own format because the information format and
model don't match a normal detail.
|
List<? extends VulnerabilityNote.WindowsDetailOrBuilder> |
getWindowsDetailsOrBuilderList()
Windows details get their own format because the information format and
model don't match a normal detail.
|
boolean |
hasCvssV3()
The full description of the CVSSv3 for this vulnerability.
|
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static VulnerabilityNote.Builder |
newBuilder() |
static VulnerabilityNote.Builder |
newBuilder(VulnerabilityNote prototype) |
VulnerabilityNote.Builder |
newBuilderForType() |
protected VulnerabilityNote.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static VulnerabilityNote |
parseDelimitedFrom(InputStream input) |
static VulnerabilityNote |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static VulnerabilityNote |
parseFrom(byte[] data) |
static VulnerabilityNote |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static VulnerabilityNote |
parseFrom(ByteBuffer data) |
static VulnerabilityNote |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static VulnerabilityNote |
parseFrom(ByteString data) |
static VulnerabilityNote |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static VulnerabilityNote |
parseFrom(CodedInputStream input) |
static VulnerabilityNote |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static VulnerabilityNote |
parseFrom(InputStream input) |
static VulnerabilityNote |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<VulnerabilityNote> |
parser() |
VulnerabilityNote.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int CVSS_SCORE_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
public static final int DETAILS_FIELD_NUMBER
public static final int CVSS_V3_FIELD_NUMBER
public static final int WINDOWS_DETAILS_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public float getCvssScore()
The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity.
float cvss_score = 1;
getCvssScore
in interface VulnerabilityNoteOrBuilder
public int getSeverityValue()
The note provider assigned severity of this vulnerability.
.grafeas.v1.Severity severity = 2;
getSeverityValue
in interface VulnerabilityNoteOrBuilder
public Severity getSeverity()
The note provider assigned severity of this vulnerability.
.grafeas.v1.Severity severity = 2;
getSeverity
in interface VulnerabilityNoteOrBuilder
public List<VulnerabilityNote.Detail> getDetailsList()
Details of all known distros and packages affected by this vulnerability.
repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;
getDetailsList
in interface VulnerabilityNoteOrBuilder
public List<? extends VulnerabilityNote.DetailOrBuilder> getDetailsOrBuilderList()
Details of all known distros and packages affected by this vulnerability.
repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;
getDetailsOrBuilderList
in interface VulnerabilityNoteOrBuilder
public int getDetailsCount()
Details of all known distros and packages affected by this vulnerability.
repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;
getDetailsCount
in interface VulnerabilityNoteOrBuilder
public VulnerabilityNote.Detail getDetails(int index)
Details of all known distros and packages affected by this vulnerability.
repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;
getDetails
in interface VulnerabilityNoteOrBuilder
public VulnerabilityNote.DetailOrBuilder getDetailsOrBuilder(int index)
Details of all known distros and packages affected by this vulnerability.
repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;
getDetailsOrBuilder
in interface VulnerabilityNoteOrBuilder
public boolean hasCvssV3()
The full description of the CVSSv3 for this vulnerability.
.grafeas.v1.CVSSv3 cvss_v3 = 4;
hasCvssV3
in interface VulnerabilityNoteOrBuilder
public CVSSv3 getCvssV3()
The full description of the CVSSv3 for this vulnerability.
.grafeas.v1.CVSSv3 cvss_v3 = 4;
getCvssV3
in interface VulnerabilityNoteOrBuilder
public CVSSv3OrBuilder getCvssV3OrBuilder()
The full description of the CVSSv3 for this vulnerability.
.grafeas.v1.CVSSv3 cvss_v3 = 4;
getCvssV3OrBuilder
in interface VulnerabilityNoteOrBuilder
public List<VulnerabilityNote.WindowsDetail> getWindowsDetailsList()
Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.
repeated .grafeas.v1.VulnerabilityNote.WindowsDetail windows_details = 5;
getWindowsDetailsList
in interface VulnerabilityNoteOrBuilder
public List<? extends VulnerabilityNote.WindowsDetailOrBuilder> getWindowsDetailsOrBuilderList()
Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.
repeated .grafeas.v1.VulnerabilityNote.WindowsDetail windows_details = 5;
getWindowsDetailsOrBuilderList
in interface VulnerabilityNoteOrBuilder
public int getWindowsDetailsCount()
Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.
repeated .grafeas.v1.VulnerabilityNote.WindowsDetail windows_details = 5;
getWindowsDetailsCount
in interface VulnerabilityNoteOrBuilder
public VulnerabilityNote.WindowsDetail getWindowsDetails(int index)
Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.
repeated .grafeas.v1.VulnerabilityNote.WindowsDetail windows_details = 5;
getWindowsDetails
in interface VulnerabilityNoteOrBuilder
public VulnerabilityNote.WindowsDetailOrBuilder getWindowsDetailsOrBuilder(int index)
Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.
repeated .grafeas.v1.VulnerabilityNote.WindowsDetail windows_details = 5;
getWindowsDetailsOrBuilder
in interface VulnerabilityNoteOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static VulnerabilityNote parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VulnerabilityNote parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VulnerabilityNote parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VulnerabilityNote parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VulnerabilityNote parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VulnerabilityNote parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VulnerabilityNote parseFrom(InputStream input) throws IOException
IOException
public static VulnerabilityNote parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static VulnerabilityNote parseDelimitedFrom(InputStream input) throws IOException
IOException
public static VulnerabilityNote parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static VulnerabilityNote parseFrom(CodedInputStream input) throws IOException
IOException
public static VulnerabilityNote parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public VulnerabilityNote.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static VulnerabilityNote.Builder newBuilder()
public static VulnerabilityNote.Builder newBuilder(VulnerabilityNote prototype)
public VulnerabilityNote.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected VulnerabilityNote.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static VulnerabilityNote getDefaultInstance()
public static Parser<VulnerabilityNote> parser()
public Parser<VulnerabilityNote> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public VulnerabilityNote getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2019 Google LLC. All rights reserved.