| 1 |
// Copyright 2022 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by aliasgen. DO NOT EDIT. |
| 16 |
|
| 17 |
// Package vision aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/vision/v2/apiv1/visionpb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb. |
| 21 |
// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 |
// for more details. |
| 23 |
package vision |
| 24 |
|
| 25 |
import ( |
| 26 |
src "cloud.google.com/go/vision/v2/apiv1/visionpb" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
) |
| 29 |
|
| 30 |
// Deprecated: Please use consts in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 31 |
const ( |
| 32 |
BatchOperationMetadata_CANCELLED = src.BatchOperationMetadata_CANCELLED |
| 33 |
BatchOperationMetadata_FAILED = src.BatchOperationMetadata_FAILED |
| 34 |
BatchOperationMetadata_PROCESSING = src.BatchOperationMetadata_PROCESSING |
| 35 |
BatchOperationMetadata_STATE_UNSPECIFIED = src.BatchOperationMetadata_STATE_UNSPECIFIED |
| 36 |
BatchOperationMetadata_SUCCESSFUL = src.BatchOperationMetadata_SUCCESSFUL |
| 37 |
Block_BARCODE = src.Block_BARCODE |
| 38 |
Block_PICTURE = src.Block_PICTURE |
| 39 |
Block_RULER = src.Block_RULER |
| 40 |
Block_TABLE = src.Block_TABLE |
| 41 |
Block_TEXT = src.Block_TEXT |
| 42 |
Block_UNKNOWN = src.Block_UNKNOWN |
| 43 |
FaceAnnotation_Landmark_CHIN_GNATHION = src.FaceAnnotation_Landmark_CHIN_GNATHION |
| 44 |
FaceAnnotation_Landmark_CHIN_LEFT_GONION = src.FaceAnnotation_Landmark_CHIN_LEFT_GONION |
| 45 |
FaceAnnotation_Landmark_CHIN_RIGHT_GONION = src.FaceAnnotation_Landmark_CHIN_RIGHT_GONION |
| 46 |
FaceAnnotation_Landmark_FOREHEAD_GLABELLA = src.FaceAnnotation_Landmark_FOREHEAD_GLABELLA |
| 47 |
FaceAnnotation_Landmark_LEFT_CHEEK_CENTER = src.FaceAnnotation_Landmark_LEFT_CHEEK_CENTER |
| 48 |
FaceAnnotation_Landmark_LEFT_EAR_TRAGION = src.FaceAnnotation_Landmark_LEFT_EAR_TRAGION |
| 49 |
FaceAnnotation_Landmark_LEFT_EYE = src.FaceAnnotation_Landmark_LEFT_EYE |
| 50 |
FaceAnnotation_Landmark_LEFT_EYEBROW_UPPER_MIDPOINT = src.FaceAnnotation_Landmark_LEFT_EYEBROW_UPPER_MIDPOINT |
| 51 |
FaceAnnotation_Landmark_LEFT_EYE_BOTTOM_BOUNDARY = src.FaceAnnotation_Landmark_LEFT_EYE_BOTTOM_BOUNDARY |
| 52 |
FaceAnnotation_Landmark_LEFT_EYE_LEFT_CORNER = src.FaceAnnotation_Landmark_LEFT_EYE_LEFT_CORNER |
| 53 |
FaceAnnotation_Landmark_LEFT_EYE_PUPIL = src.FaceAnnotation_Landmark_LEFT_EYE_PUPIL |
| 54 |
FaceAnnotation_Landmark_LEFT_EYE_RIGHT_CORNER = src.FaceAnnotation_Landmark_LEFT_EYE_RIGHT_CORNER |
| 55 |
FaceAnnotation_Landmark_LEFT_EYE_TOP_BOUNDARY = src.FaceAnnotation_Landmark_LEFT_EYE_TOP_BOUNDARY |
| 56 |
FaceAnnotation_Landmark_LEFT_OF_LEFT_EYEBROW = src.FaceAnnotation_Landmark_LEFT_OF_LEFT_EYEBROW |
| 57 |
FaceAnnotation_Landmark_LEFT_OF_RIGHT_EYEBROW = src.FaceAnnotation_Landmark_LEFT_OF_RIGHT_EYEBROW |
| 58 |
FaceAnnotation_Landmark_LOWER_LIP = src.FaceAnnotation_Landmark_LOWER_LIP |
| 59 |
FaceAnnotation_Landmark_MIDPOINT_BETWEEN_EYES = src.FaceAnnotation_Landmark_MIDPOINT_BETWEEN_EYES |
| 60 |
FaceAnnotation_Landmark_MOUTH_CENTER = src.FaceAnnotation_Landmark_MOUTH_CENTER |
| 61 |
FaceAnnotation_Landmark_MOUTH_LEFT = src.FaceAnnotation_Landmark_MOUTH_LEFT |
| 62 |
FaceAnnotation_Landmark_MOUTH_RIGHT = src.FaceAnnotation_Landmark_MOUTH_RIGHT |
| 63 |
FaceAnnotation_Landmark_NOSE_BOTTOM_CENTER = src.FaceAnnotation_Landmark_NOSE_BOTTOM_CENTER |
| 64 |
FaceAnnotation_Landmark_NOSE_BOTTOM_LEFT = src.FaceAnnotation_Landmark_NOSE_BOTTOM_LEFT |
| 65 |
FaceAnnotation_Landmark_NOSE_BOTTOM_RIGHT = src.FaceAnnotation_Landmark_NOSE_BOTTOM_RIGHT |
| 66 |
FaceAnnotation_Landmark_NOSE_TIP = src.FaceAnnotation_Landmark_NOSE_TIP |
| 67 |
FaceAnnotation_Landmark_RIGHT_CHEEK_CENTER = src.FaceAnnotation_Landmark_RIGHT_CHEEK_CENTER |
| 68 |
FaceAnnotation_Landmark_RIGHT_EAR_TRAGION = src.FaceAnnotation_Landmark_RIGHT_EAR_TRAGION |
| 69 |
FaceAnnotation_Landmark_RIGHT_EYE = src.FaceAnnotation_Landmark_RIGHT_EYE |
| 70 |
FaceAnnotation_Landmark_RIGHT_EYEBROW_UPPER_MIDPOINT = src.FaceAnnotation_Landmark_RIGHT_EYEBROW_UPPER_MIDPOINT |
| 71 |
FaceAnnotation_Landmark_RIGHT_EYE_BOTTOM_BOUNDARY = src.FaceAnnotation_Landmark_RIGHT_EYE_BOTTOM_BOUNDARY |
| 72 |
FaceAnnotation_Landmark_RIGHT_EYE_LEFT_CORNER = src.FaceAnnotation_Landmark_RIGHT_EYE_LEFT_CORNER |
| 73 |
FaceAnnotation_Landmark_RIGHT_EYE_PUPIL = src.FaceAnnotation_Landmark_RIGHT_EYE_PUPIL |
| 74 |
FaceAnnotation_Landmark_RIGHT_EYE_RIGHT_CORNER = src.FaceAnnotation_Landmark_RIGHT_EYE_RIGHT_CORNER |
| 75 |
FaceAnnotation_Landmark_RIGHT_EYE_TOP_BOUNDARY = src.FaceAnnotation_Landmark_RIGHT_EYE_TOP_BOUNDARY |
| 76 |
FaceAnnotation_Landmark_RIGHT_OF_LEFT_EYEBROW = src.FaceAnnotation_Landmark_RIGHT_OF_LEFT_EYEBROW |
| 77 |
FaceAnnotation_Landmark_RIGHT_OF_RIGHT_EYEBROW = src.FaceAnnotation_Landmark_RIGHT_OF_RIGHT_EYEBROW |
| 78 |
FaceAnnotation_Landmark_UNKNOWN_LANDMARK = src.FaceAnnotation_Landmark_UNKNOWN_LANDMARK |
| 79 |
FaceAnnotation_Landmark_UPPER_LIP = src.FaceAnnotation_Landmark_UPPER_LIP |
| 80 |
Feature_CROP_HINTS = src.Feature_CROP_HINTS |
| 81 |
Feature_DOCUMENT_TEXT_DETECTION = src.Feature_DOCUMENT_TEXT_DETECTION |
| 82 |
Feature_FACE_DETECTION = src.Feature_FACE_DETECTION |
| 83 |
Feature_IMAGE_PROPERTIES = src.Feature_IMAGE_PROPERTIES |
| 84 |
Feature_LABEL_DETECTION = src.Feature_LABEL_DETECTION |
| 85 |
Feature_LANDMARK_DETECTION = src.Feature_LANDMARK_DETECTION |
| 86 |
Feature_LOGO_DETECTION = src.Feature_LOGO_DETECTION |
| 87 |
Feature_OBJECT_LOCALIZATION = src.Feature_OBJECT_LOCALIZATION |
| 88 |
Feature_PRODUCT_SEARCH = src.Feature_PRODUCT_SEARCH |
| 89 |
Feature_SAFE_SEARCH_DETECTION = src.Feature_SAFE_SEARCH_DETECTION |
| 90 |
Feature_TEXT_DETECTION = src.Feature_TEXT_DETECTION |
| 91 |
Feature_TYPE_UNSPECIFIED = src.Feature_TYPE_UNSPECIFIED |
| 92 |
Feature_WEB_DETECTION = src.Feature_WEB_DETECTION |
| 93 |
Likelihood_LIKELY = src.Likelihood_LIKELY |
| 94 |
Likelihood_POSSIBLE = src.Likelihood_POSSIBLE |
| 95 |
Likelihood_UNKNOWN = src.Likelihood_UNKNOWN |
| 96 |
Likelihood_UNLIKELY = src.Likelihood_UNLIKELY |
| 97 |
Likelihood_VERY_LIKELY = src.Likelihood_VERY_LIKELY |
| 98 |
Likelihood_VERY_UNLIKELY = src.Likelihood_VERY_UNLIKELY |
| 99 |
OperationMetadata_CANCELLED = src.OperationMetadata_CANCELLED |
| 100 |
OperationMetadata_CREATED = src.OperationMetadata_CREATED |
| 101 |
OperationMetadata_DONE = src.OperationMetadata_DONE |
| 102 |
OperationMetadata_RUNNING = src.OperationMetadata_RUNNING |
| 103 |
OperationMetadata_STATE_UNSPECIFIED = src.OperationMetadata_STATE_UNSPECIFIED |
| 104 |
TextAnnotation_DetectedBreak_EOL_SURE_SPACE = src.TextAnnotation_DetectedBreak_EOL_SURE_SPACE |
| 105 |
TextAnnotation_DetectedBreak_HYPHEN = src.TextAnnotation_DetectedBreak_HYPHEN |
| 106 |
TextAnnotation_DetectedBreak_LINE_BREAK = src.TextAnnotation_DetectedBreak_LINE_BREAK |
| 107 |
TextAnnotation_DetectedBreak_SPACE = src.TextAnnotation_DetectedBreak_SPACE |
| 108 |
TextAnnotation_DetectedBreak_SURE_SPACE = src.TextAnnotation_DetectedBreak_SURE_SPACE |
| 109 |
TextAnnotation_DetectedBreak_UNKNOWN = src.TextAnnotation_DetectedBreak_UNKNOWN |
| 110 |
) |
| 111 |
|
| 112 |
// Deprecated: Please use vars in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 113 |
var ( |
| 114 |
BatchOperationMetadata_State_name = src.BatchOperationMetadata_State_name |
| 115 |
BatchOperationMetadata_State_value = src.BatchOperationMetadata_State_value |
| 116 |
Block_BlockType_name = src.Block_BlockType_name |
| 117 |
Block_BlockType_value = src.Block_BlockType_value |
| 118 |
FaceAnnotation_Landmark_Type_name = src.FaceAnnotation_Landmark_Type_name |
| 119 |
FaceAnnotation_Landmark_Type_value = src.FaceAnnotation_Landmark_Type_value |
| 120 |
Feature_Type_name = src.Feature_Type_name |
| 121 |
Feature_Type_value = src.Feature_Type_value |
| 122 |
File_google_cloud_vision_v1_geometry_proto = src.File_google_cloud_vision_v1_geometry_proto |
| 123 |
File_google_cloud_vision_v1_image_annotator_proto = src.File_google_cloud_vision_v1_image_annotator_proto |
| 124 |
File_google_cloud_vision_v1_product_search_proto = src.File_google_cloud_vision_v1_product_search_proto |
| 125 |
File_google_cloud_vision_v1_product_search_service_proto = src.File_google_cloud_vision_v1_product_search_service_proto |
| 126 |
File_google_cloud_vision_v1_text_annotation_proto = src.File_google_cloud_vision_v1_text_annotation_proto |
| 127 |
File_google_cloud_vision_v1_web_detection_proto = src.File_google_cloud_vision_v1_web_detection_proto |
| 128 |
Likelihood_name = src.Likelihood_name |
| 129 |
Likelihood_value = src.Likelihood_value |
| 130 |
OperationMetadata_State_name = src.OperationMetadata_State_name |
| 131 |
OperationMetadata_State_value = src.OperationMetadata_State_value |
| 132 |
TextAnnotation_DetectedBreak_BreakType_name = src.TextAnnotation_DetectedBreak_BreakType_name |
| 133 |
TextAnnotation_DetectedBreak_BreakType_value = src.TextAnnotation_DetectedBreak_BreakType_value |
| 134 |
) |
| 135 |
|
| 136 |
// Request message for the `AddProductToProductSet` method. |
| 137 |
// |
| 138 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 139 |
type AddProductToProductSetRequest = src.AddProductToProductSetRequest |
| 140 |
|
| 141 |
// A request to annotate one single file, e.g. a PDF, TIFF or GIF file. |
| 142 |
// |
| 143 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 144 |
type AnnotateFileRequest = src.AnnotateFileRequest |
| 145 |
|
| 146 |
// Response to a single file annotation request. A file may contain one or |
| 147 |
// more images, which individually have their own responses. |
| 148 |
// |
| 149 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 150 |
type AnnotateFileResponse = src.AnnotateFileResponse |
| 151 |
|
| 152 |
// Request for performing Google Cloud Vision API tasks over a user-provided |
| 153 |
// image, with user-requested features, and with context information. |
| 154 |
// |
| 155 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 156 |
type AnnotateImageRequest = src.AnnotateImageRequest |
| 157 |
|
| 158 |
// Response to an image annotation request. |
| 159 |
// |
| 160 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 161 |
type AnnotateImageResponse = src.AnnotateImageResponse |
| 162 |
|
| 163 |
// An offline file annotation request. |
| 164 |
// |
| 165 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 166 |
type AsyncAnnotateFileRequest = src.AsyncAnnotateFileRequest |
| 167 |
|
| 168 |
// The response for a single offline file annotation request. |
| 169 |
// |
| 170 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 171 |
type AsyncAnnotateFileResponse = src.AsyncAnnotateFileResponse |
| 172 |
|
| 173 |
// Multiple async file annotation requests are batched into a single service |
| 174 |
// call. |
| 175 |
// |
| 176 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 177 |
type AsyncBatchAnnotateFilesRequest = src.AsyncBatchAnnotateFilesRequest |
| 178 |
|
| 179 |
// Response to an async batch file annotation request. |
| 180 |
// |
| 181 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 182 |
type AsyncBatchAnnotateFilesResponse = src.AsyncBatchAnnotateFilesResponse |
| 183 |
|
| 184 |
// Request for async image annotation for a list of images. |
| 185 |
// |
| 186 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 187 |
type AsyncBatchAnnotateImagesRequest = src.AsyncBatchAnnotateImagesRequest |
| 188 |
|
| 189 |
// Response to an async batch image annotation request. |
| 190 |
// |
| 191 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 192 |
type AsyncBatchAnnotateImagesResponse = src.AsyncBatchAnnotateImagesResponse |
| 193 |
|
| 194 |
// A list of requests to annotate files using the BatchAnnotateFiles API. |
| 195 |
// |
| 196 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 197 |
type BatchAnnotateFilesRequest = src.BatchAnnotateFilesRequest |
| 198 |
|
| 199 |
// A list of file annotation responses. |
| 200 |
// |
| 201 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 202 |
type BatchAnnotateFilesResponse = src.BatchAnnotateFilesResponse |
| 203 |
|
| 204 |
// Multiple image annotation requests are batched into a single service call. |
| 205 |
// |
| 206 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 207 |
type BatchAnnotateImagesRequest = src.BatchAnnotateImagesRequest |
| 208 |
|
| 209 |
// Response to a batch image annotation request. |
| 210 |
// |
| 211 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 212 |
type BatchAnnotateImagesResponse = src.BatchAnnotateImagesResponse |
| 213 |
|
| 214 |
// Metadata for the batch operations such as the current state. This is |
| 215 |
// included in the `metadata` field of the `Operation` returned by the |
| 216 |
// `GetOperation` call of the `google::longrunning::Operations` service. |
| 217 |
// |
| 218 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 219 |
type BatchOperationMetadata = src.BatchOperationMetadata |
| 220 |
|
| 221 |
// Enumerates the possible states that the batch request can be in. |
| 222 |
// |
| 223 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 224 |
type BatchOperationMetadata_State = src.BatchOperationMetadata_State |
| 225 |
|
| 226 |
// Logical element on the page. |
| 227 |
// |
| 228 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 229 |
type Block = src.Block |
| 230 |
|
| 231 |
// Type of a block (text, image etc) as identified by OCR. |
| 232 |
// |
| 233 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 234 |
type Block_BlockType = src.Block_BlockType |
| 235 |
|
| 236 |
// A bounding polygon for the detected image annotation. |
| 237 |
// |
| 238 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 239 |
type BoundingPoly = src.BoundingPoly |
| 240 |
|
| 241 |
// Color information consists of RGB channels, score, and the fraction of the |
| 242 |
// image that the color occupies in the image. |
| 243 |
// |
| 244 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 245 |
type ColorInfo = src.ColorInfo |
| 246 |
|
| 247 |
// Request message for the `CreateProduct` method. |
| 248 |
// |
| 249 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 250 |
type CreateProductRequest = src.CreateProductRequest |
| 251 |
|
| 252 |
// Request message for the `CreateProductSet` method. |
| 253 |
// |
| 254 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 255 |
type CreateProductSetRequest = src.CreateProductSetRequest |
| 256 |
|
| 257 |
// Request message for the `CreateReferenceImage` method. |
| 258 |
// |
| 259 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 260 |
type CreateReferenceImageRequest = src.CreateReferenceImageRequest |
| 261 |
|
| 262 |
// Single crop hint that is used to generate a new crop when serving an image. |
| 263 |
// |
| 264 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 265 |
type CropHint = src.CropHint |
| 266 |
|
| 267 |
// Set of crop hints that are used to generate new crops when serving images. |
| 268 |
// |
| 269 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 270 |
type CropHintsAnnotation = src.CropHintsAnnotation |
| 271 |
|
| 272 |
// Parameters for crop hints annotation request. |
| 273 |
// |
| 274 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 275 |
type CropHintsParams = src.CropHintsParams |
| 276 |
|
| 277 |
// Request message for the `DeleteProduct` method. |
| 278 |
// |
| 279 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 280 |
type DeleteProductRequest = src.DeleteProductRequest |
| 281 |
|
| 282 |
// Request message for the `DeleteProductSet` method. |
| 283 |
// |
| 284 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 285 |
type DeleteProductSetRequest = src.DeleteProductSetRequest |
| 286 |
|
| 287 |
// Request message for the `DeleteReferenceImage` method. |
| 288 |
// |
| 289 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 290 |
type DeleteReferenceImageRequest = src.DeleteReferenceImageRequest |
| 291 |
|
| 292 |
// Set of dominant colors and their corresponding scores. |
| 293 |
// |
| 294 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 295 |
type DominantColorsAnnotation = src.DominantColorsAnnotation |
| 296 |
|
| 297 |
// Set of detected entity features. |
| 298 |
// |
| 299 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 300 |
type EntityAnnotation = src.EntityAnnotation |
| 301 |
|
| 302 |
// A face annotation object contains the results of face detection. |
| 303 |
// |
| 304 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 305 |
type FaceAnnotation = src.FaceAnnotation |
| 306 |
|
| 307 |
// A face-specific landmark (for example, a face feature). |
| 308 |
// |
| 309 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 310 |
type FaceAnnotation_Landmark = src.FaceAnnotation_Landmark |
| 311 |
|
| 312 |
// Face landmark (feature) type. Left and right are defined from the vantage |
| 313 |
// of the viewer of the image without considering mirror projections typical of |
| 314 |
// photos. So, `LEFT_EYE`, typically, is the person's right eye. |
| 315 |
// |
| 316 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 317 |
type FaceAnnotation_Landmark_Type = src.FaceAnnotation_Landmark_Type |
| 318 |
|
| 319 |
// The type of Google Cloud Vision API detection to perform, and the maximum |
| 320 |
// number of results to return for that type. Multiple `Feature` objects can be |
| 321 |
// specified in the `features` list. |
| 322 |
// |
| 323 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 324 |
type Feature = src.Feature |
| 325 |
|
| 326 |
// Type of Google Cloud Vision API feature to be extracted. |
| 327 |
// |
| 328 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 329 |
type Feature_Type = src.Feature_Type |
| 330 |
|
| 331 |
// The Google Cloud Storage location where the output will be written to. |
| 332 |
// |
| 333 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 334 |
type GcsDestination = src.GcsDestination |
| 335 |
|
| 336 |
// The Google Cloud Storage location where the input will be read from. |
| 337 |
// |
| 338 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 339 |
type GcsSource = src.GcsSource |
| 340 |
|
| 341 |
// Request message for the `GetProduct` method. |
| 342 |
// |
| 343 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 344 |
type GetProductRequest = src.GetProductRequest |
| 345 |
|
| 346 |
// Request message for the `GetProductSet` method. |
| 347 |
// |
| 348 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 349 |
type GetProductSetRequest = src.GetProductSetRequest |
| 350 |
|
| 351 |
// Request message for the `GetReferenceImage` method. |
| 352 |
// |
| 353 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 354 |
type GetReferenceImageRequest = src.GetReferenceImageRequest |
| 355 |
|
| 356 |
// Client image to perform Google Cloud Vision API tasks over. |
| 357 |
// |
| 358 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 359 |
type Image = src.Image |
| 360 |
|
| 361 |
// If an image was produced from a file (e.g. a PDF), this message gives |
| 362 |
// information about the source of that image. |
| 363 |
// |
| 364 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 365 |
type ImageAnnotationContext = src.ImageAnnotationContext |
| 366 |
|
| 367 |
// ImageAnnotatorClient is the client API for ImageAnnotator service. For |
| 368 |
// semantics around ctx use and closing/ending streaming RPCs, please refer to |
| 369 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 370 |
// |
| 371 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 372 |
type ImageAnnotatorClient = src.ImageAnnotatorClient |
| 373 |
|
| 374 |
// ImageAnnotatorServer is the server API for ImageAnnotator service. |
| 375 |
// |
| 376 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 377 |
type ImageAnnotatorServer = src.ImageAnnotatorServer |
| 378 |
|
| 379 |
// Image context and/or feature-specific parameters. |
| 380 |
// |
| 381 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 382 |
type ImageContext = src.ImageContext |
| 383 |
|
| 384 |
// Stores image properties, such as dominant colors. |
| 385 |
// |
| 386 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 387 |
type ImageProperties = src.ImageProperties |
| 388 |
|
| 389 |
// External image source (Google Cloud Storage or web URL image location). |
| 390 |
// |
| 391 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 392 |
type ImageSource = src.ImageSource |
| 393 |
|
| 394 |
// The Google Cloud Storage location for a csv file which preserves a list of |
| 395 |
// ImportProductSetRequests in each line. |
| 396 |
// |
| 397 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 398 |
type ImportProductSetsGcsSource = src.ImportProductSetsGcsSource |
| 399 |
|
| 400 |
// The input content for the `ImportProductSets` method. |
| 401 |
// |
| 402 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 403 |
type ImportProductSetsInputConfig = src.ImportProductSetsInputConfig |
| 404 |
type ImportProductSetsInputConfig_GcsSource = src.ImportProductSetsInputConfig_GcsSource |
| 405 |
|
| 406 |
// Request message for the `ImportProductSets` method. |
| 407 |
// |
| 408 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 409 |
type ImportProductSetsRequest = src.ImportProductSetsRequest |
| 410 |
|
| 411 |
// Response message for the `ImportProductSets` method. This message is |
| 412 |
// returned by the |
| 413 |
// [google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation] |
| 414 |
// method in the returned |
| 415 |
// [google.longrunning.Operation.response][google.longrunning.Operation.response] |
| 416 |
// field. |
| 417 |
// |
| 418 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 419 |
type ImportProductSetsResponse = src.ImportProductSetsResponse |
| 420 |
|
| 421 |
// The desired input location and metadata. |
| 422 |
// |
| 423 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 424 |
type InputConfig = src.InputConfig |
| 425 |
|
| 426 |
// Rectangle determined by min and max `LatLng` pairs. |
| 427 |
// |
| 428 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 429 |
type LatLongRect = src.LatLongRect |
| 430 |
|
| 431 |
// A bucketized representation of likelihood, which is intended to give |
| 432 |
// clients highly stable results across model upgrades. |
| 433 |
// |
| 434 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 435 |
type Likelihood = src.Likelihood |
| 436 |
|
| 437 |
// Request message for the `ListProductSets` method. |
| 438 |
// |
| 439 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 440 |
type ListProductSetsRequest = src.ListProductSetsRequest |
| 441 |
|
| 442 |
// Response message for the `ListProductSets` method. |
| 443 |
// |
| 444 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 445 |
type ListProductSetsResponse = src.ListProductSetsResponse |
| 446 |
|
| 447 |
// Request message for the `ListProductsInProductSet` method. |
| 448 |
// |
| 449 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 450 |
type ListProductsInProductSetRequest = src.ListProductsInProductSetRequest |
| 451 |
|
| 452 |
// Response message for the `ListProductsInProductSet` method. |
| 453 |
// |
| 454 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 455 |
type ListProductsInProductSetResponse = src.ListProductsInProductSetResponse |
| 456 |
|
| 457 |
// Request message for the `ListProducts` method. |
| 458 |
// |
| 459 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 460 |
type ListProductsRequest = src.ListProductsRequest |
| 461 |
|
| 462 |
// Response message for the `ListProducts` method. |
| 463 |
// |
| 464 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 465 |
type ListProductsResponse = src.ListProductsResponse |
| 466 |
|
| 467 |
// Request message for the `ListReferenceImages` method. |
| 468 |
// |
| 469 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 470 |
type ListReferenceImagesRequest = src.ListReferenceImagesRequest |
| 471 |
|
| 472 |
// Response message for the `ListReferenceImages` method. |
| 473 |
// |
| 474 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 475 |
type ListReferenceImagesResponse = src.ListReferenceImagesResponse |
| 476 |
|
| 477 |
// Set of detected objects with bounding boxes. |
| 478 |
// |
| 479 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 480 |
type LocalizedObjectAnnotation = src.LocalizedObjectAnnotation |
| 481 |
|
| 482 |
// Detected entity location information. |
| 483 |
// |
| 484 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 485 |
type LocationInfo = src.LocationInfo |
| 486 |
|
| 487 |
// A vertex represents a 2D point in the image. NOTE: the normalized vertex |
| 488 |
// coordinates are relative to the original image and range from 0 to 1. |
| 489 |
// |
| 490 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 491 |
type NormalizedVertex = src.NormalizedVertex |
| 492 |
|
| 493 |
// Contains metadata for the BatchAnnotateImages operation. |
| 494 |
// |
| 495 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 496 |
type OperationMetadata = src.OperationMetadata |
| 497 |
|
| 498 |
// Batch operation states. |
| 499 |
// |
| 500 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 501 |
type OperationMetadata_State = src.OperationMetadata_State |
| 502 |
|
| 503 |
// The desired output location and metadata. |
| 504 |
// |
| 505 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 506 |
type OutputConfig = src.OutputConfig |
| 507 |
|
| 508 |
// Detected page from OCR. |
| 509 |
// |
| 510 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 511 |
type Page = src.Page |
| 512 |
|
| 513 |
// Structural unit of text representing a number of words in certain order. |
| 514 |
// |
| 515 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 516 |
type Paragraph = src.Paragraph |
| 517 |
|
| 518 |
// A 3D position in the image, used primarily for Face detection landmarks. A |
| 519 |
// valid Position must have both x and y coordinates. The position coordinates |
| 520 |
// are in the same scale as the original image. |
| 521 |
// |
| 522 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 523 |
type Position = src.Position |
| 524 |
|
| 525 |
// A Product contains ReferenceImages. |
| 526 |
// |
| 527 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 528 |
type Product = src.Product |
| 529 |
|
| 530 |
// ProductSearchClient is the client API for ProductSearch service. For |
| 531 |
// semantics around ctx use and closing/ending streaming RPCs, please refer to |
| 532 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 533 |
// |
| 534 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 535 |
type ProductSearchClient = src.ProductSearchClient |
| 536 |
|
| 537 |
// Parameters for a product search request. |
| 538 |
// |
| 539 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 540 |
type ProductSearchParams = src.ProductSearchParams |
| 541 |
|
| 542 |
// Results for a product search request. |
| 543 |
// |
| 544 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 545 |
type ProductSearchResults = src.ProductSearchResults |
| 546 |
|
| 547 |
// Information about the products similar to a single product in a query |
| 548 |
// image. |
| 549 |
// |
| 550 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 551 |
type ProductSearchResults_GroupedResult = src.ProductSearchResults_GroupedResult |
| 552 |
|
| 553 |
// Prediction for what the object in the bounding box is. |
| 554 |
// |
| 555 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 556 |
type ProductSearchResults_ObjectAnnotation = src.ProductSearchResults_ObjectAnnotation |
| 557 |
|
| 558 |
// Information about a product. |
| 559 |
// |
| 560 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 561 |
type ProductSearchResults_Result = src.ProductSearchResults_Result |
| 562 |
|
| 563 |
// ProductSearchServer is the server API for ProductSearch service. |
| 564 |
// |
| 565 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 566 |
type ProductSearchServer = src.ProductSearchServer |
| 567 |
|
| 568 |
// A ProductSet contains Products. A ProductSet can contain a maximum of 1 |
| 569 |
// million reference images. If the limit is exceeded, periodic indexing will |
| 570 |
// fail. |
| 571 |
// |
| 572 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 573 |
type ProductSet = src.ProductSet |
| 574 |
|
| 575 |
// Config to control which ProductSet contains the Products to be deleted. |
| 576 |
// |
| 577 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 578 |
type ProductSetPurgeConfig = src.ProductSetPurgeConfig |
| 579 |
|
| 580 |
// A product label represented as a key-value pair. |
| 581 |
// |
| 582 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 583 |
type Product_KeyValue = src.Product_KeyValue |
| 584 |
|
| 585 |
// A `Property` consists of a user-supplied name/value pair. |
| 586 |
// |
| 587 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 588 |
type Property = src.Property |
| 589 |
|
| 590 |
// Request message for the `PurgeProducts` method. |
| 591 |
// |
| 592 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 593 |
type PurgeProductsRequest = src.PurgeProductsRequest |
| 594 |
type PurgeProductsRequest_DeleteOrphanProducts = src.PurgeProductsRequest_DeleteOrphanProducts |
| 595 |
type PurgeProductsRequest_ProductSetPurgeConfig = src.PurgeProductsRequest_ProductSetPurgeConfig |
| 596 |
|
| 597 |
// A `ReferenceImage` represents a product image and its associated metadata, |
| 598 |
// such as bounding boxes. |
| 599 |
// |
| 600 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 601 |
type ReferenceImage = src.ReferenceImage |
| 602 |
|
| 603 |
// Request message for the `RemoveProductFromProductSet` method. |
| 604 |
// |
| 605 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 606 |
type RemoveProductFromProductSetRequest = src.RemoveProductFromProductSetRequest |
| 607 |
|
| 608 |
// Set of features pertaining to the image, computed by computer vision |
| 609 |
// methods over safe-search verticals (for example, adult, spoof, medical, |
| 610 |
// violence). |
| 611 |
// |
| 612 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 613 |
type SafeSearchAnnotation = src.SafeSearchAnnotation |
| 614 |
|
| 615 |
// A single symbol representation. |
| 616 |
// |
| 617 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 618 |
type Symbol = src.Symbol |
| 619 |
|
| 620 |
// TextAnnotation contains a structured representation of OCR extracted text. |
| 621 |
// The hierarchy of an OCR extracted text structure is like this: |
| 622 |
// TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol Each |
| 623 |
// structural component, starting from Page, may further have their own |
| 624 |
// properties. Properties describe detected languages, breaks etc.. Please |
| 625 |
// refer to the |
| 626 |
// [TextAnnotation.TextProperty][google.cloud.vision.v1.TextAnnotation.TextProperty] |
| 627 |
// message definition below for more detail. |
| 628 |
// |
| 629 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 630 |
type TextAnnotation = src.TextAnnotation |
| 631 |
|
| 632 |
// Detected start or end of a structural component. |
| 633 |
// |
| 634 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 635 |
type TextAnnotation_DetectedBreak = src.TextAnnotation_DetectedBreak |
| 636 |
|
| 637 |
// Enum to denote the type of break found. New line, space etc. |
| 638 |
// |
| 639 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 640 |
type TextAnnotation_DetectedBreak_BreakType = src.TextAnnotation_DetectedBreak_BreakType |
| 641 |
|
| 642 |
// Detected language for a structural component. |
| 643 |
// |
| 644 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 645 |
type TextAnnotation_DetectedLanguage = src.TextAnnotation_DetectedLanguage |
| 646 |
|
| 647 |
// Additional information detected on the structural component. |
| 648 |
// |
| 649 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 650 |
type TextAnnotation_TextProperty = src.TextAnnotation_TextProperty |
| 651 |
|
| 652 |
// Parameters for text detections. This is used to control TEXT_DETECTION and |
| 653 |
// DOCUMENT_TEXT_DETECTION features. |
| 654 |
// |
| 655 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 656 |
type TextDetectionParams = src.TextDetectionParams |
| 657 |
|
| 658 |
// UnimplementedImageAnnotatorServer can be embedded to have forward |
| 659 |
// compatible implementations. |
| 660 |
// |
| 661 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 662 |
type UnimplementedImageAnnotatorServer = src.UnimplementedImageAnnotatorServer |
| 663 |
|
| 664 |
// UnimplementedProductSearchServer can be embedded to have forward compatible |
| 665 |
// implementations. |
| 666 |
// |
| 667 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 668 |
type UnimplementedProductSearchServer = src.UnimplementedProductSearchServer |
| 669 |
|
| 670 |
// Request message for the `UpdateProduct` method. |
| 671 |
// |
| 672 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 673 |
type UpdateProductRequest = src.UpdateProductRequest |
| 674 |
|
| 675 |
// Request message for the `UpdateProductSet` method. |
| 676 |
// |
| 677 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 678 |
type UpdateProductSetRequest = src.UpdateProductSetRequest |
| 679 |
|
| 680 |
// A vertex represents a 2D point in the image. NOTE: the vertex coordinates |
| 681 |
// are in the same scale as the original image. |
| 682 |
// |
| 683 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 684 |
type Vertex = src.Vertex |
| 685 |
|
| 686 |
// Relevant information for the image from the Internet. |
| 687 |
// |
| 688 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 689 |
type WebDetection = src.WebDetection |
| 690 |
|
| 691 |
// Parameters for web detection request. |
| 692 |
// |
| 693 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 694 |
type WebDetectionParams = src.WebDetectionParams |
| 695 |
|
| 696 |
// Entity deduced from similar images on the Internet. |
| 697 |
// |
| 698 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 699 |
type WebDetection_WebEntity = src.WebDetection_WebEntity |
| 700 |
|
| 701 |
// Metadata for online images. |
| 702 |
// |
| 703 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 704 |
type WebDetection_WebImage = src.WebDetection_WebImage |
| 705 |
|
| 706 |
// Label to provide extra metadata for the web detection. |
| 707 |
// |
| 708 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 709 |
type WebDetection_WebLabel = src.WebDetection_WebLabel |
| 710 |
|
| 711 |
// Metadata for web pages. |
| 712 |
// |
| 713 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 714 |
type WebDetection_WebPage = src.WebDetection_WebPage |
| 715 |
|
| 716 |
// A word representation. |
| 717 |
// |
| 718 |
// Deprecated: Please use types in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 719 |
type Word = src.Word |
| 720 |
|
| 721 |
// Deprecated: Please use funcs in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 722 |
func NewImageAnnotatorClient(cc grpc.ClientConnInterface) ImageAnnotatorClient { |
| 723 |
return src.NewImageAnnotatorClient(cc) |
| 724 |
} |
| 725 |
|
| 726 |
// Deprecated: Please use funcs in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 727 |
func NewProductSearchClient(cc grpc.ClientConnInterface) ProductSearchClient { |
| 728 |
return src.NewProductSearchClient(cc) |
| 729 |
} |
| 730 |
|
| 731 |
// Deprecated: Please use funcs in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 732 |
func RegisterImageAnnotatorServer(s *grpc.Server, srv ImageAnnotatorServer) { |
| 733 |
src.RegisterImageAnnotatorServer(s, srv) |
| 734 |
} |
| 735 |
|
| 736 |
// Deprecated: Please use funcs in: cloud.google.com/go/vision/v2/apiv1/visionpb |
| 737 |
func RegisterProductSearchServer(s *grpc.Server, srv ProductSearchServer) { |
| 738 |
src.RegisterProductSearchServer(s, srv) |
| 739 |
} |