public static final class Vulnerability.Detail extends com.google.protobuf.GeneratedMessageV3 implements Vulnerability.DetailOrBuilder
Identifies all occurrences 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| Modifier and Type | Class and Description |
|---|---|
static class |
Vulnerability.Detail.Builder
Identifies all occurrences of this vulnerability in the package for a
specific distro/location.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CPE_URI_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
FIXED_LOCATION_FIELD_NUMBER |
static int |
IS_OBSOLETE_FIELD_NUMBER |
static int |
MAX_AFFECTED_VERSION_FIELD_NUMBER |
static int |
MIN_AFFECTED_VERSION_FIELD_NUMBER |
static int |
PACKAGE_FIELD_NUMBER |
static int |
PACKAGE_TYPE_FIELD_NUMBER |
static int |
SEVERITY_NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCpeUri()
The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) in
which the vulnerability manifests.
|
com.google.protobuf.ByteString |
getCpeUriBytes()
The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) in
which the vulnerability manifests.
|
static Vulnerability.Detail |
getDefaultInstance() |
Vulnerability.Detail |
getDefaultInstanceForType() |
String |
getDescription()
A vendor-specific description of this note.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
A vendor-specific description of this note.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
VulnerabilityLocation |
getFixedLocation()
The fix for this specific package version.
|
VulnerabilityLocationOrBuilder |
getFixedLocationOrBuilder()
The fix for this specific package version.
|
boolean |
getIsObsolete()
Whether this detail is obsolete.
|
Version |
getMaxAffectedVersion()
The max version of the package in which the vulnerability exists.
|
VersionOrBuilder |
getMaxAffectedVersionOrBuilder()
The max version of the package in which the vulnerability exists.
|
Version |
getMinAffectedVersion()
The min version of the package in which the vulnerability exists.
|
VersionOrBuilder |
getMinAffectedVersionOrBuilder()
The min version of the package in which the vulnerability exists.
|
String |
getPackage()
The name of the package where the vulnerability was found.
|
com.google.protobuf.ByteString |
getPackageBytes()
The name of the package where the vulnerability was found.
|
String |
getPackageType()
The type of package; whether native or non native(ruby gems, node.js
packages etc).
|
com.google.protobuf.ByteString |
getPackageTypeBytes()
The type of package; whether native or non native(ruby gems, node.js
packages etc).
|
com.google.protobuf.Parser<Vulnerability.Detail> |
getParserForType() |
int |
getSerializedSize() |
String |
getSeverityName()
The severity (eg: distro assigned severity) for this vulnerability.
|
com.google.protobuf.ByteString |
getSeverityNameBytes()
The severity (eg: distro assigned severity) for this vulnerability.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasFixedLocation()
The fix for this specific package version.
|
int |
hashCode() |
boolean |
hasMaxAffectedVersion()
The max version of the package in which the vulnerability exists.
|
boolean |
hasMinAffectedVersion()
The min version of the package in which the vulnerability exists.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Vulnerability.Detail.Builder |
newBuilder() |
static Vulnerability.Detail.Builder |
newBuilder(Vulnerability.Detail prototype) |
Vulnerability.Detail.Builder |
newBuilderForType() |
protected Vulnerability.Detail.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Vulnerability.Detail |
parseDelimitedFrom(InputStream input) |
static Vulnerability.Detail |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Vulnerability.Detail |
parseFrom(byte[] data) |
static Vulnerability.Detail |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Vulnerability.Detail |
parseFrom(ByteBuffer data) |
static Vulnerability.Detail |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Vulnerability.Detail |
parseFrom(com.google.protobuf.ByteString data) |
static Vulnerability.Detail |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Vulnerability.Detail |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Vulnerability.Detail |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Vulnerability.Detail |
parseFrom(InputStream input) |
static Vulnerability.Detail |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Vulnerability.Detail> |
parser() |
Vulnerability.Detail.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CPE_URI_FIELD_NUMBER
public static final int PACKAGE_FIELD_NUMBER
public static final int MIN_AFFECTED_VERSION_FIELD_NUMBER
public static final int MAX_AFFECTED_VERSION_FIELD_NUMBER
public static final int SEVERITY_NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int FIXED_LOCATION_FIELD_NUMBER
public static final int PACKAGE_TYPE_FIELD_NUMBER
public static final int IS_OBSOLETE_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getCpeUri()
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;getCpeUri in interface Vulnerability.DetailOrBuilderpublic com.google.protobuf.ByteString getCpeUriBytes()
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;getCpeUriBytes in interface Vulnerability.DetailOrBuilderpublic String getPackage()
The name of the package where the vulnerability was found.
string package = 2;getPackage in interface Vulnerability.DetailOrBuilderpublic com.google.protobuf.ByteString getPackageBytes()
The name of the package where the vulnerability was found.
string package = 2;getPackageBytes in interface Vulnerability.DetailOrBuilderpublic boolean hasMinAffectedVersion()
The min version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version min_affected_version = 3;hasMinAffectedVersion in interface Vulnerability.DetailOrBuilderpublic Version getMinAffectedVersion()
The min version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version min_affected_version = 3;getMinAffectedVersion in interface Vulnerability.DetailOrBuilderpublic VersionOrBuilder getMinAffectedVersionOrBuilder()
The min version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version min_affected_version = 3;getMinAffectedVersionOrBuilder in interface Vulnerability.DetailOrBuilderpublic boolean hasMaxAffectedVersion()
The max version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version max_affected_version = 4;hasMaxAffectedVersion in interface Vulnerability.DetailOrBuilderpublic Version getMaxAffectedVersion()
The max version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version max_affected_version = 4;getMaxAffectedVersion in interface Vulnerability.DetailOrBuilderpublic VersionOrBuilder getMaxAffectedVersionOrBuilder()
The max version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version max_affected_version = 4;getMaxAffectedVersionOrBuilder in interface Vulnerability.DetailOrBuilderpublic String getSeverityName()
The severity (eg: distro assigned severity) for this vulnerability.
string severity_name = 5;getSeverityName in interface Vulnerability.DetailOrBuilderpublic com.google.protobuf.ByteString getSeverityNameBytes()
The severity (eg: distro assigned severity) for this vulnerability.
string severity_name = 5;getSeverityNameBytes in interface Vulnerability.DetailOrBuilderpublic String getDescription()
A vendor-specific description of this note.
string description = 6;getDescription in interface Vulnerability.DetailOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
A vendor-specific description of this note.
string description = 6;getDescriptionBytes in interface Vulnerability.DetailOrBuilderpublic boolean hasFixedLocation()
The fix for this specific package version.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 7;hasFixedLocation in interface Vulnerability.DetailOrBuilderpublic VulnerabilityLocation getFixedLocation()
The fix for this specific package version.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 7;getFixedLocation in interface Vulnerability.DetailOrBuilderpublic VulnerabilityLocationOrBuilder getFixedLocationOrBuilder()
The fix for this specific package version.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 7;getFixedLocationOrBuilder in interface Vulnerability.DetailOrBuilderpublic String getPackageType()
The type of package; whether native or non native(ruby gems, node.js packages etc).
string package_type = 8;getPackageType in interface Vulnerability.DetailOrBuilderpublic com.google.protobuf.ByteString getPackageTypeBytes()
The type of package; whether native or non native(ruby gems, node.js packages etc).
string package_type = 8;getPackageTypeBytes in interface Vulnerability.DetailOrBuilderpublic boolean getIsObsolete()
Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
bool is_obsolete = 9;getIsObsolete in interface Vulnerability.DetailOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Vulnerability.Detail parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Vulnerability.Detail parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Vulnerability.Detail parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Vulnerability.Detail parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Vulnerability.Detail parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Vulnerability.Detail parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Vulnerability.Detail parseFrom(InputStream input) throws IOException
IOExceptionpublic static Vulnerability.Detail parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Vulnerability.Detail parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Vulnerability.Detail parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Vulnerability.Detail parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Vulnerability.Detail parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Vulnerability.Detail.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Vulnerability.Detail.Builder newBuilder()
public static Vulnerability.Detail.Builder newBuilder(Vulnerability.Detail prototype)
public Vulnerability.Detail.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Vulnerability.Detail.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Vulnerability.Detail getDefaultInstance()
public static com.google.protobuf.Parser<Vulnerability.Detail> parser()
public com.google.protobuf.Parser<Vulnerability.Detail> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Vulnerability.Detail getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.