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/package.proto 19 20 package io.grafeas.v1; 21 22 public interface DistributionOrBuilder 23 extends 24 // @@protoc_insertion_point(interface_extends:grafeas.v1.Distribution) 25 com.google.protobuf.MessageOrBuilder { 26 27 /** 28 * 29 * 30 * <pre> 31 * The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) 32 * denoting the package manager version distributing a package. 33 * </pre> 34 * 35 * <code>string cpe_uri = 1 [(.google.api.field_behavior) = REQUIRED];</code> 36 * 37 * @return The cpeUri. 38 */ getCpeUri()39 java.lang.String getCpeUri(); 40 /** 41 * 42 * 43 * <pre> 44 * The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) 45 * denoting the package manager version distributing a package. 46 * </pre> 47 * 48 * <code>string cpe_uri = 1 [(.google.api.field_behavior) = REQUIRED];</code> 49 * 50 * @return The bytes for cpeUri. 51 */ getCpeUriBytes()52 com.google.protobuf.ByteString getCpeUriBytes(); 53 54 /** 55 * 56 * 57 * <pre> 58 * The CPU architecture for which packages in this distribution channel were 59 * built. 60 * </pre> 61 * 62 * <code>.grafeas.v1.Architecture architecture = 2;</code> 63 * 64 * @return The enum numeric value on the wire for architecture. 65 */ getArchitectureValue()66 int getArchitectureValue(); 67 /** 68 * 69 * 70 * <pre> 71 * The CPU architecture for which packages in this distribution channel were 72 * built. 73 * </pre> 74 * 75 * <code>.grafeas.v1.Architecture architecture = 2;</code> 76 * 77 * @return The architecture. 78 */ getArchitecture()79 io.grafeas.v1.Architecture getArchitecture(); 80 81 /** 82 * 83 * 84 * <pre> 85 * The latest available version of this package in this distribution channel. 86 * </pre> 87 * 88 * <code>.grafeas.v1.Version latest_version = 3;</code> 89 * 90 * @return Whether the latestVersion field is set. 91 */ hasLatestVersion()92 boolean hasLatestVersion(); 93 /** 94 * 95 * 96 * <pre> 97 * The latest available version of this package in this distribution channel. 98 * </pre> 99 * 100 * <code>.grafeas.v1.Version latest_version = 3;</code> 101 * 102 * @return The latestVersion. 103 */ getLatestVersion()104 io.grafeas.v1.Version getLatestVersion(); 105 /** 106 * 107 * 108 * <pre> 109 * The latest available version of this package in this distribution channel. 110 * </pre> 111 * 112 * <code>.grafeas.v1.Version latest_version = 3;</code> 113 */ getLatestVersionOrBuilder()114 io.grafeas.v1.VersionOrBuilder getLatestVersionOrBuilder(); 115 116 /** 117 * 118 * 119 * <pre> 120 * A freeform string denoting the maintainer of this package. 121 * </pre> 122 * 123 * <code>string maintainer = 4;</code> 124 * 125 * @return The maintainer. 126 */ getMaintainer()127 java.lang.String getMaintainer(); 128 /** 129 * 130 * 131 * <pre> 132 * A freeform string denoting the maintainer of this package. 133 * </pre> 134 * 135 * <code>string maintainer = 4;</code> 136 * 137 * @return The bytes for maintainer. 138 */ getMaintainerBytes()139 com.google.protobuf.ByteString getMaintainerBytes(); 140 141 /** 142 * 143 * 144 * <pre> 145 * The distribution channel-specific homepage for this package. 146 * </pre> 147 * 148 * <code>string url = 5;</code> 149 * 150 * @return The url. 151 */ getUrl()152 java.lang.String getUrl(); 153 /** 154 * 155 * 156 * <pre> 157 * The distribution channel-specific homepage for this package. 158 * </pre> 159 * 160 * <code>string url = 5;</code> 161 * 162 * @return The bytes for url. 163 */ getUrlBytes()164 com.google.protobuf.ByteString getUrlBytes(); 165 166 /** 167 * 168 * 169 * <pre> 170 * The distribution channel-specific description of this package. 171 * </pre> 172 * 173 * <code>string description = 6;</code> 174 * 175 * @return The description. 176 */ getDescription()177 java.lang.String getDescription(); 178 /** 179 * 180 * 181 * <pre> 182 * The distribution channel-specific description of this package. 183 * </pre> 184 * 185 * <code>string description = 6;</code> 186 * 187 * @return The bytes for description. 188 */ getDescriptionBytes()189 com.google.protobuf.ByteString getDescriptionBytes(); 190 } 191