1 /* 2 * Copyright 2020 Google LLC 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 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/vision/v1/web_detection.proto 18 19 package com.google.cloud.vision.v1; 20 21 public interface WebDetectionOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.vision.v1.WebDetection) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Deduced entities from similar images on the Internet. 31 * </pre> 32 * 33 * <code>repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;</code> 34 */ getWebEntitiesList()35 java.util.List<com.google.cloud.vision.v1.WebDetection.WebEntity> getWebEntitiesList(); 36 /** 37 * 38 * 39 * <pre> 40 * Deduced entities from similar images on the Internet. 41 * </pre> 42 * 43 * <code>repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;</code> 44 */ getWebEntities(int index)45 com.google.cloud.vision.v1.WebDetection.WebEntity getWebEntities(int index); 46 /** 47 * 48 * 49 * <pre> 50 * Deduced entities from similar images on the Internet. 51 * </pre> 52 * 53 * <code>repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;</code> 54 */ getWebEntitiesCount()55 int getWebEntitiesCount(); 56 /** 57 * 58 * 59 * <pre> 60 * Deduced entities from similar images on the Internet. 61 * </pre> 62 * 63 * <code>repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;</code> 64 */ 65 java.util.List<? extends com.google.cloud.vision.v1.WebDetection.WebEntityOrBuilder> getWebEntitiesOrBuilderList()66 getWebEntitiesOrBuilderList(); 67 /** 68 * 69 * 70 * <pre> 71 * Deduced entities from similar images on the Internet. 72 * </pre> 73 * 74 * <code>repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;</code> 75 */ getWebEntitiesOrBuilder(int index)76 com.google.cloud.vision.v1.WebDetection.WebEntityOrBuilder getWebEntitiesOrBuilder(int index); 77 78 /** 79 * 80 * 81 * <pre> 82 * Fully matching images from the Internet. 83 * Can include resized copies of the query image. 84 * </pre> 85 * 86 * <code>repeated .google.cloud.vision.v1.WebDetection.WebImage full_matching_images = 2;</code> 87 */ getFullMatchingImagesList()88 java.util.List<com.google.cloud.vision.v1.WebDetection.WebImage> getFullMatchingImagesList(); 89 /** 90 * 91 * 92 * <pre> 93 * Fully matching images from the Internet. 94 * Can include resized copies of the query image. 95 * </pre> 96 * 97 * <code>repeated .google.cloud.vision.v1.WebDetection.WebImage full_matching_images = 2;</code> 98 */ getFullMatchingImages(int index)99 com.google.cloud.vision.v1.WebDetection.WebImage getFullMatchingImages(int index); 100 /** 101 * 102 * 103 * <pre> 104 * Fully matching images from the Internet. 105 * Can include resized copies of the query image. 106 * </pre> 107 * 108 * <code>repeated .google.cloud.vision.v1.WebDetection.WebImage full_matching_images = 2;</code> 109 */ getFullMatchingImagesCount()110 int getFullMatchingImagesCount(); 111 /** 112 * 113 * 114 * <pre> 115 * Fully matching images from the Internet. 116 * Can include resized copies of the query image. 117 * </pre> 118 * 119 * <code>repeated .google.cloud.vision.v1.WebDetection.WebImage full_matching_images = 2;</code> 120 */ 121 java.util.List<? extends com.google.cloud.vision.v1.WebDetection.WebImageOrBuilder> getFullMatchingImagesOrBuilderList()122 getFullMatchingImagesOrBuilderList(); 123 /** 124 * 125 * 126 * <pre> 127 * Fully matching images from the Internet. 128 * Can include resized copies of the query image. 129 * </pre> 130 * 131 * <code>repeated .google.cloud.vision.v1.WebDetection.WebImage full_matching_images = 2;</code> 132 */ getFullMatchingImagesOrBuilder( int index)133 com.google.cloud.vision.v1.WebDetection.WebImageOrBuilder getFullMatchingImagesOrBuilder( 134 int index); 135 136 /** 137 * 138 * 139 * <pre> 140 * Partial matching images from the Internet. 141 * Those images are similar enough to share some key-point features. For 142 * example an original image will likely have partial matching for its crops. 143 * </pre> 144 * 145 * <code>repeated .google.cloud.vision.v1.WebDetection.WebImage partial_matching_images = 3; 146 * </code> 147 */ getPartialMatchingImagesList()148 java.util.List<com.google.cloud.vision.v1.WebDetection.WebImage> getPartialMatchingImagesList(); 149 /** 150 * 151 * 152 * <pre> 153 * Partial matching images from the Internet. 154 * Those images are similar enough to share some key-point features. For 155 * example an original image will likely have partial matching for its crops. 156 * </pre> 157 * 158 * <code>repeated .google.cloud.vision.v1.WebDetection.WebImage partial_matching_images = 3; 159 * </code> 160 */ getPartialMatchingImages(int index)161 com.google.cloud.vision.v1.WebDetection.WebImage getPartialMatchingImages(int index); 162 /** 163 * 164 * 165 * <pre> 166 * Partial matching images from the Internet. 167 * Those images are similar enough to share some key-point features. For 168 * example an original image will likely have partial matching for its crops. 169 * </pre> 170 * 171 * <code>repeated .google.cloud.vision.v1.WebDetection.WebImage partial_matching_images = 3; 172 * </code> 173 */ getPartialMatchingImagesCount()174 int getPartialMatchingImagesCount(); 175 /** 176 * 177 * 178 * <pre> 179 * Partial matching images from the Internet. 180 * Those images are similar enough to share some key-point features. For 181 * example an original image will likely have partial matching for its crops. 182 * </pre> 183 * 184 * <code>repeated .google.cloud.vision.v1.WebDetection.WebImage partial_matching_images = 3; 185 * </code> 186 */ 187 java.util.List<? extends com.google.cloud.vision.v1.WebDetection.WebImageOrBuilder> getPartialMatchingImagesOrBuilderList()188 getPartialMatchingImagesOrBuilderList(); 189 /** 190 * 191 * 192 * <pre> 193 * Partial matching images from the Internet. 194 * Those images are similar enough to share some key-point features. For 195 * example an original image will likely have partial matching for its crops. 196 * </pre> 197 * 198 * <code>repeated .google.cloud.vision.v1.WebDetection.WebImage partial_matching_images = 3; 199 * </code> 200 */ getPartialMatchingImagesOrBuilder( int index)201 com.google.cloud.vision.v1.WebDetection.WebImageOrBuilder getPartialMatchingImagesOrBuilder( 202 int index); 203 204 /** 205 * 206 * 207 * <pre> 208 * Web pages containing the matching images from the Internet. 209 * </pre> 210 * 211 * <code>repeated .google.cloud.vision.v1.WebDetection.WebPage pages_with_matching_images = 4; 212 * </code> 213 */ getPagesWithMatchingImagesList()214 java.util.List<com.google.cloud.vision.v1.WebDetection.WebPage> getPagesWithMatchingImagesList(); 215 /** 216 * 217 * 218 * <pre> 219 * Web pages containing the matching images from the Internet. 220 * </pre> 221 * 222 * <code>repeated .google.cloud.vision.v1.WebDetection.WebPage pages_with_matching_images = 4; 223 * </code> 224 */ getPagesWithMatchingImages(int index)225 com.google.cloud.vision.v1.WebDetection.WebPage getPagesWithMatchingImages(int index); 226 /** 227 * 228 * 229 * <pre> 230 * Web pages containing the matching images from the Internet. 231 * </pre> 232 * 233 * <code>repeated .google.cloud.vision.v1.WebDetection.WebPage pages_with_matching_images = 4; 234 * </code> 235 */ getPagesWithMatchingImagesCount()236 int getPagesWithMatchingImagesCount(); 237 /** 238 * 239 * 240 * <pre> 241 * Web pages containing the matching images from the Internet. 242 * </pre> 243 * 244 * <code>repeated .google.cloud.vision.v1.WebDetection.WebPage pages_with_matching_images = 4; 245 * </code> 246 */ 247 java.util.List<? extends com.google.cloud.vision.v1.WebDetection.WebPageOrBuilder> getPagesWithMatchingImagesOrBuilderList()248 getPagesWithMatchingImagesOrBuilderList(); 249 /** 250 * 251 * 252 * <pre> 253 * Web pages containing the matching images from the Internet. 254 * </pre> 255 * 256 * <code>repeated .google.cloud.vision.v1.WebDetection.WebPage pages_with_matching_images = 4; 257 * </code> 258 */ getPagesWithMatchingImagesOrBuilder( int index)259 com.google.cloud.vision.v1.WebDetection.WebPageOrBuilder getPagesWithMatchingImagesOrBuilder( 260 int index); 261 262 /** 263 * 264 * 265 * <pre> 266 * The visually similar image results. 267 * </pre> 268 * 269 * <code>repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6; 270 * </code> 271 */ getVisuallySimilarImagesList()272 java.util.List<com.google.cloud.vision.v1.WebDetection.WebImage> getVisuallySimilarImagesList(); 273 /** 274 * 275 * 276 * <pre> 277 * The visually similar image results. 278 * </pre> 279 * 280 * <code>repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6; 281 * </code> 282 */ getVisuallySimilarImages(int index)283 com.google.cloud.vision.v1.WebDetection.WebImage getVisuallySimilarImages(int index); 284 /** 285 * 286 * 287 * <pre> 288 * The visually similar image results. 289 * </pre> 290 * 291 * <code>repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6; 292 * </code> 293 */ getVisuallySimilarImagesCount()294 int getVisuallySimilarImagesCount(); 295 /** 296 * 297 * 298 * <pre> 299 * The visually similar image results. 300 * </pre> 301 * 302 * <code>repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6; 303 * </code> 304 */ 305 java.util.List<? extends com.google.cloud.vision.v1.WebDetection.WebImageOrBuilder> getVisuallySimilarImagesOrBuilderList()306 getVisuallySimilarImagesOrBuilderList(); 307 /** 308 * 309 * 310 * <pre> 311 * The visually similar image results. 312 * </pre> 313 * 314 * <code>repeated .google.cloud.vision.v1.WebDetection.WebImage visually_similar_images = 6; 315 * </code> 316 */ getVisuallySimilarImagesOrBuilder( int index)317 com.google.cloud.vision.v1.WebDetection.WebImageOrBuilder getVisuallySimilarImagesOrBuilder( 318 int index); 319 320 /** 321 * 322 * 323 * <pre> 324 * The service's best guess as to the topic of the request image. 325 * Inferred from similar images on the open web. 326 * </pre> 327 * 328 * <code>repeated .google.cloud.vision.v1.WebDetection.WebLabel best_guess_labels = 8;</code> 329 */ getBestGuessLabelsList()330 java.util.List<com.google.cloud.vision.v1.WebDetection.WebLabel> getBestGuessLabelsList(); 331 /** 332 * 333 * 334 * <pre> 335 * The service's best guess as to the topic of the request image. 336 * Inferred from similar images on the open web. 337 * </pre> 338 * 339 * <code>repeated .google.cloud.vision.v1.WebDetection.WebLabel best_guess_labels = 8;</code> 340 */ getBestGuessLabels(int index)341 com.google.cloud.vision.v1.WebDetection.WebLabel getBestGuessLabels(int index); 342 /** 343 * 344 * 345 * <pre> 346 * The service's best guess as to the topic of the request image. 347 * Inferred from similar images on the open web. 348 * </pre> 349 * 350 * <code>repeated .google.cloud.vision.v1.WebDetection.WebLabel best_guess_labels = 8;</code> 351 */ getBestGuessLabelsCount()352 int getBestGuessLabelsCount(); 353 /** 354 * 355 * 356 * <pre> 357 * The service's best guess as to the topic of the request image. 358 * Inferred from similar images on the open web. 359 * </pre> 360 * 361 * <code>repeated .google.cloud.vision.v1.WebDetection.WebLabel best_guess_labels = 8;</code> 362 */ 363 java.util.List<? extends com.google.cloud.vision.v1.WebDetection.WebLabelOrBuilder> getBestGuessLabelsOrBuilderList()364 getBestGuessLabelsOrBuilderList(); 365 /** 366 * 367 * 368 * <pre> 369 * The service's best guess as to the topic of the request image. 370 * Inferred from similar images on the open web. 371 * </pre> 372 * 373 * <code>repeated .google.cloud.vision.v1.WebDetection.WebLabel best_guess_labels = 8;</code> 374 */ getBestGuessLabelsOrBuilder(int index)375 com.google.cloud.vision.v1.WebDetection.WebLabelOrBuilder getBestGuessLabelsOrBuilder(int index); 376 } 377