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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static VulnerabilityReport.Vulnerability.Builder newBuilder()
newBuilder(VulnerabilityReport.Vulnerability prototype)
public static VulnerabilityReport.Vulnerability.Builder newBuilder(VulnerabilityReport.Vulnerability prototype)
public static VulnerabilityReport.Vulnerability parseDelimitedFrom(InputStream input)
public static VulnerabilityReport.Vulnerability parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static VulnerabilityReport.Vulnerability parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static VulnerabilityReport.Vulnerability parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability parseFrom(CodedInputStream input)
public static VulnerabilityReport.Vulnerability parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability parseFrom(InputStream input)
public static VulnerabilityReport.Vulnerability parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static VulnerabilityReport.Vulnerability parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<VulnerabilityReport.Vulnerability> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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];
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;
getDefaultInstanceForType()
public VulnerabilityReport.Vulnerability getDefaultInstanceForType()
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;
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;
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];
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
|
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;
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
|
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()
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;
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public VulnerabilityReport.Vulnerability.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VulnerabilityReport.Vulnerability.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public VulnerabilityReport.Vulnerability.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides