Package com.google.cloud.osconfig.v1
Class VulnerabilityReport.Vulnerability.Item.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>
-
- com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item.Builder
-
- All Implemented Interfaces:
VulnerabilityReport.Vulnerability.ItemOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VulnerabilityReport.Vulnerability.Item
public static final class VulnerabilityReport.Vulnerability.Item.Builder extends com.google.protobuf.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 typegoogle.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Item
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VulnerabilityReport.Vulnerability.Item.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)VulnerabilityReport.Vulnerability.Itembuild()VulnerabilityReport.Vulnerability.ItembuildPartial()VulnerabilityReport.Vulnerability.Item.Builderclear()VulnerabilityReport.Vulnerability.Item.BuilderclearAvailableInventoryItemId()Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.VulnerabilityReport.Vulnerability.Item.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)VulnerabilityReport.Vulnerability.Item.BuilderclearFixedCpeUri()The recommended [CPE URI](https://cpe.mitre.org/specification/) update that contains a fix for this vulnerability.VulnerabilityReport.Vulnerability.Item.BuilderclearInstalledInventoryItemId()Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.VulnerabilityReport.Vulnerability.Item.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)VulnerabilityReport.Vulnerability.Item.BuilderclearUpstreamFix()The upstream OS patch, packages or KB that fixes the vulnerability.VulnerabilityReport.Vulnerability.Item.Builderclone()StringgetAvailableInventoryItemId()Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.com.google.protobuf.ByteStringgetAvailableInventoryItemIdBytes()Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.VulnerabilityReport.Vulnerability.ItemgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFixedCpeUri()The recommended [CPE URI](https://cpe.mitre.org/specification/) update that contains a fix for this vulnerability.com.google.protobuf.ByteStringgetFixedCpeUriBytes()The recommended [CPE URI](https://cpe.mitre.org/specification/) update that contains a fix for this vulnerability.StringgetInstalledInventoryItemId()Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.com.google.protobuf.ByteStringgetInstalledInventoryItemIdBytes()Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.StringgetUpstreamFix()The upstream OS patch, packages or KB that fixes the vulnerability.com.google.protobuf.ByteStringgetUpstreamFixBytes()The upstream OS patch, packages or KB that fixes the vulnerability.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()VulnerabilityReport.Vulnerability.Item.BuildermergeFrom(VulnerabilityReport.Vulnerability.Item other)VulnerabilityReport.Vulnerability.Item.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)VulnerabilityReport.Vulnerability.Item.BuildermergeFrom(com.google.protobuf.Message other)VulnerabilityReport.Vulnerability.Item.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)VulnerabilityReport.Vulnerability.Item.BuildersetAvailableInventoryItemId(String value)Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.VulnerabilityReport.Vulnerability.Item.BuildersetAvailableInventoryItemIdBytes(com.google.protobuf.ByteString value)Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM.VulnerabilityReport.Vulnerability.Item.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)VulnerabilityReport.Vulnerability.Item.BuildersetFixedCpeUri(String value)The recommended [CPE URI](https://cpe.mitre.org/specification/) update that contains a fix for this vulnerability.VulnerabilityReport.Vulnerability.Item.BuildersetFixedCpeUriBytes(com.google.protobuf.ByteString value)The recommended [CPE URI](https://cpe.mitre.org/specification/) update that contains a fix for this vulnerability.VulnerabilityReport.Vulnerability.Item.BuildersetInstalledInventoryItemId(String value)Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.VulnerabilityReport.Vulnerability.Item.BuildersetInstalledInventoryItemIdBytes(com.google.protobuf.ByteString value)Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM.VulnerabilityReport.Vulnerability.Item.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)VulnerabilityReport.Vulnerability.Item.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)VulnerabilityReport.Vulnerability.Item.BuildersetUpstreamFix(String value)The upstream OS patch, packages or KB that fixes the vulnerability.VulnerabilityReport.Vulnerability.Item.BuildersetUpstreamFixBytes(com.google.protobuf.ByteString value)The upstream OS patch, packages or KB that fixes the vulnerability.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>
-
clear
public VulnerabilityReport.Vulnerability.Item.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>
-
getDefaultInstanceForType
public VulnerabilityReport.Vulnerability.Item getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public VulnerabilityReport.Vulnerability.Item build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VulnerabilityReport.Vulnerability.Item buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VulnerabilityReport.Vulnerability.Item.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>
-
setField
public VulnerabilityReport.Vulnerability.Item.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>
-
clearField
public VulnerabilityReport.Vulnerability.Item.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>
-
clearOneof
public VulnerabilityReport.Vulnerability.Item.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>
-
setRepeatedField
public VulnerabilityReport.Vulnerability.Item.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>
-
addRepeatedField
public VulnerabilityReport.Vulnerability.Item.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>
-
mergeFrom
public VulnerabilityReport.Vulnerability.Item.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VulnerabilityReport.Vulnerability.Item.Builder>
-
mergeFrom
public VulnerabilityReport.Vulnerability.Item.Builder mergeFrom(VulnerabilityReport.Vulnerability.Item other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>
-
mergeFrom
public VulnerabilityReport.Vulnerability.Item.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VulnerabilityReport.Vulnerability.Item.Builder>- Throws:
IOException
-
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;- Specified by:
getInstalledInventoryItemIdin interfaceVulnerabilityReport.Vulnerability.ItemOrBuilder- Returns:
- The installedInventoryItemId.
-
getInstalledInventoryItemIdBytes
public com.google.protobuf.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;- Specified by:
getInstalledInventoryItemIdBytesin interfaceVulnerabilityReport.Vulnerability.ItemOrBuilder- Returns:
- The bytes for installedInventoryItemId.
-
setInstalledInventoryItemId
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;- Parameters:
value- The installedInventoryItemId to set.- Returns:
- 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:
- This builder for chaining.
-
setInstalledInventoryItemIdBytes
public VulnerabilityReport.Vulnerability.Item.Builder setInstalledInventoryItemIdBytes(com.google.protobuf.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;- Parameters:
value- The bytes for installedInventoryItemId to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getAvailableInventoryItemIdin interfaceVulnerabilityReport.Vulnerability.ItemOrBuilder- Returns:
- The availableInventoryItemId.
-
getAvailableInventoryItemIdBytes
public com.google.protobuf.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;- Specified by:
getAvailableInventoryItemIdBytesin interfaceVulnerabilityReport.Vulnerability.ItemOrBuilder- Returns:
- The bytes for availableInventoryItemId.
-
setAvailableInventoryItemId
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;- Parameters:
value- The availableInventoryItemId to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setAvailableInventoryItemIdBytes
public VulnerabilityReport.Vulnerability.Item.Builder setAvailableInventoryItemIdBytes(com.google.protobuf.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;- Parameters:
value- The bytes for availableInventoryItemId to set.- Returns:
- This builder for chaining.
-
getFixedCpeUri
public String getFixedCpeUri()
The recommended [CPE URI](https://cpe.mitre.org/specification/) update that contains a fix for this vulnerability.
string fixed_cpe_uri = 3;- Specified by:
getFixedCpeUriin interfaceVulnerabilityReport.Vulnerability.ItemOrBuilder- Returns:
- The fixedCpeUri.
-
getFixedCpeUriBytes
public com.google.protobuf.ByteString getFixedCpeUriBytes()
The recommended [CPE URI](https://cpe.mitre.org/specification/) update that contains a fix for this vulnerability.
string fixed_cpe_uri = 3;- Specified by:
getFixedCpeUriBytesin interfaceVulnerabilityReport.Vulnerability.ItemOrBuilder- Returns:
- The bytes for fixedCpeUri.
-
setFixedCpeUri
public VulnerabilityReport.Vulnerability.Item.Builder setFixedCpeUri(String value)
The recommended [CPE URI](https://cpe.mitre.org/specification/) update that contains a fix for this vulnerability.
string fixed_cpe_uri = 3;- Parameters:
value- The fixedCpeUri to set.- Returns:
- This builder for chaining.
-
clearFixedCpeUri
public VulnerabilityReport.Vulnerability.Item.Builder clearFixedCpeUri()
The recommended [CPE URI](https://cpe.mitre.org/specification/) update that contains a fix for this vulnerability.
string fixed_cpe_uri = 3;- Returns:
- This builder for chaining.
-
setFixedCpeUriBytes
public VulnerabilityReport.Vulnerability.Item.Builder setFixedCpeUriBytes(com.google.protobuf.ByteString value)
The recommended [CPE URI](https://cpe.mitre.org/specification/) update that contains a fix for this vulnerability.
string fixed_cpe_uri = 3;- Parameters:
value- The bytes for fixedCpeUri to set.- Returns:
- This builder for chaining.
-
getUpstreamFix
public String getUpstreamFix()
The upstream OS patch, packages or KB that fixes the vulnerability.
string upstream_fix = 4;- Specified by:
getUpstreamFixin interfaceVulnerabilityReport.Vulnerability.ItemOrBuilder- Returns:
- The upstreamFix.
-
getUpstreamFixBytes
public com.google.protobuf.ByteString getUpstreamFixBytes()
The upstream OS patch, packages or KB that fixes the vulnerability.
string upstream_fix = 4;- Specified by:
getUpstreamFixBytesin interfaceVulnerabilityReport.Vulnerability.ItemOrBuilder- Returns:
- The bytes for upstreamFix.
-
setUpstreamFix
public VulnerabilityReport.Vulnerability.Item.Builder setUpstreamFix(String value)
The upstream OS patch, packages or KB that fixes the vulnerability.
string upstream_fix = 4;- Parameters:
value- The upstreamFix to set.- Returns:
- This builder for chaining.
-
clearUpstreamFix
public VulnerabilityReport.Vulnerability.Item.Builder clearUpstreamFix()
The upstream OS patch, packages or KB that fixes the vulnerability.
string upstream_fix = 4;- Returns:
- This builder for chaining.
-
setUpstreamFixBytes
public VulnerabilityReport.Vulnerability.Item.Builder setUpstreamFixBytes(com.google.protobuf.ByteString value)
The upstream OS patch, packages or KB that fixes the vulnerability.
string upstream_fix = 4;- Parameters:
value- The bytes for upstreamFix to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final VulnerabilityReport.Vulnerability.Item.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>
-
mergeUnknownFields
public final VulnerabilityReport.Vulnerability.Item.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>
-
-