public static final class VulnerabilityOccurrence.PackageIssue extends GeneratedMessageV3 implements VulnerabilityOccurrence.PackageIssueOrBuilder
A detail for a distro and package this vulnerability occurrence was found in and its associated fix (if one is available).Protobuf type
grafeas.v1.VulnerabilityOccurrence.PackageIssue| Modifier and Type | Class and Description |
|---|---|
static class |
VulnerabilityOccurrence.PackageIssue.Builder
A detail for a distro and package this vulnerability occurrence was found
in 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_FIELD_NUMBER |
static int |
FIX_AVAILABLE_FIELD_NUMBER |
static int |
FIXED_CPE_URI_FIELD_NUMBER |
static int |
FIXED_PACKAGE_FIELD_NUMBER |
static int |
FIXED_VERSION_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, 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 AFFECTED_CPE_URI_FIELD_NUMBER
public static final int AFFECTED_PACKAGE_FIELD_NUMBER
public static final int AFFECTED_VERSION_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 FIX_AVAILABLE_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 getAffectedCpeUri()
Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability was found in.
string affected_cpe_uri = 1;getAffectedCpeUri in interface VulnerabilityOccurrence.PackageIssueOrBuilderpublic ByteString getAffectedCpeUriBytes()
Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability was found in.
string affected_cpe_uri = 1;getAffectedCpeUriBytes in interface VulnerabilityOccurrence.PackageIssueOrBuilderpublic String getAffectedPackage()
Required. The package this vulnerability was found in.
string affected_package = 2;getAffectedPackage in interface VulnerabilityOccurrence.PackageIssueOrBuilderpublic ByteString getAffectedPackageBytes()
Required. The package this vulnerability was found in.
string affected_package = 2;getAffectedPackageBytes in interface VulnerabilityOccurrence.PackageIssueOrBuilderpublic boolean hasAffectedVersion()
Required. The version of the package that is installed on the resource affected by this vulnerability.
.grafeas.v1.Version affected_version = 3;hasAffectedVersion in interface VulnerabilityOccurrence.PackageIssueOrBuilderpublic Version getAffectedVersion()
Required. The version of the package that is installed on the resource affected by this vulnerability.
.grafeas.v1.Version affected_version = 3;getAffectedVersion in interface VulnerabilityOccurrence.PackageIssueOrBuilderpublic VersionOrBuilder getAffectedVersionOrBuilder()
Required. The version of the package that is installed on the resource affected by this vulnerability.
.grafeas.v1.Version affected_version = 3;getAffectedVersionOrBuilder in interface VulnerabilityOccurrence.PackageIssueOrBuilderpublic String getFixedCpeUri()
The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability was fixed in. It is possible for this to be different from the affected_cpe_uri.
string fixed_cpe_uri = 4;getFixedCpeUri in interface VulnerabilityOccurrence.PackageIssueOrBuilderpublic ByteString getFixedCpeUriBytes()
The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability was fixed in. It is possible for this to be different from the affected_cpe_uri.
string fixed_cpe_uri = 4;getFixedCpeUriBytes in interface VulnerabilityOccurrence.PackageIssueOrBuilderpublic String getFixedPackage()
The package this vulnerability was fixed in. It is possible for this to be different from the affected_package.
string fixed_package = 5;getFixedPackage in interface VulnerabilityOccurrence.PackageIssueOrBuilderpublic ByteString getFixedPackageBytes()
The package this vulnerability was fixed in. It is possible for this to be different from the affected_package.
string fixed_package = 5;getFixedPackageBytes in interface VulnerabilityOccurrence.PackageIssueOrBuilderpublic boolean hasFixedVersion()
Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.
.grafeas.v1.Version fixed_version = 6;hasFixedVersion in interface VulnerabilityOccurrence.PackageIssueOrBuilderpublic Version getFixedVersion()
Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.
.grafeas.v1.Version fixed_version = 6;getFixedVersion in interface VulnerabilityOccurrence.PackageIssueOrBuilderpublic VersionOrBuilder getFixedVersionOrBuilder()
Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.
.grafeas.v1.Version fixed_version = 6;getFixedVersionOrBuilder in interface VulnerabilityOccurrence.PackageIssueOrBuilderpublic boolean getFixAvailable()
Output only. Whether a fix is available for this package.
bool fix_available = 7;getFixAvailable in interface VulnerabilityOccurrence.PackageIssueOrBuilderpublic 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 VulnerabilityOccurrence.PackageIssue parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static VulnerabilityOccurrence.PackageIssue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static VulnerabilityOccurrence.PackageIssue parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static VulnerabilityOccurrence.PackageIssue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static VulnerabilityOccurrence.PackageIssue parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static VulnerabilityOccurrence.PackageIssue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static VulnerabilityOccurrence.PackageIssue parseFrom(InputStream input) throws IOException
IOExceptionpublic static VulnerabilityOccurrence.PackageIssue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VulnerabilityOccurrence.PackageIssue parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static VulnerabilityOccurrence.PackageIssue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VulnerabilityOccurrence.PackageIssue parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static VulnerabilityOccurrence.PackageIssue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic VulnerabilityOccurrence.PackageIssue.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static VulnerabilityOccurrence.PackageIssue.Builder newBuilder()
public static VulnerabilityOccurrence.PackageIssue.Builder newBuilder(VulnerabilityOccurrence.PackageIssue prototype)
public VulnerabilityOccurrence.PackageIssue.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected VulnerabilityOccurrence.PackageIssue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static VulnerabilityOccurrence.PackageIssue getDefaultInstance()
public static Parser<VulnerabilityOccurrence.PackageIssue> parser()
public Parser<VulnerabilityOccurrence.PackageIssue> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public VulnerabilityOccurrence.PackageIssue getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.