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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
CPE_URI_FIELD_NUMBER
public static final int CPE_URI_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FIXED_LOCATION_FIELD_NUMBER
public static final int FIXED_LOCATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
IS_OBSOLETE_FIELD_NUMBER
public static final int IS_OBSOLETE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MAX_AFFECTED_VERSION_FIELD_NUMBER
public static final int MAX_AFFECTED_VERSION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MIN_AFFECTED_VERSION_FIELD_NUMBER
public static final int MIN_AFFECTED_VERSION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PACKAGE_FIELD_NUMBER
public static final int PACKAGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PACKAGE_TYPE_FIELD_NUMBER
public static final int PACKAGE_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SEVERITY_NAME_FIELD_NUMBER
public static final int SEVERITY_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SOURCE_UPDATE_TIME_FIELD_NUMBER
public static final int SOURCE_UPDATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Vulnerability.Detail getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Vulnerability.Detail.Builder newBuilder()
newBuilder(Vulnerability.Detail prototype)
public static Vulnerability.Detail.Builder newBuilder(Vulnerability.Detail prototype)
public static Vulnerability.Detail parseDelimitedFrom(InputStream input)
public static Vulnerability.Detail parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Vulnerability.Detail parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Vulnerability.Detail parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Vulnerability.Detail parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Vulnerability.Detail parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Vulnerability.Detail parseFrom(CodedInputStream input)
public static Vulnerability.Detail parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Vulnerability.Detail parseFrom(InputStream input)
public static Vulnerability.Detail parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Vulnerability.Detail parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Vulnerability.Detail parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Vulnerability.Detail> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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 |
---|
Type | Description |
ByteString | The bytes for cpeUri.
|
getDefaultInstanceForType()
public Vulnerability.Detail getDefaultInstanceForType()
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;
getFixedLocationOrBuilder()
public VulnerabilityLocationOrBuilder getFixedLocationOrBuilder()
The fix for this specific package version.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 7;
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;
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;
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 |
---|
Type | Description |
ByteString | The bytes for package.
|
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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;
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Vulnerability.Detail.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Vulnerability.Detail.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Vulnerability.Detail.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides