public static final class Vulnerability.Detail extends GeneratedMessageV3 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.2
Protobuf type grafeas.v1beta1.vulnerability.Vulnerability.Detail
Static Fields
CPE_URI_FIELD_NUMBER
public static final int CPE_URI_FIELD_NUMBER
Field Value
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
FIXED_LOCATION_FIELD_NUMBER
public static final int FIXED_LOCATION_FIELD_NUMBER
Field Value
IS_OBSOLETE_FIELD_NUMBER
public static final int IS_OBSOLETE_FIELD_NUMBER
Field Value
MAX_AFFECTED_VERSION_FIELD_NUMBER
public static final int MAX_AFFECTED_VERSION_FIELD_NUMBER
Field Value
MIN_AFFECTED_VERSION_FIELD_NUMBER
public static final int MIN_AFFECTED_VERSION_FIELD_NUMBER
Field Value
PACKAGE_FIELD_NUMBER
public static final int PACKAGE_FIELD_NUMBER
Field Value
PACKAGE_TYPE_FIELD_NUMBER
public static final int PACKAGE_TYPE_FIELD_NUMBER
Field Value
SEVERITY_NAME_FIELD_NUMBER
public static final int SEVERITY_NAME_FIELD_NUMBER
Field Value
SOURCE_UPDATE_TIME_FIELD_NUMBER
public static final int SOURCE_UPDATE_TIME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Vulnerability.Detail getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Vulnerability.Detail.Builder newBuilder()
Returns
newBuilder(Vulnerability.Detail prototype)
public static Vulnerability.Detail.Builder newBuilder(Vulnerability.Detail prototype)
Parameter
Returns
public static Vulnerability.Detail parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Vulnerability.Detail parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Vulnerability.Detail parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Vulnerability.Detail parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Vulnerability.Detail parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Vulnerability.Detail parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Vulnerability.Detail parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Vulnerability.Detail parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Vulnerability.Detail parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Vulnerability.Detail parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Vulnerability.Detail parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Vulnerability.Detail parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Vulnerability.Detail> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCpeUri()
public String getCpeUri()
Required. The CPE URI in
cpe format in which the
vulnerability manifests. Examples include distro or storage location for
vulnerable jar.
string cpe_uri = 1;
Returns
Type | Description |
String | The cpeUri.
|
getCpeUriBytes()
public ByteString getCpeUriBytes()
Required. The CPE URI in
cpe format in which the
vulnerability manifests. Examples include distro or storage location for
vulnerable jar.
string cpe_uri = 1;
Returns
getDefaultInstanceForType()
public Vulnerability.Detail getDefaultInstanceForType()
Returns
getDescription()
public String getDescription()
A vendor-specific description of this note.
string description = 6;
Returns
Type | Description |
String | The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
A vendor-specific description of this note.
string description = 6;
Returns
Type | Description |
ByteString | The bytes for description.
|
getFixedLocation()
public VulnerabilityLocation getFixedLocation()
The fix for this specific package version.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 7;
Returns
getFixedLocationOrBuilder()
public VulnerabilityLocationOrBuilder getFixedLocationOrBuilder()
The fix for this specific package version.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 7;
Returns
getIsObsolete()
public boolean getIsObsolete()
Whether this detail is obsolete. Occurrences are expected not to point to
obsolete details.
bool is_obsolete = 9;
Returns
Type | Description |
boolean | The isObsolete.
|
getMaxAffectedVersion()
public Version getMaxAffectedVersion()
The max version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version max_affected_version = 4;
Returns
Type | Description |
Version | The maxAffectedVersion.
|
getMaxAffectedVersionOrBuilder()
public VersionOrBuilder getMaxAffectedVersionOrBuilder()
The max version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version max_affected_version = 4;
Returns
getMinAffectedVersion()
public Version getMinAffectedVersion()
The min version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version min_affected_version = 3;
Returns
Type | Description |
Version | The minAffectedVersion.
|
getMinAffectedVersionOrBuilder()
public VersionOrBuilder getMinAffectedVersionOrBuilder()
The min version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version min_affected_version = 3;
Returns
getPackage()
public String getPackage()
Required. The name of the package where the vulnerability was found.
string package = 2;
Returns
Type | Description |
String | The package.
|
getPackageBytes()
public ByteString getPackageBytes()
Required. The name of the package where the vulnerability was found.
string package = 2;
Returns
getPackageType()
public String getPackageType()
The type of package; whether native or non native(ruby gems, node.js
packages etc).
string package_type = 8;
Returns
Type | Description |
String | The packageType.
|
getPackageTypeBytes()
public ByteString getPackageTypeBytes()
The type of package; whether native or non native(ruby gems, node.js
packages etc).
string package_type = 8;
Returns
Type | Description |
ByteString | The bytes for packageType.
|
getParserForType()
public Parser<Vulnerability.Detail> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSeverityName()
public String getSeverityName()
The severity (eg: distro assigned severity) for this vulnerability.
string severity_name = 5;
Returns
Type | Description |
String | The severityName.
|
getSeverityNameBytes()
public ByteString getSeverityNameBytes()
The severity (eg: distro assigned severity) for this vulnerability.
string severity_name = 5;
Returns
Type | Description |
ByteString | The bytes for severityName.
|
getSourceUpdateTime()
public 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;
Returns
Type | Description |
Timestamp | The sourceUpdateTime.
|
getSourceUpdateTimeOrBuilder()
public 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;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasFixedLocation()
public boolean hasFixedLocation()
The fix for this specific package version.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 7;
Returns
Type | Description |
boolean | Whether the fixedLocation field is set.
|
hasMaxAffectedVersion()
public boolean hasMaxAffectedVersion()
The max version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version max_affected_version = 4;
Returns
Type | Description |
boolean | Whether the maxAffectedVersion field is set.
|
hasMinAffectedVersion()
public boolean hasMinAffectedVersion()
The min version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version min_affected_version = 3;
Returns
Type | Description |
boolean | Whether the minAffectedVersion field is set.
|
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;
Returns
Type | Description |
boolean | Whether the sourceUpdateTime field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Vulnerability.Detail.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Vulnerability.Detail.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Vulnerability.Detail.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions