Interface UpgradeNoteOrBuilder (2.17.0)

public interface UpgradeNoteOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDistributions(int index)

public abstract UpgradeDistribution getDistributions(int index)

Metadata about the upgrade for each specific operating system.

repeated .grafeas.v1.UpgradeDistribution distributions = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
UpgradeDistribution

getDistributionsCount()

public abstract int getDistributionsCount()

Metadata about the upgrade for each specific operating system.

repeated .grafeas.v1.UpgradeDistribution distributions = 3;

Returns
TypeDescription
int

getDistributionsList()

public abstract List<UpgradeDistribution> getDistributionsList()

Metadata about the upgrade for each specific operating system.

repeated .grafeas.v1.UpgradeDistribution distributions = 3;

Returns
TypeDescription
List<UpgradeDistribution>

getDistributionsOrBuilder(int index)

public abstract UpgradeDistributionOrBuilder getDistributionsOrBuilder(int index)

Metadata about the upgrade for each specific operating system.

repeated .grafeas.v1.UpgradeDistribution distributions = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
UpgradeDistributionOrBuilder

getDistributionsOrBuilderList()

public abstract List<? extends UpgradeDistributionOrBuilder> getDistributionsOrBuilderList()

Metadata about the upgrade for each specific operating system.

repeated .grafeas.v1.UpgradeDistribution distributions = 3;

Returns
TypeDescription
List<? extends io.grafeas.v1.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.

getVersion()

public abstract Version getVersion()

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

.grafeas.v1.Version version = 2;

Returns
TypeDescription
Version

The version.

getVersionOrBuilder()

public abstract VersionOrBuilder getVersionOrBuilder()

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

.grafeas.v1.Version version = 2;

Returns
TypeDescription
VersionOrBuilder

getWindowsUpdate()

public abstract WindowsUpdate getWindowsUpdate()

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

.grafeas.v1.WindowsUpdate windows_update = 4;

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 = 4;

Returns
TypeDescription
WindowsUpdateOrBuilder

hasVersion()

public abstract boolean hasVersion()

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

.grafeas.v1.Version version = 2;

Returns
TypeDescription
boolean

Whether the version field is set.

hasWindowsUpdate()

public abstract boolean hasWindowsUpdate()

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

.grafeas.v1.WindowsUpdate windows_update = 4;

Returns
TypeDescription
boolean

Whether the windowsUpdate field is set.