public static final class VulnerabilityReport.Vulnerability extends GeneratedMessageV3 implements VulnerabilityReport.VulnerabilityOrBuilder
A vulnerability affecting the VM instance.
Protobuf type google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability
Static Fields
AVAILABLE_INVENTORY_ITEM_IDS_FIELD_NUMBER
public static final int AVAILABLE_INVENTORY_ITEM_IDS_FIELD_NUMBER
Field Value
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
DETAILS_FIELD_NUMBER
public static final int DETAILS_FIELD_NUMBER
Field Value
INSTALLED_INVENTORY_ITEM_IDS_FIELD_NUMBER
public static final int INSTALLED_INVENTORY_ITEM_IDS_FIELD_NUMBER
Field Value
ITEMS_FIELD_NUMBER
public static final int ITEMS_FIELD_NUMBER
Field Value
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static VulnerabilityReport.Vulnerability getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static VulnerabilityReport.Vulnerability.Builder newBuilder()
Returns
newBuilder(VulnerabilityReport.Vulnerability prototype)
public static VulnerabilityReport.Vulnerability.Builder newBuilder(VulnerabilityReport.Vulnerability prototype)
Parameter
Returns
public static VulnerabilityReport.Vulnerability parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static VulnerabilityReport.Vulnerability parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static VulnerabilityReport.Vulnerability parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static VulnerabilityReport.Vulnerability parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VulnerabilityReport.Vulnerability parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static VulnerabilityReport.Vulnerability parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VulnerabilityReport.Vulnerability parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static VulnerabilityReport.Vulnerability parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static VulnerabilityReport.Vulnerability parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<VulnerabilityReport.Vulnerability> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
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
getCreateTime()
public Timestamp getCreateTime()
The timestamp for when the vulnerability was first detected.
.google.protobuf.Timestamp create_time = 4;
Returns
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
The timestamp for when the vulnerability was first detected.
.google.protobuf.Timestamp create_time = 4;
Returns
getDefaultInstanceForType()
public VulnerabilityReport.Vulnerability getDefaultInstanceForType()
Returns
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
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
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
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
Returns
getItemsCount()
public int getItemsCount()
List of items affected by the vulnerability.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;
Returns
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
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
Returns
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> | |
getParserForType()
public Parser<VulnerabilityReport.Vulnerability> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
The timestamp for when the vulnerability was last modified.
.google.protobuf.Timestamp update_time = 5;
Returns
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
The timestamp for when the vulnerability was last modified.
.google.protobuf.Timestamp update_time = 5;
Returns
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public VulnerabilityReport.Vulnerability.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VulnerabilityReport.Vulnerability.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public VulnerabilityReport.Vulnerability.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions