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 final class WebDetectionProto { WebDetectionProto()22 private WebDetectionProto() {} 23 registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)24 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} 25 registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)26 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { 27 registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); 28 } 29 30 static final com.google.protobuf.Descriptors.Descriptor 31 internal_static_google_cloud_vision_v1_WebDetection_descriptor; 32 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 33 internal_static_google_cloud_vision_v1_WebDetection_fieldAccessorTable; 34 static final com.google.protobuf.Descriptors.Descriptor 35 internal_static_google_cloud_vision_v1_WebDetection_WebEntity_descriptor; 36 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 37 internal_static_google_cloud_vision_v1_WebDetection_WebEntity_fieldAccessorTable; 38 static final com.google.protobuf.Descriptors.Descriptor 39 internal_static_google_cloud_vision_v1_WebDetection_WebImage_descriptor; 40 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 41 internal_static_google_cloud_vision_v1_WebDetection_WebImage_fieldAccessorTable; 42 static final com.google.protobuf.Descriptors.Descriptor 43 internal_static_google_cloud_vision_v1_WebDetection_WebPage_descriptor; 44 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 45 internal_static_google_cloud_vision_v1_WebDetection_WebPage_fieldAccessorTable; 46 static final com.google.protobuf.Descriptors.Descriptor 47 internal_static_google_cloud_vision_v1_WebDetection_WebLabel_descriptor; 48 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 49 internal_static_google_cloud_vision_v1_WebDetection_WebLabel_fieldAccessorTable; 50 getDescriptor()51 public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 52 return descriptor; 53 } 54 55 private static com.google.protobuf.Descriptors.FileDescriptor descriptor; 56 57 static { 58 java.lang.String[] descriptorData = { 59 "\n*google/cloud/vision/v1/web_detection.p" 60 + "roto\022\026google.cloud.vision.v1\"\324\006\n\014WebDete" 61 + "ction\022D\n\014web_entities\030\001 \003(\0132..google.clo" 62 + "ud.vision.v1.WebDetection.WebEntity\022K\n\024f" 63 + "ull_matching_images\030\002 \003(\0132-.google.cloud" 64 + ".vision.v1.WebDetection.WebImage\022N\n\027part" 65 + "ial_matching_images\030\003 \003(\0132-.google.cloud" 66 + ".vision.v1.WebDetection.WebImage\022P\n\032page" 67 + "s_with_matching_images\030\004 \003(\0132,.google.cl" 68 + "oud.vision.v1.WebDetection.WebPage\022N\n\027vi" 69 + "sually_similar_images\030\006 \003(\0132-.google.clo" 70 + "ud.vision.v1.WebDetection.WebImage\022H\n\021be" 71 + "st_guess_labels\030\010 \003(\0132-.google.cloud.vis" 72 + "ion.v1.WebDetection.WebLabel\032B\n\tWebEntit" 73 + "y\022\021\n\tentity_id\030\001 \001(\t\022\r\n\005score\030\002 \001(\002\022\023\n\013d" 74 + "escription\030\003 \001(\t\032&\n\010WebImage\022\013\n\003url\030\001 \001(" 75 + "\t\022\r\n\005score\030\002 \001(\002\032\326\001\n\007WebPage\022\013\n\003url\030\001 \001(" 76 + "\t\022\r\n\005score\030\002 \001(\002\022\022\n\npage_title\030\003 \001(\t\022K\n\024" 77 + "full_matching_images\030\004 \003(\0132-.google.clou" 78 + "d.vision.v1.WebDetection.WebImage\022N\n\027par" 79 + "tial_matching_images\030\005 \003(\0132-.google.clou" 80 + "d.vision.v1.WebDetection.WebImage\0320\n\010Web" 81 + "Label\022\r\n\005label\030\001 \001(\t\022\025\n\rlanguage_code\030\002 " 82 + "\001(\tBr\n\032com.google.cloud.vision.v1B\021WebDe" 83 + "tectionProtoP\001Z5cloud.google.com/go/visi" 84 + "on/v2/apiv1/visionpb;visionpb\370\001\001\242\002\004GCVNb" 85 + "\006proto3" 86 }; 87 descriptor = 88 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 89 descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); 90 internal_static_google_cloud_vision_v1_WebDetection_descriptor = 91 getDescriptor().getMessageTypes().get(0); 92 internal_static_google_cloud_vision_v1_WebDetection_fieldAccessorTable = 93 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 94 internal_static_google_cloud_vision_v1_WebDetection_descriptor, 95 new java.lang.String[] { 96 "WebEntities", 97 "FullMatchingImages", 98 "PartialMatchingImages", 99 "PagesWithMatchingImages", 100 "VisuallySimilarImages", 101 "BestGuessLabels", 102 }); 103 internal_static_google_cloud_vision_v1_WebDetection_WebEntity_descriptor = 104 internal_static_google_cloud_vision_v1_WebDetection_descriptor.getNestedTypes().get(0); 105 internal_static_google_cloud_vision_v1_WebDetection_WebEntity_fieldAccessorTable = 106 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 107 internal_static_google_cloud_vision_v1_WebDetection_WebEntity_descriptor, 108 new java.lang.String[] { 109 "EntityId", "Score", "Description", 110 }); 111 internal_static_google_cloud_vision_v1_WebDetection_WebImage_descriptor = 112 internal_static_google_cloud_vision_v1_WebDetection_descriptor.getNestedTypes().get(1); 113 internal_static_google_cloud_vision_v1_WebDetection_WebImage_fieldAccessorTable = 114 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 115 internal_static_google_cloud_vision_v1_WebDetection_WebImage_descriptor, 116 new java.lang.String[] { 117 "Url", "Score", 118 }); 119 internal_static_google_cloud_vision_v1_WebDetection_WebPage_descriptor = 120 internal_static_google_cloud_vision_v1_WebDetection_descriptor.getNestedTypes().get(2); 121 internal_static_google_cloud_vision_v1_WebDetection_WebPage_fieldAccessorTable = 122 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 123 internal_static_google_cloud_vision_v1_WebDetection_WebPage_descriptor, 124 new java.lang.String[] { 125 "Url", "Score", "PageTitle", "FullMatchingImages", "PartialMatchingImages", 126 }); 127 internal_static_google_cloud_vision_v1_WebDetection_WebLabel_descriptor = 128 internal_static_google_cloud_vision_v1_WebDetection_descriptor.getNestedTypes().get(3); 129 internal_static_google_cloud_vision_v1_WebDetection_WebLabel_fieldAccessorTable = 130 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 131 internal_static_google_cloud_vision_v1_WebDetection_WebLabel_descriptor, 132 new java.lang.String[] { 133 "Label", "LanguageCode", 134 }); 135 } 136 137 // @@protoc_insertion_point(outer_class_scope) 138 } 139