Package io.grafeas.v1
Interface UpgradeOccurrenceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpgradeOccurrence
,UpgradeOccurrence.Builder
public interface UpgradeOccurrenceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpgradeDistribution
getDistribution()
Metadata about the upgrade for available for the specific operating system for the resource_url.UpgradeDistributionOrBuilder
getDistributionOrBuilder()
Metadata about the upgrade for available for the specific operating system for the resource_url.String
getPackage()
Required for non-Windows OS.com.google.protobuf.ByteString
getPackageBytes()
Required for non-Windows OS.Version
getParsedVersion()
Required for non-Windows OS.VersionOrBuilder
getParsedVersionOrBuilder()
Required for non-Windows OS.WindowsUpdate
getWindowsUpdate()
Required for Windows OS.WindowsUpdateOrBuilder
getWindowsUpdateOrBuilder()
Required for Windows OS.boolean
hasDistribution()
Metadata about the upgrade for available for the specific operating system for the resource_url.boolean
hasParsedVersion()
Required for non-Windows OS.boolean
hasWindowsUpdate()
Required for Windows OS.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPackage
String getPackage()
Required for non-Windows OS. The package this Upgrade is for.
string package = 1;
- Returns:
- The package.
-
getPackageBytes
com.google.protobuf.ByteString getPackageBytes()
Required for non-Windows OS. The package this Upgrade is for.
string package = 1;
- Returns:
- The bytes for package.
-
hasParsedVersion
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:
- Whether the parsedVersion field is set.
-
getParsedVersion
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:
- The parsedVersion.
-
getParsedVersionOrBuilder
VersionOrBuilder getParsedVersionOrBuilder()
Required for non-Windows OS. The version of the package in a machine + human readable form.
.grafeas.v1.Version parsed_version = 3;
-
hasDistribution
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:
- Whether the distribution field is set.
-
getDistribution
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:
- The distribution.
-
getDistributionOrBuilder
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;
-
hasWindowsUpdate
boolean hasWindowsUpdate()
Required for Windows OS. Represents the metadata about the Windows update.
.grafeas.v1.WindowsUpdate windows_update = 5;
- Returns:
- Whether the windowsUpdate field is set.
-
getWindowsUpdate
WindowsUpdate getWindowsUpdate()
Required for Windows OS. Represents the metadata about the Windows update.
.grafeas.v1.WindowsUpdate windows_update = 5;
- Returns:
- The windowsUpdate.
-
getWindowsUpdateOrBuilder
WindowsUpdateOrBuilder getWindowsUpdateOrBuilder()
Required for Windows OS. Represents the metadata about the Windows update.
.grafeas.v1.WindowsUpdate windows_update = 5;
-
-