Package io.grafeas.v1beta1.vulnerability
Class Vulnerability
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.grafeas.v1beta1.vulnerability.Vulnerability
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,VulnerabilityOrBuilder,Serializable
@Generated
public final class Vulnerability
extends com.google.protobuf.GeneratedMessage
implements VulnerabilityOrBuilder
Vulnerability provides metadata about a security vulnerability in a Note.Protobuf type
grafeas.v1beta1.vulnerability.Vulnerability- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classVulnerability provides metadata about a security vulnerability in a Note.static final classIdentifies all appearances of this vulnerability in the package for a specific distro/location.static interfacestatic final classProtobuf typegrafeas.v1beta1.vulnerability.Vulnerability.WindowsDetailstatic interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanfloatThe CVSS score for this vulnerability.The full description of the CVSSv3.The full description of the CVSSv3.static Vulnerabilitystatic final com.google.protobuf.Descriptors.DescriptorgetDetails(int index) All information about the package to specifically identify this vulnerability.intAll information about the package to specifically identify this vulnerability.All information about the package to specifically identify this vulnerability.getDetailsOrBuilder(int index) All information about the package to specifically identify this vulnerability.List<? extends Vulnerability.DetailOrBuilder>All information about the package to specifically identify this vulnerability.com.google.protobuf.Parser<Vulnerability>intNote provider assigned impact of the vulnerability.intNote provider assigned impact of the vulnerability.com.google.protobuf.TimestampThe time this information was last changed at the source.com.google.protobuf.TimestampOrBuilderThe time this information was last changed at the source.getWindowsDetails(int index) Windows details get their own format because the information format and model don't match a normal detail.intWindows details get their own format because the information format and model don't match a normal detail.Windows details get their own format because the information format and model don't match a normal detail.getWindowsDetailsOrBuilder(int index) Windows details get their own format because the information format and model don't match a normal detail.List<? extends Vulnerability.WindowsDetailOrBuilder>Windows details get their own format because the information format and model don't match a normal detail.booleanThe full description of the CVSSv3.inthashCode()booleanThe time this information was last changed at the source.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Vulnerability.Builderstatic Vulnerability.BuildernewBuilder(Vulnerability prototype) protected Vulnerability.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static VulnerabilityparseDelimitedFrom(InputStream input) static VulnerabilityparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VulnerabilityparseFrom(byte[] data) static VulnerabilityparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VulnerabilityparseFrom(com.google.protobuf.ByteString data) static VulnerabilityparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VulnerabilityparseFrom(com.google.protobuf.CodedInputStream input) static VulnerabilityparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VulnerabilityparseFrom(InputStream input) static VulnerabilityparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VulnerabilityparseFrom(ByteBuffer data) static VulnerabilityparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Vulnerability>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CVSS_SCORE_FIELD_NUMBER
public static final int CVSS_SCORE_FIELD_NUMBER- See Also:
-
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER- See Also:
-
DETAILS_FIELD_NUMBER
public static final int DETAILS_FIELD_NUMBER- See Also:
-
CVSS_V3_FIELD_NUMBER
public static final int CVSS_V3_FIELD_NUMBER- See Also:
-
WINDOWS_DETAILS_FIELD_NUMBER
public static final int WINDOWS_DETAILS_FIELD_NUMBER- See Also:
-
SOURCE_UPDATE_TIME_FIELD_NUMBER
public static final int SOURCE_UPDATE_TIME_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getCvssScore
public float getCvssScore()The CVSS score for this vulnerability.
float cvss_score = 1;- Specified by:
getCvssScorein interfaceVulnerabilityOrBuilder- Returns:
- The cvssScore.
-
getSeverityValue
public int getSeverityValue()Note provider assigned impact of the vulnerability.
.grafeas.v1beta1.vulnerability.Severity severity = 2;- Specified by:
getSeverityValuein interfaceVulnerabilityOrBuilder- Returns:
- The enum numeric value on the wire for severity.
-
getSeverity
Note provider assigned impact of the vulnerability.
.grafeas.v1beta1.vulnerability.Severity severity = 2;- Specified by:
getSeverityin interfaceVulnerabilityOrBuilder- Returns:
- The severity.
-
getDetailsList
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;- Specified by:
getDetailsListin interfaceVulnerabilityOrBuilder
-
getDetailsOrBuilderList
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;- Specified by:
getDetailsOrBuilderListin interfaceVulnerabilityOrBuilder
-
getDetailsCount
public int getDetailsCount()All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;- Specified by:
getDetailsCountin interfaceVulnerabilityOrBuilder
-
getDetails
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;- Specified by:
getDetailsin interfaceVulnerabilityOrBuilder
-
getDetailsOrBuilder
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;- Specified by:
getDetailsOrBuilderin interfaceVulnerabilityOrBuilder
-
hasCvssV3
public boolean hasCvssV3()The full description of the CVSSv3.
.grafeas.v1beta1.vulnerability.CVSSv3 cvss_v3 = 4;- Specified by:
hasCvssV3in interfaceVulnerabilityOrBuilder- Returns:
- Whether the cvssV3 field is set.
-
getCvssV3
The full description of the CVSSv3.
.grafeas.v1beta1.vulnerability.CVSSv3 cvss_v3 = 4;- Specified by:
getCvssV3in interfaceVulnerabilityOrBuilder- Returns:
- The cvssV3.
-
getCvssV3OrBuilder
The full description of the CVSSv3.
.grafeas.v1beta1.vulnerability.CVSSv3 cvss_v3 = 4;- Specified by:
getCvssV3OrBuilderin interfaceVulnerabilityOrBuilder
-
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.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;- Specified by:
getWindowsDetailsListin interfaceVulnerabilityOrBuilder
-
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.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;- Specified by:
getWindowsDetailsOrBuilderListin interfaceVulnerabilityOrBuilder
-
getWindowsDetailsCount
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.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;- Specified by:
getWindowsDetailsCountin interfaceVulnerabilityOrBuilder
-
getWindowsDetails
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.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;- Specified by:
getWindowsDetailsin interfaceVulnerabilityOrBuilder
-
getWindowsDetailsOrBuilder
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.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;- Specified by:
getWindowsDetailsOrBuilderin interfaceVulnerabilityOrBuilder
-
hasSourceUpdateTime
public boolean hasSourceUpdateTime()The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.
.google.protobuf.Timestamp source_update_time = 6;- Specified by:
hasSourceUpdateTimein interfaceVulnerabilityOrBuilder- Returns:
- Whether the sourceUpdateTime field is set.
-
getSourceUpdateTime
public com.google.protobuf.Timestamp getSourceUpdateTime()The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.
.google.protobuf.Timestamp source_update_time = 6;- Specified by:
getSourceUpdateTimein interfaceVulnerabilityOrBuilder- Returns:
- The sourceUpdateTime.
-
getSourceUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getSourceUpdateTimeOrBuilder()The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.
.google.protobuf.Timestamp source_update_time = 6;- Specified by:
getSourceUpdateTimeOrBuilderin interfaceVulnerabilityOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Vulnerability parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Vulnerability parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Vulnerability parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Vulnerability parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Vulnerability parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Vulnerability parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Vulnerability parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Vulnerability parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Vulnerability parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Vulnerability parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Vulnerability.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-