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.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_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, unknownFields
memoizedSize
memoizedHashCode
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 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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.PackageIssueOrBuilder
public 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.PackageIssueOrBuilder
public String getAffectedPackage()
Required. The package this vulnerability was found in.
string affected_package = 2;
getAffectedPackage
in interface VulnerabilityOccurrence.PackageIssueOrBuilder
public ByteString getAffectedPackageBytes()
Required. The package this vulnerability was found in.
string affected_package = 2;
getAffectedPackageBytes
in interface VulnerabilityOccurrence.PackageIssueOrBuilder
public 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.PackageIssueOrBuilder
public 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.PackageIssueOrBuilder
public 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.PackageIssueOrBuilder
public 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.PackageIssueOrBuilder
public 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.PackageIssueOrBuilder
public 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.PackageIssueOrBuilder
public 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.PackageIssueOrBuilder
public 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.PackageIssueOrBuilder
public 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.PackageIssueOrBuilder
public 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.PackageIssueOrBuilder
public boolean getFixAvailable()
Output only. Whether a fix is available for this package.
bool fix_available = 7;
getFixAvailable
in interface VulnerabilityOccurrence.PackageIssueOrBuilder
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 VulnerabilityOccurrence.PackageIssue parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VulnerabilityOccurrence.PackageIssue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VulnerabilityOccurrence.PackageIssue parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VulnerabilityOccurrence.PackageIssue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VulnerabilityOccurrence.PackageIssue parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VulnerabilityOccurrence.PackageIssue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static VulnerabilityOccurrence.PackageIssue parseFrom(InputStream input) throws IOException
IOException
public static VulnerabilityOccurrence.PackageIssue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static VulnerabilityOccurrence.PackageIssue parseDelimitedFrom(InputStream input) throws IOException
IOException
public static VulnerabilityOccurrence.PackageIssue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static VulnerabilityOccurrence.PackageIssue parseFrom(CodedInputStream input) throws IOException
IOException
public static VulnerabilityOccurrence.PackageIssue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public VulnerabilityOccurrence.PackageIssue.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static VulnerabilityOccurrence.PackageIssue.Builder newBuilder()
public static VulnerabilityOccurrence.PackageIssue.Builder newBuilder(VulnerabilityOccurrence.PackageIssue prototype)
public VulnerabilityOccurrence.PackageIssue.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected VulnerabilityOccurrence.PackageIssue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static VulnerabilityOccurrence.PackageIssue getDefaultInstance()
public static Parser<VulnerabilityOccurrence.PackageIssue> parser()
public Parser<VulnerabilityOccurrence.PackageIssue> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public VulnerabilityOccurrence.PackageIssue getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2019 Google LLC. All rights reserved.