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.UnusedPrivateParameterAbstractMessageLite.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, unknownFieldsmemoizedSizememoizedHashCode| 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic 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 MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public String getSeverityName()
The distro assigned severity of this vulnerability.
string severity_name = 1;getSeverityName in interface VulnerabilityNote.DetailOrBuilderpublic ByteString getSeverityNameBytes()
The distro assigned severity of this vulnerability.
string severity_name = 1;getSeverityNameBytes in interface VulnerabilityNote.DetailOrBuilderpublic String getDescription()
A vendor-specific description of this vulnerability.
string description = 2;getDescription in interface VulnerabilityNote.DetailOrBuilderpublic ByteString getDescriptionBytes()
A vendor-specific description of this vulnerability.
string description = 2;getDescriptionBytes in interface VulnerabilityNote.DetailOrBuilderpublic 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.DetailOrBuilderpublic 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.DetailOrBuilderpublic String getAffectedCpeUri()
Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects.
string affected_cpe_uri = 4;getAffectedCpeUri in interface VulnerabilityNote.DetailOrBuilderpublic ByteString getAffectedCpeUriBytes()
Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects.
string affected_cpe_uri = 4;getAffectedCpeUriBytes in interface VulnerabilityNote.DetailOrBuilderpublic String getAffectedPackage()
Required. The package this vulnerability affects.
string affected_package = 5;getAffectedPackage in interface VulnerabilityNote.DetailOrBuilderpublic ByteString getAffectedPackageBytes()
Required. The package this vulnerability affects.
string affected_package = 5;getAffectedPackageBytes in interface VulnerabilityNote.DetailOrBuilderpublic 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.DetailOrBuilderpublic 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.DetailOrBuilderpublic 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.DetailOrBuilderpublic 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.DetailOrBuilderpublic 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.DetailOrBuilderpublic 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.DetailOrBuilderpublic 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.DetailOrBuilderpublic 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.DetailOrBuilderpublic 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.DetailOrBuilderpublic 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.DetailOrBuilderpublic 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.DetailOrBuilderpublic 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.DetailOrBuilderpublic 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.DetailOrBuilderpublic boolean getIsObsolete()
Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
bool is_obsolete = 11;getIsObsolete in interface VulnerabilityNote.DetailOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static VulnerabilityNote.Detail parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static VulnerabilityNote.Detail parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static VulnerabilityNote.Detail parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static VulnerabilityNote.Detail parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static VulnerabilityNote.Detail parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static VulnerabilityNote.Detail parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static VulnerabilityNote.Detail parseFrom(InputStream input) throws IOException
IOExceptionpublic static VulnerabilityNote.Detail parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VulnerabilityNote.Detail parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static VulnerabilityNote.Detail parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VulnerabilityNote.Detail parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static VulnerabilityNote.Detail parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic VulnerabilityNote.Detail.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static VulnerabilityNote.Detail.Builder newBuilder()
public static VulnerabilityNote.Detail.Builder newBuilder(VulnerabilityNote.Detail prototype)
public VulnerabilityNote.Detail.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected VulnerabilityNote.Detail.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static VulnerabilityNote.Detail getDefaultInstance()
public static Parser<VulnerabilityNote.Detail> parser()
public Parser<VulnerabilityNote.Detail> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public VulnerabilityNote.Detail getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.