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/image.proto 19 20 package io.grafeas.v1; 21 22 public interface ImageOccurrenceOrBuilder 23 extends 24 // @@protoc_insertion_point(interface_extends:grafeas.v1.ImageOccurrence) 25 com.google.protobuf.MessageOrBuilder { 26 27 /** 28 * 29 * 30 * <pre> 31 * Required. The fingerprint of the derived image. 32 * </pre> 33 * 34 * <code>.grafeas.v1.Fingerprint fingerprint = 1;</code> 35 * 36 * @return Whether the fingerprint field is set. 37 */ hasFingerprint()38 boolean hasFingerprint(); 39 /** 40 * 41 * 42 * <pre> 43 * Required. The fingerprint of the derived image. 44 * </pre> 45 * 46 * <code>.grafeas.v1.Fingerprint fingerprint = 1;</code> 47 * 48 * @return The fingerprint. 49 */ getFingerprint()50 io.grafeas.v1.Fingerprint getFingerprint(); 51 /** 52 * 53 * 54 * <pre> 55 * Required. The fingerprint of the derived image. 56 * </pre> 57 * 58 * <code>.grafeas.v1.Fingerprint fingerprint = 1;</code> 59 */ getFingerprintOrBuilder()60 io.grafeas.v1.FingerprintOrBuilder getFingerprintOrBuilder(); 61 62 /** 63 * 64 * 65 * <pre> 66 * Output only. The number of layers by which this image differs from the 67 * associated image basis. 68 * </pre> 69 * 70 * <code>int32 distance = 2;</code> 71 * 72 * @return The distance. 73 */ getDistance()74 int getDistance(); 75 76 /** 77 * 78 * 79 * <pre> 80 * This contains layer-specific metadata, if populated it has length 81 * "distance" and is ordered with [distance] being the layer immediately 82 * following the base image and [1] being the final layer. 83 * </pre> 84 * 85 * <code>repeated .grafeas.v1.Layer layer_info = 3;</code> 86 */ getLayerInfoList()87 java.util.List<io.grafeas.v1.Layer> getLayerInfoList(); 88 /** 89 * 90 * 91 * <pre> 92 * This contains layer-specific metadata, if populated it has length 93 * "distance" and is ordered with [distance] being the layer immediately 94 * following the base image and [1] being the final layer. 95 * </pre> 96 * 97 * <code>repeated .grafeas.v1.Layer layer_info = 3;</code> 98 */ getLayerInfo(int index)99 io.grafeas.v1.Layer getLayerInfo(int index); 100 /** 101 * 102 * 103 * <pre> 104 * This contains layer-specific metadata, if populated it has length 105 * "distance" and is ordered with [distance] being the layer immediately 106 * following the base image and [1] being the final layer. 107 * </pre> 108 * 109 * <code>repeated .grafeas.v1.Layer layer_info = 3;</code> 110 */ getLayerInfoCount()111 int getLayerInfoCount(); 112 /** 113 * 114 * 115 * <pre> 116 * This contains layer-specific metadata, if populated it has length 117 * "distance" and is ordered with [distance] being the layer immediately 118 * following the base image and [1] being the final layer. 119 * </pre> 120 * 121 * <code>repeated .grafeas.v1.Layer layer_info = 3;</code> 122 */ getLayerInfoOrBuilderList()123 java.util.List<? extends io.grafeas.v1.LayerOrBuilder> getLayerInfoOrBuilderList(); 124 /** 125 * 126 * 127 * <pre> 128 * This contains layer-specific metadata, if populated it has length 129 * "distance" and is ordered with [distance] being the layer immediately 130 * following the base image and [1] being the final layer. 131 * </pre> 132 * 133 * <code>repeated .grafeas.v1.Layer layer_info = 3;</code> 134 */ getLayerInfoOrBuilder(int index)135 io.grafeas.v1.LayerOrBuilder getLayerInfoOrBuilder(int index); 136 137 /** 138 * 139 * 140 * <pre> 141 * Output only. This contains the base image URL for the derived image 142 * occurrence. 143 * </pre> 144 * 145 * <code>string base_resource_url = 4;</code> 146 * 147 * @return The baseResourceUrl. 148 */ getBaseResourceUrl()149 java.lang.String getBaseResourceUrl(); 150 /** 151 * 152 * 153 * <pre> 154 * Output only. This contains the base image URL for the derived image 155 * occurrence. 156 * </pre> 157 * 158 * <code>string base_resource_url = 4;</code> 159 * 160 * @return The bytes for baseResourceUrl. 161 */ getBaseResourceUrlBytes()162 com.google.protobuf.ByteString getBaseResourceUrlBytes(); 163 } 164