Package io.grafeas.v1beta1.vulnerability
Class Vulnerability.Detail
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.grafeas.v1beta1.vulnerability.Vulnerability.Detail
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Vulnerability.DetailOrBuilder,Serializable
- Enclosing class:
- Vulnerability
public static final class Vulnerability.Detail
extends com.google.protobuf.GeneratedMessage
implements Vulnerability.DetailOrBuilder
Identifies all appearances of this vulnerability in the package for a specific distro/location. For example: glibc in cpe:/o:debian:debian_linux:8 for versions 2.1 - 2.2Protobuf type
grafeas.v1beta1.vulnerability.Vulnerability.Detail- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classIdentifies all appearances of this vulnerability in the package for a specific distro/location.Nested 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 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 TypeMethodDescriptionbooleanRequired.com.google.protobuf.ByteStringRequired.static Vulnerability.DetailA vendor-specific description of this note.com.google.protobuf.ByteStringA vendor-specific description of this note.static final com.google.protobuf.Descriptors.DescriptorThe fix for this specific package version.The fix for this specific package version.booleanWhether this detail is obsolete.The max version of the package in which the vulnerability exists.The max version of the package in which the vulnerability exists.The min version of the package in which the vulnerability exists.The min version of the package in which the vulnerability exists.Required.com.google.protobuf.ByteStringRequired.The type of package; whether native or non native(ruby gems, node.js packages etc).com.google.protobuf.ByteStringThe type of package; whether native or non native(ruby gems, node.js packages etc).com.google.protobuf.Parser<Vulnerability.Detail>intThe severity (eg: distro assigned severity) for this vulnerability.com.google.protobuf.ByteStringThe severity (eg: distro assigned severity) for this 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.booleanThe fix for this specific package version.inthashCode()booleanThe max version of the package in which the vulnerability exists.booleanThe min version of the package in which the vulnerability exists.booleanThe time this information was last changed at the source.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Vulnerability.Detail.Builderstatic Vulnerability.Detail.BuildernewBuilder(Vulnerability.Detail prototype) protected Vulnerability.Detail.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Vulnerability.DetailparseDelimitedFrom(InputStream input) static Vulnerability.DetailparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Vulnerability.DetailparseFrom(byte[] data) static Vulnerability.DetailparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Vulnerability.DetailparseFrom(com.google.protobuf.ByteString data) static Vulnerability.DetailparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Vulnerability.DetailparseFrom(com.google.protobuf.CodedInputStream input) static Vulnerability.DetailparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Vulnerability.DetailparseFrom(InputStream input) static Vulnerability.DetailparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Vulnerability.DetailparseFrom(ByteBuffer data) static Vulnerability.DetailparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Vulnerability.Detail>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
-
CPE_URI_FIELD_NUMBER
public static final int CPE_URI_FIELD_NUMBER- See Also:
-
PACKAGE_FIELD_NUMBER
public static final int PACKAGE_FIELD_NUMBER- See Also:
-
MIN_AFFECTED_VERSION_FIELD_NUMBER
public static final int MIN_AFFECTED_VERSION_FIELD_NUMBER- See Also:
-
MAX_AFFECTED_VERSION_FIELD_NUMBER
public static final int MAX_AFFECTED_VERSION_FIELD_NUMBER- See Also:
-
SEVERITY_NAME_FIELD_NUMBER
public static final int SEVERITY_NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
FIXED_LOCATION_FIELD_NUMBER
public static final int FIXED_LOCATION_FIELD_NUMBER- See Also:
-
PACKAGE_TYPE_FIELD_NUMBER
public static final int PACKAGE_TYPE_FIELD_NUMBER- See Also:
-
IS_OBSOLETE_FIELD_NUMBER
public static final int IS_OBSOLETE_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
-
getCpeUri
Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar.
string cpe_uri = 1;- Specified by:
getCpeUriin interfaceVulnerability.DetailOrBuilder- Returns:
- The cpeUri.
-
getCpeUriBytes
public com.google.protobuf.ByteString getCpeUriBytes()Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar.
string cpe_uri = 1;- Specified by:
getCpeUriBytesin interfaceVulnerability.DetailOrBuilder- Returns:
- The bytes for cpeUri.
-
getPackage
Required. The name of the package where the vulnerability was found.
string package = 2;- Specified by:
getPackagein interfaceVulnerability.DetailOrBuilder- Returns:
- The package.
-
getPackageBytes
public com.google.protobuf.ByteString getPackageBytes()Required. The name of the package where the vulnerability was found.
string package = 2;- Specified by:
getPackageBytesin interfaceVulnerability.DetailOrBuilder- Returns:
- The bytes for package.
-
hasMinAffectedVersion
public boolean hasMinAffectedVersion()The min version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version min_affected_version = 3;- Specified by:
hasMinAffectedVersionin interfaceVulnerability.DetailOrBuilder- Returns:
- Whether the minAffectedVersion field is set.
-
getMinAffectedVersion
The min version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version min_affected_version = 3;- Specified by:
getMinAffectedVersionin interfaceVulnerability.DetailOrBuilder- Returns:
- The minAffectedVersion.
-
getMinAffectedVersionOrBuilder
The min version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version min_affected_version = 3;- Specified by:
getMinAffectedVersionOrBuilderin interfaceVulnerability.DetailOrBuilder
-
hasMaxAffectedVersion
public boolean hasMaxAffectedVersion()The max version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version max_affected_version = 4;- Specified by:
hasMaxAffectedVersionin interfaceVulnerability.DetailOrBuilder- Returns:
- Whether the maxAffectedVersion field is set.
-
getMaxAffectedVersion
The max version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version max_affected_version = 4;- Specified by:
getMaxAffectedVersionin interfaceVulnerability.DetailOrBuilder- Returns:
- The maxAffectedVersion.
-
getMaxAffectedVersionOrBuilder
The max version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version max_affected_version = 4;- Specified by:
getMaxAffectedVersionOrBuilderin interfaceVulnerability.DetailOrBuilder
-
getSeverityName
The severity (eg: distro assigned severity) for this vulnerability.
string severity_name = 5;- Specified by:
getSeverityNamein interfaceVulnerability.DetailOrBuilder- Returns:
- The severityName.
-
getSeverityNameBytes
public com.google.protobuf.ByteString getSeverityNameBytes()The severity (eg: distro assigned severity) for this vulnerability.
string severity_name = 5;- Specified by:
getSeverityNameBytesin interfaceVulnerability.DetailOrBuilder- Returns:
- The bytes for severityName.
-
getDescription
A vendor-specific description of this note.
string description = 6;- Specified by:
getDescriptionin interfaceVulnerability.DetailOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()A vendor-specific description of this note.
string description = 6;- Specified by:
getDescriptionBytesin interfaceVulnerability.DetailOrBuilder- Returns:
- The bytes for description.
-
hasFixedLocation
public boolean hasFixedLocation()The fix for this specific package version.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 7;- Specified by:
hasFixedLocationin interfaceVulnerability.DetailOrBuilder- Returns:
- Whether the fixedLocation field is set.
-
getFixedLocation
The fix for this specific package version.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 7;- Specified by:
getFixedLocationin interfaceVulnerability.DetailOrBuilder- Returns:
- The fixedLocation.
-
getFixedLocationOrBuilder
The fix for this specific package version.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 7;- Specified by:
getFixedLocationOrBuilderin interfaceVulnerability.DetailOrBuilder
-
getPackageType
The type of package; whether native or non native(ruby gems, node.js packages etc).
string package_type = 8;- Specified by:
getPackageTypein interfaceVulnerability.DetailOrBuilder- Returns:
- The packageType.
-
getPackageTypeBytes
public com.google.protobuf.ByteString getPackageTypeBytes()The type of package; whether native or non native(ruby gems, node.js packages etc).
string package_type = 8;- Specified by:
getPackageTypeBytesin interfaceVulnerability.DetailOrBuilder- Returns:
- The bytes for packageType.
-
getIsObsolete
public boolean getIsObsolete()Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
bool is_obsolete = 9;- Specified by:
getIsObsoletein interfaceVulnerability.DetailOrBuilder- Returns:
- The isObsolete.
-
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 = 10;- Specified by:
hasSourceUpdateTimein interfaceVulnerability.DetailOrBuilder- 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 = 10;- Specified by:
getSourceUpdateTimein interfaceVulnerability.DetailOrBuilder- 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 = 10;- Specified by:
getSourceUpdateTimeOrBuilderin interfaceVulnerability.DetailOrBuilder
-
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.Detail parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Vulnerability.Detail parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Vulnerability.Detail parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Vulnerability.Detail 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.Detail parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Vulnerability.Detail 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.Detail parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Vulnerability.Detail parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Vulnerability.Detail parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Vulnerability.Detail 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.Detail.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
-