- 2.81.0 (latest)
- 2.79.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.71.0
- 2.69.0
- 2.68.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.3.1
- 2.2.3
- 2.1.3
public static final class VulnerabilityNote.Detail.Builder extends GeneratedMessageV3.Builder<VulnerabilityNote.Detail.Builder> implements VulnerabilityNote.DetailOrBuilderA detail for a distro and package affected by this vulnerability and its associated fix (if one is available).
Protobuf type grafeas.v1.VulnerabilityNote.Detail
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VulnerabilityNote.Detail.BuilderImplements
VulnerabilityNote.DetailOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityNote.Detail.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| VulnerabilityNote.Detail.Builder |
build()
public VulnerabilityNote.Detail build()| Type | Description |
| VulnerabilityNote.Detail |
buildPartial()
public VulnerabilityNote.Detail buildPartial()| Type | Description |
| VulnerabilityNote.Detail |
clear()
public VulnerabilityNote.Detail.Builder clear()| Type | Description |
| VulnerabilityNote.Detail.Builder |
clearAffectedCpeUri()
public VulnerabilityNote.Detail.Builder clearAffectedCpeUri()Required. The CPE URI this vulnerability affects.
string affected_cpe_uri = 4;
| Type | Description |
| VulnerabilityNote.Detail.Builder | This builder for chaining. |
clearAffectedPackage()
public VulnerabilityNote.Detail.Builder clearAffectedPackage()Required. The package this vulnerability affects.
string affected_package = 5;
| Type | Description |
| VulnerabilityNote.Detail.Builder | This builder for chaining. |
clearAffectedVersionEnd()
public VulnerabilityNote.Detail.Builder clearAffectedVersionEnd()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;
| Type | Description |
| VulnerabilityNote.Detail.Builder |
clearAffectedVersionStart()
public VulnerabilityNote.Detail.Builder clearAffectedVersionStart()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;
| Type | Description |
| VulnerabilityNote.Detail.Builder |
clearDescription()
public VulnerabilityNote.Detail.Builder clearDescription()A vendor-specific description of this vulnerability.
string description = 2;
| Type | Description |
| VulnerabilityNote.Detail.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public VulnerabilityNote.Detail.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| VulnerabilityNote.Detail.Builder |
clearFixedCpeUri()
public VulnerabilityNote.Detail.Builder clearFixedCpeUri()The distro recommended CPE URI 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;
| Type | Description |
| VulnerabilityNote.Detail.Builder | This builder for chaining. |
clearFixedPackage()
public VulnerabilityNote.Detail.Builder clearFixedPackage()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;
| Type | Description |
| VulnerabilityNote.Detail.Builder | This builder for chaining. |
clearFixedVersion()
public VulnerabilityNote.Detail.Builder clearFixedVersion()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;
| Type | Description |
| VulnerabilityNote.Detail.Builder |
clearIsObsolete()
public VulnerabilityNote.Detail.Builder clearIsObsolete()Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
bool is_obsolete = 11;
| Type | Description |
| VulnerabilityNote.Detail.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VulnerabilityNote.Detail.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| VulnerabilityNote.Detail.Builder |
clearPackageType()
public VulnerabilityNote.Detail.Builder clearPackageType()The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
string package_type = 3;
| Type | Description |
| VulnerabilityNote.Detail.Builder | This builder for chaining. |
clearSeverityName()
public VulnerabilityNote.Detail.Builder clearSeverityName()The distro assigned severity of this vulnerability.
string severity_name = 1;
| Type | Description |
| VulnerabilityNote.Detail.Builder | This builder for chaining. |
clearSourceUpdateTime()
public VulnerabilityNote.Detail.Builder clearSourceUpdateTime()The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.
.google.protobuf.Timestamp source_update_time = 12;
| Type | Description |
| VulnerabilityNote.Detail.Builder |
clone()
public VulnerabilityNote.Detail.Builder clone()| Type | Description |
| VulnerabilityNote.Detail.Builder |
getAffectedCpeUri()
public String getAffectedCpeUri()Required. The CPE URI this vulnerability affects.
string affected_cpe_uri = 4;
| Type | Description |
| String | The affectedCpeUri. |
getAffectedCpeUriBytes()
public ByteString getAffectedCpeUriBytes()Required. The CPE URI this vulnerability affects.
string affected_cpe_uri = 4;
| Type | Description |
| ByteString | The bytes for affectedCpeUri. |
getAffectedPackage()
public String getAffectedPackage()Required. The package this vulnerability affects.
string affected_package = 5;
| Type | Description |
| String | The affectedPackage. |
getAffectedPackageBytes()
public ByteString getAffectedPackageBytes()Required. The package this vulnerability affects.
string affected_package = 5;
| Type | Description |
| ByteString | The bytes for affectedPackage. |
getAffectedVersionEnd()
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;
| Type | Description |
| Version | The affectedVersionEnd. |
getAffectedVersionEndBuilder()
public Version.Builder getAffectedVersionEndBuilder()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;
| Type | Description |
| Version.Builder |
getAffectedVersionEndOrBuilder()
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;
| Type | Description |
| VersionOrBuilder |
getAffectedVersionStart()
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;
| Type | Description |
| Version | The affectedVersionStart. |
getAffectedVersionStartBuilder()
public Version.Builder getAffectedVersionStartBuilder()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;
| Type | Description |
| Version.Builder |
getAffectedVersionStartOrBuilder()
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;
| Type | Description |
| VersionOrBuilder |
getDefaultInstanceForType()
public VulnerabilityNote.Detail getDefaultInstanceForType()| Type | Description |
| VulnerabilityNote.Detail |
getDescription()
public String getDescription()A vendor-specific description of this vulnerability.
string description = 2;
| Type | Description |
| String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()A vendor-specific description of this vulnerability.
string description = 2;
| Type | Description |
| ByteString | The bytes for description. |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getFixedCpeUri()
public String getFixedCpeUri()The distro recommended CPE URI 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;
| Type | Description |
| String | The fixedCpeUri. |
getFixedCpeUriBytes()
public ByteString getFixedCpeUriBytes()The distro recommended CPE URI 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;
| Type | Description |
| ByteString | The bytes for fixedCpeUri. |
getFixedPackage()
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;
| Type | Description |
| String | The fixedPackage. |
getFixedPackageBytes()
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;
| Type | Description |
| ByteString | The bytes for fixedPackage. |
getFixedVersion()
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;
| Type | Description |
| Version | The fixedVersion. |
getFixedVersionBuilder()
public Version.Builder getFixedVersionBuilder()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;
| Type | Description |
| Version.Builder |
getFixedVersionOrBuilder()
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;
| Type | Description |
| VersionOrBuilder |
getIsObsolete()
public boolean getIsObsolete()Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
bool is_obsolete = 11;
| Type | Description |
| boolean | The isObsolete. |
getPackageType()
public String getPackageType()The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
string package_type = 3;
| Type | Description |
| String | The packageType. |
getPackageTypeBytes()
public ByteString getPackageTypeBytes()The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
string package_type = 3;
| Type | Description |
| ByteString | The bytes for packageType. |
getSeverityName()
public String getSeverityName()The distro assigned severity of this vulnerability.
string severity_name = 1;
| Type | Description |
| String | The severityName. |
getSeverityNameBytes()
public ByteString getSeverityNameBytes()The distro assigned severity of this vulnerability.
string severity_name = 1;
| Type | Description |
| ByteString | The bytes for severityName. |
getSourceUpdateTime()
public Timestamp getSourceUpdateTime()The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.
.google.protobuf.Timestamp source_update_time = 12;
| Type | Description |
| Timestamp | The sourceUpdateTime. |
getSourceUpdateTimeBuilder()
public Timestamp.Builder getSourceUpdateTimeBuilder()The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.
.google.protobuf.Timestamp source_update_time = 12;
| Type | Description |
| Builder |
getSourceUpdateTimeOrBuilder()
public TimestampOrBuilder getSourceUpdateTimeOrBuilder()The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.
.google.protobuf.Timestamp source_update_time = 12;
| Type | Description |
| TimestampOrBuilder |
hasAffectedVersionEnd()
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;
| Type | Description |
| boolean | Whether the affectedVersionEnd field is set. |
hasAffectedVersionStart()
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;
| Type | Description |
| boolean | Whether the affectedVersionStart field is set. |
hasFixedVersion()
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;
| Type | Description |
| boolean | Whether the fixedVersion field is set. |
hasSourceUpdateTime()
public boolean hasSourceUpdateTime()The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.
.google.protobuf.Timestamp source_update_time = 12;
| Type | Description |
| boolean | Whether the sourceUpdateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeAffectedVersionEnd(Version value)
public VulnerabilityNote.Detail.Builder mergeAffectedVersionEnd(Version value)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;
| Name | Description |
| value | Version |
| Type | Description |
| VulnerabilityNote.Detail.Builder |
mergeAffectedVersionStart(Version value)
public VulnerabilityNote.Detail.Builder mergeAffectedVersionStart(Version value)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;
| Name | Description |
| value | Version |
| Type | Description |
| VulnerabilityNote.Detail.Builder |
mergeFixedVersion(Version value)
public VulnerabilityNote.Detail.Builder mergeFixedVersion(Version value)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;
| Name | Description |
| value | Version |
| Type | Description |
| VulnerabilityNote.Detail.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VulnerabilityNote.Detail.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| VulnerabilityNote.Detail.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public VulnerabilityNote.Detail.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| VulnerabilityNote.Detail.Builder |
mergeFrom(VulnerabilityNote.Detail other)
public VulnerabilityNote.Detail.Builder mergeFrom(VulnerabilityNote.Detail other)| Name | Description |
| other | VulnerabilityNote.Detail |
| Type | Description |
| VulnerabilityNote.Detail.Builder |
mergeSourceUpdateTime(Timestamp value)
public VulnerabilityNote.Detail.Builder mergeSourceUpdateTime(Timestamp value)The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.
.google.protobuf.Timestamp source_update_time = 12;
| Name | Description |
| value | Timestamp |
| Type | Description |
| VulnerabilityNote.Detail.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityNote.Detail.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| VulnerabilityNote.Detail.Builder |
setAffectedCpeUri(String value)
public VulnerabilityNote.Detail.Builder setAffectedCpeUri(String value)Required. The CPE URI this vulnerability affects.
string affected_cpe_uri = 4;
| Name | Description |
| value | StringThe affectedCpeUri to set. |
| Type | Description |
| VulnerabilityNote.Detail.Builder | This builder for chaining. |
setAffectedCpeUriBytes(ByteString value)
public VulnerabilityNote.Detail.Builder setAffectedCpeUriBytes(ByteString value)Required. The CPE URI this vulnerability affects.
string affected_cpe_uri = 4;
| Name | Description |
| value | ByteStringThe bytes for affectedCpeUri to set. |
| Type | Description |
| VulnerabilityNote.Detail.Builder | This builder for chaining. |
setAffectedPackage(String value)
public VulnerabilityNote.Detail.Builder setAffectedPackage(String value)Required. The package this vulnerability affects.
string affected_package = 5;
| Name | Description |
| value | StringThe affectedPackage to set. |
| Type | Description |
| VulnerabilityNote.Detail.Builder | This builder for chaining. |
setAffectedPackageBytes(ByteString value)
public VulnerabilityNote.Detail.Builder setAffectedPackageBytes(ByteString value)Required. The package this vulnerability affects.
string affected_package = 5;
| Name | Description |
| value | ByteStringThe bytes for affectedPackage to set. |
| Type | Description |
| VulnerabilityNote.Detail.Builder | This builder for chaining. |
setAffectedVersionEnd(Version value)
public VulnerabilityNote.Detail.Builder setAffectedVersionEnd(Version value)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;
| Name | Description |
| value | Version |
| Type | Description |
| VulnerabilityNote.Detail.Builder |
setAffectedVersionEnd(Version.Builder builderForValue)
public VulnerabilityNote.Detail.Builder setAffectedVersionEnd(Version.Builder builderForValue)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;
| Name | Description |
| builderForValue | Version.Builder |
| Type | Description |
| VulnerabilityNote.Detail.Builder |
setAffectedVersionStart(Version value)
public VulnerabilityNote.Detail.Builder setAffectedVersionStart(Version value)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;
| Name | Description |
| value | Version |
| Type | Description |
| VulnerabilityNote.Detail.Builder |
setAffectedVersionStart(Version.Builder builderForValue)
public VulnerabilityNote.Detail.Builder setAffectedVersionStart(Version.Builder builderForValue)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;
| Name | Description |
| builderForValue | Version.Builder |
| Type | Description |
| VulnerabilityNote.Detail.Builder |
setDescription(String value)
public VulnerabilityNote.Detail.Builder setDescription(String value)A vendor-specific description of this vulnerability.
string description = 2;
| Name | Description |
| value | StringThe description to set. |
| Type | Description |
| VulnerabilityNote.Detail.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public VulnerabilityNote.Detail.Builder setDescriptionBytes(ByteString value)A vendor-specific description of this vulnerability.
string description = 2;
| Name | Description |
| value | ByteStringThe bytes for description to set. |
| Type | Description |
| VulnerabilityNote.Detail.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityNote.Detail.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| VulnerabilityNote.Detail.Builder |
setFixedCpeUri(String value)
public VulnerabilityNote.Detail.Builder setFixedCpeUri(String value)The distro recommended CPE URI 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;
| Name | Description |
| value | StringThe fixedCpeUri to set. |
| Type | Description |
| VulnerabilityNote.Detail.Builder | This builder for chaining. |
setFixedCpeUriBytes(ByteString value)
public VulnerabilityNote.Detail.Builder setFixedCpeUriBytes(ByteString value)The distro recommended CPE URI 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;
| Name | Description |
| value | ByteStringThe bytes for fixedCpeUri to set. |
| Type | Description |
| VulnerabilityNote.Detail.Builder | This builder for chaining. |
setFixedPackage(String value)
public VulnerabilityNote.Detail.Builder setFixedPackage(String value)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;
| Name | Description |
| value | StringThe fixedPackage to set. |
| Type | Description |
| VulnerabilityNote.Detail.Builder | This builder for chaining. |
setFixedPackageBytes(ByteString value)
public VulnerabilityNote.Detail.Builder setFixedPackageBytes(ByteString value)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;
| Name | Description |
| value | ByteStringThe bytes for fixedPackage to set. |
| Type | Description |
| VulnerabilityNote.Detail.Builder | This builder for chaining. |
setFixedVersion(Version value)
public VulnerabilityNote.Detail.Builder setFixedVersion(Version value)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;
| Name | Description |
| value | Version |
| Type | Description |
| VulnerabilityNote.Detail.Builder |
setFixedVersion(Version.Builder builderForValue)
public VulnerabilityNote.Detail.Builder setFixedVersion(Version.Builder builderForValue)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;
| Name | Description |
| builderForValue | Version.Builder |
| Type | Description |
| VulnerabilityNote.Detail.Builder |
setIsObsolete(boolean value)
public VulnerabilityNote.Detail.Builder setIsObsolete(boolean value)Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
bool is_obsolete = 11;
| Name | Description |
| value | booleanThe isObsolete to set. |
| Type | Description |
| VulnerabilityNote.Detail.Builder | This builder for chaining. |
setPackageType(String value)
public VulnerabilityNote.Detail.Builder setPackageType(String value)The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
string package_type = 3;
| Name | Description |
| value | StringThe packageType to set. |
| Type | Description |
| VulnerabilityNote.Detail.Builder | This builder for chaining. |
setPackageTypeBytes(ByteString value)
public VulnerabilityNote.Detail.Builder setPackageTypeBytes(ByteString value)The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
string package_type = 3;
| Name | Description |
| value | ByteStringThe bytes for packageType to set. |
| Type | Description |
| VulnerabilityNote.Detail.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VulnerabilityNote.Detail.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| VulnerabilityNote.Detail.Builder |
setSeverityName(String value)
public VulnerabilityNote.Detail.Builder setSeverityName(String value)The distro assigned severity of this vulnerability.
string severity_name = 1;
| Name | Description |
| value | StringThe severityName to set. |
| Type | Description |
| VulnerabilityNote.Detail.Builder | This builder for chaining. |
setSeverityNameBytes(ByteString value)
public VulnerabilityNote.Detail.Builder setSeverityNameBytes(ByteString value)The distro assigned severity of this vulnerability.
string severity_name = 1;
| Name | Description |
| value | ByteStringThe bytes for severityName to set. |
| Type | Description |
| VulnerabilityNote.Detail.Builder | This builder for chaining. |
setSourceUpdateTime(Timestamp value)
public VulnerabilityNote.Detail.Builder setSourceUpdateTime(Timestamp value)The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.
.google.protobuf.Timestamp source_update_time = 12;
| Name | Description |
| value | Timestamp |
| Type | Description |
| VulnerabilityNote.Detail.Builder |
setSourceUpdateTime(Timestamp.Builder builderForValue)
public VulnerabilityNote.Detail.Builder setSourceUpdateTime(Timestamp.Builder builderForValue)The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.
.google.protobuf.Timestamp source_update_time = 12;
| Name | Description |
| builderForValue | Builder |
| Type | Description |
| VulnerabilityNote.Detail.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityNote.Detail.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| VulnerabilityNote.Detail.Builder |