Class VulnerabilityReport.Vulnerability (2.49.0)

public static final class VulnerabilityReport.Vulnerability extends GeneratedMessageV3 implements VulnerabilityReport.VulnerabilityOrBuilder

A vulnerability affecting the VM instance.

Protobuf type google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > VulnerabilityReport.Vulnerability

Static Fields

AVAILABLE_INVENTORY_ITEM_IDS_FIELD_NUMBER

public static final int AVAILABLE_INVENTORY_ITEM_IDS_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DETAILS_FIELD_NUMBER

public static final int DETAILS_FIELD_NUMBER
Field Value
Type Description
int

INSTALLED_INVENTORY_ITEM_IDS_FIELD_NUMBER

public static final int INSTALLED_INVENTORY_ITEM_IDS_FIELD_NUMBER
Field Value
Type Description
int

ITEMS_FIELD_NUMBER

public static final int ITEMS_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VulnerabilityReport.Vulnerability getDefaultInstance()
Returns
Type Description
VulnerabilityReport.Vulnerability

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static VulnerabilityReport.Vulnerability.Builder newBuilder()
Returns
Type Description
VulnerabilityReport.Vulnerability.Builder

newBuilder(VulnerabilityReport.Vulnerability prototype)

public static VulnerabilityReport.Vulnerability.Builder newBuilder(VulnerabilityReport.Vulnerability prototype)
Parameter
Name Description
prototype VulnerabilityReport.Vulnerability
Returns
Type Description
VulnerabilityReport.Vulnerability.Builder

parseDelimitedFrom(InputStream input)

public static VulnerabilityReport.Vulnerability parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VulnerabilityReport.Vulnerability
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityReport.Vulnerability
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VulnerabilityReport.Vulnerability parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VulnerabilityReport.Vulnerability
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityReport.Vulnerability
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VulnerabilityReport.Vulnerability parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VulnerabilityReport.Vulnerability
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityReport.Vulnerability
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VulnerabilityReport.Vulnerability parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VulnerabilityReport.Vulnerability
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityReport.Vulnerability
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VulnerabilityReport.Vulnerability parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VulnerabilityReport.Vulnerability
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityReport.Vulnerability
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VulnerabilityReport.Vulnerability parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VulnerabilityReport.Vulnerability
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityReport.Vulnerability
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VulnerabilityReport.Vulnerability> parser()
Returns
Type Description
Parser<Vulnerability>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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];

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.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];

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.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];

Returns
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];

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.

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

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;

Returns
Type Description
VulnerabilityReport.Vulnerability.Details

The details.

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;

Returns
Type Description
VulnerabilityReport.Vulnerability.DetailsOrBuilder

getInstalledInventoryItemIds(int index) (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=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.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];

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.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];

Returns
Type Description
int

The count of installedInventoryItemIds.

getInstalledInventoryItemIdsList() (deprecated)

public ProtocolStringList getInstalledInventoryItemIdsList()

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];

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.v1.VulnerabilityReport.Vulnerability.Item items = 6;

Parameter
Name Description
index int
Returns
Type Description
VulnerabilityReport.Vulnerability.Item

getItemsCount()

public int getItemsCount()

List of items affected by the vulnerability.

repeated .google.cloud.osconfig.v1.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.v1.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.v1.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.v1.VulnerabilityReport.Vulnerability.Item items = 6;

Returns
Type Description
List<? extends com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder>

getParserForType()

public Parser<VulnerabilityReport.Vulnerability> getParserForType()
Returns
Type Description
Parser<Vulnerability>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.v1.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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public VulnerabilityReport.Vulnerability.Builder newBuilderForType()
Returns
Type Description
VulnerabilityReport.Vulnerability.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VulnerabilityReport.Vulnerability.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VulnerabilityReport.Vulnerability.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public VulnerabilityReport.Vulnerability.Builder toBuilder()
Returns
Type Description
VulnerabilityReport.Vulnerability.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException