1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/cloud/videointelligence/v1p2beta1/video_intelligence.proto
3
4package videointelligence
5
6import (
7	context "context"
8	fmt "fmt"
9	math "math"
10
11	proto "github.com/golang/protobuf/proto"
12	duration "github.com/golang/protobuf/ptypes/duration"
13	timestamp "github.com/golang/protobuf/ptypes/timestamp"
14	_ "google.golang.org/genproto/googleapis/api/annotations"
15	longrunning "google.golang.org/genproto/googleapis/longrunning"
16	status "google.golang.org/genproto/googleapis/rpc/status"
17	grpc "google.golang.org/grpc"
18)
19
20// Reference imports to suppress errors if they are not otherwise used.
21var _ = proto.Marshal
22var _ = fmt.Errorf
23var _ = math.Inf
24
25// This is a compile-time assertion to ensure that this generated file
26// is compatible with the proto package it is being compiled against.
27// A compilation error at this line likely means your copy of the
28// proto package needs to be updated.
29const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
30
31// Video annotation feature.
32type Feature int32
33
34const (
35	// Unspecified.
36	Feature_FEATURE_UNSPECIFIED Feature = 0
37	// Label detection. Detect objects, such as dog or flower.
38	Feature_LABEL_DETECTION Feature = 1
39	// Shot change detection.
40	Feature_SHOT_CHANGE_DETECTION Feature = 2
41	// Explicit content detection.
42	Feature_EXPLICIT_CONTENT_DETECTION Feature = 3
43	// OCR text detection and tracking.
44	Feature_TEXT_DETECTION Feature = 7
45	// Object detection and tracking.
46	Feature_OBJECT_TRACKING Feature = 9
47)
48
49var Feature_name = map[int32]string{
50	0: "FEATURE_UNSPECIFIED",
51	1: "LABEL_DETECTION",
52	2: "SHOT_CHANGE_DETECTION",
53	3: "EXPLICIT_CONTENT_DETECTION",
54	7: "TEXT_DETECTION",
55	9: "OBJECT_TRACKING",
56}
57
58var Feature_value = map[string]int32{
59	"FEATURE_UNSPECIFIED":        0,
60	"LABEL_DETECTION":            1,
61	"SHOT_CHANGE_DETECTION":      2,
62	"EXPLICIT_CONTENT_DETECTION": 3,
63	"TEXT_DETECTION":             7,
64	"OBJECT_TRACKING":            9,
65}
66
67func (x Feature) String() string {
68	return proto.EnumName(Feature_name, int32(x))
69}
70
71func (Feature) EnumDescriptor() ([]byte, []int) {
72	return fileDescriptor_890c5161889e04ed, []int{0}
73}
74
75// Label detection mode.
76type LabelDetectionMode int32
77
78const (
79	// Unspecified.
80	LabelDetectionMode_LABEL_DETECTION_MODE_UNSPECIFIED LabelDetectionMode = 0
81	// Detect shot-level labels.
82	LabelDetectionMode_SHOT_MODE LabelDetectionMode = 1
83	// Detect frame-level labels.
84	LabelDetectionMode_FRAME_MODE LabelDetectionMode = 2
85	// Detect both shot-level and frame-level labels.
86	LabelDetectionMode_SHOT_AND_FRAME_MODE LabelDetectionMode = 3
87)
88
89var LabelDetectionMode_name = map[int32]string{
90	0: "LABEL_DETECTION_MODE_UNSPECIFIED",
91	1: "SHOT_MODE",
92	2: "FRAME_MODE",
93	3: "SHOT_AND_FRAME_MODE",
94}
95
96var LabelDetectionMode_value = map[string]int32{
97	"LABEL_DETECTION_MODE_UNSPECIFIED": 0,
98	"SHOT_MODE":                        1,
99	"FRAME_MODE":                       2,
100	"SHOT_AND_FRAME_MODE":              3,
101}
102
103func (x LabelDetectionMode) String() string {
104	return proto.EnumName(LabelDetectionMode_name, int32(x))
105}
106
107func (LabelDetectionMode) EnumDescriptor() ([]byte, []int) {
108	return fileDescriptor_890c5161889e04ed, []int{1}
109}
110
111// Bucketized representation of likelihood.
112type Likelihood int32
113
114const (
115	// Unspecified likelihood.
116	Likelihood_LIKELIHOOD_UNSPECIFIED Likelihood = 0
117	// Very unlikely.
118	Likelihood_VERY_UNLIKELY Likelihood = 1
119	// Unlikely.
120	Likelihood_UNLIKELY Likelihood = 2
121	// Possible.
122	Likelihood_POSSIBLE Likelihood = 3
123	// Likely.
124	Likelihood_LIKELY Likelihood = 4
125	// Very likely.
126	Likelihood_VERY_LIKELY Likelihood = 5
127)
128
129var Likelihood_name = map[int32]string{
130	0: "LIKELIHOOD_UNSPECIFIED",
131	1: "VERY_UNLIKELY",
132	2: "UNLIKELY",
133	3: "POSSIBLE",
134	4: "LIKELY",
135	5: "VERY_LIKELY",
136}
137
138var Likelihood_value = map[string]int32{
139	"LIKELIHOOD_UNSPECIFIED": 0,
140	"VERY_UNLIKELY":          1,
141	"UNLIKELY":               2,
142	"POSSIBLE":               3,
143	"LIKELY":                 4,
144	"VERY_LIKELY":            5,
145}
146
147func (x Likelihood) String() string {
148	return proto.EnumName(Likelihood_name, int32(x))
149}
150
151func (Likelihood) EnumDescriptor() ([]byte, []int) {
152	return fileDescriptor_890c5161889e04ed, []int{2}
153}
154
155// Video annotation request.
156type AnnotateVideoRequest struct {
157	// Input video location. Currently, only
158	// [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
159	// supported, which must be specified in the following format:
160	// `gs://bucket-id/object-id` (other URI formats return
161	// [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
162	// more information, see [Request URIs](/storage/docs/reference-uris). A video
163	// URI may include wildcards in `object-id`, and thus identify multiple
164	// videos. Supported wildcards: '*' to match 0 or more characters;
165	// '?' to match 1 character. If unset, the input video should be embedded
166	// in the request as `input_content`. If set, `input_content` should be unset.
167	InputUri string `protobuf:"bytes,1,opt,name=input_uri,json=inputUri,proto3" json:"input_uri,omitempty"`
168	// The video data bytes.
169	// If unset, the input video(s) should be specified via `input_uri`.
170	// If set, `input_uri` should be unset.
171	InputContent []byte `protobuf:"bytes,6,opt,name=input_content,json=inputContent,proto3" json:"input_content,omitempty"`
172	// Requested video annotation features.
173	Features []Feature `protobuf:"varint,2,rep,packed,name=features,proto3,enum=google.cloud.videointelligence.v1p2beta1.Feature" json:"features,omitempty"`
174	// Additional video context and/or feature-specific parameters.
175	VideoContext *VideoContext `protobuf:"bytes,3,opt,name=video_context,json=videoContext,proto3" json:"video_context,omitempty"`
176	// Optional location where the output (in JSON format) should be stored.
177	// Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
178	// URIs are supported, which must be specified in the following format:
179	// `gs://bucket-id/object-id` (other URI formats return
180	// [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
181	// more information, see [Request URIs](/storage/docs/reference-uris).
182	OutputUri string `protobuf:"bytes,4,opt,name=output_uri,json=outputUri,proto3" json:"output_uri,omitempty"`
183	// Optional cloud region where annotation should take place. Supported cloud
184	// regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region
185	// is specified, a region will be determined based on video file location.
186	LocationId           string   `protobuf:"bytes,5,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
187	XXX_NoUnkeyedLiteral struct{} `json:"-"`
188	XXX_unrecognized     []byte   `json:"-"`
189	XXX_sizecache        int32    `json:"-"`
190}
191
192func (m *AnnotateVideoRequest) Reset()         { *m = AnnotateVideoRequest{} }
193func (m *AnnotateVideoRequest) String() string { return proto.CompactTextString(m) }
194func (*AnnotateVideoRequest) ProtoMessage()    {}
195func (*AnnotateVideoRequest) Descriptor() ([]byte, []int) {
196	return fileDescriptor_890c5161889e04ed, []int{0}
197}
198
199func (m *AnnotateVideoRequest) XXX_Unmarshal(b []byte) error {
200	return xxx_messageInfo_AnnotateVideoRequest.Unmarshal(m, b)
201}
202func (m *AnnotateVideoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
203	return xxx_messageInfo_AnnotateVideoRequest.Marshal(b, m, deterministic)
204}
205func (m *AnnotateVideoRequest) XXX_Merge(src proto.Message) {
206	xxx_messageInfo_AnnotateVideoRequest.Merge(m, src)
207}
208func (m *AnnotateVideoRequest) XXX_Size() int {
209	return xxx_messageInfo_AnnotateVideoRequest.Size(m)
210}
211func (m *AnnotateVideoRequest) XXX_DiscardUnknown() {
212	xxx_messageInfo_AnnotateVideoRequest.DiscardUnknown(m)
213}
214
215var xxx_messageInfo_AnnotateVideoRequest proto.InternalMessageInfo
216
217func (m *AnnotateVideoRequest) GetInputUri() string {
218	if m != nil {
219		return m.InputUri
220	}
221	return ""
222}
223
224func (m *AnnotateVideoRequest) GetInputContent() []byte {
225	if m != nil {
226		return m.InputContent
227	}
228	return nil
229}
230
231func (m *AnnotateVideoRequest) GetFeatures() []Feature {
232	if m != nil {
233		return m.Features
234	}
235	return nil
236}
237
238func (m *AnnotateVideoRequest) GetVideoContext() *VideoContext {
239	if m != nil {
240		return m.VideoContext
241	}
242	return nil
243}
244
245func (m *AnnotateVideoRequest) GetOutputUri() string {
246	if m != nil {
247		return m.OutputUri
248	}
249	return ""
250}
251
252func (m *AnnotateVideoRequest) GetLocationId() string {
253	if m != nil {
254		return m.LocationId
255	}
256	return ""
257}
258
259// Video context and/or feature-specific parameters.
260type VideoContext struct {
261	// Video segments to annotate. The segments may overlap and are not required
262	// to be contiguous or span the whole video. If unspecified, each video is
263	// treated as a single segment.
264	Segments []*VideoSegment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"`
265	// Config for LABEL_DETECTION.
266	LabelDetectionConfig *LabelDetectionConfig `protobuf:"bytes,2,opt,name=label_detection_config,json=labelDetectionConfig,proto3" json:"label_detection_config,omitempty"`
267	// Config for SHOT_CHANGE_DETECTION.
268	ShotChangeDetectionConfig *ShotChangeDetectionConfig `protobuf:"bytes,3,opt,name=shot_change_detection_config,json=shotChangeDetectionConfig,proto3" json:"shot_change_detection_config,omitempty"`
269	// Config for EXPLICIT_CONTENT_DETECTION.
270	ExplicitContentDetectionConfig *ExplicitContentDetectionConfig `protobuf:"bytes,4,opt,name=explicit_content_detection_config,json=explicitContentDetectionConfig,proto3" json:"explicit_content_detection_config,omitempty"`
271	// Config for TEXT_DETECTION.
272	TextDetectionConfig  *TextDetectionConfig `protobuf:"bytes,8,opt,name=text_detection_config,json=textDetectionConfig,proto3" json:"text_detection_config,omitempty"`
273	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
274	XXX_unrecognized     []byte               `json:"-"`
275	XXX_sizecache        int32                `json:"-"`
276}
277
278func (m *VideoContext) Reset()         { *m = VideoContext{} }
279func (m *VideoContext) String() string { return proto.CompactTextString(m) }
280func (*VideoContext) ProtoMessage()    {}
281func (*VideoContext) Descriptor() ([]byte, []int) {
282	return fileDescriptor_890c5161889e04ed, []int{1}
283}
284
285func (m *VideoContext) XXX_Unmarshal(b []byte) error {
286	return xxx_messageInfo_VideoContext.Unmarshal(m, b)
287}
288func (m *VideoContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
289	return xxx_messageInfo_VideoContext.Marshal(b, m, deterministic)
290}
291func (m *VideoContext) XXX_Merge(src proto.Message) {
292	xxx_messageInfo_VideoContext.Merge(m, src)
293}
294func (m *VideoContext) XXX_Size() int {
295	return xxx_messageInfo_VideoContext.Size(m)
296}
297func (m *VideoContext) XXX_DiscardUnknown() {
298	xxx_messageInfo_VideoContext.DiscardUnknown(m)
299}
300
301var xxx_messageInfo_VideoContext proto.InternalMessageInfo
302
303func (m *VideoContext) GetSegments() []*VideoSegment {
304	if m != nil {
305		return m.Segments
306	}
307	return nil
308}
309
310func (m *VideoContext) GetLabelDetectionConfig() *LabelDetectionConfig {
311	if m != nil {
312		return m.LabelDetectionConfig
313	}
314	return nil
315}
316
317func (m *VideoContext) GetShotChangeDetectionConfig() *ShotChangeDetectionConfig {
318	if m != nil {
319		return m.ShotChangeDetectionConfig
320	}
321	return nil
322}
323
324func (m *VideoContext) GetExplicitContentDetectionConfig() *ExplicitContentDetectionConfig {
325	if m != nil {
326		return m.ExplicitContentDetectionConfig
327	}
328	return nil
329}
330
331func (m *VideoContext) GetTextDetectionConfig() *TextDetectionConfig {
332	if m != nil {
333		return m.TextDetectionConfig
334	}
335	return nil
336}
337
338// Config for LABEL_DETECTION.
339type LabelDetectionConfig struct {
340	// What labels should be detected with LABEL_DETECTION, in addition to
341	// video-level labels or segment-level labels.
342	// If unspecified, defaults to `SHOT_MODE`.
343	LabelDetectionMode LabelDetectionMode `protobuf:"varint,1,opt,name=label_detection_mode,json=labelDetectionMode,proto3,enum=google.cloud.videointelligence.v1p2beta1.LabelDetectionMode" json:"label_detection_mode,omitempty"`
344	// Whether the video has been shot from a stationary (i.e. non-moving) camera.
345	// When set to true, might improve detection accuracy for moving objects.
346	// Should be used with `SHOT_AND_FRAME_MODE` enabled.
347	StationaryCamera bool `protobuf:"varint,2,opt,name=stationary_camera,json=stationaryCamera,proto3" json:"stationary_camera,omitempty"`
348	// Model to use for label detection.
349	// Supported values: "builtin/stable" (the default if unset) and
350	// "builtin/latest".
351	Model                string   `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"`
352	XXX_NoUnkeyedLiteral struct{} `json:"-"`
353	XXX_unrecognized     []byte   `json:"-"`
354	XXX_sizecache        int32    `json:"-"`
355}
356
357func (m *LabelDetectionConfig) Reset()         { *m = LabelDetectionConfig{} }
358func (m *LabelDetectionConfig) String() string { return proto.CompactTextString(m) }
359func (*LabelDetectionConfig) ProtoMessage()    {}
360func (*LabelDetectionConfig) Descriptor() ([]byte, []int) {
361	return fileDescriptor_890c5161889e04ed, []int{2}
362}
363
364func (m *LabelDetectionConfig) XXX_Unmarshal(b []byte) error {
365	return xxx_messageInfo_LabelDetectionConfig.Unmarshal(m, b)
366}
367func (m *LabelDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
368	return xxx_messageInfo_LabelDetectionConfig.Marshal(b, m, deterministic)
369}
370func (m *LabelDetectionConfig) XXX_Merge(src proto.Message) {
371	xxx_messageInfo_LabelDetectionConfig.Merge(m, src)
372}
373func (m *LabelDetectionConfig) XXX_Size() int {
374	return xxx_messageInfo_LabelDetectionConfig.Size(m)
375}
376func (m *LabelDetectionConfig) XXX_DiscardUnknown() {
377	xxx_messageInfo_LabelDetectionConfig.DiscardUnknown(m)
378}
379
380var xxx_messageInfo_LabelDetectionConfig proto.InternalMessageInfo
381
382func (m *LabelDetectionConfig) GetLabelDetectionMode() LabelDetectionMode {
383	if m != nil {
384		return m.LabelDetectionMode
385	}
386	return LabelDetectionMode_LABEL_DETECTION_MODE_UNSPECIFIED
387}
388
389func (m *LabelDetectionConfig) GetStationaryCamera() bool {
390	if m != nil {
391		return m.StationaryCamera
392	}
393	return false
394}
395
396func (m *LabelDetectionConfig) GetModel() string {
397	if m != nil {
398		return m.Model
399	}
400	return ""
401}
402
403// Config for SHOT_CHANGE_DETECTION.
404type ShotChangeDetectionConfig struct {
405	// Model to use for shot change detection.
406	// Supported values: "builtin/stable" (the default if unset) and
407	// "builtin/latest".
408	Model                string   `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
409	XXX_NoUnkeyedLiteral struct{} `json:"-"`
410	XXX_unrecognized     []byte   `json:"-"`
411	XXX_sizecache        int32    `json:"-"`
412}
413
414func (m *ShotChangeDetectionConfig) Reset()         { *m = ShotChangeDetectionConfig{} }
415func (m *ShotChangeDetectionConfig) String() string { return proto.CompactTextString(m) }
416func (*ShotChangeDetectionConfig) ProtoMessage()    {}
417func (*ShotChangeDetectionConfig) Descriptor() ([]byte, []int) {
418	return fileDescriptor_890c5161889e04ed, []int{3}
419}
420
421func (m *ShotChangeDetectionConfig) XXX_Unmarshal(b []byte) error {
422	return xxx_messageInfo_ShotChangeDetectionConfig.Unmarshal(m, b)
423}
424func (m *ShotChangeDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
425	return xxx_messageInfo_ShotChangeDetectionConfig.Marshal(b, m, deterministic)
426}
427func (m *ShotChangeDetectionConfig) XXX_Merge(src proto.Message) {
428	xxx_messageInfo_ShotChangeDetectionConfig.Merge(m, src)
429}
430func (m *ShotChangeDetectionConfig) XXX_Size() int {
431	return xxx_messageInfo_ShotChangeDetectionConfig.Size(m)
432}
433func (m *ShotChangeDetectionConfig) XXX_DiscardUnknown() {
434	xxx_messageInfo_ShotChangeDetectionConfig.DiscardUnknown(m)
435}
436
437var xxx_messageInfo_ShotChangeDetectionConfig proto.InternalMessageInfo
438
439func (m *ShotChangeDetectionConfig) GetModel() string {
440	if m != nil {
441		return m.Model
442	}
443	return ""
444}
445
446// Config for EXPLICIT_CONTENT_DETECTION.
447type ExplicitContentDetectionConfig struct {
448	// Model to use for explicit content detection.
449	// Supported values: "builtin/stable" (the default if unset) and
450	// "builtin/latest".
451	Model                string   `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
452	XXX_NoUnkeyedLiteral struct{} `json:"-"`
453	XXX_unrecognized     []byte   `json:"-"`
454	XXX_sizecache        int32    `json:"-"`
455}
456
457func (m *ExplicitContentDetectionConfig) Reset()         { *m = ExplicitContentDetectionConfig{} }
458func (m *ExplicitContentDetectionConfig) String() string { return proto.CompactTextString(m) }
459func (*ExplicitContentDetectionConfig) ProtoMessage()    {}
460func (*ExplicitContentDetectionConfig) Descriptor() ([]byte, []int) {
461	return fileDescriptor_890c5161889e04ed, []int{4}
462}
463
464func (m *ExplicitContentDetectionConfig) XXX_Unmarshal(b []byte) error {
465	return xxx_messageInfo_ExplicitContentDetectionConfig.Unmarshal(m, b)
466}
467func (m *ExplicitContentDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
468	return xxx_messageInfo_ExplicitContentDetectionConfig.Marshal(b, m, deterministic)
469}
470func (m *ExplicitContentDetectionConfig) XXX_Merge(src proto.Message) {
471	xxx_messageInfo_ExplicitContentDetectionConfig.Merge(m, src)
472}
473func (m *ExplicitContentDetectionConfig) XXX_Size() int {
474	return xxx_messageInfo_ExplicitContentDetectionConfig.Size(m)
475}
476func (m *ExplicitContentDetectionConfig) XXX_DiscardUnknown() {
477	xxx_messageInfo_ExplicitContentDetectionConfig.DiscardUnknown(m)
478}
479
480var xxx_messageInfo_ExplicitContentDetectionConfig proto.InternalMessageInfo
481
482func (m *ExplicitContentDetectionConfig) GetModel() string {
483	if m != nil {
484		return m.Model
485	}
486	return ""
487}
488
489// Config for TEXT_DETECTION.
490type TextDetectionConfig struct {
491	// Language hint can be specified if the language to be detected is known a
492	// priori. It can increase the accuracy of the detection. Language hint must
493	// be language code in BCP-47 format.
494	//
495	// Automatic language detection is performed if no hint is provided.
496	LanguageHints        []string `protobuf:"bytes,1,rep,name=language_hints,json=languageHints,proto3" json:"language_hints,omitempty"`
497	XXX_NoUnkeyedLiteral struct{} `json:"-"`
498	XXX_unrecognized     []byte   `json:"-"`
499	XXX_sizecache        int32    `json:"-"`
500}
501
502func (m *TextDetectionConfig) Reset()         { *m = TextDetectionConfig{} }
503func (m *TextDetectionConfig) String() string { return proto.CompactTextString(m) }
504func (*TextDetectionConfig) ProtoMessage()    {}
505func (*TextDetectionConfig) Descriptor() ([]byte, []int) {
506	return fileDescriptor_890c5161889e04ed, []int{5}
507}
508
509func (m *TextDetectionConfig) XXX_Unmarshal(b []byte) error {
510	return xxx_messageInfo_TextDetectionConfig.Unmarshal(m, b)
511}
512func (m *TextDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
513	return xxx_messageInfo_TextDetectionConfig.Marshal(b, m, deterministic)
514}
515func (m *TextDetectionConfig) XXX_Merge(src proto.Message) {
516	xxx_messageInfo_TextDetectionConfig.Merge(m, src)
517}
518func (m *TextDetectionConfig) XXX_Size() int {
519	return xxx_messageInfo_TextDetectionConfig.Size(m)
520}
521func (m *TextDetectionConfig) XXX_DiscardUnknown() {
522	xxx_messageInfo_TextDetectionConfig.DiscardUnknown(m)
523}
524
525var xxx_messageInfo_TextDetectionConfig proto.InternalMessageInfo
526
527func (m *TextDetectionConfig) GetLanguageHints() []string {
528	if m != nil {
529		return m.LanguageHints
530	}
531	return nil
532}
533
534// Video segment.
535type VideoSegment struct {
536	// Time-offset, relative to the beginning of the video,
537	// corresponding to the start of the segment (inclusive).
538	StartTimeOffset *duration.Duration `protobuf:"bytes,1,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"`
539	// Time-offset, relative to the beginning of the video,
540	// corresponding to the end of the segment (inclusive).
541	EndTimeOffset        *duration.Duration `protobuf:"bytes,2,opt,name=end_time_offset,json=endTimeOffset,proto3" json:"end_time_offset,omitempty"`
542	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
543	XXX_unrecognized     []byte             `json:"-"`
544	XXX_sizecache        int32              `json:"-"`
545}
546
547func (m *VideoSegment) Reset()         { *m = VideoSegment{} }
548func (m *VideoSegment) String() string { return proto.CompactTextString(m) }
549func (*VideoSegment) ProtoMessage()    {}
550func (*VideoSegment) Descriptor() ([]byte, []int) {
551	return fileDescriptor_890c5161889e04ed, []int{6}
552}
553
554func (m *VideoSegment) XXX_Unmarshal(b []byte) error {
555	return xxx_messageInfo_VideoSegment.Unmarshal(m, b)
556}
557func (m *VideoSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
558	return xxx_messageInfo_VideoSegment.Marshal(b, m, deterministic)
559}
560func (m *VideoSegment) XXX_Merge(src proto.Message) {
561	xxx_messageInfo_VideoSegment.Merge(m, src)
562}
563func (m *VideoSegment) XXX_Size() int {
564	return xxx_messageInfo_VideoSegment.Size(m)
565}
566func (m *VideoSegment) XXX_DiscardUnknown() {
567	xxx_messageInfo_VideoSegment.DiscardUnknown(m)
568}
569
570var xxx_messageInfo_VideoSegment proto.InternalMessageInfo
571
572func (m *VideoSegment) GetStartTimeOffset() *duration.Duration {
573	if m != nil {
574		return m.StartTimeOffset
575	}
576	return nil
577}
578
579func (m *VideoSegment) GetEndTimeOffset() *duration.Duration {
580	if m != nil {
581		return m.EndTimeOffset
582	}
583	return nil
584}
585
586// Video segment level annotation results for label detection.
587type LabelSegment struct {
588	// Video segment where a label was detected.
589	Segment *VideoSegment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"`
590	// Confidence that the label is accurate. Range: [0, 1].
591	Confidence           float32  `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
592	XXX_NoUnkeyedLiteral struct{} `json:"-"`
593	XXX_unrecognized     []byte   `json:"-"`
594	XXX_sizecache        int32    `json:"-"`
595}
596
597func (m *LabelSegment) Reset()         { *m = LabelSegment{} }
598func (m *LabelSegment) String() string { return proto.CompactTextString(m) }
599func (*LabelSegment) ProtoMessage()    {}
600func (*LabelSegment) Descriptor() ([]byte, []int) {
601	return fileDescriptor_890c5161889e04ed, []int{7}
602}
603
604func (m *LabelSegment) XXX_Unmarshal(b []byte) error {
605	return xxx_messageInfo_LabelSegment.Unmarshal(m, b)
606}
607func (m *LabelSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
608	return xxx_messageInfo_LabelSegment.Marshal(b, m, deterministic)
609}
610func (m *LabelSegment) XXX_Merge(src proto.Message) {
611	xxx_messageInfo_LabelSegment.Merge(m, src)
612}
613func (m *LabelSegment) XXX_Size() int {
614	return xxx_messageInfo_LabelSegment.Size(m)
615}
616func (m *LabelSegment) XXX_DiscardUnknown() {
617	xxx_messageInfo_LabelSegment.DiscardUnknown(m)
618}
619
620var xxx_messageInfo_LabelSegment proto.InternalMessageInfo
621
622func (m *LabelSegment) GetSegment() *VideoSegment {
623	if m != nil {
624		return m.Segment
625	}
626	return nil
627}
628
629func (m *LabelSegment) GetConfidence() float32 {
630	if m != nil {
631		return m.Confidence
632	}
633	return 0
634}
635
636// Video frame level annotation results for label detection.
637type LabelFrame struct {
638	// Time-offset, relative to the beginning of the video, corresponding to the
639	// video frame for this location.
640	TimeOffset *duration.Duration `protobuf:"bytes,1,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"`
641	// Confidence that the label is accurate. Range: [0, 1].
642	Confidence           float32  `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
643	XXX_NoUnkeyedLiteral struct{} `json:"-"`
644	XXX_unrecognized     []byte   `json:"-"`
645	XXX_sizecache        int32    `json:"-"`
646}
647
648func (m *LabelFrame) Reset()         { *m = LabelFrame{} }
649func (m *LabelFrame) String() string { return proto.CompactTextString(m) }
650func (*LabelFrame) ProtoMessage()    {}
651func (*LabelFrame) Descriptor() ([]byte, []int) {
652	return fileDescriptor_890c5161889e04ed, []int{8}
653}
654
655func (m *LabelFrame) XXX_Unmarshal(b []byte) error {
656	return xxx_messageInfo_LabelFrame.Unmarshal(m, b)
657}
658func (m *LabelFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
659	return xxx_messageInfo_LabelFrame.Marshal(b, m, deterministic)
660}
661func (m *LabelFrame) XXX_Merge(src proto.Message) {
662	xxx_messageInfo_LabelFrame.Merge(m, src)
663}
664func (m *LabelFrame) XXX_Size() int {
665	return xxx_messageInfo_LabelFrame.Size(m)
666}
667func (m *LabelFrame) XXX_DiscardUnknown() {
668	xxx_messageInfo_LabelFrame.DiscardUnknown(m)
669}
670
671var xxx_messageInfo_LabelFrame proto.InternalMessageInfo
672
673func (m *LabelFrame) GetTimeOffset() *duration.Duration {
674	if m != nil {
675		return m.TimeOffset
676	}
677	return nil
678}
679
680func (m *LabelFrame) GetConfidence() float32 {
681	if m != nil {
682		return m.Confidence
683	}
684	return 0
685}
686
687// Detected entity from video analysis.
688type Entity struct {
689	// Opaque entity ID. Some IDs may be available in
690	// [Google Knowledge Graph Search
691	// API](https://developers.google.com/knowledge-graph/).
692	EntityId string `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
693	// Textual description, e.g. `Fixed-gear bicycle`.
694	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
695	// Language code for `description` in BCP-47 format.
696	LanguageCode         string   `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
697	XXX_NoUnkeyedLiteral struct{} `json:"-"`
698	XXX_unrecognized     []byte   `json:"-"`
699	XXX_sizecache        int32    `json:"-"`
700}
701
702func (m *Entity) Reset()         { *m = Entity{} }
703func (m *Entity) String() string { return proto.CompactTextString(m) }
704func (*Entity) ProtoMessage()    {}
705func (*Entity) Descriptor() ([]byte, []int) {
706	return fileDescriptor_890c5161889e04ed, []int{9}
707}
708
709func (m *Entity) XXX_Unmarshal(b []byte) error {
710	return xxx_messageInfo_Entity.Unmarshal(m, b)
711}
712func (m *Entity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
713	return xxx_messageInfo_Entity.Marshal(b, m, deterministic)
714}
715func (m *Entity) XXX_Merge(src proto.Message) {
716	xxx_messageInfo_Entity.Merge(m, src)
717}
718func (m *Entity) XXX_Size() int {
719	return xxx_messageInfo_Entity.Size(m)
720}
721func (m *Entity) XXX_DiscardUnknown() {
722	xxx_messageInfo_Entity.DiscardUnknown(m)
723}
724
725var xxx_messageInfo_Entity proto.InternalMessageInfo
726
727func (m *Entity) GetEntityId() string {
728	if m != nil {
729		return m.EntityId
730	}
731	return ""
732}
733
734func (m *Entity) GetDescription() string {
735	if m != nil {
736		return m.Description
737	}
738	return ""
739}
740
741func (m *Entity) GetLanguageCode() string {
742	if m != nil {
743		return m.LanguageCode
744	}
745	return ""
746}
747
748// Label annotation.
749type LabelAnnotation struct {
750	// Detected entity.
751	Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
752	// Common categories for the detected entity.
753	// E.g. when the label is `Terrier` the category is likely `dog`. And in some
754	// cases there might be more than one categories e.g. `Terrier` could also be
755	// a `pet`.
756	CategoryEntities []*Entity `protobuf:"bytes,2,rep,name=category_entities,json=categoryEntities,proto3" json:"category_entities,omitempty"`
757	// All video segments where a label was detected.
758	Segments []*LabelSegment `protobuf:"bytes,3,rep,name=segments,proto3" json:"segments,omitempty"`
759	// All video frames where a label was detected.
760	Frames               []*LabelFrame `protobuf:"bytes,4,rep,name=frames,proto3" json:"frames,omitempty"`
761	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
762	XXX_unrecognized     []byte        `json:"-"`
763	XXX_sizecache        int32         `json:"-"`
764}
765
766func (m *LabelAnnotation) Reset()         { *m = LabelAnnotation{} }
767func (m *LabelAnnotation) String() string { return proto.CompactTextString(m) }
768func (*LabelAnnotation) ProtoMessage()    {}
769func (*LabelAnnotation) Descriptor() ([]byte, []int) {
770	return fileDescriptor_890c5161889e04ed, []int{10}
771}
772
773func (m *LabelAnnotation) XXX_Unmarshal(b []byte) error {
774	return xxx_messageInfo_LabelAnnotation.Unmarshal(m, b)
775}
776func (m *LabelAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
777	return xxx_messageInfo_LabelAnnotation.Marshal(b, m, deterministic)
778}
779func (m *LabelAnnotation) XXX_Merge(src proto.Message) {
780	xxx_messageInfo_LabelAnnotation.Merge(m, src)
781}
782func (m *LabelAnnotation) XXX_Size() int {
783	return xxx_messageInfo_LabelAnnotation.Size(m)
784}
785func (m *LabelAnnotation) XXX_DiscardUnknown() {
786	xxx_messageInfo_LabelAnnotation.DiscardUnknown(m)
787}
788
789var xxx_messageInfo_LabelAnnotation proto.InternalMessageInfo
790
791func (m *LabelAnnotation) GetEntity() *Entity {
792	if m != nil {
793		return m.Entity
794	}
795	return nil
796}
797
798func (m *LabelAnnotation) GetCategoryEntities() []*Entity {
799	if m != nil {
800		return m.CategoryEntities
801	}
802	return nil
803}
804
805func (m *LabelAnnotation) GetSegments() []*LabelSegment {
806	if m != nil {
807		return m.Segments
808	}
809	return nil
810}
811
812func (m *LabelAnnotation) GetFrames() []*LabelFrame {
813	if m != nil {
814		return m.Frames
815	}
816	return nil
817}
818
819// Video frame level annotation results for explicit content.
820type ExplicitContentFrame struct {
821	// Time-offset, relative to the beginning of the video, corresponding to the
822	// video frame for this location.
823	TimeOffset *duration.Duration `protobuf:"bytes,1,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"`
824	// Likelihood of the pornography content..
825	PornographyLikelihood Likelihood `protobuf:"varint,2,opt,name=pornography_likelihood,json=pornographyLikelihood,proto3,enum=google.cloud.videointelligence.v1p2beta1.Likelihood" json:"pornography_likelihood,omitempty"`
826	XXX_NoUnkeyedLiteral  struct{}   `json:"-"`
827	XXX_unrecognized      []byte     `json:"-"`
828	XXX_sizecache         int32      `json:"-"`
829}
830
831func (m *ExplicitContentFrame) Reset()         { *m = ExplicitContentFrame{} }
832func (m *ExplicitContentFrame) String() string { return proto.CompactTextString(m) }
833func (*ExplicitContentFrame) ProtoMessage()    {}
834func (*ExplicitContentFrame) Descriptor() ([]byte, []int) {
835	return fileDescriptor_890c5161889e04ed, []int{11}
836}
837
838func (m *ExplicitContentFrame) XXX_Unmarshal(b []byte) error {
839	return xxx_messageInfo_ExplicitContentFrame.Unmarshal(m, b)
840}
841func (m *ExplicitContentFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
842	return xxx_messageInfo_ExplicitContentFrame.Marshal(b, m, deterministic)
843}
844func (m *ExplicitContentFrame) XXX_Merge(src proto.Message) {
845	xxx_messageInfo_ExplicitContentFrame.Merge(m, src)
846}
847func (m *ExplicitContentFrame) XXX_Size() int {
848	return xxx_messageInfo_ExplicitContentFrame.Size(m)
849}
850func (m *ExplicitContentFrame) XXX_DiscardUnknown() {
851	xxx_messageInfo_ExplicitContentFrame.DiscardUnknown(m)
852}
853
854var xxx_messageInfo_ExplicitContentFrame proto.InternalMessageInfo
855
856func (m *ExplicitContentFrame) GetTimeOffset() *duration.Duration {
857	if m != nil {
858		return m.TimeOffset
859	}
860	return nil
861}
862
863func (m *ExplicitContentFrame) GetPornographyLikelihood() Likelihood {
864	if m != nil {
865		return m.PornographyLikelihood
866	}
867	return Likelihood_LIKELIHOOD_UNSPECIFIED
868}
869
870// Explicit content annotation (based on per-frame visual signals only).
871// If no explicit content has been detected in a frame, no annotations are
872// present for that frame.
873type ExplicitContentAnnotation struct {
874	// All video frames where explicit content was detected.
875	Frames               []*ExplicitContentFrame `protobuf:"bytes,1,rep,name=frames,proto3" json:"frames,omitempty"`
876	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
877	XXX_unrecognized     []byte                  `json:"-"`
878	XXX_sizecache        int32                   `json:"-"`
879}
880
881func (m *ExplicitContentAnnotation) Reset()         { *m = ExplicitContentAnnotation{} }
882func (m *ExplicitContentAnnotation) String() string { return proto.CompactTextString(m) }
883func (*ExplicitContentAnnotation) ProtoMessage()    {}
884func (*ExplicitContentAnnotation) Descriptor() ([]byte, []int) {
885	return fileDescriptor_890c5161889e04ed, []int{12}
886}
887
888func (m *ExplicitContentAnnotation) XXX_Unmarshal(b []byte) error {
889	return xxx_messageInfo_ExplicitContentAnnotation.Unmarshal(m, b)
890}
891func (m *ExplicitContentAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
892	return xxx_messageInfo_ExplicitContentAnnotation.Marshal(b, m, deterministic)
893}
894func (m *ExplicitContentAnnotation) XXX_Merge(src proto.Message) {
895	xxx_messageInfo_ExplicitContentAnnotation.Merge(m, src)
896}
897func (m *ExplicitContentAnnotation) XXX_Size() int {
898	return xxx_messageInfo_ExplicitContentAnnotation.Size(m)
899}
900func (m *ExplicitContentAnnotation) XXX_DiscardUnknown() {
901	xxx_messageInfo_ExplicitContentAnnotation.DiscardUnknown(m)
902}
903
904var xxx_messageInfo_ExplicitContentAnnotation proto.InternalMessageInfo
905
906func (m *ExplicitContentAnnotation) GetFrames() []*ExplicitContentFrame {
907	if m != nil {
908		return m.Frames
909	}
910	return nil
911}
912
913// Normalized bounding box.
914// The normalized vertex coordinates are relative to the original image.
915// Range: [0, 1].
916type NormalizedBoundingBox struct {
917	// Left X coordinate.
918	Left float32 `protobuf:"fixed32,1,opt,name=left,proto3" json:"left,omitempty"`
919	// Top Y coordinate.
920	Top float32 `protobuf:"fixed32,2,opt,name=top,proto3" json:"top,omitempty"`
921	// Right X coordinate.
922	Right float32 `protobuf:"fixed32,3,opt,name=right,proto3" json:"right,omitempty"`
923	// Bottom Y coordinate.
924	Bottom               float32  `protobuf:"fixed32,4,opt,name=bottom,proto3" json:"bottom,omitempty"`
925	XXX_NoUnkeyedLiteral struct{} `json:"-"`
926	XXX_unrecognized     []byte   `json:"-"`
927	XXX_sizecache        int32    `json:"-"`
928}
929
930func (m *NormalizedBoundingBox) Reset()         { *m = NormalizedBoundingBox{} }
931func (m *NormalizedBoundingBox) String() string { return proto.CompactTextString(m) }
932func (*NormalizedBoundingBox) ProtoMessage()    {}
933func (*NormalizedBoundingBox) Descriptor() ([]byte, []int) {
934	return fileDescriptor_890c5161889e04ed, []int{13}
935}
936
937func (m *NormalizedBoundingBox) XXX_Unmarshal(b []byte) error {
938	return xxx_messageInfo_NormalizedBoundingBox.Unmarshal(m, b)
939}
940func (m *NormalizedBoundingBox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
941	return xxx_messageInfo_NormalizedBoundingBox.Marshal(b, m, deterministic)
942}
943func (m *NormalizedBoundingBox) XXX_Merge(src proto.Message) {
944	xxx_messageInfo_NormalizedBoundingBox.Merge(m, src)
945}
946func (m *NormalizedBoundingBox) XXX_Size() int {
947	return xxx_messageInfo_NormalizedBoundingBox.Size(m)
948}
949func (m *NormalizedBoundingBox) XXX_DiscardUnknown() {
950	xxx_messageInfo_NormalizedBoundingBox.DiscardUnknown(m)
951}
952
953var xxx_messageInfo_NormalizedBoundingBox proto.InternalMessageInfo
954
955func (m *NormalizedBoundingBox) GetLeft() float32 {
956	if m != nil {
957		return m.Left
958	}
959	return 0
960}
961
962func (m *NormalizedBoundingBox) GetTop() float32 {
963	if m != nil {
964		return m.Top
965	}
966	return 0
967}
968
969func (m *NormalizedBoundingBox) GetRight() float32 {
970	if m != nil {
971		return m.Right
972	}
973	return 0
974}
975
976func (m *NormalizedBoundingBox) GetBottom() float32 {
977	if m != nil {
978		return m.Bottom
979	}
980	return 0
981}
982
983// Annotation results for a single video.
984type VideoAnnotationResults struct {
985	// Video file location in
986	// [Google Cloud Storage](https://cloud.google.com/storage/).
987	InputUri string `protobuf:"bytes,1,opt,name=input_uri,json=inputUri,proto3" json:"input_uri,omitempty"`
988	// Label annotations on video level or user specified segment level.
989	// There is exactly one element for each unique label.
990	SegmentLabelAnnotations []*LabelAnnotation `protobuf:"bytes,2,rep,name=segment_label_annotations,json=segmentLabelAnnotations,proto3" json:"segment_label_annotations,omitempty"`
991	// Label annotations on shot level.
992	// There is exactly one element for each unique label.
993	ShotLabelAnnotations []*LabelAnnotation `protobuf:"bytes,3,rep,name=shot_label_annotations,json=shotLabelAnnotations,proto3" json:"shot_label_annotations,omitempty"`
994	// Label annotations on frame level.
995	// There is exactly one element for each unique label.
996	FrameLabelAnnotations []*LabelAnnotation `protobuf:"bytes,4,rep,name=frame_label_annotations,json=frameLabelAnnotations,proto3" json:"frame_label_annotations,omitempty"`
997	// Shot annotations. Each shot is represented as a video segment.
998	ShotAnnotations []*VideoSegment `protobuf:"bytes,6,rep,name=shot_annotations,json=shotAnnotations,proto3" json:"shot_annotations,omitempty"`
999	// Explicit content annotation.
1000	ExplicitAnnotation *ExplicitContentAnnotation `protobuf:"bytes,7,opt,name=explicit_annotation,json=explicitAnnotation,proto3" json:"explicit_annotation,omitempty"`
1001	// OCR text detection and tracking.
1002	// Annotations for list of detected text snippets. Each will have list of
1003	// frame information associated with it.
1004	TextAnnotations []*TextAnnotation `protobuf:"bytes,12,rep,name=text_annotations,json=textAnnotations,proto3" json:"text_annotations,omitempty"`
1005	// Annotations for list of objects detected and tracked in video.
1006	ObjectAnnotations []*ObjectTrackingAnnotation `protobuf:"bytes,14,rep,name=object_annotations,json=objectAnnotations,proto3" json:"object_annotations,omitempty"`
1007	// If set, indicates an error. Note that for a single `AnnotateVideoRequest`
1008	// some videos may succeed and some may fail.
1009	Error                *status.Status `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"`
1010	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
1011	XXX_unrecognized     []byte         `json:"-"`
1012	XXX_sizecache        int32          `json:"-"`
1013}
1014
1015func (m *VideoAnnotationResults) Reset()         { *m = VideoAnnotationResults{} }
1016func (m *VideoAnnotationResults) String() string { return proto.CompactTextString(m) }
1017func (*VideoAnnotationResults) ProtoMessage()    {}
1018func (*VideoAnnotationResults) Descriptor() ([]byte, []int) {
1019	return fileDescriptor_890c5161889e04ed, []int{14}
1020}
1021
1022func (m *VideoAnnotationResults) XXX_Unmarshal(b []byte) error {
1023	return xxx_messageInfo_VideoAnnotationResults.Unmarshal(m, b)
1024}
1025func (m *VideoAnnotationResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1026	return xxx_messageInfo_VideoAnnotationResults.Marshal(b, m, deterministic)
1027}
1028func (m *VideoAnnotationResults) XXX_Merge(src proto.Message) {
1029	xxx_messageInfo_VideoAnnotationResults.Merge(m, src)
1030}
1031func (m *VideoAnnotationResults) XXX_Size() int {
1032	return xxx_messageInfo_VideoAnnotationResults.Size(m)
1033}
1034func (m *VideoAnnotationResults) XXX_DiscardUnknown() {
1035	xxx_messageInfo_VideoAnnotationResults.DiscardUnknown(m)
1036}
1037
1038var xxx_messageInfo_VideoAnnotationResults proto.InternalMessageInfo
1039
1040func (m *VideoAnnotationResults) GetInputUri() string {
1041	if m != nil {
1042		return m.InputUri
1043	}
1044	return ""
1045}
1046
1047func (m *VideoAnnotationResults) GetSegmentLabelAnnotations() []*LabelAnnotation {
1048	if m != nil {
1049		return m.SegmentLabelAnnotations
1050	}
1051	return nil
1052}
1053
1054func (m *VideoAnnotationResults) GetShotLabelAnnotations() []*LabelAnnotation {
1055	if m != nil {
1056		return m.ShotLabelAnnotations
1057	}
1058	return nil
1059}
1060
1061func (m *VideoAnnotationResults) GetFrameLabelAnnotations() []*LabelAnnotation {
1062	if m != nil {
1063		return m.FrameLabelAnnotations
1064	}
1065	return nil
1066}
1067
1068func (m *VideoAnnotationResults) GetShotAnnotations() []*VideoSegment {
1069	if m != nil {
1070		return m.ShotAnnotations
1071	}
1072	return nil
1073}
1074
1075func (m *VideoAnnotationResults) GetExplicitAnnotation() *ExplicitContentAnnotation {
1076	if m != nil {
1077		return m.ExplicitAnnotation
1078	}
1079	return nil
1080}
1081
1082func (m *VideoAnnotationResults) GetTextAnnotations() []*TextAnnotation {
1083	if m != nil {
1084		return m.TextAnnotations
1085	}
1086	return nil
1087}
1088
1089func (m *VideoAnnotationResults) GetObjectAnnotations() []*ObjectTrackingAnnotation {
1090	if m != nil {
1091		return m.ObjectAnnotations
1092	}
1093	return nil
1094}
1095
1096func (m *VideoAnnotationResults) GetError() *status.Status {
1097	if m != nil {
1098		return m.Error
1099	}
1100	return nil
1101}
1102
1103// Video annotation response. Included in the `response`
1104// field of the `Operation` returned by the `GetOperation`
1105// call of the `google::longrunning::Operations` service.
1106type AnnotateVideoResponse struct {
1107	// Annotation results for all videos specified in `AnnotateVideoRequest`.
1108	AnnotationResults    []*VideoAnnotationResults `protobuf:"bytes,1,rep,name=annotation_results,json=annotationResults,proto3" json:"annotation_results,omitempty"`
1109	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
1110	XXX_unrecognized     []byte                    `json:"-"`
1111	XXX_sizecache        int32                     `json:"-"`
1112}
1113
1114func (m *AnnotateVideoResponse) Reset()         { *m = AnnotateVideoResponse{} }
1115func (m *AnnotateVideoResponse) String() string { return proto.CompactTextString(m) }
1116func (*AnnotateVideoResponse) ProtoMessage()    {}
1117func (*AnnotateVideoResponse) Descriptor() ([]byte, []int) {
1118	return fileDescriptor_890c5161889e04ed, []int{15}
1119}
1120
1121func (m *AnnotateVideoResponse) XXX_Unmarshal(b []byte) error {
1122	return xxx_messageInfo_AnnotateVideoResponse.Unmarshal(m, b)
1123}
1124func (m *AnnotateVideoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1125	return xxx_messageInfo_AnnotateVideoResponse.Marshal(b, m, deterministic)
1126}
1127func (m *AnnotateVideoResponse) XXX_Merge(src proto.Message) {
1128	xxx_messageInfo_AnnotateVideoResponse.Merge(m, src)
1129}
1130func (m *AnnotateVideoResponse) XXX_Size() int {
1131	return xxx_messageInfo_AnnotateVideoResponse.Size(m)
1132}
1133func (m *AnnotateVideoResponse) XXX_DiscardUnknown() {
1134	xxx_messageInfo_AnnotateVideoResponse.DiscardUnknown(m)
1135}
1136
1137var xxx_messageInfo_AnnotateVideoResponse proto.InternalMessageInfo
1138
1139func (m *AnnotateVideoResponse) GetAnnotationResults() []*VideoAnnotationResults {
1140	if m != nil {
1141		return m.AnnotationResults
1142	}
1143	return nil
1144}
1145
1146// Annotation progress for a single video.
1147type VideoAnnotationProgress struct {
1148	// Video file location in
1149	// [Google Cloud Storage](https://cloud.google.com/storage/).
1150	InputUri string `protobuf:"bytes,1,opt,name=input_uri,json=inputUri,proto3" json:"input_uri,omitempty"`
1151	// Approximate percentage processed thus far. Guaranteed to be
1152	// 100 when fully processed.
1153	ProgressPercent int32 `protobuf:"varint,2,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"`
1154	// Time when the request was received.
1155	StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
1156	// Time of the most recent update.
1157	UpdateTime           *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
1158	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
1159	XXX_unrecognized     []byte               `json:"-"`
1160	XXX_sizecache        int32                `json:"-"`
1161}
1162
1163func (m *VideoAnnotationProgress) Reset()         { *m = VideoAnnotationProgress{} }
1164func (m *VideoAnnotationProgress) String() string { return proto.CompactTextString(m) }
1165func (*VideoAnnotationProgress) ProtoMessage()    {}
1166func (*VideoAnnotationProgress) Descriptor() ([]byte, []int) {
1167	return fileDescriptor_890c5161889e04ed, []int{16}
1168}
1169
1170func (m *VideoAnnotationProgress) XXX_Unmarshal(b []byte) error {
1171	return xxx_messageInfo_VideoAnnotationProgress.Unmarshal(m, b)
1172}
1173func (m *VideoAnnotationProgress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1174	return xxx_messageInfo_VideoAnnotationProgress.Marshal(b, m, deterministic)
1175}
1176func (m *VideoAnnotationProgress) XXX_Merge(src proto.Message) {
1177	xxx_messageInfo_VideoAnnotationProgress.Merge(m, src)
1178}
1179func (m *VideoAnnotationProgress) XXX_Size() int {
1180	return xxx_messageInfo_VideoAnnotationProgress.Size(m)
1181}
1182func (m *VideoAnnotationProgress) XXX_DiscardUnknown() {
1183	xxx_messageInfo_VideoAnnotationProgress.DiscardUnknown(m)
1184}
1185
1186var xxx_messageInfo_VideoAnnotationProgress proto.InternalMessageInfo
1187
1188func (m *VideoAnnotationProgress) GetInputUri() string {
1189	if m != nil {
1190		return m.InputUri
1191	}
1192	return ""
1193}
1194
1195func (m *VideoAnnotationProgress) GetProgressPercent() int32 {
1196	if m != nil {
1197		return m.ProgressPercent
1198	}
1199	return 0
1200}
1201
1202func (m *VideoAnnotationProgress) GetStartTime() *timestamp.Timestamp {
1203	if m != nil {
1204		return m.StartTime
1205	}
1206	return nil
1207}
1208
1209func (m *VideoAnnotationProgress) GetUpdateTime() *timestamp.Timestamp {
1210	if m != nil {
1211		return m.UpdateTime
1212	}
1213	return nil
1214}
1215
1216// Video annotation progress. Included in the `metadata`
1217// field of the `Operation` returned by the `GetOperation`
1218// call of the `google::longrunning::Operations` service.
1219type AnnotateVideoProgress struct {
1220	// Progress metadata for all videos specified in `AnnotateVideoRequest`.
1221	AnnotationProgress   []*VideoAnnotationProgress `protobuf:"bytes,1,rep,name=annotation_progress,json=annotationProgress,proto3" json:"annotation_progress,omitempty"`
1222	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
1223	XXX_unrecognized     []byte                     `json:"-"`
1224	XXX_sizecache        int32                      `json:"-"`
1225}
1226
1227func (m *AnnotateVideoProgress) Reset()         { *m = AnnotateVideoProgress{} }
1228func (m *AnnotateVideoProgress) String() string { return proto.CompactTextString(m) }
1229func (*AnnotateVideoProgress) ProtoMessage()    {}
1230func (*AnnotateVideoProgress) Descriptor() ([]byte, []int) {
1231	return fileDescriptor_890c5161889e04ed, []int{17}
1232}
1233
1234func (m *AnnotateVideoProgress) XXX_Unmarshal(b []byte) error {
1235	return xxx_messageInfo_AnnotateVideoProgress.Unmarshal(m, b)
1236}
1237func (m *AnnotateVideoProgress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1238	return xxx_messageInfo_AnnotateVideoProgress.Marshal(b, m, deterministic)
1239}
1240func (m *AnnotateVideoProgress) XXX_Merge(src proto.Message) {
1241	xxx_messageInfo_AnnotateVideoProgress.Merge(m, src)
1242}
1243func (m *AnnotateVideoProgress) XXX_Size() int {
1244	return xxx_messageInfo_AnnotateVideoProgress.Size(m)
1245}
1246func (m *AnnotateVideoProgress) XXX_DiscardUnknown() {
1247	xxx_messageInfo_AnnotateVideoProgress.DiscardUnknown(m)
1248}
1249
1250var xxx_messageInfo_AnnotateVideoProgress proto.InternalMessageInfo
1251
1252func (m *AnnotateVideoProgress) GetAnnotationProgress() []*VideoAnnotationProgress {
1253	if m != nil {
1254		return m.AnnotationProgress
1255	}
1256	return nil
1257}
1258
1259// A vertex represents a 2D point in the image.
1260// NOTE: the normalized vertex coordinates are relative to the original image
1261// and range from 0 to 1.
1262type NormalizedVertex struct {
1263	// X coordinate.
1264	X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"`
1265	// Y coordinate.
1266	Y                    float32  `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"`
1267	XXX_NoUnkeyedLiteral struct{} `json:"-"`
1268	XXX_unrecognized     []byte   `json:"-"`
1269	XXX_sizecache        int32    `json:"-"`
1270}
1271
1272func (m *NormalizedVertex) Reset()         { *m = NormalizedVertex{} }
1273func (m *NormalizedVertex) String() string { return proto.CompactTextString(m) }
1274func (*NormalizedVertex) ProtoMessage()    {}
1275func (*NormalizedVertex) Descriptor() ([]byte, []int) {
1276	return fileDescriptor_890c5161889e04ed, []int{18}
1277}
1278
1279func (m *NormalizedVertex) XXX_Unmarshal(b []byte) error {
1280	return xxx_messageInfo_NormalizedVertex.Unmarshal(m, b)
1281}
1282func (m *NormalizedVertex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1283	return xxx_messageInfo_NormalizedVertex.Marshal(b, m, deterministic)
1284}
1285func (m *NormalizedVertex) XXX_Merge(src proto.Message) {
1286	xxx_messageInfo_NormalizedVertex.Merge(m, src)
1287}
1288func (m *NormalizedVertex) XXX_Size() int {
1289	return xxx_messageInfo_NormalizedVertex.Size(m)
1290}
1291func (m *NormalizedVertex) XXX_DiscardUnknown() {
1292	xxx_messageInfo_NormalizedVertex.DiscardUnknown(m)
1293}
1294
1295var xxx_messageInfo_NormalizedVertex proto.InternalMessageInfo
1296
1297func (m *NormalizedVertex) GetX() float32 {
1298	if m != nil {
1299		return m.X
1300	}
1301	return 0
1302}
1303
1304func (m *NormalizedVertex) GetY() float32 {
1305	if m != nil {
1306		return m.Y
1307	}
1308	return 0
1309}
1310
1311// Normalized bounding polygon for text (that might not be aligned with axis).
1312// Contains list of the corner points in clockwise order starting from
1313// top-left corner. For example, for a rectangular bounding box:
1314// When the text is horizontal it might look like:
1315//         0----1
1316//         |    |
1317//         3----2
1318//
1319// When it's clockwise rotated 180 degrees around the top-left corner it
1320// becomes:
1321//         2----3
1322//         |    |
1323//         1----0
1324//
1325// and the vertex order will still be (0, 1, 2, 3). Note that values can be less
1326// than 0, or greater than 1 due to trignometric calculations for location of
1327// the box.
1328type NormalizedBoundingPoly struct {
1329	// Normalized vertices of the bounding polygon.
1330	Vertices             []*NormalizedVertex `protobuf:"bytes,1,rep,name=vertices,proto3" json:"vertices,omitempty"`
1331	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
1332	XXX_unrecognized     []byte              `json:"-"`
1333	XXX_sizecache        int32               `json:"-"`
1334}
1335
1336func (m *NormalizedBoundingPoly) Reset()         { *m = NormalizedBoundingPoly{} }
1337func (m *NormalizedBoundingPoly) String() string { return proto.CompactTextString(m) }
1338func (*NormalizedBoundingPoly) ProtoMessage()    {}
1339func (*NormalizedBoundingPoly) Descriptor() ([]byte, []int) {
1340	return fileDescriptor_890c5161889e04ed, []int{19}
1341}
1342
1343func (m *NormalizedBoundingPoly) XXX_Unmarshal(b []byte) error {
1344	return xxx_messageInfo_NormalizedBoundingPoly.Unmarshal(m, b)
1345}
1346func (m *NormalizedBoundingPoly) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1347	return xxx_messageInfo_NormalizedBoundingPoly.Marshal(b, m, deterministic)
1348}
1349func (m *NormalizedBoundingPoly) XXX_Merge(src proto.Message) {
1350	xxx_messageInfo_NormalizedBoundingPoly.Merge(m, src)
1351}
1352func (m *NormalizedBoundingPoly) XXX_Size() int {
1353	return xxx_messageInfo_NormalizedBoundingPoly.Size(m)
1354}
1355func (m *NormalizedBoundingPoly) XXX_DiscardUnknown() {
1356	xxx_messageInfo_NormalizedBoundingPoly.DiscardUnknown(m)
1357}
1358
1359var xxx_messageInfo_NormalizedBoundingPoly proto.InternalMessageInfo
1360
1361func (m *NormalizedBoundingPoly) GetVertices() []*NormalizedVertex {
1362	if m != nil {
1363		return m.Vertices
1364	}
1365	return nil
1366}
1367
1368// Video segment level annotation results for text detection.
1369type TextSegment struct {
1370	// Video segment where a text snippet was detected.
1371	Segment *VideoSegment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"`
1372	// Confidence for the track of detected text. It is calculated as the highest
1373	// over all frames where OCR detected text appears.
1374	Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
1375	// Information related to the frames where OCR detected text appears.
1376	Frames               []*TextFrame `protobuf:"bytes,3,rep,name=frames,proto3" json:"frames,omitempty"`
1377	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
1378	XXX_unrecognized     []byte       `json:"-"`
1379	XXX_sizecache        int32        `json:"-"`
1380}
1381
1382func (m *TextSegment) Reset()         { *m = TextSegment{} }
1383func (m *TextSegment) String() string { return proto.CompactTextString(m) }
1384func (*TextSegment) ProtoMessage()    {}
1385func (*TextSegment) Descriptor() ([]byte, []int) {
1386	return fileDescriptor_890c5161889e04ed, []int{20}
1387}
1388
1389func (m *TextSegment) XXX_Unmarshal(b []byte) error {
1390	return xxx_messageInfo_TextSegment.Unmarshal(m, b)
1391}
1392func (m *TextSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1393	return xxx_messageInfo_TextSegment.Marshal(b, m, deterministic)
1394}
1395func (m *TextSegment) XXX_Merge(src proto.Message) {
1396	xxx_messageInfo_TextSegment.Merge(m, src)
1397}
1398func (m *TextSegment) XXX_Size() int {
1399	return xxx_messageInfo_TextSegment.Size(m)
1400}
1401func (m *TextSegment) XXX_DiscardUnknown() {
1402	xxx_messageInfo_TextSegment.DiscardUnknown(m)
1403}
1404
1405var xxx_messageInfo_TextSegment proto.InternalMessageInfo
1406
1407func (m *TextSegment) GetSegment() *VideoSegment {
1408	if m != nil {
1409		return m.Segment
1410	}
1411	return nil
1412}
1413
1414func (m *TextSegment) GetConfidence() float32 {
1415	if m != nil {
1416		return m.Confidence
1417	}
1418	return 0
1419}
1420
1421func (m *TextSegment) GetFrames() []*TextFrame {
1422	if m != nil {
1423		return m.Frames
1424	}
1425	return nil
1426}
1427
1428// Video frame level annotation results for text annotation (OCR).
1429// Contains information regarding timestamp and bounding box locations for the
1430// frames containing detected OCR text snippets.
1431type TextFrame struct {
1432	// Bounding polygon of the detected text for this frame.
1433	RotatedBoundingBox *NormalizedBoundingPoly `protobuf:"bytes,1,opt,name=rotated_bounding_box,json=rotatedBoundingBox,proto3" json:"rotated_bounding_box,omitempty"`
1434	// Timestamp of this frame.
1435	TimeOffset           *duration.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"`
1436	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
1437	XXX_unrecognized     []byte             `json:"-"`
1438	XXX_sizecache        int32              `json:"-"`
1439}
1440
1441func (m *TextFrame) Reset()         { *m = TextFrame{} }
1442func (m *TextFrame) String() string { return proto.CompactTextString(m) }
1443func (*TextFrame) ProtoMessage()    {}
1444func (*TextFrame) Descriptor() ([]byte, []int) {
1445	return fileDescriptor_890c5161889e04ed, []int{21}
1446}
1447
1448func (m *TextFrame) XXX_Unmarshal(b []byte) error {
1449	return xxx_messageInfo_TextFrame.Unmarshal(m, b)
1450}
1451func (m *TextFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1452	return xxx_messageInfo_TextFrame.Marshal(b, m, deterministic)
1453}
1454func (m *TextFrame) XXX_Merge(src proto.Message) {
1455	xxx_messageInfo_TextFrame.Merge(m, src)
1456}
1457func (m *TextFrame) XXX_Size() int {
1458	return xxx_messageInfo_TextFrame.Size(m)
1459}
1460func (m *TextFrame) XXX_DiscardUnknown() {
1461	xxx_messageInfo_TextFrame.DiscardUnknown(m)
1462}
1463
1464var xxx_messageInfo_TextFrame proto.InternalMessageInfo
1465
1466func (m *TextFrame) GetRotatedBoundingBox() *NormalizedBoundingPoly {
1467	if m != nil {
1468		return m.RotatedBoundingBox
1469	}
1470	return nil
1471}
1472
1473func (m *TextFrame) GetTimeOffset() *duration.Duration {
1474	if m != nil {
1475		return m.TimeOffset
1476	}
1477	return nil
1478}
1479
1480// Annotations related to one detected OCR text snippet. This will contain the
1481// corresponding text, confidence value, and frame level information for each
1482// detection.
1483type TextAnnotation struct {
1484	// The detected text.
1485	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
1486	// All video segments where OCR detected text appears.
1487	Segments             []*TextSegment `protobuf:"bytes,2,rep,name=segments,proto3" json:"segments,omitempty"`
1488	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
1489	XXX_unrecognized     []byte         `json:"-"`
1490	XXX_sizecache        int32          `json:"-"`
1491}
1492
1493func (m *TextAnnotation) Reset()         { *m = TextAnnotation{} }
1494func (m *TextAnnotation) String() string { return proto.CompactTextString(m) }
1495func (*TextAnnotation) ProtoMessage()    {}
1496func (*TextAnnotation) Descriptor() ([]byte, []int) {
1497	return fileDescriptor_890c5161889e04ed, []int{22}
1498}
1499
1500func (m *TextAnnotation) XXX_Unmarshal(b []byte) error {
1501	return xxx_messageInfo_TextAnnotation.Unmarshal(m, b)
1502}
1503func (m *TextAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1504	return xxx_messageInfo_TextAnnotation.Marshal(b, m, deterministic)
1505}
1506func (m *TextAnnotation) XXX_Merge(src proto.Message) {
1507	xxx_messageInfo_TextAnnotation.Merge(m, src)
1508}
1509func (m *TextAnnotation) XXX_Size() int {
1510	return xxx_messageInfo_TextAnnotation.Size(m)
1511}
1512func (m *TextAnnotation) XXX_DiscardUnknown() {
1513	xxx_messageInfo_TextAnnotation.DiscardUnknown(m)
1514}
1515
1516var xxx_messageInfo_TextAnnotation proto.InternalMessageInfo
1517
1518func (m *TextAnnotation) GetText() string {
1519	if m != nil {
1520		return m.Text
1521	}
1522	return ""
1523}
1524
1525func (m *TextAnnotation) GetSegments() []*TextSegment {
1526	if m != nil {
1527		return m.Segments
1528	}
1529	return nil
1530}
1531
1532// Video frame level annotations for object detection and tracking. This field
1533// stores per frame location, time offset, and confidence.
1534type ObjectTrackingFrame struct {
1535	// The normalized bounding box location of this object track for the frame.
1536	NormalizedBoundingBox *NormalizedBoundingBox `protobuf:"bytes,1,opt,name=normalized_bounding_box,json=normalizedBoundingBox,proto3" json:"normalized_bounding_box,omitempty"`
1537	// The timestamp of the frame in microseconds.
1538	TimeOffset           *duration.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"`
1539	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
1540	XXX_unrecognized     []byte             `json:"-"`
1541	XXX_sizecache        int32              `json:"-"`
1542}
1543
1544func (m *ObjectTrackingFrame) Reset()         { *m = ObjectTrackingFrame{} }
1545func (m *ObjectTrackingFrame) String() string { return proto.CompactTextString(m) }
1546func (*ObjectTrackingFrame) ProtoMessage()    {}
1547func (*ObjectTrackingFrame) Descriptor() ([]byte, []int) {
1548	return fileDescriptor_890c5161889e04ed, []int{23}
1549}
1550
1551func (m *ObjectTrackingFrame) XXX_Unmarshal(b []byte) error {
1552	return xxx_messageInfo_ObjectTrackingFrame.Unmarshal(m, b)
1553}
1554func (m *ObjectTrackingFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1555	return xxx_messageInfo_ObjectTrackingFrame.Marshal(b, m, deterministic)
1556}
1557func (m *ObjectTrackingFrame) XXX_Merge(src proto.Message) {
1558	xxx_messageInfo_ObjectTrackingFrame.Merge(m, src)
1559}
1560func (m *ObjectTrackingFrame) XXX_Size() int {
1561	return xxx_messageInfo_ObjectTrackingFrame.Size(m)
1562}
1563func (m *ObjectTrackingFrame) XXX_DiscardUnknown() {
1564	xxx_messageInfo_ObjectTrackingFrame.DiscardUnknown(m)
1565}
1566
1567var xxx_messageInfo_ObjectTrackingFrame proto.InternalMessageInfo
1568
1569func (m *ObjectTrackingFrame) GetNormalizedBoundingBox() *NormalizedBoundingBox {
1570	if m != nil {
1571		return m.NormalizedBoundingBox
1572	}
1573	return nil
1574}
1575
1576func (m *ObjectTrackingFrame) GetTimeOffset() *duration.Duration {
1577	if m != nil {
1578		return m.TimeOffset
1579	}
1580	return nil
1581}
1582
1583// Annotations corresponding to one tracked object.
1584type ObjectTrackingAnnotation struct {
1585	// Entity to specify the object category that this track is labeled as.
1586	Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
1587	// Object category's labeling confidence of this track.
1588	Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"`
1589	// Information corresponding to all frames where this object track appears.
1590	Frames []*ObjectTrackingFrame `protobuf:"bytes,2,rep,name=frames,proto3" json:"frames,omitempty"`
1591	// Each object track corresponds to one video segment where it appears.
1592	Segment              *VideoSegment `protobuf:"bytes,3,opt,name=segment,proto3" json:"segment,omitempty"`
1593	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
1594	XXX_unrecognized     []byte        `json:"-"`
1595	XXX_sizecache        int32         `json:"-"`
1596}
1597
1598func (m *ObjectTrackingAnnotation) Reset()         { *m = ObjectTrackingAnnotation{} }
1599func (m *ObjectTrackingAnnotation) String() string { return proto.CompactTextString(m) }
1600func (*ObjectTrackingAnnotation) ProtoMessage()    {}
1601func (*ObjectTrackingAnnotation) Descriptor() ([]byte, []int) {
1602	return fileDescriptor_890c5161889e04ed, []int{24}
1603}
1604
1605func (m *ObjectTrackingAnnotation) XXX_Unmarshal(b []byte) error {
1606	return xxx_messageInfo_ObjectTrackingAnnotation.Unmarshal(m, b)
1607}
1608func (m *ObjectTrackingAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1609	return xxx_messageInfo_ObjectTrackingAnnotation.Marshal(b, m, deterministic)
1610}
1611func (m *ObjectTrackingAnnotation) XXX_Merge(src proto.Message) {
1612	xxx_messageInfo_ObjectTrackingAnnotation.Merge(m, src)
1613}
1614func (m *ObjectTrackingAnnotation) XXX_Size() int {
1615	return xxx_messageInfo_ObjectTrackingAnnotation.Size(m)
1616}
1617func (m *ObjectTrackingAnnotation) XXX_DiscardUnknown() {
1618	xxx_messageInfo_ObjectTrackingAnnotation.DiscardUnknown(m)
1619}
1620
1621var xxx_messageInfo_ObjectTrackingAnnotation proto.InternalMessageInfo
1622
1623func (m *ObjectTrackingAnnotation) GetEntity() *Entity {
1624	if m != nil {
1625		return m.Entity
1626	}
1627	return nil
1628}
1629
1630func (m *ObjectTrackingAnnotation) GetConfidence() float32 {
1631	if m != nil {
1632		return m.Confidence
1633	}
1634	return 0
1635}
1636
1637func (m *ObjectTrackingAnnotation) GetFrames() []*ObjectTrackingFrame {
1638	if m != nil {
1639		return m.Frames
1640	}
1641	return nil
1642}
1643
1644func (m *ObjectTrackingAnnotation) GetSegment() *VideoSegment {
1645	if m != nil {
1646		return m.Segment
1647	}
1648	return nil
1649}
1650
1651func init() {
1652	proto.RegisterEnum("google.cloud.videointelligence.v1p2beta1.Feature", Feature_name, Feature_value)
1653	proto.RegisterEnum("google.cloud.videointelligence.v1p2beta1.LabelDetectionMode", LabelDetectionMode_name, LabelDetectionMode_value)
1654	proto.RegisterEnum("google.cloud.videointelligence.v1p2beta1.Likelihood", Likelihood_name, Likelihood_value)
1655	proto.RegisterType((*AnnotateVideoRequest)(nil), "google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest")
1656	proto.RegisterType((*VideoContext)(nil), "google.cloud.videointelligence.v1p2beta1.VideoContext")
1657	proto.RegisterType((*LabelDetectionConfig)(nil), "google.cloud.videointelligence.v1p2beta1.LabelDetectionConfig")
1658	proto.RegisterType((*ShotChangeDetectionConfig)(nil), "google.cloud.videointelligence.v1p2beta1.ShotChangeDetectionConfig")
1659	proto.RegisterType((*ExplicitContentDetectionConfig)(nil), "google.cloud.videointelligence.v1p2beta1.ExplicitContentDetectionConfig")
1660	proto.RegisterType((*TextDetectionConfig)(nil), "google.cloud.videointelligence.v1p2beta1.TextDetectionConfig")
1661	proto.RegisterType((*VideoSegment)(nil), "google.cloud.videointelligence.v1p2beta1.VideoSegment")
1662	proto.RegisterType((*LabelSegment)(nil), "google.cloud.videointelligence.v1p2beta1.LabelSegment")
1663	proto.RegisterType((*LabelFrame)(nil), "google.cloud.videointelligence.v1p2beta1.LabelFrame")
1664	proto.RegisterType((*Entity)(nil), "google.cloud.videointelligence.v1p2beta1.Entity")
1665	proto.RegisterType((*LabelAnnotation)(nil), "google.cloud.videointelligence.v1p2beta1.LabelAnnotation")
1666	proto.RegisterType((*ExplicitContentFrame)(nil), "google.cloud.videointelligence.v1p2beta1.ExplicitContentFrame")
1667	proto.RegisterType((*ExplicitContentAnnotation)(nil), "google.cloud.videointelligence.v1p2beta1.ExplicitContentAnnotation")
1668	proto.RegisterType((*NormalizedBoundingBox)(nil), "google.cloud.videointelligence.v1p2beta1.NormalizedBoundingBox")
1669	proto.RegisterType((*VideoAnnotationResults)(nil), "google.cloud.videointelligence.v1p2beta1.VideoAnnotationResults")
1670	proto.RegisterType((*AnnotateVideoResponse)(nil), "google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse")
1671	proto.RegisterType((*VideoAnnotationProgress)(nil), "google.cloud.videointelligence.v1p2beta1.VideoAnnotationProgress")
1672	proto.RegisterType((*AnnotateVideoProgress)(nil), "google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress")
1673	proto.RegisterType((*NormalizedVertex)(nil), "google.cloud.videointelligence.v1p2beta1.NormalizedVertex")
1674	proto.RegisterType((*NormalizedBoundingPoly)(nil), "google.cloud.videointelligence.v1p2beta1.NormalizedBoundingPoly")
1675	proto.RegisterType((*TextSegment)(nil), "google.cloud.videointelligence.v1p2beta1.TextSegment")
1676	proto.RegisterType((*TextFrame)(nil), "google.cloud.videointelligence.v1p2beta1.TextFrame")
1677	proto.RegisterType((*TextAnnotation)(nil), "google.cloud.videointelligence.v1p2beta1.TextAnnotation")
1678	proto.RegisterType((*ObjectTrackingFrame)(nil), "google.cloud.videointelligence.v1p2beta1.ObjectTrackingFrame")
1679	proto.RegisterType((*ObjectTrackingAnnotation)(nil), "google.cloud.videointelligence.v1p2beta1.ObjectTrackingAnnotation")
1680}
1681
1682func init() {
1683	proto.RegisterFile("google/cloud/videointelligence/v1p2beta1/video_intelligence.proto", fileDescriptor_890c5161889e04ed)
1684}
1685
1686var fileDescriptor_890c5161889e04ed = []byte{
1687	// 1899 bytes of a gzipped FileDescriptorProto
1688	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xcd, 0x6f, 0xeb, 0x58,
1689	0x15, 0xc7, 0x4e, 0xdb, 0xd7, 0x9c, 0x7e, 0xa5, 0xb7, 0x5f, 0x69, 0x99, 0xd7, 0x57, 0x3c, 0x8c,
1690	0x54, 0xde, 0xa0, 0x84, 0x76, 0x60, 0xc4, 0x64, 0x3e, 0x98, 0x24, 0x75, 0x5f, 0xc3, 0xeb, 0x4b,
1691	0x82, 0x9b, 0x56, 0xf3, 0xe0, 0x21, 0xcb, 0xb5, 0x6f, 0x5d, 0xf3, 0x1c, 0x5f, 0x3f, 0xfb, 0xa6,
1692	0xd3, 0xb2, 0x42, 0x88, 0x05, 0x12, 0xcb, 0x11, 0x12, 0x12, 0xff, 0x01, 0x12, 0x2c, 0xd8, 0xb2,
1693	0x60, 0xc3, 0x86, 0x11, 0x3b, 0x56, 0x48, 0x2c, 0x59, 0x20, 0xf8, 0x27, 0x90, 0xef, 0xbd, 0x76,
1694	0x9c, 0xb8, 0x7d, 0x4d, 0xda, 0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d, 0x5a, 0x9c, 0xda, 0x92, 0xb6, 0x67, 0xb5, 0x59, 0x46,
1706	0xac, 0x73, 0x1a, 0x7a, 0x06, 0xd3, 0x67, 0xd8, 0xa0, 0xbd, 0x00, 0x87, 0x45, 0x79, 0x2b, 0xb7,
1707	0x3d, 0xbf, 0xbb, 0x53, 0x1a, 0x35, 0x68, 0xa5, 0x7d, 0x7e, 0x52, 0x4b, 0x20, 0xd0, 0x8f, 0x60,
1708	0x8e, 0x5f, 0x06, 0xd3, 0x79, 0x49, 0x8b, 0xb9, 0x2d, 0x69, 0x7b, 0x66, 0xf7, 0xfd, 0xd1, 0x31,
1709	0x99, 0x7f, 0x75, 0x7e, 0x5a, 0x9b, 0xbd, 0x48, 0xbd, 0xa1, 0x87, 0x00, 0xa4, 0x47, 0x63, 0x77,
1710	0x27, 0x98, 0xbb, 0x79, 0x4e, 0x89, 0xfc, 0x7d, 0x04, 0x33, 0x2e, 0x31, 0x59, 0xc4, 0x75, 0xc7,
1711	0x2a, 0x4e, 0x32, 0x3e, 0xc4, 0xa4, 0x86, 0xa5, 0xfc, 0x7b, 0x02, 0x66, 0xd3, 0xf0, 0x48, 0x83,
1712	0xe9, 0x10, 0xdb, 0x5d, 0xec, 0xd1, 0xb0, 0x28, 0x6d, 0xe5, 0xee, 0x60, 0xe8, 0x11, 0x3f, 0xae,
1713	0x25, 0x38, 0x88, 0xc2, 0xaa, 0x6b, 0x9c, 0x62, 0x57, 0xb7, 0x30, 0xc5, 0x26, 0x33, 0xc6, 0x24,
1714	0xde, 0x99, 0x63, 0x17, 0x65, 0x16, 0x8a, 0x4f, 0x46, 0xd7, 0x70, 0x18, 0xe1, 0xec, 0xc5, 0x30,
1715	0x75, 0x86, 0xa2, 0x2d, 0xbb, 0xd7, 0x50, 0xd1, 0x2f, 0x24, 0x78, 0x2b, 0x3c, 0x27, 0x54, 0x37,
1716	0xcf, 0x0d, 0xcf, 0xc6, 0x59, 0xe5, 0xfc, 0x1e, 0xea, 0xa3,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 0xf9, 0x8d, 0x24, 0xea, 0x5b,
1728	0x54, 0x25, 0x52, 0x99, 0xf3, 0x01, 0xd5, 0xa3, 0x4e, 0xab, 0x93, 0xb3, 0xb3, 0x10, 0x53, 0xa6,
1729	0x70, 0x66, 0x77, 0x3d, 0x8e, 0x74, 0xdc, 0x8d, 0x4b, 0x7b, 0xa2, 0x5b, 0x6b, 0x0b, 0xec, 0x4c,
1730	0xc7, 0xe9, 0xe2, 0x16, 0x3b, 0x81, 0xaa, 0xb0, 0x80, 0x3d, 0x6b, 0x00, 0x44, 0xbe, 0x0d, 0x64,
1731	0x0e, 0x7b, 0x56, 0x1f, 0x42, 0xf9, 0x99, 0x04, 0xb3, 0xec, 0xc6, 0x62, 0xd3, 0xda, 0xf0, 0x40,
1732	0xb4, 0x0c, 0x61, 0xd0, 0x5d, 0x3b, 0x4f, 0x0c, 0x83, 0x36, 0x01, 0x58, 0x5a, 0x5b, 0x91, 0x34,
1733	0x33, 0x50, 0xd6, 0x52, 0x14, 0xe5, 0x1c, 0x80, 0x59, 0xb0, 0x1f, 0x18, 0x5d, 0x8c, 0x2a, 0x30,
1734	0x33, 0x56, 0x50, 0x80, 0xf6, 0xe3, 0x71, 0x9b, 0x26, 0x17, 0xa6, 0x54, 0x8f, 0x3a, 0xf4, 0x2a,
1735	0x9a, 0x4f, 0x98, 0x3d, 0x45, 0x0d, 0x59, 0xcc, 0x27, 0x4e, 0x68, 0x58, 0x68, 0x0b, 0x66, 0x2c,
1736	0x1c, 0x9a, 0x81, 0xe3, 0x47, 0x1a, 0x18, 0x4e, 0x5e, 0x4b, 0x93, 0xa2, 0x09, 0x96, 0xdc, 0xbb,
1737	0x19, 0x55, 0x09, 0xcf, 0xcb, 0xd9, 0x98, 0x58, 0x27, 0x16, 0x56, 0xfe, 0x29, 0xc3, 0x02, 0x73,
1738	0xac, 0x9a, 0x8c, 0x6d, 0x74, 0x00, 0x53, 0x5c, 0x8d, 0x70, 0xec, 0x5b, 0x63, 0xf4, 0x1a, 0x76,
1739	0x4e, 0x13, 0xe7, 0xd1, 0x8f, 0x61, 0xd1, 0x34, 0x28, 0xb6, 0x49, 0x70, 0xa5, 0x33, 0x92, 0x23,
1740	0x06, 0xe5, 0x5d, 0x40, 0x0b, 0x31, 0x94, 0x2a, 0x90, 0x06, 0x26, 0x50, 0x6e, 0xdc, 0x09, 0x94,
1741	0x4e, 0xa8, 0xd4, 0x04, 0x3a, 0x84, 0xa9, 0xb3, 0xe8, 0x8e, 0xc3, 0xe2, 0x04, 0x43, 0xfc, 0xf6,
1742	0x98, 0x88, 0x2c, 0x41, 0x34, 0x81, 0xa1, 0xfc, 0x59, 0x82, 0xe5, 0xa1, 0x5a, 0xbe, 0x7f, 0x06,
1743	0xbd, 0x84, 0x55, 0x9f, 0x04, 0x1e, 0xb1, 0x03, 0xc3, 0x3f, 0xbf, 0xd2, 0x5d, 0xe7, 0x25, 0x76,
1744	0x9d, 0x73, 0x42, 0x2c, 0x96, 0x05, 0xf3, 0x63, 0x99, 0x9c, 0x9c, 0xd5, 0x56, 0x52, 0x98, 0x7d,
1745	0xb2, 0x12, 0xc2, 0xfa, 0x90, 0x03, 0xa9, 0x4c, 0x39, 0x49, 0x82, 0xc5, 0x17, 0x80, 0x4f, 0xee,
1746	0x3c, 0x95, 0x06, 0xc3, 0xf6, 0x12, 0x56, 0x9a, 0x24, 0xe8, 0x1a, 0xae, 0xf3, 0x53, 0x6c, 0xd5,
1747	0x48, 0xcf, 0xb3, 0x1c, 0xcf, 0xae, 0x91, 0x4b, 0x84, 0x60, 0xc2, 0xc5, 0x67, 0x3c, 0x5e, 0xb2,
1748	0xc6, 0x9e, 0x51, 0x01, 0x72, 0x94, 0xf8, 0xa2, 0x92, 0xa2, 0xc7, 0xa8, 0x3d, 0x06, 0x8e, 0x7d,
1749	0xce, 0xf7, 0x27, 0x59, 0xe3, 0x2f, 0x68, 0x15, 0xa6, 0x4e, 0x09, 0xa5, 0xa4, 0xcb, 0x46, 0xa8,
1750	0xac, 0x89, 0x37, 0xe5, 0xbf, 0x53, 0xb0, 0xca, 0x9a, 0x42, 0xdf, 0x31, 0x0d, 0x87, 0x3d, 0x97,
1751	0x86, 0xaf, 0xdf, 0x10, 0x7b, 0xb0, 0x2e, 0xb2, 0x46, 0xe7, 0x43, 0x29, 0xb5, 0xf9, 0x8a, 0x24,
1752	0xff, 0x60, 0xcc, 0xe4, 0x49, 0x59, 0xb0, 0x26, 0xb0, 0x87, 0xe8, 0x21, 0x22, 0xb0, 0xca, 0x76,
1753	0x95, 0xac, 0xce, 0xdc, 0x7d, 0x75, 0x2e, 0x47, 0xc0, 0x19, 0x85, 0xaf, 0x60, 0x8d, 0x5d, 0xcb,
1754	0x35, 0x1a, 0x27, 0xee, 0xab, 0x71, 0x85, 0x21, 0x67, 0x54, 0x1a, 0x50, 0x60, 0x3e, 0xa6, 0x75,
1755	0x4d, 0xdd, 0x6b, 0xc5, 0x5c, 0x88, 0xf0, 0xd2, 0x2a, 0x28, 0x2c, 0x25, 0xbb, 0x56, 0x5f, 0x4d,
1756	0xf1, 0xc1, 0xb8, 0x9b, 0xde, 0x8d, 0xc5, 0xa1, 0xa1, 0x18, 0x3f, 0x55, 0x30, 0x26, 0x14, 0xd8,
1757	0x32, 0x95, 0x76, 0x6c, 0x96, 0x39, 0xf6, 0xdd, 0xf1, 0xf6, 0xa8, 0x94, 0x9e, 0x05, 0x3a, 0xf0,
1758	0x1e, 0x5d, 0x18, 0x22, 0xa7, 0x3f, 0xc1, 0xe6, 0xa0, 0x9a, 0x79, 0xa6, 0xa6, 0x36, 0xba, 0x9a,
1759	0x16, 0xc3, 0xe8, 0x04, 0x86, 0xf9, 0xd2, 0xf1, 0xec, 0x94, 0xc2, 0x45, 0x8e, 0x9e, 0x56, 0xb9,
1760	0x0d, 0x93, 0x38, 0x08, 0x48, 0x50, 0xcc, 0xb3, 0xf8, 0xa1, 0x58, 0x4b, 0xe0, 0x9b, 0xa5, 0x23,
1761	0xf6, 0x31, 0xa6, 0x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, 0xa7, 0x98, 0x27, 0xef, 0xfd, 0x2f, 0x00,
1806	0x00, 0xff, 0xff, 0x42, 0x86, 0x2f, 0xa9, 0xa8, 0x18, 0x00, 0x00,
1807}
1808
1809// Reference imports to suppress errors if they are not otherwise used.
1810var _ context.Context
1811var _ grpc.ClientConn
1812
1813// This is a compile-time assertion to ensure that this generated file
1814// is compatible with the grpc package it is being compiled against.
1815const _ = grpc.SupportPackageIsVersion4
1816
1817// VideoIntelligenceServiceClient is the client API for VideoIntelligenceService service.
1818//
1819// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1820type VideoIntelligenceServiceClient interface {
1821	// Performs asynchronous video annotation. Progress and results can be
1822	// retrieved through the `google.longrunning.Operations` interface.
1823	// `Operation.metadata` contains `AnnotateVideoProgress` (progress).
1824	// `Operation.response` contains `AnnotateVideoResponse` (results).
1825	AnnotateVideo(ctx context.Context, in *AnnotateVideoRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1826}
1827
1828type videoIntelligenceServiceClient struct {
1829	cc *grpc.ClientConn
1830}
1831
1832func NewVideoIntelligenceServiceClient(cc *grpc.ClientConn) VideoIntelligenceServiceClient {
1833	return &videoIntelligenceServiceClient{cc}
1834}
1835
1836func (c *videoIntelligenceServiceClient) AnnotateVideo(ctx context.Context, in *AnnotateVideoRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1837	out := new(longrunning.Operation)
1838	err := c.cc.Invoke(ctx, "/google.cloud.videointelligence.v1p2beta1.VideoIntelligenceService/AnnotateVideo", in, out, opts...)
1839	if err != nil {
1840		return nil, err
1841	}
1842	return out, nil
1843}
1844
1845// VideoIntelligenceServiceServer is the server API for VideoIntelligenceService service.
1846type VideoIntelligenceServiceServer interface {
1847	// Performs asynchronous video annotation. Progress and results can be
1848	// retrieved through the `google.longrunning.Operations` interface.
1849	// `Operation.metadata` contains `AnnotateVideoProgress` (progress).
1850	// `Operation.response` contains `AnnotateVideoResponse` (results).
1851	AnnotateVideo(context.Context, *AnnotateVideoRequest) (*longrunning.Operation, error)
1852}
1853
1854func RegisterVideoIntelligenceServiceServer(s *grpc.Server, srv VideoIntelligenceServiceServer) {
1855	s.RegisterService(&_VideoIntelligenceService_serviceDesc, srv)
1856}
1857
1858func _VideoIntelligenceService_AnnotateVideo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1859	in := new(AnnotateVideoRequest)
1860	if err := dec(in); err != nil {
1861		return nil, err
1862	}
1863	if interceptor == nil {
1864		return srv.(VideoIntelligenceServiceServer).AnnotateVideo(ctx, in)
1865	}
1866	info := &grpc.UnaryServerInfo{
1867		Server:     srv,
1868		FullMethod: "/google.cloud.videointelligence.v1p2beta1.VideoIntelligenceService/AnnotateVideo",
1869	}
1870	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1871		return srv.(VideoIntelligenceServiceServer).AnnotateVideo(ctx, req.(*AnnotateVideoRequest))
1872	}
1873	return interceptor(ctx, in, info, handler)
1874}
1875
1876var _VideoIntelligenceService_serviceDesc = grpc.ServiceDesc{
1877	ServiceName: "google.cloud.videointelligence.v1p2beta1.VideoIntelligenceService",
1878	HandlerType: (*VideoIntelligenceServiceServer)(nil),
1879	Methods: []grpc.MethodDesc{
1880		{
1881			MethodName: "AnnotateVideo",
1882			Handler:    _VideoIntelligenceService_AnnotateVideo_Handler,
1883		},
1884	},
1885	Streams:  []grpc.StreamDesc{},
1886	Metadata: "google/cloud/videointelligence/v1p2beta1/video_intelligence.proto",
1887}
1888