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 LocationOrBuilder 23 extends 24 // @@protoc_insertion_point(interface_extends:grafeas.v1.Location) 25 com.google.protobuf.MessageOrBuilder { 26 27 /** 28 * 29 * 30 * <pre> 31 * Deprecated. 32 * The CPE URI in [CPE format](https://cpe.mitre.org/specification/) 33 * </pre> 34 * 35 * <code>string cpe_uri = 1;</code> 36 * 37 * @return The cpeUri. 38 */ getCpeUri()39 java.lang.String getCpeUri(); 40 /** 41 * 42 * 43 * <pre> 44 * Deprecated. 45 * The CPE URI in [CPE format](https://cpe.mitre.org/specification/) 46 * </pre> 47 * 48 * <code>string cpe_uri = 1;</code> 49 * 50 * @return The bytes for cpeUri. 51 */ getCpeUriBytes()52 com.google.protobuf.ByteString getCpeUriBytes(); 53 54 /** 55 * 56 * 57 * <pre> 58 * Deprecated. 59 * The version installed at this location. 60 * </pre> 61 * 62 * <code>.grafeas.v1.Version version = 2;</code> 63 * 64 * @return Whether the version field is set. 65 */ hasVersion()66 boolean hasVersion(); 67 /** 68 * 69 * 70 * <pre> 71 * Deprecated. 72 * The version installed at this location. 73 * </pre> 74 * 75 * <code>.grafeas.v1.Version version = 2;</code> 76 * 77 * @return The version. 78 */ getVersion()79 io.grafeas.v1.Version getVersion(); 80 /** 81 * 82 * 83 * <pre> 84 * Deprecated. 85 * The version installed at this location. 86 * </pre> 87 * 88 * <code>.grafeas.v1.Version version = 2;</code> 89 */ getVersionOrBuilder()90 io.grafeas.v1.VersionOrBuilder getVersionOrBuilder(); 91 92 /** 93 * 94 * 95 * <pre> 96 * The path from which we gathered that this package/version is installed. 97 * </pre> 98 * 99 * <code>string path = 3;</code> 100 * 101 * @return The path. 102 */ getPath()103 java.lang.String getPath(); 104 /** 105 * 106 * 107 * <pre> 108 * The path from which we gathered that this package/version is installed. 109 * </pre> 110 * 111 * <code>string path = 3;</code> 112 * 113 * @return The bytes for path. 114 */ getPathBytes()115 com.google.protobuf.ByteString getPathBytes(); 116 } 117