public static final class VulnerabilityReport.Vulnerability.Item.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder> implements VulnerabilityReport.Vulnerability.ItemOrBuilder
OS inventory item that is affected by a vulnerability or fixed as a result of a vulnerability.Protobuf type
google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item| Modifier and Type | Method and Description |
|---|---|
VulnerabilityReport.Vulnerability.Item.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VulnerabilityReport.Vulnerability.Item |
build() |
VulnerabilityReport.Vulnerability.Item |
buildPartial() |
VulnerabilityReport.Vulnerability.Item.Builder |
clear() |
VulnerabilityReport.Vulnerability.Item.Builder |
clearAvailableInventoryItemId()
Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
|
VulnerabilityReport.Vulnerability.Item.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
VulnerabilityReport.Vulnerability.Item.Builder |
clearFixedCpeUri()
The recommended [CPE URI](https://cpe.mitre.org/specification/) update
that contains a fix for this vulnerability.
|
VulnerabilityReport.Vulnerability.Item.Builder |
clearInstalledInventoryItemId()
Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
|
VulnerabilityReport.Vulnerability.Item.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
VulnerabilityReport.Vulnerability.Item.Builder |
clearUpstreamFix()
The upstream OS patch, packages or KB that fixes the vulnerability.
|
VulnerabilityReport.Vulnerability.Item.Builder |
clone() |
String |
getAvailableInventoryItemId()
Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
|
com.google.protobuf.ByteString |
getAvailableInventoryItemIdBytes()
Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
|
VulnerabilityReport.Vulnerability.Item |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFixedCpeUri()
The recommended [CPE URI](https://cpe.mitre.org/specification/) update
that contains a fix for this vulnerability.
|
com.google.protobuf.ByteString |
getFixedCpeUriBytes()
The recommended [CPE URI](https://cpe.mitre.org/specification/) update
that contains a fix for this vulnerability.
|
String |
getInstalledInventoryItemId()
Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
|
com.google.protobuf.ByteString |
getInstalledInventoryItemIdBytes()
Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
|
String |
getUpstreamFix()
The upstream OS patch, packages or KB that fixes the vulnerability.
|
com.google.protobuf.ByteString |
getUpstreamFixBytes()
The upstream OS patch, packages or KB that fixes the vulnerability.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
VulnerabilityReport.Vulnerability.Item.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
VulnerabilityReport.Vulnerability.Item.Builder |
mergeFrom(com.google.protobuf.Message other) |
VulnerabilityReport.Vulnerability.Item.Builder |
mergeFrom(VulnerabilityReport.Vulnerability.Item other) |
VulnerabilityReport.Vulnerability.Item.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
VulnerabilityReport.Vulnerability.Item.Builder |
setAvailableInventoryItemId(String value)
Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
|
VulnerabilityReport.Vulnerability.Item.Builder |
setAvailableInventoryItemIdBytes(com.google.protobuf.ByteString value)
Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.
|
VulnerabilityReport.Vulnerability.Item.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VulnerabilityReport.Vulnerability.Item.Builder |
setFixedCpeUri(String value)
The recommended [CPE URI](https://cpe.mitre.org/specification/) update
that contains a fix for this vulnerability.
|
VulnerabilityReport.Vulnerability.Item.Builder |
setFixedCpeUriBytes(com.google.protobuf.ByteString value)
The recommended [CPE URI](https://cpe.mitre.org/specification/) update
that contains a fix for this vulnerability.
|
VulnerabilityReport.Vulnerability.Item.Builder |
setInstalledInventoryItemId(String value)
Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
|
VulnerabilityReport.Vulnerability.Item.Builder |
setInstalledInventoryItemIdBytes(com.google.protobuf.ByteString value)
Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.
|
VulnerabilityReport.Vulnerability.Item.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
VulnerabilityReport.Vulnerability.Item.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
VulnerabilityReport.Vulnerability.Item.Builder |
setUpstreamFix(String value)
The upstream OS patch, packages or KB that fixes the vulnerability.
|
VulnerabilityReport.Vulnerability.Item.Builder |
setUpstreamFixBytes(com.google.protobuf.ByteString value)
The upstream OS patch, packages or KB that fixes the vulnerability.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>public VulnerabilityReport.Vulnerability.Item.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>public VulnerabilityReport.Vulnerability.Item getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic VulnerabilityReport.Vulnerability.Item build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic VulnerabilityReport.Vulnerability.Item buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic VulnerabilityReport.Vulnerability.Item.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>public VulnerabilityReport.Vulnerability.Item.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>public VulnerabilityReport.Vulnerability.Item.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>public VulnerabilityReport.Vulnerability.Item.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>public VulnerabilityReport.Vulnerability.Item.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>public VulnerabilityReport.Vulnerability.Item.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>public VulnerabilityReport.Vulnerability.Item.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VulnerabilityReport.Vulnerability.Item.Builder>public VulnerabilityReport.Vulnerability.Item.Builder mergeFrom(VulnerabilityReport.Vulnerability.Item other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>public VulnerabilityReport.Vulnerability.Item.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VulnerabilityReport.Vulnerability.Item.Builder>IOExceptionpublic String getInstalledInventoryItemId()
Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. For some operating systems, this field might be empty.
string installed_inventory_item_id = 1;getInstalledInventoryItemId in interface VulnerabilityReport.Vulnerability.ItemOrBuilderpublic com.google.protobuf.ByteString getInstalledInventoryItemIdBytes()
Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. For some operating systems, this field might be empty.
string installed_inventory_item_id = 1;getInstalledInventoryItemIdBytes in interface VulnerabilityReport.Vulnerability.ItemOrBuilderpublic VulnerabilityReport.Vulnerability.Item.Builder setInstalledInventoryItemId(String value)
Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. For some operating systems, this field might be empty.
string installed_inventory_item_id = 1;value - The installedInventoryItemId to set.public VulnerabilityReport.Vulnerability.Item.Builder clearInstalledInventoryItemId()
Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. For some operating systems, this field might be empty.
string installed_inventory_item_id = 1;public VulnerabilityReport.Vulnerability.Item.Builder setInstalledInventoryItemIdBytes(com.google.protobuf.ByteString value)
Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. For some operating systems, this field might be empty.
string installed_inventory_item_id = 1;value - The bytes for installedInventoryItemId to set.public String getAvailableInventoryItemId()
Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. If there is no available fix, the field is empty. The `inventory_item` value specifies the latest `SoftwarePackage` available to the VM that fixes the vulnerability.
string available_inventory_item_id = 2;getAvailableInventoryItemId in interface VulnerabilityReport.Vulnerability.ItemOrBuilderpublic com.google.protobuf.ByteString getAvailableInventoryItemIdBytes()
Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. If there is no available fix, the field is empty. The `inventory_item` value specifies the latest `SoftwarePackage` available to the VM that fixes the vulnerability.
string available_inventory_item_id = 2;getAvailableInventoryItemIdBytes in interface VulnerabilityReport.Vulnerability.ItemOrBuilderpublic VulnerabilityReport.Vulnerability.Item.Builder setAvailableInventoryItemId(String value)
Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. If there is no available fix, the field is empty. The `inventory_item` value specifies the latest `SoftwarePackage` available to the VM that fixes the vulnerability.
string available_inventory_item_id = 2;value - The availableInventoryItemId to set.public VulnerabilityReport.Vulnerability.Item.Builder clearAvailableInventoryItemId()
Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. If there is no available fix, the field is empty. The `inventory_item` value specifies the latest `SoftwarePackage` available to the VM that fixes the vulnerability.
string available_inventory_item_id = 2;public VulnerabilityReport.Vulnerability.Item.Builder setAvailableInventoryItemIdBytes(com.google.protobuf.ByteString value)
Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. If there is no available fix, the field is empty. The `inventory_item` value specifies the latest `SoftwarePackage` available to the VM that fixes the vulnerability.
string available_inventory_item_id = 2;value - The bytes for availableInventoryItemId to set.public String getFixedCpeUri()
The recommended [CPE URI](https://cpe.mitre.org/specification/) update that contains a fix for this vulnerability.
string fixed_cpe_uri = 3;getFixedCpeUri in interface VulnerabilityReport.Vulnerability.ItemOrBuilderpublic com.google.protobuf.ByteString getFixedCpeUriBytes()
The recommended [CPE URI](https://cpe.mitre.org/specification/) update that contains a fix for this vulnerability.
string fixed_cpe_uri = 3;getFixedCpeUriBytes in interface VulnerabilityReport.Vulnerability.ItemOrBuilderpublic VulnerabilityReport.Vulnerability.Item.Builder setFixedCpeUri(String value)
The recommended [CPE URI](https://cpe.mitre.org/specification/) update that contains a fix for this vulnerability.
string fixed_cpe_uri = 3;value - The fixedCpeUri to set.public VulnerabilityReport.Vulnerability.Item.Builder clearFixedCpeUri()
The recommended [CPE URI](https://cpe.mitre.org/specification/) update that contains a fix for this vulnerability.
string fixed_cpe_uri = 3;public VulnerabilityReport.Vulnerability.Item.Builder setFixedCpeUriBytes(com.google.protobuf.ByteString value)
The recommended [CPE URI](https://cpe.mitre.org/specification/) update that contains a fix for this vulnerability.
string fixed_cpe_uri = 3;value - The bytes for fixedCpeUri to set.public String getUpstreamFix()
The upstream OS patch, packages or KB that fixes the vulnerability.
string upstream_fix = 4;getUpstreamFix in interface VulnerabilityReport.Vulnerability.ItemOrBuilderpublic com.google.protobuf.ByteString getUpstreamFixBytes()
The upstream OS patch, packages or KB that fixes the vulnerability.
string upstream_fix = 4;getUpstreamFixBytes in interface VulnerabilityReport.Vulnerability.ItemOrBuilderpublic VulnerabilityReport.Vulnerability.Item.Builder setUpstreamFix(String value)
The upstream OS patch, packages or KB that fixes the vulnerability.
string upstream_fix = 4;value - The upstreamFix to set.public VulnerabilityReport.Vulnerability.Item.Builder clearUpstreamFix()
The upstream OS patch, packages or KB that fixes the vulnerability.
string upstream_fix = 4;public VulnerabilityReport.Vulnerability.Item.Builder setUpstreamFixBytes(com.google.protobuf.ByteString value)
The upstream OS patch, packages or KB that fixes the vulnerability.
string upstream_fix = 4;value - The bytes for upstreamFix to set.public final VulnerabilityReport.Vulnerability.Item.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>public final VulnerabilityReport.Vulnerability.Item.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>Copyright © 2023 Google LLC. All rights reserved.