- 2.49.0 (latest)
- 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.Item.Builder extends GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder> implements VulnerabilityReport.Vulnerability.ItemOrBuilder
OS inventory item that is affected by a vulnerability or fixed as a result of a vulnerability.
Protobuf type google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VulnerabilityReport.Vulnerability.Item.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityReport.Vulnerability.Item.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
build()
public VulnerabilityReport.Vulnerability.Item build()
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item |
buildPartial()
public VulnerabilityReport.Vulnerability.Item buildPartial()
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item |
clear()
public VulnerabilityReport.Vulnerability.Item.Builder clear()
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
clearAvailableInventoryItemId()
public VulnerabilityReport.Vulnerability.Item.Builder clearAvailableInventoryItemId()
Corresponds to the AVAILABLE_PACKAGE
inventory item on the VM.
If the vulnerability report was not updated after the VM inventory
update, these values might not display in VM inventory. If there is no
available fix, the field is empty. The inventory_item
value specifies
the latest SoftwarePackage
available to the VM that fixes the
vulnerability.
string available_inventory_item_id = 2;
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public VulnerabilityReport.Vulnerability.Item.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
clearFixedCpeUri()
public VulnerabilityReport.Vulnerability.Item.Builder clearFixedCpeUri()
The recommended CPE URI update that contains a fix for this vulnerability.
string fixed_cpe_uri = 3;
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
This builder for chaining. |
clearInstalledInventoryItemId()
public VulnerabilityReport.Vulnerability.Item.Builder clearInstalledInventoryItemId()
Corresponds to the INSTALLED_PACKAGE
inventory item on the VM.
This field displays the inventory items affected by this vulnerability.
If the vulnerability report was not updated after the VM inventory
update, these values might not display in VM inventory. For some
operating systems, this field might be empty.
string installed_inventory_item_id = 1;
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VulnerabilityReport.Vulnerability.Item.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
clearUpstreamFix()
public VulnerabilityReport.Vulnerability.Item.Builder clearUpstreamFix()
The upstream OS patch, packages or KB that fixes the vulnerability.
string upstream_fix = 4;
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
This builder for chaining. |
clone()
public VulnerabilityReport.Vulnerability.Item.Builder clone()
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
getAvailableInventoryItemId()
public String getAvailableInventoryItemId()
Corresponds to the AVAILABLE_PACKAGE
inventory item on the VM.
If the vulnerability report was not updated after the VM inventory
update, these values might not display in VM inventory. If there is no
available fix, the field is empty. The inventory_item
value specifies
the latest SoftwarePackage
available to the VM that fixes the
vulnerability.
string available_inventory_item_id = 2;
Returns | |
---|---|
Type | Description |
String |
The availableInventoryItemId. |
getAvailableInventoryItemIdBytes()
public ByteString getAvailableInventoryItemIdBytes()
Corresponds to the AVAILABLE_PACKAGE
inventory item on the VM.
If the vulnerability report was not updated after the VM inventory
update, these values might not display in VM inventory. If there is no
available fix, the field is empty. The inventory_item
value specifies
the latest SoftwarePackage
available to the VM that fixes the
vulnerability.
string available_inventory_item_id = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for availableInventoryItemId. |
getDefaultInstanceForType()
public VulnerabilityReport.Vulnerability.Item getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFixedCpeUri()
public String getFixedCpeUri()
The recommended CPE URI update that contains a fix for this vulnerability.
string fixed_cpe_uri = 3;
Returns | |
---|---|
Type | Description |
String |
The fixedCpeUri. |
getFixedCpeUriBytes()
public ByteString getFixedCpeUriBytes()
The recommended CPE URI update that contains a fix for this vulnerability.
string fixed_cpe_uri = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for fixedCpeUri. |
getInstalledInventoryItemId()
public String getInstalledInventoryItemId()
Corresponds to the INSTALLED_PACKAGE
inventory item on the VM.
This field displays the inventory items affected by this vulnerability.
If the vulnerability report was not updated after the VM inventory
update, these values might not display in VM inventory. For some
operating systems, this field might be empty.
string installed_inventory_item_id = 1;
Returns | |
---|---|
Type | Description |
String |
The installedInventoryItemId. |
getInstalledInventoryItemIdBytes()
public ByteString getInstalledInventoryItemIdBytes()
Corresponds to the INSTALLED_PACKAGE
inventory item on the VM.
This field displays the inventory items affected by this vulnerability.
If the vulnerability report was not updated after the VM inventory
update, these values might not display in VM inventory. For some
operating systems, this field might be empty.
string installed_inventory_item_id = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for installedInventoryItemId. |
getUpstreamFix()
public String getUpstreamFix()
The upstream OS patch, packages or KB that fixes the vulnerability.
string upstream_fix = 4;
Returns | |
---|---|
Type | Description |
String |
The upstreamFix. |
getUpstreamFixBytes()
public ByteString getUpstreamFixBytes()
The upstream OS patch, packages or KB that fixes the vulnerability.
string upstream_fix = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for upstreamFix. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(VulnerabilityReport.Vulnerability.Item other)
public VulnerabilityReport.Vulnerability.Item.Builder mergeFrom(VulnerabilityReport.Vulnerability.Item other)
Parameter | |
---|---|
Name | Description |
other |
VulnerabilityReport.Vulnerability.Item |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VulnerabilityReport.Vulnerability.Item.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public VulnerabilityReport.Vulnerability.Item.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityReport.Vulnerability.Item.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
setAvailableInventoryItemId(String value)
public VulnerabilityReport.Vulnerability.Item.Builder setAvailableInventoryItemId(String value)
Corresponds to the AVAILABLE_PACKAGE
inventory item on the VM.
If the vulnerability report was not updated after the VM inventory
update, these values might not display in VM inventory. If there is no
available fix, the field is empty. The inventory_item
value specifies
the latest SoftwarePackage
available to the VM that fixes the
vulnerability.
string available_inventory_item_id = 2;
Parameter | |
---|---|
Name | Description |
value |
String The availableInventoryItemId to set. |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
This builder for chaining. |
setAvailableInventoryItemIdBytes(ByteString value)
public VulnerabilityReport.Vulnerability.Item.Builder setAvailableInventoryItemIdBytes(ByteString value)
Corresponds to the AVAILABLE_PACKAGE
inventory item on the VM.
If the vulnerability report was not updated after the VM inventory
update, these values might not display in VM inventory. If there is no
available fix, the field is empty. The inventory_item
value specifies
the latest SoftwarePackage
available to the VM that fixes the
vulnerability.
string available_inventory_item_id = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for availableInventoryItemId to set. |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityReport.Vulnerability.Item.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
setFixedCpeUri(String value)
public VulnerabilityReport.Vulnerability.Item.Builder setFixedCpeUri(String value)
The recommended CPE URI update that contains a fix for this vulnerability.
string fixed_cpe_uri = 3;
Parameter | |
---|---|
Name | Description |
value |
String The fixedCpeUri to set. |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
This builder for chaining. |
setFixedCpeUriBytes(ByteString value)
public VulnerabilityReport.Vulnerability.Item.Builder setFixedCpeUriBytes(ByteString value)
The recommended CPE URI update that contains a fix for this vulnerability.
string fixed_cpe_uri = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for fixedCpeUri to set. |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
This builder for chaining. |
setInstalledInventoryItemId(String value)
public VulnerabilityReport.Vulnerability.Item.Builder setInstalledInventoryItemId(String value)
Corresponds to the INSTALLED_PACKAGE
inventory item on the VM.
This field displays the inventory items affected by this vulnerability.
If the vulnerability report was not updated after the VM inventory
update, these values might not display in VM inventory. For some
operating systems, this field might be empty.
string installed_inventory_item_id = 1;
Parameter | |
---|---|
Name | Description |
value |
String The installedInventoryItemId to set. |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
This builder for chaining. |
setInstalledInventoryItemIdBytes(ByteString value)
public VulnerabilityReport.Vulnerability.Item.Builder setInstalledInventoryItemIdBytes(ByteString value)
Corresponds to the INSTALLED_PACKAGE
inventory item on the VM.
This field displays the inventory items affected by this vulnerability.
If the vulnerability report was not updated after the VM inventory
update, these values might not display in VM inventory. For some
operating systems, this field might be empty.
string installed_inventory_item_id = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for installedInventoryItemId to set. |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VulnerabilityReport.Vulnerability.Item.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityReport.Vulnerability.Item.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
setUpstreamFix(String value)
public VulnerabilityReport.Vulnerability.Item.Builder setUpstreamFix(String value)
The upstream OS patch, packages or KB that fixes the vulnerability.
string upstream_fix = 4;
Parameter | |
---|---|
Name | Description |
value |
String The upstreamFix to set. |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
This builder for chaining. |
setUpstreamFixBytes(ByteString value)
public VulnerabilityReport.Vulnerability.Item.Builder setUpstreamFixBytes(ByteString value)
The upstream OS patch, packages or KB that fixes the vulnerability.
string upstream_fix = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for upstreamFix to set. |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Item.Builder |
This builder for chaining. |