Package io.grafeas.v1beta1.vulnerability
Class Vulnerability.Detail.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Vulnerability.Detail.Builder>
-
- io.grafeas.v1beta1.vulnerability.Vulnerability.Detail.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Vulnerability.DetailOrBuilder
,Cloneable
- Enclosing class:
- Vulnerability.Detail
public static final class Vulnerability.Detail.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Vulnerability.Detail.Builder> implements Vulnerability.DetailOrBuilder
Identifies all appearances of this vulnerability in the package for a specific distro/location. For example: glibc in cpe:/o:debian:debian_linux:8 for versions 2.1 - 2.2
Protobuf typegrafeas.v1beta1.vulnerability.Vulnerability.Detail
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Vulnerability.Detail.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Vulnerability.Detail
build()
Vulnerability.Detail
buildPartial()
Vulnerability.Detail.Builder
clear()
Vulnerability.Detail.Builder
clearCpeUri()
Required.Vulnerability.Detail.Builder
clearDescription()
A vendor-specific description of this note.Vulnerability.Detail.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Vulnerability.Detail.Builder
clearFixedLocation()
The fix for this specific package version.Vulnerability.Detail.Builder
clearIsObsolete()
Whether this detail is obsolete.Vulnerability.Detail.Builder
clearMaxAffectedVersion()
The max version of the package in which the vulnerability exists.Vulnerability.Detail.Builder
clearMinAffectedVersion()
The min version of the package in which the vulnerability exists.Vulnerability.Detail.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Vulnerability.Detail.Builder
clearPackage()
Required.Vulnerability.Detail.Builder
clearPackageType()
The type of package; whether native or non native(ruby gems, node.js packages etc).Vulnerability.Detail.Builder
clearSeverityName()
The severity (eg: distro assigned severity) for this vulnerability.Vulnerability.Detail.Builder
clearSourceUpdateTime()
The time this information was last changed at the source.Vulnerability.Detail.Builder
clone()
String
getCpeUri()
Required.com.google.protobuf.ByteString
getCpeUriBytes()
Required.Vulnerability.Detail
getDefaultInstanceForType()
String
getDescription()
A vendor-specific description of this note.com.google.protobuf.ByteString
getDescriptionBytes()
A vendor-specific description of this note.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
VulnerabilityLocation
getFixedLocation()
The fix for this specific package version.VulnerabilityLocation.Builder
getFixedLocationBuilder()
The fix for this specific package version.VulnerabilityLocationOrBuilder
getFixedLocationOrBuilder()
The fix for this specific package version.boolean
getIsObsolete()
Whether this detail is obsolete.Version
getMaxAffectedVersion()
The max version of the package in which the vulnerability exists.Version.Builder
getMaxAffectedVersionBuilder()
The max version of the package in which the vulnerability exists.VersionOrBuilder
getMaxAffectedVersionOrBuilder()
The max version of the package in which the vulnerability exists.Version
getMinAffectedVersion()
The min version of the package in which the vulnerability exists.Version.Builder
getMinAffectedVersionBuilder()
The min version of the package in which the vulnerability exists.VersionOrBuilder
getMinAffectedVersionOrBuilder()
The min version of the package in which the vulnerability exists.String
getPackage()
Required.com.google.protobuf.ByteString
getPackageBytes()
Required.String
getPackageType()
The type of package; whether native or non native(ruby gems, node.js packages etc).com.google.protobuf.ByteString
getPackageTypeBytes()
The type of package; whether native or non native(ruby gems, node.js packages etc).String
getSeverityName()
The severity (eg: distro assigned severity) for this vulnerability.com.google.protobuf.ByteString
getSeverityNameBytes()
The severity (eg: distro assigned severity) for this vulnerability.com.google.protobuf.Timestamp
getSourceUpdateTime()
The time this information was last changed at the source.com.google.protobuf.Timestamp.Builder
getSourceUpdateTimeBuilder()
The time this information was last changed at the source.com.google.protobuf.TimestampOrBuilder
getSourceUpdateTimeOrBuilder()
The time this information was last changed at the source.boolean
hasFixedLocation()
The fix for this specific package version.boolean
hasMaxAffectedVersion()
The max version of the package in which the vulnerability exists.boolean
hasMinAffectedVersion()
The min version of the package in which the vulnerability exists.boolean
hasSourceUpdateTime()
The time this information was last changed at the source.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Vulnerability.Detail.Builder
mergeFixedLocation(VulnerabilityLocation value)
The fix for this specific package version.Vulnerability.Detail.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Vulnerability.Detail.Builder
mergeFrom(com.google.protobuf.Message other)
Vulnerability.Detail.Builder
mergeFrom(Vulnerability.Detail other)
Vulnerability.Detail.Builder
mergeMaxAffectedVersion(Version value)
The max version of the package in which the vulnerability exists.Vulnerability.Detail.Builder
mergeMinAffectedVersion(Version value)
The min version of the package in which the vulnerability exists.Vulnerability.Detail.Builder
mergeSourceUpdateTime(com.google.protobuf.Timestamp value)
The time this information was last changed at the source.Vulnerability.Detail.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Vulnerability.Detail.Builder
setCpeUri(String value)
Required.Vulnerability.Detail.Builder
setCpeUriBytes(com.google.protobuf.ByteString value)
Required.Vulnerability.Detail.Builder
setDescription(String value)
A vendor-specific description of this note.Vulnerability.Detail.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
A vendor-specific description of this note.Vulnerability.Detail.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Vulnerability.Detail.Builder
setFixedLocation(VulnerabilityLocation value)
The fix for this specific package version.Vulnerability.Detail.Builder
setFixedLocation(VulnerabilityLocation.Builder builderForValue)
The fix for this specific package version.Vulnerability.Detail.Builder
setIsObsolete(boolean value)
Whether this detail is obsolete.Vulnerability.Detail.Builder
setMaxAffectedVersion(Version value)
The max version of the package in which the vulnerability exists.Vulnerability.Detail.Builder
setMaxAffectedVersion(Version.Builder builderForValue)
The max version of the package in which the vulnerability exists.Vulnerability.Detail.Builder
setMinAffectedVersion(Version value)
The min version of the package in which the vulnerability exists.Vulnerability.Detail.Builder
setMinAffectedVersion(Version.Builder builderForValue)
The min version of the package in which the vulnerability exists.Vulnerability.Detail.Builder
setPackage(String value)
Required.Vulnerability.Detail.Builder
setPackageBytes(com.google.protobuf.ByteString value)
Required.Vulnerability.Detail.Builder
setPackageType(String value)
The type of package; whether native or non native(ruby gems, node.js packages etc).Vulnerability.Detail.Builder
setPackageTypeBytes(com.google.protobuf.ByteString value)
The type of package; whether native or non native(ruby gems, node.js packages etc).Vulnerability.Detail.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Vulnerability.Detail.Builder
setSeverityName(String value)
The severity (eg: distro assigned severity) for this vulnerability.Vulnerability.Detail.Builder
setSeverityNameBytes(com.google.protobuf.ByteString value)
The severity (eg: distro assigned severity) for this vulnerability.Vulnerability.Detail.Builder
setSourceUpdateTime(com.google.protobuf.Timestamp value)
The time this information was last changed at the source.Vulnerability.Detail.Builder
setSourceUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time this information was last changed at the source.Vulnerability.Detail.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Vulnerability.Detail.Builder>
-
clear
public Vulnerability.Detail.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Vulnerability.Detail.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Vulnerability.Detail.Builder>
-
getDefaultInstanceForType
public Vulnerability.Detail getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Vulnerability.Detail build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Vulnerability.Detail buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Vulnerability.Detail.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Vulnerability.Detail.Builder>
-
setField
public Vulnerability.Detail.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Vulnerability.Detail.Builder>
-
clearField
public Vulnerability.Detail.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Vulnerability.Detail.Builder>
-
clearOneof
public Vulnerability.Detail.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Vulnerability.Detail.Builder>
-
setRepeatedField
public Vulnerability.Detail.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Vulnerability.Detail.Builder>
-
addRepeatedField
public Vulnerability.Detail.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Vulnerability.Detail.Builder>
-
mergeFrom
public Vulnerability.Detail.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Vulnerability.Detail.Builder>
-
mergeFrom
public Vulnerability.Detail.Builder mergeFrom(Vulnerability.Detail other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Vulnerability.Detail.Builder>
-
mergeFrom
public Vulnerability.Detail.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Vulnerability.Detail.Builder>
- Throws:
IOException
-
getCpeUri
public String getCpeUri()
Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar.
string cpe_uri = 1;
- Specified by:
getCpeUri
in interfaceVulnerability.DetailOrBuilder
- Returns:
- The cpeUri.
-
getCpeUriBytes
public com.google.protobuf.ByteString getCpeUriBytes()
Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar.
string cpe_uri = 1;
- Specified by:
getCpeUriBytes
in interfaceVulnerability.DetailOrBuilder
- Returns:
- The bytes for cpeUri.
-
setCpeUri
public Vulnerability.Detail.Builder setCpeUri(String value)
Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar.
string cpe_uri = 1;
- Parameters:
value
- The cpeUri to set.- Returns:
- This builder for chaining.
-
clearCpeUri
public Vulnerability.Detail.Builder clearCpeUri()
Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar.
string cpe_uri = 1;
- Returns:
- This builder for chaining.
-
setCpeUriBytes
public Vulnerability.Detail.Builder setCpeUriBytes(com.google.protobuf.ByteString value)
Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar.
string cpe_uri = 1;
- Parameters:
value
- The bytes for cpeUri to set.- Returns:
- This builder for chaining.
-
getPackage
public String getPackage()
Required. The name of the package where the vulnerability was found.
string package = 2;
- Specified by:
getPackage
in interfaceVulnerability.DetailOrBuilder
- Returns:
- The package.
-
getPackageBytes
public com.google.protobuf.ByteString getPackageBytes()
Required. The name of the package where the vulnerability was found.
string package = 2;
- Specified by:
getPackageBytes
in interfaceVulnerability.DetailOrBuilder
- Returns:
- The bytes for package.
-
setPackage
public Vulnerability.Detail.Builder setPackage(String value)
Required. The name of the package where the vulnerability was found.
string package = 2;
- Parameters:
value
- The package to set.- Returns:
- This builder for chaining.
-
clearPackage
public Vulnerability.Detail.Builder clearPackage()
Required. The name of the package where the vulnerability was found.
string package = 2;
- Returns:
- This builder for chaining.
-
setPackageBytes
public Vulnerability.Detail.Builder setPackageBytes(com.google.protobuf.ByteString value)
Required. The name of the package where the vulnerability was found.
string package = 2;
- Parameters:
value
- The bytes for package to set.- Returns:
- This builder for chaining.
-
hasMinAffectedVersion
public boolean hasMinAffectedVersion()
The min version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version min_affected_version = 3;
- Specified by:
hasMinAffectedVersion
in interfaceVulnerability.DetailOrBuilder
- Returns:
- Whether the minAffectedVersion field is set.
-
getMinAffectedVersion
public Version getMinAffectedVersion()
The min version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version min_affected_version = 3;
- Specified by:
getMinAffectedVersion
in interfaceVulnerability.DetailOrBuilder
- Returns:
- The minAffectedVersion.
-
setMinAffectedVersion
public Vulnerability.Detail.Builder setMinAffectedVersion(Version value)
The min version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version min_affected_version = 3;
-
setMinAffectedVersion
public Vulnerability.Detail.Builder setMinAffectedVersion(Version.Builder builderForValue)
The min version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version min_affected_version = 3;
-
mergeMinAffectedVersion
public Vulnerability.Detail.Builder mergeMinAffectedVersion(Version value)
The min version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version min_affected_version = 3;
-
clearMinAffectedVersion
public Vulnerability.Detail.Builder clearMinAffectedVersion()
The min version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version min_affected_version = 3;
-
getMinAffectedVersionBuilder
public Version.Builder getMinAffectedVersionBuilder()
The min version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version min_affected_version = 3;
-
getMinAffectedVersionOrBuilder
public VersionOrBuilder getMinAffectedVersionOrBuilder()
The min version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version min_affected_version = 3;
- Specified by:
getMinAffectedVersionOrBuilder
in interfaceVulnerability.DetailOrBuilder
-
hasMaxAffectedVersion
public boolean hasMaxAffectedVersion()
The max version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version max_affected_version = 4;
- Specified by:
hasMaxAffectedVersion
in interfaceVulnerability.DetailOrBuilder
- Returns:
- Whether the maxAffectedVersion field is set.
-
getMaxAffectedVersion
public Version getMaxAffectedVersion()
The max version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version max_affected_version = 4;
- Specified by:
getMaxAffectedVersion
in interfaceVulnerability.DetailOrBuilder
- Returns:
- The maxAffectedVersion.
-
setMaxAffectedVersion
public Vulnerability.Detail.Builder setMaxAffectedVersion(Version value)
The max version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version max_affected_version = 4;
-
setMaxAffectedVersion
public Vulnerability.Detail.Builder setMaxAffectedVersion(Version.Builder builderForValue)
The max version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version max_affected_version = 4;
-
mergeMaxAffectedVersion
public Vulnerability.Detail.Builder mergeMaxAffectedVersion(Version value)
The max version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version max_affected_version = 4;
-
clearMaxAffectedVersion
public Vulnerability.Detail.Builder clearMaxAffectedVersion()
The max version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version max_affected_version = 4;
-
getMaxAffectedVersionBuilder
public Version.Builder getMaxAffectedVersionBuilder()
The max version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version max_affected_version = 4;
-
getMaxAffectedVersionOrBuilder
public VersionOrBuilder getMaxAffectedVersionOrBuilder()
The max version of the package in which the vulnerability exists.
.grafeas.v1beta1.package.Version max_affected_version = 4;
- Specified by:
getMaxAffectedVersionOrBuilder
in interfaceVulnerability.DetailOrBuilder
-
getSeverityName
public String getSeverityName()
The severity (eg: distro assigned severity) for this vulnerability.
string severity_name = 5;
- Specified by:
getSeverityName
in interfaceVulnerability.DetailOrBuilder
- Returns:
- The severityName.
-
getSeverityNameBytes
public com.google.protobuf.ByteString getSeverityNameBytes()
The severity (eg: distro assigned severity) for this vulnerability.
string severity_name = 5;
- Specified by:
getSeverityNameBytes
in interfaceVulnerability.DetailOrBuilder
- Returns:
- The bytes for severityName.
-
setSeverityName
public Vulnerability.Detail.Builder setSeverityName(String value)
The severity (eg: distro assigned severity) for this vulnerability.
string severity_name = 5;
- Parameters:
value
- The severityName to set.- Returns:
- This builder for chaining.
-
clearSeverityName
public Vulnerability.Detail.Builder clearSeverityName()
The severity (eg: distro assigned severity) for this vulnerability.
string severity_name = 5;
- Returns:
- This builder for chaining.
-
setSeverityNameBytes
public Vulnerability.Detail.Builder setSeverityNameBytes(com.google.protobuf.ByteString value)
The severity (eg: distro assigned severity) for this vulnerability.
string severity_name = 5;
- Parameters:
value
- The bytes for severityName to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
A vendor-specific description of this note.
string description = 6;
- Specified by:
getDescription
in interfaceVulnerability.DetailOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
A vendor-specific description of this note.
string description = 6;
- Specified by:
getDescriptionBytes
in interfaceVulnerability.DetailOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public Vulnerability.Detail.Builder setDescription(String value)
A vendor-specific description of this note.
string description = 6;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Vulnerability.Detail.Builder clearDescription()
A vendor-specific description of this note.
string description = 6;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Vulnerability.Detail.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
A vendor-specific description of this note.
string description = 6;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasFixedLocation
public boolean hasFixedLocation()
The fix for this specific package version.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 7;
- Specified by:
hasFixedLocation
in interfaceVulnerability.DetailOrBuilder
- Returns:
- Whether the fixedLocation field is set.
-
getFixedLocation
public VulnerabilityLocation getFixedLocation()
The fix for this specific package version.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 7;
- Specified by:
getFixedLocation
in interfaceVulnerability.DetailOrBuilder
- Returns:
- The fixedLocation.
-
setFixedLocation
public Vulnerability.Detail.Builder setFixedLocation(VulnerabilityLocation value)
The fix for this specific package version.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 7;
-
setFixedLocation
public Vulnerability.Detail.Builder setFixedLocation(VulnerabilityLocation.Builder builderForValue)
The fix for this specific package version.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 7;
-
mergeFixedLocation
public Vulnerability.Detail.Builder mergeFixedLocation(VulnerabilityLocation value)
The fix for this specific package version.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 7;
-
clearFixedLocation
public Vulnerability.Detail.Builder clearFixedLocation()
The fix for this specific package version.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 7;
-
getFixedLocationBuilder
public VulnerabilityLocation.Builder getFixedLocationBuilder()
The fix for this specific package version.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 7;
-
getFixedLocationOrBuilder
public VulnerabilityLocationOrBuilder getFixedLocationOrBuilder()
The fix for this specific package version.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 7;
- Specified by:
getFixedLocationOrBuilder
in interfaceVulnerability.DetailOrBuilder
-
getPackageType
public String getPackageType()
The type of package; whether native or non native(ruby gems, node.js packages etc).
string package_type = 8;
- Specified by:
getPackageType
in interfaceVulnerability.DetailOrBuilder
- Returns:
- The packageType.
-
getPackageTypeBytes
public com.google.protobuf.ByteString getPackageTypeBytes()
The type of package; whether native or non native(ruby gems, node.js packages etc).
string package_type = 8;
- Specified by:
getPackageTypeBytes
in interfaceVulnerability.DetailOrBuilder
- Returns:
- The bytes for packageType.
-
setPackageType
public Vulnerability.Detail.Builder setPackageType(String value)
The type of package; whether native or non native(ruby gems, node.js packages etc).
string package_type = 8;
- Parameters:
value
- The packageType to set.- Returns:
- This builder for chaining.
-
clearPackageType
public Vulnerability.Detail.Builder clearPackageType()
The type of package; whether native or non native(ruby gems, node.js packages etc).
string package_type = 8;
- Returns:
- This builder for chaining.
-
setPackageTypeBytes
public Vulnerability.Detail.Builder setPackageTypeBytes(com.google.protobuf.ByteString value)
The type of package; whether native or non native(ruby gems, node.js packages etc).
string package_type = 8;
- Parameters:
value
- The bytes for packageType to set.- Returns:
- This builder for chaining.
-
getIsObsolete
public boolean getIsObsolete()
Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
bool is_obsolete = 9;
- Specified by:
getIsObsolete
in interfaceVulnerability.DetailOrBuilder
- Returns:
- The isObsolete.
-
setIsObsolete
public Vulnerability.Detail.Builder setIsObsolete(boolean value)
Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
bool is_obsolete = 9;
- Parameters:
value
- The isObsolete to set.- Returns:
- This builder for chaining.
-
clearIsObsolete
public Vulnerability.Detail.Builder clearIsObsolete()
Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
bool is_obsolete = 9;
- Returns:
- This builder for chaining.
-
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 = 10;
- Specified by:
hasSourceUpdateTime
in interfaceVulnerability.DetailOrBuilder
- Returns:
- Whether the sourceUpdateTime field is set.
-
getSourceUpdateTime
public com.google.protobuf.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 = 10;
- Specified by:
getSourceUpdateTime
in interfaceVulnerability.DetailOrBuilder
- Returns:
- The sourceUpdateTime.
-
setSourceUpdateTime
public Vulnerability.Detail.Builder setSourceUpdateTime(com.google.protobuf.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 = 10;
-
setSourceUpdateTime
public Vulnerability.Detail.Builder setSourceUpdateTime(com.google.protobuf.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 = 10;
-
mergeSourceUpdateTime
public Vulnerability.Detail.Builder mergeSourceUpdateTime(com.google.protobuf.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 = 10;
-
clearSourceUpdateTime
public Vulnerability.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 = 10;
-
getSourceUpdateTimeBuilder
public com.google.protobuf.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 = 10;
-
getSourceUpdateTimeOrBuilder
public com.google.protobuf.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 = 10;
- Specified by:
getSourceUpdateTimeOrBuilder
in interfaceVulnerability.DetailOrBuilder
-
setUnknownFields
public final Vulnerability.Detail.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Vulnerability.Detail.Builder>
-
mergeUnknownFields
public final Vulnerability.Detail.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Vulnerability.Detail.Builder>
-
-