public static final class VulnerabilityNote.Detail extends GeneratedMessageV3 implements VulnerabilityNote.DetailOrBuilder
A detail for a distro and package affected by this vulnerability and its associated fix (if one is available).Protobuf type
grafeas.v1.VulnerabilityNote.Detail
Modifier and Type | Class and Description |
---|---|
static class |
VulnerabilityNote.Detail.Builder
A detail for a distro and package affected by this vulnerability and its
associated fix (if one is available).
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
AFFECTED_CPE_URI_FIELD_NUMBER |
static int |
AFFECTED_PACKAGE_FIELD_NUMBER |
static int |
AFFECTED_VERSION_END_FIELD_NUMBER |
static int |
AFFECTED_VERSION_START_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
FIXED_CPE_URI_FIELD_NUMBER |
static int |
FIXED_PACKAGE_FIELD_NUMBER |
static int |
FIXED_VERSION_FIELD_NUMBER |
static int |
IS_OBSOLETE_FIELD_NUMBER |
static int |
PACKAGE_TYPE_FIELD_NUMBER |
static int |
SEVERITY_NAME_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAffectedCpeUri()
Required.
|
ByteString |
getAffectedCpeUriBytes()
Required.
|
String |
getAffectedPackage()
Required.
|
ByteString |
getAffectedPackageBytes()
Required.
|
Version |
getAffectedVersionEnd()
The version number at the end of an interval in which this vulnerability
exists.
|
VersionOrBuilder |
getAffectedVersionEndOrBuilder()
The version number at the end of an interval in which this vulnerability
exists.
|
Version |
getAffectedVersionStart()
The version number at the start of an interval in which this
vulnerability exists.
|
VersionOrBuilder |
getAffectedVersionStartOrBuilder()
The version number at the start of an interval in which this
vulnerability exists.
|
static VulnerabilityNote.Detail |
getDefaultInstance() |
VulnerabilityNote.Detail |
getDefaultInstanceForType() |
String |
getDescription()
A vendor-specific description of this vulnerability.
|
ByteString |
getDescriptionBytes()
A vendor-specific description of this vulnerability.
|
static Descriptors.Descriptor |
getDescriptor() |
String |
getFixedCpeUri()
The distro recommended [CPE URI](https://cpe.mitre.org/specification/)
to update to that contains a fix for this vulnerability.
|
ByteString |
getFixedCpeUriBytes()
The distro recommended [CPE URI](https://cpe.mitre.org/specification/)
to update to that contains a fix for this vulnerability.
|
String |
getFixedPackage()
The distro recommended package to update to that contains a fix for this
vulnerability.
|
ByteString |
getFixedPackageBytes()
The distro recommended package to update to that contains a fix for this
vulnerability.
|
Version |
getFixedVersion()
The distro recommended version to update to that contains a
fix for this vulnerability.
|
VersionOrBuilder |
getFixedVersionOrBuilder()
The distro recommended version to update to that contains a
fix for this vulnerability.
|
boolean |
getIsObsolete()
Whether this detail is obsolete.
|
String |
getPackageType()
The type of package; whether native or non native (e.g., ruby gems,
node.js packages, etc.).
|
ByteString |
getPackageTypeBytes()
The type of package; whether native or non native (e.g., ruby gems,
node.js packages, etc.).
|
Parser<VulnerabilityNote.Detail> |
getParserForType() |
int |
getSerializedSize() |
String |
getSeverityName()
The distro assigned severity of this vulnerability.
|
ByteString |
getSeverityNameBytes()
The distro assigned severity of this vulnerability.
|
UnknownFieldSet |
getUnknownFields() |
boolean |
hasAffectedVersionEnd()
The version number at the end of an interval in which this vulnerability
exists.
|
boolean |
hasAffectedVersionStart()
The version number at the start of an interval in which this
vulnerability exists.
|
boolean |
hasFixedVersion()
The distro recommended version to update to that contains a
fix for this vulnerability.
|
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static VulnerabilityNote.Detail.Builder |
newBuilder() |
static VulnerabilityNote.Detail.Builder |
newBuilder(VulnerabilityNote.Detail prototype) |
VulnerabilityNote.Detail.Builder |
newBuilderForType() |
protected VulnerabilityNote.Detail.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static VulnerabilityNote.Detail |
parseDelimitedFrom(InputStream input) |
static VulnerabilityNote.Detail |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static VulnerabilityNote.Detail |
parseFrom(byte[] data) |
static VulnerabilityNote.Detail |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static VulnerabilityNote.Detail |
parseFrom(ByteBuffer data) |
static VulnerabilityNote.Detail |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static VulnerabilityNote.Detail |
parseFrom(ByteString data) |
static VulnerabilityNote.Detail |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static VulnerabilityNote.Detail |
parseFrom(CodedInputStream input) |
static VulnerabilityNote.Detail |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static VulnerabilityNote.Detail |
parseFrom(InputStream input) |
static VulnerabilityNote.Detail |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<VulnerabilityNote.Detail> |
parser() |
VulnerabilityNote.Detail.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int SEVERITY_NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int PACKAGE_TYPE_FIELD_NUMBER
public static final int AFFECTED_CPE_URI_FIELD_NUMBER
public static final int AFFECTED_PACKAGE_FIELD_NUMBER
public static final int AFFECTED_VERSION_START_FIELD_NUMBER
public static final int AFFECTED_VERSION_END_FIELD_NUMBER
public static final int FIXED_CPE_URI_FIELD_NUMBER
public static final int FIXED_PACKAGE_FIELD_NUMBER
public static final int FIXED_VERSION_FIELD_NUMBER
public static final int IS_OBSOLETE_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public String getSeverityName()
The distro assigned severity of this vulnerability.
string severity_name = 1;
getSeverityName
in interface VulnerabilityNote.DetailOrBuilder
public ByteString getSeverityNameBytes()
The distro assigned severity of this vulnerability.
string severity_name = 1;
getSeverityNameBytes
in interface VulnerabilityNote.DetailOrBuilder
public String getDescription()
A vendor-specific description of this vulnerability.
string description = 2;
getDescription
in interface VulnerabilityNote.DetailOrBuilder
public ByteString getDescriptionBytes()
A vendor-specific description of this vulnerability.
string description = 2;
getDescriptionBytes
in interface VulnerabilityNote.DetailOrBuilder
public String getPackageType()
The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
string package_type = 3;
getPackageType
in interface VulnerabilityNote.DetailOrBuilder
public ByteString getPackageTypeBytes()
The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
string package_type = 3;
getPackageTypeBytes
in interface VulnerabilityNote.DetailOrBuilder
public String getAffectedCpeUri()
Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects.
string affected_cpe_uri = 4;
getAffectedCpeUri
in interface VulnerabilityNote.DetailOrBuilder
public ByteString getAffectedCpeUriBytes()
Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects.
string affected_cpe_uri = 4;
getAffectedCpeUriBytes
in interface VulnerabilityNote.DetailOrBuilder
public String getAffectedPackage()
Required. The package this vulnerability affects.
string affected_package = 5;
getAffectedPackage
in interface VulnerabilityNote.DetailOrBuilder
public ByteString getAffectedPackageBytes()
Required. The package this vulnerability affects.
string affected_package = 5;
getAffectedPackageBytes
in interface VulnerabilityNote.DetailOrBuilder
public boolean hasAffectedVersionStart()
The version number at the start of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail.
.grafeas.v1.Version affected_version_start = 6;
hasAffectedVersionStart
in interface VulnerabilityNote.DetailOrBuilder
public Version getAffectedVersionStart()
The version number at the start of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail.
.grafeas.v1.Version affected_version_start = 6;
getAffectedVersionStart
in interface VulnerabilityNote.DetailOrBuilder
public VersionOrBuilder getAffectedVersionStartOrBuilder()
The version number at the start of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail.
.grafeas.v1.Version affected_version_start = 6;
getAffectedVersionStartOrBuilder
in interface VulnerabilityNote.DetailOrBuilder
public boolean hasAffectedVersionEnd()
The version number at the end of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail.
.grafeas.v1.Version affected_version_end = 7;
hasAffectedVersionEnd
in interface VulnerabilityNote.DetailOrBuilder
public Version getAffectedVersionEnd()
The version number at the end of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail.
.grafeas.v1.Version affected_version_end = 7;
getAffectedVersionEnd
in interface VulnerabilityNote.DetailOrBuilder
public VersionOrBuilder getAffectedVersionEndOrBuilder()
The version number at the end of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail.
.grafeas.v1.Version affected_version_end = 7;
getAffectedVersionEndOrBuilder
in interface VulnerabilityNote.DetailOrBuilder
public String getFixedCpeUri()
The distro recommended [CPE URI](https://cpe.mitre.org/specification/) to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_cpe_uri.
string fixed_cpe_uri = 8;
getFixedCpeUri
in interface VulnerabilityNote.DetailOrBuilder
public ByteString getFixedCpeUriBytes()
The distro recommended [CPE URI](https://cpe.mitre.org/specification/) to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_cpe_uri.
string fixed_cpe_uri = 8;
getFixedCpeUriBytes
in interface VulnerabilityNote.DetailOrBuilder
public String getFixedPackage()
The distro recommended package to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_package.
string fixed_package = 9;
getFixedPackage
in interface VulnerabilityNote.DetailOrBuilder
public ByteString getFixedPackageBytes()
The distro recommended package to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_package.
string fixed_package = 9;
getFixedPackageBytes
in interface VulnerabilityNote.DetailOrBuilder
public boolean hasFixedVersion()
The distro recommended version to update to that contains a fix for this vulnerability. Setting this to VersionKind.MAXIMUM means no such version is yet available.
.grafeas.v1.Version fixed_version = 10;
hasFixedVersion
in interface VulnerabilityNote.DetailOrBuilder
public Version getFixedVersion()
The distro recommended version to update to that contains a fix for this vulnerability. Setting this to VersionKind.MAXIMUM means no such version is yet available.
.grafeas.v1.Version fixed_version = 10;
getFixedVersion
in interface VulnerabilityNote.DetailOrBuilder
public VersionOrBuilder getFixedVersionOrBuilder()
The distro recommended version to update to that contains a fix for this vulnerability. Setting this to VersionKind.MAXIMUM means no such version is yet available.
.grafeas.v1.Version fixed_version = 10;
getFixedVersionOrBuilder
in interface VulnerabilityNote.DetailOrBuilder
public boolean getIsObsolete()
Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
bool is_obsolete = 11;
getIsObsolete
in interface VulnerabilityNote.DetailOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static VulnerabilityNote.Detail parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VulnerabilityNote.Detail parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VulnerabilityNote.Detail parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VulnerabilityNote.Detail parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VulnerabilityNote.Detail parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VulnerabilityNote.Detail parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VulnerabilityNote.Detail parseFrom(InputStream input) throws IOException
IOException
public static VulnerabilityNote.Detail parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static VulnerabilityNote.Detail parseDelimitedFrom(InputStream input) throws IOException
IOException
public static VulnerabilityNote.Detail parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static VulnerabilityNote.Detail parseFrom(CodedInputStream input) throws IOException
IOException
public static VulnerabilityNote.Detail parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public VulnerabilityNote.Detail.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static VulnerabilityNote.Detail.Builder newBuilder()
public static VulnerabilityNote.Detail.Builder newBuilder(VulnerabilityNote.Detail prototype)
public VulnerabilityNote.Detail.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected VulnerabilityNote.Detail.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static VulnerabilityNote.Detail getDefaultInstance()
public static Parser<VulnerabilityNote.Detail> parser()
public Parser<VulnerabilityNote.Detail> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public VulnerabilityNote.Detail getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2019 Google LLC. All rights reserved.