public static final class VulnerabilityOccurrence.PackageIssue.Builder extends GeneratedMessageV3.Builder<VulnerabilityOccurrence.PackageIssue.Builder> 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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<VulnerabilityOccurrence.PackageIssue.Builder>
public VulnerabilityOccurrence.PackageIssue.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<VulnerabilityOccurrence.PackageIssue.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<VulnerabilityOccurrence.PackageIssue.Builder>
public VulnerabilityOccurrence.PackageIssue getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public VulnerabilityOccurrence.PackageIssue build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public VulnerabilityOccurrence.PackageIssue buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public VulnerabilityOccurrence.PackageIssue.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<VulnerabilityOccurrence.PackageIssue.Builder>
public VulnerabilityOccurrence.PackageIssue.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<VulnerabilityOccurrence.PackageIssue.Builder>
public VulnerabilityOccurrence.PackageIssue.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<VulnerabilityOccurrence.PackageIssue.Builder>
public VulnerabilityOccurrence.PackageIssue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<VulnerabilityOccurrence.PackageIssue.Builder>
public VulnerabilityOccurrence.PackageIssue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<VulnerabilityOccurrence.PackageIssue.Builder>
public VulnerabilityOccurrence.PackageIssue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<VulnerabilityOccurrence.PackageIssue.Builder>
public VulnerabilityOccurrence.PackageIssue.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<VulnerabilityOccurrence.PackageIssue.Builder>
public VulnerabilityOccurrence.PackageIssue.Builder mergeFrom(VulnerabilityOccurrence.PackageIssue other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<VulnerabilityOccurrence.PackageIssue.Builder>
public VulnerabilityOccurrence.PackageIssue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<VulnerabilityOccurrence.PackageIssue.Builder>
IOException
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 VulnerabilityOccurrence.PackageIssue.Builder setAffectedCpeUri(String value)
Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability was found in.
string affected_cpe_uri = 1;
public VulnerabilityOccurrence.PackageIssue.Builder clearAffectedCpeUri()
Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability was found in.
string affected_cpe_uri = 1;
public VulnerabilityOccurrence.PackageIssue.Builder setAffectedCpeUriBytes(ByteString value)
Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability was found in.
string affected_cpe_uri = 1;
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 VulnerabilityOccurrence.PackageIssue.Builder setAffectedPackage(String value)
Required. The package this vulnerability was found in.
string affected_package = 2;
public VulnerabilityOccurrence.PackageIssue.Builder clearAffectedPackage()
Required. The package this vulnerability was found in.
string affected_package = 2;
public VulnerabilityOccurrence.PackageIssue.Builder setAffectedPackageBytes(ByteString value)
Required. The package this vulnerability was found in.
string affected_package = 2;
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 VulnerabilityOccurrence.PackageIssue.Builder setAffectedVersion(Version value)
Required. The version of the package that is installed on the resource affected by this vulnerability.
.grafeas.v1.Version affected_version = 3;
public VulnerabilityOccurrence.PackageIssue.Builder setAffectedVersion(Version.Builder builderForValue)
Required. The version of the package that is installed on the resource affected by this vulnerability.
.grafeas.v1.Version affected_version = 3;
public VulnerabilityOccurrence.PackageIssue.Builder mergeAffectedVersion(Version value)
Required. The version of the package that is installed on the resource affected by this vulnerability.
.grafeas.v1.Version affected_version = 3;
public VulnerabilityOccurrence.PackageIssue.Builder clearAffectedVersion()
Required. The version of the package that is installed on the resource affected by this vulnerability.
.grafeas.v1.Version affected_version = 3;
public Version.Builder getAffectedVersionBuilder()
Required. The version of the package that is installed on the resource affected by this vulnerability.
.grafeas.v1.Version affected_version = 3;
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 VulnerabilityOccurrence.PackageIssue.Builder setFixedCpeUri(String value)
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;
public VulnerabilityOccurrence.PackageIssue.Builder clearFixedCpeUri()
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;
public VulnerabilityOccurrence.PackageIssue.Builder setFixedCpeUriBytes(ByteString value)
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;
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 VulnerabilityOccurrence.PackageIssue.Builder setFixedPackage(String value)
The package this vulnerability was fixed in. It is possible for this to be different from the affected_package.
string fixed_package = 5;
public VulnerabilityOccurrence.PackageIssue.Builder clearFixedPackage()
The package this vulnerability was fixed in. It is possible for this to be different from the affected_package.
string fixed_package = 5;
public VulnerabilityOccurrence.PackageIssue.Builder setFixedPackageBytes(ByteString value)
The package this vulnerability was fixed in. It is possible for this to be different from the affected_package.
string fixed_package = 5;
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 VulnerabilityOccurrence.PackageIssue.Builder setFixedVersion(Version value)
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;
public VulnerabilityOccurrence.PackageIssue.Builder setFixedVersion(Version.Builder builderForValue)
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;
public VulnerabilityOccurrence.PackageIssue.Builder mergeFixedVersion(Version value)
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;
public VulnerabilityOccurrence.PackageIssue.Builder clearFixedVersion()
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;
public Version.Builder getFixedVersionBuilder()
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;
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 VulnerabilityOccurrence.PackageIssue.Builder setFixAvailable(boolean value)
Output only. Whether a fix is available for this package.
bool fix_available = 7;
public VulnerabilityOccurrence.PackageIssue.Builder clearFixAvailable()
Output only. Whether a fix is available for this package.
bool fix_available = 7;
public final VulnerabilityOccurrence.PackageIssue.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<VulnerabilityOccurrence.PackageIssue.Builder>
public final VulnerabilityOccurrence.PackageIssue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<VulnerabilityOccurrence.PackageIssue.Builder>
Copyright © 2019 Google LLC. All rights reserved.