Package com.google.cloud.osconfig.v1
Class VulnerabilityReport.Vulnerability.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Builder>
-
- com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Builder
-
- All Implemented Interfaces:
VulnerabilityReport.VulnerabilityOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VulnerabilityReport.Vulnerability
public static final class VulnerabilityReport.Vulnerability.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Builder> implements VulnerabilityReport.VulnerabilityOrBuilder
A vulnerability affecting the VM instance.
Protobuf typegoogle.cloud.osconfig.v1.VulnerabilityReport.Vulnerability
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description VulnerabilityReport.Vulnerability.BuilderaddAllAvailableInventoryItemIds(Iterable<String> values)Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated.VulnerabilityReport.Vulnerability.BuilderaddAllInstalledInventoryItemIds(Iterable<String> values)Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated.VulnerabilityReport.Vulnerability.BuilderaddAllItems(Iterable<? extends VulnerabilityReport.Vulnerability.Item> values)List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.BuilderaddAvailableInventoryItemIds(String value)Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated.VulnerabilityReport.Vulnerability.BuilderaddAvailableInventoryItemIdsBytes(com.google.protobuf.ByteString value)Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated.VulnerabilityReport.Vulnerability.BuilderaddInstalledInventoryItemIds(String value)Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated.VulnerabilityReport.Vulnerability.BuilderaddInstalledInventoryItemIdsBytes(com.google.protobuf.ByteString value)Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated.VulnerabilityReport.Vulnerability.BuilderaddItems(int index, VulnerabilityReport.Vulnerability.Item value)List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.BuilderaddItems(int index, VulnerabilityReport.Vulnerability.Item.Builder builderForValue)List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.BuilderaddItems(VulnerabilityReport.Vulnerability.Item value)List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.BuilderaddItems(VulnerabilityReport.Vulnerability.Item.Builder builderForValue)List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.Item.BuilderaddItemsBuilder()List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.Item.BuilderaddItemsBuilder(int index)List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)VulnerabilityReport.Vulnerabilitybuild()VulnerabilityReport.VulnerabilitybuildPartial()VulnerabilityReport.Vulnerability.Builderclear()VulnerabilityReport.Vulnerability.BuilderclearAvailableInventoryItemIds()Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated.VulnerabilityReport.Vulnerability.BuilderclearCreateTime()The timestamp for when the vulnerability was first detected.VulnerabilityReport.Vulnerability.BuilderclearDetails()Contains metadata as per the upstream feed of the operating system and NVD.VulnerabilityReport.Vulnerability.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)VulnerabilityReport.Vulnerability.BuilderclearInstalledInventoryItemIds()Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated.VulnerabilityReport.Vulnerability.BuilderclearItems()List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)VulnerabilityReport.Vulnerability.BuilderclearUpdateTime()The timestamp for when the vulnerability was last modified.VulnerabilityReport.Vulnerability.Builderclone()StringgetAvailableInventoryItemIds(int index)Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated.com.google.protobuf.ByteStringgetAvailableInventoryItemIdsBytes(int index)Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated.intgetAvailableInventoryItemIdsCount()Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated.com.google.protobuf.ProtocolStringListgetAvailableInventoryItemIdsList()Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated.com.google.protobuf.TimestampgetCreateTime()The timestamp for when the vulnerability was first detected.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()The timestamp for when the vulnerability was first detected.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()The timestamp for when the vulnerability was first detected.VulnerabilityReport.VulnerabilitygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()VulnerabilityReport.Vulnerability.DetailsgetDetails()Contains metadata as per the upstream feed of the operating system and NVD.VulnerabilityReport.Vulnerability.Details.BuildergetDetailsBuilder()Contains metadata as per the upstream feed of the operating system and NVD.VulnerabilityReport.Vulnerability.DetailsOrBuildergetDetailsOrBuilder()Contains metadata as per the upstream feed of the operating system and NVD.StringgetInstalledInventoryItemIds(int index)Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated.com.google.protobuf.ByteStringgetInstalledInventoryItemIdsBytes(int index)Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated.intgetInstalledInventoryItemIdsCount()Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated.com.google.protobuf.ProtocolStringListgetInstalledInventoryItemIdsList()Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated.VulnerabilityReport.Vulnerability.ItemgetItems(int index)List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.Item.BuildergetItemsBuilder(int index)List of items affected by the vulnerability.List<VulnerabilityReport.Vulnerability.Item.Builder>getItemsBuilderList()List of items affected by the vulnerability.intgetItemsCount()List of items affected by the vulnerability.List<VulnerabilityReport.Vulnerability.Item>getItemsList()List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.ItemOrBuildergetItemsOrBuilder(int index)List of items affected by the vulnerability.List<? extends VulnerabilityReport.Vulnerability.ItemOrBuilder>getItemsOrBuilderList()List of items affected by the vulnerability.com.google.protobuf.TimestampgetUpdateTime()The timestamp for when the vulnerability was last modified.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()The timestamp for when the vulnerability was last modified.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()The timestamp for when the vulnerability was last modified.booleanhasCreateTime()The timestamp for when the vulnerability was first detected.booleanhasDetails()Contains metadata as per the upstream feed of the operating system and NVD.booleanhasUpdateTime()The timestamp for when the vulnerability was last modified.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()VulnerabilityReport.Vulnerability.BuildermergeCreateTime(com.google.protobuf.Timestamp value)The timestamp for when the vulnerability was first detected.VulnerabilityReport.Vulnerability.BuildermergeDetails(VulnerabilityReport.Vulnerability.Details value)Contains metadata as per the upstream feed of the operating system and NVD.VulnerabilityReport.Vulnerability.BuildermergeFrom(VulnerabilityReport.Vulnerability other)VulnerabilityReport.Vulnerability.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)VulnerabilityReport.Vulnerability.BuildermergeFrom(com.google.protobuf.Message other)VulnerabilityReport.Vulnerability.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)VulnerabilityReport.Vulnerability.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)The timestamp for when the vulnerability was last modified.VulnerabilityReport.Vulnerability.BuilderremoveItems(int index)List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.BuildersetAvailableInventoryItemIds(int index, String value)Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated.VulnerabilityReport.Vulnerability.BuildersetCreateTime(com.google.protobuf.Timestamp value)The timestamp for when the vulnerability was first detected.VulnerabilityReport.Vulnerability.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)The timestamp for when the vulnerability was first detected.VulnerabilityReport.Vulnerability.BuildersetDetails(VulnerabilityReport.Vulnerability.Details value)Contains metadata as per the upstream feed of the operating system and NVD.VulnerabilityReport.Vulnerability.BuildersetDetails(VulnerabilityReport.Vulnerability.Details.Builder builderForValue)Contains metadata as per the upstream feed of the operating system and NVD.VulnerabilityReport.Vulnerability.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)VulnerabilityReport.Vulnerability.BuildersetInstalledInventoryItemIds(int index, String value)Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated.VulnerabilityReport.Vulnerability.BuildersetItems(int index, VulnerabilityReport.Vulnerability.Item value)List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.BuildersetItems(int index, VulnerabilityReport.Vulnerability.Item.Builder builderForValue)List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)VulnerabilityReport.Vulnerability.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)VulnerabilityReport.Vulnerability.BuildersetUpdateTime(com.google.protobuf.Timestamp value)The timestamp for when the vulnerability was last modified.VulnerabilityReport.Vulnerability.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)The timestamp for when the vulnerability was last modified.-
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<VulnerabilityReport.Vulnerability.Builder>
-
clear
public VulnerabilityReport.Vulnerability.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<VulnerabilityReport.Vulnerability.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<VulnerabilityReport.Vulnerability.Builder>
-
getDefaultInstanceForType
public VulnerabilityReport.Vulnerability getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public VulnerabilityReport.Vulnerability build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VulnerabilityReport.Vulnerability buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VulnerabilityReport.Vulnerability.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<VulnerabilityReport.Vulnerability.Builder>
-
setField
public VulnerabilityReport.Vulnerability.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<VulnerabilityReport.Vulnerability.Builder>
-
clearField
public VulnerabilityReport.Vulnerability.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Builder>
-
clearOneof
public VulnerabilityReport.Vulnerability.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Builder>
-
setRepeatedField
public VulnerabilityReport.Vulnerability.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<VulnerabilityReport.Vulnerability.Builder>
-
addRepeatedField
public VulnerabilityReport.Vulnerability.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<VulnerabilityReport.Vulnerability.Builder>
-
mergeFrom
public VulnerabilityReport.Vulnerability.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VulnerabilityReport.Vulnerability.Builder>
-
mergeFrom
public VulnerabilityReport.Vulnerability.Builder mergeFrom(VulnerabilityReport.Vulnerability other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Builder>
-
mergeFrom
public VulnerabilityReport.Vulnerability.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<VulnerabilityReport.Vulnerability.Builder>- Throws:
IOException
-
hasDetails
public boolean hasDetails()
Contains metadata as per the upstream feed of the operating system and NVD.
.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1;- Specified by:
hasDetailsin interfaceVulnerabilityReport.VulnerabilityOrBuilder- Returns:
- Whether the details field is set.
-
getDetails
public VulnerabilityReport.Vulnerability.Details getDetails()
Contains metadata as per the upstream feed of the operating system and NVD.
.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1;- Specified by:
getDetailsin interfaceVulnerabilityReport.VulnerabilityOrBuilder- Returns:
- The details.
-
setDetails
public VulnerabilityReport.Vulnerability.Builder setDetails(VulnerabilityReport.Vulnerability.Details value)
Contains metadata as per the upstream feed of the operating system and NVD.
.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1;
-
setDetails
public VulnerabilityReport.Vulnerability.Builder setDetails(VulnerabilityReport.Vulnerability.Details.Builder builderForValue)
Contains metadata as per the upstream feed of the operating system and NVD.
.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1;
-
mergeDetails
public VulnerabilityReport.Vulnerability.Builder mergeDetails(VulnerabilityReport.Vulnerability.Details value)
Contains metadata as per the upstream feed of the operating system and NVD.
.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1;
-
clearDetails
public VulnerabilityReport.Vulnerability.Builder clearDetails()
Contains metadata as per the upstream feed of the operating system and NVD.
.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1;
-
getDetailsBuilder
public VulnerabilityReport.Vulnerability.Details.Builder getDetailsBuilder()
Contains metadata as per the upstream feed of the operating system and NVD.
.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1;
-
getDetailsOrBuilder
public VulnerabilityReport.Vulnerability.DetailsOrBuilder getDetailsOrBuilder()
Contains metadata as per the upstream feed of the operating system and NVD.
.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1;- Specified by:
getDetailsOrBuilderin interfaceVulnerabilityReport.VulnerabilityOrBuilder
-
getInstalledInventoryItemIdsList
@Deprecated public com.google.protobuf.ProtocolStringList getInstalledInventoryItemIdsList()
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112Corresponds 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 distros, this field may be empty.
repeated string installed_inventory_item_ids = 2 [deprecated = true];- Specified by:
getInstalledInventoryItemIdsListin interfaceVulnerabilityReport.VulnerabilityOrBuilder- Returns:
- A list containing the installedInventoryItemIds.
-
getInstalledInventoryItemIdsCount
@Deprecated public int getInstalledInventoryItemIdsCount()
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112Corresponds 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 distros, this field may be empty.
repeated string installed_inventory_item_ids = 2 [deprecated = true];- Specified by:
getInstalledInventoryItemIdsCountin interfaceVulnerabilityReport.VulnerabilityOrBuilder- Returns:
- The count of installedInventoryItemIds.
-
getInstalledInventoryItemIds
@Deprecated public String getInstalledInventoryItemIds(int index)
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112Corresponds 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 distros, this field may be empty.
repeated string installed_inventory_item_ids = 2 [deprecated = true];- Specified by:
getInstalledInventoryItemIdsin interfaceVulnerabilityReport.VulnerabilityOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The installedInventoryItemIds at the given index.
-
getInstalledInventoryItemIdsBytes
@Deprecated public com.google.protobuf.ByteString getInstalledInventoryItemIdsBytes(int index)
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112Corresponds 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 distros, this field may be empty.
repeated string installed_inventory_item_ids = 2 [deprecated = true];- Specified by:
getInstalledInventoryItemIdsBytesin interfaceVulnerabilityReport.VulnerabilityOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the installedInventoryItemIds at the given index.
-
setInstalledInventoryItemIds
@Deprecated public VulnerabilityReport.Vulnerability.Builder setInstalledInventoryItemIds(int index, String value)
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112Corresponds 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 distros, this field may be empty.
repeated string installed_inventory_item_ids = 2 [deprecated = true];- Parameters:
index- The index to set the value at.value- The installedInventoryItemIds to set.- Returns:
- This builder for chaining.
-
addInstalledInventoryItemIds
@Deprecated public VulnerabilityReport.Vulnerability.Builder addInstalledInventoryItemIds(String value)
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112Corresponds 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 distros, this field may be empty.
repeated string installed_inventory_item_ids = 2 [deprecated = true];- Parameters:
value- The installedInventoryItemIds to add.- Returns:
- This builder for chaining.
-
addAllInstalledInventoryItemIds
@Deprecated public VulnerabilityReport.Vulnerability.Builder addAllInstalledInventoryItemIds(Iterable<String> values)
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112Corresponds 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 distros, this field may be empty.
repeated string installed_inventory_item_ids = 2 [deprecated = true];- Parameters:
values- The installedInventoryItemIds to add.- Returns:
- This builder for chaining.
-
clearInstalledInventoryItemIds
@Deprecated public VulnerabilityReport.Vulnerability.Builder clearInstalledInventoryItemIds()
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112Corresponds 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 distros, this field may be empty.
repeated string installed_inventory_item_ids = 2 [deprecated = true];- Returns:
- This builder for chaining.
-
addInstalledInventoryItemIdsBytes
@Deprecated public VulnerabilityReport.Vulnerability.Builder addInstalledInventoryItemIdsBytes(com.google.protobuf.ByteString value)
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112Corresponds 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 distros, this field may be empty.
repeated string installed_inventory_item_ids = 2 [deprecated = true];- Parameters:
value- The bytes of the installedInventoryItemIds to add.- Returns:
- This builder for chaining.
-
getAvailableInventoryItemIdsList
@Deprecated public com.google.protobuf.ProtocolStringList getAvailableInventoryItemIdsList()
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120Corresponds 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.
repeated string available_inventory_item_ids = 3 [deprecated = true];- Specified by:
getAvailableInventoryItemIdsListin interfaceVulnerabilityReport.VulnerabilityOrBuilder- Returns:
- A list containing the availableInventoryItemIds.
-
getAvailableInventoryItemIdsCount
@Deprecated public int getAvailableInventoryItemIdsCount()
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120Corresponds 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.
repeated string available_inventory_item_ids = 3 [deprecated = true];- Specified by:
getAvailableInventoryItemIdsCountin interfaceVulnerabilityReport.VulnerabilityOrBuilder- Returns:
- The count of availableInventoryItemIds.
-
getAvailableInventoryItemIds
@Deprecated public String getAvailableInventoryItemIds(int index)
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120Corresponds 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.
repeated string available_inventory_item_ids = 3 [deprecated = true];- Specified by:
getAvailableInventoryItemIdsin interfaceVulnerabilityReport.VulnerabilityOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The availableInventoryItemIds at the given index.
-
getAvailableInventoryItemIdsBytes
@Deprecated public com.google.protobuf.ByteString getAvailableInventoryItemIdsBytes(int index)
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120Corresponds 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.
repeated string available_inventory_item_ids = 3 [deprecated = true];- Specified by:
getAvailableInventoryItemIdsBytesin interfaceVulnerabilityReport.VulnerabilityOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the availableInventoryItemIds at the given index.
-
setAvailableInventoryItemIds
@Deprecated public VulnerabilityReport.Vulnerability.Builder setAvailableInventoryItemIds(int index, String value)
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120Corresponds 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.
repeated string available_inventory_item_ids = 3 [deprecated = true];- Parameters:
index- The index to set the value at.value- The availableInventoryItemIds to set.- Returns:
- This builder for chaining.
-
addAvailableInventoryItemIds
@Deprecated public VulnerabilityReport.Vulnerability.Builder addAvailableInventoryItemIds(String value)
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120Corresponds 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.
repeated string available_inventory_item_ids = 3 [deprecated = true];- Parameters:
value- The availableInventoryItemIds to add.- Returns:
- This builder for chaining.
-
addAllAvailableInventoryItemIds
@Deprecated public VulnerabilityReport.Vulnerability.Builder addAllAvailableInventoryItemIds(Iterable<String> values)
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120Corresponds 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.
repeated string available_inventory_item_ids = 3 [deprecated = true];- Parameters:
values- The availableInventoryItemIds to add.- Returns:
- This builder for chaining.
-
clearAvailableInventoryItemIds
@Deprecated public VulnerabilityReport.Vulnerability.Builder clearAvailableInventoryItemIds()
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120Corresponds 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.
repeated string available_inventory_item_ids = 3 [deprecated = true];- Returns:
- This builder for chaining.
-
addAvailableInventoryItemIdsBytes
@Deprecated public VulnerabilityReport.Vulnerability.Builder addAvailableInventoryItemIdsBytes(com.google.protobuf.ByteString value)
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120Corresponds 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.
repeated string available_inventory_item_ids = 3 [deprecated = true];- Parameters:
value- The bytes of the availableInventoryItemIds to add.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
The timestamp for when the vulnerability was first detected.
.google.protobuf.Timestamp create_time = 4;- Specified by:
hasCreateTimein interfaceVulnerabilityReport.VulnerabilityOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
The timestamp for when the vulnerability was first detected.
.google.protobuf.Timestamp create_time = 4;- Specified by:
getCreateTimein interfaceVulnerabilityReport.VulnerabilityOrBuilder- Returns:
- The createTime.
-
setCreateTime
public VulnerabilityReport.Vulnerability.Builder setCreateTime(com.google.protobuf.Timestamp value)
The timestamp for when the vulnerability was first detected.
.google.protobuf.Timestamp create_time = 4;
-
setCreateTime
public VulnerabilityReport.Vulnerability.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The timestamp for when the vulnerability was first detected.
.google.protobuf.Timestamp create_time = 4;
-
mergeCreateTime
public VulnerabilityReport.Vulnerability.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
The timestamp for when the vulnerability was first detected.
.google.protobuf.Timestamp create_time = 4;
-
clearCreateTime
public VulnerabilityReport.Vulnerability.Builder clearCreateTime()
The timestamp for when the vulnerability was first detected.
.google.protobuf.Timestamp create_time = 4;
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
The timestamp for when the vulnerability was first detected.
.google.protobuf.Timestamp create_time = 4;
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The timestamp for when the vulnerability was first detected.
.google.protobuf.Timestamp create_time = 4;- Specified by:
getCreateTimeOrBuilderin interfaceVulnerabilityReport.VulnerabilityOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
The timestamp for when the vulnerability was last modified.
.google.protobuf.Timestamp update_time = 5;- Specified by:
hasUpdateTimein interfaceVulnerabilityReport.VulnerabilityOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
The timestamp for when the vulnerability was last modified.
.google.protobuf.Timestamp update_time = 5;- Specified by:
getUpdateTimein interfaceVulnerabilityReport.VulnerabilityOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public VulnerabilityReport.Vulnerability.Builder setUpdateTime(com.google.protobuf.Timestamp value)
The timestamp for when the vulnerability was last modified.
.google.protobuf.Timestamp update_time = 5;
-
setUpdateTime
public VulnerabilityReport.Vulnerability.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The timestamp for when the vulnerability was last modified.
.google.protobuf.Timestamp update_time = 5;
-
mergeUpdateTime
public VulnerabilityReport.Vulnerability.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
The timestamp for when the vulnerability was last modified.
.google.protobuf.Timestamp update_time = 5;
-
clearUpdateTime
public VulnerabilityReport.Vulnerability.Builder clearUpdateTime()
The timestamp for when the vulnerability was last modified.
.google.protobuf.Timestamp update_time = 5;
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
The timestamp for when the vulnerability was last modified.
.google.protobuf.Timestamp update_time = 5;
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
The timestamp for when the vulnerability was last modified.
.google.protobuf.Timestamp update_time = 5;- Specified by:
getUpdateTimeOrBuilderin interfaceVulnerabilityReport.VulnerabilityOrBuilder
-
getItemsList
public List<VulnerabilityReport.Vulnerability.Item> getItemsList()
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6;- Specified by:
getItemsListin interfaceVulnerabilityReport.VulnerabilityOrBuilder
-
getItemsCount
public int getItemsCount()
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6;- Specified by:
getItemsCountin interfaceVulnerabilityReport.VulnerabilityOrBuilder
-
getItems
public VulnerabilityReport.Vulnerability.Item getItems(int index)
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6;- Specified by:
getItemsin interfaceVulnerabilityReport.VulnerabilityOrBuilder
-
setItems
public VulnerabilityReport.Vulnerability.Builder setItems(int index, VulnerabilityReport.Vulnerability.Item value)
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6;
-
setItems
public VulnerabilityReport.Vulnerability.Builder setItems(int index, VulnerabilityReport.Vulnerability.Item.Builder builderForValue)
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6;
-
addItems
public VulnerabilityReport.Vulnerability.Builder addItems(VulnerabilityReport.Vulnerability.Item value)
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6;
-
addItems
public VulnerabilityReport.Vulnerability.Builder addItems(int index, VulnerabilityReport.Vulnerability.Item value)
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6;
-
addItems
public VulnerabilityReport.Vulnerability.Builder addItems(VulnerabilityReport.Vulnerability.Item.Builder builderForValue)
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6;
-
addItems
public VulnerabilityReport.Vulnerability.Builder addItems(int index, VulnerabilityReport.Vulnerability.Item.Builder builderForValue)
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6;
-
addAllItems
public VulnerabilityReport.Vulnerability.Builder addAllItems(Iterable<? extends VulnerabilityReport.Vulnerability.Item> values)
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6;
-
clearItems
public VulnerabilityReport.Vulnerability.Builder clearItems()
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6;
-
removeItems
public VulnerabilityReport.Vulnerability.Builder removeItems(int index)
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6;
-
getItemsBuilder
public VulnerabilityReport.Vulnerability.Item.Builder getItemsBuilder(int index)
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6;
-
getItemsOrBuilder
public VulnerabilityReport.Vulnerability.ItemOrBuilder getItemsOrBuilder(int index)
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6;- Specified by:
getItemsOrBuilderin interfaceVulnerabilityReport.VulnerabilityOrBuilder
-
getItemsOrBuilderList
public List<? extends VulnerabilityReport.Vulnerability.ItemOrBuilder> getItemsOrBuilderList()
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6;- Specified by:
getItemsOrBuilderListin interfaceVulnerabilityReport.VulnerabilityOrBuilder
-
addItemsBuilder
public VulnerabilityReport.Vulnerability.Item.Builder addItemsBuilder()
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6;
-
addItemsBuilder
public VulnerabilityReport.Vulnerability.Item.Builder addItemsBuilder(int index)
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6;
-
getItemsBuilderList
public List<VulnerabilityReport.Vulnerability.Item.Builder> getItemsBuilderList()
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6;
-
setUnknownFields
public final VulnerabilityReport.Vulnerability.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Builder>
-
mergeUnknownFields
public final VulnerabilityReport.Vulnerability.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Builder>
-
-