Interface UpgradeOccurrenceOrBuilder (2.3.1)

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
TypeDescription
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
TypeDescription
UpgradeDistributionOrBuilder

getPackage()

public abstract String getPackage()

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

string package = 1;

Returns
TypeDescription
String

The package.

getPackageBytes()

public abstract ByteString getPackageBytes()

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

string package = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
VersionOrBuilder

getWindowsUpdate()

public abstract WindowsUpdate getWindowsUpdate()

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

.grafeas.v1.WindowsUpdate windows_update = 5;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the windowsUpdate field is set.