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 UpgradeNoteOrBuilder 23 extends 24 // @@protoc_insertion_point(interface_extends:grafeas.v1.UpgradeNote) 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 machine + human 57 * readable form. 58 * </pre> 59 * 60 * <code>.grafeas.v1.Version version = 2;</code> 61 * 62 * @return Whether the version field is set. 63 */ hasVersion()64 boolean hasVersion(); 65 /** 66 * 67 * 68 * <pre> 69 * Required for non-Windows OS. The version of the package in machine + human 70 * readable form. 71 * </pre> 72 * 73 * <code>.grafeas.v1.Version version = 2;</code> 74 * 75 * @return The version. 76 */ getVersion()77 io.grafeas.v1.Version getVersion(); 78 /** 79 * 80 * 81 * <pre> 82 * Required for non-Windows OS. The version of the package in machine + human 83 * readable form. 84 * </pre> 85 * 86 * <code>.grafeas.v1.Version version = 2;</code> 87 */ getVersionOrBuilder()88 io.grafeas.v1.VersionOrBuilder getVersionOrBuilder(); 89 90 /** 91 * 92 * 93 * <pre> 94 * Metadata about the upgrade for each specific operating system. 95 * </pre> 96 * 97 * <code>repeated .grafeas.v1.UpgradeDistribution distributions = 3;</code> 98 */ getDistributionsList()99 java.util.List<io.grafeas.v1.UpgradeDistribution> getDistributionsList(); 100 /** 101 * 102 * 103 * <pre> 104 * Metadata about the upgrade for each specific operating system. 105 * </pre> 106 * 107 * <code>repeated .grafeas.v1.UpgradeDistribution distributions = 3;</code> 108 */ getDistributions(int index)109 io.grafeas.v1.UpgradeDistribution getDistributions(int index); 110 /** 111 * 112 * 113 * <pre> 114 * Metadata about the upgrade for each specific operating system. 115 * </pre> 116 * 117 * <code>repeated .grafeas.v1.UpgradeDistribution distributions = 3;</code> 118 */ getDistributionsCount()119 int getDistributionsCount(); 120 /** 121 * 122 * 123 * <pre> 124 * Metadata about the upgrade for each specific operating system. 125 * </pre> 126 * 127 * <code>repeated .grafeas.v1.UpgradeDistribution distributions = 3;</code> 128 */ 129 java.util.List<? extends io.grafeas.v1.UpgradeDistributionOrBuilder> getDistributionsOrBuilderList()130 getDistributionsOrBuilderList(); 131 /** 132 * 133 * 134 * <pre> 135 * Metadata about the upgrade for each specific operating system. 136 * </pre> 137 * 138 * <code>repeated .grafeas.v1.UpgradeDistribution distributions = 3;</code> 139 */ getDistributionsOrBuilder(int index)140 io.grafeas.v1.UpgradeDistributionOrBuilder getDistributionsOrBuilder(int index); 141 142 /** 143 * 144 * 145 * <pre> 146 * Required for Windows OS. Represents the metadata about the Windows update. 147 * </pre> 148 * 149 * <code>.grafeas.v1.WindowsUpdate windows_update = 4;</code> 150 * 151 * @return Whether the windowsUpdate field is set. 152 */ hasWindowsUpdate()153 boolean hasWindowsUpdate(); 154 /** 155 * 156 * 157 * <pre> 158 * Required for Windows OS. Represents the metadata about the Windows update. 159 * </pre> 160 * 161 * <code>.grafeas.v1.WindowsUpdate windows_update = 4;</code> 162 * 163 * @return The windowsUpdate. 164 */ getWindowsUpdate()165 io.grafeas.v1.WindowsUpdate getWindowsUpdate(); 166 /** 167 * 168 * 169 * <pre> 170 * Required for Windows OS. Represents the metadata about the Windows update. 171 * </pre> 172 * 173 * <code>.grafeas.v1.WindowsUpdate windows_update = 4;</code> 174 */ getWindowsUpdateOrBuilder()175 io.grafeas.v1.WindowsUpdateOrBuilder getWindowsUpdateOrBuilder(); 176 } 177