Class VulnerabilityReport.Vulnerability (2.29.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
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

DETAILS_FIELD_NUMBER

public static final int DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

INSTALLED_INVENTORY_ITEM_IDS_FIELD_NUMBER

public static final int INSTALLED_INVENTORY_ITEM_IDS_FIELD_NUMBER
Field Value
TypeDescription
int

ITEMS_FIELD_NUMBER

public static final int ITEMS_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VulnerabilityReport.Vulnerability getDefaultInstance()
Returns
TypeDescription
VulnerabilityReport.Vulnerability

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VulnerabilityReport.Vulnerability.Builder newBuilder()
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Builder

newBuilder(VulnerabilityReport.Vulnerability prototype)

public static VulnerabilityReport.Vulnerability.Builder newBuilder(VulnerabilityReport.Vulnerability prototype)
Parameter
NameDescription
prototypeVulnerabilityReport.Vulnerability
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Builder

parseDelimitedFrom(InputStream input)

public static VulnerabilityReport.Vulnerability parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VulnerabilityReport.Vulnerability
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VulnerabilityReport.Vulnerability parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VulnerabilityReport.Vulnerability
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VulnerabilityReport.Vulnerability parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VulnerabilityReport.Vulnerability
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VulnerabilityReport.Vulnerability parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VulnerabilityReport.Vulnerability
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VulnerabilityReport.Vulnerability parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VulnerabilityReport.Vulnerability
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VulnerabilityReport.Vulnerability parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VulnerabilityReport.Vulnerability
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The timestamp for when the vulnerability was first detected.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public VulnerabilityReport.Vulnerability getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.ItemOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUpdateTime()

public Timestamp getUpdateTime()

The timestamp for when the vulnerability was last modified.

.google.protobuf.Timestamp update_time = 5;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

The timestamp for when the vulnerability was last modified.

.google.protobuf.Timestamp update_time = 5;

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

The timestamp for when the vulnerability was first detected.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VulnerabilityReport.Vulnerability.Builder newBuilderForType()
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VulnerabilityReport.Vulnerability.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VulnerabilityReport.Vulnerability.Builder toBuilder()
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException