public static final class VulnerabilityReport.Vulnerability.Builder extends GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Builder> implements VulnerabilityReport.VulnerabilityOrBuilder
A vulnerability affecting the VM instance.
Protobuf type google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VulnerabilityReport.Vulnerability.BuilderImplements
VulnerabilityReport.VulnerabilityOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllAvailableInventoryItemIds(Iterable<String> values) (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=120
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.
repeated string available_inventory_item_ids = 3 [deprecated = true];
Name | Description |
values | Iterable<String> The availableInventoryItemIds to add. |
Type | Description |
VulnerabilityReport.Vulnerability.Builder | This builder for chaining. |
addAllInstalledInventoryItemIds(Iterable<String> values) (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=112
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 distros,
this field may be empty.
repeated string installed_inventory_item_ids = 2 [deprecated = true];
Name | Description |
values | Iterable<String> The installedInventoryItemIds to add. |
Type | Description |
VulnerabilityReport.Vulnerability.Builder | This builder for chaining. |
addAllItems(Iterable<? extends VulnerabilityReport.Vulnerability.Item> values)
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;
Name | Description |
values | Iterable<? extends com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item> |
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
addAvailableInventoryItemIds(String value) (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=120
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.
repeated string available_inventory_item_ids = 3 [deprecated = true];
Name | Description |
value | String The availableInventoryItemIds to add. |
Type | Description |
VulnerabilityReport.Vulnerability.Builder | This builder for chaining. |
addAvailableInventoryItemIdsBytes(ByteString value) (deprecated)
public VulnerabilityReport.Vulnerability.Builder addAvailableInventoryItemIdsBytes(ByteString value)
Deprecated. google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120
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.
repeated string available_inventory_item_ids = 3 [deprecated = true];
Name | Description |
value | ByteString The bytes of the availableInventoryItemIds to add. |
Type | Description |
VulnerabilityReport.Vulnerability.Builder | This builder for chaining. |
addInstalledInventoryItemIds(String value) (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=112
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 distros,
this field may be empty.
repeated string installed_inventory_item_ids = 2 [deprecated = true];
Name | Description |
value | String The installedInventoryItemIds to add. |
Type | Description |
VulnerabilityReport.Vulnerability.Builder | This builder for chaining. |
addInstalledInventoryItemIdsBytes(ByteString value) (deprecated)
public VulnerabilityReport.Vulnerability.Builder addInstalledInventoryItemIdsBytes(ByteString value)
Deprecated. google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112
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 distros,
this field may be empty.
repeated string installed_inventory_item_ids = 2 [deprecated = true];
Name | Description |
value | ByteString The bytes of the installedInventoryItemIds to add. |
Type | Description |
VulnerabilityReport.Vulnerability.Builder | This builder for chaining. |
addItems(VulnerabilityReport.Vulnerability.Item value)
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;
Name | Description |
value | VulnerabilityReport.Vulnerability.Item |
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
addItems(VulnerabilityReport.Vulnerability.Item.Builder builderForValue)
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;
Name | Description |
builderForValue | VulnerabilityReport.Vulnerability.Item.Builder |
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
addItems(int index, VulnerabilityReport.Vulnerability.Item value)
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;
Name | Description |
index | int |
value | VulnerabilityReport.Vulnerability.Item |
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
addItems(int index, VulnerabilityReport.Vulnerability.Item.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | VulnerabilityReport.Vulnerability.Item.Builder |
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
addItemsBuilder()
public VulnerabilityReport.Vulnerability.Item.Builder addItemsBuilder()
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6;
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
addItemsBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityReport.Vulnerability.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
build()
public VulnerabilityReport.Vulnerability build()
Type | Description |
VulnerabilityReport.Vulnerability |
buildPartial()
public VulnerabilityReport.Vulnerability buildPartial()
Type | Description |
VulnerabilityReport.Vulnerability |
clear()
public VulnerabilityReport.Vulnerability.Builder clear()
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
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=120
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.
repeated string available_inventory_item_ids = 3 [deprecated = true];
Type | Description |
VulnerabilityReport.Vulnerability.Builder | This builder for chaining. |
clearCreateTime()
public VulnerabilityReport.Vulnerability.Builder clearCreateTime()
The timestamp for when the vulnerability was first detected.
.google.protobuf.Timestamp create_time = 4;
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
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;
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
clearField(Descriptors.FieldDescriptor field)
public VulnerabilityReport.Vulnerability.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
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=112
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 distros,
this field may be empty.
repeated string installed_inventory_item_ids = 2 [deprecated = true];
Type | Description |
VulnerabilityReport.Vulnerability.Builder | This builder for chaining. |
clearItems()
public VulnerabilityReport.Vulnerability.Builder clearItems()
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item items = 6;
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public VulnerabilityReport.Vulnerability.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
clearUpdateTime()
public VulnerabilityReport.Vulnerability.Builder clearUpdateTime()
The timestamp for when the vulnerability was last modified.
.google.protobuf.Timestamp update_time = 5;
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
clone()
public VulnerabilityReport.Vulnerability.Builder clone()
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
getAvailableInventoryItemIds(int index) (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=120
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.
repeated string available_inventory_item_ids = 3 [deprecated = true];
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The availableInventoryItemIds at the given index. |
getAvailableInventoryItemIdsBytes(int index) (deprecated)
public 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=120
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.
repeated string available_inventory_item_ids = 3 [deprecated = true];
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the availableInventoryItemIds at the given index. |
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=120
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.
repeated string available_inventory_item_ids = 3 [deprecated = true];
Type | Description |
int | The count of availableInventoryItemIds. |
getAvailableInventoryItemIdsList() (deprecated)
public ProtocolStringList getAvailableInventoryItemIdsList()
Deprecated. google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120
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.
repeated string available_inventory_item_ids = 3 [deprecated = true];
Type | Description |
ProtocolStringList | A list containing the availableInventoryItemIds. |
getCreateTime()
public Timestamp getCreateTime()
The timestamp for when the vulnerability was first detected.
.google.protobuf.Timestamp create_time = 4;
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
The timestamp for when the vulnerability was first detected.
.google.protobuf.Timestamp create_time = 4;
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
The timestamp for when the vulnerability was first detected.
.google.protobuf.Timestamp create_time = 4;
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public VulnerabilityReport.Vulnerability getDefaultInstanceForType()
Type | Description |
VulnerabilityReport.Vulnerability |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDetails()
public VulnerabilityReport.Vulnerability.Details getDetails()