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.
 
 
 

2701 lines
112 KiB

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