1 /* 2 * Copyright 2019 The Grafeas Authors. All rights reserved. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 // Generated by the protocol buffer compiler. DO NOT EDIT! 18 // source: grafeas/v1/upgrade.proto 19 20 package io.grafeas.v1; 21 22 public interface UpgradeOccurrenceOrBuilder 23 extends 24 // @@protoc_insertion_point(interface_extends:grafeas.v1.UpgradeOccurrence) 25 com.google.protobuf.MessageOrBuilder { 26 27 /** 28 * 29 * 30 * <pre> 31 * Required for non-Windows OS. The package this Upgrade is for. 32 * </pre> 33 * 34 * <code>string package = 1;</code> 35 * 36 * @return The package. 37 */ getPackage()38 java.lang.String getPackage(); 39 /** 40 * 41 * 42 * <pre> 43 * Required for non-Windows OS. The package this Upgrade is for. 44 * </pre> 45 * 46 * <code>string package = 1;</code> 47 * 48 * @return The bytes for package. 49 */ getPackageBytes()50 com.google.protobuf.ByteString getPackageBytes(); 51 52 /** 53 * 54 * 55 * <pre> 56 * Required for non-Windows OS. The version of the package in a machine + 57 * human readable form. 58 * </pre> 59 * 60 * <code>.grafeas.v1.Version parsed_version = 3;</code> 61 * 62 * @return Whether the parsedVersion field is set. 63 */ hasParsedVersion()64 boolean hasParsedVersion(); 65 /** 66 * 67 * 68 * <pre> 69 * Required for non-Windows OS. The version of the package in a machine + 70 * human readable form. 71 * </pre> 72 * 73 * <code>.grafeas.v1.Version parsed_version = 3;</code> 74 * 75 * @return The parsedVersion. 76 */ getParsedVersion()77 io.grafeas.v1.Version getParsedVersion(); 78 /** 79 * 80 * 81 * <pre> 82 * Required for non-Windows OS. The version of the package in a machine + 83 * human readable form. 84 * </pre> 85 * 86 * <code>.grafeas.v1.Version parsed_version = 3;</code> 87 */ getParsedVersionOrBuilder()88 io.grafeas.v1.VersionOrBuilder getParsedVersionOrBuilder(); 89 90 /** 91 * 92 * 93 * <pre> 94 * Metadata about the upgrade for available for the specific operating system 95 * for the resource_url. This allows efficient filtering, as well as 96 * making it easier to use the occurrence. 97 * </pre> 98 * 99 * <code>.grafeas.v1.UpgradeDistribution distribution = 4;</code> 100 * 101 * @return Whether the distribution field is set. 102 */ hasDistribution()103 boolean hasDistribution(); 104 /** 105 * 106 * 107 * <pre> 108 * Metadata about the upgrade for available for the specific operating system 109 * for the resource_url. This allows efficient filtering, as well as 110 * making it easier to use the occurrence. 111 * </pre> 112 * 113 * <code>.grafeas.v1.UpgradeDistribution distribution = 4;</code> 114 * 115 * @return The distribution. 116 */ getDistribution()117 io.grafeas.v1.UpgradeDistribution getDistribution(); 118 /** 119 * 120 * 121 * <pre> 122 * Metadata about the upgrade for available for the specific operating system 123 * for the resource_url. This allows efficient filtering, as well as 124 * making it easier to use the occurrence. 125 * </pre> 126 * 127 * <code>.grafeas.v1.UpgradeDistribution distribution = 4;</code> 128 */ getDistributionOrBuilder()129 io.grafeas.v1.UpgradeDistributionOrBuilder getDistributionOrBuilder(); 130 131 /** 132 * 133 * 134 * <pre> 135 * Required for Windows OS. Represents the metadata about the Windows update. 136 * </pre> 137 * 138 * <code>.grafeas.v1.WindowsUpdate windows_update = 5;</code> 139 * 140 * @return Whether the windowsUpdate field is set. 141 */ hasWindowsUpdate()142 boolean hasWindowsUpdate(); 143 /** 144 * 145 * 146 * <pre> 147 * Required for Windows OS. Represents the metadata about the Windows update. 148 * </pre> 149 * 150 * <code>.grafeas.v1.WindowsUpdate windows_update = 5;</code> 151 * 152 * @return The windowsUpdate. 153 */ getWindowsUpdate()154 io.grafeas.v1.WindowsUpdate getWindowsUpdate(); 155 /** 156 * 157 * 158 * <pre> 159 * Required for Windows OS. Represents the metadata about the Windows update. 160 * </pre> 161 * 162 * <code>.grafeas.v1.WindowsUpdate windows_update = 5;</code> 163 */ getWindowsUpdateOrBuilder()164 io.grafeas.v1.WindowsUpdateOrBuilder getWindowsUpdateOrBuilder(); 165 } 166