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