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.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Vulnerability.Detailbuild()Vulnerability.DetailbuildPartial()Vulnerability.Detail.Builderclear()Vulnerability.Detail.BuilderclearCpeUri()Required.Vulnerability.Detail.BuilderclearDescription()A vendor-specific description of this note.Vulnerability.Detail.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Vulnerability.Detail.BuilderclearFixedLocation()The fix for this specific package version.Vulnerability.Detail.BuilderclearIsObsolete()Whether this detail is obsolete.Vulnerability.Detail.BuilderclearMaxAffectedVersion()The max version of the package in which the vulnerability exists.Vulnerability.Detail.BuilderclearMinAffectedVersion()The min version of the package in which the vulnerability exists.Vulnerability.Detail.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Vulnerability.Detail.BuilderclearPackage()Required.Vulnerability.Detail.BuilderclearPackageType()The type of package; whether native or non native(ruby gems, node.js packages etc).Vulnerability.Detail.BuilderclearSeverityName()The severity (eg: distro assigned severity) for this vulnerability.Vulnerability.Detail.BuilderclearSourceUpdateTime()The time this information was last changed at the source.Vulnerability.Detail.Builderclone()StringgetCpeUri()Required.com.google.protobuf.ByteStringgetCpeUriBytes()Required.Vulnerability.DetailgetDefaultInstanceForType()StringgetDescription()A vendor-specific description of this note.com.google.protobuf.ByteStringgetDescriptionBytes()A vendor-specific description of this note.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()VulnerabilityLocationgetFixedLocation()The fix for this specific package version.VulnerabilityLocation.BuildergetFixedLocationBuilder()The fix for this specific package version.VulnerabilityLocationOrBuildergetFixedLocationOrBuilder()The fix for this specific package version.booleangetIsObsolete()Whether this detail is obsolete.VersiongetMaxAffectedVersion()The max version of the package in which the vulnerability exists.Version.BuildergetMaxAffectedVersionBuilder()The max version of the package in which the vulnerability exists.VersionOrBuildergetMaxAffectedVersionOrBuilder()The max version of the package in which the vulnerability exists.VersiongetMinAffectedVersion()The min version of the package in which the vulnerability exists.Version.BuildergetMinAffectedVersionBuilder()The min version of the package in which the vulnerability exists.VersionOrBuildergetMinAffectedVersionOrBuilder()The min version of the package in which the vulnerability exists.StringgetPackage()Required.com.google.protobuf.ByteStringgetPackageBytes()Required.StringgetPackageType()The type of package; whether native or non native(ruby gems, node.js packages etc).com.google.protobuf.ByteStringgetPackageTypeBytes()The type of package; whether native or non native(ruby gems, node.js packages etc).StringgetSeverityName()The severity (eg: distro assigned severity) for this vulnerability.com.google.protobuf.ByteStringgetSeverityNameBytes()The severity (eg: distro assigned severity) for this vulnerability.com.google.protobuf.TimestampgetSourceUpdateTime()The time this information was last changed at the source.com.google.protobuf.Timestamp.BuildergetSourceUpdateTimeBuilder()The time this information was last changed at the source.com.google.protobuf.TimestampOrBuildergetSourceUpdateTimeOrBuilder()The time this information was last changed at the source.booleanhasFixedLocation()The fix for this specific package version.booleanhasMaxAffectedVersion()The max version of the package in which the vulnerability exists.booleanhasMinAffectedVersion()The min version of the package in which the vulnerability exists.booleanhasSourceUpdateTime()The time this information was last changed at the source.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Vulnerability.Detail.BuildermergeFixedLocation(VulnerabilityLocation value)The fix for this specific package version.Vulnerability.Detail.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Vulnerability.Detail.BuildermergeFrom(com.google.protobuf.Message other)Vulnerability.Detail.BuildermergeFrom(Vulnerability.Detail other)Vulnerability.Detail.BuildermergeMaxAffectedVersion(Version value)The max version of the package in which the vulnerability exists.Vulnerability.Detail.BuildermergeMinAffectedVersion(Version value)The min version of the package in which the vulnerability exists.Vulnerability.Detail.BuildermergeSourceUpdateTime(com.google.protobuf.Timestamp value)The time this information was last changed at the source.Vulnerability.Detail.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Vulnerability.Detail.BuildersetCpeUri(String value)Required.Vulnerability.Detail.BuildersetCpeUriBytes(com.google.protobuf.ByteString value)Required.Vulnerability.Detail.BuildersetDescription(String value)A vendor-specific description of this note.Vulnerability.Detail.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)A vendor-specific description of this note.Vulnerability.Detail.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Vulnerability.Detail.BuildersetFixedLocation(VulnerabilityLocation value)The fix for this specific package version.Vulnerability.Detail.BuildersetFixedLocation(VulnerabilityLocation.Builder builderForValue)The fix for this specific package version.Vulnerability.Detail.BuildersetIsObsolete(boolean value)Whether this detail is obsolete.Vulnerability.Detail.BuildersetMaxAffectedVersion(Version value)The max version of the package in which the vulnerability exists.Vulnerability.Detail.BuildersetMaxAffectedVersion(Version.Builder builderForValue)The max version of the package in which the vulnerability exists.Vulnerability.Detail.BuildersetMinAffectedVersion(Version value)The min version of the package in which the vulnerability exists.Vulnerability.Detail.BuildersetMinAffectedVersion(Version.Builder builderForValue)The min version of the package in which the vulnerability exists.Vulnerability.Detail.BuildersetPackage(String value)Required.Vulnerability.Detail.BuildersetPackageBytes(com.google.protobuf.ByteString value)Required.Vulnerability.Detail.BuildersetPackageType(String value)The type of package; whether native or non native(ruby gems, node.js packages etc).Vulnerability.Detail.BuildersetPackageTypeBytes(com.google.protobuf.ByteString value)The type of package; whether native or non native(ruby gems, node.js packages etc).Vulnerability.Detail.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Vulnerability.Detail.BuildersetSeverityName(String value)The severity (eg: distro assigned severity) for this vulnerability.Vulnerability.Detail.BuildersetSeverityNameBytes(com.google.protobuf.ByteString value)The severity (eg: distro assigned severity) for this vulnerability.Vulnerability.Detail.BuildersetSourceUpdateTime(com.google.protobuf.Timestamp value)The time this information was last changed at the source.Vulnerability.Detail.BuildersetSourceUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)The time this information was last changed at the source.Vulnerability.Detail.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Vulnerability.Detail.Builder>
-
clear
public Vulnerability.Detail.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Vulnerability.Detail.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Vulnerability.Detail.Builder>
-
getDefaultInstanceForType
public Vulnerability.Detail getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Vulnerability.Detail build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Vulnerability.Detail buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Vulnerability.Detail.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Vulnerability.Detail.Builder>
-
setField
public Vulnerability.Detail.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Vulnerability.Detail.Builder>
-
clearField
public Vulnerability.Detail.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Vulnerability.Detail.Builder>
-
clearOneof
public Vulnerability.Detail.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Vulnerability.Detail.Builder>
-
addRepeatedField
public Vulnerability.Detail.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Vulnerability.Detail.Builder>
-
mergeFrom
public Vulnerability.Detail.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Vulnerability.Detail.Builder>
-
mergeFrom
public Vulnerability.Detail.Builder mergeFrom(Vulnerability.Detail other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getCpeUriin 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:
getCpeUriBytesin 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:
getPackagein 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:
getPackageBytesin 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:
hasMinAffectedVersionin 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:
getMinAffectedVersionin 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:
getMinAffectedVersionOrBuilderin 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:
hasMaxAffectedVersionin 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:
getMaxAffectedVersionin 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:
getMaxAffectedVersionOrBuilderin interfaceVulnerability.DetailOrBuilder
-
getSeverityName
public String getSeverityName()
The severity (eg: distro assigned severity) for this vulnerability.
string severity_name = 5;- Specified by:
getSeverityNamein 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:
getSeverityNameBytesin 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:
getDescriptionin interfaceVulnerability.DetailOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
A vendor-specific description of this note.
string description = 6;- Specified by:
getDescriptionBytesin 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:
hasFixedLocationin 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:
getFixedLocationin 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:
getFixedLocationOrBuilderin 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:
getPackageTypein 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:
getPackageTypeBytesin 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:
getIsObsoletein 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:
hasSourceUpdateTimein 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:
getSourceUpdateTimein 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:
getSourceUpdateTimeOrBuilderin interfaceVulnerability.DetailOrBuilder
-
setUnknownFields
public final Vulnerability.Detail.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Vulnerability.Detail.Builder>
-
mergeUnknownFields
public final Vulnerability.Detail.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Vulnerability.Detail.Builder>
-
-