- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.3
- 2.3.2
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.v1alpha.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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllAvailableInventoryItemIds(Iterable<String> values) (deprecated)
public VulnerabilityReport.Vulnerability.Builder addAllAvailableInventoryItemIds(Iterable<String> values)
Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The availableInventoryItemIds to add. |
Returns | |
---|---|
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.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The installedInventoryItemIds to add. |
Returns | |
---|---|
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.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item> |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
addAvailableInventoryItemIds(String value) (deprecated)
public VulnerabilityReport.Vulnerability.Builder addAvailableInventoryItemIds(String value)
Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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];
Parameter | |
---|---|
Name | Description |
value |
String The availableInventoryItemIds to add. |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
This builder for chaining. |
addAvailableInventoryItemIdsBytes(ByteString value) (deprecated)
public VulnerabilityReport.Vulnerability.Builder addAvailableInventoryItemIdsBytes(ByteString value)
Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the availableInventoryItemIds to add. |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
This builder for chaining. |
addInstalledInventoryItemIds(String value) (deprecated)
public VulnerabilityReport.Vulnerability.Builder addInstalledInventoryItemIds(String value)
Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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];
Parameter | |
---|---|
Name | Description |
value |
String The installedInventoryItemIds to add. |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
This builder for chaining. |
addInstalledInventoryItemIdsBytes(ByteString value) (deprecated)
public VulnerabilityReport.Vulnerability.Builder addInstalledInventoryItemIdsBytes(ByteString value)
Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the installedInventoryItemIds to add. |
Returns | |
---|---|
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.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;
Parameter | |
---|---|
Name | Description |
value |
VulnerabilityReport.Vulnerability.Item |
Returns | |
---|---|
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.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
VulnerabilityReport.Vulnerability.Item.Builder |
Returns | |
---|---|
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.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
VulnerabilityReport.Vulnerability.Item |
Returns | |
---|---|
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.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
VulnerabilityReport.Vulnerability.Item.Builder |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
addItemsBuilder()
public VulnerabilityReport.Vulnerability.Item.Builder addItemsBuilder()
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;
Returns | |
---|---|
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.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityReport.Vulnerability.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
build()
public VulnerabilityReport.Vulnerability build()
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability |
buildPartial()
public VulnerabilityReport.Vulnerability buildPartial()
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability |
clear()
public VulnerabilityReport.Vulnerability.Builder clear()
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
clearAvailableInventoryItemIds() (deprecated)
public VulnerabilityReport.Vulnerability.Builder clearAvailableInventoryItemIds()
Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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];
Returns | |
---|---|
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;
Returns | |
---|---|
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.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1;
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
clearField(Descriptors.FieldDescriptor field)
public VulnerabilityReport.Vulnerability.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
clearInstalledInventoryItemIds() (deprecated)
public VulnerabilityReport.Vulnerability.Builder clearInstalledInventoryItemIds()
Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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];
Returns | |
---|---|
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.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public VulnerabilityReport.Vulnerability.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
clone()
public VulnerabilityReport.Vulnerability.Builder clone()
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
getAvailableInventoryItemIds(int index) (deprecated)
public String getAvailableInventoryItemIds(int index)
Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The availableInventoryItemIds at the given index. |
getAvailableInventoryItemIdsBytes(int index) (deprecated)
public ByteString getAvailableInventoryItemIdsBytes(int index)
Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the availableInventoryItemIds at the given index. |
getAvailableInventoryItemIdsCount() (deprecated)
public int getAvailableInventoryItemIdsCount()
Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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];
Returns | |
---|---|
Type | Description |
int |
The count of availableInventoryItemIds. |
getAvailableInventoryItemIdsList() (deprecated)
public ProtocolStringList getAvailableInventoryItemIdsList()
Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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];
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
The timestamp for when the vulnerability was first detected.
.google.protobuf.Timestamp create_time = 4;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public VulnerabilityReport.Vulnerability getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDetails()
public VulnerabilityReport.Vulnerability.Details getDetails()
Contains metadata as per the upstream feed of the operating system and NVD.
.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1;
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Details |
The details. |
getDetailsBuilder()
public VulnerabilityReport.Vulnerability.Details.Builder getDetailsBuilder()
Contains metadata as per the upstream feed of the operating system and NVD.
.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1;
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
getDetailsOrBuilder()
public VulnerabilityReport.Vulnerability.DetailsOrBuilder getDetailsOrBuilder()
Contains metadata as per the upstream feed of the operating system and NVD.
.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1;
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.DetailsOrBuilder |
getInstalledInventoryItemIds(int index) (deprecated)
public String getInstalledInventoryItemIds(int index)
Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The installedInventoryItemIds at the given index. |
getInstalledInventoryItemIdsBytes(int index) (deprecated)
public ByteString getInstalledInventoryItemIdsBytes(int index)
Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the installedInventoryItemIds at the given index. |
getInstalledInventoryItemIdsCount() (deprecated)
public int getInstalledInventoryItemIdsCount()
Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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];
Returns | |
---|---|
Type | Description |
int |
The count of installedInventoryItemIds. |
getInstalledInventoryItemIdsList() (deprecated)
public ProtocolStringList getInstalledInventoryItemIdsList()
Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the installedInventoryItemIds. |
getItems(int index)
public VulnerabilityReport.Vulnerability.Item getItems(int index)
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item |
getItemsBuilder(int index)
public VulnerabilityReport.Vulnerability.Item.Builder getItemsBuilder(int index)
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
getItemsBuilderList()
public List<VulnerabilityReport.Vulnerability.Item.Builder> getItemsBuilderList()
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;
Returns | |
---|---|
Type | Description |
List<Builder> |
getItemsCount()
public int getItemsCount()
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;
Returns | |
---|---|
Type | Description |
int |
getItemsList()
public List<VulnerabilityReport.Vulnerability.Item> getItemsList()
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;
Returns | |
---|---|
Type | Description |
List<Item> |
getItemsOrBuilder(int index)
public VulnerabilityReport.Vulnerability.ItemOrBuilder getItemsOrBuilder(int index)
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.ItemOrBuilder |
getItemsOrBuilderList()
public List<? extends VulnerabilityReport.Vulnerability.ItemOrBuilder> getItemsOrBuilderList()
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder> |
getUpdateTime()
public Timestamp getUpdateTime()
The timestamp for when the vulnerability was last modified.
.google.protobuf.Timestamp update_time = 5;
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
The timestamp for when the vulnerability was last modified.
.google.protobuf.Timestamp update_time = 5;
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
The timestamp for when the vulnerability was last modified.
.google.protobuf.Timestamp update_time = 5;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
The timestamp for when the vulnerability was first detected.
.google.protobuf.Timestamp create_time = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasDetails()
public boolean hasDetails()
Contains metadata as per the upstream feed of the operating system and NVD.
.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the details field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
The timestamp for when the vulnerability was last modified.
.google.protobuf.Timestamp update_time = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public VulnerabilityReport.Vulnerability.Builder mergeCreateTime(Timestamp value)
The timestamp for when the vulnerability was first detected.
.google.protobuf.Timestamp create_time = 4;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
mergeDetails(VulnerabilityReport.Vulnerability.Details value)
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.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1;
Parameter | |
---|---|
Name | Description |
value |
VulnerabilityReport.Vulnerability.Details |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
mergeFrom(VulnerabilityReport.Vulnerability other)
public VulnerabilityReport.Vulnerability.Builder mergeFrom(VulnerabilityReport.Vulnerability other)
Parameter | |
---|---|
Name | Description |
other |
VulnerabilityReport.Vulnerability |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VulnerabilityReport.Vulnerability.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public VulnerabilityReport.Vulnerability.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityReport.Vulnerability.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
mergeUpdateTime(Timestamp value)
public VulnerabilityReport.Vulnerability.Builder mergeUpdateTime(Timestamp value)
The timestamp for when the vulnerability was last modified.
.google.protobuf.Timestamp update_time = 5;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
removeItems(int index)
public VulnerabilityReport.Vulnerability.Builder removeItems(int index)
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
setAvailableInventoryItemIds(int index, String value) (deprecated)
public VulnerabilityReport.Vulnerability.Builder setAvailableInventoryItemIds(int index, String value)
Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The availableInventoryItemIds to set. |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public VulnerabilityReport.Vulnerability.Builder setCreateTime(Timestamp value)
The timestamp for when the vulnerability was first detected.
.google.protobuf.Timestamp create_time = 4;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public VulnerabilityReport.Vulnerability.Builder setCreateTime(Timestamp.Builder builderForValue)
The timestamp for when the vulnerability was first detected.
.google.protobuf.Timestamp create_time = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
setDetails(VulnerabilityReport.Vulnerability.Details value)
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.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1;
Parameter | |
---|---|
Name | Description |
value |
VulnerabilityReport.Vulnerability.Details |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
setDetails(VulnerabilityReport.Vulnerability.Details.Builder builderForValue)
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.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
VulnerabilityReport.Vulnerability.Details.Builder |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityReport.Vulnerability.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
setInstalledInventoryItemIds(int index, String value) (deprecated)
public VulnerabilityReport.Vulnerability.Builder setInstalledInventoryItemIds(int index, String value)
Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The installedInventoryItemIds to set. |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
This builder for chaining. |
setItems(int index, VulnerabilityReport.Vulnerability.Item value)
public VulnerabilityReport.Vulnerability.Builder setItems(int index, VulnerabilityReport.Vulnerability.Item value)
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
VulnerabilityReport.Vulnerability.Item |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
setItems(int index, VulnerabilityReport.Vulnerability.Item.Builder builderForValue)
public VulnerabilityReport.Vulnerability.Builder setItems(int index, VulnerabilityReport.Vulnerability.Item.Builder builderForValue)
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
VulnerabilityReport.Vulnerability.Item.Builder |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VulnerabilityReport.Vulnerability.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityReport.Vulnerability.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
setUpdateTime(Timestamp value)
public VulnerabilityReport.Vulnerability.Builder setUpdateTime(Timestamp value)
The timestamp for when the vulnerability was last modified.
.google.protobuf.Timestamp update_time = 5;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public VulnerabilityReport.Vulnerability.Builder setUpdateTime(Timestamp.Builder builderForValue)
The timestamp for when the vulnerability was last modified.
.google.protobuf.Timestamp update_time = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Builder |