- 2.55.0 (latest)
- 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 VulnerabilityOccurrence.PackageIssue.Builder extends GeneratedMessageV3.Builder<VulnerabilityOccurrence.PackageIssue.Builder> implements VulnerabilityOccurrence.PackageIssueOrBuilder
A detail for a distro and package this vulnerability occurrence was found in and its associated fix (if one is available).
Protobuf type grafeas.v1.VulnerabilityOccurrence.PackageIssue
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VulnerabilityOccurrence.PackageIssue.BuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityOccurrence.PackageIssue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder |
build()
public VulnerabilityOccurrence.PackageIssue build()
Type | Description |
VulnerabilityOccurrence.PackageIssue |
buildPartial()
public VulnerabilityOccurrence.PackageIssue buildPartial()
Type | Description |
VulnerabilityOccurrence.PackageIssue |
clear()
public VulnerabilityOccurrence.PackageIssue.Builder clear()
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder |
clearAffectedCpeUri()
public VulnerabilityOccurrence.PackageIssue.Builder clearAffectedCpeUri()
Required. The CPE URI this vulnerability was found in.
string affected_cpe_uri = 1;
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder | This builder for chaining. |
clearAffectedPackage()
public VulnerabilityOccurrence.PackageIssue.Builder clearAffectedPackage()
Required. The package this vulnerability was found in.
string affected_package = 2;
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder | This builder for chaining. |
clearAffectedVersion()
public VulnerabilityOccurrence.PackageIssue.Builder clearAffectedVersion()
Required. The version of the package that is installed on the resource affected by this vulnerability.
.grafeas.v1.Version affected_version = 3;
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder |
clearField(Descriptors.FieldDescriptor field)
public VulnerabilityOccurrence.PackageIssue.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder |
clearFixAvailable()
public VulnerabilityOccurrence.PackageIssue.Builder clearFixAvailable()
Output only. Whether a fix is available for this package.
bool fix_available = 7;
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder | This builder for chaining. |
clearFixedCpeUri()
public VulnerabilityOccurrence.PackageIssue.Builder clearFixedCpeUri()
The CPE URI this vulnerability was fixed in. It is possible for this to be different from the affected_cpe_uri.
string fixed_cpe_uri = 4;
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder | This builder for chaining. |
clearFixedPackage()
public VulnerabilityOccurrence.PackageIssue.Builder clearFixedPackage()
The package this vulnerability was fixed in. It is possible for this to be different from the affected_package.
string fixed_package = 5;
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder | This builder for chaining. |
clearFixedVersion()
public VulnerabilityOccurrence.PackageIssue.Builder clearFixedVersion()
Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.
.grafeas.v1.Version fixed_version = 6;
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public VulnerabilityOccurrence.PackageIssue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder |
clone()
public VulnerabilityOccurrence.PackageIssue.Builder clone()
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder |
getAffectedCpeUri()
public String getAffectedCpeUri()
Required. The CPE URI this vulnerability was found in.
string affected_cpe_uri = 1;
Type | Description |
String | The affectedCpeUri. |
getAffectedCpeUriBytes()
public ByteString getAffectedCpeUriBytes()
Required. The CPE URI this vulnerability was found in.
string affected_cpe_uri = 1;
Type | Description |
ByteString | The bytes for affectedCpeUri. |
getAffectedPackage()
public String getAffectedPackage()
Required. The package this vulnerability was found in.
string affected_package = 2;
Type | Description |
String | The affectedPackage. |
getAffectedPackageBytes()
public ByteString getAffectedPackageBytes()
Required. The package this vulnerability was found in.
string affected_package = 2;
Type | Description |
ByteString | The bytes for affectedPackage. |
getAffectedVersion()
public Version getAffectedVersion()
Required. The version of the package that is installed on the resource affected by this vulnerability.
.grafeas.v1.Version affected_version = 3;
Type | Description |
Version | The affectedVersion. |
getAffectedVersionBuilder()
public Version.Builder getAffectedVersionBuilder()
Required. The version of the package that is installed on the resource affected by this vulnerability.
.grafeas.v1.Version affected_version = 3;
Type | Description |
Version.Builder |
getAffectedVersionOrBuilder()
public VersionOrBuilder getAffectedVersionOrBuilder()
Required. The version of the package that is installed on the resource affected by this vulnerability.
.grafeas.v1.Version affected_version = 3;
Type | Description |
VersionOrBuilder |
getDefaultInstanceForType()
public VulnerabilityOccurrence.PackageIssue getDefaultInstanceForType()
Type | Description |
VulnerabilityOccurrence.PackageIssue |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFixAvailable()
public boolean getFixAvailable()
Output only. Whether a fix is available for this package.
bool fix_available = 7;
Type | Description |
boolean | The fixAvailable. |
getFixedCpeUri()
public String getFixedCpeUri()
The CPE URI this vulnerability was fixed in. It is possible for this to be different from the affected_cpe_uri.
string fixed_cpe_uri = 4;
Type | Description |
String | The fixedCpeUri. |
getFixedCpeUriBytes()
public ByteString getFixedCpeUriBytes()
The CPE URI this vulnerability was fixed in. It is possible for this to be different from the affected_cpe_uri.
string fixed_cpe_uri = 4;
Type | Description |
ByteString | The bytes for fixedCpeUri. |
getFixedPackage()
public String getFixedPackage()
The package this vulnerability was fixed in. It is possible for this to be different from the affected_package.
string fixed_package = 5;
Type | Description |
String | The fixedPackage. |
getFixedPackageBytes()
public ByteString getFixedPackageBytes()
The package this vulnerability was fixed in. It is possible for this to be different from the affected_package.
string fixed_package = 5;
Type | Description |
ByteString | The bytes for fixedPackage. |
getFixedVersion()
public Version getFixedVersion()
Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.
.grafeas.v1.Version fixed_version = 6;
Type | Description |
Version | The fixedVersion. |
getFixedVersionBuilder()
public Version.Builder getFixedVersionBuilder()
Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.
.grafeas.v1.Version fixed_version = 6;
Type | Description |
Version.Builder |
getFixedVersionOrBuilder()
public VersionOrBuilder getFixedVersionOrBuilder()
Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.
.grafeas.v1.Version fixed_version = 6;
Type | Description |
VersionOrBuilder |
hasAffectedVersion()
public boolean hasAffectedVersion()
Required. The version of the package that is installed on the resource affected by this vulnerability.
.grafeas.v1.Version affected_version = 3;
Type | Description |
boolean | Whether the affectedVersion field is set. |
hasFixedVersion()
public boolean hasFixedVersion()
Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.
.grafeas.v1.Version fixed_version = 6;
Type | Description |
boolean | Whether the fixedVersion field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAffectedVersion(Version value)
public VulnerabilityOccurrence.PackageIssue.Builder mergeAffectedVersion(Version value)
Required. The version of the package that is installed on the resource affected by this vulnerability.
.grafeas.v1.Version affected_version = 3;
Name | Description |
value | Version |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder |
mergeFixedVersion(Version value)
public VulnerabilityOccurrence.PackageIssue.Builder mergeFixedVersion(Version value)
Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.
.grafeas.v1.Version fixed_version = 6;
Name | Description |
value | Version |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VulnerabilityOccurrence.PackageIssue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public VulnerabilityOccurrence.PackageIssue.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder |
mergeFrom(VulnerabilityOccurrence.PackageIssue other)
public VulnerabilityOccurrence.PackageIssue.Builder mergeFrom(VulnerabilityOccurrence.PackageIssue other)
Name | Description |
other | VulnerabilityOccurrence.PackageIssue |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityOccurrence.PackageIssue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder |
setAffectedCpeUri(String value)
public VulnerabilityOccurrence.PackageIssue.Builder setAffectedCpeUri(String value)
Required. The CPE URI this vulnerability was found in.
string affected_cpe_uri = 1;
Name | Description |
value | String The affectedCpeUri to set. |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder | This builder for chaining. |
setAffectedCpeUriBytes(ByteString value)
public VulnerabilityOccurrence.PackageIssue.Builder setAffectedCpeUriBytes(ByteString value)
Required. The CPE URI this vulnerability was found in.
string affected_cpe_uri = 1;
Name | Description |
value | ByteString The bytes for affectedCpeUri to set. |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder | This builder for chaining. |
setAffectedPackage(String value)
public VulnerabilityOccurrence.PackageIssue.Builder setAffectedPackage(String value)
Required. The package this vulnerability was found in.
string affected_package = 2;
Name | Description |
value | String The affectedPackage to set. |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder | This builder for chaining. |
setAffectedPackageBytes(ByteString value)
public VulnerabilityOccurrence.PackageIssue.Builder setAffectedPackageBytes(ByteString value)
Required. The package this vulnerability was found in.
string affected_package = 2;
Name | Description |
value | ByteString The bytes for affectedPackage to set. |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder | This builder for chaining. |
setAffectedVersion(Version value)
public VulnerabilityOccurrence.PackageIssue.Builder setAffectedVersion(Version value)
Required. The version of the package that is installed on the resource affected by this vulnerability.
.grafeas.v1.Version affected_version = 3;
Name | Description |
value | Version |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder |
setAffectedVersion(Version.Builder builderForValue)
public VulnerabilityOccurrence.PackageIssue.Builder setAffectedVersion(Version.Builder builderForValue)
Required. The version of the package that is installed on the resource affected by this vulnerability.
.grafeas.v1.Version affected_version = 3;
Name | Description |
builderForValue | Version.Builder |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityOccurrence.PackageIssue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder |
setFixAvailable(boolean value)
public VulnerabilityOccurrence.PackageIssue.Builder setFixAvailable(boolean value)
Output only. Whether a fix is available for this package.
bool fix_available = 7;
Name | Description |
value | boolean The fixAvailable to set. |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder | This builder for chaining. |
setFixedCpeUri(String value)
public VulnerabilityOccurrence.PackageIssue.Builder setFixedCpeUri(String value)
The CPE URI this vulnerability was fixed in. It is possible for this to be different from the affected_cpe_uri.
string fixed_cpe_uri = 4;
Name | Description |
value | String The fixedCpeUri to set. |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder | This builder for chaining. |
setFixedCpeUriBytes(ByteString value)
public VulnerabilityOccurrence.PackageIssue.Builder setFixedCpeUriBytes(ByteString value)
The CPE URI this vulnerability was fixed in. It is possible for this to be different from the affected_cpe_uri.
string fixed_cpe_uri = 4;
Name | Description |
value | ByteString The bytes for fixedCpeUri to set. |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder | This builder for chaining. |
setFixedPackage(String value)
public VulnerabilityOccurrence.PackageIssue.Builder setFixedPackage(String value)
The package this vulnerability was fixed in. It is possible for this to be different from the affected_package.
string fixed_package = 5;
Name | Description |
value | String The fixedPackage to set. |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder | This builder for chaining. |
setFixedPackageBytes(ByteString value)
public VulnerabilityOccurrence.PackageIssue.Builder setFixedPackageBytes(ByteString value)
The package this vulnerability was fixed in. It is possible for this to be different from the affected_package.
string fixed_package = 5;
Name | Description |
value | ByteString The bytes for fixedPackage to set. |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder | This builder for chaining. |
setFixedVersion(Version value)
public VulnerabilityOccurrence.PackageIssue.Builder setFixedVersion(Version value)
Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.
.grafeas.v1.Version fixed_version = 6;
Name | Description |
value | Version |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder |
setFixedVersion(Version.Builder builderForValue)
public VulnerabilityOccurrence.PackageIssue.Builder setFixedVersion(Version.Builder builderForValue)
Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.
.grafeas.v1.Version fixed_version = 6;
Name | Description |
builderForValue | Version.Builder |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VulnerabilityOccurrence.PackageIssue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityOccurrence.PackageIssue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VulnerabilityOccurrence.PackageIssue.Builder |