You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

2830 lines
117 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/cloud/vision/v1/image_annotator.proto
  3. package vision // import "google.golang.org/genproto/googleapis/cloud/vision/v1"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import timestamp "github.com/golang/protobuf/ptypes/timestamp"
  8. import _ "google.golang.org/genproto/googleapis/api/annotations"
  9. import longrunning "google.golang.org/genproto/googleapis/longrunning"
  10. import status "google.golang.org/genproto/googleapis/rpc/status"
  11. import color "google.golang.org/genproto/googleapis/type/color"
  12. import latlng "google.golang.org/genproto/googleapis/type/latlng"
  13. import _ "google.golang.org/genproto/protobuf/field_mask"
  14. import (
  15. context "golang.org/x/net/context"
  16. grpc "google.golang.org/grpc"
  17. )
  18. // Reference imports to suppress errors if they are not otherwise used.
  19. var _ = proto.Marshal
  20. var _ = fmt.Errorf
  21. var _ = math.Inf
  22. // This is a compile-time assertion to ensure that this generated file
  23. // is compatible with the proto package it is being compiled against.
  24. // A compilation error at this line likely means your copy of the
  25. // proto package needs to be updated.
  26. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  27. // A bucketized representation of likelihood, which is intended to give clients
  28. // highly stable results across model upgrades.
  29. type Likelihood int32
  30. const (
  31. // Unknown likelihood.
  32. Likelihood_UNKNOWN Likelihood = 0
  33. // It is very unlikely that the image belongs to the specified vertical.
  34. Likelihood_VERY_UNLIKELY Likelihood = 1
  35. // It is unlikely that the image belongs to the specified vertical.
  36. Likelihood_UNLIKELY Likelihood = 2
  37. // It is possible that the image belongs to the specified vertical.
  38. Likelihood_POSSIBLE Likelihood = 3
  39. // It is likely that the image belongs to the specified vertical.
  40. Likelihood_LIKELY Likelihood = 4
  41. // It is very likely that the image belongs to the specified vertical.
  42. Likelihood_VERY_LIKELY Likelihood = 5
  43. )
  44. var Likelihood_name = map[int32]string{
  45. 0: "UNKNOWN",
  46. 1: "VERY_UNLIKELY",
  47. 2: "UNLIKELY",
  48. 3: "POSSIBLE",
  49. 4: "LIKELY",
  50. 5: "VERY_LIKELY",
  51. }
  52. var Likelihood_value = map[string]int32{
  53. "UNKNOWN": 0,
  54. "VERY_UNLIKELY": 1,
  55. "UNLIKELY": 2,
  56. "POSSIBLE": 3,
  57. "LIKELY": 4,
  58. "VERY_LIKELY": 5,
  59. }
  60. func (x Likelihood) String() string {
  61. return proto.EnumName(Likelihood_name, int32(x))
  62. }
  63. func (Likelihood) EnumDescriptor() ([]byte, []int) {
  64. return fileDescriptor_image_annotator_70def9df53d0326d, []int{0}
  65. }
  66. // Type of Google Cloud Vision API feature to be extracted.
  67. type Feature_Type int32
  68. const (
  69. // Unspecified feature type.
  70. Feature_TYPE_UNSPECIFIED Feature_Type = 0
  71. // Run face detection.
  72. Feature_FACE_DETECTION Feature_Type = 1
  73. // Run landmark detection.
  74. Feature_LANDMARK_DETECTION Feature_Type = 2
  75. // Run logo detection.
  76. Feature_LOGO_DETECTION Feature_Type = 3
  77. // Run label detection.
  78. Feature_LABEL_DETECTION Feature_Type = 4
  79. // Run text detection / optical character recognition (OCR). Text detection
  80. // is optimized for areas of text within a larger image; if the image is
  81. // a document, use `DOCUMENT_TEXT_DETECTION` instead.
  82. Feature_TEXT_DETECTION Feature_Type = 5
  83. // Run dense text document OCR. Takes precedence when both
  84. // `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` are present.
  85. Feature_DOCUMENT_TEXT_DETECTION Feature_Type = 11
  86. // Run Safe Search to detect potentially unsafe
  87. // or undesirable content.
  88. Feature_SAFE_SEARCH_DETECTION Feature_Type = 6
  89. // Compute a set of image properties, such as the
  90. // image's dominant colors.
  91. Feature_IMAGE_PROPERTIES Feature_Type = 7
  92. // Run crop hints.
  93. Feature_CROP_HINTS Feature_Type = 9
  94. // Run web detection.
  95. Feature_WEB_DETECTION Feature_Type = 10
  96. // Run Product Search.
  97. Feature_PRODUCT_SEARCH Feature_Type = 12
  98. // Run localizer for object detection.
  99. Feature_OBJECT_LOCALIZATION Feature_Type = 19
  100. )
  101. var Feature_Type_name = map[int32]string{
  102. 0: "TYPE_UNSPECIFIED",
  103. 1: "FACE_DETECTION",
  104. 2: "LANDMARK_DETECTION",
  105. 3: "LOGO_DETECTION",
  106. 4: "LABEL_DETECTION",
  107. 5: "TEXT_DETECTION",
  108. 11: "DOCUMENT_TEXT_DETECTION",
  109. 6: "SAFE_SEARCH_DETECTION",
  110. 7: "IMAGE_PROPERTIES",
  111. 9: "CROP_HINTS",
  112. 10: "WEB_DETECTION",
  113. 12: "PRODUCT_SEARCH",
  114. 19: "OBJECT_LOCALIZATION",
  115. }
  116. var Feature_Type_value = map[string]int32{
  117. "TYPE_UNSPECIFIED": 0,
  118. "FACE_DETECTION": 1,
  119. "LANDMARK_DETECTION": 2,
  120. "LOGO_DETECTION": 3,
  121. "LABEL_DETECTION": 4,
  122. "TEXT_DETECTION": 5,
  123. "DOCUMENT_TEXT_DETECTION": 11,
  124. "SAFE_SEARCH_DETECTION": 6,
  125. "IMAGE_PROPERTIES": 7,
  126. "CROP_HINTS": 9,
  127. "WEB_DETECTION": 10,
  128. "PRODUCT_SEARCH": 12,
  129. "OBJECT_LOCALIZATION": 19,
  130. }
  131. func (x Feature_Type) String() string {
  132. return proto.EnumName(Feature_Type_name, int32(x))
  133. }
  134. func (Feature_Type) EnumDescriptor() ([]byte, []int) {
  135. return fileDescriptor_image_annotator_70def9df53d0326d, []int{0, 0}
  136. }
  137. // Face landmark (feature) type.
  138. // Left and right are defined from the vantage of the viewer of the image
  139. // without considering mirror projections typical of photos. So, `LEFT_EYE`,
  140. // typically, is the person's right eye.
  141. type FaceAnnotation_Landmark_Type int32
  142. const (
  143. // Unknown face landmark detected. Should not be filled.
  144. FaceAnnotation_Landmark_UNKNOWN_LANDMARK FaceAnnotation_Landmark_Type = 0
  145. // Left eye.
  146. FaceAnnotation_Landmark_LEFT_EYE FaceAnnotation_Landmark_Type = 1
  147. // Right eye.
  148. FaceAnnotation_Landmark_RIGHT_EYE FaceAnnotation_Landmark_Type = 2
  149. // Left of left eyebrow.
  150. FaceAnnotation_Landmark_LEFT_OF_LEFT_EYEBROW FaceAnnotation_Landmark_Type = 3
  151. // Right of left eyebrow.
  152. FaceAnnotation_Landmark_RIGHT_OF_LEFT_EYEBROW FaceAnnotation_Landmark_Type = 4
  153. // Left of right eyebrow.
  154. FaceAnnotation_Landmark_LEFT_OF_RIGHT_EYEBROW FaceAnnotation_Landmark_Type = 5
  155. // Right of right eyebrow.
  156. FaceAnnotation_Landmark_RIGHT_OF_RIGHT_EYEBROW FaceAnnotation_Landmark_Type = 6
  157. // Midpoint between eyes.
  158. FaceAnnotation_Landmark_MIDPOINT_BETWEEN_EYES FaceAnnotation_Landmark_Type = 7
  159. // Nose tip.
  160. FaceAnnotation_Landmark_NOSE_TIP FaceAnnotation_Landmark_Type = 8
  161. // Upper lip.
  162. FaceAnnotation_Landmark_UPPER_LIP FaceAnnotation_Landmark_Type = 9
  163. // Lower lip.
  164. FaceAnnotation_Landmark_LOWER_LIP FaceAnnotation_Landmark_Type = 10
  165. // Mouth left.
  166. FaceAnnotation_Landmark_MOUTH_LEFT FaceAnnotation_Landmark_Type = 11
  167. // Mouth right.
  168. FaceAnnotation_Landmark_MOUTH_RIGHT FaceAnnotation_Landmark_Type = 12
  169. // Mouth center.
  170. FaceAnnotation_Landmark_MOUTH_CENTER FaceAnnotation_Landmark_Type = 13
  171. // Nose, bottom right.
  172. FaceAnnotation_Landmark_NOSE_BOTTOM_RIGHT FaceAnnotation_Landmark_Type = 14
  173. // Nose, bottom left.
  174. FaceAnnotation_Landmark_NOSE_BOTTOM_LEFT FaceAnnotation_Landmark_Type = 15
  175. // Nose, bottom center.
  176. FaceAnnotation_Landmark_NOSE_BOTTOM_CENTER FaceAnnotation_Landmark_Type = 16
  177. // Left eye, top boundary.
  178. FaceAnnotation_Landmark_LEFT_EYE_TOP_BOUNDARY FaceAnnotation_Landmark_Type = 17
  179. // Left eye, right corner.
  180. FaceAnnotation_Landmark_LEFT_EYE_RIGHT_CORNER FaceAnnotation_Landmark_Type = 18
  181. // Left eye, bottom boundary.
  182. FaceAnnotation_Landmark_LEFT_EYE_BOTTOM_BOUNDARY FaceAnnotation_Landmark_Type = 19
  183. // Left eye, left corner.
  184. FaceAnnotation_Landmark_LEFT_EYE_LEFT_CORNER FaceAnnotation_Landmark_Type = 20
  185. // Right eye, top boundary.
  186. FaceAnnotation_Landmark_RIGHT_EYE_TOP_BOUNDARY FaceAnnotation_Landmark_Type = 21
  187. // Right eye, right corner.
  188. FaceAnnotation_Landmark_RIGHT_EYE_RIGHT_CORNER FaceAnnotation_Landmark_Type = 22
  189. // Right eye, bottom boundary.
  190. FaceAnnotation_Landmark_RIGHT_EYE_BOTTOM_BOUNDARY FaceAnnotation_Landmark_Type = 23
  191. // Right eye, left corner.
  192. FaceAnnotation_Landmark_RIGHT_EYE_LEFT_CORNER FaceAnnotation_Landmark_Type = 24
  193. // Left eyebrow, upper midpoint.
  194. FaceAnnotation_Landmark_LEFT_EYEBROW_UPPER_MIDPOINT FaceAnnotation_Landmark_Type = 25
  195. // Right eyebrow, upper midpoint.
  196. FaceAnnotation_Landmark_RIGHT_EYEBROW_UPPER_MIDPOINT FaceAnnotation_Landmark_Type = 26
  197. // Left ear tragion.
  198. FaceAnnotation_Landmark_LEFT_EAR_TRAGION FaceAnnotation_Landmark_Type = 27
  199. // Right ear tragion.
  200. FaceAnnotation_Landmark_RIGHT_EAR_TRAGION FaceAnnotation_Landmark_Type = 28
  201. // Left eye pupil.
  202. FaceAnnotation_Landmark_LEFT_EYE_PUPIL FaceAnnotation_Landmark_Type = 29
  203. // Right eye pupil.
  204. FaceAnnotation_Landmark_RIGHT_EYE_PUPIL FaceAnnotation_Landmark_Type = 30
  205. // Forehead glabella.
  206. FaceAnnotation_Landmark_FOREHEAD_GLABELLA FaceAnnotation_Landmark_Type = 31
  207. // Chin gnathion.
  208. FaceAnnotation_Landmark_CHIN_GNATHION FaceAnnotation_Landmark_Type = 32
  209. // Chin left gonion.
  210. FaceAnnotation_Landmark_CHIN_LEFT_GONION FaceAnnotation_Landmark_Type = 33
  211. // Chin right gonion.
  212. FaceAnnotation_Landmark_CHIN_RIGHT_GONION FaceAnnotation_Landmark_Type = 34
  213. )
  214. var FaceAnnotation_Landmark_Type_name = map[int32]string{
  215. 0: "UNKNOWN_LANDMARK",
  216. 1: "LEFT_EYE",
  217. 2: "RIGHT_EYE",
  218. 3: "LEFT_OF_LEFT_EYEBROW",
  219. 4: "RIGHT_OF_LEFT_EYEBROW",
  220. 5: "LEFT_OF_RIGHT_EYEBROW",
  221. 6: "RIGHT_OF_RIGHT_EYEBROW",
  222. 7: "MIDPOINT_BETWEEN_EYES",
  223. 8: "NOSE_TIP",
  224. 9: "UPPER_LIP",
  225. 10: "LOWER_LIP",
  226. 11: "MOUTH_LEFT",
  227. 12: "MOUTH_RIGHT",
  228. 13: "MOUTH_CENTER",
  229. 14: "NOSE_BOTTOM_RIGHT",
  230. 15: "NOSE_BOTTOM_LEFT",
  231. 16: "NOSE_BOTTOM_CENTER",
  232. 17: "LEFT_EYE_TOP_BOUNDARY",
  233. 18: "LEFT_EYE_RIGHT_CORNER",
  234. 19: "LEFT_EYE_BOTTOM_BOUNDARY",
  235. 20: "LEFT_EYE_LEFT_CORNER",
  236. 21: "RIGHT_EYE_TOP_BOUNDARY",
  237. 22: "RIGHT_EYE_RIGHT_CORNER",
  238. 23: "RIGHT_EYE_BOTTOM_BOUNDARY",
  239. 24: "RIGHT_EYE_LEFT_CORNER",
  240. 25: "LEFT_EYEBROW_UPPER_MIDPOINT",
  241. 26: "RIGHT_EYEBROW_UPPER_MIDPOINT",
  242. 27: "LEFT_EAR_TRAGION",
  243. 28: "RIGHT_EAR_TRAGION",
  244. 29: "LEFT_EYE_PUPIL",
  245. 30: "RIGHT_EYE_PUPIL",
  246. 31: "FOREHEAD_GLABELLA",
  247. 32: "CHIN_GNATHION",
  248. 33: "CHIN_LEFT_GONION",
  249. 34: "CHIN_RIGHT_GONION",
  250. }
  251. var FaceAnnotation_Landmark_Type_value = map[string]int32{
  252. "UNKNOWN_LANDMARK": 0,
  253. "LEFT_EYE": 1,
  254. "RIGHT_EYE": 2,
  255. "LEFT_OF_LEFT_EYEBROW": 3,
  256. "RIGHT_OF_LEFT_EYEBROW": 4,
  257. "LEFT_OF_RIGHT_EYEBROW": 5,
  258. "RIGHT_OF_RIGHT_EYEBROW": 6,
  259. "MIDPOINT_BETWEEN_EYES": 7,
  260. "NOSE_TIP": 8,
  261. "UPPER_LIP": 9,
  262. "LOWER_LIP": 10,
  263. "MOUTH_LEFT": 11,
  264. "MOUTH_RIGHT": 12,
  265. "MOUTH_CENTER": 13,
  266. "NOSE_BOTTOM_RIGHT": 14,
  267. "NOSE_BOTTOM_LEFT": 15,
  268. "NOSE_BOTTOM_CENTER": 16,
  269. "LEFT_EYE_TOP_BOUNDARY": 17,
  270. "LEFT_EYE_RIGHT_CORNER": 18,
  271. "LEFT_EYE_BOTTOM_BOUNDARY": 19,
  272. "LEFT_EYE_LEFT_CORNER": 20,
  273. "RIGHT_EYE_TOP_BOUNDARY": 21,
  274. "RIGHT_EYE_RIGHT_CORNER": 22,
  275. "RIGHT_EYE_BOTTOM_BOUNDARY": 23,
  276. "RIGHT_EYE_LEFT_CORNER": 24,
  277. "LEFT_EYEBROW_UPPER_MIDPOINT": 25,
  278. "RIGHT_EYEBROW_UPPER_MIDPOINT": 26,
  279. "LEFT_EAR_TRAGION": 27,
  280. "RIGHT_EAR_TRAGION": 28,
  281. "LEFT_EYE_PUPIL": 29,
  282. "RIGHT_EYE_PUPIL": 30,
  283. "FOREHEAD_GLABELLA": 31,
  284. "CHIN_GNATHION": 32,
  285. "CHIN_LEFT_GONION": 33,
  286. "CHIN_RIGHT_GONION": 34,
  287. }
  288. func (x FaceAnnotation_Landmark_Type) String() string {
  289. return proto.EnumName(FaceAnnotation_Landmark_Type_name, int32(x))
  290. }
  291. func (FaceAnnotation_Landmark_Type) EnumDescriptor() ([]byte, []int) {
  292. return fileDescriptor_image_annotator_70def9df53d0326d, []int{3, 0, 0}
  293. }
  294. // Batch operation states.
  295. type OperationMetadata_State int32
  296. const (
  297. // Invalid.
  298. OperationMetadata_STATE_UNSPECIFIED OperationMetadata_State = 0
  299. // Request is received.
  300. OperationMetadata_CREATED OperationMetadata_State = 1
  301. // Request is actively being processed.
  302. OperationMetadata_RUNNING OperationMetadata_State = 2
  303. // The batch processing is done.
  304. OperationMetadata_DONE OperationMetadata_State = 3
  305. // The batch processing was cancelled.
  306. OperationMetadata_CANCELLED OperationMetadata_State = 4
  307. )
  308. var OperationMetadata_State_name = map[int32]string{
  309. 0: "STATE_UNSPECIFIED",
  310. 1: "CREATED",
  311. 2: "RUNNING",
  312. 3: "DONE",
  313. 4: "CANCELLED",
  314. }
  315. var OperationMetadata_State_value = map[string]int32{
  316. "STATE_UNSPECIFIED": 0,
  317. "CREATED": 1,
  318. "RUNNING": 2,
  319. "DONE": 3,
  320. "CANCELLED": 4,
  321. }
  322. func (x OperationMetadata_State) String() string {
  323. return proto.EnumName(OperationMetadata_State_name, int32(x))
  324. }
  325. func (OperationMetadata_State) EnumDescriptor() ([]byte, []int) {
  326. return fileDescriptor_image_annotator_70def9df53d0326d, []int{32, 0}
  327. }
  328. // The type of Google Cloud Vision API detection to perform, and the maximum
  329. // number of results to return for that type. Multiple `Feature` objects can
  330. // be specified in the `features` list.
  331. type Feature struct {
  332. // The feature type.
  333. Type Feature_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.vision.v1.Feature_Type" json:"type,omitempty"`
  334. // Maximum number of results of this type. Does not apply to
  335. // `TEXT_DETECTION`, `DOCUMENT_TEXT_DETECTION`, or `CROP_HINTS`.
  336. MaxResults int32 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"`
  337. // Model to use for the feature.
  338. // Supported values: "builtin/stable" (the default if unset) and
  339. // "builtin/latest".
  340. Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"`
  341. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  342. XXX_unrecognized []byte `json:"-"`
  343. XXX_sizecache int32 `json:"-"`
  344. }
  345. func (m *Feature) Reset() { *m = Feature{} }
  346. func (m *Feature) String() string { return proto.CompactTextString(m) }
  347. func (*Feature) ProtoMessage() {}
  348. func (*Feature) Descriptor() ([]byte, []int) {
  349. return fileDescriptor_image_annotator_70def9df53d0326d, []int{0}
  350. }
  351. func (m *Feature) XXX_Unmarshal(b []byte) error {
  352. return xxx_messageInfo_Feature.Unmarshal(m, b)
  353. }
  354. func (m *Feature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  355. return xxx_messageInfo_Feature.Marshal(b, m, deterministic)
  356. }
  357. func (dst *Feature) XXX_Merge(src proto.Message) {
  358. xxx_messageInfo_Feature.Merge(dst, src)
  359. }
  360. func (m *Feature) XXX_Size() int {
  361. return xxx_messageInfo_Feature.Size(m)
  362. }
  363. func (m *Feature) XXX_DiscardUnknown() {
  364. xxx_messageInfo_Feature.DiscardUnknown(m)
  365. }
  366. var xxx_messageInfo_Feature proto.InternalMessageInfo
  367. func (m *Feature) GetType() Feature_Type {
  368. if m != nil {
  369. return m.Type
  370. }
  371. return Feature_TYPE_UNSPECIFIED
  372. }
  373. func (m *Feature) GetMaxResults() int32 {
  374. if m != nil {
  375. return m.MaxResults
  376. }
  377. return 0
  378. }
  379. func (m *Feature) GetModel() string {
  380. if m != nil {
  381. return m.Model
  382. }
  383. return ""
  384. }
  385. // External image source (Google Cloud Storage or web URL image location).
  386. type ImageSource struct {
  387. // **Use `image_uri` instead.**
  388. //
  389. // The Google Cloud Storage URI of the form
  390. // `gs://bucket_name/object_name`. Object versioning is not supported. See
  391. // [Google Cloud Storage Request
  392. // URIs](https://cloud.google.com/storage/docs/reference-uris) for more info.
  393. GcsImageUri string `protobuf:"bytes,1,opt,name=gcs_image_uri,json=gcsImageUri,proto3" json:"gcs_image_uri,omitempty"`
  394. // The URI of the source image. Can be either:
  395. //
  396. // 1. A Google Cloud Storage URI of the form
  397. // `gs://bucket_name/object_name`. Object versioning is not supported. See
  398. // [Google Cloud Storage Request
  399. // URIs](https://cloud.google.com/storage/docs/reference-uris) for more
  400. // info.
  401. //
  402. // 2. A publicly-accessible image HTTP/HTTPS URL. When fetching images from
  403. // HTTP/HTTPS URLs, Google cannot guarantee that the request will be
  404. // completed. Your request may fail if the specified host denies the
  405. // request (e.g. due to request throttling or DOS prevention), or if Google
  406. // throttles requests to the site for abuse prevention. You should not
  407. // depend on externally-hosted images for production applications.
  408. //
  409. // When both `gcs_image_uri` and `image_uri` are specified, `image_uri` takes
  410. // precedence.
  411. ImageUri string `protobuf:"bytes,2,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"`
  412. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  413. XXX_unrecognized []byte `json:"-"`
  414. XXX_sizecache int32 `json:"-"`
  415. }
  416. func (m *ImageSource) Reset() { *m = ImageSource{} }
  417. func (m *ImageSource) String() string { return proto.CompactTextString(m) }
  418. func (*ImageSource) ProtoMessage() {}
  419. func (*ImageSource) Descriptor() ([]byte, []int) {
  420. return fileDescriptor_image_annotator_70def9df53d0326d, []int{1}
  421. }
  422. func (m *ImageSource) XXX_Unmarshal(b []byte) error {
  423. return xxx_messageInfo_ImageSource.Unmarshal(m, b)
  424. }
  425. func (m *ImageSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  426. return xxx_messageInfo_ImageSource.Marshal(b, m, deterministic)
  427. }
  428. func (dst *ImageSource) XXX_Merge(src proto.Message) {
  429. xxx_messageInfo_ImageSource.Merge(dst, src)
  430. }
  431. func (m *ImageSource) XXX_Size() int {
  432. return xxx_messageInfo_ImageSource.Size(m)
  433. }
  434. func (m *ImageSource) XXX_DiscardUnknown() {
  435. xxx_messageInfo_ImageSource.DiscardUnknown(m)
  436. }
  437. var xxx_messageInfo_ImageSource proto.InternalMessageInfo
  438. func (m *ImageSource) GetGcsImageUri() string {
  439. if m != nil {
  440. return m.GcsImageUri
  441. }
  442. return ""
  443. }
  444. func (m *ImageSource) GetImageUri() string {
  445. if m != nil {
  446. return m.ImageUri
  447. }
  448. return ""
  449. }
  450. // Client image to perform Google Cloud Vision API tasks over.
  451. type Image struct {
  452. // Image content, represented as a stream of bytes.
  453. // Note: As with all `bytes` fields, protobuffers use a pure binary
  454. // representation, whereas JSON representations use base64.
  455. Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
  456. // Google Cloud Storage image location, or publicly-accessible image
  457. // URL. If both `content` and `source` are provided for an image, `content`
  458. // takes precedence and is used to perform the image annotation request.
  459. Source *ImageSource `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
  460. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  461. XXX_unrecognized []byte `json:"-"`
  462. XXX_sizecache int32 `json:"-"`
  463. }
  464. func (m *Image) Reset() { *m = Image{} }
  465. func (m *Image) String() string { return proto.CompactTextString(m) }
  466. func (*Image) ProtoMessage() {}
  467. func (*Image) Descriptor() ([]byte, []int) {
  468. return fileDescriptor_image_annotator_70def9df53d0326d, []int{2}
  469. }
  470. func (m *Image) XXX_Unmarshal(b []byte) error {
  471. return xxx_messageInfo_Image.Unmarshal(m, b)
  472. }
  473. func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  474. return xxx_messageInfo_Image.Marshal(b, m, deterministic)
  475. }
  476. func (dst *Image) XXX_Merge(src proto.Message) {
  477. xxx_messageInfo_Image.Merge(dst, src)
  478. }
  479. func (m *Image) XXX_Size() int {
  480. return xxx_messageInfo_Image.Size(m)
  481. }
  482. func (m *Image) XXX_DiscardUnknown() {
  483. xxx_messageInfo_Image.DiscardUnknown(m)
  484. }
  485. var xxx_messageInfo_Image proto.InternalMessageInfo
  486. func (m *Image) GetContent() []byte {
  487. if m != nil {
  488. return m.Content
  489. }
  490. return nil
  491. }
  492. func (m *Image) GetSource() *ImageSource {
  493. if m != nil {
  494. return m.Source
  495. }
  496. return nil
  497. }
  498. // A face annotation object contains the results of face detection.
  499. type FaceAnnotation struct {
  500. // The bounding polygon around the face. The coordinates of the bounding box
  501. // are in the original image's scale, as returned in `ImageParams`.
  502. // The bounding box is computed to "frame" the face in accordance with human
  503. // expectations. It is based on the landmarker results.
  504. // Note that one or more x and/or y coordinates may not be generated in the
  505. // `BoundingPoly` (the polygon will be unbounded) if only a partial face
  506. // appears in the image to be annotated.
  507. BoundingPoly *BoundingPoly `protobuf:"bytes,1,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"`
  508. // The `fd_bounding_poly` bounding polygon is tighter than the
  509. // `boundingPoly`, and encloses only the skin part of the face. Typically, it
  510. // is used to eliminate the face from any image analysis that detects the
  511. // "amount of skin" visible in an image. It is not based on the
  512. // landmarker results, only on the initial face detection, hence
  513. // the <code>fd</code> (face detection) prefix.
  514. FdBoundingPoly *BoundingPoly `protobuf:"bytes,2,opt,name=fd_bounding_poly,json=fdBoundingPoly,proto3" json:"fd_bounding_poly,omitempty"`
  515. // Detected face landmarks.
  516. Landmarks []*FaceAnnotation_Landmark `protobuf:"bytes,3,rep,name=landmarks,proto3" json:"landmarks,omitempty"`
  517. // Roll angle, which indicates the amount of clockwise/anti-clockwise rotation
  518. // of the face relative to the image vertical about the axis perpendicular to
  519. // the face. Range [-180,180].
  520. RollAngle float32 `protobuf:"fixed32,4,opt,name=roll_angle,json=rollAngle,proto3" json:"roll_angle,omitempty"`
  521. // Yaw angle, which indicates the leftward/rightward angle that the face is
  522. // pointing relative to the vertical plane perpendicular to the image. Range
  523. // [-180,180].
  524. PanAngle float32 `protobuf:"fixed32,5,opt,name=pan_angle,json=panAngle,proto3" json:"pan_angle,omitempty"`
  525. // Pitch angle, which indicates the upwards/downwards angle that the face is
  526. // pointing relative to the image's horizontal plane. Range [-180,180].
  527. TiltAngle float32 `protobuf:"fixed32,6,opt,name=tilt_angle,json=tiltAngle,proto3" json:"tilt_angle,omitempty"`
  528. // Detection confidence. Range [0, 1].
  529. DetectionConfidence float32 `protobuf:"fixed32,7,opt,name=detection_confidence,json=detectionConfidence,proto3" json:"detection_confidence,omitempty"`
  530. // Face landmarking confidence. Range [0, 1].
  531. LandmarkingConfidence float32 `protobuf:"fixed32,8,opt,name=landmarking_confidence,json=landmarkingConfidence,proto3" json:"landmarking_confidence,omitempty"`
  532. // Joy likelihood.
  533. JoyLikelihood Likelihood `protobuf:"varint,9,opt,name=joy_likelihood,json=joyLikelihood,proto3,enum=google.cloud.vision.v1.Likelihood" json:"joy_likelihood,omitempty"`
  534. // Sorrow likelihood.
  535. SorrowLikelihood Likelihood `protobuf:"varint,10,opt,name=sorrow_likelihood,json=sorrowLikelihood,proto3,enum=google.cloud.vision.v1.Likelihood" json:"sorrow_likelihood,omitempty"`
  536. // Anger likelihood.
  537. AngerLikelihood Likelihood `protobuf:"varint,11,opt,name=anger_likelihood,json=angerLikelihood,proto3,enum=google.cloud.vision.v1.Likelihood" json:"anger_likelihood,omitempty"`
  538. // Surprise likelihood.
  539. SurpriseLikelihood Likelihood `protobuf:"varint,12,opt,name=surprise_likelihood,json=surpriseLikelihood,proto3,enum=google.cloud.vision.v1.Likelihood" json:"surprise_likelihood,omitempty"`
  540. // Under-exposed likelihood.
  541. UnderExposedLikelihood Likelihood `protobuf:"varint,13,opt,name=under_exposed_likelihood,json=underExposedLikelihood,proto3,enum=google.cloud.vision.v1.Likelihood" json:"under_exposed_likelihood,omitempty"`
  542. // Blurred likelihood.
  543. BlurredLikelihood Likelihood `protobuf:"varint,14,opt,name=blurred_likelihood,json=blurredLikelihood,proto3,enum=google.cloud.vision.v1.Likelihood" json:"blurred_likelihood,omitempty"`
  544. // Headwear likelihood.
  545. HeadwearLikelihood Likelihood `protobuf:"varint,15,opt,name=headwear_likelihood,json=headwearLikelihood,proto3,enum=google.cloud.vision.v1.Likelihood" json:"headwear_likelihood,omitempty"`
  546. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  547. XXX_unrecognized []byte `json:"-"`
  548. XXX_sizecache int32 `json:"-"`
  549. }
  550. func (m *FaceAnnotation) Reset() { *m = FaceAnnotation{} }
  551. func (m *FaceAnnotation) String() string { return proto.CompactTextString(m) }
  552. func (*FaceAnnotation) ProtoMessage() {}
  553. func (*FaceAnnotation) Descriptor() ([]byte, []int) {
  554. return fileDescriptor_image_annotator_70def9df53d0326d, []int{3}
  555. }
  556. func (m *FaceAnnotation) XXX_Unmarshal(b []byte) error {
  557. return xxx_messageInfo_FaceAnnotation.Unmarshal(m, b)
  558. }
  559. func (m *FaceAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  560. return xxx_messageInfo_FaceAnnotation.Marshal(b, m, deterministic)
  561. }
  562. func (dst *FaceAnnotation) XXX_Merge(src proto.Message) {
  563. xxx_messageInfo_FaceAnnotation.Merge(dst, src)
  564. }
  565. func (m *FaceAnnotation) XXX_Size() int {
  566. return xxx_messageInfo_FaceAnnotation.Size(m)
  567. }
  568. func (m *FaceAnnotation) XXX_DiscardUnknown() {
  569. xxx_messageInfo_FaceAnnotation.DiscardUnknown(m)
  570. }
  571. var xxx_messageInfo_FaceAnnotation proto.InternalMessageInfo
  572. func (m *FaceAnnotation) GetBoundingPoly() *BoundingPoly {
  573. if m != nil {
  574. return m.BoundingPoly
  575. }
  576. return nil
  577. }
  578. func (m *FaceAnnotation) GetFdBoundingPoly() *BoundingPoly {
  579. if m != nil {
  580. return m.FdBoundingPoly
  581. }
  582. return nil
  583. }
  584. func (m *FaceAnnotation) GetLandmarks() []*FaceAnnotation_Landmark {
  585. if m != nil {
  586. return m.Landmarks
  587. }
  588. return nil
  589. }
  590. func (m *FaceAnnotation) GetRollAngle() float32 {
  591. if m != nil {
  592. return m.RollAngle
  593. }
  594. return 0
  595. }
  596. func (m *FaceAnnotation) GetPanAngle() float32 {
  597. if m != nil {
  598. return m.PanAngle
  599. }
  600. return 0
  601. }
  602. func (m *FaceAnnotation) GetTiltAngle() float32 {
  603. if m != nil {
  604. return m.TiltAngle
  605. }
  606. return 0
  607. }
  608. func (m *FaceAnnotation) GetDetectionConfidence() float32 {
  609. if m != nil {
  610. return m.DetectionConfidence
  611. }
  612. return 0
  613. }
  614. func (m *FaceAnnotation) GetLandmarkingConfidence() float32 {
  615. if m != nil {
  616. return m.LandmarkingConfidence
  617. }
  618. return 0
  619. }
  620. func (m *FaceAnnotation) GetJoyLikelihood() Likelihood {
  621. if m != nil {
  622. return m.JoyLikelihood
  623. }
  624. return Likelihood_UNKNOWN
  625. }
  626. func (m *FaceAnnotation) GetSorrowLikelihood() Likelihood {
  627. if m != nil {
  628. return m.SorrowLikelihood
  629. }
  630. return Likelihood_UNKNOWN
  631. }
  632. func (m *FaceAnnotation) GetAngerLikelihood() Likelihood {
  633. if m != nil {
  634. return m.AngerLikelihood
  635. }
  636. return Likelihood_UNKNOWN
  637. }
  638. func (m *FaceAnnotation) GetSurpriseLikelihood() Likelihood {
  639. if m != nil {
  640. return m.SurpriseLikelihood
  641. }
  642. return Likelihood_UNKNOWN
  643. }
  644. func (m *FaceAnnotation) GetUnderExposedLikelihood() Likelihood {
  645. if m != nil {
  646. return m.UnderExposedLikelihood
  647. }
  648. return Likelihood_UNKNOWN
  649. }
  650. func (m *FaceAnnotation) GetBlurredLikelihood() Likelihood {
  651. if m != nil {
  652. return m.BlurredLikelihood
  653. }
  654. return Likelihood_UNKNOWN
  655. }
  656. func (m *FaceAnnotation) GetHeadwearLikelihood() Likelihood {
  657. if m != nil {
  658. return m.HeadwearLikelihood
  659. }
  660. return Likelihood_UNKNOWN
  661. }
  662. // A face-specific landmark (for example, a face feature).
  663. type FaceAnnotation_Landmark struct {
  664. // Face landmark type.
  665. Type FaceAnnotation_Landmark_Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.vision.v1.FaceAnnotation_Landmark_Type" json:"type,omitempty"`
  666. // Face landmark position.
  667. Position *Position `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"`
  668. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  669. XXX_unrecognized []byte `json:"-"`
  670. XXX_sizecache int32 `json:"-"`
  671. }
  672. func (m *FaceAnnotation_Landmark) Reset() { *m = FaceAnnotation_Landmark{} }
  673. func (m *FaceAnnotation_Landmark) String() string { return proto.CompactTextString(m) }
  674. func (*FaceAnnotation_Landmark) ProtoMessage() {}
  675. func (*FaceAnnotation_Landmark) Descriptor() ([]byte, []int) {
  676. return fileDescriptor_image_annotator_70def9df53d0326d, []int{3, 0}
  677. }
  678. func (m *FaceAnnotation_Landmark) XXX_Unmarshal(b []byte) error {
  679. return xxx_messageInfo_FaceAnnotation_Landmark.Unmarshal(m, b)
  680. }
  681. func (m *FaceAnnotation_Landmark) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  682. return xxx_messageInfo_FaceAnnotation_Landmark.Marshal(b, m, deterministic)
  683. }
  684. func (dst *FaceAnnotation_Landmark) XXX_Merge(src proto.Message) {
  685. xxx_messageInfo_FaceAnnotation_Landmark.Merge(dst, src)
  686. }
  687. func (m *FaceAnnotation_Landmark) XXX_Size() int {
  688. return xxx_messageInfo_FaceAnnotation_Landmark.Size(m)
  689. }
  690. func (m *FaceAnnotation_Landmark) XXX_DiscardUnknown() {
  691. xxx_messageInfo_FaceAnnotation_Landmark.DiscardUnknown(m)
  692. }
  693. var xxx_messageInfo_FaceAnnotation_Landmark proto.InternalMessageInfo
  694. func (m *FaceAnnotation_Landmark) GetType() FaceAnnotation_Landmark_Type {
  695. if m != nil {
  696. return m.Type
  697. }
  698. return FaceAnnotation_Landmark_UNKNOWN_LANDMARK
  699. }
  700. func (m *FaceAnnotation_Landmark) GetPosition() *Position {
  701. if m != nil {
  702. return m.Position
  703. }
  704. return nil
  705. }
  706. // Detected entity location information.
  707. type LocationInfo struct {
  708. // lat/long location coordinates.
  709. LatLng *latlng.LatLng `protobuf:"bytes,1,opt,name=lat_lng,json=latLng,proto3" json:"lat_lng,omitempty"`
  710. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  711. XXX_unrecognized []byte `json:"-"`
  712. XXX_sizecache int32 `json:"-"`
  713. }
  714. func (m *LocationInfo) Reset() { *m = LocationInfo{} }
  715. func (m *LocationInfo) String() string { return proto.CompactTextString(m) }
  716. func (*LocationInfo) ProtoMessage() {}
  717. func (*LocationInfo) Descriptor() ([]byte, []int) {
  718. return fileDescriptor_image_annotator_70def9df53d0326d, []int{4}
  719. }
  720. func (m *LocationInfo) XXX_Unmarshal(b []byte) error {
  721. return xxx_messageInfo_LocationInfo.Unmarshal(m, b)
  722. }
  723. func (m *LocationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  724. return xxx_messageInfo_LocationInfo.Marshal(b, m, deterministic)
  725. }
  726. func (dst *LocationInfo) XXX_Merge(src proto.Message) {
  727. xxx_messageInfo_LocationInfo.Merge(dst, src)
  728. }
  729. func (m *LocationInfo) XXX_Size() int {
  730. return xxx_messageInfo_LocationInfo.Size(m)
  731. }
  732. func (m *LocationInfo) XXX_DiscardUnknown() {
  733. xxx_messageInfo_LocationInfo.DiscardUnknown(m)
  734. }
  735. var xxx_messageInfo_LocationInfo proto.InternalMessageInfo
  736. func (m *LocationInfo) GetLatLng() *latlng.LatLng {
  737. if m != nil {
  738. return m.LatLng
  739. }
  740. return nil
  741. }
  742. // A `Property` consists of a user-supplied name/value pair.
  743. type Property struct {
  744. // Name of the property.
  745. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  746. // Value of the property.
  747. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  748. // Value of numeric properties.
  749. Uint64Value uint64 `protobuf:"varint,3,opt,name=uint64_value,json=uint64Value,proto3" json:"uint64_value,omitempty"`
  750. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  751. XXX_unrecognized []byte `json:"-"`
  752. XXX_sizecache int32 `json:"-"`
  753. }
  754. func (m *Property) Reset() { *m = Property{} }
  755. func (m *Property) String() string { return proto.CompactTextString(m) }
  756. func (*Property) ProtoMessage() {}
  757. func (*Property) Descriptor() ([]byte, []int) {
  758. return fileDescriptor_image_annotator_70def9df53d0326d, []int{5}
  759. }
  760. func (m *Property) XXX_Unmarshal(b []byte) error {
  761. return xxx_messageInfo_Property.Unmarshal(m, b)
  762. }
  763. func (m *Property) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  764. return xxx_messageInfo_Property.Marshal(b, m, deterministic)
  765. }
  766. func (dst *Property) XXX_Merge(src proto.Message) {
  767. xxx_messageInfo_Property.Merge(dst, src)
  768. }
  769. func (m *Property) XXX_Size() int {
  770. return xxx_messageInfo_Property.Size(m)
  771. }
  772. func (m *Property) XXX_DiscardUnknown() {
  773. xxx_messageInfo_Property.DiscardUnknown(m)
  774. }
  775. var xxx_messageInfo_Property proto.InternalMessageInfo
  776. func (m *Property) GetName() string {
  777. if m != nil {
  778. return m.Name
  779. }
  780. return ""
  781. }
  782. func (m *Property) GetValue() string {
  783. if m != nil {
  784. return m.Value
  785. }
  786. return ""
  787. }
  788. func (m *Property) GetUint64Value() uint64 {
  789. if m != nil {
  790. return m.Uint64Value
  791. }
  792. return 0
  793. }
  794. // Set of detected entity features.
  795. type EntityAnnotation struct {
  796. // Opaque entity ID. Some IDs may be available in
  797. // [Google Knowledge Graph Search
  798. // API](https://developers.google.com/knowledge-graph/).
  799. Mid string `protobuf:"bytes,1,opt,name=mid,proto3" json:"mid,omitempty"`
  800. // The language code for the locale in which the entity textual
  801. // `description` is expressed.
  802. Locale string `protobuf:"bytes,2,opt,name=locale,proto3" json:"locale,omitempty"`
  803. // Entity textual description, expressed in its `locale` language.
  804. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
  805. // Overall score of the result. Range [0, 1].
  806. Score float32 `protobuf:"fixed32,4,opt,name=score,proto3" json:"score,omitempty"`
  807. // **Deprecated. Use `score` instead.**
  808. // The accuracy of the entity detection in an image.
  809. // For example, for an image in which the "Eiffel Tower" entity is detected,
  810. // this field represents the confidence that there is a tower in the query
  811. // image. Range [0, 1].
  812. Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"` // Deprecated: Do not use.
  813. // The relevancy of the ICA (Image Content Annotation) label to the
  814. // image. For example, the relevancy of "tower" is likely higher to an image
  815. // containing the detected "Eiffel Tower" than to an image containing a
  816. // detected distant towering building, even though the confidence that
  817. // there is a tower in each image may be the same. Range [0, 1].
  818. Topicality float32 `protobuf:"fixed32,6,opt,name=topicality,proto3" json:"topicality,omitempty"`
  819. // Image region to which this entity belongs. Not produced
  820. // for `LABEL_DETECTION` features.
  821. BoundingPoly *BoundingPoly `protobuf:"bytes,7,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"`
  822. // The location information for the detected entity. Multiple
  823. // `LocationInfo` elements can be present because one location may
  824. // indicate the location of the scene in the image, and another location
  825. // may indicate the location of the place where the image was taken.
  826. // Location information is usually present for landmarks.
  827. Locations []*LocationInfo `protobuf:"bytes,8,rep,name=locations,proto3" json:"locations,omitempty"`
  828. // Some entities may have optional user-supplied `Property` (name/value)
  829. // fields, such a score or string that qualifies the entity.
  830. Properties []*Property `protobuf:"bytes,9,rep,name=properties,proto3" json:"properties,omitempty"`
  831. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  832. XXX_unrecognized []byte `json:"-"`
  833. XXX_sizecache int32 `json:"-"`
  834. }
  835. func (m *EntityAnnotation) Reset() { *m = EntityAnnotation{} }
  836. func (m *EntityAnnotation) String() string { return proto.CompactTextString(m) }
  837. func (*EntityAnnotation) ProtoMessage() {}
  838. func (*EntityAnnotation) Descriptor() ([]byte, []int) {
  839. return fileDescriptor_image_annotator_70def9df53d0326d, []int{6}
  840. }
  841. func (m *EntityAnnotation) XXX_Unmarshal(b []byte) error {
  842. return xxx_messageInfo_EntityAnnotation.Unmarshal(m, b)
  843. }
  844. func (m *EntityAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  845. return xxx_messageInfo_EntityAnnotation.Marshal(b, m, deterministic)
  846. }
  847. func (dst *EntityAnnotation) XXX_Merge(src proto.Message) {
  848. xxx_messageInfo_EntityAnnotation.Merge(dst, src)
  849. }
  850. func (m *EntityAnnotation) XXX_Size() int {
  851. return xxx_messageInfo_EntityAnnotation.Size(m)
  852. }
  853. func (m *EntityAnnotation) XXX_DiscardUnknown() {
  854. xxx_messageInfo_EntityAnnotation.DiscardUnknown(m)
  855. }
  856. var xxx_messageInfo_EntityAnnotation proto.InternalMessageInfo
  857. func (m *EntityAnnotation) GetMid() string {
  858. if m != nil {
  859. return m.Mid
  860. }
  861. return ""
  862. }
  863. func (m *EntityAnnotation) GetLocale() string {
  864. if m != nil {
  865. return m.Locale
  866. }
  867. return ""
  868. }
  869. func (m *EntityAnnotation) GetDescription() string {
  870. if m != nil {
  871. return m.Description
  872. }
  873. return ""
  874. }
  875. func (m *EntityAnnotation) GetScore() float32 {
  876. if m != nil {
  877. return m.Score
  878. }
  879. return 0
  880. }
  881. // Deprecated: Do not use.
  882. func (m *EntityAnnotation) GetConfidence() float32 {
  883. if m != nil {
  884. return m.Confidence
  885. }
  886. return 0
  887. }
  888. func (m *EntityAnnotation) GetTopicality() float32 {
  889. if m != nil {
  890. return m.Topicality
  891. }
  892. return 0
  893. }
  894. func (m *EntityAnnotation) GetBoundingPoly() *BoundingPoly {
  895. if m != nil {
  896. return m.BoundingPoly
  897. }
  898. return nil
  899. }
  900. func (m *EntityAnnotation) GetLocations() []*LocationInfo {
  901. if m != nil {
  902. return m.Locations
  903. }
  904. return nil
  905. }
  906. func (m *EntityAnnotation) GetProperties() []*Property {
  907. if m != nil {
  908. return m.Properties
  909. }
  910. return nil
  911. }
  912. // Set of detected objects with bounding boxes.
  913. type LocalizedObjectAnnotation struct {
  914. // Object ID that should align with EntityAnnotation mid.
  915. Mid string `protobuf:"bytes,1,opt,name=mid,proto3" json:"mid,omitempty"`
  916. // The BCP-47 language code, such as "en-US" or "sr-Latn". For more
  917. // information, see
  918. // http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
  919. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
  920. // Object name, expressed in its `language_code` language.
  921. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
  922. // Score of the result. Range [0, 1].
  923. Score float32 `protobuf:"fixed32,4,opt,name=score,proto3" json:"score,omitempty"`
  924. // Image region to which this object belongs. This must be populated.
  925. BoundingPoly *BoundingPoly `protobuf:"bytes,5,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"`
  926. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  927. XXX_unrecognized []byte `json:"-"`
  928. XXX_sizecache int32 `json:"-"`
  929. }
  930. func (m *LocalizedObjectAnnotation) Reset() { *m = LocalizedObjectAnnotation{} }
  931. func (m *LocalizedObjectAnnotation) String() string { return proto.CompactTextString(m) }
  932. func (*LocalizedObjectAnnotation) ProtoMessage() {}
  933. func (*LocalizedObjectAnnotation) Descriptor() ([]byte, []int) {
  934. return fileDescriptor_image_annotator_70def9df53d0326d, []int{7}
  935. }
  936. func (m *LocalizedObjectAnnotation) XXX_Unmarshal(b []byte) error {
  937. return xxx_messageInfo_LocalizedObjectAnnotation.Unmarshal(m, b)
  938. }
  939. func (m *LocalizedObjectAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  940. return xxx_messageInfo_LocalizedObjectAnnotation.Marshal(b, m, deterministic)
  941. }
  942. func (dst *LocalizedObjectAnnotation) XXX_Merge(src proto.Message) {
  943. xxx_messageInfo_LocalizedObjectAnnotation.Merge(dst, src)
  944. }
  945. func (m *LocalizedObjectAnnotation) XXX_Size() int {
  946. return xxx_messageInfo_LocalizedObjectAnnotation.Size(m)
  947. }
  948. func (m *LocalizedObjectAnnotation) XXX_DiscardUnknown() {
  949. xxx_messageInfo_LocalizedObjectAnnotation.DiscardUnknown(m)
  950. }
  951. var xxx_messageInfo_LocalizedObjectAnnotation proto.InternalMessageInfo
  952. func (m *LocalizedObjectAnnotation) GetMid() string {
  953. if m != nil {
  954. return m.Mid
  955. }
  956. return ""
  957. }
  958. func (m *LocalizedObjectAnnotation) GetLanguageCode() string {
  959. if m != nil {
  960. return m.LanguageCode
  961. }
  962. return ""
  963. }
  964. func (m *LocalizedObjectAnnotation) GetName() string {
  965. if m != nil {
  966. return m.Name
  967. }
  968. return ""
  969. }
  970. func (m *LocalizedObjectAnnotation) GetScore() float32 {
  971. if m != nil {
  972. return m.Score
  973. }
  974. return 0
  975. }
  976. func (m *LocalizedObjectAnnotation) GetBoundingPoly() *BoundingPoly {
  977. if m != nil {
  978. return m.BoundingPoly
  979. }
  980. return nil
  981. }
  982. // Set of features pertaining to the image, computed by computer vision
  983. // methods over safe-search verticals (for example, adult, spoof, medical,
  984. // violence).
  985. type SafeSearchAnnotation struct {
  986. // Represents the adult content likelihood for the image. Adult content may
  987. // contain elements such as nudity, pornographic images or cartoons, or
  988. // sexual activities.
  989. Adult Likelihood `protobuf:"varint,1,opt,name=adult,proto3,enum=google.cloud.vision.v1.Likelihood" json:"adult,omitempty"`
  990. // Spoof likelihood. The likelihood that an modification
  991. // was made to the image's canonical version to make it appear
  992. // funny or offensive.
  993. Spoof Likelihood `protobuf:"varint,2,opt,name=spoof,proto3,enum=google.cloud.vision.v1.Likelihood" json:"spoof,omitempty"`
  994. // Likelihood that this is a medical image.
  995. Medical Likelihood `protobuf:"varint,3,opt,name=medical,proto3,enum=google.cloud.vision.v1.Likelihood" json:"medical,omitempty"`
  996. // Likelihood that this image contains violent content.
  997. Violence Likelihood `protobuf:"varint,4,opt,name=violence,proto3,enum=google.cloud.vision.v1.Likelihood" json:"violence,omitempty"`
  998. // Likelihood that the request image contains racy content. Racy content may
  999. // include (but is not limited to) skimpy or sheer clothing, strategically
  1000. // covered nudity, lewd or provocative poses, or close-ups of sensitive
  1001. // body areas.
  1002. Racy Likelihood `protobuf:"varint,9,opt,name=racy,proto3,enum=google.cloud.vision.v1.Likelihood" json:"racy,omitempty"`
  1003. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1004. XXX_unrecognized []byte `json:"-"`
  1005. XXX_sizecache int32 `json:"-"`
  1006. }
  1007. func (m *SafeSearchAnnotation) Reset() { *m = SafeSearchAnnotation{} }
  1008. func (m *SafeSearchAnnotation) String() string { return proto.CompactTextString(m) }
  1009. func (*SafeSearchAnnotation) ProtoMessage() {}
  1010. func (*SafeSearchAnnotation) Descriptor() ([]byte, []int) {
  1011. return fileDescriptor_image_annotator_70def9df53d0326d, []int{8}
  1012. }
  1013. func (m *SafeSearchAnnotation) XXX_Unmarshal(b []byte) error {
  1014. return xxx_messageInfo_SafeSearchAnnotation.Unmarshal(m, b)
  1015. }
  1016. func (m *SafeSearchAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1017. return xxx_messageInfo_SafeSearchAnnotation.Marshal(b, m, deterministic)
  1018. }
  1019. func (dst *SafeSearchAnnotation) XXX_Merge(src proto.Message) {
  1020. xxx_messageInfo_SafeSearchAnnotation.Merge(dst, src)
  1021. }
  1022. func (m *SafeSearchAnnotation) XXX_Size() int {
  1023. return xxx_messageInfo_SafeSearchAnnotation.Size(m)
  1024. }
  1025. func (m *SafeSearchAnnotation) XXX_DiscardUnknown() {
  1026. xxx_messageInfo_SafeSearchAnnotation.DiscardUnknown(m)
  1027. }
  1028. var xxx_messageInfo_SafeSearchAnnotation proto.InternalMessageInfo
  1029. func (m *SafeSearchAnnotation) GetAdult() Likelihood {
  1030. if m != nil {
  1031. return m.Adult
  1032. }
  1033. return Likelihood_UNKNOWN
  1034. }
  1035. func (m *SafeSearchAnnotation) GetSpoof() Likelihood {
  1036. if m != nil {
  1037. return m.Spoof
  1038. }
  1039. return Likelihood_UNKNOWN
  1040. }
  1041. func (m *SafeSearchAnnotation) GetMedical() Likelihood {
  1042. if m != nil {
  1043. return m.Medical
  1044. }
  1045. return Likelihood_UNKNOWN
  1046. }
  1047. func (m *SafeSearchAnnotation) GetViolence() Likelihood {
  1048. if m != nil {
  1049. return m.Violence
  1050. }
  1051. return Likelihood_UNKNOWN
  1052. }
  1053. func (m *SafeSearchAnnotation) GetRacy() Likelihood {
  1054. if m != nil {
  1055. return m.Racy
  1056. }
  1057. return Likelihood_UNKNOWN
  1058. }
  1059. // Rectangle determined by min and max `LatLng` pairs.
  1060. type LatLongRect struct {
  1061. // Min lat/long pair.
  1062. MinLatLng *latlng.LatLng `protobuf:"bytes,1,opt,name=min_lat_lng,json=minLatLng,proto3" json:"min_lat_lng,omitempty"`
  1063. // Max lat/long pair.
  1064. MaxLatLng *latlng.LatLng `protobuf:"bytes,2,opt,name=max_lat_lng,json=maxLatLng,proto3" json:"max_lat_lng,omitempty"`
  1065. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1066. XXX_unrecognized []byte `json:"-"`
  1067. XXX_sizecache int32 `json:"-"`
  1068. }
  1069. func (m *LatLongRect) Reset() { *m = LatLongRect{} }
  1070. func (m *LatLongRect) String() string { return proto.CompactTextString(m) }
  1071. func (*LatLongRect) ProtoMessage() {}
  1072. func (*LatLongRect) Descriptor() ([]byte, []int) {
  1073. return fileDescriptor_image_annotator_70def9df53d0326d, []int{9}
  1074. }
  1075. func (m *LatLongRect) XXX_Unmarshal(b []byte) error {
  1076. return xxx_messageInfo_LatLongRect.Unmarshal(m, b)
  1077. }
  1078. func (m *LatLongRect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1079. return xxx_messageInfo_LatLongRect.Marshal(b, m, deterministic)
  1080. }
  1081. func (dst *LatLongRect) XXX_Merge(src proto.Message) {
  1082. xxx_messageInfo_LatLongRect.Merge(dst, src)
  1083. }
  1084. func (m *LatLongRect) XXX_Size() int {
  1085. return xxx_messageInfo_LatLongRect.Size(m)
  1086. }
  1087. func (m *LatLongRect) XXX_DiscardUnknown() {
  1088. xxx_messageInfo_LatLongRect.DiscardUnknown(m)
  1089. }
  1090. var xxx_messageInfo_LatLongRect proto.InternalMessageInfo
  1091. func (m *LatLongRect) GetMinLatLng() *latlng.LatLng {
  1092. if m != nil {
  1093. return m.MinLatLng
  1094. }
  1095. return nil
  1096. }
  1097. func (m *LatLongRect) GetMaxLatLng() *latlng.LatLng {
  1098. if m != nil {
  1099. return m.MaxLatLng
  1100. }
  1101. return nil
  1102. }
  1103. // Color information consists of RGB channels, score, and the fraction of
  1104. // the image that the color occupies in the image.
  1105. type ColorInfo struct {
  1106. // RGB components of the color.
  1107. Color *color.Color `protobuf:"bytes,1,opt,name=color,proto3" json:"color,omitempty"`
  1108. // Image-specific score for this color. Value in range [0, 1].
  1109. Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"`
  1110. // The fraction of pixels the color occupies in the image.
  1111. // Value in range [0, 1].
  1112. PixelFraction float32 `protobuf:"fixed32,3,opt,name=pixel_fraction,json=pixelFraction,proto3" json:"pixel_fraction,omitempty"`
  1113. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1114. XXX_unrecognized []byte `json:"-"`
  1115. XXX_sizecache int32 `json:"-"`
  1116. }
  1117. func (m *ColorInfo) Reset() { *m = ColorInfo{} }
  1118. func (m *ColorInfo) String() string { return proto.CompactTextString(m) }
  1119. func (*ColorInfo) ProtoMessage() {}
  1120. func (*ColorInfo) Descriptor() ([]byte, []int) {
  1121. return fileDescriptor_image_annotator_70def9df53d0326d, []int{10}
  1122. }
  1123. func (m *ColorInfo) XXX_Unmarshal(b []byte) error {
  1124. return xxx_messageInfo_ColorInfo.Unmarshal(m, b)
  1125. }
  1126. func (m *ColorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1127. return xxx_messageInfo_ColorInfo.Marshal(b, m, deterministic)
  1128. }
  1129. func (dst *ColorInfo) XXX_Merge(src proto.Message) {
  1130. xxx_messageInfo_ColorInfo.Merge(dst, src)
  1131. }
  1132. func (m *ColorInfo) XXX_Size() int {
  1133. return xxx_messageInfo_ColorInfo.Size(m)
  1134. }
  1135. func (m *ColorInfo) XXX_DiscardUnknown() {
  1136. xxx_messageInfo_ColorInfo.DiscardUnknown(m)
  1137. }
  1138. var xxx_messageInfo_ColorInfo proto.InternalMessageInfo
  1139. func (m *ColorInfo) GetColor() *color.Color {
  1140. if m != nil {
  1141. return m.Color
  1142. }
  1143. return nil
  1144. }
  1145. func (m *ColorInfo) GetScore() float32 {
  1146. if m != nil {
  1147. return m.Score
  1148. }
  1149. return 0
  1150. }
  1151. func (m *ColorInfo) GetPixelFraction() float32 {
  1152. if m != nil {
  1153. return m.PixelFraction
  1154. }
  1155. return 0
  1156. }
  1157. // Set of dominant colors and their corresponding scores.
  1158. type DominantColorsAnnotation struct {
  1159. // RGB color values with their score and pixel fraction.
  1160. Colors []*ColorInfo `protobuf:"bytes,1,rep,name=colors,proto3" json:"colors,omitempty"`
  1161. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1162. XXX_unrecognized []byte `json:"-"`
  1163. XXX_sizecache int32 `json:"-"`
  1164. }
  1165. func (m *DominantColorsAnnotation) Reset() { *m = DominantColorsAnnotation{} }
  1166. func (m *DominantColorsAnnotation) String() string { return proto.CompactTextString(m) }
  1167. func (*DominantColorsAnnotation) ProtoMessage() {}
  1168. func (*DominantColorsAnnotation) Descriptor() ([]byte, []int) {
  1169. return fileDescriptor_image_annotator_70def9df53d0326d, []int{11}
  1170. }
  1171. func (m *DominantColorsAnnotation) XXX_Unmarshal(b []byte) error {
  1172. return xxx_messageInfo_DominantColorsAnnotation.Unmarshal(m, b)
  1173. }
  1174. func (m *DominantColorsAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1175. return xxx_messageInfo_DominantColorsAnnotation.Marshal(b, m, deterministic)
  1176. }
  1177. func (dst *DominantColorsAnnotation) XXX_Merge(src proto.Message) {
  1178. xxx_messageInfo_DominantColorsAnnotation.Merge(dst, src)
  1179. }
  1180. func (m *DominantColorsAnnotation) XXX_Size() int {
  1181. return xxx_messageInfo_DominantColorsAnnotation.Size(m)
  1182. }
  1183. func (m *DominantColorsAnnotation) XXX_DiscardUnknown() {
  1184. xxx_messageInfo_DominantColorsAnnotation.DiscardUnknown(m)
  1185. }
  1186. var xxx_messageInfo_DominantColorsAnnotation proto.InternalMessageInfo
  1187. func (m *DominantColorsAnnotation) GetColors() []*ColorInfo {
  1188. if m != nil {
  1189. return m.Colors
  1190. }
  1191. return nil
  1192. }
  1193. // Stores image properties, such as dominant colors.
  1194. type ImageProperties struct {
  1195. // If present, dominant colors completed successfully.
  1196. DominantColors *DominantColorsAnnotation `protobuf:"bytes,1,opt,name=dominant_colors,json=dominantColors,proto3" json:"dominant_colors,omitempty"`
  1197. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1198. XXX_unrecognized []byte `json:"-"`
  1199. XXX_sizecache int32 `json:"-"`
  1200. }
  1201. func (m *ImageProperties) Reset() { *m = ImageProperties{} }
  1202. func (m *ImageProperties) String() string { return proto.CompactTextString(m) }
  1203. func (*ImageProperties) ProtoMessage() {}
  1204. func (*ImageProperties) Descriptor() ([]byte, []int) {
  1205. return fileDescriptor_image_annotator_70def9df53d0326d, []int{12}
  1206. }
  1207. func (m *ImageProperties) XXX_Unmarshal(b []byte) error {
  1208. return xxx_messageInfo_ImageProperties.Unmarshal(m, b)
  1209. }
  1210. func (m *ImageProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1211. return xxx_messageInfo_ImageProperties.Marshal(b, m, deterministic)
  1212. }
  1213. func (dst *ImageProperties) XXX_Merge(src proto.Message) {
  1214. xxx_messageInfo_ImageProperties.Merge(dst, src)
  1215. }
  1216. func (m *ImageProperties) XXX_Size() int {
  1217. return xxx_messageInfo_ImageProperties.Size(m)
  1218. }
  1219. func (m *ImageProperties) XXX_DiscardUnknown() {
  1220. xxx_messageInfo_ImageProperties.DiscardUnknown(m)
  1221. }
  1222. var xxx_messageInfo_ImageProperties proto.InternalMessageInfo
  1223. func (m *ImageProperties) GetDominantColors() *DominantColorsAnnotation {
  1224. if m != nil {
  1225. return m.DominantColors
  1226. }
  1227. return nil
  1228. }
  1229. // Single crop hint that is used to generate a new crop when serving an image.
  1230. type CropHint struct {
  1231. // The bounding polygon for the crop region. The coordinates of the bounding
  1232. // box are in the original image's scale, as returned in `ImageParams`.
  1233. BoundingPoly *BoundingPoly `protobuf:"bytes,1,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"`
  1234. // Confidence of this being a salient region. Range [0, 1].
  1235. Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
  1236. // Fraction of importance of this salient region with respect to the original
  1237. // image.
  1238. ImportanceFraction float32 `protobuf:"fixed32,3,opt,name=importance_fraction,json=importanceFraction,proto3" json:"importance_fraction,omitempty"`
  1239. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1240. XXX_unrecognized []byte `json:"-"`
  1241. XXX_sizecache int32 `json:"-"`
  1242. }
  1243. func (m *CropHint) Reset() { *m = CropHint{} }
  1244. func (m *CropHint) String() string { return proto.CompactTextString(m) }
  1245. func (*CropHint) ProtoMessage() {}
  1246. func (*CropHint) Descriptor() ([]byte, []int) {
  1247. return fileDescriptor_image_annotator_70def9df53d0326d, []int{13}
  1248. }
  1249. func (m *CropHint) XXX_Unmarshal(b []byte) error {
  1250. return xxx_messageInfo_CropHint.Unmarshal(m, b)
  1251. }
  1252. func (m *CropHint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1253. return xxx_messageInfo_CropHint.Marshal(b, m, deterministic)
  1254. }
  1255. func (dst *CropHint) XXX_Merge(src proto.Message) {
  1256. xxx_messageInfo_CropHint.Merge(dst, src)
  1257. }
  1258. func (m *CropHint) XXX_Size() int {
  1259. return xxx_messageInfo_CropHint.Size(m)
  1260. }
  1261. func (m *CropHint) XXX_DiscardUnknown() {
  1262. xxx_messageInfo_CropHint.DiscardUnknown(m)
  1263. }
  1264. var xxx_messageInfo_CropHint proto.InternalMessageInfo
  1265. func (m *CropHint) GetBoundingPoly() *BoundingPoly {
  1266. if m != nil {
  1267. return m.BoundingPoly
  1268. }
  1269. return nil
  1270. }
  1271. func (m *CropHint) GetConfidence() float32 {
  1272. if m != nil {
  1273. return m.Confidence
  1274. }
  1275. return 0
  1276. }
  1277. func (m *CropHint) GetImportanceFraction() float32 {
  1278. if m != nil {
  1279. return m.ImportanceFraction
  1280. }
  1281. return 0
  1282. }
  1283. // Set of crop hints that are used to generate new crops when serving images.
  1284. type CropHintsAnnotation struct {
  1285. // Crop hint results.
  1286. CropHints []*CropHint `protobuf:"bytes,1,rep,name=crop_hints,json=cropHints,proto3" json:"crop_hints,omitempty"`
  1287. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1288. XXX_unrecognized []byte `json:"-"`
  1289. XXX_sizecache int32 `json:"-"`
  1290. }
  1291. func (m *CropHintsAnnotation) Reset() { *m = CropHintsAnnotation{} }
  1292. func (m *CropHintsAnnotation) String() string { return proto.CompactTextString(m) }
  1293. func (*CropHintsAnnotation) ProtoMessage() {}
  1294. func (*CropHintsAnnotation) Descriptor() ([]byte, []int) {
  1295. return fileDescriptor_image_annotator_70def9df53d0326d, []int{14}
  1296. }
  1297. func (m *CropHintsAnnotation) XXX_Unmarshal(b []byte) error {
  1298. return xxx_messageInfo_CropHintsAnnotation.Unmarshal(m, b)
  1299. }
  1300. func (m *CropHintsAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1301. return xxx_messageInfo_CropHintsAnnotation.Marshal(b, m, deterministic)
  1302. }
  1303. func (dst *CropHintsAnnotation) XXX_Merge(src proto.Message) {
  1304. xxx_messageInfo_CropHintsAnnotation.Merge(dst, src)
  1305. }
  1306. func (m *CropHintsAnnotation) XXX_Size() int {
  1307. return xxx_messageInfo_CropHintsAnnotation.Size(m)
  1308. }
  1309. func (m *CropHintsAnnotation) XXX_DiscardUnknown() {
  1310. xxx_messageInfo_CropHintsAnnotation.DiscardUnknown(m)
  1311. }
  1312. var xxx_messageInfo_CropHintsAnnotation proto.InternalMessageInfo
  1313. func (m *CropHintsAnnotation) GetCropHints() []*CropHint {
  1314. if m != nil {
  1315. return m.CropHints
  1316. }
  1317. return nil
  1318. }
  1319. // Parameters for crop hints annotation request.
  1320. type CropHintsParams struct {
  1321. // Aspect ratios in floats, representing the ratio of the width to the height
  1322. // of the image. For example, if the desired aspect ratio is 4/3, the
  1323. // corresponding float value should be 1.33333. If not specified, the
  1324. // best possible crop is returned. The number of provided aspect ratios is
  1325. // limited to a maximum of 16; any aspect ratios provided after the 16th are
  1326. // ignored.
  1327. AspectRatios []float32 `protobuf:"fixed32,1,rep,packed,name=aspect_ratios,json=aspectRatios,proto3" json:"aspect_ratios,omitempty"`
  1328. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1329. XXX_unrecognized []byte `json:"-"`
  1330. XXX_sizecache int32 `json:"-"`
  1331. }
  1332. func (m *CropHintsParams) Reset() { *m = CropHintsParams{} }
  1333. func (m *CropHintsParams) String() string { return proto.CompactTextString(m) }
  1334. func (*CropHintsParams) ProtoMessage() {}
  1335. func (*CropHintsParams) Descriptor() ([]byte, []int) {
  1336. return fileDescriptor_image_annotator_70def9df53d0326d, []int{15}
  1337. }
  1338. func (m *CropHintsParams) XXX_Unmarshal(b []byte) error {
  1339. return xxx_messageInfo_CropHintsParams.Unmarshal(m, b)
  1340. }
  1341. func (m *CropHintsParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1342. return xxx_messageInfo_CropHintsParams.Marshal(b, m, deterministic)
  1343. }
  1344. func (dst *CropHintsParams) XXX_Merge(src proto.Message) {
  1345. xxx_messageInfo_CropHintsParams.Merge(dst, src)
  1346. }
  1347. func (m *CropHintsParams) XXX_Size() int {
  1348. return xxx_messageInfo_CropHintsParams.Size(m)
  1349. }
  1350. func (m *CropHintsParams) XXX_DiscardUnknown() {
  1351. xxx_messageInfo_CropHintsParams.DiscardUnknown(m)
  1352. }
  1353. var xxx_messageInfo_CropHintsParams proto.InternalMessageInfo
  1354. func (m *CropHintsParams) GetAspectRatios() []float32 {
  1355. if m != nil {
  1356. return m.AspectRatios
  1357. }
  1358. return nil
  1359. }
  1360. // Parameters for web detection request.
  1361. type WebDetectionParams struct {
  1362. // Whether to include results derived from the geo information in the image.
  1363. IncludeGeoResults bool `protobuf:"varint,2,opt,name=include_geo_results,json=includeGeoResults,proto3" json:"include_geo_results,omitempty"`
  1364. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1365. XXX_unrecognized []byte `json:"-"`
  1366. XXX_sizecache int32 `json:"-"`
  1367. }
  1368. func (m *WebDetectionParams) Reset() { *m = WebDetectionParams{} }
  1369. func (m *WebDetectionParams) String() string { return proto.CompactTextString(m) }
  1370. func (*WebDetectionParams) ProtoMessage() {}
  1371. func (*WebDetectionParams) Descriptor() ([]byte, []int) {
  1372. return fileDescriptor_image_annotator_70def9df53d0326d, []int{16}
  1373. }
  1374. func (m *WebDetectionParams) XXX_Unmarshal(b []byte) error {
  1375. return xxx_messageInfo_WebDetectionParams.Unmarshal(m, b)
  1376. }
  1377. func (m *WebDetectionParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1378. return xxx_messageInfo_WebDetectionParams.Marshal(b, m, deterministic)
  1379. }
  1380. func (dst *WebDetectionParams) XXX_Merge(src proto.Message) {
  1381. xxx_messageInfo_WebDetectionParams.Merge(dst, src)
  1382. }
  1383. func (m *WebDetectionParams) XXX_Size() int {
  1384. return xxx_messageInfo_WebDetectionParams.Size(m)
  1385. }
  1386. func (m *WebDetectionParams) XXX_DiscardUnknown() {
  1387. xxx_messageInfo_WebDetectionParams.DiscardUnknown(m)
  1388. }
  1389. var xxx_messageInfo_WebDetectionParams proto.InternalMessageInfo
  1390. func (m *WebDetectionParams) GetIncludeGeoResults() bool {
  1391. if m != nil {
  1392. return m.IncludeGeoResults
  1393. }
  1394. return false
  1395. }
  1396. // Image context and/or feature-specific parameters.
  1397. type ImageContext struct {
  1398. // Not used.
  1399. LatLongRect *LatLongRect `protobuf:"bytes,1,opt,name=lat_long_rect,json=latLongRect,proto3" json:"lat_long_rect,omitempty"`
  1400. // List of languages to use for TEXT_DETECTION. In most cases, an empty value
  1401. // yields the best results since it enables automatic language detection. For
  1402. // languages based on the Latin alphabet, setting `language_hints` is not
  1403. // needed. In rare cases, when the language of the text in the image is known,
  1404. // setting a hint will help get better results (although it will be a
  1405. // significant hindrance if the hint is wrong). Text detection returns an
  1406. // error if one or more of the specified languages is not one of the
  1407. // [supported languages](/vision/docs/languages).
  1408. LanguageHints []string `protobuf:"bytes,2,rep,name=language_hints,json=languageHints,proto3" json:"language_hints,omitempty"`
  1409. // Parameters for crop hints annotation request.
  1410. CropHintsParams *CropHintsParams `protobuf:"bytes,4,opt,name=crop_hints_params,json=cropHintsParams,proto3" json:"crop_hints_params,omitempty"`
  1411. // Parameters for product search.
  1412. ProductSearchParams *ProductSearchParams `protobuf:"bytes,5,opt,name=product_search_params,json=productSearchParams,proto3" json:"product_search_params,omitempty"`
  1413. // Parameters for web detection.
  1414. WebDetectionParams *WebDetectionParams `protobuf:"bytes,6,opt,name=web_detection_params,json=webDetectionParams,proto3" json:"web_detection_params,omitempty"`
  1415. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1416. XXX_unrecognized []byte `json:"-"`
  1417. XXX_sizecache int32 `json:"-"`
  1418. }
  1419. func (m *ImageContext) Reset() { *m = ImageContext{} }
  1420. func (m *ImageContext) String() string { return proto.CompactTextString(m) }
  1421. func (*ImageContext) ProtoMessage() {}
  1422. func (*ImageContext) Descriptor() ([]byte, []int) {
  1423. return fileDescriptor_image_annotator_70def9df53d0326d, []int{17}
  1424. }
  1425. func (m *ImageContext) XXX_Unmarshal(b []byte) error {
  1426. return xxx_messageInfo_ImageContext.Unmarshal(m, b)
  1427. }
  1428. func (m *ImageContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1429. return xxx_messageInfo_ImageContext.Marshal(b, m, deterministic)
  1430. }
  1431. func (dst *ImageContext) XXX_Merge(src proto.Message) {
  1432. xxx_messageInfo_ImageContext.Merge(dst, src)
  1433. }
  1434. func (m *ImageContext) XXX_Size() int {
  1435. return xxx_messageInfo_ImageContext.Size(m)
  1436. }
  1437. func (m *ImageContext) XXX_DiscardUnknown() {
  1438. xxx_messageInfo_ImageContext.DiscardUnknown(m)
  1439. }
  1440. var xxx_messageInfo_ImageContext proto.InternalMessageInfo
  1441. func (m *ImageContext) GetLatLongRect() *LatLongRect {
  1442. if m != nil {
  1443. return m.LatLongRect
  1444. }
  1445. return nil
  1446. }
  1447. func (m *ImageContext) GetLanguageHints() []string {
  1448. if m != nil {
  1449. return m.LanguageHints
  1450. }
  1451. return nil
  1452. }
  1453. func (m *ImageContext) GetCropHintsParams() *CropHintsParams {
  1454. if m != nil {
  1455. return m.CropHintsParams
  1456. }
  1457. return nil
  1458. }
  1459. func (m *ImageContext) GetProductSearchParams() *ProductSearchParams {
  1460. if m != nil {
  1461. return m.ProductSearchParams
  1462. }
  1463. return nil
  1464. }
  1465. func (m *ImageContext) GetWebDetectionParams() *WebDetectionParams {
  1466. if m != nil {
  1467. return m.WebDetectionParams
  1468. }
  1469. return nil
  1470. }
  1471. // Request for performing Google Cloud Vision API tasks over a user-provided
  1472. // image, with user-requested features.
  1473. type AnnotateImageRequest struct {
  1474. // The image to be processed.
  1475. Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
  1476. // Requested features.
  1477. Features []*Feature `protobuf:"bytes,2,rep,name=features,proto3" json:"features,omitempty"`
  1478. // Additional context that may accompany the image.
  1479. ImageContext *ImageContext `protobuf:"bytes,3,opt,name=image_context,json=imageContext,proto3" json:"image_context,omitempty"`
  1480. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1481. XXX_unrecognized []byte `json:"-"`
  1482. XXX_sizecache int32 `json:"-"`
  1483. }
  1484. func (m *AnnotateImageRequest) Reset() { *m = AnnotateImageRequest{} }
  1485. func (m *AnnotateImageRequest) String() string { return proto.CompactTextString(m) }
  1486. func (*AnnotateImageRequest) ProtoMessage() {}
  1487. func (*AnnotateImageRequest) Descriptor() ([]byte, []int) {
  1488. return fileDescriptor_image_annotator_70def9df53d0326d, []int{18}
  1489. }
  1490. func (m *AnnotateImageRequest) XXX_Unmarshal(b []byte) error {
  1491. return xxx_messageInfo_AnnotateImageRequest.Unmarshal(m, b)
  1492. }
  1493. func (m *AnnotateImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1494. return xxx_messageInfo_AnnotateImageRequest.Marshal(b, m, deterministic)
  1495. }
  1496. func (dst *AnnotateImageRequest) XXX_Merge(src proto.Message) {
  1497. xxx_messageInfo_AnnotateImageRequest.Merge(dst, src)
  1498. }
  1499. func (m *AnnotateImageRequest) XXX_Size() int {
  1500. return xxx_messageInfo_AnnotateImageRequest.Size(m)
  1501. }
  1502. func (m *AnnotateImageRequest) XXX_DiscardUnknown() {
  1503. xxx_messageInfo_AnnotateImageRequest.DiscardUnknown(m)
  1504. }
  1505. var xxx_messageInfo_AnnotateImageRequest proto.InternalMessageInfo
  1506. func (m *AnnotateImageRequest) GetImage() *Image {
  1507. if m != nil {
  1508. return m.Image
  1509. }
  1510. return nil
  1511. }
  1512. func (m *AnnotateImageRequest) GetFeatures() []*Feature {
  1513. if m != nil {
  1514. return m.Features
  1515. }
  1516. return nil
  1517. }
  1518. func (m *AnnotateImageRequest) GetImageContext() *ImageContext {
  1519. if m != nil {
  1520. return m.ImageContext
  1521. }
  1522. return nil
  1523. }
  1524. // If an image was produced from a file (e.g. a PDF), this message gives
  1525. // information about the source of that image.
  1526. type ImageAnnotationContext struct {
  1527. // The URI of the file used to produce the image.
  1528. Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
  1529. // If the file was a PDF or TIFF, this field gives the page number within
  1530. // the file used to produce the image.
  1531. PageNumber int32 `protobuf:"varint,2,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"`
  1532. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1533. XXX_unrecognized []byte `json:"-"`
  1534. XXX_sizecache int32 `json:"-"`
  1535. }
  1536. func (m *ImageAnnotationContext) Reset() { *m = ImageAnnotationContext{} }
  1537. func (m *ImageAnnotationContext) String() string { return proto.CompactTextString(m) }
  1538. func (*ImageAnnotationContext) ProtoMessage() {}
  1539. func (*ImageAnnotationContext) Descriptor() ([]byte, []int) {
  1540. return fileDescriptor_image_annotator_70def9df53d0326d, []int{19}
  1541. }
  1542. func (m *ImageAnnotationContext) XXX_Unmarshal(b []byte) error {
  1543. return xxx_messageInfo_ImageAnnotationContext.Unmarshal(m, b)
  1544. }
  1545. func (m *ImageAnnotationContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1546. return xxx_messageInfo_ImageAnnotationContext.Marshal(b, m, deterministic)
  1547. }
  1548. func (dst *ImageAnnotationContext) XXX_Merge(src proto.Message) {
  1549. xxx_messageInfo_ImageAnnotationContext.Merge(dst, src)
  1550. }
  1551. func (m *ImageAnnotationContext) XXX_Size() int {
  1552. return xxx_messageInfo_ImageAnnotationContext.Size(m)
  1553. }
  1554. func (m *ImageAnnotationContext) XXX_DiscardUnknown() {
  1555. xxx_messageInfo_ImageAnnotationContext.DiscardUnknown(m)
  1556. }
  1557. var xxx_messageInfo_ImageAnnotationContext proto.InternalMessageInfo
  1558. func (m *ImageAnnotationContext) GetUri() string {
  1559. if m != nil {
  1560. return m.Uri
  1561. }
  1562. return ""
  1563. }
  1564. func (m *ImageAnnotationContext) GetPageNumber() int32 {
  1565. if m != nil {
  1566. return m.PageNumber
  1567. }
  1568. return 0
  1569. }
  1570. // Response to an image annotation request.
  1571. type AnnotateImageResponse struct {
  1572. // If present, face detection has completed successfully.
  1573. FaceAnnotations []*FaceAnnotation `protobuf:"bytes,1,rep,name=face_annotations,json=faceAnnotations,proto3" json:"face_annotations,omitempty"`
  1574. // If present, landmark detection has completed successfully.
  1575. LandmarkAnnotations []*EntityAnnotation `protobuf:"bytes,2,rep,name=landmark_annotations,json=landmarkAnnotations,proto3" json:"landmark_annotations,omitempty"`
  1576. // If present, logo detection has completed successfully.
  1577. LogoAnnotations []*EntityAnnotation `protobuf:"bytes,3,rep,name=logo_annotations,json=logoAnnotations,proto3" json:"logo_annotations,omitempty"`
  1578. // If present, label detection has completed successfully.
  1579. LabelAnnotations []*EntityAnnotation `protobuf:"bytes,4,rep,name=label_annotations,json=labelAnnotations,proto3" json:"label_annotations,omitempty"`
  1580. // If present, localized object detection has completed successfully.
  1581. // This will be sorted descending by confidence score.
  1582. LocalizedObjectAnnotations []*LocalizedObjectAnnotation `protobuf:"bytes,22,rep,name=localized_object_annotations,json=localizedObjectAnnotations,proto3" json:"localized_object_annotations,omitempty"`
  1583. // If present, text (OCR) detection has completed successfully.
  1584. TextAnnotations []*EntityAnnotation `protobuf:"bytes,5,rep,name=text_annotations,json=textAnnotations,proto3" json:"text_annotations,omitempty"`
  1585. // If present, text (OCR) detection or document (OCR) text detection has
  1586. // completed successfully.
  1587. // This annotation provides the structural hierarchy for the OCR detected
  1588. // text.
  1589. FullTextAnnotation *TextAnnotation `protobuf:"bytes,12,opt,name=full_text_annotation,json=fullTextAnnotation,proto3" json:"full_text_annotation,omitempty"`
  1590. // If present, safe-search annotation has completed successfully.
  1591. SafeSearchAnnotation *SafeSearchAnnotation `protobuf:"bytes,6,opt,name=safe_search_annotation,json=safeSearchAnnotation,proto3" json:"safe_search_annotation,omitempty"`
  1592. // If present, image properties were extracted successfully.
  1593. ImagePropertiesAnnotation *ImageProperties `protobuf:"bytes,8,opt,name=image_properties_annotation,json=imagePropertiesAnnotation,proto3" json:"image_properties_annotation,omitempty"`
  1594. // If present, crop hints have completed successfully.
  1595. CropHintsAnnotation *CropHintsAnnotation `protobuf:"bytes,11,opt,name=crop_hints_annotation,json=cropHintsAnnotation,proto3" json:"crop_hints_annotation,omitempty"`
  1596. // If present, web detection has completed successfully.
  1597. WebDetection *WebDetection `protobuf:"bytes,13,opt,name=web_detection,json=webDetection,proto3" json:"web_detection,omitempty"`
  1598. // If present, product search has completed successfully.
  1599. ProductSearchResults *ProductSearchResults `protobuf:"bytes,14,opt,name=product_search_results,json=productSearchResults,proto3" json:"product_search_results,omitempty"`
  1600. // If set, represents the error message for the operation.
  1601. // Note that filled-in image annotations are guaranteed to be
  1602. // correct, even when `error` is set.
  1603. Error *status.Status `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"`
  1604. // If present, contextual information is needed to understand where this image
  1605. // comes from.
  1606. Context *ImageAnnotationContext `protobuf:"bytes,21,opt,name=context,proto3" json:"context,omitempty"`
  1607. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1608. XXX_unrecognized []byte `json:"-"`
  1609. XXX_sizecache int32 `json:"-"`
  1610. }
  1611. func (m *AnnotateImageResponse) Reset() { *m = AnnotateImageResponse{} }
  1612. func (m *AnnotateImageResponse) String() string { return proto.CompactTextString(m) }
  1613. func (*AnnotateImageResponse) ProtoMessage() {}
  1614. func (*AnnotateImageResponse) Descriptor() ([]byte, []int) {
  1615. return fileDescriptor_image_annotator_70def9df53d0326d, []int{20}
  1616. }
  1617. func (m *AnnotateImageResponse) XXX_Unmarshal(b []byte) error {
  1618. return xxx_messageInfo_AnnotateImageResponse.Unmarshal(m, b)
  1619. }
  1620. func (m *AnnotateImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1621. return xxx_messageInfo_AnnotateImageResponse.Marshal(b, m, deterministic)
  1622. }
  1623. func (dst *AnnotateImageResponse) XXX_Merge(src proto.Message) {
  1624. xxx_messageInfo_AnnotateImageResponse.Merge(dst, src)
  1625. }
  1626. func (m *AnnotateImageResponse) XXX_Size() int {
  1627. return xxx_messageInfo_AnnotateImageResponse.Size(m)
  1628. }
  1629. func (m *AnnotateImageResponse) XXX_DiscardUnknown() {
  1630. xxx_messageInfo_AnnotateImageResponse.DiscardUnknown(m)
  1631. }
  1632. var xxx_messageInfo_AnnotateImageResponse proto.InternalMessageInfo
  1633. func (m *AnnotateImageResponse) GetFaceAnnotations() []*FaceAnnotation {
  1634. if m != nil {
  1635. return m.FaceAnnotations
  1636. }
  1637. return nil
  1638. }
  1639. func (m *AnnotateImageResponse) GetLandmarkAnnotations() []*EntityAnnotation {
  1640. if m != nil {
  1641. return m.LandmarkAnnotations
  1642. }
  1643. return nil
  1644. }
  1645. func (m *AnnotateImageResponse) GetLogoAnnotations() []*EntityAnnotation {
  1646. if m != nil {
  1647. return m.LogoAnnotations
  1648. }
  1649. return nil
  1650. }
  1651. func (m *AnnotateImageResponse) GetLabelAnnotations() []*EntityAnnotation {
  1652. if m != nil {
  1653. return m.LabelAnnotations
  1654. }
  1655. return nil
  1656. }
  1657. func (m *AnnotateImageResponse) GetLocalizedObjectAnnotations() []*LocalizedObjectAnnotation {
  1658. if m != nil {
  1659. return m.LocalizedObjectAnnotations
  1660. }
  1661. return nil
  1662. }
  1663. func (m *AnnotateImageResponse) GetTextAnnotations() []*EntityAnnotation {
  1664. if m != nil {
  1665. return m.TextAnnotations
  1666. }
  1667. return nil
  1668. }
  1669. func (m *AnnotateImageResponse) GetFullTextAnnotation() *TextAnnotation {
  1670. if m != nil {
  1671. return m.FullTextAnnotation
  1672. }
  1673. return nil
  1674. }
  1675. func (m *AnnotateImageResponse) GetSafeSearchAnnotation() *SafeSearchAnnotation {
  1676. if m != nil {
  1677. return m.SafeSearchAnnotation
  1678. }
  1679. return nil
  1680. }
  1681. func (m *AnnotateImageResponse) GetImagePropertiesAnnotation() *ImageProperties {
  1682. if m != nil {
  1683. return m.ImagePropertiesAnnotation
  1684. }
  1685. return nil
  1686. }
  1687. func (m *AnnotateImageResponse) GetCropHintsAnnotation() *CropHintsAnnotation {
  1688. if m != nil {
  1689. return m.CropHintsAnnotation
  1690. }
  1691. return nil
  1692. }
  1693. func (m *AnnotateImageResponse) GetWebDetection() *WebDetection {
  1694. if m != nil {
  1695. return m.WebDetection
  1696. }
  1697. return nil
  1698. }
  1699. func (m *AnnotateImageResponse) GetProductSearchResults() *ProductSearchResults {
  1700. if m != nil {
  1701. return m.ProductSearchResults
  1702. }
  1703. return nil
  1704. }
  1705. func (m *AnnotateImageResponse) GetError() *status.Status {
  1706. if m != nil {
  1707. return m.Error
  1708. }
  1709. return nil
  1710. }
  1711. func (m *AnnotateImageResponse) GetContext() *ImageAnnotationContext {
  1712. if m != nil {
  1713. return m.Context
  1714. }
  1715. return nil
  1716. }
  1717. // Response to a single file annotation request. A file may contain one or more
  1718. // images, which individually have their own responses.
  1719. type AnnotateFileResponse struct {
  1720. // Information about the file for which this response is generated.
  1721. InputConfig *InputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
  1722. // Individual responses to images found within the file.
  1723. Responses []*AnnotateImageResponse `protobuf:"bytes,2,rep,name=responses,proto3" json:"responses,omitempty"`
  1724. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1725. XXX_unrecognized []byte `json:"-"`
  1726. XXX_sizecache int32 `json:"-"`
  1727. }
  1728. func (m *AnnotateFileResponse) Reset() { *m = AnnotateFileResponse{} }
  1729. func (m *AnnotateFileResponse) String() string { return proto.CompactTextString(m) }
  1730. func (*AnnotateFileResponse) ProtoMessage() {}
  1731. func (*AnnotateFileResponse) Descriptor() ([]byte, []int) {
  1732. return fileDescriptor_image_annotator_70def9df53d0326d, []int{21}
  1733. }
  1734. func (m *AnnotateFileResponse) XXX_Unmarshal(b []byte) error {
  1735. return xxx_messageInfo_AnnotateFileResponse.Unmarshal(m, b)
  1736. }
  1737. func (m *AnnotateFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1738. return xxx_messageInfo_AnnotateFileResponse.Marshal(b, m, deterministic)
  1739. }
  1740. func (dst *AnnotateFileResponse) XXX_Merge(src proto.Message) {
  1741. xxx_messageInfo_AnnotateFileResponse.Merge(dst, src)
  1742. }
  1743. func (m *AnnotateFileResponse) XXX_Size() int {
  1744. return xxx_messageInfo_AnnotateFileResponse.Size(m)
  1745. }
  1746. func (m *AnnotateFileResponse) XXX_DiscardUnknown() {
  1747. xxx_messageInfo_AnnotateFileResponse.DiscardUnknown(m)
  1748. }
  1749. var xxx_messageInfo_AnnotateFileResponse proto.InternalMessageInfo
  1750. func (m *AnnotateFileResponse) GetInputConfig() *InputConfig {
  1751. if m != nil {
  1752. return m.InputConfig
  1753. }
  1754. return nil
  1755. }
  1756. func (m *AnnotateFileResponse) GetResponses() []*AnnotateImageResponse {
  1757. if m != nil {
  1758. return m.Responses
  1759. }
  1760. return nil
  1761. }
  1762. // Multiple image annotation requests are batched into a single service call.
  1763. type BatchAnnotateImagesRequest struct {
  1764. // Individual image annotation requests for this batch.
  1765. Requests []*AnnotateImageRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
  1766. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1767. XXX_unrecognized []byte `json:"-"`
  1768. XXX_sizecache int32 `json:"-"`
  1769. }
  1770. func (m *BatchAnnotateImagesRequest) Reset() { *m = BatchAnnotateImagesRequest{} }
  1771. func (m *BatchAnnotateImagesRequest) String() string { return proto.CompactTextString(m) }
  1772. func (*BatchAnnotateImagesRequest) ProtoMessage() {}
  1773. func (*BatchAnnotateImagesRequest) Descriptor() ([]byte, []int) {
  1774. return fileDescriptor_image_annotator_70def9df53d0326d, []int{22}
  1775. }
  1776. func (m *BatchAnnotateImagesRequest) XXX_Unmarshal(b []byte) error {
  1777. return xxx_messageInfo_BatchAnnotateImagesRequest.Unmarshal(m, b)
  1778. }
  1779. func (m *BatchAnnotateImagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1780. return xxx_messageInfo_BatchAnnotateImagesRequest.Marshal(b, m, deterministic)
  1781. }
  1782. func (dst *BatchAnnotateImagesRequest) XXX_Merge(src proto.Message) {
  1783. xxx_messageInfo_BatchAnnotateImagesRequest.Merge(dst, src)
  1784. }
  1785. func (m *BatchAnnotateImagesRequest) XXX_Size() int {
  1786. return xxx_messageInfo_BatchAnnotateImagesRequest.Size(m)
  1787. }
  1788. func (m *BatchAnnotateImagesRequest) XXX_DiscardUnknown() {
  1789. xxx_messageInfo_BatchAnnotateImagesRequest.DiscardUnknown(m)
  1790. }
  1791. var xxx_messageInfo_BatchAnnotateImagesRequest proto.InternalMessageInfo
  1792. func (m *BatchAnnotateImagesRequest) GetRequests() []*AnnotateImageRequest {
  1793. if m != nil {
  1794. return m.Requests
  1795. }
  1796. return nil
  1797. }
  1798. // Response to a batch image annotation request.
  1799. type BatchAnnotateImagesResponse struct {
  1800. // Individual responses to image annotation requests within the batch.
  1801. Responses []*AnnotateImageResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
  1802. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1803. XXX_unrecognized []byte `json:"-"`
  1804. XXX_sizecache int32 `json:"-"`
  1805. }
  1806. func (m *BatchAnnotateImagesResponse) Reset() { *m = BatchAnnotateImagesResponse{} }
  1807. func (m *BatchAnnotateImagesResponse) String() string { return proto.CompactTextString(m) }
  1808. func (*BatchAnnotateImagesResponse) ProtoMessage() {}
  1809. func (*BatchAnnotateImagesResponse) Descriptor() ([]byte, []int) {
  1810. return fileDescriptor_image_annotator_70def9df53d0326d, []int{23}
  1811. }
  1812. func (m *BatchAnnotateImagesResponse) XXX_Unmarshal(b []byte) error {
  1813. return xxx_messageInfo_BatchAnnotateImagesResponse.Unmarshal(m, b)
  1814. }
  1815. func (m *BatchAnnotateImagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1816. return xxx_messageInfo_BatchAnnotateImagesResponse.Marshal(b, m, deterministic)
  1817. }
  1818. func (dst *BatchAnnotateImagesResponse) XXX_Merge(src proto.Message) {
  1819. xxx_messageInfo_BatchAnnotateImagesResponse.Merge(dst, src)
  1820. }
  1821. func (m *BatchAnnotateImagesResponse) XXX_Size() int {
  1822. return xxx_messageInfo_BatchAnnotateImagesResponse.Size(m)
  1823. }
  1824. func (m *BatchAnnotateImagesResponse) XXX_DiscardUnknown() {
  1825. xxx_messageInfo_BatchAnnotateImagesResponse.DiscardUnknown(m)
  1826. }
  1827. var xxx_messageInfo_BatchAnnotateImagesResponse proto.InternalMessageInfo
  1828. func (m *BatchAnnotateImagesResponse) GetResponses() []*AnnotateImageResponse {
  1829. if m != nil {
  1830. return m.Responses
  1831. }
  1832. return nil
  1833. }
  1834. // An offline file annotation request.
  1835. type AsyncAnnotateFileRequest struct {
  1836. // Required. Information about the input file.
  1837. InputConfig *InputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
  1838. // Required. Requested features.
  1839. Features []*Feature `protobuf:"bytes,2,rep,name=features,proto3" json:"features,omitempty"`
  1840. // Additional context that may accompany the image(s) in the file.
  1841. ImageContext *ImageContext `protobuf:"bytes,3,opt,name=image_context,json=imageContext,proto3" json:"image_context,omitempty"`
  1842. // Required. The desired output location and metadata (e.g. format).
  1843. OutputConfig *OutputConfig `protobuf:"bytes,4,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
  1844. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1845. XXX_unrecognized []byte `json:"-"`
  1846. XXX_sizecache int32 `json:"-"`
  1847. }
  1848. func (m *AsyncAnnotateFileRequest) Reset() { *m = AsyncAnnotateFileRequest{} }
  1849. func (m *AsyncAnnotateFileRequest) String() string { return proto.CompactTextString(m) }
  1850. func (*AsyncAnnotateFileRequest) ProtoMessage() {}
  1851. func (*AsyncAnnotateFileRequest) Descriptor() ([]byte, []int) {
  1852. return fileDescriptor_image_annotator_70def9df53d0326d, []int{24}
  1853. }
  1854. func (m *AsyncAnnotateFileRequest) XXX_Unmarshal(b []byte) error {
  1855. return xxx_messageInfo_AsyncAnnotateFileRequest.Unmarshal(m, b)
  1856. }
  1857. func (m *AsyncAnnotateFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1858. return xxx_messageInfo_AsyncAnnotateFileRequest.Marshal(b, m, deterministic)
  1859. }
  1860. func (dst *AsyncAnnotateFileRequest) XXX_Merge(src proto.Message) {
  1861. xxx_messageInfo_AsyncAnnotateFileRequest.Merge(dst, src)
  1862. }
  1863. func (m *AsyncAnnotateFileRequest) XXX_Size() int {
  1864. return xxx_messageInfo_AsyncAnnotateFileRequest.Size(m)
  1865. }
  1866. func (m *AsyncAnnotateFileRequest) XXX_DiscardUnknown() {
  1867. xxx_messageInfo_AsyncAnnotateFileRequest.DiscardUnknown(m)
  1868. }
  1869. var xxx_messageInfo_AsyncAnnotateFileRequest proto.InternalMessageInfo
  1870. func (m *AsyncAnnotateFileRequest) GetInputConfig() *InputConfig {
  1871. if m != nil {
  1872. return m.InputConfig
  1873. }
  1874. return nil
  1875. }
  1876. func (m *AsyncAnnotateFileRequest) GetFeatures() []*Feature {
  1877. if m != nil {
  1878. return m.Features
  1879. }
  1880. return nil
  1881. }
  1882. func (m *AsyncAnnotateFileRequest) GetImageContext() *ImageContext {
  1883. if m != nil {
  1884. return m.ImageContext
  1885. }
  1886. return nil
  1887. }
  1888. func (m *AsyncAnnotateFileRequest) GetOutputConfig() *OutputConfig {
  1889. if m != nil {
  1890. return m.OutputConfig
  1891. }
  1892. return nil
  1893. }
  1894. // The response for a single offline file annotation request.
  1895. type AsyncAnnotateFileResponse struct {
  1896. // The output location and metadata from AsyncAnnotateFileRequest.
  1897. OutputConfig *OutputConfig `protobuf:"bytes,1,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
  1898. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1899. XXX_unrecognized []byte `json:"-"`
  1900. XXX_sizecache int32 `json:"-"`
  1901. }
  1902. func (m *AsyncAnnotateFileResponse) Reset() { *m = AsyncAnnotateFileResponse{} }
  1903. func (m *AsyncAnnotateFileResponse) String() string { return proto.CompactTextString(m) }
  1904. func (*AsyncAnnotateFileResponse) ProtoMessage() {}
  1905. func (*AsyncAnnotateFileResponse) Descriptor() ([]byte, []int) {
  1906. return fileDescriptor_image_annotator_70def9df53d0326d, []int{25}
  1907. }
  1908. func (m *AsyncAnnotateFileResponse) XXX_Unmarshal(b []byte) error {
  1909. return xxx_messageInfo_AsyncAnnotateFileResponse.Unmarshal(m, b)
  1910. }
  1911. func (m *AsyncAnnotateFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1912. return xxx_messageInfo_AsyncAnnotateFileResponse.Marshal(b, m, deterministic)
  1913. }
  1914. func (dst *AsyncAnnotateFileResponse) XXX_Merge(src proto.Message) {
  1915. xxx_messageInfo_AsyncAnnotateFileResponse.Merge(dst, src)
  1916. }
  1917. func (m *AsyncAnnotateFileResponse) XXX_Size() int {
  1918. return xxx_messageInfo_AsyncAnnotateFileResponse.Size(m)
  1919. }
  1920. func (m *AsyncAnnotateFileResponse) XXX_DiscardUnknown() {
  1921. xxx_messageInfo_AsyncAnnotateFileResponse.DiscardUnknown(m)
  1922. }
  1923. var xxx_messageInfo_AsyncAnnotateFileResponse proto.InternalMessageInfo
  1924. func (m *AsyncAnnotateFileResponse) GetOutputConfig() *OutputConfig {
  1925. if m != nil {
  1926. return m.OutputConfig
  1927. }
  1928. return nil
  1929. }
  1930. // Multiple async file annotation requests are batched into a single service
  1931. // call.
  1932. type AsyncBatchAnnotateFilesRequest struct {
  1933. // Individual async file annotation requests for this batch.
  1934. Requests []*AsyncAnnotateFileRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
  1935. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1936. XXX_unrecognized []byte `json:"-"`
  1937. XXX_sizecache int32 `json:"-"`
  1938. }
  1939. func (m *AsyncBatchAnnotateFilesRequest) Reset() { *m = AsyncBatchAnnotateFilesRequest{} }
  1940. func (m *AsyncBatchAnnotateFilesRequest) String() string { return proto.CompactTextString(m) }
  1941. func (*AsyncBatchAnnotateFilesRequest) ProtoMessage() {}
  1942. func (*AsyncBatchAnnotateFilesRequest) Descriptor() ([]byte, []int) {
  1943. return fileDescriptor_image_annotator_70def9df53d0326d, []int{26}
  1944. }
  1945. func (m *AsyncBatchAnnotateFilesRequest) XXX_Unmarshal(b []byte) error {
  1946. return xxx_messageInfo_AsyncBatchAnnotateFilesRequest.Unmarshal(m, b)
  1947. }
  1948. func (m *AsyncBatchAnnotateFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1949. return xxx_messageInfo_AsyncBatchAnnotateFilesRequest.Marshal(b, m, deterministic)
  1950. }
  1951. func (dst *AsyncBatchAnnotateFilesRequest) XXX_Merge(src proto.Message) {
  1952. xxx_messageInfo_AsyncBatchAnnotateFilesRequest.Merge(dst, src)
  1953. }
  1954. func (m *AsyncBatchAnnotateFilesRequest) XXX_Size() int {
  1955. return xxx_messageInfo_AsyncBatchAnnotateFilesRequest.Size(m)
  1956. }
  1957. func (m *AsyncBatchAnnotateFilesRequest) XXX_DiscardUnknown() {
  1958. xxx_messageInfo_AsyncBatchAnnotateFilesRequest.DiscardUnknown(m)
  1959. }
  1960. var xxx_messageInfo_AsyncBatchAnnotateFilesRequest proto.InternalMessageInfo
  1961. func (m *AsyncBatchAnnotateFilesRequest) GetRequests() []*AsyncAnnotateFileRequest {
  1962. if m != nil {
  1963. return m.Requests
  1964. }
  1965. return nil
  1966. }
  1967. // Response to an async batch file annotation request.
  1968. type AsyncBatchAnnotateFilesResponse struct {
  1969. // The list of file annotation responses, one for each request in
  1970. // AsyncBatchAnnotateFilesRequest.
  1971. Responses []*AsyncAnnotateFileResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
  1972. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1973. XXX_unrecognized []byte `json:"-"`
  1974. XXX_sizecache int32 `json:"-"`
  1975. }
  1976. func (m *AsyncBatchAnnotateFilesResponse) Reset() { *m = AsyncBatchAnnotateFilesResponse{} }
  1977. func (m *AsyncBatchAnnotateFilesResponse) String() string { return proto.CompactTextString(m) }
  1978. func (*AsyncBatchAnnotateFilesResponse) ProtoMessage() {}
  1979. func (*AsyncBatchAnnotateFilesResponse) Descriptor() ([]byte, []int) {
  1980. return fileDescriptor_image_annotator_70def9df53d0326d, []int{27}
  1981. }
  1982. func (m *AsyncBatchAnnotateFilesResponse) XXX_Unmarshal(b []byte) error {
  1983. return xxx_messageInfo_AsyncBatchAnnotateFilesResponse.Unmarshal(m, b)
  1984. }
  1985. func (m *AsyncBatchAnnotateFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1986. return xxx_messageInfo_AsyncBatchAnnotateFilesResponse.Marshal(b, m, deterministic)
  1987. }
  1988. func (dst *AsyncBatchAnnotateFilesResponse) XXX_Merge(src proto.Message) {
  1989. xxx_messageInfo_AsyncBatchAnnotateFilesResponse.Merge(dst, src)
  1990. }
  1991. func (m *AsyncBatchAnnotateFilesResponse) XXX_Size() int {
  1992. return xxx_messageInfo_AsyncBatchAnnotateFilesResponse.Size(m)
  1993. }
  1994. func (m *AsyncBatchAnnotateFilesResponse) XXX_DiscardUnknown() {
  1995. xxx_messageInfo_AsyncBatchAnnotateFilesResponse.DiscardUnknown(m)
  1996. }
  1997. var xxx_messageInfo_AsyncBatchAnnotateFilesResponse proto.InternalMessageInfo
  1998. func (m *AsyncBatchAnnotateFilesResponse) GetResponses() []*AsyncAnnotateFileResponse {
  1999. if m != nil {
  2000. return m.Responses
  2001. }
  2002. return nil
  2003. }
  2004. // The desired input location and metadata.
  2005. type InputConfig struct {
  2006. // The Google Cloud Storage location to read the input from.
  2007. GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3" json:"gcs_source,omitempty"`
  2008. // The type of the file. Currently only "application/pdf" and "image/tiff"
  2009. // are supported. Wildcards are not supported.
  2010. MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
  2011. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2012. XXX_unrecognized []byte `json:"-"`
  2013. XXX_sizecache int32 `json:"-"`
  2014. }
  2015. func (m *InputConfig) Reset() { *m = InputConfig{} }
  2016. func (m *InputConfig) String() string { return proto.CompactTextString(m) }
  2017. func (*InputConfig) ProtoMessage() {}
  2018. func (*InputConfig) Descriptor() ([]byte, []int) {
  2019. return fileDescriptor_image_annotator_70def9df53d0326d, []int{28}
  2020. }
  2021. func (m *InputConfig) XXX_Unmarshal(b []byte) error {
  2022. return xxx_messageInfo_InputConfig.Unmarshal(m, b)
  2023. }
  2024. func (m *InputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2025. return xxx_messageInfo_InputConfig.Marshal(b, m, deterministic)
  2026. }
  2027. func (dst *InputConfig) XXX_Merge(src proto.Message) {
  2028. xxx_messageInfo_InputConfig.Merge(dst, src)
  2029. }
  2030. func (m *InputConfig) XXX_Size() int {
  2031. return xxx_messageInfo_InputConfig.Size(m)
  2032. }
  2033. func (m *InputConfig) XXX_DiscardUnknown() {
  2034. xxx_messageInfo_InputConfig.DiscardUnknown(m)
  2035. }
  2036. var xxx_messageInfo_InputConfig proto.InternalMessageInfo
  2037. func (m *InputConfig) GetGcsSource() *GcsSource {
  2038. if m != nil {
  2039. return m.GcsSource
  2040. }
  2041. return nil
  2042. }
  2043. func (m *InputConfig) GetMimeType() string {
  2044. if m != nil {
  2045. return m.MimeType
  2046. }
  2047. return ""
  2048. }
  2049. // The desired output location and metadata.
  2050. type OutputConfig struct {
  2051. // The Google Cloud Storage location to write the output(s) to.
  2052. GcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3" json:"gcs_destination,omitempty"`
  2053. // The max number of response protos to put into each output JSON file on
  2054. // Google Cloud Storage.
  2055. // The valid range is [1, 100]. If not specified, the default value is 20.
  2056. //
  2057. // For example, for one pdf file with 100 pages, 100 response protos will
  2058. // be generated. If `batch_size` = 20, then 5 json files each
  2059. // containing 20 response protos will be written under the prefix
  2060. // `gcs_destination`.`uri`.
  2061. //
  2062. // Currently, batch_size only applies to GcsDestination, with potential future
  2063. // support for other output configurations.
  2064. BatchSize int32 `protobuf:"varint,2,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"`
  2065. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2066. XXX_unrecognized []byte `json:"-"`
  2067. XXX_sizecache int32 `json:"-"`
  2068. }
  2069. func (m *OutputConfig) Reset() { *m = OutputConfig{} }
  2070. func (m *OutputConfig) String() string { return proto.CompactTextString(m) }
  2071. func (*OutputConfig) ProtoMessage() {}
  2072. func (*OutputConfig) Descriptor() ([]byte, []int) {
  2073. return fileDescriptor_image_annotator_70def9df53d0326d, []int{29}
  2074. }
  2075. func (m *OutputConfig) XXX_Unmarshal(b []byte) error {
  2076. return xxx_messageInfo_OutputConfig.Unmarshal(m, b)
  2077. }
  2078. func (m *OutputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2079. return xxx_messageInfo_OutputConfig.Marshal(b, m, deterministic)
  2080. }
  2081. func (dst *OutputConfig) XXX_Merge(src proto.Message) {
  2082. xxx_messageInfo_OutputConfig.Merge(dst, src)
  2083. }
  2084. func (m *OutputConfig) XXX_Size() int {
  2085. return xxx_messageInfo_OutputConfig.Size(m)
  2086. }
  2087. func (m *OutputConfig) XXX_DiscardUnknown() {
  2088. xxx_messageInfo_OutputConfig.DiscardUnknown(m)
  2089. }
  2090. var xxx_messageInfo_OutputConfig proto.InternalMessageInfo
  2091. func (m *OutputConfig) GetGcsDestination() *GcsDestination {
  2092. if m != nil {
  2093. return m.GcsDestination
  2094. }
  2095. return nil
  2096. }
  2097. func (m *OutputConfig) GetBatchSize() int32 {
  2098. if m != nil {
  2099. return m.BatchSize
  2100. }
  2101. return 0
  2102. }
  2103. // The Google Cloud Storage location where the input will be read from.
  2104. type GcsSource struct {
  2105. // Google Cloud Storage URI for the input file. This must only be a
  2106. // Google Cloud Storage object. Wildcards are not currently supported.
  2107. Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
  2108. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2109. XXX_unrecognized []byte `json:"-"`
  2110. XXX_sizecache int32 `json:"-"`
  2111. }
  2112. func (m *GcsSource) Reset() { *m = GcsSource{} }
  2113. func (m *GcsSource) String() string { return proto.CompactTextString(m) }
  2114. func (*GcsSource) ProtoMessage() {}
  2115. func (*GcsSource) Descriptor() ([]byte, []int) {
  2116. return fileDescriptor_image_annotator_70def9df53d0326d, []int{30}
  2117. }
  2118. func (m *GcsSource) XXX_Unmarshal(b []byte) error {
  2119. return xxx_messageInfo_GcsSource.Unmarshal(m, b)
  2120. }
  2121. func (m *GcsSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2122. return xxx_messageInfo_GcsSource.Marshal(b, m, deterministic)
  2123. }
  2124. func (dst *GcsSource) XXX_Merge(src proto.Message) {
  2125. xxx_messageInfo_GcsSource.Merge(dst, src)
  2126. }
  2127. func (m *GcsSource) XXX_Size() int {
  2128. return xxx_messageInfo_GcsSource.Size(m)
  2129. }
  2130. func (m *GcsSource) XXX_DiscardUnknown() {
  2131. xxx_messageInfo_GcsSource.DiscardUnknown(m)
  2132. }
  2133. var xxx_messageInfo_GcsSource proto.InternalMessageInfo
  2134. func (m *GcsSource) GetUri() string {
  2135. if m != nil {
  2136. return m.Uri
  2137. }
  2138. return ""
  2139. }
  2140. // The Google Cloud Storage location where the output will be written to.
  2141. type GcsDestination struct {
  2142. // Google Cloud Storage URI where the results will be stored. Results will
  2143. // be in JSON format and preceded by its corresponding input URI. This field
  2144. // can either represent a single file, or a prefix for multiple outputs.
  2145. // Prefixes must end in a `/`.
  2146. //
  2147. // Examples:
  2148. //
  2149. // * File: gs://bucket-name/filename.json
  2150. // * Prefix: gs://bucket-name/prefix/here/
  2151. // * File: gs://bucket-name/prefix/here
  2152. //
  2153. // If multiple outputs, each response is still AnnotateFileResponse, each of
  2154. // which contains some subset of the full list of AnnotateImageResponse.
  2155. // Multiple outputs can happen if, for example, the output JSON is too large
  2156. // and overflows into multiple sharded files.
  2157. Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
  2158. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2159. XXX_unrecognized []byte `json:"-"`
  2160. XXX_sizecache int32 `json:"-"`
  2161. }
  2162. func (m *GcsDestination) Reset() { *m = GcsDestination{} }
  2163. func (m *GcsDestination) String() string { return proto.CompactTextString(m) }
  2164. func (*GcsDestination) ProtoMessage() {}
  2165. func (*GcsDestination) Descriptor() ([]byte, []int) {
  2166. return fileDescriptor_image_annotator_70def9df53d0326d, []int{31}
  2167. }
  2168. func (m *GcsDestination) XXX_Unmarshal(b []byte) error {
  2169. return xxx_messageInfo_GcsDestination.Unmarshal(m, b)
  2170. }
  2171. func (m *GcsDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2172. return xxx_messageInfo_GcsDestination.Marshal(b, m, deterministic)
  2173. }
  2174. func (dst *GcsDestination) XXX_Merge(src proto.Message) {
  2175. xxx_messageInfo_GcsDestination.Merge(dst, src)
  2176. }
  2177. func (m *GcsDestination) XXX_Size() int {
  2178. return xxx_messageInfo_GcsDestination.Size(m)
  2179. }
  2180. func (m *GcsDestination) XXX_DiscardUnknown() {
  2181. xxx_messageInfo_GcsDestination.DiscardUnknown(m)
  2182. }
  2183. var xxx_messageInfo_GcsDestination proto.InternalMessageInfo
  2184. func (m *GcsDestination) GetUri() string {
  2185. if m != nil {
  2186. return m.Uri
  2187. }
  2188. return ""
  2189. }
  2190. // Contains metadata for the BatchAnnotateImages operation.
  2191. type OperationMetadata struct {
  2192. // Current state of the batch operation.
  2193. State OperationMetadata_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.vision.v1.OperationMetadata_State" json:"state,omitempty"`
  2194. // The time when the batch request was received.
  2195. CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
  2196. // The time when the operation result was last updated.
  2197. UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
  2198. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  2199. XXX_unrecognized []byte `json:"-"`
  2200. XXX_sizecache int32 `json:"-"`
  2201. }
  2202. func (m *OperationMetadata) Reset() { *m = OperationMetadata{} }
  2203. func (m *OperationMetadata) String() string { return proto.CompactTextString(m) }
  2204. func (*OperationMetadata) ProtoMessage() {}
  2205. func (*OperationMetadata) Descriptor() ([]byte, []int) {
  2206. return fileDescriptor_image_annotator_70def9df53d0326d, []int{32}
  2207. }
  2208. func (m *OperationMetadata) XXX_Unmarshal(b []byte) error {
  2209. return xxx_messageInfo_OperationMetadata.Unmarshal(m, b)
  2210. }
  2211. func (m *OperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2212. return xxx_messageInfo_OperationMetadata.Marshal(b, m, deterministic)
  2213. }
  2214. func (dst *OperationMetadata) XXX_Merge(src proto.Message) {
  2215. xxx_messageInfo_OperationMetadata.Merge(dst, src)
  2216. }
  2217. func (m *OperationMetadata) XXX_Size() int {
  2218. return xxx_messageInfo_OperationMetadata.Size(m)
  2219. }
  2220. func (m *OperationMetadata) XXX_DiscardUnknown() {
  2221. xxx_messageInfo_OperationMetadata.DiscardUnknown(m)
  2222. }
  2223. var xxx_messageInfo_OperationMetadata proto.InternalMessageInfo
  2224. func (m *OperationMetadata) GetState() OperationMetadata_State {
  2225. if m != nil {
  2226. return m.State
  2227. }
  2228. return OperationMetadata_STATE_UNSPECIFIED
  2229. }
  2230. func (m *OperationMetadata) GetCreateTime() *timestamp.Timestamp {
  2231. if m != nil {
  2232. return m.CreateTime
  2233. }
  2234. return nil
  2235. }
  2236. func (m *OperationMetadata) GetUpdateTime() *timestamp.Timestamp {
  2237. if m != nil {
  2238. return m.UpdateTime
  2239. }
  2240. return nil
  2241. }
  2242. func init() {
  2243. proto.RegisterType((*Feature)(nil), "google.cloud.vision.v1.Feature")
  2244. proto.RegisterType((*ImageSource)(nil), "google.cloud.vision.v1.ImageSource")
  2245. proto.RegisterType((*Image)(nil), "google.cloud.vision.v1.Image")
  2246. proto.RegisterType((*FaceAnnotation)(nil), "google.cloud.vision.v1.FaceAnnotation")
  2247. proto.RegisterType((*FaceAnnotation_Landmark)(nil), "google.cloud.vision.v1.FaceAnnotation.Landmark")
  2248. proto.RegisterType((*LocationInfo)(nil), "google.cloud.vision.v1.LocationInfo")
  2249. proto.RegisterType((*Property)(nil), "google.cloud.vision.v1.Property")
  2250. proto.RegisterType((*EntityAnnotation)(nil), "google.cloud.vision.v1.EntityAnnotation")
  2251. proto.RegisterType((*LocalizedObjectAnnotation)(nil), "google.cloud.vision.v1.LocalizedObjectAnnotation")
  2252. proto.RegisterType((*SafeSearchAnnotation)(nil), "google.cloud.vision.v1.SafeSearchAnnotation")
  2253. proto.RegisterType((*LatLongRect)(nil), "google.cloud.vision.v1.LatLongRect")
  2254. proto.RegisterType((*ColorInfo)(nil), "google.cloud.vision.v1.ColorInfo")
  2255. proto.RegisterType((*DominantColorsAnnotation)(nil), "google.cloud.vision.v1.DominantColorsAnnotation")
  2256. proto.RegisterType((*ImageProperties)(nil), "google.cloud.vision.v1.ImageProperties")
  2257. proto.RegisterType((*CropHint)(nil), "google.cloud.vision.v1.CropHint")
  2258. proto.RegisterType((*CropHintsAnnotation)(nil), "google.cloud.vision.v1.CropHintsAnnotation")
  2259. proto.RegisterType((*CropHintsParams)(nil), "google.cloud.vision.v1.CropHintsParams")
  2260. proto.RegisterType((*WebDetectionParams)(nil), "google.cloud.vision.v1.WebDetectionParams")
  2261. proto.RegisterType((*ImageContext)(nil), "google.cloud.vision.v1.ImageContext")
  2262. proto.RegisterType((*AnnotateImageRequest)(nil), "google.cloud.vision.v1.AnnotateImageRequest")
  2263. proto.RegisterType((*ImageAnnotationContext)(nil), "google.cloud.vision.v1.ImageAnnotationContext")
  2264. proto.RegisterType((*AnnotateImageResponse)(nil), "google.cloud.vision.v1.AnnotateImageResponse")
  2265. proto.RegisterType((*AnnotateFileResponse)(nil), "google.cloud.vision.v1.AnnotateFileResponse")
  2266. proto.RegisterType((*BatchAnnotateImagesRequest)(nil), "google.cloud.vision.v1.BatchAnnotateImagesRequest")
  2267. proto.RegisterType((*BatchAnnotateImagesResponse)(nil), "google.cloud.vision.v1.BatchAnnotateImagesResponse")
  2268. proto.RegisterType((*AsyncAnnotateFileRequest)(nil), "google.cloud.vision.v1.AsyncAnnotateFileRequest")
  2269. proto.RegisterType((*AsyncAnnotateFileResponse)(nil), "google.cloud.vision.v1.AsyncAnnotateFileResponse")
  2270. proto.RegisterType((*AsyncBatchAnnotateFilesRequest)(nil), "google.cloud.vision.v1.AsyncBatchAnnotateFilesRequest")
  2271. proto.RegisterType((*AsyncBatchAnnotateFilesResponse)(nil), "google.cloud.vision.v1.AsyncBatchAnnotateFilesResponse")
  2272. proto.RegisterType((*InputConfig)(nil), "google.cloud.vision.v1.InputConfig")
  2273. proto.RegisterType((*OutputConfig)(nil), "google.cloud.vision.v1.OutputConfig")
  2274. proto.RegisterType((*GcsSource)(nil), "google.cloud.vision.v1.GcsSource")
  2275. proto.RegisterType((*GcsDestination)(nil), "google.cloud.vision.v1.GcsDestination")
  2276. proto.RegisterType((*OperationMetadata)(nil), "google.cloud.vision.v1.OperationMetadata")
  2277. proto.RegisterEnum("google.cloud.vision.v1.Likelihood", Likelihood_name, Likelihood_value)
  2278. proto.RegisterEnum("google.cloud.vision.v1.Feature_Type", Feature_Type_name, Feature_Type_value)
  2279. proto.RegisterEnum("google.cloud.vision.v1.FaceAnnotation_Landmark_Type", FaceAnnotation_Landmark_Type_name, FaceAnnotation_Landmark_Type_value)
  2280. proto.RegisterEnum("google.cloud.vision.v1.OperationMetadata_State", OperationMetadata_State_name, OperationMetadata_State_value)
  2281. }
  2282. // Reference imports to suppress errors if they are not otherwise used.
  2283. var _ context.Context
  2284. var _ grpc.ClientConn
  2285. // This is a compile-time assertion to ensure that this generated file
  2286. // is compatible with the grpc package it is being compiled against.
  2287. const _ = grpc.SupportPackageIsVersion4
  2288. // ImageAnnotatorClient is the client API for ImageAnnotator service.
  2289. //
  2290. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  2291. type ImageAnnotatorClient interface {
  2292. // Run image detection and annotation for a batch of images.
  2293. BatchAnnotateImages(ctx context.Context, in *BatchAnnotateImagesRequest, opts ...grpc.CallOption) (*BatchAnnotateImagesResponse, error)
  2294. // Run asynchronous image detection and annotation for a list of generic
  2295. // files, such as PDF files, which may contain multiple pages and multiple
  2296. // images per page. Progress and results can be retrieved through the
  2297. // `google.longrunning.Operations` interface.
  2298. // `Operation.metadata` contains `OperationMetadata` (metadata).
  2299. // `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).
  2300. AsyncBatchAnnotateFiles(ctx context.Context, in *AsyncBatchAnnotateFilesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
  2301. }
  2302. type imageAnnotatorClient struct {
  2303. cc *grpc.ClientConn
  2304. }
  2305. func NewImageAnnotatorClient(cc *grpc.ClientConn) ImageAnnotatorClient {
  2306. return &imageAnnotatorClient{cc}
  2307. }
  2308. func (c *imageAnnotatorClient) BatchAnnotateImages(ctx context.Context, in *BatchAnnotateImagesRequest, opts ...grpc.CallOption) (*BatchAnnotateImagesResponse, error) {
  2309. out := new(BatchAnnotateImagesResponse)
  2310. err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ImageAnnotator/BatchAnnotateImages", in, out, opts...)
  2311. if err != nil {
  2312. return nil, err
  2313. }
  2314. return out, nil
  2315. }
  2316. func (c *imageAnnotatorClient) AsyncBatchAnnotateFiles(ctx context.Context, in *AsyncBatchAnnotateFilesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
  2317. out := new(longrunning.Operation)
  2318. err := c.cc.Invoke(ctx, "/google.cloud.vision.v1.ImageAnnotator/AsyncBatchAnnotateFiles", in, out, opts...)
  2319. if err != nil {
  2320. return nil, err
  2321. }
  2322. return out, nil
  2323. }
  2324. // ImageAnnotatorServer is the server API for ImageAnnotator service.
  2325. type ImageAnnotatorServer interface {
  2326. // Run image detection and annotation for a batch of images.
  2327. BatchAnnotateImages(context.Context, *BatchAnnotateImagesRequest) (*BatchAnnotateImagesResponse, error)
  2328. // Run asynchronous image detection and annotation for a list of generic
  2329. // files, such as PDF files, which may contain multiple pages and multiple
  2330. // images per page. Progress and results can be retrieved through the
  2331. // `google.longrunning.Operations` interface.
  2332. // `Operation.metadata` contains `OperationMetadata` (metadata).
  2333. // `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).
  2334. AsyncBatchAnnotateFiles(context.Context, *AsyncBatchAnnotateFilesRequest) (*longrunning.Operation, error)
  2335. }
  2336. func RegisterImageAnnotatorServer(s *grpc.Server, srv ImageAnnotatorServer) {
  2337. s.RegisterService(&_ImageAnnotator_serviceDesc, srv)
  2338. }
  2339. func _ImageAnnotator_BatchAnnotateImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2340. in := new(BatchAnnotateImagesRequest)
  2341. if err := dec(in); err != nil {
  2342. return nil, err
  2343. }
  2344. if interceptor == nil {
  2345. return srv.(ImageAnnotatorServer).BatchAnnotateImages(ctx, in)
  2346. }
  2347. info := &grpc.UnaryServerInfo{
  2348. Server: srv,
  2349. FullMethod: "/google.cloud.vision.v1.ImageAnnotator/BatchAnnotateImages",
  2350. }
  2351. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2352. return srv.(ImageAnnotatorServer).BatchAnnotateImages(ctx, req.(*BatchAnnotateImagesRequest))
  2353. }
  2354. return interceptor(ctx, in, info, handler)
  2355. }
  2356. func _ImageAnnotator_AsyncBatchAnnotateFiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  2357. in := new(AsyncBatchAnnotateFilesRequest)
  2358. if err := dec(in); err != nil {
  2359. return nil, err
  2360. }
  2361. if interceptor == nil {
  2362. return srv.(ImageAnnotatorServer).AsyncBatchAnnotateFiles(ctx, in)
  2363. }
  2364. info := &grpc.UnaryServerInfo{
  2365. Server: srv,
  2366. FullMethod: "/google.cloud.vision.v1.ImageAnnotator/AsyncBatchAnnotateFiles",
  2367. }
  2368. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  2369. return srv.(ImageAnnotatorServer).AsyncBatchAnnotateFiles(ctx, req.(*AsyncBatchAnnotateFilesRequest))
  2370. }
  2371. return interceptor(ctx, in, info, handler)
  2372. }
  2373. var _ImageAnnotator_serviceDesc = grpc.ServiceDesc{
  2374. ServiceName: "google.cloud.vision.v1.ImageAnnotator",
  2375. HandlerType: (*ImageAnnotatorServer)(nil),
  2376. Methods: []grpc.MethodDesc{
  2377. {
  2378. MethodName: "BatchAnnotateImages",
  2379. Handler: _ImageAnnotator_BatchAnnotateImages_Handler,
  2380. },
  2381. {
  2382. MethodName: "AsyncBatchAnnotateFiles",
  2383. Handler: _ImageAnnotator_AsyncBatchAnnotateFiles_Handler,
  2384. },
  2385. },
  2386. Streams: []grpc.StreamDesc{},
  2387. Metadata: "google/cloud/vision/v1/image_annotator.proto",
  2388. }
  2389. func init() {
  2390. proto.RegisterFile("google/cloud/vision/v1/image_annotator.proto", fileDescriptor_image_annotator_70def9df53d0326d)
  2391. }
  2392. var fileDescriptor_image_annotator_70def9df53d0326d = []byte{
  2393. // 3080 bytes of a gzipped FileDescriptorProto
  2394. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0x4f, 0x73, 0xdb, 0xc8,
  2395. 0x95, 0x1f, 0xfe, 0x91, 0x44, 0x3e, 0x52, 0x14, 0xd4, 0x94, 0x64, 0x5a, 0xfe, 0x27, 0x63, 0x76,
  2396. 0x76, 0x54, 0x1e, 0xaf, 0xb4, 0xf6, 0xcc, 0xba, 0x66, 0x6d, 0xd7, 0xee, 0x50, 0x24, 0x24, 0x71,
  2397. 0x4d, 0x11, 0x9c, 0x26, 0x65, 0x8f, 0x67, 0xa7, 0x16, 0x05, 0x81, 0x4d, 0x1a, 0x1e, 0x10, 0xc0,
  2398. 0x02, 0xa0, 0x2d, 0xcd, 0x56, 0xed, 0x21, 0xb7, 0x5c, 0x93, 0x53, 0x2e, 0xa9, 0x54, 0x52, 0x95,
  2399. 0x1c, 0x72, 0x4d, 0xee, 0xb9, 0xa5, 0x72, 0xc8, 0x21, 0x35, 0x5f, 0x21, 0x87, 0x7c, 0x84, 0x1c,
  2400. 0x53, 0xdd, 0x68, 0x80, 0x0d, 0x4a, 0xa0, 0xa5, 0xc9, 0x1c, 0x72, 0x12, 0xfb, 0xbd, 0xf7, 0xfb,
  2401. 0x75, 0xf7, 0xeb, 0xee, 0xf7, 0x5e, 0x37, 0x04, 0xf7, 0x47, 0x8e, 0x33, 0xb2, 0xc8, 0xae, 0x61,
  2402. 0x39, 0x93, 0xc1, 0xee, 0x1b, 0xd3, 0x37, 0x1d, 0x7b, 0xf7, 0xcd, 0x83, 0x5d, 0x73, 0xac, 0x8f,
  2403. 0x88, 0xa6, 0xdb, 0xb6, 0x13, 0xe8, 0x81, 0xe3, 0xed, 0xb8, 0x9e, 0x13, 0x38, 0x68, 0x23, 0xb4,
  2404. 0xde, 0x61, 0xd6, 0x3b, 0xa1, 0xf5, 0xce, 0x9b, 0x07, 0x9b, 0x37, 0x39, 0x8b, 0xee, 0x9a, 0xbb,
  2405. 0x1c, 0x63, 0x3a, 0xb6, 0x1f, 0xa2, 0x36, 0x3f, 0x48, 0xe9, 0x63, 0x44, 0x9c, 0x31, 0x09, 0xbc,
  2406. 0x33, 0x6e, 0xf6, 0x51, 0x8a, 0x99, 0xeb, 0x39, 0x83, 0x89, 0x11, 0x68, 0x3e, 0xd1, 0x3d, 0xe3,
  2407. 0x15, 0x37, 0x4e, 0x1b, 0x77, 0x40, 0x4e, 0x03, 0x6d, 0x3a, 0x04, 0x6e, 0x7d, 0x2f, 0xc5, 0xfa,
  2408. 0x2d, 0x39, 0xd1, 0x06, 0x24, 0x20, 0x86, 0x60, 0xfb, 0x3e, 0xb7, 0xb5, 0x1c, 0x7b, 0xe4, 0x4d,
  2409. 0x6c, 0xdb, 0xb4, 0x47, 0xbb, 0x8e, 0x4b, 0xbc, 0xc4, 0x94, 0xb6, 0xb8, 0x11, 0x6b, 0x9d, 0x4c,
  2410. 0x86, 0xbb, 0x43, 0x93, 0x58, 0x03, 0x6d, 0xac, 0xfb, 0x5f, 0x73, 0x8b, 0x3b, 0xb3, 0x16, 0x81,
  2411. 0x39, 0x26, 0x7e, 0xa0, 0x8f, 0x5d, 0x6e, 0x70, 0x8d, 0x1b, 0x78, 0xae, 0xb1, 0xeb, 0x07, 0x7a,
  2412. 0x30, 0xf1, 0x67, 0x14, 0xc1, 0x99, 0x4b, 0x76, 0x0d, 0xc7, 0x8a, 0xbc, 0xbf, 0x59, 0x13, 0x15,
  2413. 0x96, 0x1e, 0x58, 0xf6, 0x28, 0xd4, 0xc8, 0x3f, 0xcb, 0xc1, 0xd2, 0x3e, 0xd1, 0x83, 0x89, 0x47,
  2414. 0xd0, 0xa7, 0x90, 0xa7, 0x06, 0xb5, 0xcc, 0x56, 0x66, 0xbb, 0xf2, 0xf0, 0x9f, 0x76, 0x2e, 0x5e,
  2415. 0xb2, 0x1d, 0x6e, 0xbe, 0xd3, 0x3f, 0x73, 0x09, 0x66, 0x08, 0x74, 0x07, 0x4a, 0x63, 0xfd, 0x54,
  2416. 0xf3, 0x88, 0x3f, 0xb1, 0x02, 0xbf, 0x96, 0xdd, 0xca, 0x6c, 0x2f, 0x60, 0x18, 0xeb, 0xa7, 0x38,
  2417. 0x94, 0xa0, 0x35, 0x58, 0x18, 0x3b, 0x03, 0x62, 0xd5, 0x72, 0x5b, 0x99, 0xed, 0x22, 0x0e, 0x1b,
  2418. 0xf2, 0x2f, 0xb2, 0x90, 0xa7, 0x2c, 0x68, 0x0d, 0xa4, 0xfe, 0xcb, 0xae, 0xa2, 0x1d, 0x77, 0x7a,
  2419. 0x5d, 0xa5, 0xd1, 0xda, 0x6f, 0x29, 0x4d, 0xe9, 0x3d, 0x84, 0xa0, 0xb2, 0x5f, 0x6f, 0x28, 0x5a,
  2420. 0x53, 0xe9, 0x2b, 0x8d, 0x7e, 0x4b, 0xed, 0x48, 0x19, 0xb4, 0x01, 0xa8, 0x5d, 0xef, 0x34, 0x8f,
  2421. 0xea, 0xf8, 0x99, 0x20, 0xcf, 0x52, 0xdb, 0xb6, 0x7a, 0xa0, 0x0a, 0xb2, 0x1c, 0xaa, 0xc2, 0x4a,
  2422. 0xbb, 0xbe, 0xa7, 0xb4, 0x05, 0x61, 0x9e, 0x1a, 0xf6, 0x95, 0x2f, 0xfa, 0x82, 0x6c, 0x01, 0xdd,
  2423. 0x80, 0x6b, 0x4d, 0xb5, 0x71, 0x7c, 0xa4, 0x74, 0xfa, 0xda, 0x8c, 0xb2, 0x84, 0xae, 0xc3, 0x7a,
  2424. 0xaf, 0xbe, 0xaf, 0x68, 0x3d, 0xa5, 0x8e, 0x1b, 0x87, 0x82, 0x6a, 0x91, 0x0e, 0xbb, 0x75, 0x54,
  2425. 0x3f, 0x50, 0xb4, 0x2e, 0x56, 0xbb, 0x0a, 0xee, 0xb7, 0x94, 0x9e, 0xb4, 0x84, 0x2a, 0x00, 0x0d,
  2426. 0xac, 0x76, 0xb5, 0xc3, 0x56, 0xa7, 0xdf, 0x93, 0x8a, 0x68, 0x15, 0x96, 0x5f, 0x28, 0x7b, 0x02,
  2427. 0x10, 0xe8, 0x20, 0xba, 0x58, 0x6d, 0x1e, 0x37, 0xfa, 0x9c, 0x56, 0x2a, 0xa3, 0x6b, 0x50, 0x55,
  2428. 0xf7, 0xfe, 0x4b, 0x69, 0xf4, 0xb5, 0xb6, 0xda, 0xa8, 0xb7, 0x5b, 0x5f, 0xd6, 0x99, 0x71, 0x55,
  2429. 0xee, 0x40, 0xa9, 0x45, 0xcf, 0x54, 0xcf, 0x99, 0x78, 0x06, 0x41, 0x32, 0x2c, 0x8f, 0x0c, 0x5f,
  2430. 0x0b, 0x8f, 0xd9, 0xc4, 0x33, 0xd9, 0x72, 0x15, 0x71, 0x69, 0x64, 0xf8, 0xcc, 0xec, 0xd8, 0x33,
  2431. 0xd1, 0x0d, 0x28, 0x4e, 0xf5, 0x59, 0xa6, 0x2f, 0x98, 0x5c, 0x29, 0xff, 0x0f, 0x2c, 0x30, 0x43,
  2432. 0x54, 0x83, 0x25, 0xc3, 0xb1, 0x03, 0x62, 0x07, 0x8c, 0xa3, 0x8c, 0xa3, 0x26, 0x7a, 0x02, 0x8b,
  2433. 0x3e, 0xeb, 0x8d, 0x81, 0x4b, 0x0f, 0xdf, 0x4f, 0xdb, 0x0b, 0xc2, 0xc0, 0x30, 0x87, 0xc8, 0x7f,
  2434. 0x5a, 0x81, 0xca, 0xbe, 0x6e, 0x90, 0x7a, 0x7c, 0x96, 0x50, 0x0b, 0x96, 0x4f, 0x9c, 0x89, 0x3d,
  2435. 0x30, 0xed, 0x91, 0xe6, 0x3a, 0xd6, 0x19, 0xeb, 0xaf, 0x94, 0xbe, 0xc5, 0xf6, 0xb8, 0x71, 0xd7,
  2436. 0xb1, 0xce, 0x70, 0xf9, 0x44, 0x68, 0xa1, 0x0e, 0x48, 0xc3, 0x81, 0x96, 0x64, 0xcb, 0x5e, 0x81,
  2437. 0xad, 0x32, 0x1c, 0x88, 0x6d, 0x74, 0x04, 0x45, 0x4b, 0xb7, 0x07, 0x63, 0xdd, 0xfb, 0xda, 0xaf,
  2438. 0xe5, 0xb6, 0x72, 0xdb, 0xa5, 0x87, 0xbb, 0xa9, 0x3b, 0x3f, 0x31, 0xab, 0x9d, 0x36, 0xc7, 0xe1,
  2439. 0x29, 0x03, 0xba, 0x05, 0xe0, 0x39, 0x96, 0xa5, 0xe9, 0xf6, 0xc8, 0x22, 0xb5, 0xfc, 0x56, 0x66,
  2440. 0x3b, 0x8b, 0x8b, 0x54, 0x52, 0xa7, 0x02, 0xba, 0x30, 0xae, 0x6e, 0x73, 0xed, 0x02, 0xd3, 0x16,
  2441. 0x5c, 0xdd, 0x0e, 0x95, 0xb7, 0x00, 0x02, 0xd3, 0x0a, 0xb8, 0x76, 0x31, 0xc4, 0x52, 0x49, 0xa8,
  2442. 0x7e, 0x00, 0x6b, 0x71, 0xc4, 0xd1, 0x0c, 0xc7, 0x1e, 0x9a, 0x03, 0x62, 0x1b, 0xa4, 0xb6, 0xc4,
  2443. 0x0c, 0xab, 0xb1, 0xae, 0x11, 0xab, 0xd0, 0xbf, 0xc1, 0x46, 0x34, 0x34, 0xea, 0x2c, 0x01, 0x54,
  2444. 0x60, 0xa0, 0x75, 0x41, 0x2b, 0xc0, 0x5a, 0x50, 0x79, 0xed, 0x9c, 0x69, 0x96, 0xf9, 0x35, 0xb1,
  2445. 0xcc, 0x57, 0x8e, 0x33, 0xa8, 0x15, 0x59, 0x48, 0x90, 0xd3, 0x1c, 0xd3, 0x8e, 0x2d, 0xf1, 0xf2,
  2446. 0x6b, 0xe7, 0x6c, 0xda, 0x44, 0x2a, 0xac, 0xfa, 0x8e, 0xe7, 0x39, 0x6f, 0x45, 0x36, 0xb8, 0x34,
  2447. 0x9b, 0x14, 0x82, 0x05, 0xc2, 0x23, 0x90, 0x74, 0x7b, 0x44, 0x3c, 0x91, 0xaf, 0x74, 0x69, 0xbe,
  2448. 0x15, 0x86, 0x15, 0xe8, 0x7a, 0x50, 0xf5, 0x27, 0x9e, 0xeb, 0x99, 0x3e, 0x11, 0x19, 0xcb, 0x97,
  2449. 0x66, 0x44, 0x11, 0x5c, 0x20, 0xfd, 0x0a, 0x6a, 0x13, 0x7b, 0x40, 0x3c, 0x8d, 0x9c, 0xba, 0x8e,
  2450. 0x4f, 0x06, 0x22, 0xf3, 0xf2, 0xa5, 0x99, 0x37, 0x18, 0x87, 0x12, 0x52, 0x08, 0xec, 0x9f, 0x03,
  2451. 0x3a, 0xb1, 0x26, 0x9e, 0x97, 0xe4, 0xad, 0x5c, 0x9a, 0x77, 0x95, 0xa3, 0x93, 0x5e, 0x78, 0x45,
  2452. 0xf4, 0xc1, 0x5b, 0xa2, 0x27, 0xfc, 0xba, 0x72, 0x79, 0x2f, 0x44, 0xf0, 0xa9, 0x6c, 0xf3, 0x0f,
  2453. 0x4b, 0x50, 0x88, 0x8e, 0x08, 0x3a, 0xe4, 0xb9, 0x25, 0xc7, 0x28, 0x3f, 0xb9, 0xe2, 0x09, 0x13,
  2454. 0x73, 0xcd, 0x53, 0x28, 0xb8, 0x8e, 0x6f, 0x52, 0x3d, 0x3b, 0x5f, 0xa5, 0x87, 0x5b, 0x69, 0x6c,
  2455. 0x5d, 0x6e, 0x87, 0x63, 0x84, 0xfc, 0x9b, 0xc5, 0x69, 0xca, 0x39, 0xee, 0x3c, 0xeb, 0xa8, 0x2f,
  2456. 0x3a, 0x5a, 0x94, 0x50, 0xa4, 0xf7, 0x50, 0x19, 0x0a, 0x6d, 0x65, 0xbf, 0xaf, 0x29, 0x2f, 0x15,
  2457. 0x29, 0x83, 0x96, 0xa1, 0x88, 0x5b, 0x07, 0x87, 0x61, 0x33, 0x8b, 0x6a, 0xb0, 0xc6, 0x94, 0xea,
  2458. 0xbe, 0x16, 0x19, 0xed, 0x61, 0xf5, 0x85, 0x94, 0xa3, 0x39, 0x22, 0x34, 0x9c, 0x55, 0xe5, 0xa9,
  2459. 0x2a, 0x02, 0xc5, 0x5c, 0x4c, 0xb5, 0x80, 0x36, 0x61, 0x23, 0x46, 0x25, 0x75, 0x8b, 0x14, 0x76,
  2460. 0xd4, 0x6a, 0x76, 0xd5, 0x56, 0xa7, 0xaf, 0xed, 0x29, 0xfd, 0x17, 0x8a, 0xd2, 0xa1, 0x5a, 0x9a,
  2461. 0x5f, 0xca, 0x50, 0xe8, 0xa8, 0x3d, 0x45, 0xeb, 0xb7, 0xba, 0x52, 0x81, 0x8e, 0xf1, 0xb8, 0xdb,
  2462. 0x55, 0xb0, 0xd6, 0x6e, 0x75, 0xa5, 0x22, 0x6d, 0xb6, 0xd5, 0x17, 0xbc, 0x09, 0x34, 0x17, 0x1d,
  2463. 0xa9, 0xc7, 0xfd, 0x43, 0x36, 0x2a, 0xa9, 0x84, 0x56, 0xa0, 0x14, 0xb6, 0x59, 0x7f, 0x52, 0x19,
  2464. 0x49, 0x50, 0x0e, 0x05, 0x0d, 0xa5, 0xd3, 0x57, 0xb0, 0xb4, 0x8c, 0xd6, 0x61, 0x95, 0xd1, 0xef,
  2465. 0xa9, 0xfd, 0xbe, 0x7a, 0xc4, 0x0d, 0x2b, 0xd4, 0x5f, 0xa2, 0x98, 0xf1, 0xad, 0xd0, 0x74, 0x2c,
  2466. 0x4a, 0x39, 0x89, 0x14, 0xcf, 0x5a, 0x79, 0xa9, 0x68, 0x7d, 0xb5, 0xab, 0xed, 0xa9, 0xc7, 0x9d,
  2467. 0x66, 0x1d, 0xbf, 0x94, 0x56, 0x13, 0xaa, 0x70, 0xd6, 0x0d, 0x15, 0x77, 0x14, 0x2c, 0x21, 0x74,
  2468. 0x13, 0x6a, 0xb1, 0x8a, 0x33, 0xc6, 0xc0, 0x6a, 0xec, 0x7e, 0xaa, 0x65, 0x3f, 0x38, 0x6e, 0x6d,
  2469. 0xea, 0xc8, 0x73, 0xdd, 0xad, 0x27, 0x75, 0x89, 0xfe, 0x36, 0xd0, 0x2d, 0xb8, 0x3e, 0xd5, 0xcd,
  2470. 0x76, 0x78, 0x6d, 0xba, 0xaa, 0xb3, 0x3d, 0xd6, 0xd0, 0x1d, 0xb8, 0x21, 0xae, 0xb3, 0x16, 0x2e,
  2471. 0x41, 0xb4, 0x62, 0xd2, 0x75, 0xb4, 0x05, 0x37, 0x13, 0x4b, 0x3a, 0x6b, 0xb1, 0x49, 0x1d, 0x1a,
  2472. 0x52, 0xd4, 0xb1, 0xd6, 0xc7, 0xf5, 0x03, 0x9a, 0xec, 0x6f, 0x50, 0xef, 0x73, 0x9c, 0x20, 0xbe,
  2473. 0xc9, 0xca, 0x9b, 0x68, 0xee, 0xdd, 0xe3, 0x6e, 0xab, 0x2d, 0xdd, 0xa2, 0xe5, 0xcd, 0x74, 0x78,
  2474. 0xa1, 0xf0, 0x36, 0xc5, 0xef, 0xab, 0x58, 0x39, 0x54, 0xea, 0x4d, 0xed, 0x80, 0x55, 0x3f, 0xed,
  2475. 0xba, 0x74, 0x87, 0xd6, 0x20, 0x8d, 0xc3, 0x56, 0x47, 0x3b, 0xe8, 0xd4, 0xfb, 0x87, 0x94, 0x72,
  2476. 0x8b, 0xf6, 0xcf, 0x44, 0x8c, 0xf7, 0x40, 0xed, 0x50, 0xe9, 0x5d, 0x8a, 0x67, 0xd2, 0x90, 0x99,
  2477. 0x8b, 0x65, 0xf9, 0x29, 0x94, 0xdb, 0x8e, 0xc1, 0x0e, 0x65, 0xcb, 0x1e, 0x3a, 0xe8, 0x3e, 0x2c,
  2478. 0x59, 0x7a, 0xa0, 0x59, 0xf6, 0x88, 0xa7, 0xf2, 0x6a, 0x74, 0x06, 0xe9, 0x19, 0xdd, 0x69, 0xeb,
  2479. 0x41, 0xdb, 0x1e, 0xe1, 0x45, 0x8b, 0xfd, 0x95, 0x5f, 0x40, 0xa1, 0xeb, 0xd1, 0x4a, 0x38, 0x38,
  2480. 0x43, 0x08, 0xf2, 0xb6, 0x3e, 0x26, 0xbc, 0x6a, 0x61, 0xbf, 0x69, 0x75, 0xf8, 0x46, 0xb7, 0x26,
  2481. 0x84, 0x97, 0x2a, 0x61, 0x03, 0xdd, 0x85, 0xf2, 0xc4, 0xb4, 0x83, 0x47, 0x9f, 0x68, 0xa1, 0x92,
  2482. 0x86, 0x8e, 0x3c, 0x2e, 0x85, 0xb2, 0xe7, 0x54, 0x24, 0xff, 0x30, 0x07, 0x92, 0x62, 0x07, 0x66,
  2483. 0x70, 0x26, 0x14, 0x1b, 0x12, 0xe4, 0xc6, 0xe6, 0x80, 0x77, 0x40, 0x7f, 0xa2, 0x0d, 0x58, 0xb4,
  2484. 0x1c, 0x43, 0xb7, 0xa2, 0x0e, 0x78, 0x0b, 0x6d, 0x41, 0x69, 0x40, 0x7c, 0xc3, 0x33, 0x5d, 0x16,
  2485. 0x4d, 0xc2, 0xda, 0x54, 0x14, 0xd1, 0x91, 0xf9, 0x86, 0xe3, 0x45, 0x99, 0x3c, 0x6c, 0x20, 0x19,
  2486. 0x40, 0x48, 0xa5, 0x2c, 0x8d, 0xef, 0x65, 0x6b, 0x19, 0x2c, 0x48, 0xd1, 0x6d, 0x80, 0xc0, 0x71,
  2487. 0x4d, 0x43, 0xb7, 0xcc, 0xe0, 0x8c, 0x27, 0x73, 0x41, 0x72, 0xbe, 0x24, 0x5a, 0xfa, 0xce, 0x25,
  2488. 0xd1, 0x1e, 0x14, 0x2d, 0xbe, 0x38, 0x7e, 0xad, 0xc0, 0x4a, 0x98, 0x54, 0x1a, 0x71, 0x15, 0xf1,
  2489. 0x14, 0x86, 0x3e, 0x03, 0x70, 0xc3, 0x25, 0x32, 0x89, 0x5f, 0x2b, 0x32, 0x92, 0xf4, 0xb8, 0xca,
  2490. 0x17, 0x13, 0x0b, 0x18, 0xf9, 0xf7, 0x19, 0xb8, 0x4e, 0xd9, 0x2d, 0xf3, 0x1b, 0x32, 0x50, 0x4f,
  2491. 0x5e, 0x13, 0x23, 0x98, 0xbb, 0x28, 0xef, 0xc3, 0xb2, 0xa5, 0xdb, 0xa3, 0x09, 0x2d, 0x53, 0x0d,
  2492. 0x67, 0x10, 0xad, 0x4d, 0x39, 0x12, 0x36, 0x9c, 0x01, 0x89, 0x77, 0x4b, 0x2e, 0xb9, 0x5b, 0x2e,
  2493. 0x58, 0x93, 0x73, 0xfe, 0x5c, 0xf8, 0xae, 0xfe, 0x94, 0x7f, 0x97, 0x85, 0xb5, 0x9e, 0x3e, 0x24,
  2494. 0x3d, 0x76, 0x6d, 0x14, 0x26, 0xf1, 0x29, 0x2c, 0xe8, 0x83, 0x89, 0x15, 0xf0, 0x1b, 0xd2, 0x65,
  2495. 0x12, 0x63, 0x08, 0xa0, 0x48, 0xdf, 0x75, 0x9c, 0x21, 0x9b, 0xe4, 0x25, 0x91, 0x0c, 0x80, 0x9e,
  2496. 0xc2, 0xd2, 0x98, 0x0c, 0xe8, 0xae, 0xe1, 0xb9, 0xf3, 0x32, 0xd8, 0x08, 0x82, 0xfe, 0x03, 0x0a,
  2497. 0x6f, 0x4c, 0xc7, 0x62, 0xfb, 0x34, 0x7f, 0x69, 0x78, 0x8c, 0x41, 0x8f, 0x20, 0xef, 0xe9, 0xc6,
  2498. 0xd9, 0x15, 0xea, 0x3f, 0x66, 0x2f, 0xbf, 0x85, 0x12, 0x8d, 0x01, 0x8e, 0x3d, 0xc2, 0xc4, 0x08,
  2499. 0xd0, 0xc7, 0x50, 0x1a, 0x9b, 0xb6, 0x76, 0x89, 0x90, 0x51, 0x1c, 0x9b, 0x76, 0xf8, 0x93, 0x81,
  2500. 0xf4, 0xd3, 0x18, 0x94, 0x9d, 0x07, 0xd2, 0x4f, 0xc3, 0x9f, 0xb2, 0x07, 0xc5, 0x06, 0xbd, 0xf8,
  2501. 0xb2, 0x28, 0xb5, 0x0d, 0x0b, 0xec, 0x16, 0xcc, 0x3b, 0x44, 0x09, 0x2c, 0x33, 0xc3, 0xa1, 0xc1,
  2502. 0x74, 0x4f, 0x65, 0xc5, 0x3d, 0xf5, 0x01, 0x54, 0x5c, 0xf3, 0x94, 0x58, 0xda, 0xd0, 0xd3, 0x8d,
  2503. 0x38, 0x44, 0x64, 0xf1, 0x32, 0x93, 0xee, 0x73, 0xa1, 0x7c, 0x0c, 0xb5, 0xa6, 0x33, 0x36, 0x6d,
  2504. 0xdd, 0x0e, 0x18, 0xa9, 0x2f, 0x6c, 0x99, 0x7f, 0x87, 0x45, 0xd6, 0x83, 0x5f, 0xcb, 0xb0, 0x33,
  2505. 0x75, 0x37, 0xcd, 0x85, 0xf1, 0xa8, 0x31, 0x07, 0xc8, 0x16, 0xac, 0xb0, 0xeb, 0x55, 0x37, 0x3e,
  2506. 0x63, 0xe8, 0x25, 0xac, 0x0c, 0x78, 0x4f, 0x5a, 0x4c, 0x4b, 0xa7, 0xf6, 0xaf, 0x69, 0xb4, 0x69,
  2507. 0x03, 0xc3, 0x95, 0x41, 0x42, 0x23, 0xff, 0x32, 0x03, 0x85, 0x86, 0xe7, 0xb8, 0x87, 0xa6, 0x1d,
  2508. 0x7c, 0x9f, 0xf7, 0xb5, 0xdb, 0x89, 0x58, 0x19, 0xba, 0x57, 0x8c, 0x93, 0xbb, 0x50, 0x35, 0xc7,
  2509. 0xae, 0xe3, 0x05, 0xba, 0x6d, 0x90, 0x59, 0x47, 0xa3, 0xa9, 0x2a, 0xf6, 0xf6, 0x73, 0xa8, 0x46,
  2510. 0xe3, 0x14, 0x1d, 0xfd, 0x9f, 0x00, 0x86, 0xe7, 0xb8, 0xda, 0x2b, 0x2a, 0xe7, 0xce, 0x4e, 0x0d,
  2511. 0x60, 0x11, 0x01, 0x2e, 0x1a, 0x11, 0x95, 0xfc, 0x08, 0x56, 0x62, 0xde, 0xae, 0xee, 0xe9, 0x63,
  2512. 0x9f, 0x86, 0x28, 0xdd, 0x77, 0x89, 0x11, 0x68, 0xec, 0x0d, 0x27, 0xa4, 0xcd, 0xe2, 0x72, 0x28,
  2513. 0xc4, 0x4c, 0x26, 0x37, 0x01, 0xbd, 0x20, 0x27, 0xcd, 0xe8, 0xf6, 0xc5, 0xa1, 0x3b, 0x50, 0x35,
  2514. 0x6d, 0xc3, 0x9a, 0x0c, 0x88, 0x36, 0x22, 0x4e, 0xe2, 0x65, 0xa4, 0x80, 0x57, 0xb9, 0xea, 0x80,
  2515. 0x38, 0xfc, 0x81, 0x44, 0xfe, 0x51, 0x0e, 0xca, 0x6c, 0xb5, 0x1b, 0xf4, 0x0a, 0x7e, 0x1a, 0xa0,
  2516. 0x03, 0x1a, 0x1e, 0x03, 0xcd, 0x72, 0xec, 0x91, 0xe6, 0x11, 0x23, 0xe0, 0x4b, 0x90, 0x7a, 0x13,
  2517. 0x17, 0x8e, 0x1b, 0x2e, 0x59, 0xc2, 0xd9, 0xfb, 0x00, 0x2a, 0x71, 0x9c, 0x0d, 0x9d, 0x93, 0xdd,
  2518. 0xca, 0x6d, 0x17, 0x71, 0x1c, 0x7d, 0xd9, 0x8c, 0x51, 0x0f, 0x56, 0xa7, 0xfe, 0xd3, 0x5c, 0x36,
  2519. 0x0b, 0x5e, 0x5f, 0x7f, 0xf8, 0x2e, 0x37, 0x72, 0x7f, 0xe1, 0x15, 0x63, 0xc6, 0x81, 0x1a, 0xac,
  2520. 0x27, 0xdf, 0xe0, 0x22, 0xe2, 0x30, 0x38, 0x7f, 0x34, 0x27, 0xc1, 0x50, 0x50, 0x18, 0x80, 0x39,
  2521. 0x79, 0xd5, 0x3d, 0x2f, 0x44, 0x5f, 0xc1, 0x5a, 0xe2, 0x25, 0x2e, 0xe2, 0x5f, 0x64, 0xfc, 0xf7,
  2522. 0xd2, 0xf8, 0xcf, 0x2f, 0x18, 0x46, 0x6f, 0xcf, 0xc9, 0xe4, 0x6f, 0x33, 0xb0, 0xc6, 0xb7, 0x18,
  2523. 0x61, 0x8b, 0x83, 0xc9, 0xff, 0x4e, 0x88, 0x4f, 0xe3, 0xd9, 0x02, 0x7b, 0x4e, 0xe1, 0x8b, 0x72,
  2524. 0x6b, 0xee, 0xf3, 0x08, 0x0e, 0x6d, 0xd1, 0x13, 0x28, 0x0c, 0xc3, 0xa7, 0xb3, 0x70, 0x09, 0x4a,
  2525. 0x0f, 0xef, 0xbc, 0xe3, 0x89, 0x0d, 0xc7, 0x00, 0x7a, 0x22, 0xc3, 0x17, 0x1d, 0x23, 0xdc, 0x1f,
  2526. 0xec, 0x80, 0xcc, 0x39, 0x91, 0xe2, 0x5e, 0xc2, 0x65, 0x53, 0x68, 0xc9, 0xcf, 0x60, 0x83, 0x69,
  2527. 0xa7, 0x87, 0x27, 0xda, 0x73, 0x12, 0xe4, 0xa6, 0x0f, 0x4a, 0xf4, 0x27, 0xba, 0x03, 0x25, 0x97,
  2528. 0xf6, 0x6a, 0x4f, 0xc6, 0x27, 0xc4, 0x8b, 0x1e, 0xf6, 0xa8, 0xa8, 0xc3, 0x24, 0xf2, 0x5f, 0x8a,
  2529. 0xb0, 0x3e, 0xe3, 0x22, 0xdf, 0x75, 0x6c, 0x9f, 0xa0, 0xcf, 0x41, 0x1a, 0xea, 0x06, 0x11, 0x9e,
  2530. 0x54, 0xa3, 0x63, 0xf9, 0xcf, 0x97, 0xbb, 0xfd, 0xe1, 0x95, 0x61, 0xa2, 0xed, 0xa3, 0xff, 0x86,
  2531. 0xb5, 0xe8, 0xc1, 0x22, 0x41, 0x1b, 0x7a, 0x73, 0x3b, 0x8d, 0x76, 0xb6, 0x42, 0xc4, 0xd5, 0x88,
  2532. 0x45, 0x24, 0xef, 0x81, 0x64, 0x39, 0x23, 0x27, 0x41, 0x9c, 0xbb, 0x22, 0xf1, 0x0a, 0x65, 0x10,
  2533. 0x49, 0x8f, 0x61, 0xd5, 0xd2, 0x4f, 0x88, 0x95, 0x60, 0xcd, 0x5f, 0x91, 0x55, 0x62, 0x14, 0x22,
  2534. 0xad, 0x0f, 0x37, 0xad, 0xa8, 0xd4, 0xd2, 0x1c, 0x56, 0x6b, 0x25, 0x7a, 0xd8, 0x60, 0x3d, 0x3c,
  2535. 0x98, 0x57, 0x04, 0x5e, 0x58, 0xa6, 0xe1, 0x4d, 0x2b, 0x4d, 0xc5, 0x1c, 0x34, 0xf3, 0x46, 0x4e,
  2536. 0xcf, 0xf1, 0x15, 0x1d, 0x44, 0x19, 0x44, 0xd2, 0x2f, 0x60, 0x6d, 0x38, 0xb1, 0x2c, 0x6d, 0x86,
  2537. 0x99, 0x3d, 0xc0, 0xcc, 0xd9, 0x29, 0xfd, 0x04, 0x0d, 0x46, 0x94, 0x23, 0x29, 0x43, 0x27, 0xb0,
  2538. 0xe1, 0xeb, 0x43, 0x12, 0x05, 0x1e, 0x81, 0x3b, 0x0c, 0x0e, 0xf7, 0xd3, 0xb8, 0x2f, 0x2a, 0xfd,
  2539. 0xf0, 0x9a, 0x7f, 0x51, 0x41, 0x38, 0x82, 0x1b, 0xe1, 0xa9, 0x9c, 0xd6, 0xc1, 0x62, 0x47, 0x85,
  2540. 0xf9, 0xe1, 0x73, 0x26, 0xbb, 0xe3, 0xeb, 0x66, 0x52, 0x20, 0x74, 0xa4, 0xc1, 0xba, 0x10, 0x9d,
  2541. 0x85, 0x2e, 0x4a, 0xf3, 0x03, 0xe9, 0x05, 0x99, 0x12, 0x57, 0x8d, 0x0b, 0xd2, 0x67, 0x0b, 0x96,
  2542. 0x13, 0x81, 0x94, 0xbd, 0x53, 0xcd, 0x89, 0x2f, 0x62, 0x04, 0xc5, 0x65, 0x31, 0x76, 0x52, 0xc7,
  2543. 0xcf, 0x04, 0xfd, 0x28, 0xfb, 0x55, 0xe6, 0x3b, 0x3e, 0x11, 0xf5, 0x79, 0x62, 0xc4, 0x6b, 0xee,
  2544. 0x05, 0x52, 0x5a, 0xd9, 0x11, 0xcf, 0x73, 0x3c, 0x56, 0x98, 0x0a, 0x95, 0x9d, 0xe7, 0x1a, 0x3b,
  2545. 0x3d, 0xf6, 0x49, 0x04, 0x87, 0x06, 0xe8, 0x90, 0x3f, 0x72, 0x9f, 0x06, 0xb5, 0x75, 0x66, 0xbb,
  2546. 0x33, 0x77, 0x39, 0xce, 0x05, 0x45, 0x1c, 0xc1, 0xe5, 0x5f, 0x0b, 0xd9, 0x60, 0xdf, 0xb4, 0xa6,
  2547. 0x91, 0x6e, 0x1f, 0xca, 0xa6, 0xed, 0x4e, 0x82, 0xf0, 0x7d, 0x75, 0xf4, 0xae, 0x4c, 0xdd, 0xa2,
  2548. 0xb6, 0xec, 0xb5, 0x75, 0x84, 0x4b, 0xe6, 0xb4, 0x81, 0x9e, 0x41, 0xd1, 0xe3, 0x9c, 0x51, 0x4c,
  2549. 0xfb, 0x97, 0x34, 0x92, 0x0b, 0x63, 0x2e, 0x9e, 0xe2, 0xe5, 0x21, 0x6c, 0xee, 0xe9, 0x41, 0xbc,
  2550. 0x5b, 0x43, 0x43, 0x3f, 0x4a, 0x60, 0x87, 0x50, 0xf0, 0xc2, 0x9f, 0x51, 0x50, 0xbe, 0x7f, 0xc9,
  2551. 0x9e, 0x18, 0x08, 0xc7, 0x68, 0xf9, 0x35, 0xdc, 0xb8, 0xb0, 0x1f, 0xee, 0x9b, 0xc4, 0x9c, 0x32,
  2552. 0x7f, 0xe7, 0x9c, 0x7e, 0x9b, 0x85, 0x5a, 0xdd, 0x3f, 0xb3, 0x8d, 0xe4, 0x32, 0x84, 0x53, 0xfa,
  2553. 0xbe, 0x56, 0xe1, 0x1f, 0x24, 0x4d, 0x53, 0x2a, 0x67, 0x12, 0x08, 0x13, 0xca, 0xcf, 0xa7, 0x52,
  2554. 0x99, 0x31, 0x9f, 0x51, 0xd9, 0x11, 0x5a, 0xf2, 0x10, 0xae, 0x5f, 0xe0, 0x36, 0xbe, 0x42, 0xe7,
  2555. 0xfa, 0xc9, 0x7c, 0xe7, 0x7e, 0x6c, 0xb8, 0xcd, 0xfa, 0x49, 0x6c, 0x08, 0xda, 0x59, 0xbc, 0xef,
  2556. 0xda, 0xe7, 0xf6, 0x5d, 0xea, 0xcd, 0x25, 0x6d, 0xa1, 0x85, 0xbd, 0xe7, 0xc1, 0x9d, 0xd4, 0xfe,
  2557. 0xf8, 0xec, 0xd4, 0xf3, 0xfb, 0xef, 0xc1, 0x15, 0x7a, 0x3c, 0xbf, 0x07, 0x2d, 0x28, 0x09, 0x5b,
  2558. 0x07, 0x7d, 0x06, 0x30, 0x32, 0x7c, 0x8d, 0x7f, 0x2d, 0x0b, 0x5d, 0x97, 0x7a, 0xc7, 0x3b, 0x30,
  2559. 0x7c, 0xfe, 0xad, 0xac, 0x38, 0x8a, 0x7e, 0xa2, 0x1b, 0x50, 0x1c, 0x9b, 0x63, 0xa2, 0xb1, 0xe7,
  2560. 0x71, 0xfe, 0xad, 0x8e, 0x0a, 0xfa, 0x67, 0x2e, 0x91, 0xff, 0x1f, 0xca, 0xa2, 0xbf, 0x91, 0x0a,
  2561. 0x2b, 0xb4, 0xbb, 0x01, 0xf1, 0x03, 0xd3, 0x0e, 0x33, 0x40, 0x66, 0x7e, 0xa6, 0x3c, 0x30, 0xfc,
  2562. 0xe6, 0xd4, 0x1a, 0x57, 0x46, 0x89, 0x36, 0xba, 0x05, 0x70, 0x42, 0xbd, 0xa7, 0xf9, 0xe6, 0x37,
  2563. 0x84, 0xd7, 0x77, 0x45, 0x26, 0xe9, 0x99, 0xdf, 0x10, 0xf9, 0x16, 0x14, 0xe3, 0x41, 0x9f, 0x2f,
  2564. 0x0f, 0x65, 0x19, 0x2a, 0x49, 0xfe, 0x0b, 0x6c, 0x7e, 0x95, 0x85, 0x55, 0x35, 0xfa, 0x0a, 0x7e,
  2565. 0x44, 0x02, 0x7d, 0xa0, 0x07, 0x3a, 0x52, 0x60, 0xc1, 0xa7, 0x6e, 0xe6, 0x4f, 0x29, 0xa9, 0x9f,
  2566. 0xdc, 0xce, 0x21, 0x59, 0x78, 0x27, 0x38, 0x44, 0xa3, 0x27, 0x50, 0x32, 0x3c, 0xa2, 0x07, 0x44,
  2567. 0x0b, 0xcc, 0x31, 0xe1, 0xd7, 0x8a, 0xcd, 0x88, 0x2c, 0xfa, 0x82, 0xbe, 0xd3, 0x8f, 0xbe, 0xa0,
  2568. 0x63, 0x08, 0xcd, 0xa9, 0x80, 0x82, 0x27, 0xee, 0x20, 0x06, 0x2f, 0xbe, 0x1b, 0x1c, 0x9a, 0x53,
  2569. 0x81, 0xfc, 0x39, 0x2c, 0xb0, 0x91, 0xa0, 0x75, 0x58, 0xed, 0xf5, 0xeb, 0xfd, 0xd9, 0x8f, 0xd7,
  2570. 0x25, 0x58, 0x6a, 0x60, 0xa5, 0xde, 0x57, 0x9a, 0x52, 0x86, 0x36, 0xf0, 0x71, 0xa7, 0xd3, 0xea,
  2571. 0x1c, 0x48, 0x59, 0x54, 0x80, 0x7c, 0x53, 0xed, 0x28, 0x52, 0x0e, 0x2d, 0x43, 0xb1, 0x51, 0xef,
  2572. 0x34, 0x94, 0x76, 0x5b, 0x69, 0x4a, 0xf9, 0x7b, 0x04, 0x40, 0xf8, 0x26, 0x53, 0x82, 0x25, 0xfe,
  2573. 0x81, 0x42, 0x7a, 0x0f, 0xad, 0xc2, 0xf2, 0x73, 0x05, 0xbf, 0xd4, 0x8e, 0x3b, 0xed, 0xd6, 0x33,
  2574. 0xa5, 0xfd, 0x52, 0xca, 0xa0, 0x32, 0x14, 0xe2, 0x56, 0x96, 0xb6, 0xba, 0x6a, 0xaf, 0xd7, 0xda,
  2575. 0x6b, 0x53, 0x62, 0x80, 0x45, 0xae, 0xc9, 0xa3, 0x15, 0x28, 0x31, 0x28, 0x17, 0x2c, 0x3c, 0xfc,
  2576. 0x63, 0x16, 0x2a, 0x62, 0xae, 0x73, 0x3c, 0xf4, 0xd3, 0x0c, 0x54, 0x2f, 0x88, 0xe2, 0xe8, 0x61,
  2577. 0xea, 0x85, 0x3f, 0x35, 0xb5, 0x6c, 0x7e, 0x7c, 0x25, 0x4c, 0x78, 0xac, 0xe4, 0xdb, 0x3f, 0xf8,
  2578. 0xf6, 0xcf, 0x3f, 0xce, 0xd6, 0xe4, 0x6a, 0xfc, 0x1f, 0x24, 0xfe, 0x63, 0x5e, 0xe5, 0x90, 0xc7,
  2579. 0x99, 0x7b, 0xe8, 0x27, 0x19, 0xb8, 0x96, 0x72, 0xd4, 0xd1, 0xa3, 0xb9, 0xe7, 0x39, 0x35, 0x16,
  2580. 0x6d, 0xc6, 0xb7, 0x36, 0xe1, 0xff, 0x35, 0xa6, 0xfb, 0x4d, 0xfe, 0x90, 0x0d, 0xe9, 0xae, 0x7c,
  2581. 0x93, 0x0e, 0x69, 0x48, 0x81, 0x8f, 0xf5, 0x73, 0x84, 0x8f, 0x33, 0xf7, 0xf6, 0xfe, 0x0f, 0x36,
  2582. 0x0d, 0x67, 0x9c, 0x32, 0x88, 0xbd, 0x6a, 0xd2, 0xd5, 0x5d, 0xba, 0xab, 0xba, 0x99, 0x2f, 0x9f,
  2583. 0x72, 0xf3, 0x91, 0x43, 0xaf, 0xe1, 0x3b, 0x8e, 0x37, 0xda, 0x1d, 0x11, 0x9b, 0xed, 0xb9, 0xdd,
  2584. 0x50, 0xa5, 0xbb, 0xa6, 0x3f, 0xfb, 0x6f, 0x27, 0x4f, 0xc2, 0x5f, 0x7f, 0xcd, 0x64, 0x7e, 0x9e,
  2585. 0xcd, 0x1f, 0x34, 0x9e, 0x77, 0x4e, 0x16, 0x19, 0xe4, 0xe3, 0xbf, 0x05, 0x00, 0x00, 0xff, 0xff,
  2586. 0x3b, 0x54, 0xc8, 0x94, 0x8e, 0x23, 0x00, 0x00,
  2587. }