blob: 17e132ad86dc783daa4f6581b390ef9aac9c03cd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
syntax = "proto3";
package yandex.cloud.ai.vision.v2;
option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud/ai/vision/v2;vision";
option java_package = "yandex.cloud.api.ai.vision.v2";
message Image {
// type of image
enum ImageType {
IMAGE_TYPE_UNSPECIFIED = 0;
JPEG = 1;
PNG = 2;
}
oneof ImageSource {
// bytes with data
bytes content = 1;
}
// type of data
ImageType image_type = 2;
}
|