public static final class UpgradeOccurrence.Builder extends GeneratedMessageV3.Builder<UpgradeOccurrence.Builder> implements UpgradeOccurrenceOrBuilder
An Upgrade Occurrence represents that a specific resource_url could install a
specific upgrade. This presence is supplied via local sources (i.e. it is
present in the mirror and the running system has noticed its availability).
For Windows, both distribution and windows_update contain information for the
Windows update.
Protobuf type grafeas.v1.UpgradeOccurrence
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpgradeOccurrence.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpgradeOccurrence build()
buildPartial()
public UpgradeOccurrence buildPartial()
clear()
public UpgradeOccurrence.Builder clear()
Overrides
clearDistribution()
public UpgradeOccurrence.Builder clearDistribution()
Metadata about the upgrade for available for the specific operating system
for the resource_url. This allows efficient filtering, as well as
making it easier to use the occurrence.
.grafeas.v1.UpgradeDistribution distribution = 4;
clearField(Descriptors.FieldDescriptor field)
public UpgradeOccurrence.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpgradeOccurrence.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPackage()
public UpgradeOccurrence.Builder clearPackage()
Required for non-Windows OS. The package this Upgrade is for.
string package = 1;
clearParsedVersion()
public UpgradeOccurrence.Builder clearParsedVersion()
Required for non-Windows OS. The version of the package in a machine +
human readable form.
.grafeas.v1.Version parsed_version = 3;
clearWindowsUpdate()
public UpgradeOccurrence.Builder clearWindowsUpdate()
Required for Windows OS. Represents the metadata about the Windows update.
.grafeas.v1.WindowsUpdate windows_update = 5;
clone()
public UpgradeOccurrence.Builder clone()
Overrides
getDefaultInstanceForType()
public UpgradeOccurrence getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDistribution()
public UpgradeDistribution getDistribution()
Metadata about the upgrade for available for the specific operating system
for the resource_url. This allows efficient filtering, as well as
making it easier to use the occurrence.
.grafeas.v1.UpgradeDistribution distribution = 4;