com.google.cloud.vision.v1p1beta1.ImageAnnotatorProto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-vision-v1p1beta1 Show documentation
Show all versions of proto-google-cloud-vision-v1p1beta1 Show documentation
PROTO library for proto-google-cloud-vision-v1p1beta1
The newest version!
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/vision/v1p1beta1/image_annotator.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.vision.v1p1beta1;
public final class ImageAnnotatorProto {
private ImageAnnotatorProto() {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
}
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_vision_v1p1beta1_Feature_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_vision_v1p1beta1_Feature_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_vision_v1p1beta1_ImageSource_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_vision_v1p1beta1_ImageSource_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_vision_v1p1beta1_Image_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_vision_v1p1beta1_Image_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_vision_v1p1beta1_FaceAnnotation_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_vision_v1p1beta1_FaceAnnotation_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_vision_v1p1beta1_FaceAnnotation_Landmark_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_vision_v1p1beta1_FaceAnnotation_Landmark_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_vision_v1p1beta1_LocationInfo_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_vision_v1p1beta1_LocationInfo_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_vision_v1p1beta1_Property_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_vision_v1p1beta1_Property_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_vision_v1p1beta1_EntityAnnotation_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_vision_v1p1beta1_EntityAnnotation_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_vision_v1p1beta1_SafeSearchAnnotation_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_vision_v1p1beta1_SafeSearchAnnotation_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_vision_v1p1beta1_LatLongRect_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_vision_v1p1beta1_LatLongRect_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_vision_v1p1beta1_ColorInfo_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_vision_v1p1beta1_ColorInfo_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_vision_v1p1beta1_DominantColorsAnnotation_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_vision_v1p1beta1_DominantColorsAnnotation_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_vision_v1p1beta1_ImageProperties_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_vision_v1p1beta1_ImageProperties_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_vision_v1p1beta1_CropHint_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_vision_v1p1beta1_CropHint_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_vision_v1p1beta1_CropHintsAnnotation_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_vision_v1p1beta1_CropHintsAnnotation_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_vision_v1p1beta1_CropHintsParams_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_vision_v1p1beta1_CropHintsParams_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_vision_v1p1beta1_WebDetectionParams_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_vision_v1p1beta1_WebDetectionParams_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_vision_v1p1beta1_TextDetectionParams_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_vision_v1p1beta1_TextDetectionParams_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_vision_v1p1beta1_ImageContext_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_vision_v1p1beta1_ImageContext_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_vision_v1p1beta1_AnnotateImageRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_vision_v1p1beta1_AnnotateImageRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_vision_v1p1beta1_AnnotateImageResponse_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_vision_v1p1beta1_AnnotateImageResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_vision_v1p1beta1_BatchAnnotateImagesRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_vision_v1p1beta1_BatchAnnotateImagesRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_vision_v1p1beta1_BatchAnnotateImagesResponse_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_vision_v1p1beta1_BatchAnnotateImagesResponse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
static {
java.lang.String[] descriptorData = {
"\n3google/cloud/vision/v1p1beta1/image_an"
+ "notator.proto\022\035google.cloud.vision.v1p1b"
+ "eta1\032\034google/api/annotations.proto\032\027goog"
+ "le/api/client.proto\032\037google/api/field_be"
+ "havior.proto\032,google/cloud/vision/v1p1be"
+ "ta1/geometry.proto\0323google/cloud/vision/"
+ "v1p1beta1/text_annotation.proto\0321google/"
+ "cloud/vision/v1p1beta1/web_detection.pro"
+ "to\032\027google/rpc/status.proto\032\027google/type"
+ "/color.proto\032\030google/type/latlng.proto\"\341"
+ "\002\n\007Feature\0229\n\004type\030\001 \001(\0162+.google.cloud."
+ "vision.v1p1beta1.Feature.Type\022\023\n\013max_res"
+ "ults\030\002 \001(\005\022\r\n\005model\030\003 \001(\t\"\366\001\n\004Type\022\024\n\020TY"
+ "PE_UNSPECIFIED\020\000\022\022\n\016FACE_DETECTION\020\001\022\026\n\022"
+ "LANDMARK_DETECTION\020\002\022\022\n\016LOGO_DETECTION\020\003"
+ "\022\023\n\017LABEL_DETECTION\020\004\022\022\n\016TEXT_DETECTION\020"
+ "\005\022\033\n\027DOCUMENT_TEXT_DETECTION\020\013\022\031\n\025SAFE_S"
+ "EARCH_DETECTION\020\006\022\024\n\020IMAGE_PROPERTIES\020\007\022"
+ "\016\n\nCROP_HINTS\020\t\022\021\n\rWEB_DETECTION\020\n\"7\n\013Im"
+ "ageSource\022\025\n\rgcs_image_uri\030\001 \001(\t\022\021\n\timag"
+ "e_uri\030\002 \001(\t\"T\n\005Image\022\017\n\007content\030\001 \001(\014\022:\n"
+ "\006source\030\002 \001(\0132*.google.cloud.vision.v1p1"
+ "beta1.ImageSource\"\233\016\n\016FaceAnnotation\022B\n\r"
+ "bounding_poly\030\001 \001(\0132+.google.cloud.visio"
+ "n.v1p1beta1.BoundingPoly\022E\n\020fd_bounding_"
+ "poly\030\002 \001(\0132+.google.cloud.vision.v1p1bet"
+ "a1.BoundingPoly\022I\n\tlandmarks\030\003 \003(\01326.goo"
+ "gle.cloud.vision.v1p1beta1.FaceAnnotatio"
+ "n.Landmark\022\022\n\nroll_angle\030\004 \001(\002\022\021\n\tpan_an"
+ "gle\030\005 \001(\002\022\022\n\ntilt_angle\030\006 \001(\002\022\034\n\024detecti"
+ "on_confidence\030\007 \001(\002\022\036\n\026landmarking_confi"
+ "dence\030\010 \001(\002\022A\n\016joy_likelihood\030\t \001(\0162).go"
+ "ogle.cloud.vision.v1p1beta1.Likelihood\022D"
+ "\n\021sorrow_likelihood\030\n \001(\0162).google.cloud"
+ ".vision.v1p1beta1.Likelihood\022C\n\020anger_li"
+ "kelihood\030\013 \001(\0162).google.cloud.vision.v1p"
+ "1beta1.Likelihood\022F\n\023surprise_likelihood"
+ "\030\014 \001(\0162).google.cloud.vision.v1p1beta1.L"
+ "ikelihood\022K\n\030under_exposed_likelihood\030\r "
+ "\001(\0162).google.cloud.vision.v1p1beta1.Like"
+ "lihood\022E\n\022blurred_likelihood\030\016 \001(\0162).goo"
+ "gle.cloud.vision.v1p1beta1.Likelihood\022F\n"
+ "\023headwear_likelihood\030\017 \001(\0162).google.clou"
+ "d.vision.v1p1beta1.Likelihood\032\307\007\n\010Landma"
+ "rk\022I\n\004type\030\003 \001(\0162;.google.cloud.vision.v"
+ "1p1beta1.FaceAnnotation.Landmark.Type\0229\n"
+ "\010position\030\004 \001(\0132\'.google.cloud.vision.v1"
+ "p1beta1.Position\"\264\006\n\004Type\022\024\n\020UNKNOWN_LAN"
+ "DMARK\020\000\022\014\n\010LEFT_EYE\020\001\022\r\n\tRIGHT_EYE\020\002\022\030\n\024"
+ "LEFT_OF_LEFT_EYEBROW\020\003\022\031\n\025RIGHT_OF_LEFT_"
+ "EYEBROW\020\004\022\031\n\025LEFT_OF_RIGHT_EYEBROW\020\005\022\032\n\026"
+ "RIGHT_OF_RIGHT_EYEBROW\020\006\022\031\n\025MIDPOINT_BET"
+ "WEEN_EYES\020\007\022\014\n\010NOSE_TIP\020\010\022\r\n\tUPPER_LIP\020\t"
+ "\022\r\n\tLOWER_LIP\020\n\022\016\n\nMOUTH_LEFT\020\013\022\017\n\013MOUTH"
+ "_RIGHT\020\014\022\020\n\014MOUTH_CENTER\020\r\022\025\n\021NOSE_BOTTO"
+ "M_RIGHT\020\016\022\024\n\020NOSE_BOTTOM_LEFT\020\017\022\026\n\022NOSE_"
+ "BOTTOM_CENTER\020\020\022\031\n\025LEFT_EYE_TOP_BOUNDARY"
+ "\020\021\022\031\n\025LEFT_EYE_RIGHT_CORNER\020\022\022\034\n\030LEFT_EY"
+ "E_BOTTOM_BOUNDARY\020\023\022\030\n\024LEFT_EYE_LEFT_COR"
+ "NER\020\024\022\032\n\026RIGHT_EYE_TOP_BOUNDARY\020\025\022\032\n\026RIG"
+ "HT_EYE_RIGHT_CORNER\020\026\022\035\n\031RIGHT_EYE_BOTTO"
+ "M_BOUNDARY\020\027\022\031\n\025RIGHT_EYE_LEFT_CORNER\020\030\022"
+ "\037\n\033LEFT_EYEBROW_UPPER_MIDPOINT\020\031\022 \n\034RIGH"
+ "T_EYEBROW_UPPER_MIDPOINT\020\032\022\024\n\020LEFT_EAR_T"
+ "RAGION\020\033\022\025\n\021RIGHT_EAR_TRAGION\020\034\022\022\n\016LEFT_"
+ "EYE_PUPIL\020\035\022\023\n\017RIGHT_EYE_PUPIL\020\036\022\025\n\021FORE"
+ "HEAD_GLABELLA\020\037\022\021\n\rCHIN_GNATHION\020 \022\024\n\020CH"
+ "IN_LEFT_GONION\020!\022\025\n\021CHIN_RIGHT_GONION\020\"\""
+ "4\n\014LocationInfo\022$\n\007lat_lng\030\001 \001(\0132\023.googl"
+ "e.type.LatLng\"=\n\010Property\022\014\n\004name\030\001 \001(\t\022"
+ "\r\n\005value\030\002 \001(\t\022\024\n\014uint64_value\030\003 \001(\004\"\274\002\n"
+ "\020EntityAnnotation\022\013\n\003mid\030\001 \001(\t\022\016\n\006locale"
+ "\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\022\r\n\005score\030\004 \001"
+ "(\002\022\022\n\nconfidence\030\005 \001(\002\022\022\n\ntopicality\030\006 \001"
+ "(\002\022B\n\rbounding_poly\030\007 \001(\0132+.google.cloud"
+ ".vision.v1p1beta1.BoundingPoly\022>\n\tlocati"
+ "ons\030\010 \003(\0132+.google.cloud.vision.v1p1beta"
+ "1.LocationInfo\022;\n\nproperties\030\t \003(\0132\'.goo"
+ "gle.cloud.vision.v1p1beta1.Property\"\274\002\n\024"
+ "SafeSearchAnnotation\0228\n\005adult\030\001 \001(\0162).go"
+ "ogle.cloud.vision.v1p1beta1.Likelihood\0228"
+ "\n\005spoof\030\002 \001(\0162).google.cloud.vision.v1p1"
+ "beta1.Likelihood\022:\n\007medical\030\003 \001(\0162).goog"
+ "le.cloud.vision.v1p1beta1.Likelihood\022;\n\010"
+ "violence\030\004 \001(\0162).google.cloud.vision.v1p"
+ "1beta1.Likelihood\0227\n\004racy\030\t \001(\0162).google"
+ ".cloud.vision.v1p1beta1.Likelihood\"a\n\013La"
+ "tLongRect\022(\n\013min_lat_lng\030\001 \001(\0132\023.google."
+ "type.LatLng\022(\n\013max_lat_lng\030\002 \001(\0132\023.googl"
+ "e.type.LatLng\"U\n\tColorInfo\022!\n\005color\030\001 \001("
+ "\0132\022.google.type.Color\022\r\n\005score\030\002 \001(\002\022\026\n\016"
+ "pixel_fraction\030\003 \001(\002\"T\n\030DominantColorsAn"
+ "notation\0228\n\006colors\030\001 \003(\0132(.google.cloud."
+ "vision.v1p1beta1.ColorInfo\"c\n\017ImagePrope"
+ "rties\022P\n\017dominant_colors\030\001 \001(\01327.google."
+ "cloud.vision.v1p1beta1.DominantColorsAnn"
+ "otation\"\177\n\010CropHint\022B\n\rbounding_poly\030\001 \001"
+ "(\0132+.google.cloud.vision.v1p1beta1.Bound"
+ "ingPoly\022\022\n\nconfidence\030\002 \001(\002\022\033\n\023importanc"
+ "e_fraction\030\003 \001(\002\"R\n\023CropHintsAnnotation\022"
+ ";\n\ncrop_hints\030\001 \003(\0132\'.google.cloud.visio"
+ "n.v1p1beta1.CropHint\"(\n\017CropHintsParams\022"
+ "\025\n\raspect_ratios\030\001 \003(\002\"1\n\022WebDetectionPa"
+ "rams\022\033\n\023include_geo_results\030\002 \001(\010\"c\n\023Tex"
+ "tDetectionParams\022.\n&enable_text_detectio"
+ "n_confidence_score\030\t \001(\010\022\034\n\024advanced_ocr"
+ "_options\030\013 \003(\t\"\330\002\n\014ImageContext\022A\n\rlat_l"
+ "ong_rect\030\001 \001(\0132*.google.cloud.vision.v1p"
+ "1beta1.LatLongRect\022\026\n\016language_hints\030\002 \003"
+ "(\t\022I\n\021crop_hints_params\030\004 \001(\0132..google.c"
+ "loud.vision.v1p1beta1.CropHintsParams\022O\n"
+ "\024web_detection_params\030\006 \001(\01321.google.clo"
+ "ud.vision.v1p1beta1.WebDetectionParams\022Q"
+ "\n\025text_detection_params\030\014 \001(\01322.google.c"
+ "loud.vision.v1p1beta1.TextDetectionParam"
+ "s\"\311\001\n\024AnnotateImageRequest\0223\n\005image\030\001 \001("
+ "\0132$.google.cloud.vision.v1p1beta1.Image\022"
+ "8\n\010features\030\002 \003(\0132&.google.cloud.vision."
+ "v1p1beta1.Feature\022B\n\rimage_context\030\003 \001(\013"
+ "2+.google.cloud.vision.v1p1beta1.ImageCo"
+ "ntext\"\302\006\n\025AnnotateImageResponse\022G\n\020face_"
+ "annotations\030\001 \003(\0132-.google.cloud.vision."
+ "v1p1beta1.FaceAnnotation\022M\n\024landmark_ann"
+ "otations\030\002 \003(\0132/.google.cloud.vision.v1p"
+ "1beta1.EntityAnnotation\022I\n\020logo_annotati"
+ "ons\030\003 \003(\0132/.google.cloud.vision.v1p1beta"
+ "1.EntityAnnotation\022J\n\021label_annotations\030"
+ "\004 \003(\0132/.google.cloud.vision.v1p1beta1.En"
+ "tityAnnotation\022I\n\020text_annotations\030\005 \003(\013"
+ "2/.google.cloud.vision.v1p1beta1.EntityA"
+ "nnotation\022K\n\024full_text_annotation\030\014 \001(\0132"
+ "-.google.cloud.vision.v1p1beta1.TextAnno"
+ "tation\022S\n\026safe_search_annotation\030\006 \001(\01323"
+ ".google.cloud.vision.v1p1beta1.SafeSearc"
+ "hAnnotation\022S\n\033image_properties_annotati"
+ "on\030\010 \001(\0132..google.cloud.vision.v1p1beta1"
+ ".ImageProperties\022Q\n\025crop_hints_annotatio"
+ "n\030\013 \001(\01322.google.cloud.vision.v1p1beta1."
+ "CropHintsAnnotation\022B\n\rweb_detection\030\r \001"
+ "(\0132+.google.cloud.vision.v1p1beta1.WebDe"
+ "tection\022!\n\005error\030\t \001(\0132\022.google.rpc.Stat"
+ "us\"h\n\032BatchAnnotateImagesRequest\022J\n\010requ"
+ "ests\030\001 \003(\01323.google.cloud.vision.v1p1bet"
+ "a1.AnnotateImageRequestB\003\340A\002\"f\n\033BatchAnn"
+ "otateImagesResponse\022G\n\tresponses\030\001 \003(\01324"
+ ".google.cloud.vision.v1p1beta1.AnnotateI"
+ "mageResponse*e\n\nLikelihood\022\013\n\007UNKNOWN\020\000\022"
+ "\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSS"
+ "IBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\0052\311\002\n\016"
+ "ImageAnnotator\022\276\001\n\023BatchAnnotateImages\0229"
+ ".google.cloud.vision.v1p1beta1.BatchAnno"
+ "tateImagesRequest\032:.google.cloud.vision."
+ "v1p1beta1.BatchAnnotateImagesResponse\"0\332"
+ "A\010requests\202\323\344\223\002\037\"\032/v1p1beta1/images:anno"
+ "tate:\001*\032v\312A\025vision.googleapis.com\322A[http"
+ "s://www.googleapis.com/auth/cloud-platfo"
+ "rm,https://www.googleapis.com/auth/cloud"
+ "-visionB{\n!com.google.cloud.vision.v1p1b"
+ "eta1B\023ImageAnnotatorProtoP\001Z
© 2015 - 2024 Weber Informatics LLC | Privacy Policy