Interface UpgradeOccurrenceOrBuilder (2.53.0)

public interface UpgradeOccurrenceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDistribution()

public abstract 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;

Returns
Type Description
UpgradeDistribution

The distribution.

getDistributionOrBuilder()

public abstract UpgradeDistributionOrBuilder getDistributionOrBuilder()

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;

Returns
Type Description
UpgradeDistributionOrBuilder

getPackage()

public abstract String getPackage()

Required for non-Windows OS. The package this Upgrade is for.

string package = 1;

Returns
Type Description
String

The package.

getPackageBytes()

public abstract ByteString getPackageBytes()

Required for non-Windows OS. The package this Upgrade is for.

string package = 1;

Returns
Type Description
ByteString

The bytes for package.

getParsedVersion()

public abstract Version getParsedVersion()

Required for non-Windows OS. The version of the package in a machine + human readable form.

.grafeas.v1.Version parsed_version = 3;

Returns
Type Description
Version

The parsedVersion.

getParsedVersionOrBuilder()

public abstract VersionOrBuilder getParsedVersionOrBuilder()

Required for non-Windows OS. The version of the package in a machine + human readable form.

.grafeas.v1.Version parsed_version = 3;

Returns
Type Description
VersionOrBuilder

getWindowsUpdate()

public abstract WindowsUpdate getWindowsUpdate()

Required for Windows OS. Represents the metadata about the Windows update.

.grafeas.v1.WindowsUpdate windows_update = 5;

Returns
Type Description
WindowsUpdate

The windowsUpdate.

getWindowsUpdateOrBuilder()

public abstract WindowsUpdateOrBuilder getWindowsUpdateOrBuilder()

Required for Windows OS. Represents the metadata about the Windows update.

.grafeas.v1.WindowsUpdate windows_update = 5;

Returns
Type Description
WindowsUpdateOrBuilder

hasDistribution()

public abstract boolean hasDistribution()

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;

Returns
Type Description
boolean

Whether the distribution field is set.

hasParsedVersion()

public abstract boolean hasParsedVersion()

Required for non-Windows OS. The version of the package in a machine + human readable form.

.grafeas.v1.Version parsed_version = 3;

Returns
Type Description
boolean

Whether the parsedVersion field is set.

hasWindowsUpdate()

public abstract boolean hasWindowsUpdate()

Required for Windows OS. Represents the metadata about the Windows update.

.grafeas.v1.WindowsUpdate windows_update = 5;

Returns
Type Description
boolean

Whether the windowsUpdate field is set.