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.Builder
addAllAvailableInventoryItemIds(Iterable<String> values)
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated.VulnerabilityReport.Vulnerability.Builder
addAllInstalledInventoryItemIds(Iterable<String> values)
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated.VulnerabilityReport.Vulnerability.Builder
addAllItems(Iterable<? extends VulnerabilityReport.Vulnerability.Item> values)
List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.Builder
addAvailableInventoryItemIds(String value)
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated.VulnerabilityReport.Vulnerability.Builder
addAvailableInventoryItemIdsBytes(com.google.protobuf.ByteString value)
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated.VulnerabilityReport.Vulnerability.Builder
addInstalledInventoryItemIds(String value)
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated.VulnerabilityReport.Vulnerability.Builder
addInstalledInventoryItemIdsBytes(com.google.protobuf.ByteString value)
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated.VulnerabilityReport.Vulnerability.Builder
addItems(int index, VulnerabilityReport.Vulnerability.Item value)
List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.Builder
addItems(int index, VulnerabilityReport.Vulnerability.Item.Builder builderForValue)
List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.Builder
addItems(VulnerabilityReport.Vulnerability.Item value)
List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.Builder
addItems(VulnerabilityReport.Vulnerability.Item.Builder builderForValue)
List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.Item.Builder
addItemsBuilder()
List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.Item.Builder
addItemsBuilder(int index)
List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
VulnerabilityReport.Vulnerability
build()
VulnerabilityReport.Vulnerability
buildPartial()
VulnerabilityReport.Vulnerability.Builder
clear()
VulnerabilityReport.Vulnerability.Builder
clearAvailableInventoryItemIds()
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated.VulnerabilityReport.Vulnerability.Builder
clearCreateTime()
The timestamp for when the vulnerability was first detected.VulnerabilityReport.Vulnerability.Builder
clearDetails()
Contains metadata as per the upstream feed of the operating system and NVD.VulnerabilityReport.Vulnerability.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
VulnerabilityReport.Vulnerability.Builder
clearInstalledInventoryItemIds()
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated.VulnerabilityReport.Vulnerability.Builder
clearItems()
List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
VulnerabilityReport.Vulnerability.Builder
clearUpdateTime()
The timestamp for when the vulnerability was last modified.VulnerabilityReport.Vulnerability.Builder
clone()
String
getAvailableInventoryItemIds(int index)
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated.com.google.protobuf.ByteString
getAvailableInventoryItemIdsBytes(int index)
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated.int
getAvailableInventoryItemIdsCount()
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated.com.google.protobuf.ProtocolStringList
getAvailableInventoryItemIdsList()
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated.com.google.protobuf.Timestamp
getCreateTime()
The timestamp for when the vulnerability was first detected.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
The timestamp for when the vulnerability was first detected.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
The timestamp for when the vulnerability was first detected.VulnerabilityReport.Vulnerability
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
VulnerabilityReport.Vulnerability.Details
getDetails()
Contains metadata as per the upstream feed of the operating system and NVD.VulnerabilityReport.Vulnerability.Details.Builder
getDetailsBuilder()
Contains metadata as per the upstream feed of the operating system and NVD.VulnerabilityReport.Vulnerability.DetailsOrBuilder
getDetailsOrBuilder()
Contains metadata as per the upstream feed of the operating system and NVD.String
getInstalledInventoryItemIds(int index)
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated.com.google.protobuf.ByteString
getInstalledInventoryItemIdsBytes(int index)
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated.int
getInstalledInventoryItemIdsCount()
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated.com.google.protobuf.ProtocolStringList
getInstalledInventoryItemIdsList()
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated.VulnerabilityReport.Vulnerability.Item
getItems(int index)
List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.Item.Builder
getItemsBuilder(int index)
List of items affected by the vulnerability.List<VulnerabilityReport.Vulnerability.Item.Builder>
getItemsBuilderList()
List of items affected by the vulnerability.int
getItemsCount()
List of items affected by the vulnerability.List<VulnerabilityReport.Vulnerability.Item>
getItemsList()
List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.ItemOrBuilder
getItemsOrBuilder(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.Timestamp
getUpdateTime()
The timestamp for when the vulnerability was last modified.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
The timestamp for when the vulnerability was last modified.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
The timestamp for when the vulnerability was last modified.boolean
hasCreateTime()
The timestamp for when the vulnerability was first detected.boolean
hasDetails()
Contains metadata as per the upstream feed of the operating system and NVD.boolean
hasUpdateTime()
The timestamp for when the vulnerability was last modified.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
VulnerabilityReport.Vulnerability.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
The timestamp for when the vulnerability was first detected.VulnerabilityReport.Vulnerability.Builder
mergeDetails(VulnerabilityReport.Vulnerability.Details value)
Contains metadata as per the upstream feed of the operating system and NVD.VulnerabilityReport.Vulnerability.Builder
mergeFrom(VulnerabilityReport.Vulnerability other)
VulnerabilityReport.Vulnerability.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
VulnerabilityReport.Vulnerability.Builder
mergeFrom(com.google.protobuf.Message other)
VulnerabilityReport.Vulnerability.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
VulnerabilityReport.Vulnerability.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
The timestamp for when the vulnerability was last modified.VulnerabilityReport.Vulnerability.Builder
removeItems(int index)
List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.Builder
setAvailableInventoryItemIds(int index, String value)
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated.VulnerabilityReport.Vulnerability.Builder
setCreateTime(com.google.protobuf.Timestamp value)
The timestamp for when the vulnerability was first detected.VulnerabilityReport.Vulnerability.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The timestamp for when the vulnerability was first detected.VulnerabilityReport.Vulnerability.Builder
setDetails(VulnerabilityReport.Vulnerability.Details value)
Contains metadata as per the upstream feed of the operating system and NVD.VulnerabilityReport.Vulnerability.Builder
setDetails(VulnerabilityReport.Vulnerability.Details.Builder builderForValue)
Contains metadata as per the upstream feed of the operating system and NVD.VulnerabilityReport.Vulnerability.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
VulnerabilityReport.Vulnerability.Builder
setInstalledInventoryItemIds(int index, String value)
Deprecated.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated.VulnerabilityReport.Vulnerability.Builder
setItems(int index, VulnerabilityReport.Vulnerability.Item value)
List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.Builder
setItems(int index, VulnerabilityReport.Vulnerability.Item.Builder builderForValue)
List of items affected by the vulnerability.VulnerabilityReport.Vulnerability.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
VulnerabilityReport.Vulnerability.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
VulnerabilityReport.Vulnerability.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
The timestamp for when the vulnerability was last modified.VulnerabilityReport.Vulnerability.Builder
setUpdateTime(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Builder>
-
clear
public VulnerabilityReport.Vulnerability.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Builder>
-
getDefaultInstanceForType
public VulnerabilityReport.Vulnerability getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public VulnerabilityReport.Vulnerability build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VulnerabilityReport.Vulnerability buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VulnerabilityReport.Vulnerability.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Builder>
-
setField
public VulnerabilityReport.Vulnerability.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Builder>
-
clearField
public VulnerabilityReport.Vulnerability.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Builder>
-
clearOneof
public VulnerabilityReport.Vulnerability.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Builder>
-
setRepeatedField
public VulnerabilityReport.Vulnerability.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Builder>
-
addRepeatedField
public VulnerabilityReport.Vulnerability.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Builder>
-
mergeFrom
public VulnerabilityReport.Vulnerability.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VulnerabilityReport.Vulnerability.Builder>
-
mergeFrom
public VulnerabilityReport.Vulnerability.Builder mergeFrom(VulnerabilityReport.Vulnerability other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasDetails
in 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:
getDetails
in 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:
getDetailsOrBuilder
in 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:
getInstalledInventoryItemIdsList
in 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:
getInstalledInventoryItemIdsCount
in 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:
getInstalledInventoryItemIds
in 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:
getInstalledInventoryItemIdsBytes
in 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:
getAvailableInventoryItemIdsList
in 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:
getAvailableInventoryItemIdsCount
in 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:
getAvailableInventoryItemIds
in 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:
getAvailableInventoryItemIdsBytes
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in interfaceVulnerabilityReport.VulnerabilityOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
The timestamp for when the vulnerability was last modified.
.google.protobuf.Timestamp update_time = 5;
- Specified by:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in 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:
getItemsList
in 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:
getItemsCount
in 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:
getItems
in 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:
getItemsOrBuilder
in 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:
getItemsOrBuilderList
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Builder>
-
mergeUnknownFields
public final VulnerabilityReport.Vulnerability.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Builder>
-
-