1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/cloud/videointelligence/v1p3beta1/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 // Speech transcription. 44 Feature_SPEECH_TRANSCRIPTION Feature = 6 45 // OCR text detection and tracking. 46 Feature_TEXT_DETECTION Feature = 7 47 // Object detection and tracking. 48 Feature_OBJECT_TRACKING Feature = 9 49 // Logo detection, tracking, and recognition. 50 Feature_LOGO_RECOGNITION Feature = 12 51) 52 53var Feature_name = map[int32]string{ 54 0: "FEATURE_UNSPECIFIED", 55 1: "LABEL_DETECTION", 56 2: "SHOT_CHANGE_DETECTION", 57 3: "EXPLICIT_CONTENT_DETECTION", 58 6: "SPEECH_TRANSCRIPTION", 59 7: "TEXT_DETECTION", 60 9: "OBJECT_TRACKING", 61 12: "LOGO_RECOGNITION", 62} 63 64var Feature_value = map[string]int32{ 65 "FEATURE_UNSPECIFIED": 0, 66 "LABEL_DETECTION": 1, 67 "SHOT_CHANGE_DETECTION": 2, 68 "EXPLICIT_CONTENT_DETECTION": 3, 69 "SPEECH_TRANSCRIPTION": 6, 70 "TEXT_DETECTION": 7, 71 "OBJECT_TRACKING": 9, 72 "LOGO_RECOGNITION": 12, 73} 74 75func (x Feature) String() string { 76 return proto.EnumName(Feature_name, int32(x)) 77} 78 79func (Feature) EnumDescriptor() ([]byte, []int) { 80 return fileDescriptor_06234ac6e4dad78c, []int{0} 81} 82 83// Label detection mode. 84type LabelDetectionMode int32 85 86const ( 87 // Unspecified. 88 LabelDetectionMode_LABEL_DETECTION_MODE_UNSPECIFIED LabelDetectionMode = 0 89 // Detect shot-level labels. 90 LabelDetectionMode_SHOT_MODE LabelDetectionMode = 1 91 // Detect frame-level labels. 92 LabelDetectionMode_FRAME_MODE LabelDetectionMode = 2 93 // Detect both shot-level and frame-level labels. 94 LabelDetectionMode_SHOT_AND_FRAME_MODE LabelDetectionMode = 3 95) 96 97var LabelDetectionMode_name = map[int32]string{ 98 0: "LABEL_DETECTION_MODE_UNSPECIFIED", 99 1: "SHOT_MODE", 100 2: "FRAME_MODE", 101 3: "SHOT_AND_FRAME_MODE", 102} 103 104var LabelDetectionMode_value = map[string]int32{ 105 "LABEL_DETECTION_MODE_UNSPECIFIED": 0, 106 "SHOT_MODE": 1, 107 "FRAME_MODE": 2, 108 "SHOT_AND_FRAME_MODE": 3, 109} 110 111func (x LabelDetectionMode) String() string { 112 return proto.EnumName(LabelDetectionMode_name, int32(x)) 113} 114 115func (LabelDetectionMode) EnumDescriptor() ([]byte, []int) { 116 return fileDescriptor_06234ac6e4dad78c, []int{1} 117} 118 119// Bucketized representation of likelihood. 120type Likelihood int32 121 122const ( 123 // Unspecified likelihood. 124 Likelihood_LIKELIHOOD_UNSPECIFIED Likelihood = 0 125 // Very unlikely. 126 Likelihood_VERY_UNLIKELY Likelihood = 1 127 // Unlikely. 128 Likelihood_UNLIKELY Likelihood = 2 129 // Possible. 130 Likelihood_POSSIBLE Likelihood = 3 131 // Likely. 132 Likelihood_LIKELY Likelihood = 4 133 // Very likely. 134 Likelihood_VERY_LIKELY Likelihood = 5 135) 136 137var Likelihood_name = map[int32]string{ 138 0: "LIKELIHOOD_UNSPECIFIED", 139 1: "VERY_UNLIKELY", 140 2: "UNLIKELY", 141 3: "POSSIBLE", 142 4: "LIKELY", 143 5: "VERY_LIKELY", 144} 145 146var Likelihood_value = map[string]int32{ 147 "LIKELIHOOD_UNSPECIFIED": 0, 148 "VERY_UNLIKELY": 1, 149 "UNLIKELY": 2, 150 "POSSIBLE": 3, 151 "LIKELY": 4, 152 "VERY_LIKELY": 5, 153} 154 155func (x Likelihood) String() string { 156 return proto.EnumName(Likelihood_name, int32(x)) 157} 158 159func (Likelihood) EnumDescriptor() ([]byte, []int) { 160 return fileDescriptor_06234ac6e4dad78c, []int{2} 161} 162 163// Streaming video annotation feature. 164type StreamingFeature int32 165 166const ( 167 // Unspecified. 168 StreamingFeature_STREAMING_FEATURE_UNSPECIFIED StreamingFeature = 0 169 // Label detection. Detect objects, such as dog or flower. 170 StreamingFeature_STREAMING_LABEL_DETECTION StreamingFeature = 1 171 // Shot change detection. 172 StreamingFeature_STREAMING_SHOT_CHANGE_DETECTION StreamingFeature = 2 173 // Explicit content detection. 174 StreamingFeature_STREAMING_EXPLICIT_CONTENT_DETECTION StreamingFeature = 3 175 // Object detection and tracking. 176 StreamingFeature_STREAMING_OBJECT_TRACKING StreamingFeature = 4 177 // Video classification based on AutoML model. 178 StreamingFeature_STREAMING_AUTOML_CLASSIFICATION StreamingFeature = 21 179 // Object detection and tracking based on AutoML model. 180 StreamingFeature_STREAMING_AUTOML_OBJECT_TRACKING StreamingFeature = 22 181) 182 183var StreamingFeature_name = map[int32]string{ 184 0: "STREAMING_FEATURE_UNSPECIFIED", 185 1: "STREAMING_LABEL_DETECTION", 186 2: "STREAMING_SHOT_CHANGE_DETECTION", 187 3: "STREAMING_EXPLICIT_CONTENT_DETECTION", 188 4: "STREAMING_OBJECT_TRACKING", 189 21: "STREAMING_AUTOML_CLASSIFICATION", 190 22: "STREAMING_AUTOML_OBJECT_TRACKING", 191} 192 193var StreamingFeature_value = map[string]int32{ 194 "STREAMING_FEATURE_UNSPECIFIED": 0, 195 "STREAMING_LABEL_DETECTION": 1, 196 "STREAMING_SHOT_CHANGE_DETECTION": 2, 197 "STREAMING_EXPLICIT_CONTENT_DETECTION": 3, 198 "STREAMING_OBJECT_TRACKING": 4, 199 "STREAMING_AUTOML_CLASSIFICATION": 21, 200 "STREAMING_AUTOML_OBJECT_TRACKING": 22, 201} 202 203func (x StreamingFeature) String() string { 204 return proto.EnumName(StreamingFeature_name, int32(x)) 205} 206 207func (StreamingFeature) EnumDescriptor() ([]byte, []int) { 208 return fileDescriptor_06234ac6e4dad78c, []int{3} 209} 210 211// Video annotation request. 212type AnnotateVideoRequest struct { 213 // Input video location. Currently, only 214 // [Google Cloud Storage](https://cloud.google.com/storage/) URIs are 215 // supported, which must be specified in the following format: 216 // `gs://bucket-id/object-id` (other URI formats return 217 // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For 218 // more information, see [Request URIs](/storage/docs/reference-uris). A video 219 // URI may include wildcards in `object-id`, and thus identify multiple 220 // videos. Supported wildcards: '*' to match 0 or more characters; 221 // '?' to match 1 character. If unset, the input video should be embedded 222 // in the request as `input_content`. If set, `input_content` should be unset. 223 InputUri string `protobuf:"bytes,1,opt,name=input_uri,json=inputUri,proto3" json:"input_uri,omitempty"` 224 // The video data bytes. 225 // If unset, the input video(s) should be specified via `input_uri`. 226 // If set, `input_uri` should be unset. 227 InputContent []byte `protobuf:"bytes,6,opt,name=input_content,json=inputContent,proto3" json:"input_content,omitempty"` 228 // Requested video annotation features. 229 Features []Feature `protobuf:"varint,2,rep,packed,name=features,proto3,enum=google.cloud.videointelligence.v1p3beta1.Feature" json:"features,omitempty"` 230 // Additional video context and/or feature-specific parameters. 231 VideoContext *VideoContext `protobuf:"bytes,3,opt,name=video_context,json=videoContext,proto3" json:"video_context,omitempty"` 232 // Optional location where the output (in JSON format) should be stored. 233 // Currently, only [Google Cloud Storage](https://cloud.google.com/storage/) 234 // URIs are supported, which must be specified in the following format: 235 // `gs://bucket-id/object-id` (other URI formats return 236 // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For 237 // more information, see [Request URIs](/storage/docs/reference-uris). 238 OutputUri string `protobuf:"bytes,4,opt,name=output_uri,json=outputUri,proto3" json:"output_uri,omitempty"` 239 // Optional cloud region where annotation should take place. Supported cloud 240 // regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region 241 // is specified, a region will be determined based on video file location. 242 LocationId string `protobuf:"bytes,5,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` 243 XXX_NoUnkeyedLiteral struct{} `json:"-"` 244 XXX_unrecognized []byte `json:"-"` 245 XXX_sizecache int32 `json:"-"` 246} 247 248func (m *AnnotateVideoRequest) Reset() { *m = AnnotateVideoRequest{} } 249func (m *AnnotateVideoRequest) String() string { return proto.CompactTextString(m) } 250func (*AnnotateVideoRequest) ProtoMessage() {} 251func (*AnnotateVideoRequest) Descriptor() ([]byte, []int) { 252 return fileDescriptor_06234ac6e4dad78c, []int{0} 253} 254 255func (m *AnnotateVideoRequest) XXX_Unmarshal(b []byte) error { 256 return xxx_messageInfo_AnnotateVideoRequest.Unmarshal(m, b) 257} 258func (m *AnnotateVideoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 259 return xxx_messageInfo_AnnotateVideoRequest.Marshal(b, m, deterministic) 260} 261func (m *AnnotateVideoRequest) XXX_Merge(src proto.Message) { 262 xxx_messageInfo_AnnotateVideoRequest.Merge(m, src) 263} 264func (m *AnnotateVideoRequest) XXX_Size() int { 265 return xxx_messageInfo_AnnotateVideoRequest.Size(m) 266} 267func (m *AnnotateVideoRequest) XXX_DiscardUnknown() { 268 xxx_messageInfo_AnnotateVideoRequest.DiscardUnknown(m) 269} 270 271var xxx_messageInfo_AnnotateVideoRequest proto.InternalMessageInfo 272 273func (m *AnnotateVideoRequest) GetInputUri() string { 274 if m != nil { 275 return m.InputUri 276 } 277 return "" 278} 279 280func (m *AnnotateVideoRequest) GetInputContent() []byte { 281 if m != nil { 282 return m.InputContent 283 } 284 return nil 285} 286 287func (m *AnnotateVideoRequest) GetFeatures() []Feature { 288 if m != nil { 289 return m.Features 290 } 291 return nil 292} 293 294func (m *AnnotateVideoRequest) GetVideoContext() *VideoContext { 295 if m != nil { 296 return m.VideoContext 297 } 298 return nil 299} 300 301func (m *AnnotateVideoRequest) GetOutputUri() string { 302 if m != nil { 303 return m.OutputUri 304 } 305 return "" 306} 307 308func (m *AnnotateVideoRequest) GetLocationId() string { 309 if m != nil { 310 return m.LocationId 311 } 312 return "" 313} 314 315// Video context and/or feature-specific parameters. 316type VideoContext struct { 317 // Video segments to annotate. The segments may overlap and are not required 318 // to be contiguous or span the whole video. If unspecified, each video is 319 // treated as a single segment. 320 Segments []*VideoSegment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"` 321 // Config for LABEL_DETECTION. 322 LabelDetectionConfig *LabelDetectionConfig `protobuf:"bytes,2,opt,name=label_detection_config,json=labelDetectionConfig,proto3" json:"label_detection_config,omitempty"` 323 // Config for SHOT_CHANGE_DETECTION. 324 ShotChangeDetectionConfig *ShotChangeDetectionConfig `protobuf:"bytes,3,opt,name=shot_change_detection_config,json=shotChangeDetectionConfig,proto3" json:"shot_change_detection_config,omitempty"` 325 // Config for EXPLICIT_CONTENT_DETECTION. 326 ExplicitContentDetectionConfig *ExplicitContentDetectionConfig `protobuf:"bytes,4,opt,name=explicit_content_detection_config,json=explicitContentDetectionConfig,proto3" json:"explicit_content_detection_config,omitempty"` 327 // Config for SPEECH_TRANSCRIPTION. 328 SpeechTranscriptionConfig *SpeechTranscriptionConfig `protobuf:"bytes,6,opt,name=speech_transcription_config,json=speechTranscriptionConfig,proto3" json:"speech_transcription_config,omitempty"` 329 // Config for TEXT_DETECTION. 330 TextDetectionConfig *TextDetectionConfig `protobuf:"bytes,8,opt,name=text_detection_config,json=textDetectionConfig,proto3" json:"text_detection_config,omitempty"` 331 // Config for OBJECT_TRACKING. 332 ObjectTrackingConfig *ObjectTrackingConfig `protobuf:"bytes,13,opt,name=object_tracking_config,json=objectTrackingConfig,proto3" json:"object_tracking_config,omitempty"` 333 XXX_NoUnkeyedLiteral struct{} `json:"-"` 334 XXX_unrecognized []byte `json:"-"` 335 XXX_sizecache int32 `json:"-"` 336} 337 338func (m *VideoContext) Reset() { *m = VideoContext{} } 339func (m *VideoContext) String() string { return proto.CompactTextString(m) } 340func (*VideoContext) ProtoMessage() {} 341func (*VideoContext) Descriptor() ([]byte, []int) { 342 return fileDescriptor_06234ac6e4dad78c, []int{1} 343} 344 345func (m *VideoContext) XXX_Unmarshal(b []byte) error { 346 return xxx_messageInfo_VideoContext.Unmarshal(m, b) 347} 348func (m *VideoContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 349 return xxx_messageInfo_VideoContext.Marshal(b, m, deterministic) 350} 351func (m *VideoContext) XXX_Merge(src proto.Message) { 352 xxx_messageInfo_VideoContext.Merge(m, src) 353} 354func (m *VideoContext) XXX_Size() int { 355 return xxx_messageInfo_VideoContext.Size(m) 356} 357func (m *VideoContext) XXX_DiscardUnknown() { 358 xxx_messageInfo_VideoContext.DiscardUnknown(m) 359} 360 361var xxx_messageInfo_VideoContext proto.InternalMessageInfo 362 363func (m *VideoContext) GetSegments() []*VideoSegment { 364 if m != nil { 365 return m.Segments 366 } 367 return nil 368} 369 370func (m *VideoContext) GetLabelDetectionConfig() *LabelDetectionConfig { 371 if m != nil { 372 return m.LabelDetectionConfig 373 } 374 return nil 375} 376 377func (m *VideoContext) GetShotChangeDetectionConfig() *ShotChangeDetectionConfig { 378 if m != nil { 379 return m.ShotChangeDetectionConfig 380 } 381 return nil 382} 383 384func (m *VideoContext) GetExplicitContentDetectionConfig() *ExplicitContentDetectionConfig { 385 if m != nil { 386 return m.ExplicitContentDetectionConfig 387 } 388 return nil 389} 390 391func (m *VideoContext) GetSpeechTranscriptionConfig() *SpeechTranscriptionConfig { 392 if m != nil { 393 return m.SpeechTranscriptionConfig 394 } 395 return nil 396} 397 398func (m *VideoContext) GetTextDetectionConfig() *TextDetectionConfig { 399 if m != nil { 400 return m.TextDetectionConfig 401 } 402 return nil 403} 404 405func (m *VideoContext) GetObjectTrackingConfig() *ObjectTrackingConfig { 406 if m != nil { 407 return m.ObjectTrackingConfig 408 } 409 return nil 410} 411 412// Config for LABEL_DETECTION. 413type LabelDetectionConfig struct { 414 // What labels should be detected with LABEL_DETECTION, in addition to 415 // video-level labels or segment-level labels. 416 // If unspecified, defaults to `SHOT_MODE`. 417 LabelDetectionMode LabelDetectionMode `protobuf:"varint,1,opt,name=label_detection_mode,json=labelDetectionMode,proto3,enum=google.cloud.videointelligence.v1p3beta1.LabelDetectionMode" json:"label_detection_mode,omitempty"` 418 // Whether the video has been shot from a stationary (i.e. non-moving) camera. 419 // When set to true, might improve detection accuracy for moving objects. 420 // Should be used with `SHOT_AND_FRAME_MODE` enabled. 421 StationaryCamera bool `protobuf:"varint,2,opt,name=stationary_camera,json=stationaryCamera,proto3" json:"stationary_camera,omitempty"` 422 // Model to use for label detection. 423 // Supported values: "builtin/stable" (the default if unset) and 424 // "builtin/latest". 425 Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"` 426 // The confidence threshold we perform filtering on the labels from 427 // frame-level detection. If not set, it is set to 0.4 by default. The valid 428 // range for this threshold is [0.1, 0.9]. Any value set outside of this 429 // range will be clipped. 430 // Note: for best results please follow the default threshold. We will update 431 // the default threshold everytime when we release a new model. 432 FrameConfidenceThreshold float32 `protobuf:"fixed32,4,opt,name=frame_confidence_threshold,json=frameConfidenceThreshold,proto3" json:"frame_confidence_threshold,omitempty"` 433 // The confidence threshold we perform filtering on the labels from 434 // video-level and shot-level detections. If not set, it is set to 0.3 by 435 // default. The valid range for this threshold is [0.1, 0.9]. Any value set 436 // outside of this range will be clipped. 437 // Note: for best results please follow the default threshold. We will update 438 // the default threshold everytime when we release a new model. 439 VideoConfidenceThreshold float32 `protobuf:"fixed32,5,opt,name=video_confidence_threshold,json=videoConfidenceThreshold,proto3" json:"video_confidence_threshold,omitempty"` 440 XXX_NoUnkeyedLiteral struct{} `json:"-"` 441 XXX_unrecognized []byte `json:"-"` 442 XXX_sizecache int32 `json:"-"` 443} 444 445func (m *LabelDetectionConfig) Reset() { *m = LabelDetectionConfig{} } 446func (m *LabelDetectionConfig) String() string { return proto.CompactTextString(m) } 447func (*LabelDetectionConfig) ProtoMessage() {} 448func (*LabelDetectionConfig) Descriptor() ([]byte, []int) { 449 return fileDescriptor_06234ac6e4dad78c, []int{2} 450} 451 452func (m *LabelDetectionConfig) XXX_Unmarshal(b []byte) error { 453 return xxx_messageInfo_LabelDetectionConfig.Unmarshal(m, b) 454} 455func (m *LabelDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 456 return xxx_messageInfo_LabelDetectionConfig.Marshal(b, m, deterministic) 457} 458func (m *LabelDetectionConfig) XXX_Merge(src proto.Message) { 459 xxx_messageInfo_LabelDetectionConfig.Merge(m, src) 460} 461func (m *LabelDetectionConfig) XXX_Size() int { 462 return xxx_messageInfo_LabelDetectionConfig.Size(m) 463} 464func (m *LabelDetectionConfig) XXX_DiscardUnknown() { 465 xxx_messageInfo_LabelDetectionConfig.DiscardUnknown(m) 466} 467 468var xxx_messageInfo_LabelDetectionConfig proto.InternalMessageInfo 469 470func (m *LabelDetectionConfig) GetLabelDetectionMode() LabelDetectionMode { 471 if m != nil { 472 return m.LabelDetectionMode 473 } 474 return LabelDetectionMode_LABEL_DETECTION_MODE_UNSPECIFIED 475} 476 477func (m *LabelDetectionConfig) GetStationaryCamera() bool { 478 if m != nil { 479 return m.StationaryCamera 480 } 481 return false 482} 483 484func (m *LabelDetectionConfig) GetModel() string { 485 if m != nil { 486 return m.Model 487 } 488 return "" 489} 490 491func (m *LabelDetectionConfig) GetFrameConfidenceThreshold() float32 { 492 if m != nil { 493 return m.FrameConfidenceThreshold 494 } 495 return 0 496} 497 498func (m *LabelDetectionConfig) GetVideoConfidenceThreshold() float32 { 499 if m != nil { 500 return m.VideoConfidenceThreshold 501 } 502 return 0 503} 504 505// Config for SHOT_CHANGE_DETECTION. 506type ShotChangeDetectionConfig struct { 507 // Model to use for shot change detection. 508 // Supported values: "builtin/stable" (the default if unset) and 509 // "builtin/latest". 510 Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` 511 XXX_NoUnkeyedLiteral struct{} `json:"-"` 512 XXX_unrecognized []byte `json:"-"` 513 XXX_sizecache int32 `json:"-"` 514} 515 516func (m *ShotChangeDetectionConfig) Reset() { *m = ShotChangeDetectionConfig{} } 517func (m *ShotChangeDetectionConfig) String() string { return proto.CompactTextString(m) } 518func (*ShotChangeDetectionConfig) ProtoMessage() {} 519func (*ShotChangeDetectionConfig) Descriptor() ([]byte, []int) { 520 return fileDescriptor_06234ac6e4dad78c, []int{3} 521} 522 523func (m *ShotChangeDetectionConfig) XXX_Unmarshal(b []byte) error { 524 return xxx_messageInfo_ShotChangeDetectionConfig.Unmarshal(m, b) 525} 526func (m *ShotChangeDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 527 return xxx_messageInfo_ShotChangeDetectionConfig.Marshal(b, m, deterministic) 528} 529func (m *ShotChangeDetectionConfig) XXX_Merge(src proto.Message) { 530 xxx_messageInfo_ShotChangeDetectionConfig.Merge(m, src) 531} 532func (m *ShotChangeDetectionConfig) XXX_Size() int { 533 return xxx_messageInfo_ShotChangeDetectionConfig.Size(m) 534} 535func (m *ShotChangeDetectionConfig) XXX_DiscardUnknown() { 536 xxx_messageInfo_ShotChangeDetectionConfig.DiscardUnknown(m) 537} 538 539var xxx_messageInfo_ShotChangeDetectionConfig proto.InternalMessageInfo 540 541func (m *ShotChangeDetectionConfig) GetModel() string { 542 if m != nil { 543 return m.Model 544 } 545 return "" 546} 547 548// Config for OBJECT_TRACKING. 549type ObjectTrackingConfig struct { 550 // Model to use for object tracking. 551 // Supported values: "builtin/stable" (the default if unset) and 552 // "builtin/latest". 553 Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` 554 XXX_NoUnkeyedLiteral struct{} `json:"-"` 555 XXX_unrecognized []byte `json:"-"` 556 XXX_sizecache int32 `json:"-"` 557} 558 559func (m *ObjectTrackingConfig) Reset() { *m = ObjectTrackingConfig{} } 560func (m *ObjectTrackingConfig) String() string { return proto.CompactTextString(m) } 561func (*ObjectTrackingConfig) ProtoMessage() {} 562func (*ObjectTrackingConfig) Descriptor() ([]byte, []int) { 563 return fileDescriptor_06234ac6e4dad78c, []int{4} 564} 565 566func (m *ObjectTrackingConfig) XXX_Unmarshal(b []byte) error { 567 return xxx_messageInfo_ObjectTrackingConfig.Unmarshal(m, b) 568} 569func (m *ObjectTrackingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 570 return xxx_messageInfo_ObjectTrackingConfig.Marshal(b, m, deterministic) 571} 572func (m *ObjectTrackingConfig) XXX_Merge(src proto.Message) { 573 xxx_messageInfo_ObjectTrackingConfig.Merge(m, src) 574} 575func (m *ObjectTrackingConfig) XXX_Size() int { 576 return xxx_messageInfo_ObjectTrackingConfig.Size(m) 577} 578func (m *ObjectTrackingConfig) XXX_DiscardUnknown() { 579 xxx_messageInfo_ObjectTrackingConfig.DiscardUnknown(m) 580} 581 582var xxx_messageInfo_ObjectTrackingConfig proto.InternalMessageInfo 583 584func (m *ObjectTrackingConfig) GetModel() string { 585 if m != nil { 586 return m.Model 587 } 588 return "" 589} 590 591// Config for EXPLICIT_CONTENT_DETECTION. 592type ExplicitContentDetectionConfig struct { 593 // Model to use for explicit content detection. 594 // Supported values: "builtin/stable" (the default if unset) and 595 // "builtin/latest". 596 Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` 597 XXX_NoUnkeyedLiteral struct{} `json:"-"` 598 XXX_unrecognized []byte `json:"-"` 599 XXX_sizecache int32 `json:"-"` 600} 601 602func (m *ExplicitContentDetectionConfig) Reset() { *m = ExplicitContentDetectionConfig{} } 603func (m *ExplicitContentDetectionConfig) String() string { return proto.CompactTextString(m) } 604func (*ExplicitContentDetectionConfig) ProtoMessage() {} 605func (*ExplicitContentDetectionConfig) Descriptor() ([]byte, []int) { 606 return fileDescriptor_06234ac6e4dad78c, []int{5} 607} 608 609func (m *ExplicitContentDetectionConfig) XXX_Unmarshal(b []byte) error { 610 return xxx_messageInfo_ExplicitContentDetectionConfig.Unmarshal(m, b) 611} 612func (m *ExplicitContentDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 613 return xxx_messageInfo_ExplicitContentDetectionConfig.Marshal(b, m, deterministic) 614} 615func (m *ExplicitContentDetectionConfig) XXX_Merge(src proto.Message) { 616 xxx_messageInfo_ExplicitContentDetectionConfig.Merge(m, src) 617} 618func (m *ExplicitContentDetectionConfig) XXX_Size() int { 619 return xxx_messageInfo_ExplicitContentDetectionConfig.Size(m) 620} 621func (m *ExplicitContentDetectionConfig) XXX_DiscardUnknown() { 622 xxx_messageInfo_ExplicitContentDetectionConfig.DiscardUnknown(m) 623} 624 625var xxx_messageInfo_ExplicitContentDetectionConfig proto.InternalMessageInfo 626 627func (m *ExplicitContentDetectionConfig) GetModel() string { 628 if m != nil { 629 return m.Model 630 } 631 return "" 632} 633 634// Config for TEXT_DETECTION. 635type TextDetectionConfig struct { 636 // Language hint can be specified if the language to be detected is known a 637 // priori. It can increase the accuracy of the detection. Language hint must 638 // be language code in BCP-47 format. 639 // 640 // Automatic language detection is performed if no hint is provided. 641 LanguageHints []string `protobuf:"bytes,1,rep,name=language_hints,json=languageHints,proto3" json:"language_hints,omitempty"` 642 // Model to use for text detection. 643 // Supported values: "builtin/stable" (the default if unset) and 644 // "builtin/latest". 645 Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` 646 XXX_NoUnkeyedLiteral struct{} `json:"-"` 647 XXX_unrecognized []byte `json:"-"` 648 XXX_sizecache int32 `json:"-"` 649} 650 651func (m *TextDetectionConfig) Reset() { *m = TextDetectionConfig{} } 652func (m *TextDetectionConfig) String() string { return proto.CompactTextString(m) } 653func (*TextDetectionConfig) ProtoMessage() {} 654func (*TextDetectionConfig) Descriptor() ([]byte, []int) { 655 return fileDescriptor_06234ac6e4dad78c, []int{6} 656} 657 658func (m *TextDetectionConfig) XXX_Unmarshal(b []byte) error { 659 return xxx_messageInfo_TextDetectionConfig.Unmarshal(m, b) 660} 661func (m *TextDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 662 return xxx_messageInfo_TextDetectionConfig.Marshal(b, m, deterministic) 663} 664func (m *TextDetectionConfig) XXX_Merge(src proto.Message) { 665 xxx_messageInfo_TextDetectionConfig.Merge(m, src) 666} 667func (m *TextDetectionConfig) XXX_Size() int { 668 return xxx_messageInfo_TextDetectionConfig.Size(m) 669} 670func (m *TextDetectionConfig) XXX_DiscardUnknown() { 671 xxx_messageInfo_TextDetectionConfig.DiscardUnknown(m) 672} 673 674var xxx_messageInfo_TextDetectionConfig proto.InternalMessageInfo 675 676func (m *TextDetectionConfig) GetLanguageHints() []string { 677 if m != nil { 678 return m.LanguageHints 679 } 680 return nil 681} 682 683func (m *TextDetectionConfig) GetModel() string { 684 if m != nil { 685 return m.Model 686 } 687 return "" 688} 689 690// Video segment. 691type VideoSegment struct { 692 // Time-offset, relative to the beginning of the video, 693 // corresponding to the start of the segment (inclusive). 694 StartTimeOffset *duration.Duration `protobuf:"bytes,1,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"` 695 // Time-offset, relative to the beginning of the video, 696 // corresponding to the end of the segment (inclusive). 697 EndTimeOffset *duration.Duration `protobuf:"bytes,2,opt,name=end_time_offset,json=endTimeOffset,proto3" json:"end_time_offset,omitempty"` 698 XXX_NoUnkeyedLiteral struct{} `json:"-"` 699 XXX_unrecognized []byte `json:"-"` 700 XXX_sizecache int32 `json:"-"` 701} 702 703func (m *VideoSegment) Reset() { *m = VideoSegment{} } 704func (m *VideoSegment) String() string { return proto.CompactTextString(m) } 705func (*VideoSegment) ProtoMessage() {} 706func (*VideoSegment) Descriptor() ([]byte, []int) { 707 return fileDescriptor_06234ac6e4dad78c, []int{7} 708} 709 710func (m *VideoSegment) XXX_Unmarshal(b []byte) error { 711 return xxx_messageInfo_VideoSegment.Unmarshal(m, b) 712} 713func (m *VideoSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 714 return xxx_messageInfo_VideoSegment.Marshal(b, m, deterministic) 715} 716func (m *VideoSegment) XXX_Merge(src proto.Message) { 717 xxx_messageInfo_VideoSegment.Merge(m, src) 718} 719func (m *VideoSegment) XXX_Size() int { 720 return xxx_messageInfo_VideoSegment.Size(m) 721} 722func (m *VideoSegment) XXX_DiscardUnknown() { 723 xxx_messageInfo_VideoSegment.DiscardUnknown(m) 724} 725 726var xxx_messageInfo_VideoSegment proto.InternalMessageInfo 727 728func (m *VideoSegment) GetStartTimeOffset() *duration.Duration { 729 if m != nil { 730 return m.StartTimeOffset 731 } 732 return nil 733} 734 735func (m *VideoSegment) GetEndTimeOffset() *duration.Duration { 736 if m != nil { 737 return m.EndTimeOffset 738 } 739 return nil 740} 741 742// Video segment level annotation results for label detection. 743type LabelSegment struct { 744 // Video segment where a label was detected. 745 Segment *VideoSegment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"` 746 // Confidence that the label is accurate. Range: [0, 1]. 747 Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` 748 XXX_NoUnkeyedLiteral struct{} `json:"-"` 749 XXX_unrecognized []byte `json:"-"` 750 XXX_sizecache int32 `json:"-"` 751} 752 753func (m *LabelSegment) Reset() { *m = LabelSegment{} } 754func (m *LabelSegment) String() string { return proto.CompactTextString(m) } 755func (*LabelSegment) ProtoMessage() {} 756func (*LabelSegment) Descriptor() ([]byte, []int) { 757 return fileDescriptor_06234ac6e4dad78c, []int{8} 758} 759 760func (m *LabelSegment) XXX_Unmarshal(b []byte) error { 761 return xxx_messageInfo_LabelSegment.Unmarshal(m, b) 762} 763func (m *LabelSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 764 return xxx_messageInfo_LabelSegment.Marshal(b, m, deterministic) 765} 766func (m *LabelSegment) XXX_Merge(src proto.Message) { 767 xxx_messageInfo_LabelSegment.Merge(m, src) 768} 769func (m *LabelSegment) XXX_Size() int { 770 return xxx_messageInfo_LabelSegment.Size(m) 771} 772func (m *LabelSegment) XXX_DiscardUnknown() { 773 xxx_messageInfo_LabelSegment.DiscardUnknown(m) 774} 775 776var xxx_messageInfo_LabelSegment proto.InternalMessageInfo 777 778func (m *LabelSegment) GetSegment() *VideoSegment { 779 if m != nil { 780 return m.Segment 781 } 782 return nil 783} 784 785func (m *LabelSegment) GetConfidence() float32 { 786 if m != nil { 787 return m.Confidence 788 } 789 return 0 790} 791 792// Video frame level annotation results for label detection. 793type LabelFrame struct { 794 // Time-offset, relative to the beginning of the video, corresponding to the 795 // video frame for this location. 796 TimeOffset *duration.Duration `protobuf:"bytes,1,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` 797 // Confidence that the label is accurate. Range: [0, 1]. 798 Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` 799 XXX_NoUnkeyedLiteral struct{} `json:"-"` 800 XXX_unrecognized []byte `json:"-"` 801 XXX_sizecache int32 `json:"-"` 802} 803 804func (m *LabelFrame) Reset() { *m = LabelFrame{} } 805func (m *LabelFrame) String() string { return proto.CompactTextString(m) } 806func (*LabelFrame) ProtoMessage() {} 807func (*LabelFrame) Descriptor() ([]byte, []int) { 808 return fileDescriptor_06234ac6e4dad78c, []int{9} 809} 810 811func (m *LabelFrame) XXX_Unmarshal(b []byte) error { 812 return xxx_messageInfo_LabelFrame.Unmarshal(m, b) 813} 814func (m *LabelFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 815 return xxx_messageInfo_LabelFrame.Marshal(b, m, deterministic) 816} 817func (m *LabelFrame) XXX_Merge(src proto.Message) { 818 xxx_messageInfo_LabelFrame.Merge(m, src) 819} 820func (m *LabelFrame) XXX_Size() int { 821 return xxx_messageInfo_LabelFrame.Size(m) 822} 823func (m *LabelFrame) XXX_DiscardUnknown() { 824 xxx_messageInfo_LabelFrame.DiscardUnknown(m) 825} 826 827var xxx_messageInfo_LabelFrame proto.InternalMessageInfo 828 829func (m *LabelFrame) GetTimeOffset() *duration.Duration { 830 if m != nil { 831 return m.TimeOffset 832 } 833 return nil 834} 835 836func (m *LabelFrame) GetConfidence() float32 { 837 if m != nil { 838 return m.Confidence 839 } 840 return 0 841} 842 843// Detected entity from video analysis. 844type Entity struct { 845 // Opaque entity ID. Some IDs may be available in 846 // [Google Knowledge Graph Search 847 // API](https://developers.google.com/knowledge-graph/). 848 EntityId string `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` 849 // Textual description, e.g. `Fixed-gear bicycle`. 850 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` 851 // Language code for `description` in BCP-47 format. 852 LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 853 XXX_NoUnkeyedLiteral struct{} `json:"-"` 854 XXX_unrecognized []byte `json:"-"` 855 XXX_sizecache int32 `json:"-"` 856} 857 858func (m *Entity) Reset() { *m = Entity{} } 859func (m *Entity) String() string { return proto.CompactTextString(m) } 860func (*Entity) ProtoMessage() {} 861func (*Entity) Descriptor() ([]byte, []int) { 862 return fileDescriptor_06234ac6e4dad78c, []int{10} 863} 864 865func (m *Entity) XXX_Unmarshal(b []byte) error { 866 return xxx_messageInfo_Entity.Unmarshal(m, b) 867} 868func (m *Entity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 869 return xxx_messageInfo_Entity.Marshal(b, m, deterministic) 870} 871func (m *Entity) XXX_Merge(src proto.Message) { 872 xxx_messageInfo_Entity.Merge(m, src) 873} 874func (m *Entity) XXX_Size() int { 875 return xxx_messageInfo_Entity.Size(m) 876} 877func (m *Entity) XXX_DiscardUnknown() { 878 xxx_messageInfo_Entity.DiscardUnknown(m) 879} 880 881var xxx_messageInfo_Entity proto.InternalMessageInfo 882 883func (m *Entity) GetEntityId() string { 884 if m != nil { 885 return m.EntityId 886 } 887 return "" 888} 889 890func (m *Entity) GetDescription() string { 891 if m != nil { 892 return m.Description 893 } 894 return "" 895} 896 897func (m *Entity) GetLanguageCode() string { 898 if m != nil { 899 return m.LanguageCode 900 } 901 return "" 902} 903 904// Label annotation. 905type LabelAnnotation struct { 906 // Detected entity. 907 Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` 908 // Common categories for the detected entity. 909 // E.g. when the label is `Terrier` the category is likely `dog`. And in some 910 // cases there might be more than one categories e.g. `Terrier` could also be 911 // a `pet`. 912 CategoryEntities []*Entity `protobuf:"bytes,2,rep,name=category_entities,json=categoryEntities,proto3" json:"category_entities,omitempty"` 913 // All video segments where a label was detected. 914 Segments []*LabelSegment `protobuf:"bytes,3,rep,name=segments,proto3" json:"segments,omitempty"` 915 // All video frames where a label was detected. 916 Frames []*LabelFrame `protobuf:"bytes,4,rep,name=frames,proto3" json:"frames,omitempty"` 917 XXX_NoUnkeyedLiteral struct{} `json:"-"` 918 XXX_unrecognized []byte `json:"-"` 919 XXX_sizecache int32 `json:"-"` 920} 921 922func (m *LabelAnnotation) Reset() { *m = LabelAnnotation{} } 923func (m *LabelAnnotation) String() string { return proto.CompactTextString(m) } 924func (*LabelAnnotation) ProtoMessage() {} 925func (*LabelAnnotation) Descriptor() ([]byte, []int) { 926 return fileDescriptor_06234ac6e4dad78c, []int{11} 927} 928 929func (m *LabelAnnotation) XXX_Unmarshal(b []byte) error { 930 return xxx_messageInfo_LabelAnnotation.Unmarshal(m, b) 931} 932func (m *LabelAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 933 return xxx_messageInfo_LabelAnnotation.Marshal(b, m, deterministic) 934} 935func (m *LabelAnnotation) XXX_Merge(src proto.Message) { 936 xxx_messageInfo_LabelAnnotation.Merge(m, src) 937} 938func (m *LabelAnnotation) XXX_Size() int { 939 return xxx_messageInfo_LabelAnnotation.Size(m) 940} 941func (m *LabelAnnotation) XXX_DiscardUnknown() { 942 xxx_messageInfo_LabelAnnotation.DiscardUnknown(m) 943} 944 945var xxx_messageInfo_LabelAnnotation proto.InternalMessageInfo 946 947func (m *LabelAnnotation) GetEntity() *Entity { 948 if m != nil { 949 return m.Entity 950 } 951 return nil 952} 953 954func (m *LabelAnnotation) GetCategoryEntities() []*Entity { 955 if m != nil { 956 return m.CategoryEntities 957 } 958 return nil 959} 960 961func (m *LabelAnnotation) GetSegments() []*LabelSegment { 962 if m != nil { 963 return m.Segments 964 } 965 return nil 966} 967 968func (m *LabelAnnotation) GetFrames() []*LabelFrame { 969 if m != nil { 970 return m.Frames 971 } 972 return nil 973} 974 975// Video frame level annotation results for explicit content. 976type ExplicitContentFrame struct { 977 // Time-offset, relative to the beginning of the video, corresponding to the 978 // video frame for this location. 979 TimeOffset *duration.Duration `protobuf:"bytes,1,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` 980 // Likelihood of the pornography content.. 981 PornographyLikelihood Likelihood `protobuf:"varint,2,opt,name=pornography_likelihood,json=pornographyLikelihood,proto3,enum=google.cloud.videointelligence.v1p3beta1.Likelihood" json:"pornography_likelihood,omitempty"` 982 XXX_NoUnkeyedLiteral struct{} `json:"-"` 983 XXX_unrecognized []byte `json:"-"` 984 XXX_sizecache int32 `json:"-"` 985} 986 987func (m *ExplicitContentFrame) Reset() { *m = ExplicitContentFrame{} } 988func (m *ExplicitContentFrame) String() string { return proto.CompactTextString(m) } 989func (*ExplicitContentFrame) ProtoMessage() {} 990func (*ExplicitContentFrame) Descriptor() ([]byte, []int) { 991 return fileDescriptor_06234ac6e4dad78c, []int{12} 992} 993 994func (m *ExplicitContentFrame) XXX_Unmarshal(b []byte) error { 995 return xxx_messageInfo_ExplicitContentFrame.Unmarshal(m, b) 996} 997func (m *ExplicitContentFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 998 return xxx_messageInfo_ExplicitContentFrame.Marshal(b, m, deterministic) 999} 1000func (m *ExplicitContentFrame) XXX_Merge(src proto.Message) { 1001 xxx_messageInfo_ExplicitContentFrame.Merge(m, src) 1002} 1003func (m *ExplicitContentFrame) XXX_Size() int { 1004 return xxx_messageInfo_ExplicitContentFrame.Size(m) 1005} 1006func (m *ExplicitContentFrame) XXX_DiscardUnknown() { 1007 xxx_messageInfo_ExplicitContentFrame.DiscardUnknown(m) 1008} 1009 1010var xxx_messageInfo_ExplicitContentFrame proto.InternalMessageInfo 1011 1012func (m *ExplicitContentFrame) GetTimeOffset() *duration.Duration { 1013 if m != nil { 1014 return m.TimeOffset 1015 } 1016 return nil 1017} 1018 1019func (m *ExplicitContentFrame) GetPornographyLikelihood() Likelihood { 1020 if m != nil { 1021 return m.PornographyLikelihood 1022 } 1023 return Likelihood_LIKELIHOOD_UNSPECIFIED 1024} 1025 1026// Explicit content annotation (based on per-frame visual signals only). 1027// If no explicit content has been detected in a frame, no annotations are 1028// present for that frame. 1029type ExplicitContentAnnotation struct { 1030 // All video frames where explicit content was detected. 1031 Frames []*ExplicitContentFrame `protobuf:"bytes,1,rep,name=frames,proto3" json:"frames,omitempty"` 1032 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1033 XXX_unrecognized []byte `json:"-"` 1034 XXX_sizecache int32 `json:"-"` 1035} 1036 1037func (m *ExplicitContentAnnotation) Reset() { *m = ExplicitContentAnnotation{} } 1038func (m *ExplicitContentAnnotation) String() string { return proto.CompactTextString(m) } 1039func (*ExplicitContentAnnotation) ProtoMessage() {} 1040func (*ExplicitContentAnnotation) Descriptor() ([]byte, []int) { 1041 return fileDescriptor_06234ac6e4dad78c, []int{13} 1042} 1043 1044func (m *ExplicitContentAnnotation) XXX_Unmarshal(b []byte) error { 1045 return xxx_messageInfo_ExplicitContentAnnotation.Unmarshal(m, b) 1046} 1047func (m *ExplicitContentAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1048 return xxx_messageInfo_ExplicitContentAnnotation.Marshal(b, m, deterministic) 1049} 1050func (m *ExplicitContentAnnotation) XXX_Merge(src proto.Message) { 1051 xxx_messageInfo_ExplicitContentAnnotation.Merge(m, src) 1052} 1053func (m *ExplicitContentAnnotation) XXX_Size() int { 1054 return xxx_messageInfo_ExplicitContentAnnotation.Size(m) 1055} 1056func (m *ExplicitContentAnnotation) XXX_DiscardUnknown() { 1057 xxx_messageInfo_ExplicitContentAnnotation.DiscardUnknown(m) 1058} 1059 1060var xxx_messageInfo_ExplicitContentAnnotation proto.InternalMessageInfo 1061 1062func (m *ExplicitContentAnnotation) GetFrames() []*ExplicitContentFrame { 1063 if m != nil { 1064 return m.Frames 1065 } 1066 return nil 1067} 1068 1069// Normalized bounding box. 1070// The normalized vertex coordinates are relative to the original image. 1071// Range: [0, 1]. 1072type NormalizedBoundingBox struct { 1073 // Left X coordinate. 1074 Left float32 `protobuf:"fixed32,1,opt,name=left,proto3" json:"left,omitempty"` 1075 // Top Y coordinate. 1076 Top float32 `protobuf:"fixed32,2,opt,name=top,proto3" json:"top,omitempty"` 1077 // Right X coordinate. 1078 Right float32 `protobuf:"fixed32,3,opt,name=right,proto3" json:"right,omitempty"` 1079 // Bottom Y coordinate. 1080 Bottom float32 `protobuf:"fixed32,4,opt,name=bottom,proto3" json:"bottom,omitempty"` 1081 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1082 XXX_unrecognized []byte `json:"-"` 1083 XXX_sizecache int32 `json:"-"` 1084} 1085 1086func (m *NormalizedBoundingBox) Reset() { *m = NormalizedBoundingBox{} } 1087func (m *NormalizedBoundingBox) String() string { return proto.CompactTextString(m) } 1088func (*NormalizedBoundingBox) ProtoMessage() {} 1089func (*NormalizedBoundingBox) Descriptor() ([]byte, []int) { 1090 return fileDescriptor_06234ac6e4dad78c, []int{14} 1091} 1092 1093func (m *NormalizedBoundingBox) XXX_Unmarshal(b []byte) error { 1094 return xxx_messageInfo_NormalizedBoundingBox.Unmarshal(m, b) 1095} 1096func (m *NormalizedBoundingBox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1097 return xxx_messageInfo_NormalizedBoundingBox.Marshal(b, m, deterministic) 1098} 1099func (m *NormalizedBoundingBox) XXX_Merge(src proto.Message) { 1100 xxx_messageInfo_NormalizedBoundingBox.Merge(m, src) 1101} 1102func (m *NormalizedBoundingBox) XXX_Size() int { 1103 return xxx_messageInfo_NormalizedBoundingBox.Size(m) 1104} 1105func (m *NormalizedBoundingBox) XXX_DiscardUnknown() { 1106 xxx_messageInfo_NormalizedBoundingBox.DiscardUnknown(m) 1107} 1108 1109var xxx_messageInfo_NormalizedBoundingBox proto.InternalMessageInfo 1110 1111func (m *NormalizedBoundingBox) GetLeft() float32 { 1112 if m != nil { 1113 return m.Left 1114 } 1115 return 0 1116} 1117 1118func (m *NormalizedBoundingBox) GetTop() float32 { 1119 if m != nil { 1120 return m.Top 1121 } 1122 return 0 1123} 1124 1125func (m *NormalizedBoundingBox) GetRight() float32 { 1126 if m != nil { 1127 return m.Right 1128 } 1129 return 0 1130} 1131 1132func (m *NormalizedBoundingBox) GetBottom() float32 { 1133 if m != nil { 1134 return m.Bottom 1135 } 1136 return 0 1137} 1138 1139// For tracking related features, such as LOGO_RECOGNITION, FACE_DETECTION, 1140// CELEBRITY_RECOGNITION, PERSON_DETECTION. 1141// An object at time_offset with attributes, and located with 1142// normalized_bounding_box. 1143type TimestampedObject struct { 1144 // Normalized Bounding box in a frame, where the object is located. 1145 NormalizedBoundingBox *NormalizedBoundingBox `protobuf:"bytes,1,opt,name=normalized_bounding_box,json=normalizedBoundingBox,proto3" json:"normalized_bounding_box,omitempty"` 1146 // Time-offset, relative to the beginning of the video, 1147 // corresponding to the video frame for this object. 1148 TimeOffset *duration.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` 1149 // Optional. The attributes of the object in the bounding box. 1150 Attributes []*DetectedAttribute `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"` 1151 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1152 XXX_unrecognized []byte `json:"-"` 1153 XXX_sizecache int32 `json:"-"` 1154} 1155 1156func (m *TimestampedObject) Reset() { *m = TimestampedObject{} } 1157func (m *TimestampedObject) String() string { return proto.CompactTextString(m) } 1158func (*TimestampedObject) ProtoMessage() {} 1159func (*TimestampedObject) Descriptor() ([]byte, []int) { 1160 return fileDescriptor_06234ac6e4dad78c, []int{15} 1161} 1162 1163func (m *TimestampedObject) XXX_Unmarshal(b []byte) error { 1164 return xxx_messageInfo_TimestampedObject.Unmarshal(m, b) 1165} 1166func (m *TimestampedObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1167 return xxx_messageInfo_TimestampedObject.Marshal(b, m, deterministic) 1168} 1169func (m *TimestampedObject) XXX_Merge(src proto.Message) { 1170 xxx_messageInfo_TimestampedObject.Merge(m, src) 1171} 1172func (m *TimestampedObject) XXX_Size() int { 1173 return xxx_messageInfo_TimestampedObject.Size(m) 1174} 1175func (m *TimestampedObject) XXX_DiscardUnknown() { 1176 xxx_messageInfo_TimestampedObject.DiscardUnknown(m) 1177} 1178 1179var xxx_messageInfo_TimestampedObject proto.InternalMessageInfo 1180 1181func (m *TimestampedObject) GetNormalizedBoundingBox() *NormalizedBoundingBox { 1182 if m != nil { 1183 return m.NormalizedBoundingBox 1184 } 1185 return nil 1186} 1187 1188func (m *TimestampedObject) GetTimeOffset() *duration.Duration { 1189 if m != nil { 1190 return m.TimeOffset 1191 } 1192 return nil 1193} 1194 1195func (m *TimestampedObject) GetAttributes() []*DetectedAttribute { 1196 if m != nil { 1197 return m.Attributes 1198 } 1199 return nil 1200} 1201 1202// A track of an object instance. 1203type Track struct { 1204 // Video segment of a track. 1205 Segment *VideoSegment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"` 1206 // The object with timestamp and attributes per frame in the track. 1207 TimestampedObjects []*TimestampedObject `protobuf:"bytes,2,rep,name=timestamped_objects,json=timestampedObjects,proto3" json:"timestamped_objects,omitempty"` 1208 // Optional. Attributes in the track level. 1209 Attributes []*DetectedAttribute `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"` 1210 // Optional. The confidence score of the tracked object. 1211 Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` 1212 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1213 XXX_unrecognized []byte `json:"-"` 1214 XXX_sizecache int32 `json:"-"` 1215} 1216 1217func (m *Track) Reset() { *m = Track{} } 1218func (m *Track) String() string { return proto.CompactTextString(m) } 1219func (*Track) ProtoMessage() {} 1220func (*Track) Descriptor() ([]byte, []int) { 1221 return fileDescriptor_06234ac6e4dad78c, []int{16} 1222} 1223 1224func (m *Track) XXX_Unmarshal(b []byte) error { 1225 return xxx_messageInfo_Track.Unmarshal(m, b) 1226} 1227func (m *Track) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1228 return xxx_messageInfo_Track.Marshal(b, m, deterministic) 1229} 1230func (m *Track) XXX_Merge(src proto.Message) { 1231 xxx_messageInfo_Track.Merge(m, src) 1232} 1233func (m *Track) XXX_Size() int { 1234 return xxx_messageInfo_Track.Size(m) 1235} 1236func (m *Track) XXX_DiscardUnknown() { 1237 xxx_messageInfo_Track.DiscardUnknown(m) 1238} 1239 1240var xxx_messageInfo_Track proto.InternalMessageInfo 1241 1242func (m *Track) GetSegment() *VideoSegment { 1243 if m != nil { 1244 return m.Segment 1245 } 1246 return nil 1247} 1248 1249func (m *Track) GetTimestampedObjects() []*TimestampedObject { 1250 if m != nil { 1251 return m.TimestampedObjects 1252 } 1253 return nil 1254} 1255 1256func (m *Track) GetAttributes() []*DetectedAttribute { 1257 if m != nil { 1258 return m.Attributes 1259 } 1260 return nil 1261} 1262 1263func (m *Track) GetConfidence() float32 { 1264 if m != nil { 1265 return m.Confidence 1266 } 1267 return 0 1268} 1269 1270// A generic detected attribute represented by name in string format. 1271type DetectedAttribute struct { 1272 // The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc. 1273 // A full list of supported type names will be provided in the document. 1274 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1275 // Detected attribute confidence. Range [0, 1]. 1276 Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` 1277 // Text value of the detection result. For example, the value for "HairColor" 1278 // can be "black", "blonde", etc. 1279 Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` 1280 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1281 XXX_unrecognized []byte `json:"-"` 1282 XXX_sizecache int32 `json:"-"` 1283} 1284 1285func (m *DetectedAttribute) Reset() { *m = DetectedAttribute{} } 1286func (m *DetectedAttribute) String() string { return proto.CompactTextString(m) } 1287func (*DetectedAttribute) ProtoMessage() {} 1288func (*DetectedAttribute) Descriptor() ([]byte, []int) { 1289 return fileDescriptor_06234ac6e4dad78c, []int{17} 1290} 1291 1292func (m *DetectedAttribute) XXX_Unmarshal(b []byte) error { 1293 return xxx_messageInfo_DetectedAttribute.Unmarshal(m, b) 1294} 1295func (m *DetectedAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1296 return xxx_messageInfo_DetectedAttribute.Marshal(b, m, deterministic) 1297} 1298func (m *DetectedAttribute) XXX_Merge(src proto.Message) { 1299 xxx_messageInfo_DetectedAttribute.Merge(m, src) 1300} 1301func (m *DetectedAttribute) XXX_Size() int { 1302 return xxx_messageInfo_DetectedAttribute.Size(m) 1303} 1304func (m *DetectedAttribute) XXX_DiscardUnknown() { 1305 xxx_messageInfo_DetectedAttribute.DiscardUnknown(m) 1306} 1307 1308var xxx_messageInfo_DetectedAttribute proto.InternalMessageInfo 1309 1310func (m *DetectedAttribute) GetName() string { 1311 if m != nil { 1312 return m.Name 1313 } 1314 return "" 1315} 1316 1317func (m *DetectedAttribute) GetConfidence() float32 { 1318 if m != nil { 1319 return m.Confidence 1320 } 1321 return 0 1322} 1323 1324func (m *DetectedAttribute) GetValue() string { 1325 if m != nil { 1326 return m.Value 1327 } 1328 return "" 1329} 1330 1331// Annotation results for a single video. 1332type VideoAnnotationResults struct { 1333 // Video file location in 1334 // [Google Cloud Storage](https://cloud.google.com/storage/). 1335 InputUri string `protobuf:"bytes,1,opt,name=input_uri,json=inputUri,proto3" json:"input_uri,omitempty"` 1336 // Label annotations on video level or user specified segment level. 1337 // There is exactly one element for each unique label. 1338 SegmentLabelAnnotations []*LabelAnnotation `protobuf:"bytes,2,rep,name=segment_label_annotations,json=segmentLabelAnnotations,proto3" json:"segment_label_annotations,omitempty"` 1339 // Label annotations on shot level. 1340 // There is exactly one element for each unique label. 1341 ShotLabelAnnotations []*LabelAnnotation `protobuf:"bytes,3,rep,name=shot_label_annotations,json=shotLabelAnnotations,proto3" json:"shot_label_annotations,omitempty"` 1342 // Label annotations on frame level. 1343 // There is exactly one element for each unique label. 1344 FrameLabelAnnotations []*LabelAnnotation `protobuf:"bytes,4,rep,name=frame_label_annotations,json=frameLabelAnnotations,proto3" json:"frame_label_annotations,omitempty"` 1345 // Shot annotations. Each shot is represented as a video segment. 1346 ShotAnnotations []*VideoSegment `protobuf:"bytes,6,rep,name=shot_annotations,json=shotAnnotations,proto3" json:"shot_annotations,omitempty"` 1347 // Explicit content annotation. 1348 ExplicitAnnotation *ExplicitContentAnnotation `protobuf:"bytes,7,opt,name=explicit_annotation,json=explicitAnnotation,proto3" json:"explicit_annotation,omitempty"` 1349 // Speech transcription. 1350 SpeechTranscriptions []*SpeechTranscription `protobuf:"bytes,11,rep,name=speech_transcriptions,json=speechTranscriptions,proto3" json:"speech_transcriptions,omitempty"` 1351 // OCR text detection and tracking. 1352 // Annotations for list of detected text snippets. Each will have list of 1353 // frame information associated with it. 1354 TextAnnotations []*TextAnnotation `protobuf:"bytes,12,rep,name=text_annotations,json=textAnnotations,proto3" json:"text_annotations,omitempty"` 1355 // Annotations for list of objects detected and tracked in video. 1356 ObjectAnnotations []*ObjectTrackingAnnotation `protobuf:"bytes,14,rep,name=object_annotations,json=objectAnnotations,proto3" json:"object_annotations,omitempty"` 1357 // Annotations for list of logos detected, tracked and recognized in video. 1358 LogoRecognitionAnnotations []*LogoRecognitionAnnotation `protobuf:"bytes,19,rep,name=logo_recognition_annotations,json=logoRecognitionAnnotations,proto3" json:"logo_recognition_annotations,omitempty"` 1359 // If set, indicates an error. Note that for a single `AnnotateVideoRequest` 1360 // some videos may succeed and some may fail. 1361 Error *status.Status `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"` 1362 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1363 XXX_unrecognized []byte `json:"-"` 1364 XXX_sizecache int32 `json:"-"` 1365} 1366 1367func (m *VideoAnnotationResults) Reset() { *m = VideoAnnotationResults{} } 1368func (m *VideoAnnotationResults) String() string { return proto.CompactTextString(m) } 1369func (*VideoAnnotationResults) ProtoMessage() {} 1370func (*VideoAnnotationResults) Descriptor() ([]byte, []int) { 1371 return fileDescriptor_06234ac6e4dad78c, []int{18} 1372} 1373 1374func (m *VideoAnnotationResults) XXX_Unmarshal(b []byte) error { 1375 return xxx_messageInfo_VideoAnnotationResults.Unmarshal(m, b) 1376} 1377func (m *VideoAnnotationResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1378 return xxx_messageInfo_VideoAnnotationResults.Marshal(b, m, deterministic) 1379} 1380func (m *VideoAnnotationResults) XXX_Merge(src proto.Message) { 1381 xxx_messageInfo_VideoAnnotationResults.Merge(m, src) 1382} 1383func (m *VideoAnnotationResults) XXX_Size() int { 1384 return xxx_messageInfo_VideoAnnotationResults.Size(m) 1385} 1386func (m *VideoAnnotationResults) XXX_DiscardUnknown() { 1387 xxx_messageInfo_VideoAnnotationResults.DiscardUnknown(m) 1388} 1389 1390var xxx_messageInfo_VideoAnnotationResults proto.InternalMessageInfo 1391 1392func (m *VideoAnnotationResults) GetInputUri() string { 1393 if m != nil { 1394 return m.InputUri 1395 } 1396 return "" 1397} 1398 1399func (m *VideoAnnotationResults) GetSegmentLabelAnnotations() []*LabelAnnotation { 1400 if m != nil { 1401 return m.SegmentLabelAnnotations 1402 } 1403 return nil 1404} 1405 1406func (m *VideoAnnotationResults) GetShotLabelAnnotations() []*LabelAnnotation { 1407 if m != nil { 1408 return m.ShotLabelAnnotations 1409 } 1410 return nil 1411} 1412 1413func (m *VideoAnnotationResults) GetFrameLabelAnnotations() []*LabelAnnotation { 1414 if m != nil { 1415 return m.FrameLabelAnnotations 1416 } 1417 return nil 1418} 1419 1420func (m *VideoAnnotationResults) GetShotAnnotations() []*VideoSegment { 1421 if m != nil { 1422 return m.ShotAnnotations 1423 } 1424 return nil 1425} 1426 1427func (m *VideoAnnotationResults) GetExplicitAnnotation() *ExplicitContentAnnotation { 1428 if m != nil { 1429 return m.ExplicitAnnotation 1430 } 1431 return nil 1432} 1433 1434func (m *VideoAnnotationResults) GetSpeechTranscriptions() []*SpeechTranscription { 1435 if m != nil { 1436 return m.SpeechTranscriptions 1437 } 1438 return nil 1439} 1440 1441func (m *VideoAnnotationResults) GetTextAnnotations() []*TextAnnotation { 1442 if m != nil { 1443 return m.TextAnnotations 1444 } 1445 return nil 1446} 1447 1448func (m *VideoAnnotationResults) GetObjectAnnotations() []*ObjectTrackingAnnotation { 1449 if m != nil { 1450 return m.ObjectAnnotations 1451 } 1452 return nil 1453} 1454 1455func (m *VideoAnnotationResults) GetLogoRecognitionAnnotations() []*LogoRecognitionAnnotation { 1456 if m != nil { 1457 return m.LogoRecognitionAnnotations 1458 } 1459 return nil 1460} 1461 1462func (m *VideoAnnotationResults) GetError() *status.Status { 1463 if m != nil { 1464 return m.Error 1465 } 1466 return nil 1467} 1468 1469// Video annotation response. Included in the `response` 1470// field of the `Operation` returned by the `GetOperation` 1471// call of the `google::longrunning::Operations` service. 1472type AnnotateVideoResponse struct { 1473 // Annotation results for all videos specified in `AnnotateVideoRequest`. 1474 AnnotationResults []*VideoAnnotationResults `protobuf:"bytes,1,rep,name=annotation_results,json=annotationResults,proto3" json:"annotation_results,omitempty"` 1475 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1476 XXX_unrecognized []byte `json:"-"` 1477 XXX_sizecache int32 `json:"-"` 1478} 1479 1480func (m *AnnotateVideoResponse) Reset() { *m = AnnotateVideoResponse{} } 1481func (m *AnnotateVideoResponse) String() string { return proto.CompactTextString(m) } 1482func (*AnnotateVideoResponse) ProtoMessage() {} 1483func (*AnnotateVideoResponse) Descriptor() ([]byte, []int) { 1484 return fileDescriptor_06234ac6e4dad78c, []int{19} 1485} 1486 1487func (m *AnnotateVideoResponse) XXX_Unmarshal(b []byte) error { 1488 return xxx_messageInfo_AnnotateVideoResponse.Unmarshal(m, b) 1489} 1490func (m *AnnotateVideoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1491 return xxx_messageInfo_AnnotateVideoResponse.Marshal(b, m, deterministic) 1492} 1493func (m *AnnotateVideoResponse) XXX_Merge(src proto.Message) { 1494 xxx_messageInfo_AnnotateVideoResponse.Merge(m, src) 1495} 1496func (m *AnnotateVideoResponse) XXX_Size() int { 1497 return xxx_messageInfo_AnnotateVideoResponse.Size(m) 1498} 1499func (m *AnnotateVideoResponse) XXX_DiscardUnknown() { 1500 xxx_messageInfo_AnnotateVideoResponse.DiscardUnknown(m) 1501} 1502 1503var xxx_messageInfo_AnnotateVideoResponse proto.InternalMessageInfo 1504 1505func (m *AnnotateVideoResponse) GetAnnotationResults() []*VideoAnnotationResults { 1506 if m != nil { 1507 return m.AnnotationResults 1508 } 1509 return nil 1510} 1511 1512// Annotation progress for a single video. 1513type VideoAnnotationProgress struct { 1514 // Video file location in 1515 // [Google Cloud Storage](https://cloud.google.com/storage/). 1516 InputUri string `protobuf:"bytes,1,opt,name=input_uri,json=inputUri,proto3" json:"input_uri,omitempty"` 1517 // Approximate percentage processed thus far. Guaranteed to be 1518 // 100 when fully processed. 1519 ProgressPercent int32 `protobuf:"varint,2,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"` 1520 // Time when the request was received. 1521 StartTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` 1522 // Time of the most recent update. 1523 UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 1524 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1525 XXX_unrecognized []byte `json:"-"` 1526 XXX_sizecache int32 `json:"-"` 1527} 1528 1529func (m *VideoAnnotationProgress) Reset() { *m = VideoAnnotationProgress{} } 1530func (m *VideoAnnotationProgress) String() string { return proto.CompactTextString(m) } 1531func (*VideoAnnotationProgress) ProtoMessage() {} 1532func (*VideoAnnotationProgress) Descriptor() ([]byte, []int) { 1533 return fileDescriptor_06234ac6e4dad78c, []int{20} 1534} 1535 1536func (m *VideoAnnotationProgress) XXX_Unmarshal(b []byte) error { 1537 return xxx_messageInfo_VideoAnnotationProgress.Unmarshal(m, b) 1538} 1539func (m *VideoAnnotationProgress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1540 return xxx_messageInfo_VideoAnnotationProgress.Marshal(b, m, deterministic) 1541} 1542func (m *VideoAnnotationProgress) XXX_Merge(src proto.Message) { 1543 xxx_messageInfo_VideoAnnotationProgress.Merge(m, src) 1544} 1545func (m *VideoAnnotationProgress) XXX_Size() int { 1546 return xxx_messageInfo_VideoAnnotationProgress.Size(m) 1547} 1548func (m *VideoAnnotationProgress) XXX_DiscardUnknown() { 1549 xxx_messageInfo_VideoAnnotationProgress.DiscardUnknown(m) 1550} 1551 1552var xxx_messageInfo_VideoAnnotationProgress proto.InternalMessageInfo 1553 1554func (m *VideoAnnotationProgress) GetInputUri() string { 1555 if m != nil { 1556 return m.InputUri 1557 } 1558 return "" 1559} 1560 1561func (m *VideoAnnotationProgress) GetProgressPercent() int32 { 1562 if m != nil { 1563 return m.ProgressPercent 1564 } 1565 return 0 1566} 1567 1568func (m *VideoAnnotationProgress) GetStartTime() *timestamp.Timestamp { 1569 if m != nil { 1570 return m.StartTime 1571 } 1572 return nil 1573} 1574 1575func (m *VideoAnnotationProgress) GetUpdateTime() *timestamp.Timestamp { 1576 if m != nil { 1577 return m.UpdateTime 1578 } 1579 return nil 1580} 1581 1582// Video annotation progress. Included in the `metadata` 1583// field of the `Operation` returned by the `GetOperation` 1584// call of the `google::longrunning::Operations` service. 1585type AnnotateVideoProgress struct { 1586 // Progress metadata for all videos specified in `AnnotateVideoRequest`. 1587 AnnotationProgress []*VideoAnnotationProgress `protobuf:"bytes,1,rep,name=annotation_progress,json=annotationProgress,proto3" json:"annotation_progress,omitempty"` 1588 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1589 XXX_unrecognized []byte `json:"-"` 1590 XXX_sizecache int32 `json:"-"` 1591} 1592 1593func (m *AnnotateVideoProgress) Reset() { *m = AnnotateVideoProgress{} } 1594func (m *AnnotateVideoProgress) String() string { return proto.CompactTextString(m) } 1595func (*AnnotateVideoProgress) ProtoMessage() {} 1596func (*AnnotateVideoProgress) Descriptor() ([]byte, []int) { 1597 return fileDescriptor_06234ac6e4dad78c, []int{21} 1598} 1599 1600func (m *AnnotateVideoProgress) XXX_Unmarshal(b []byte) error { 1601 return xxx_messageInfo_AnnotateVideoProgress.Unmarshal(m, b) 1602} 1603func (m *AnnotateVideoProgress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1604 return xxx_messageInfo_AnnotateVideoProgress.Marshal(b, m, deterministic) 1605} 1606func (m *AnnotateVideoProgress) XXX_Merge(src proto.Message) { 1607 xxx_messageInfo_AnnotateVideoProgress.Merge(m, src) 1608} 1609func (m *AnnotateVideoProgress) XXX_Size() int { 1610 return xxx_messageInfo_AnnotateVideoProgress.Size(m) 1611} 1612func (m *AnnotateVideoProgress) XXX_DiscardUnknown() { 1613 xxx_messageInfo_AnnotateVideoProgress.DiscardUnknown(m) 1614} 1615 1616var xxx_messageInfo_AnnotateVideoProgress proto.InternalMessageInfo 1617 1618func (m *AnnotateVideoProgress) GetAnnotationProgress() []*VideoAnnotationProgress { 1619 if m != nil { 1620 return m.AnnotationProgress 1621 } 1622 return nil 1623} 1624 1625// Config for SPEECH_TRANSCRIPTION. 1626type SpeechTranscriptionConfig struct { 1627 // *Required* The language of the supplied audio as a 1628 // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. 1629 // Example: "en-US". 1630 // See [Language Support](https://cloud.google.com/speech/docs/languages) 1631 // for a list of the currently supported language codes. 1632 LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 1633 // *Optional* Maximum number of recognition hypotheses to be returned. 1634 // Specifically, the maximum number of `SpeechRecognitionAlternative` messages 1635 // within each `SpeechTranscription`. The server may return fewer than 1636 // `max_alternatives`. Valid values are `0`-`30`. A value of `0` or `1` will 1637 // return a maximum of one. If omitted, will return a maximum of one. 1638 MaxAlternatives int32 `protobuf:"varint,2,opt,name=max_alternatives,json=maxAlternatives,proto3" json:"max_alternatives,omitempty"` 1639 // *Optional* If set to `true`, the server will attempt to filter out 1640 // profanities, replacing all but the initial character in each filtered word 1641 // with asterisks, e.g. "f***". If set to `false` or omitted, profanities 1642 // won't be filtered out. 1643 FilterProfanity bool `protobuf:"varint,3,opt,name=filter_profanity,json=filterProfanity,proto3" json:"filter_profanity,omitempty"` 1644 // *Optional* A means to provide context to assist the speech recognition. 1645 SpeechContexts []*SpeechContext `protobuf:"bytes,4,rep,name=speech_contexts,json=speechContexts,proto3" json:"speech_contexts,omitempty"` 1646 // *Optional* If 'true', adds punctuation to recognition result hypotheses. 1647 // This feature is only available in select languages. Setting this for 1648 // requests in other languages has no effect at all. The default 'false' value 1649 // does not add punctuation to result hypotheses. NOTE: "This is currently 1650 // offered as an experimental service, complimentary to all users. In the 1651 // future this may be exclusively available as a premium feature." 1652 EnableAutomaticPunctuation bool `protobuf:"varint,5,opt,name=enable_automatic_punctuation,json=enableAutomaticPunctuation,proto3" json:"enable_automatic_punctuation,omitempty"` 1653 // *Optional* For file formats, such as MXF or MKV, supporting multiple audio 1654 // tracks, specify up to two tracks. Default: track 0. 1655 AudioTracks []int32 `protobuf:"varint,6,rep,packed,name=audio_tracks,json=audioTracks,proto3" json:"audio_tracks,omitempty"` 1656 // *Optional* If 'true', enables speaker detection for each recognized word in 1657 // the top alternative of the recognition result using a speaker_tag provided 1658 // in the WordInfo. 1659 // Note: When this is true, we send all the words from the beginning of the 1660 // audio for the top alternative in every consecutive responses. 1661 // This is done in order to improve our speaker tags as our models learn to 1662 // identify the speakers in the conversation over time. 1663 EnableSpeakerDiarization bool `protobuf:"varint,7,opt,name=enable_speaker_diarization,json=enableSpeakerDiarization,proto3" json:"enable_speaker_diarization,omitempty"` 1664 // *Optional* 1665 // If set, specifies the estimated number of speakers in the conversation. 1666 // If not set, defaults to '2'. 1667 // Ignored unless enable_speaker_diarization is set to true. 1668 DiarizationSpeakerCount int32 `protobuf:"varint,8,opt,name=diarization_speaker_count,json=diarizationSpeakerCount,proto3" json:"diarization_speaker_count,omitempty"` 1669 // *Optional* If `true`, the top result includes a list of words and the 1670 // confidence for those words. If `false`, no word-level confidence 1671 // information is returned. The default is `false`. 1672 EnableWordConfidence bool `protobuf:"varint,9,opt,name=enable_word_confidence,json=enableWordConfidence,proto3" json:"enable_word_confidence,omitempty"` 1673 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1674 XXX_unrecognized []byte `json:"-"` 1675 XXX_sizecache int32 `json:"-"` 1676} 1677 1678func (m *SpeechTranscriptionConfig) Reset() { *m = SpeechTranscriptionConfig{} } 1679func (m *SpeechTranscriptionConfig) String() string { return proto.CompactTextString(m) } 1680func (*SpeechTranscriptionConfig) ProtoMessage() {} 1681func (*SpeechTranscriptionConfig) Descriptor() ([]byte, []int) { 1682 return fileDescriptor_06234ac6e4dad78c, []int{22} 1683} 1684 1685func (m *SpeechTranscriptionConfig) XXX_Unmarshal(b []byte) error { 1686 return xxx_messageInfo_SpeechTranscriptionConfig.Unmarshal(m, b) 1687} 1688func (m *SpeechTranscriptionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1689 return xxx_messageInfo_SpeechTranscriptionConfig.Marshal(b, m, deterministic) 1690} 1691func (m *SpeechTranscriptionConfig) XXX_Merge(src proto.Message) { 1692 xxx_messageInfo_SpeechTranscriptionConfig.Merge(m, src) 1693} 1694func (m *SpeechTranscriptionConfig) XXX_Size() int { 1695 return xxx_messageInfo_SpeechTranscriptionConfig.Size(m) 1696} 1697func (m *SpeechTranscriptionConfig) XXX_DiscardUnknown() { 1698 xxx_messageInfo_SpeechTranscriptionConfig.DiscardUnknown(m) 1699} 1700 1701var xxx_messageInfo_SpeechTranscriptionConfig proto.InternalMessageInfo 1702 1703func (m *SpeechTranscriptionConfig) GetLanguageCode() string { 1704 if m != nil { 1705 return m.LanguageCode 1706 } 1707 return "" 1708} 1709 1710func (m *SpeechTranscriptionConfig) GetMaxAlternatives() int32 { 1711 if m != nil { 1712 return m.MaxAlternatives 1713 } 1714 return 0 1715} 1716 1717func (m *SpeechTranscriptionConfig) GetFilterProfanity() bool { 1718 if m != nil { 1719 return m.FilterProfanity 1720 } 1721 return false 1722} 1723 1724func (m *SpeechTranscriptionConfig) GetSpeechContexts() []*SpeechContext { 1725 if m != nil { 1726 return m.SpeechContexts 1727 } 1728 return nil 1729} 1730 1731func (m *SpeechTranscriptionConfig) GetEnableAutomaticPunctuation() bool { 1732 if m != nil { 1733 return m.EnableAutomaticPunctuation 1734 } 1735 return false 1736} 1737 1738func (m *SpeechTranscriptionConfig) GetAudioTracks() []int32 { 1739 if m != nil { 1740 return m.AudioTracks 1741 } 1742 return nil 1743} 1744 1745func (m *SpeechTranscriptionConfig) GetEnableSpeakerDiarization() bool { 1746 if m != nil { 1747 return m.EnableSpeakerDiarization 1748 } 1749 return false 1750} 1751 1752func (m *SpeechTranscriptionConfig) GetDiarizationSpeakerCount() int32 { 1753 if m != nil { 1754 return m.DiarizationSpeakerCount 1755 } 1756 return 0 1757} 1758 1759func (m *SpeechTranscriptionConfig) GetEnableWordConfidence() bool { 1760 if m != nil { 1761 return m.EnableWordConfidence 1762 } 1763 return false 1764} 1765 1766// Provides "hints" to the speech recognizer to favor specific words and phrases 1767// in the results. 1768type SpeechContext struct { 1769 // *Optional* A list of strings containing words and phrases "hints" so that 1770 // the speech recognition is more likely to recognize them. This can be used 1771 // to improve the accuracy for specific words and phrases, for example, if 1772 // specific commands are typically spoken by the user. This can also be used 1773 // to add additional words to the vocabulary of the recognizer. See 1774 // [usage limits](https://cloud.google.com/speech/limits#content). 1775 Phrases []string `protobuf:"bytes,1,rep,name=phrases,proto3" json:"phrases,omitempty"` 1776 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1777 XXX_unrecognized []byte `json:"-"` 1778 XXX_sizecache int32 `json:"-"` 1779} 1780 1781func (m *SpeechContext) Reset() { *m = SpeechContext{} } 1782func (m *SpeechContext) String() string { return proto.CompactTextString(m) } 1783func (*SpeechContext) ProtoMessage() {} 1784func (*SpeechContext) Descriptor() ([]byte, []int) { 1785 return fileDescriptor_06234ac6e4dad78c, []int{23} 1786} 1787 1788func (m *SpeechContext) XXX_Unmarshal(b []byte) error { 1789 return xxx_messageInfo_SpeechContext.Unmarshal(m, b) 1790} 1791func (m *SpeechContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1792 return xxx_messageInfo_SpeechContext.Marshal(b, m, deterministic) 1793} 1794func (m *SpeechContext) XXX_Merge(src proto.Message) { 1795 xxx_messageInfo_SpeechContext.Merge(m, src) 1796} 1797func (m *SpeechContext) XXX_Size() int { 1798 return xxx_messageInfo_SpeechContext.Size(m) 1799} 1800func (m *SpeechContext) XXX_DiscardUnknown() { 1801 xxx_messageInfo_SpeechContext.DiscardUnknown(m) 1802} 1803 1804var xxx_messageInfo_SpeechContext proto.InternalMessageInfo 1805 1806func (m *SpeechContext) GetPhrases() []string { 1807 if m != nil { 1808 return m.Phrases 1809 } 1810 return nil 1811} 1812 1813// A speech recognition result corresponding to a portion of the audio. 1814type SpeechTranscription struct { 1815 // May contain one or more recognition hypotheses (up to the maximum specified 1816 // in `max_alternatives`). These alternatives are ordered in terms of 1817 // accuracy, with the top (first) alternative being the most probable, as 1818 // ranked by the recognizer. 1819 Alternatives []*SpeechRecognitionAlternative `protobuf:"bytes,1,rep,name=alternatives,proto3" json:"alternatives,omitempty"` 1820 // Output only. The 1821 // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the 1822 // language in this result. This language code was detected to have the most 1823 // likelihood of being spoken in the audio. 1824 LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 1825 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1826 XXX_unrecognized []byte `json:"-"` 1827 XXX_sizecache int32 `json:"-"` 1828} 1829 1830func (m *SpeechTranscription) Reset() { *m = SpeechTranscription{} } 1831func (m *SpeechTranscription) String() string { return proto.CompactTextString(m) } 1832func (*SpeechTranscription) ProtoMessage() {} 1833func (*SpeechTranscription) Descriptor() ([]byte, []int) { 1834 return fileDescriptor_06234ac6e4dad78c, []int{24} 1835} 1836 1837func (m *SpeechTranscription) XXX_Unmarshal(b []byte) error { 1838 return xxx_messageInfo_SpeechTranscription.Unmarshal(m, b) 1839} 1840func (m *SpeechTranscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1841 return xxx_messageInfo_SpeechTranscription.Marshal(b, m, deterministic) 1842} 1843func (m *SpeechTranscription) XXX_Merge(src proto.Message) { 1844 xxx_messageInfo_SpeechTranscription.Merge(m, src) 1845} 1846func (m *SpeechTranscription) XXX_Size() int { 1847 return xxx_messageInfo_SpeechTranscription.Size(m) 1848} 1849func (m *SpeechTranscription) XXX_DiscardUnknown() { 1850 xxx_messageInfo_SpeechTranscription.DiscardUnknown(m) 1851} 1852 1853var xxx_messageInfo_SpeechTranscription proto.InternalMessageInfo 1854 1855func (m *SpeechTranscription) GetAlternatives() []*SpeechRecognitionAlternative { 1856 if m != nil { 1857 return m.Alternatives 1858 } 1859 return nil 1860} 1861 1862func (m *SpeechTranscription) GetLanguageCode() string { 1863 if m != nil { 1864 return m.LanguageCode 1865 } 1866 return "" 1867} 1868 1869// Alternative hypotheses (a.k.a. n-best list). 1870type SpeechRecognitionAlternative struct { 1871 // Transcript text representing the words that the user spoke. 1872 Transcript string `protobuf:"bytes,1,opt,name=transcript,proto3" json:"transcript,omitempty"` 1873 // The confidence estimate between 0.0 and 1.0. A higher number 1874 // indicates an estimated greater likelihood that the recognized words are 1875 // correct. This field is typically provided only for the top hypothesis, and 1876 // only for `is_final=true` results. Clients should not rely on the 1877 // `confidence` field as it is not guaranteed to be accurate or consistent. 1878 // The default of 0.0 is a sentinel value indicating `confidence` was not set. 1879 Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` 1880 // A list of word-specific information for each recognized word. 1881 Words []*WordInfo `protobuf:"bytes,3,rep,name=words,proto3" json:"words,omitempty"` 1882 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1883 XXX_unrecognized []byte `json:"-"` 1884 XXX_sizecache int32 `json:"-"` 1885} 1886 1887func (m *SpeechRecognitionAlternative) Reset() { *m = SpeechRecognitionAlternative{} } 1888func (m *SpeechRecognitionAlternative) String() string { return proto.CompactTextString(m) } 1889func (*SpeechRecognitionAlternative) ProtoMessage() {} 1890func (*SpeechRecognitionAlternative) Descriptor() ([]byte, []int) { 1891 return fileDescriptor_06234ac6e4dad78c, []int{25} 1892} 1893 1894func (m *SpeechRecognitionAlternative) XXX_Unmarshal(b []byte) error { 1895 return xxx_messageInfo_SpeechRecognitionAlternative.Unmarshal(m, b) 1896} 1897func (m *SpeechRecognitionAlternative) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1898 return xxx_messageInfo_SpeechRecognitionAlternative.Marshal(b, m, deterministic) 1899} 1900func (m *SpeechRecognitionAlternative) XXX_Merge(src proto.Message) { 1901 xxx_messageInfo_SpeechRecognitionAlternative.Merge(m, src) 1902} 1903func (m *SpeechRecognitionAlternative) XXX_Size() int { 1904 return xxx_messageInfo_SpeechRecognitionAlternative.Size(m) 1905} 1906func (m *SpeechRecognitionAlternative) XXX_DiscardUnknown() { 1907 xxx_messageInfo_SpeechRecognitionAlternative.DiscardUnknown(m) 1908} 1909 1910var xxx_messageInfo_SpeechRecognitionAlternative proto.InternalMessageInfo 1911 1912func (m *SpeechRecognitionAlternative) GetTranscript() string { 1913 if m != nil { 1914 return m.Transcript 1915 } 1916 return "" 1917} 1918 1919func (m *SpeechRecognitionAlternative) GetConfidence() float32 { 1920 if m != nil { 1921 return m.Confidence 1922 } 1923 return 0 1924} 1925 1926func (m *SpeechRecognitionAlternative) GetWords() []*WordInfo { 1927 if m != nil { 1928 return m.Words 1929 } 1930 return nil 1931} 1932 1933// Word-specific information for recognized words. Word information is only 1934// included in the response when certain request parameters are set, such 1935// as `enable_word_time_offsets`. 1936type WordInfo struct { 1937 // Time offset relative to the beginning of the audio, and 1938 // corresponding to the start of the spoken word. This field is only set if 1939 // `enable_word_time_offsets=true` and only in the top hypothesis. This is an 1940 // experimental feature and the accuracy of the time offset can vary. 1941 StartTime *duration.Duration `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` 1942 // Time offset relative to the beginning of the audio, and 1943 // corresponding to the end of the spoken word. This field is only set if 1944 // `enable_word_time_offsets=true` and only in the top hypothesis. This is an 1945 // experimental feature and the accuracy of the time offset can vary. 1946 EndTime *duration.Duration `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` 1947 // The word corresponding to this set of information. 1948 Word string `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"` 1949 // Output only. The confidence estimate between 0.0 and 1.0. A higher number 1950 // indicates an estimated greater likelihood that the recognized words are 1951 // correct. This field is set only for the top alternative. 1952 // This field is not guaranteed to be accurate and users should not rely on it 1953 // to be always provided. 1954 // The default of 0.0 is a sentinel value indicating `confidence` was not set. 1955 Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` 1956 // Output only. A distinct integer value is assigned for every speaker within 1957 // the audio. This field specifies which one of those speakers was detected to 1958 // have spoken this word. Value ranges from 1 up to diarization_speaker_count, 1959 // and is only set if speaker diarization is enabled. 1960 SpeakerTag int32 `protobuf:"varint,5,opt,name=speaker_tag,json=speakerTag,proto3" json:"speaker_tag,omitempty"` 1961 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1962 XXX_unrecognized []byte `json:"-"` 1963 XXX_sizecache int32 `json:"-"` 1964} 1965 1966func (m *WordInfo) Reset() { *m = WordInfo{} } 1967func (m *WordInfo) String() string { return proto.CompactTextString(m) } 1968func (*WordInfo) ProtoMessage() {} 1969func (*WordInfo) Descriptor() ([]byte, []int) { 1970 return fileDescriptor_06234ac6e4dad78c, []int{26} 1971} 1972 1973func (m *WordInfo) XXX_Unmarshal(b []byte) error { 1974 return xxx_messageInfo_WordInfo.Unmarshal(m, b) 1975} 1976func (m *WordInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1977 return xxx_messageInfo_WordInfo.Marshal(b, m, deterministic) 1978} 1979func (m *WordInfo) XXX_Merge(src proto.Message) { 1980 xxx_messageInfo_WordInfo.Merge(m, src) 1981} 1982func (m *WordInfo) XXX_Size() int { 1983 return xxx_messageInfo_WordInfo.Size(m) 1984} 1985func (m *WordInfo) XXX_DiscardUnknown() { 1986 xxx_messageInfo_WordInfo.DiscardUnknown(m) 1987} 1988 1989var xxx_messageInfo_WordInfo proto.InternalMessageInfo 1990 1991func (m *WordInfo) GetStartTime() *duration.Duration { 1992 if m != nil { 1993 return m.StartTime 1994 } 1995 return nil 1996} 1997 1998func (m *WordInfo) GetEndTime() *duration.Duration { 1999 if m != nil { 2000 return m.EndTime 2001 } 2002 return nil 2003} 2004 2005func (m *WordInfo) GetWord() string { 2006 if m != nil { 2007 return m.Word 2008 } 2009 return "" 2010} 2011 2012func (m *WordInfo) GetConfidence() float32 { 2013 if m != nil { 2014 return m.Confidence 2015 } 2016 return 0 2017} 2018 2019func (m *WordInfo) GetSpeakerTag() int32 { 2020 if m != nil { 2021 return m.SpeakerTag 2022 } 2023 return 0 2024} 2025 2026// A vertex represents a 2D point in the image. 2027// NOTE: the normalized vertex coordinates are relative to the original image 2028// and range from 0 to 1. 2029type NormalizedVertex struct { 2030 // X coordinate. 2031 X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"` 2032 // Y coordinate. 2033 Y float32 `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"` 2034 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2035 XXX_unrecognized []byte `json:"-"` 2036 XXX_sizecache int32 `json:"-"` 2037} 2038 2039func (m *NormalizedVertex) Reset() { *m = NormalizedVertex{} } 2040func (m *NormalizedVertex) String() string { return proto.CompactTextString(m) } 2041func (*NormalizedVertex) ProtoMessage() {} 2042func (*NormalizedVertex) Descriptor() ([]byte, []int) { 2043 return fileDescriptor_06234ac6e4dad78c, []int{27} 2044} 2045 2046func (m *NormalizedVertex) XXX_Unmarshal(b []byte) error { 2047 return xxx_messageInfo_NormalizedVertex.Unmarshal(m, b) 2048} 2049func (m *NormalizedVertex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2050 return xxx_messageInfo_NormalizedVertex.Marshal(b, m, deterministic) 2051} 2052func (m *NormalizedVertex) XXX_Merge(src proto.Message) { 2053 xxx_messageInfo_NormalizedVertex.Merge(m, src) 2054} 2055func (m *NormalizedVertex) XXX_Size() int { 2056 return xxx_messageInfo_NormalizedVertex.Size(m) 2057} 2058func (m *NormalizedVertex) XXX_DiscardUnknown() { 2059 xxx_messageInfo_NormalizedVertex.DiscardUnknown(m) 2060} 2061 2062var xxx_messageInfo_NormalizedVertex proto.InternalMessageInfo 2063 2064func (m *NormalizedVertex) GetX() float32 { 2065 if m != nil { 2066 return m.X 2067 } 2068 return 0 2069} 2070 2071func (m *NormalizedVertex) GetY() float32 { 2072 if m != nil { 2073 return m.Y 2074 } 2075 return 0 2076} 2077 2078// Normalized bounding polygon for text (that might not be aligned with axis). 2079// Contains list of the corner points in clockwise order starting from 2080// top-left corner. For example, for a rectangular bounding box: 2081// When the text is horizontal it might look like: 2082// 0----1 2083// | | 2084// 3----2 2085// 2086// When it's clockwise rotated 180 degrees around the top-left corner it 2087// becomes: 2088// 2----3 2089// | | 2090// 1----0 2091// 2092// and the vertex order will still be (0, 1, 2, 3). Note that values can be less 2093// than 0, or greater than 1 due to trignometric calculations for location of 2094// the box. 2095type NormalizedBoundingPoly struct { 2096 // Normalized vertices of the bounding polygon. 2097 Vertices []*NormalizedVertex `protobuf:"bytes,1,rep,name=vertices,proto3" json:"vertices,omitempty"` 2098 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2099 XXX_unrecognized []byte `json:"-"` 2100 XXX_sizecache int32 `json:"-"` 2101} 2102 2103func (m *NormalizedBoundingPoly) Reset() { *m = NormalizedBoundingPoly{} } 2104func (m *NormalizedBoundingPoly) String() string { return proto.CompactTextString(m) } 2105func (*NormalizedBoundingPoly) ProtoMessage() {} 2106func (*NormalizedBoundingPoly) Descriptor() ([]byte, []int) { 2107 return fileDescriptor_06234ac6e4dad78c, []int{28} 2108} 2109 2110func (m *NormalizedBoundingPoly) XXX_Unmarshal(b []byte) error { 2111 return xxx_messageInfo_NormalizedBoundingPoly.Unmarshal(m, b) 2112} 2113func (m *NormalizedBoundingPoly) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2114 return xxx_messageInfo_NormalizedBoundingPoly.Marshal(b, m, deterministic) 2115} 2116func (m *NormalizedBoundingPoly) XXX_Merge(src proto.Message) { 2117 xxx_messageInfo_NormalizedBoundingPoly.Merge(m, src) 2118} 2119func (m *NormalizedBoundingPoly) XXX_Size() int { 2120 return xxx_messageInfo_NormalizedBoundingPoly.Size(m) 2121} 2122func (m *NormalizedBoundingPoly) XXX_DiscardUnknown() { 2123 xxx_messageInfo_NormalizedBoundingPoly.DiscardUnknown(m) 2124} 2125 2126var xxx_messageInfo_NormalizedBoundingPoly proto.InternalMessageInfo 2127 2128func (m *NormalizedBoundingPoly) GetVertices() []*NormalizedVertex { 2129 if m != nil { 2130 return m.Vertices 2131 } 2132 return nil 2133} 2134 2135// Video segment level annotation results for text detection. 2136type TextSegment struct { 2137 // Video segment where a text snippet was detected. 2138 Segment *VideoSegment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"` 2139 // Confidence for the track of detected text. It is calculated as the highest 2140 // over all frames where OCR detected text appears. 2141 Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` 2142 // Information related to the frames where OCR detected text appears. 2143 Frames []*TextFrame `protobuf:"bytes,3,rep,name=frames,proto3" json:"frames,omitempty"` 2144 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2145 XXX_unrecognized []byte `json:"-"` 2146 XXX_sizecache int32 `json:"-"` 2147} 2148 2149func (m *TextSegment) Reset() { *m = TextSegment{} } 2150func (m *TextSegment) String() string { return proto.CompactTextString(m) } 2151func (*TextSegment) ProtoMessage() {} 2152func (*TextSegment) Descriptor() ([]byte, []int) { 2153 return fileDescriptor_06234ac6e4dad78c, []int{29} 2154} 2155 2156func (m *TextSegment) XXX_Unmarshal(b []byte) error { 2157 return xxx_messageInfo_TextSegment.Unmarshal(m, b) 2158} 2159func (m *TextSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2160 return xxx_messageInfo_TextSegment.Marshal(b, m, deterministic) 2161} 2162func (m *TextSegment) XXX_Merge(src proto.Message) { 2163 xxx_messageInfo_TextSegment.Merge(m, src) 2164} 2165func (m *TextSegment) XXX_Size() int { 2166 return xxx_messageInfo_TextSegment.Size(m) 2167} 2168func (m *TextSegment) XXX_DiscardUnknown() { 2169 xxx_messageInfo_TextSegment.DiscardUnknown(m) 2170} 2171 2172var xxx_messageInfo_TextSegment proto.InternalMessageInfo 2173 2174func (m *TextSegment) GetSegment() *VideoSegment { 2175 if m != nil { 2176 return m.Segment 2177 } 2178 return nil 2179} 2180 2181func (m *TextSegment) GetConfidence() float32 { 2182 if m != nil { 2183 return m.Confidence 2184 } 2185 return 0 2186} 2187 2188func (m *TextSegment) GetFrames() []*TextFrame { 2189 if m != nil { 2190 return m.Frames 2191 } 2192 return nil 2193} 2194 2195// Video frame level annotation results for text annotation (OCR). 2196// Contains information regarding timestamp and bounding box locations for the 2197// frames containing detected OCR text snippets. 2198type TextFrame struct { 2199 // Bounding polygon of the detected text for this frame. 2200 RotatedBoundingBox *NormalizedBoundingPoly `protobuf:"bytes,1,opt,name=rotated_bounding_box,json=rotatedBoundingBox,proto3" json:"rotated_bounding_box,omitempty"` 2201 // Timestamp of this frame. 2202 TimeOffset *duration.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` 2203 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2204 XXX_unrecognized []byte `json:"-"` 2205 XXX_sizecache int32 `json:"-"` 2206} 2207 2208func (m *TextFrame) Reset() { *m = TextFrame{} } 2209func (m *TextFrame) String() string { return proto.CompactTextString(m) } 2210func (*TextFrame) ProtoMessage() {} 2211func (*TextFrame) Descriptor() ([]byte, []int) { 2212 return fileDescriptor_06234ac6e4dad78c, []int{30} 2213} 2214 2215func (m *TextFrame) XXX_Unmarshal(b []byte) error { 2216 return xxx_messageInfo_TextFrame.Unmarshal(m, b) 2217} 2218func (m *TextFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2219 return xxx_messageInfo_TextFrame.Marshal(b, m, deterministic) 2220} 2221func (m *TextFrame) XXX_Merge(src proto.Message) { 2222 xxx_messageInfo_TextFrame.Merge(m, src) 2223} 2224func (m *TextFrame) XXX_Size() int { 2225 return xxx_messageInfo_TextFrame.Size(m) 2226} 2227func (m *TextFrame) XXX_DiscardUnknown() { 2228 xxx_messageInfo_TextFrame.DiscardUnknown(m) 2229} 2230 2231var xxx_messageInfo_TextFrame proto.InternalMessageInfo 2232 2233func (m *TextFrame) GetRotatedBoundingBox() *NormalizedBoundingPoly { 2234 if m != nil { 2235 return m.RotatedBoundingBox 2236 } 2237 return nil 2238} 2239 2240func (m *TextFrame) GetTimeOffset() *duration.Duration { 2241 if m != nil { 2242 return m.TimeOffset 2243 } 2244 return nil 2245} 2246 2247// Annotations related to one detected OCR text snippet. This will contain the 2248// corresponding text, confidence value, and frame level information for each 2249// detection. 2250type TextAnnotation struct { 2251 // The detected text. 2252 Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` 2253 // All video segments where OCR detected text appears. 2254 Segments []*TextSegment `protobuf:"bytes,2,rep,name=segments,proto3" json:"segments,omitempty"` 2255 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2256 XXX_unrecognized []byte `json:"-"` 2257 XXX_sizecache int32 `json:"-"` 2258} 2259 2260func (m *TextAnnotation) Reset() { *m = TextAnnotation{} } 2261func (m *TextAnnotation) String() string { return proto.CompactTextString(m) } 2262func (*TextAnnotation) ProtoMessage() {} 2263func (*TextAnnotation) Descriptor() ([]byte, []int) { 2264 return fileDescriptor_06234ac6e4dad78c, []int{31} 2265} 2266 2267func (m *TextAnnotation) XXX_Unmarshal(b []byte) error { 2268 return xxx_messageInfo_TextAnnotation.Unmarshal(m, b) 2269} 2270func (m *TextAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2271 return xxx_messageInfo_TextAnnotation.Marshal(b, m, deterministic) 2272} 2273func (m *TextAnnotation) XXX_Merge(src proto.Message) { 2274 xxx_messageInfo_TextAnnotation.Merge(m, src) 2275} 2276func (m *TextAnnotation) XXX_Size() int { 2277 return xxx_messageInfo_TextAnnotation.Size(m) 2278} 2279func (m *TextAnnotation) XXX_DiscardUnknown() { 2280 xxx_messageInfo_TextAnnotation.DiscardUnknown(m) 2281} 2282 2283var xxx_messageInfo_TextAnnotation proto.InternalMessageInfo 2284 2285func (m *TextAnnotation) GetText() string { 2286 if m != nil { 2287 return m.Text 2288 } 2289 return "" 2290} 2291 2292func (m *TextAnnotation) GetSegments() []*TextSegment { 2293 if m != nil { 2294 return m.Segments 2295 } 2296 return nil 2297} 2298 2299// Video frame level annotations for object detection and tracking. This field 2300// stores per frame location, time offset, and confidence. 2301type ObjectTrackingFrame struct { 2302 // The normalized bounding box location of this object track for the frame. 2303 NormalizedBoundingBox *NormalizedBoundingBox `protobuf:"bytes,1,opt,name=normalized_bounding_box,json=normalizedBoundingBox,proto3" json:"normalized_bounding_box,omitempty"` 2304 // The timestamp of the frame in microseconds. 2305 TimeOffset *duration.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` 2306 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2307 XXX_unrecognized []byte `json:"-"` 2308 XXX_sizecache int32 `json:"-"` 2309} 2310 2311func (m *ObjectTrackingFrame) Reset() { *m = ObjectTrackingFrame{} } 2312func (m *ObjectTrackingFrame) String() string { return proto.CompactTextString(m) } 2313func (*ObjectTrackingFrame) ProtoMessage() {} 2314func (*ObjectTrackingFrame) Descriptor() ([]byte, []int) { 2315 return fileDescriptor_06234ac6e4dad78c, []int{32} 2316} 2317 2318func (m *ObjectTrackingFrame) XXX_Unmarshal(b []byte) error { 2319 return xxx_messageInfo_ObjectTrackingFrame.Unmarshal(m, b) 2320} 2321func (m *ObjectTrackingFrame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2322 return xxx_messageInfo_ObjectTrackingFrame.Marshal(b, m, deterministic) 2323} 2324func (m *ObjectTrackingFrame) XXX_Merge(src proto.Message) { 2325 xxx_messageInfo_ObjectTrackingFrame.Merge(m, src) 2326} 2327func (m *ObjectTrackingFrame) XXX_Size() int { 2328 return xxx_messageInfo_ObjectTrackingFrame.Size(m) 2329} 2330func (m *ObjectTrackingFrame) XXX_DiscardUnknown() { 2331 xxx_messageInfo_ObjectTrackingFrame.DiscardUnknown(m) 2332} 2333 2334var xxx_messageInfo_ObjectTrackingFrame proto.InternalMessageInfo 2335 2336func (m *ObjectTrackingFrame) GetNormalizedBoundingBox() *NormalizedBoundingBox { 2337 if m != nil { 2338 return m.NormalizedBoundingBox 2339 } 2340 return nil 2341} 2342 2343func (m *ObjectTrackingFrame) GetTimeOffset() *duration.Duration { 2344 if m != nil { 2345 return m.TimeOffset 2346 } 2347 return nil 2348} 2349 2350// Annotations corresponding to one tracked object. 2351type ObjectTrackingAnnotation struct { 2352 // Entity to specify the object category that this track is labeled as. 2353 Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` 2354 // Object category's labeling confidence of this track. 2355 Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` 2356 // Information corresponding to all frames where this object track appears. 2357 // Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame 2358 // messages in frames. 2359 // Streaming mode: it can only be one ObjectTrackingFrame message in frames. 2360 Frames []*ObjectTrackingFrame `protobuf:"bytes,2,rep,name=frames,proto3" json:"frames,omitempty"` 2361 // Different representation of tracking info in non-streaming batch 2362 // and streaming modes. 2363 // 2364 // Types that are valid to be assigned to TrackInfo: 2365 // *ObjectTrackingAnnotation_Segment 2366 // *ObjectTrackingAnnotation_TrackId 2367 TrackInfo isObjectTrackingAnnotation_TrackInfo `protobuf_oneof:"track_info"` 2368 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2369 XXX_unrecognized []byte `json:"-"` 2370 XXX_sizecache int32 `json:"-"` 2371} 2372 2373func (m *ObjectTrackingAnnotation) Reset() { *m = ObjectTrackingAnnotation{} } 2374func (m *ObjectTrackingAnnotation) String() string { return proto.CompactTextString(m) } 2375func (*ObjectTrackingAnnotation) ProtoMessage() {} 2376func (*ObjectTrackingAnnotation) Descriptor() ([]byte, []int) { 2377 return fileDescriptor_06234ac6e4dad78c, []int{33} 2378} 2379 2380func (m *ObjectTrackingAnnotation) XXX_Unmarshal(b []byte) error { 2381 return xxx_messageInfo_ObjectTrackingAnnotation.Unmarshal(m, b) 2382} 2383func (m *ObjectTrackingAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2384 return xxx_messageInfo_ObjectTrackingAnnotation.Marshal(b, m, deterministic) 2385} 2386func (m *ObjectTrackingAnnotation) XXX_Merge(src proto.Message) { 2387 xxx_messageInfo_ObjectTrackingAnnotation.Merge(m, src) 2388} 2389func (m *ObjectTrackingAnnotation) XXX_Size() int { 2390 return xxx_messageInfo_ObjectTrackingAnnotation.Size(m) 2391} 2392func (m *ObjectTrackingAnnotation) XXX_DiscardUnknown() { 2393 xxx_messageInfo_ObjectTrackingAnnotation.DiscardUnknown(m) 2394} 2395 2396var xxx_messageInfo_ObjectTrackingAnnotation proto.InternalMessageInfo 2397 2398func (m *ObjectTrackingAnnotation) GetEntity() *Entity { 2399 if m != nil { 2400 return m.Entity 2401 } 2402 return nil 2403} 2404 2405func (m *ObjectTrackingAnnotation) GetConfidence() float32 { 2406 if m != nil { 2407 return m.Confidence 2408 } 2409 return 0 2410} 2411 2412func (m *ObjectTrackingAnnotation) GetFrames() []*ObjectTrackingFrame { 2413 if m != nil { 2414 return m.Frames 2415 } 2416 return nil 2417} 2418 2419type isObjectTrackingAnnotation_TrackInfo interface { 2420 isObjectTrackingAnnotation_TrackInfo() 2421} 2422 2423type ObjectTrackingAnnotation_Segment struct { 2424 Segment *VideoSegment `protobuf:"bytes,3,opt,name=segment,proto3,oneof"` 2425} 2426 2427type ObjectTrackingAnnotation_TrackId struct { 2428 TrackId int64 `protobuf:"varint,5,opt,name=track_id,json=trackId,proto3,oneof"` 2429} 2430 2431func (*ObjectTrackingAnnotation_Segment) isObjectTrackingAnnotation_TrackInfo() {} 2432 2433func (*ObjectTrackingAnnotation_TrackId) isObjectTrackingAnnotation_TrackInfo() {} 2434 2435func (m *ObjectTrackingAnnotation) GetTrackInfo() isObjectTrackingAnnotation_TrackInfo { 2436 if m != nil { 2437 return m.TrackInfo 2438 } 2439 return nil 2440} 2441 2442func (m *ObjectTrackingAnnotation) GetSegment() *VideoSegment { 2443 if x, ok := m.GetTrackInfo().(*ObjectTrackingAnnotation_Segment); ok { 2444 return x.Segment 2445 } 2446 return nil 2447} 2448 2449func (m *ObjectTrackingAnnotation) GetTrackId() int64 { 2450 if x, ok := m.GetTrackInfo().(*ObjectTrackingAnnotation_TrackId); ok { 2451 return x.TrackId 2452 } 2453 return 0 2454} 2455 2456// XXX_OneofWrappers is for the internal use of the proto package. 2457func (*ObjectTrackingAnnotation) XXX_OneofWrappers() []interface{} { 2458 return []interface{}{ 2459 (*ObjectTrackingAnnotation_Segment)(nil), 2460 (*ObjectTrackingAnnotation_TrackId)(nil), 2461 } 2462} 2463 2464// Annotation corresponding to one detected, tracked and recognized logo class. 2465type LogoRecognitionAnnotation struct { 2466 // Entity category information to specify the logo class that all the logo 2467 // tracks within this LogoRecognitionAnnotation are recognized as. 2468 Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` 2469 // All logo tracks where the recognized logo appears. Each track corresponds 2470 // to one logo instance appearing in consecutive frames. 2471 Tracks []*Track `protobuf:"bytes,2,rep,name=tracks,proto3" json:"tracks,omitempty"` 2472 // All video segments where the recognized logo appears. There might be 2473 // multiple instances of the same logo class appearing in one VideoSegment. 2474 Segments []*VideoSegment `protobuf:"bytes,3,rep,name=segments,proto3" json:"segments,omitempty"` 2475 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2476 XXX_unrecognized []byte `json:"-"` 2477 XXX_sizecache int32 `json:"-"` 2478} 2479 2480func (m *LogoRecognitionAnnotation) Reset() { *m = LogoRecognitionAnnotation{} } 2481func (m *LogoRecognitionAnnotation) String() string { return proto.CompactTextString(m) } 2482func (*LogoRecognitionAnnotation) ProtoMessage() {} 2483func (*LogoRecognitionAnnotation) Descriptor() ([]byte, []int) { 2484 return fileDescriptor_06234ac6e4dad78c, []int{34} 2485} 2486 2487func (m *LogoRecognitionAnnotation) XXX_Unmarshal(b []byte) error { 2488 return xxx_messageInfo_LogoRecognitionAnnotation.Unmarshal(m, b) 2489} 2490func (m *LogoRecognitionAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2491 return xxx_messageInfo_LogoRecognitionAnnotation.Marshal(b, m, deterministic) 2492} 2493func (m *LogoRecognitionAnnotation) XXX_Merge(src proto.Message) { 2494 xxx_messageInfo_LogoRecognitionAnnotation.Merge(m, src) 2495} 2496func (m *LogoRecognitionAnnotation) XXX_Size() int { 2497 return xxx_messageInfo_LogoRecognitionAnnotation.Size(m) 2498} 2499func (m *LogoRecognitionAnnotation) XXX_DiscardUnknown() { 2500 xxx_messageInfo_LogoRecognitionAnnotation.DiscardUnknown(m) 2501} 2502 2503var xxx_messageInfo_LogoRecognitionAnnotation proto.InternalMessageInfo 2504 2505func (m *LogoRecognitionAnnotation) GetEntity() *Entity { 2506 if m != nil { 2507 return m.Entity 2508 } 2509 return nil 2510} 2511 2512func (m *LogoRecognitionAnnotation) GetTracks() []*Track { 2513 if m != nil { 2514 return m.Tracks 2515 } 2516 return nil 2517} 2518 2519func (m *LogoRecognitionAnnotation) GetSegments() []*VideoSegment { 2520 if m != nil { 2521 return m.Segments 2522 } 2523 return nil 2524} 2525 2526// The top-level message sent by the client for the `StreamingAnnotateVideo` 2527// method. Multiple `StreamingAnnotateVideoRequest` messages are sent. 2528// The first message must only contain a `StreamingVideoConfig` message. 2529// All subsequent messages must only contain `input_content` data. 2530type StreamingAnnotateVideoRequest struct { 2531 // *Required* The streaming request, which is either a streaming config or 2532 // video content. 2533 // 2534 // Types that are valid to be assigned to StreamingRequest: 2535 // *StreamingAnnotateVideoRequest_VideoConfig 2536 // *StreamingAnnotateVideoRequest_InputContent 2537 StreamingRequest isStreamingAnnotateVideoRequest_StreamingRequest `protobuf_oneof:"streaming_request"` 2538 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2539 XXX_unrecognized []byte `json:"-"` 2540 XXX_sizecache int32 `json:"-"` 2541} 2542 2543func (m *StreamingAnnotateVideoRequest) Reset() { *m = StreamingAnnotateVideoRequest{} } 2544func (m *StreamingAnnotateVideoRequest) String() string { return proto.CompactTextString(m) } 2545func (*StreamingAnnotateVideoRequest) ProtoMessage() {} 2546func (*StreamingAnnotateVideoRequest) Descriptor() ([]byte, []int) { 2547 return fileDescriptor_06234ac6e4dad78c, []int{35} 2548} 2549 2550func (m *StreamingAnnotateVideoRequest) XXX_Unmarshal(b []byte) error { 2551 return xxx_messageInfo_StreamingAnnotateVideoRequest.Unmarshal(m, b) 2552} 2553func (m *StreamingAnnotateVideoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2554 return xxx_messageInfo_StreamingAnnotateVideoRequest.Marshal(b, m, deterministic) 2555} 2556func (m *StreamingAnnotateVideoRequest) XXX_Merge(src proto.Message) { 2557 xxx_messageInfo_StreamingAnnotateVideoRequest.Merge(m, src) 2558} 2559func (m *StreamingAnnotateVideoRequest) XXX_Size() int { 2560 return xxx_messageInfo_StreamingAnnotateVideoRequest.Size(m) 2561} 2562func (m *StreamingAnnotateVideoRequest) XXX_DiscardUnknown() { 2563 xxx_messageInfo_StreamingAnnotateVideoRequest.DiscardUnknown(m) 2564} 2565 2566var xxx_messageInfo_StreamingAnnotateVideoRequest proto.InternalMessageInfo 2567 2568type isStreamingAnnotateVideoRequest_StreamingRequest interface { 2569 isStreamingAnnotateVideoRequest_StreamingRequest() 2570} 2571 2572type StreamingAnnotateVideoRequest_VideoConfig struct { 2573 VideoConfig *StreamingVideoConfig `protobuf:"bytes,1,opt,name=video_config,json=videoConfig,proto3,oneof"` 2574} 2575 2576type StreamingAnnotateVideoRequest_InputContent struct { 2577 InputContent []byte `protobuf:"bytes,2,opt,name=input_content,json=inputContent,proto3,oneof"` 2578} 2579 2580func (*StreamingAnnotateVideoRequest_VideoConfig) isStreamingAnnotateVideoRequest_StreamingRequest() {} 2581 2582func (*StreamingAnnotateVideoRequest_InputContent) isStreamingAnnotateVideoRequest_StreamingRequest() { 2583} 2584 2585func (m *StreamingAnnotateVideoRequest) GetStreamingRequest() isStreamingAnnotateVideoRequest_StreamingRequest { 2586 if m != nil { 2587 return m.StreamingRequest 2588 } 2589 return nil 2590} 2591 2592func (m *StreamingAnnotateVideoRequest) GetVideoConfig() *StreamingVideoConfig { 2593 if x, ok := m.GetStreamingRequest().(*StreamingAnnotateVideoRequest_VideoConfig); ok { 2594 return x.VideoConfig 2595 } 2596 return nil 2597} 2598 2599func (m *StreamingAnnotateVideoRequest) GetInputContent() []byte { 2600 if x, ok := m.GetStreamingRequest().(*StreamingAnnotateVideoRequest_InputContent); ok { 2601 return x.InputContent 2602 } 2603 return nil 2604} 2605 2606// XXX_OneofWrappers is for the internal use of the proto package. 2607func (*StreamingAnnotateVideoRequest) XXX_OneofWrappers() []interface{} { 2608 return []interface{}{ 2609 (*StreamingAnnotateVideoRequest_VideoConfig)(nil), 2610 (*StreamingAnnotateVideoRequest_InputContent)(nil), 2611 } 2612} 2613 2614// `StreamingAnnotateVideoResponse` is the only message returned to the client 2615// by `StreamingAnnotateVideo`. A series of zero or more 2616// `StreamingAnnotateVideoResponse` messages are streamed back to the client. 2617type StreamingAnnotateVideoResponse struct { 2618 // If set, returns a [google.rpc.Status][google.rpc.Status] message that 2619 // specifies the error for the operation. 2620 Error *status.Status `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` 2621 // Streaming annotation results. 2622 AnnotationResults *StreamingVideoAnnotationResults `protobuf:"bytes,2,opt,name=annotation_results,json=annotationResults,proto3" json:"annotation_results,omitempty"` 2623 // GCS URI that stores annotation results of one streaming session. 2624 // It is a directory that can hold multiple files in JSON format. 2625 // Example uri format: 2626 // gs://bucket_id/object_id/cloud_project_name-session_id 2627 AnnotationResultsUri string `protobuf:"bytes,3,opt,name=annotation_results_uri,json=annotationResultsUri,proto3" json:"annotation_results_uri,omitempty"` 2628 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2629 XXX_unrecognized []byte `json:"-"` 2630 XXX_sizecache int32 `json:"-"` 2631} 2632 2633func (m *StreamingAnnotateVideoResponse) Reset() { *m = StreamingAnnotateVideoResponse{} } 2634func (m *StreamingAnnotateVideoResponse) String() string { return proto.CompactTextString(m) } 2635func (*StreamingAnnotateVideoResponse) ProtoMessage() {} 2636func (*StreamingAnnotateVideoResponse) Descriptor() ([]byte, []int) { 2637 return fileDescriptor_06234ac6e4dad78c, []int{36} 2638} 2639 2640func (m *StreamingAnnotateVideoResponse) XXX_Unmarshal(b []byte) error { 2641 return xxx_messageInfo_StreamingAnnotateVideoResponse.Unmarshal(m, b) 2642} 2643func (m *StreamingAnnotateVideoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2644 return xxx_messageInfo_StreamingAnnotateVideoResponse.Marshal(b, m, deterministic) 2645} 2646func (m *StreamingAnnotateVideoResponse) XXX_Merge(src proto.Message) { 2647 xxx_messageInfo_StreamingAnnotateVideoResponse.Merge(m, src) 2648} 2649func (m *StreamingAnnotateVideoResponse) XXX_Size() int { 2650 return xxx_messageInfo_StreamingAnnotateVideoResponse.Size(m) 2651} 2652func (m *StreamingAnnotateVideoResponse) XXX_DiscardUnknown() { 2653 xxx_messageInfo_StreamingAnnotateVideoResponse.DiscardUnknown(m) 2654} 2655 2656var xxx_messageInfo_StreamingAnnotateVideoResponse proto.InternalMessageInfo 2657 2658func (m *StreamingAnnotateVideoResponse) GetError() *status.Status { 2659 if m != nil { 2660 return m.Error 2661 } 2662 return nil 2663} 2664 2665func (m *StreamingAnnotateVideoResponse) GetAnnotationResults() *StreamingVideoAnnotationResults { 2666 if m != nil { 2667 return m.AnnotationResults 2668 } 2669 return nil 2670} 2671 2672func (m *StreamingAnnotateVideoResponse) GetAnnotationResultsUri() string { 2673 if m != nil { 2674 return m.AnnotationResultsUri 2675 } 2676 return "" 2677} 2678 2679// Config for AUTOML_CLASSIFICATION in streaming mode. 2680type StreamingAutomlClassificationConfig struct { 2681 // Resource name of AutoML model. 2682 // Format: `projects/{project_id}/locations/{location_id}/models/{model_id}` 2683 ModelName string `protobuf:"bytes,1,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"` 2684 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2685 XXX_unrecognized []byte `json:"-"` 2686 XXX_sizecache int32 `json:"-"` 2687} 2688 2689func (m *StreamingAutomlClassificationConfig) Reset() { *m = StreamingAutomlClassificationConfig{} } 2690func (m *StreamingAutomlClassificationConfig) String() string { return proto.CompactTextString(m) } 2691func (*StreamingAutomlClassificationConfig) ProtoMessage() {} 2692func (*StreamingAutomlClassificationConfig) Descriptor() ([]byte, []int) { 2693 return fileDescriptor_06234ac6e4dad78c, []int{37} 2694} 2695 2696func (m *StreamingAutomlClassificationConfig) XXX_Unmarshal(b []byte) error { 2697 return xxx_messageInfo_StreamingAutomlClassificationConfig.Unmarshal(m, b) 2698} 2699func (m *StreamingAutomlClassificationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2700 return xxx_messageInfo_StreamingAutomlClassificationConfig.Marshal(b, m, deterministic) 2701} 2702func (m *StreamingAutomlClassificationConfig) XXX_Merge(src proto.Message) { 2703 xxx_messageInfo_StreamingAutomlClassificationConfig.Merge(m, src) 2704} 2705func (m *StreamingAutomlClassificationConfig) XXX_Size() int { 2706 return xxx_messageInfo_StreamingAutomlClassificationConfig.Size(m) 2707} 2708func (m *StreamingAutomlClassificationConfig) XXX_DiscardUnknown() { 2709 xxx_messageInfo_StreamingAutomlClassificationConfig.DiscardUnknown(m) 2710} 2711 2712var xxx_messageInfo_StreamingAutomlClassificationConfig proto.InternalMessageInfo 2713 2714func (m *StreamingAutomlClassificationConfig) GetModelName() string { 2715 if m != nil { 2716 return m.ModelName 2717 } 2718 return "" 2719} 2720 2721// Config for AUTOML_OBJECT_TRACKING in streaming mode. 2722type StreamingAutomlObjectTrackingConfig struct { 2723 // Resource name of AutoML model. 2724 // Format: `projects/{project_id}/locations/{location_id}/models/{model_id}` 2725 ModelName string `protobuf:"bytes,1,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"` 2726 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2727 XXX_unrecognized []byte `json:"-"` 2728 XXX_sizecache int32 `json:"-"` 2729} 2730 2731func (m *StreamingAutomlObjectTrackingConfig) Reset() { *m = StreamingAutomlObjectTrackingConfig{} } 2732func (m *StreamingAutomlObjectTrackingConfig) String() string { return proto.CompactTextString(m) } 2733func (*StreamingAutomlObjectTrackingConfig) ProtoMessage() {} 2734func (*StreamingAutomlObjectTrackingConfig) Descriptor() ([]byte, []int) { 2735 return fileDescriptor_06234ac6e4dad78c, []int{38} 2736} 2737 2738func (m *StreamingAutomlObjectTrackingConfig) XXX_Unmarshal(b []byte) error { 2739 return xxx_messageInfo_StreamingAutomlObjectTrackingConfig.Unmarshal(m, b) 2740} 2741func (m *StreamingAutomlObjectTrackingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2742 return xxx_messageInfo_StreamingAutomlObjectTrackingConfig.Marshal(b, m, deterministic) 2743} 2744func (m *StreamingAutomlObjectTrackingConfig) XXX_Merge(src proto.Message) { 2745 xxx_messageInfo_StreamingAutomlObjectTrackingConfig.Merge(m, src) 2746} 2747func (m *StreamingAutomlObjectTrackingConfig) XXX_Size() int { 2748 return xxx_messageInfo_StreamingAutomlObjectTrackingConfig.Size(m) 2749} 2750func (m *StreamingAutomlObjectTrackingConfig) XXX_DiscardUnknown() { 2751 xxx_messageInfo_StreamingAutomlObjectTrackingConfig.DiscardUnknown(m) 2752} 2753 2754var xxx_messageInfo_StreamingAutomlObjectTrackingConfig proto.InternalMessageInfo 2755 2756func (m *StreamingAutomlObjectTrackingConfig) GetModelName() string { 2757 if m != nil { 2758 return m.ModelName 2759 } 2760 return "" 2761} 2762 2763// Config for EXPLICIT_CONTENT_DETECTION in streaming mode. 2764type StreamingExplicitContentDetectionConfig struct { 2765 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2766 XXX_unrecognized []byte `json:"-"` 2767 XXX_sizecache int32 `json:"-"` 2768} 2769 2770func (m *StreamingExplicitContentDetectionConfig) Reset() { 2771 *m = StreamingExplicitContentDetectionConfig{} 2772} 2773func (m *StreamingExplicitContentDetectionConfig) String() string { return proto.CompactTextString(m) } 2774func (*StreamingExplicitContentDetectionConfig) ProtoMessage() {} 2775func (*StreamingExplicitContentDetectionConfig) Descriptor() ([]byte, []int) { 2776 return fileDescriptor_06234ac6e4dad78c, []int{39} 2777} 2778 2779func (m *StreamingExplicitContentDetectionConfig) XXX_Unmarshal(b []byte) error { 2780 return xxx_messageInfo_StreamingExplicitContentDetectionConfig.Unmarshal(m, b) 2781} 2782func (m *StreamingExplicitContentDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2783 return xxx_messageInfo_StreamingExplicitContentDetectionConfig.Marshal(b, m, deterministic) 2784} 2785func (m *StreamingExplicitContentDetectionConfig) XXX_Merge(src proto.Message) { 2786 xxx_messageInfo_StreamingExplicitContentDetectionConfig.Merge(m, src) 2787} 2788func (m *StreamingExplicitContentDetectionConfig) XXX_Size() int { 2789 return xxx_messageInfo_StreamingExplicitContentDetectionConfig.Size(m) 2790} 2791func (m *StreamingExplicitContentDetectionConfig) XXX_DiscardUnknown() { 2792 xxx_messageInfo_StreamingExplicitContentDetectionConfig.DiscardUnknown(m) 2793} 2794 2795var xxx_messageInfo_StreamingExplicitContentDetectionConfig proto.InternalMessageInfo 2796 2797// Config for LABEL_DETECTION in streaming mode. 2798type StreamingLabelDetectionConfig struct { 2799 // Whether the video has been captured from a stationary (i.e. non-moving) 2800 // camera. When set to true, might improve detection accuracy for moving 2801 // objects. Default: false. 2802 StationaryCamera bool `protobuf:"varint,1,opt,name=stationary_camera,json=stationaryCamera,proto3" json:"stationary_camera,omitempty"` 2803 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2804 XXX_unrecognized []byte `json:"-"` 2805 XXX_sizecache int32 `json:"-"` 2806} 2807 2808func (m *StreamingLabelDetectionConfig) Reset() { *m = StreamingLabelDetectionConfig{} } 2809func (m *StreamingLabelDetectionConfig) String() string { return proto.CompactTextString(m) } 2810func (*StreamingLabelDetectionConfig) ProtoMessage() {} 2811func (*StreamingLabelDetectionConfig) Descriptor() ([]byte, []int) { 2812 return fileDescriptor_06234ac6e4dad78c, []int{40} 2813} 2814 2815func (m *StreamingLabelDetectionConfig) XXX_Unmarshal(b []byte) error { 2816 return xxx_messageInfo_StreamingLabelDetectionConfig.Unmarshal(m, b) 2817} 2818func (m *StreamingLabelDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2819 return xxx_messageInfo_StreamingLabelDetectionConfig.Marshal(b, m, deterministic) 2820} 2821func (m *StreamingLabelDetectionConfig) XXX_Merge(src proto.Message) { 2822 xxx_messageInfo_StreamingLabelDetectionConfig.Merge(m, src) 2823} 2824func (m *StreamingLabelDetectionConfig) XXX_Size() int { 2825 return xxx_messageInfo_StreamingLabelDetectionConfig.Size(m) 2826} 2827func (m *StreamingLabelDetectionConfig) XXX_DiscardUnknown() { 2828 xxx_messageInfo_StreamingLabelDetectionConfig.DiscardUnknown(m) 2829} 2830 2831var xxx_messageInfo_StreamingLabelDetectionConfig proto.InternalMessageInfo 2832 2833func (m *StreamingLabelDetectionConfig) GetStationaryCamera() bool { 2834 if m != nil { 2835 return m.StationaryCamera 2836 } 2837 return false 2838} 2839 2840// Config for STREAMING_OBJECT_TRACKING. 2841type StreamingObjectTrackingConfig struct { 2842 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2843 XXX_unrecognized []byte `json:"-"` 2844 XXX_sizecache int32 `json:"-"` 2845} 2846 2847func (m *StreamingObjectTrackingConfig) Reset() { *m = StreamingObjectTrackingConfig{} } 2848func (m *StreamingObjectTrackingConfig) String() string { return proto.CompactTextString(m) } 2849func (*StreamingObjectTrackingConfig) ProtoMessage() {} 2850func (*StreamingObjectTrackingConfig) Descriptor() ([]byte, []int) { 2851 return fileDescriptor_06234ac6e4dad78c, []int{41} 2852} 2853 2854func (m *StreamingObjectTrackingConfig) XXX_Unmarshal(b []byte) error { 2855 return xxx_messageInfo_StreamingObjectTrackingConfig.Unmarshal(m, b) 2856} 2857func (m *StreamingObjectTrackingConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2858 return xxx_messageInfo_StreamingObjectTrackingConfig.Marshal(b, m, deterministic) 2859} 2860func (m *StreamingObjectTrackingConfig) XXX_Merge(src proto.Message) { 2861 xxx_messageInfo_StreamingObjectTrackingConfig.Merge(m, src) 2862} 2863func (m *StreamingObjectTrackingConfig) XXX_Size() int { 2864 return xxx_messageInfo_StreamingObjectTrackingConfig.Size(m) 2865} 2866func (m *StreamingObjectTrackingConfig) XXX_DiscardUnknown() { 2867 xxx_messageInfo_StreamingObjectTrackingConfig.DiscardUnknown(m) 2868} 2869 2870var xxx_messageInfo_StreamingObjectTrackingConfig proto.InternalMessageInfo 2871 2872// Config for SHOT_CHANGE_DETECTION in streaming mode. 2873type StreamingShotChangeDetectionConfig struct { 2874 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2875 XXX_unrecognized []byte `json:"-"` 2876 XXX_sizecache int32 `json:"-"` 2877} 2878 2879func (m *StreamingShotChangeDetectionConfig) Reset() { *m = StreamingShotChangeDetectionConfig{} } 2880func (m *StreamingShotChangeDetectionConfig) String() string { return proto.CompactTextString(m) } 2881func (*StreamingShotChangeDetectionConfig) ProtoMessage() {} 2882func (*StreamingShotChangeDetectionConfig) Descriptor() ([]byte, []int) { 2883 return fileDescriptor_06234ac6e4dad78c, []int{42} 2884} 2885 2886func (m *StreamingShotChangeDetectionConfig) XXX_Unmarshal(b []byte) error { 2887 return xxx_messageInfo_StreamingShotChangeDetectionConfig.Unmarshal(m, b) 2888} 2889func (m *StreamingShotChangeDetectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2890 return xxx_messageInfo_StreamingShotChangeDetectionConfig.Marshal(b, m, deterministic) 2891} 2892func (m *StreamingShotChangeDetectionConfig) XXX_Merge(src proto.Message) { 2893 xxx_messageInfo_StreamingShotChangeDetectionConfig.Merge(m, src) 2894} 2895func (m *StreamingShotChangeDetectionConfig) XXX_Size() int { 2896 return xxx_messageInfo_StreamingShotChangeDetectionConfig.Size(m) 2897} 2898func (m *StreamingShotChangeDetectionConfig) XXX_DiscardUnknown() { 2899 xxx_messageInfo_StreamingShotChangeDetectionConfig.DiscardUnknown(m) 2900} 2901 2902var xxx_messageInfo_StreamingShotChangeDetectionConfig proto.InternalMessageInfo 2903 2904// Config for streaming storage option. 2905type StreamingStorageConfig struct { 2906 // Enable streaming storage. Default: false. 2907 EnableStorageAnnotationResult bool `protobuf:"varint,1,opt,name=enable_storage_annotation_result,json=enableStorageAnnotationResult,proto3" json:"enable_storage_annotation_result,omitempty"` 2908 // GCS URI to store all annotation results for one client. Client should 2909 // specify this field as the top-level storage directory. Annotation results 2910 // of different sessions will be put into different sub-directories denoted 2911 // by project_name and session_id. All sub-directories will be auto generated 2912 // by program and will be made accessible to client in response proto. 2913 // URIs must be specified in the following format: `gs://bucket-id/object-id` 2914 // `bucket-id` should be a valid GCS bucket created by client and bucket 2915 // permission shall also be configured properly. `object-id` can be arbitrary 2916 // string that make sense to client. Other URI formats will return error and 2917 // cause GCS write failure. 2918 AnnotationResultStorageDirectory string `protobuf:"bytes,3,opt,name=annotation_result_storage_directory,json=annotationResultStorageDirectory,proto3" json:"annotation_result_storage_directory,omitempty"` 2919 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2920 XXX_unrecognized []byte `json:"-"` 2921 XXX_sizecache int32 `json:"-"` 2922} 2923 2924func (m *StreamingStorageConfig) Reset() { *m = StreamingStorageConfig{} } 2925func (m *StreamingStorageConfig) String() string { return proto.CompactTextString(m) } 2926func (*StreamingStorageConfig) ProtoMessage() {} 2927func (*StreamingStorageConfig) Descriptor() ([]byte, []int) { 2928 return fileDescriptor_06234ac6e4dad78c, []int{43} 2929} 2930 2931func (m *StreamingStorageConfig) XXX_Unmarshal(b []byte) error { 2932 return xxx_messageInfo_StreamingStorageConfig.Unmarshal(m, b) 2933} 2934func (m *StreamingStorageConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2935 return xxx_messageInfo_StreamingStorageConfig.Marshal(b, m, deterministic) 2936} 2937func (m *StreamingStorageConfig) XXX_Merge(src proto.Message) { 2938 xxx_messageInfo_StreamingStorageConfig.Merge(m, src) 2939} 2940func (m *StreamingStorageConfig) XXX_Size() int { 2941 return xxx_messageInfo_StreamingStorageConfig.Size(m) 2942} 2943func (m *StreamingStorageConfig) XXX_DiscardUnknown() { 2944 xxx_messageInfo_StreamingStorageConfig.DiscardUnknown(m) 2945} 2946 2947var xxx_messageInfo_StreamingStorageConfig proto.InternalMessageInfo 2948 2949func (m *StreamingStorageConfig) GetEnableStorageAnnotationResult() bool { 2950 if m != nil { 2951 return m.EnableStorageAnnotationResult 2952 } 2953 return false 2954} 2955 2956func (m *StreamingStorageConfig) GetAnnotationResultStorageDirectory() string { 2957 if m != nil { 2958 return m.AnnotationResultStorageDirectory 2959 } 2960 return "" 2961} 2962 2963// Streaming annotation results corresponding to a portion of the video 2964// that is currently being processed. 2965type StreamingVideoAnnotationResults struct { 2966 // Shot annotation results. Each shot is represented as a video segment. 2967 ShotAnnotations []*VideoSegment `protobuf:"bytes,1,rep,name=shot_annotations,json=shotAnnotations,proto3" json:"shot_annotations,omitempty"` 2968 // Label annotation results. 2969 LabelAnnotations []*LabelAnnotation `protobuf:"bytes,2,rep,name=label_annotations,json=labelAnnotations,proto3" json:"label_annotations,omitempty"` 2970 // Explicit content annotation results. 2971 ExplicitAnnotation *ExplicitContentAnnotation `protobuf:"bytes,3,opt,name=explicit_annotation,json=explicitAnnotation,proto3" json:"explicit_annotation,omitempty"` 2972 // Object tracking results. 2973 ObjectAnnotations []*ObjectTrackingAnnotation `protobuf:"bytes,4,rep,name=object_annotations,json=objectAnnotations,proto3" json:"object_annotations,omitempty"` 2974 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2975 XXX_unrecognized []byte `json:"-"` 2976 XXX_sizecache int32 `json:"-"` 2977} 2978 2979func (m *StreamingVideoAnnotationResults) Reset() { *m = StreamingVideoAnnotationResults{} } 2980func (m *StreamingVideoAnnotationResults) String() string { return proto.CompactTextString(m) } 2981func (*StreamingVideoAnnotationResults) ProtoMessage() {} 2982func (*StreamingVideoAnnotationResults) Descriptor() ([]byte, []int) { 2983 return fileDescriptor_06234ac6e4dad78c, []int{44} 2984} 2985 2986func (m *StreamingVideoAnnotationResults) XXX_Unmarshal(b []byte) error { 2987 return xxx_messageInfo_StreamingVideoAnnotationResults.Unmarshal(m, b) 2988} 2989func (m *StreamingVideoAnnotationResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2990 return xxx_messageInfo_StreamingVideoAnnotationResults.Marshal(b, m, deterministic) 2991} 2992func (m *StreamingVideoAnnotationResults) XXX_Merge(src proto.Message) { 2993 xxx_messageInfo_StreamingVideoAnnotationResults.Merge(m, src) 2994} 2995func (m *StreamingVideoAnnotationResults) XXX_Size() int { 2996 return xxx_messageInfo_StreamingVideoAnnotationResults.Size(m) 2997} 2998func (m *StreamingVideoAnnotationResults) XXX_DiscardUnknown() { 2999 xxx_messageInfo_StreamingVideoAnnotationResults.DiscardUnknown(m) 3000} 3001 3002var xxx_messageInfo_StreamingVideoAnnotationResults proto.InternalMessageInfo 3003 3004func (m *StreamingVideoAnnotationResults) GetShotAnnotations() []*VideoSegment { 3005 if m != nil { 3006 return m.ShotAnnotations 3007 } 3008 return nil 3009} 3010 3011func (m *StreamingVideoAnnotationResults) GetLabelAnnotations() []*LabelAnnotation { 3012 if m != nil { 3013 return m.LabelAnnotations 3014 } 3015 return nil 3016} 3017 3018func (m *StreamingVideoAnnotationResults) GetExplicitAnnotation() *ExplicitContentAnnotation { 3019 if m != nil { 3020 return m.ExplicitAnnotation 3021 } 3022 return nil 3023} 3024 3025func (m *StreamingVideoAnnotationResults) GetObjectAnnotations() []*ObjectTrackingAnnotation { 3026 if m != nil { 3027 return m.ObjectAnnotations 3028 } 3029 return nil 3030} 3031 3032// Provides information to the annotator that specifies how to process the 3033// request. 3034type StreamingVideoConfig struct { 3035 // Requested annotation feature. 3036 Feature StreamingFeature `protobuf:"varint,1,opt,name=feature,proto3,enum=google.cloud.videointelligence.v1p3beta1.StreamingFeature" json:"feature,omitempty"` 3037 // Config for requested annotation feature. 3038 // 3039 // Types that are valid to be assigned to StreamingConfig: 3040 // *StreamingVideoConfig_ShotChangeDetectionConfig 3041 // *StreamingVideoConfig_LabelDetectionConfig 3042 // *StreamingVideoConfig_ExplicitContentDetectionConfig 3043 // *StreamingVideoConfig_ObjectTrackingConfig 3044 // *StreamingVideoConfig_AutomlClassificationConfig 3045 // *StreamingVideoConfig_AutomlObjectTrackingConfig 3046 StreamingConfig isStreamingVideoConfig_StreamingConfig `protobuf_oneof:"streaming_config"` 3047 // Streaming storage option. By default: storage is disabled. 3048 StorageConfig *StreamingStorageConfig `protobuf:"bytes,30,opt,name=storage_config,json=storageConfig,proto3" json:"storage_config,omitempty"` 3049 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3050 XXX_unrecognized []byte `json:"-"` 3051 XXX_sizecache int32 `json:"-"` 3052} 3053 3054func (m *StreamingVideoConfig) Reset() { *m = StreamingVideoConfig{} } 3055func (m *StreamingVideoConfig) String() string { return proto.CompactTextString(m) } 3056func (*StreamingVideoConfig) ProtoMessage() {} 3057func (*StreamingVideoConfig) Descriptor() ([]byte, []int) { 3058 return fileDescriptor_06234ac6e4dad78c, []int{45} 3059} 3060 3061func (m *StreamingVideoConfig) XXX_Unmarshal(b []byte) error { 3062 return xxx_messageInfo_StreamingVideoConfig.Unmarshal(m, b) 3063} 3064func (m *StreamingVideoConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3065 return xxx_messageInfo_StreamingVideoConfig.Marshal(b, m, deterministic) 3066} 3067func (m *StreamingVideoConfig) XXX_Merge(src proto.Message) { 3068 xxx_messageInfo_StreamingVideoConfig.Merge(m, src) 3069} 3070func (m *StreamingVideoConfig) XXX_Size() int { 3071 return xxx_messageInfo_StreamingVideoConfig.Size(m) 3072} 3073func (m *StreamingVideoConfig) XXX_DiscardUnknown() { 3074 xxx_messageInfo_StreamingVideoConfig.DiscardUnknown(m) 3075} 3076 3077var xxx_messageInfo_StreamingVideoConfig proto.InternalMessageInfo 3078 3079func (m *StreamingVideoConfig) GetFeature() StreamingFeature { 3080 if m != nil { 3081 return m.Feature 3082 } 3083 return StreamingFeature_STREAMING_FEATURE_UNSPECIFIED 3084} 3085 3086type isStreamingVideoConfig_StreamingConfig interface { 3087 isStreamingVideoConfig_StreamingConfig() 3088} 3089 3090type StreamingVideoConfig_ShotChangeDetectionConfig struct { 3091 ShotChangeDetectionConfig *StreamingShotChangeDetectionConfig `protobuf:"bytes,2,opt,name=shot_change_detection_config,json=shotChangeDetectionConfig,proto3,oneof"` 3092} 3093 3094type StreamingVideoConfig_LabelDetectionConfig struct { 3095 LabelDetectionConfig *StreamingLabelDetectionConfig `protobuf:"bytes,3,opt,name=label_detection_config,json=labelDetectionConfig,proto3,oneof"` 3096} 3097 3098type StreamingVideoConfig_ExplicitContentDetectionConfig struct { 3099 ExplicitContentDetectionConfig *StreamingExplicitContentDetectionConfig `protobuf:"bytes,4,opt,name=explicit_content_detection_config,json=explicitContentDetectionConfig,proto3,oneof"` 3100} 3101 3102type StreamingVideoConfig_ObjectTrackingConfig struct { 3103 ObjectTrackingConfig *StreamingObjectTrackingConfig `protobuf:"bytes,5,opt,name=object_tracking_config,json=objectTrackingConfig,proto3,oneof"` 3104} 3105 3106type StreamingVideoConfig_AutomlClassificationConfig struct { 3107 AutomlClassificationConfig *StreamingAutomlClassificationConfig `protobuf:"bytes,21,opt,name=automl_classification_config,json=automlClassificationConfig,proto3,oneof"` 3108} 3109 3110type StreamingVideoConfig_AutomlObjectTrackingConfig struct { 3111 AutomlObjectTrackingConfig *StreamingAutomlObjectTrackingConfig `protobuf:"bytes,22,opt,name=automl_object_tracking_config,json=automlObjectTrackingConfig,proto3,oneof"` 3112} 3113 3114func (*StreamingVideoConfig_ShotChangeDetectionConfig) isStreamingVideoConfig_StreamingConfig() {} 3115 3116func (*StreamingVideoConfig_LabelDetectionConfig) isStreamingVideoConfig_StreamingConfig() {} 3117 3118func (*StreamingVideoConfig_ExplicitContentDetectionConfig) isStreamingVideoConfig_StreamingConfig() {} 3119 3120func (*StreamingVideoConfig_ObjectTrackingConfig) isStreamingVideoConfig_StreamingConfig() {} 3121 3122func (*StreamingVideoConfig_AutomlClassificationConfig) isStreamingVideoConfig_StreamingConfig() {} 3123 3124func (*StreamingVideoConfig_AutomlObjectTrackingConfig) isStreamingVideoConfig_StreamingConfig() {} 3125 3126func (m *StreamingVideoConfig) GetStreamingConfig() isStreamingVideoConfig_StreamingConfig { 3127 if m != nil { 3128 return m.StreamingConfig 3129 } 3130 return nil 3131} 3132 3133func (m *StreamingVideoConfig) GetShotChangeDetectionConfig() *StreamingShotChangeDetectionConfig { 3134 if x, ok := m.GetStreamingConfig().(*StreamingVideoConfig_ShotChangeDetectionConfig); ok { 3135 return x.ShotChangeDetectionConfig 3136 } 3137 return nil 3138} 3139 3140func (m *StreamingVideoConfig) GetLabelDetectionConfig() *StreamingLabelDetectionConfig { 3141 if x, ok := m.GetStreamingConfig().(*StreamingVideoConfig_LabelDetectionConfig); ok { 3142 return x.LabelDetectionConfig 3143 } 3144 return nil 3145} 3146 3147func (m *StreamingVideoConfig) GetExplicitContentDetectionConfig() *StreamingExplicitContentDetectionConfig { 3148 if x, ok := m.GetStreamingConfig().(*StreamingVideoConfig_ExplicitContentDetectionConfig); ok { 3149 return x.ExplicitContentDetectionConfig 3150 } 3151 return nil 3152} 3153 3154func (m *StreamingVideoConfig) GetObjectTrackingConfig() *StreamingObjectTrackingConfig { 3155 if x, ok := m.GetStreamingConfig().(*StreamingVideoConfig_ObjectTrackingConfig); ok { 3156 return x.ObjectTrackingConfig 3157 } 3158 return nil 3159} 3160 3161func (m *StreamingVideoConfig) GetAutomlClassificationConfig() *StreamingAutomlClassificationConfig { 3162 if x, ok := m.GetStreamingConfig().(*StreamingVideoConfig_AutomlClassificationConfig); ok { 3163 return x.AutomlClassificationConfig 3164 } 3165 return nil 3166} 3167 3168func (m *StreamingVideoConfig) GetAutomlObjectTrackingConfig() *StreamingAutomlObjectTrackingConfig { 3169 if x, ok := m.GetStreamingConfig().(*StreamingVideoConfig_AutomlObjectTrackingConfig); ok { 3170 return x.AutomlObjectTrackingConfig 3171 } 3172 return nil 3173} 3174 3175func (m *StreamingVideoConfig) GetStorageConfig() *StreamingStorageConfig { 3176 if m != nil { 3177 return m.StorageConfig 3178 } 3179 return nil 3180} 3181 3182// XXX_OneofWrappers is for the internal use of the proto package. 3183func (*StreamingVideoConfig) XXX_OneofWrappers() []interface{} { 3184 return []interface{}{ 3185 (*StreamingVideoConfig_ShotChangeDetectionConfig)(nil), 3186 (*StreamingVideoConfig_LabelDetectionConfig)(nil), 3187 (*StreamingVideoConfig_ExplicitContentDetectionConfig)(nil), 3188 (*StreamingVideoConfig_ObjectTrackingConfig)(nil), 3189 (*StreamingVideoConfig_AutomlClassificationConfig)(nil), 3190 (*StreamingVideoConfig_AutomlObjectTrackingConfig)(nil), 3191 } 3192} 3193 3194func init() { 3195 proto.RegisterEnum("google.cloud.videointelligence.v1p3beta1.Feature", Feature_name, Feature_value) 3196 proto.RegisterEnum("google.cloud.videointelligence.v1p3beta1.LabelDetectionMode", LabelDetectionMode_name, LabelDetectionMode_value) 3197 proto.RegisterEnum("google.cloud.videointelligence.v1p3beta1.Likelihood", Likelihood_name, Likelihood_value) 3198 proto.RegisterEnum("google.cloud.videointelligence.v1p3beta1.StreamingFeature", StreamingFeature_name, StreamingFeature_value) 3199 proto.RegisterType((*AnnotateVideoRequest)(nil), "google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest") 3200 proto.RegisterType((*VideoContext)(nil), "google.cloud.videointelligence.v1p3beta1.VideoContext") 3201 proto.RegisterType((*LabelDetectionConfig)(nil), "google.cloud.videointelligence.v1p3beta1.LabelDetectionConfig") 3202 proto.RegisterType((*ShotChangeDetectionConfig)(nil), "google.cloud.videointelligence.v1p3beta1.ShotChangeDetectionConfig") 3203 proto.RegisterType((*ObjectTrackingConfig)(nil), "google.cloud.videointelligence.v1p3beta1.ObjectTrackingConfig") 3204 proto.RegisterType((*ExplicitContentDetectionConfig)(nil), "google.cloud.videointelligence.v1p3beta1.ExplicitContentDetectionConfig") 3205 proto.RegisterType((*TextDetectionConfig)(nil), "google.cloud.videointelligence.v1p3beta1.TextDetectionConfig") 3206 proto.RegisterType((*VideoSegment)(nil), "google.cloud.videointelligence.v1p3beta1.VideoSegment") 3207 proto.RegisterType((*LabelSegment)(nil), "google.cloud.videointelligence.v1p3beta1.LabelSegment") 3208 proto.RegisterType((*LabelFrame)(nil), "google.cloud.videointelligence.v1p3beta1.LabelFrame") 3209 proto.RegisterType((*Entity)(nil), "google.cloud.videointelligence.v1p3beta1.Entity") 3210 proto.RegisterType((*LabelAnnotation)(nil), "google.cloud.videointelligence.v1p3beta1.LabelAnnotation") 3211 proto.RegisterType((*ExplicitContentFrame)(nil), "google.cloud.videointelligence.v1p3beta1.ExplicitContentFrame") 3212 proto.RegisterType((*ExplicitContentAnnotation)(nil), "google.cloud.videointelligence.v1p3beta1.ExplicitContentAnnotation") 3213 proto.RegisterType((*NormalizedBoundingBox)(nil), "google.cloud.videointelligence.v1p3beta1.NormalizedBoundingBox") 3214 proto.RegisterType((*TimestampedObject)(nil), "google.cloud.videointelligence.v1p3beta1.TimestampedObject") 3215 proto.RegisterType((*Track)(nil), "google.cloud.videointelligence.v1p3beta1.Track") 3216 proto.RegisterType((*DetectedAttribute)(nil), "google.cloud.videointelligence.v1p3beta1.DetectedAttribute") 3217 proto.RegisterType((*VideoAnnotationResults)(nil), "google.cloud.videointelligence.v1p3beta1.VideoAnnotationResults") 3218 proto.RegisterType((*AnnotateVideoResponse)(nil), "google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse") 3219 proto.RegisterType((*VideoAnnotationProgress)(nil), "google.cloud.videointelligence.v1p3beta1.VideoAnnotationProgress") 3220 proto.RegisterType((*AnnotateVideoProgress)(nil), "google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress") 3221 proto.RegisterType((*SpeechTranscriptionConfig)(nil), "google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig") 3222 proto.RegisterType((*SpeechContext)(nil), "google.cloud.videointelligence.v1p3beta1.SpeechContext") 3223 proto.RegisterType((*SpeechTranscription)(nil), "google.cloud.videointelligence.v1p3beta1.SpeechTranscription") 3224 proto.RegisterType((*SpeechRecognitionAlternative)(nil), "google.cloud.videointelligence.v1p3beta1.SpeechRecognitionAlternative") 3225 proto.RegisterType((*WordInfo)(nil), "google.cloud.videointelligence.v1p3beta1.WordInfo") 3226 proto.RegisterType((*NormalizedVertex)(nil), "google.cloud.videointelligence.v1p3beta1.NormalizedVertex") 3227 proto.RegisterType((*NormalizedBoundingPoly)(nil), "google.cloud.videointelligence.v1p3beta1.NormalizedBoundingPoly") 3228 proto.RegisterType((*TextSegment)(nil), "google.cloud.videointelligence.v1p3beta1.TextSegment") 3229 proto.RegisterType((*TextFrame)(nil), "google.cloud.videointelligence.v1p3beta1.TextFrame") 3230 proto.RegisterType((*TextAnnotation)(nil), "google.cloud.videointelligence.v1p3beta1.TextAnnotation") 3231 proto.RegisterType((*ObjectTrackingFrame)(nil), "google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame") 3232 proto.RegisterType((*ObjectTrackingAnnotation)(nil), "google.cloud.videointelligence.v1p3beta1.ObjectTrackingAnnotation") 3233 proto.RegisterType((*LogoRecognitionAnnotation)(nil), "google.cloud.videointelligence.v1p3beta1.LogoRecognitionAnnotation") 3234 proto.RegisterType((*StreamingAnnotateVideoRequest)(nil), "google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest") 3235 proto.RegisterType((*StreamingAnnotateVideoResponse)(nil), "google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse") 3236 proto.RegisterType((*StreamingAutomlClassificationConfig)(nil), "google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig") 3237 proto.RegisterType((*StreamingAutomlObjectTrackingConfig)(nil), "google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig") 3238 proto.RegisterType((*StreamingExplicitContentDetectionConfig)(nil), "google.cloud.videointelligence.v1p3beta1.StreamingExplicitContentDetectionConfig") 3239 proto.RegisterType((*StreamingLabelDetectionConfig)(nil), "google.cloud.videointelligence.v1p3beta1.StreamingLabelDetectionConfig") 3240 proto.RegisterType((*StreamingObjectTrackingConfig)(nil), "google.cloud.videointelligence.v1p3beta1.StreamingObjectTrackingConfig") 3241 proto.RegisterType((*StreamingShotChangeDetectionConfig)(nil), "google.cloud.videointelligence.v1p3beta1.StreamingShotChangeDetectionConfig") 3242 proto.RegisterType((*StreamingStorageConfig)(nil), "google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig") 3243 proto.RegisterType((*StreamingVideoAnnotationResults)(nil), "google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults") 3244 proto.RegisterType((*StreamingVideoConfig)(nil), "google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig") 3245} 3246 3247func init() { 3248 proto.RegisterFile("google/cloud/videointelligence/v1p3beta1/video_intelligence.proto", fileDescriptor_06234ac6e4dad78c) 3249} 3250 3251var fileDescriptor_06234ac6e4dad78c = []byte{ 3252 // 3184 bytes of a gzipped FileDescriptorProto 3253 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0xcd, 0x6f, 0x23, 0xc7, 3254 0xb1, 0xd7, 0x50, 0x1f, 0x2b, 0x95, 0x28, 0x89, 0x6a, 0x51, 0x5a, 0x4a, 0x5e, 0xed, 0x6a, 0x67, 3255 0x6d, 0x3c, 0x79, 0x6d, 0x48, 0xde, 0x5d, 0x3f, 0x3f, 0x5b, 0xfe, 0x78, 0xa6, 0x28, 0xae, 0xc8, 3256 0x67, 0x49, 0x94, 0x87, 0x5c, 0x3d, 0x3b, 0xb6, 0x31, 0x19, 0x0d, 0x5b, 0xa3, 0xf1, 0x0e, 0xa7, 3257 0xe9, 0x99, 0xa6, 0x2c, 0xf9, 0xe2, 0xc0, 0x49, 0x80, 0x00, 0x81, 0x11, 0x24, 0x46, 0x80, 0x9c, 3258 0x72, 0x4b, 0x10, 0xe4, 0x90, 0x04, 0xb9, 0xe6, 0x90, 0x1c, 0x12, 0x04, 0x70, 0x02, 0xe4, 0x10, 3259 0xf8, 0x90, 0x20, 0x47, 0x03, 0x01, 0xf2, 0x27, 0xe4, 0x14, 0x4c, 0x77, 0xcf, 0x07, 0x39, 0x43, 3260 0x51, 0xa4, 0x76, 0x11, 0xe4, 0x36, 0x53, 0x5d, 0xfd, 0xab, 0xea, 0xea, 0xea, 0xea, 0xaa, 0xee, 3261 0x86, 0xbc, 0x41, 0x88, 0x61, 0xe1, 0x75, 0xdd, 0x22, 0xad, 0xfa, 0xfa, 0x89, 0x59, 0xc7, 0xc4, 3262 0xb4, 0x29, 0xb6, 0x2c, 0xd3, 0xc0, 0xb6, 0x8e, 0xd7, 0x4f, 0xee, 0x34, 0xef, 0x1d, 0x62, 0xaa, 3263 0xdd, 0xe1, 0x6d, 0x6a, 0xb4, 0x71, 0xad, 0xe9, 0x10, 0x4a, 0xd0, 0x2a, 0x87, 0x58, 0x63, 0x10, 3264 0x6b, 0x31, 0x88, 0xb5, 0x00, 0x62, 0xe9, 0x9a, 0x10, 0xa6, 0x35, 0xcd, 0x75, 0xcd, 0xb6, 0x09, 3265 0xd5, 0xa8, 0x49, 0x6c, 0x97, 0xe3, 0x2c, 0xdd, 0x12, 0xad, 0x16, 0xb1, 0x0d, 0xa7, 0x65, 0xdb, 3266 0xa6, 0x6d, 0xac, 0x93, 0x26, 0x76, 0xda, 0x98, 0xae, 0x0b, 0x26, 0xf6, 0x77, 0xd8, 0x3a, 0x5a, 3267 0xaf, 0xb7, 0x38, 0x83, 0x68, 0xbf, 0xd1, 0xd9, 0x4e, 0xcd, 0x06, 0x76, 0xa9, 0xd6, 0x68, 0x0a, 3268 0x86, 0xab, 0x82, 0xc1, 0x69, 0xea, 0xeb, 0x2e, 0xd5, 0x68, 0x4b, 0x20, 0xcb, 0xbf, 0x4d, 0x41, 3269 0x36, 0xcf, 0x95, 0xc2, 0x07, 0xde, 0x20, 0x14, 0xfc, 0x41, 0x0b, 0xbb, 0x14, 0x3d, 0x01, 0x13, 3270 0xa6, 0xdd, 0x6c, 0x51, 0xb5, 0xe5, 0x98, 0x39, 0x69, 0x45, 0x5a, 0x9d, 0x50, 0xc6, 0x19, 0xe1, 3271 0x81, 0x63, 0xa2, 0x5b, 0x30, 0xc5, 0x1b, 0x75, 0x62, 0x53, 0x6c, 0xd3, 0xdc, 0xd8, 0x8a, 0xb4, 3272 0x9a, 0x56, 0xd2, 0x8c, 0x58, 0xe0, 0x34, 0xb4, 0x0b, 0xe3, 0x47, 0x58, 0xa3, 0x2d, 0x07, 0xbb, 3273 0xb9, 0xd4, 0xca, 0xf0, 0xea, 0xf4, 0xdd, 0x3b, 0x6b, 0x17, 0x35, 0xda, 0xda, 0x7d, 0xde, 0x53, 3274 0x09, 0x20, 0xd0, 0x3b, 0x30, 0xc5, 0x27, 0x83, 0xc9, 0x3c, 0xa5, 0xb9, 0xe1, 0x15, 0x69, 0x75, 3275 0xf2, 0xee, 0x0b, 0x17, 0xc7, 0x64, 0xe3, 0x2b, 0xf0, 0xde, 0x4a, 0xfa, 0x24, 0xf2, 0x87, 0x96, 3276 0x01, 0x48, 0x8b, 0xfa, 0xc3, 0x1d, 0x61, 0xc3, 0x9d, 0xe0, 0x14, 0x6f, 0xbc, 0x37, 0x60, 0xd2, 3277 0x22, 0x3a, 0xb3, 0xb8, 0x6a, 0xd6, 0x73, 0xa3, 0xac, 0x1d, 0x7c, 0x52, 0xb9, 0x2e, 0x7f, 0x39, 3278 0x06, 0xe9, 0x28, 0x3c, 0x52, 0x60, 0xdc, 0xc5, 0x46, 0x03, 0xdb, 0xd4, 0xcd, 0x49, 0x2b, 0xc3, 3279 0x03, 0x28, 0x5a, 0xe5, 0xdd, 0x95, 0x00, 0x07, 0x51, 0x58, 0xb0, 0xb4, 0x43, 0x6c, 0xa9, 0x75, 3280 0x4c, 0xb1, 0xce, 0x94, 0xd1, 0x89, 0x7d, 0x64, 0x1a, 0xb9, 0x14, 0x33, 0xc5, 0x6b, 0x17, 0x97, 3281 0xb0, 0xe3, 0xe1, 0x6c, 0xf9, 0x30, 0x05, 0x86, 0xa2, 0x64, 0xad, 0x04, 0x2a, 0xfa, 0x86, 0x04, 3282 0xd7, 0xdc, 0x63, 0x42, 0x55, 0xfd, 0x58, 0xb3, 0x0d, 0x1c, 0x17, 0xce, 0xe7, 0xa1, 0x70, 0x71, 3283 0xe1, 0xd5, 0x63, 0x42, 0x0b, 0x0c, 0xac, 0x53, 0x83, 0x45, 0xb7, 0x5b, 0x13, 0xfa, 0x4c, 0x82, 3284 0x9b, 0xf8, 0xb4, 0x69, 0x99, 0xba, 0x19, 0xb8, 0x5d, 0x5c, 0x97, 0x11, 0xa6, 0x4b, 0xe9, 0xe2, 3285 0xba, 0x14, 0x05, 0xa4, 0x70, 0xda, 0x4e, 0x85, 0xae, 0xe3, 0x73, 0xdb, 0xd1, 0xd7, 0x25, 0x78, 3286 0xc2, 0x6d, 0x62, 0xac, 0x1f, 0xab, 0xd4, 0xd1, 0x6c, 0x57, 0x77, 0xcc, 0x66, 0x54, 0x9f, 0xb1, 3287 0xbe, 0x6d, 0xc3, 0xc0, 0x6a, 0x51, 0xac, 0xc0, 0x36, 0xdd, 0x9a, 0xd0, 0x07, 0x30, 0xef, 0x39, 3288 0x5d, 0xdc, 0x1c, 0xe3, 0x4c, 0xfc, 0xab, 0x17, 0x17, 0x5f, 0xc3, 0xa7, 0x31, 0x1b, 0xcc, 0xd1, 3289 0x38, 0xd1, 0xf3, 0x45, 0x72, 0xf8, 0x3e, 0xd6, 0xa9, 0x37, 0x6e, 0xfd, 0xa1, 0x69, 0x1b, 0xbe, 3290 0xcc, 0xa9, 0x7e, 0x7d, 0xb1, 0xc2, 0x70, 0x6a, 0x02, 0xc6, 0xf7, 0x45, 0x92, 0x40, 0x95, 0x7f, 3291 0x97, 0x82, 0x6c, 0x92, 0xeb, 0x22, 0x1b, 0xb2, 0x9d, 0x4b, 0xa3, 0x41, 0xea, 0x98, 0x05, 0xae, 3292 0xe9, 0xbb, 0xaf, 0x0c, 0xba, 0x30, 0x76, 0x49, 0x1d, 0x2b, 0xc8, 0x8a, 0xd1, 0xd0, 0x33, 0x30, 3293 0xeb, 0xf2, 0x38, 0xae, 0x39, 0x67, 0xaa, 0xae, 0x35, 0xb0, 0xa3, 0xb1, 0x55, 0x38, 0xae, 0x64, 3294 0xc2, 0x86, 0x02, 0xa3, 0xa3, 0x2c, 0x8c, 0x7a, 0xca, 0x58, 0x6c, 0xa5, 0x4c, 0x28, 0xfc, 0x07, 3295 0xbd, 0x02, 0x4b, 0x47, 0x8e, 0xd6, 0xc0, 0xdc, 0x6e, 0x75, 0x4f, 0x0f, 0x95, 0x1e, 0x3b, 0xd8, 3296 0x3d, 0x26, 0x56, 0x9d, 0x39, 0x72, 0x4a, 0xc9, 0x31, 0x8e, 0x42, 0xc0, 0x50, 0xf3, 0xdb, 0xbd, 3297 0xde, 0x41, 0x34, 0x8c, 0xf7, 0x1e, 0xe5, 0xbd, 0xfd, 0x10, 0xd7, 0xd9, 0x5b, 0xbe, 0x03, 0x8b, 3298 0x5d, 0x17, 0x61, 0xa8, 0xae, 0x14, 0x51, 0x57, 0x7e, 0x16, 0xb2, 0x49, 0x13, 0xd5, 0x85, 0xfb, 3299 0x05, 0xb8, 0x7e, 0xfe, 0xca, 0xea, 0xd2, 0x4f, 0x81, 0xb9, 0x04, 0x17, 0x44, 0x4f, 0xc1, 0xb4, 3300 0xa5, 0xd9, 0x46, 0x4b, 0x33, 0xb0, 0x7a, 0x6c, 0xfa, 0x31, 0x75, 0x42, 0x99, 0xf2, 0xa9, 0x25, 3301 0x8f, 0x18, 0x62, 0xa6, 0xa2, 0x98, 0x3f, 0x90, 0x44, 0x6c, 0x16, 0x11, 0x15, 0x15, 0xd9, 0xe4, 3302 0x39, 0x54, 0xf5, 0x76, 0x49, 0x95, 0x1c, 0x1d, 0xb9, 0x98, 0x32, 0x35, 0x26, 0xef, 0x2e, 0xfa, 3303 0x9e, 0xe2, 0xef, 0xa4, 0x6b, 0x5b, 0x62, 0xa7, 0x55, 0x66, 0x58, 0x9f, 0x9a, 0xd9, 0xc0, 0x15, 3304 0xd6, 0x03, 0xe5, 0x61, 0x06, 0xdb, 0xf5, 0x36, 0x90, 0x54, 0x2f, 0x90, 0x29, 0x6c, 0xd7, 0x43, 3305 0x08, 0xf9, 0x6b, 0x12, 0xa4, 0x99, 0xc7, 0xf9, 0xaa, 0xed, 0xc3, 0x15, 0x11, 0xee, 0x85, 0x42, 3306 0x83, 0xee, 0x1a, 0x3e, 0x0c, 0xba, 0x0e, 0x10, 0xba, 0x08, 0x53, 0x30, 0xa5, 0x44, 0x28, 0xf2, 3307 0x31, 0x00, 0xd3, 0xe0, 0xbe, 0xe7, 0x69, 0x68, 0x03, 0x26, 0xfb, 0x32, 0x0a, 0xd0, 0xd0, 0x1e, 3308 0xbd, 0x24, 0x59, 0x30, 0x56, 0xb4, 0xa9, 0x49, 0xcf, 0xbc, 0xdc, 0x02, 0xb3, 0x2f, 0x6f, 0x33, 3309 0x15, 0xb9, 0x05, 0x27, 0x94, 0xeb, 0x68, 0x05, 0x26, 0xeb, 0x38, 0x88, 0x70, 0x62, 0x2a, 0xa3, 3310 0x24, 0x2f, 0xfb, 0x08, 0xbc, 0x41, 0xf7, 0x56, 0x39, 0x5f, 0x57, 0x69, 0x9f, 0x58, 0x20, 0x75, 3311 0x2c, 0xff, 0x2d, 0x05, 0x33, 0x6c, 0x60, 0xf9, 0x20, 0xe5, 0x42, 0x25, 0x18, 0xe3, 0x62, 0xc4, 3312 0xc0, 0x9e, 0xeb, 0x63, 0x9f, 0x60, 0xfd, 0x14, 0xd1, 0x1f, 0xbd, 0x07, 0xb3, 0xba, 0x46, 0xb1, 3313 0x41, 0x9c, 0x33, 0x95, 0x91, 0x4c, 0x91, 0xe4, 0x0c, 0x02, 0x9a, 0xf1, 0xa1, 0x8a, 0x02, 0xa9, 3314 0x2d, 0x7b, 0x18, 0xee, 0x37, 0x7b, 0x88, 0x3a, 0x54, 0x24, 0x7b, 0xd8, 0x81, 0x31, 0x16, 0x4d, 3315 0xdc, 0xdc, 0x08, 0x43, 0x7c, 0xbe, 0x4f, 0x44, 0xe6, 0x20, 0x8a, 0xc0, 0x90, 0x7f, 0x2d, 0x41, 3316 0xb6, 0x63, 0x85, 0x5f, 0xde, 0x83, 0x1e, 0xc2, 0x42, 0x93, 0x38, 0x36, 0x31, 0x1c, 0xad, 0x79, 3317 0x7c, 0xa6, 0x5a, 0xe6, 0x43, 0x6c, 0x99, 0xc7, 0x84, 0xd4, 0x99, 0x17, 0x4c, 0xf7, 0xa5, 0x72, 3318 0xd0, 0x57, 0x99, 0x8f, 0x60, 0x86, 0x64, 0xd9, 0x85, 0xc5, 0x8e, 0x01, 0x44, 0x3c, 0xe5, 0x20, 3319 0x30, 0x16, 0x4f, 0xde, 0x5e, 0x1b, 0x38, 0xa3, 0x68, 0x37, 0xdb, 0x43, 0x98, 0xdf, 0x23, 0x4e, 3320 0x43, 0xb3, 0xcc, 0x8f, 0x70, 0x7d, 0x93, 0xb4, 0xec, 0xba, 0x69, 0x1b, 0x9b, 0xe4, 0x14, 0x21, 3321 0x18, 0xb1, 0xf0, 0x11, 0xb7, 0x57, 0x4a, 0x61, 0xdf, 0x28, 0x03, 0xc3, 0x94, 0x34, 0xc5, 0x4a, 3322 0xf2, 0x3e, 0xbd, 0x00, 0xe7, 0x98, 0xc6, 0x31, 0xcf, 0x7d, 0x53, 0x0a, 0xff, 0x41, 0x0b, 0x30, 3323 0x76, 0x48, 0x28, 0x25, 0x0d, 0xb1, 0x6b, 0x88, 0x3f, 0xf9, 0x47, 0x29, 0x98, 0xad, 0xf9, 0x85, 3324 0x00, 0xae, 0xf3, 0xf0, 0x8d, 0x3e, 0x84, 0xab, 0x76, 0xa0, 0x82, 0x7a, 0x28, 0x74, 0x50, 0x0f, 3325 0xc9, 0xa9, 0x98, 0xac, 0xff, 0xbd, 0xf8, 0x58, 0x13, 0xc7, 0xa2, 0xcc, 0xdb, 0x89, 0x43, 0xec, 3326 0xf0, 0x8c, 0x54, 0x3f, 0x9e, 0xf1, 0x0e, 0x80, 0x46, 0xa9, 0x63, 0x1e, 0xb6, 0x28, 0xf6, 0x97, 3327 0xc4, 0xcb, 0x17, 0xd7, 0x93, 0xef, 0x27, 0xb8, 0x9e, 0xf7, 0x31, 0x94, 0x08, 0x9c, 0x57, 0x03, 3328 0x8d, 0xb2, 0x5d, 0xed, 0x31, 0x84, 0x5f, 0x0b, 0xe6, 0x68, 0x38, 0x05, 0x2a, 0xcf, 0x6a, 0xfc, 3329 0x50, 0xd1, 0xc7, 0x08, 0x62, 0xf3, 0xa8, 0x20, 0xda, 0x49, 0x72, 0x1f, 0xab, 0x99, 0x3a, 0xe2, 3330 0xfb, 0x48, 0x2c, 0xbe, 0xbf, 0x07, 0xb3, 0x31, 0x00, 0xcf, 0xaf, 0x6d, 0xad, 0x81, 0x45, 0x94, 3331 0x67, 0xdf, 0xbd, 0x36, 0x0a, 0xcf, 0xcb, 0x4f, 0x34, 0xab, 0xe5, 0xc7, 0x75, 0xfe, 0x23, 0xff, 3332 0x7d, 0x1c, 0x16, 0x98, 0x8d, 0xc3, 0x65, 0xaa, 0x60, 0xb7, 0x65, 0x51, 0xf7, 0xfc, 0x5a, 0xb5, 3333 0x05, 0x8b, 0x62, 0x32, 0x54, 0x9e, 0x22, 0x46, 0x6a, 0x70, 0x31, 0x0f, 0x2f, 0xf5, 0x19, 0x0a, 3334 0x23, 0x1a, 0x5c, 0x15, 0xd8, 0x1d, 0x74, 0x17, 0x11, 0x58, 0x60, 0x55, 0x53, 0x5c, 0xe6, 0xf0, 3335 0x65, 0x65, 0x66, 0x3d, 0xe0, 0x98, 0xc0, 0x0f, 0xe0, 0x2a, 0xcf, 0x27, 0xe3, 0x12, 0x47, 0x2e, 3336 0x2b, 0x71, 0x9e, 0x21, 0xc7, 0x44, 0x6a, 0x90, 0x61, 0x63, 0x8c, 0xca, 0x1a, 0xbb, 0x54, 0xb1, 3337 0x3b, 0xe3, 0xe1, 0x45, 0x45, 0x50, 0x98, 0x0b, 0xaa, 0xbe, 0x50, 0x4c, 0xee, 0x4a, 0xbf, 0x75, 3338 0x55, 0xd7, 0x50, 0xaf, 0x20, 0x1f, 0x3f, 0x12, 0xfe, 0x1d, 0x98, 0x4f, 0xaa, 0xea, 0xdc, 0xdc, 3339 0x24, 0x1b, 0xdd, 0xab, 0x97, 0xaa, 0xe7, 0x94, 0x6c, 0x42, 0x25, 0xe7, 0x22, 0x1d, 0x32, 0xac, 3340 0x88, 0x8b, 0x1a, 0x33, 0xcd, 0xc4, 0xbd, 0xd8, 0x5f, 0xfd, 0x16, 0x19, 0xdb, 0x0c, 0x6d, 0xfb, 3341 0xf7, 0x9c, 0x04, 0x89, 0xb2, 0x2d, 0x2a, 0x66, 0x9a, 0x89, 0xd9, 0x1c, 0xb4, 0x64, 0x8b, 0x08, 3342 0x9c, 0xe5, 0xe8, 0x51, 0x91, 0xdf, 0x94, 0xe0, 0x9a, 0x45, 0x0c, 0xa2, 0x3a, 0x58, 0x27, 0x86, 3343 0x6d, 0xb2, 0xe2, 0x2c, 0x2a, 0x7d, 0x8e, 0x49, 0xef, 0x63, 0x2e, 0x77, 0x88, 0x41, 0x94, 0x10, 3344 0x2c, 0x22, 0x7e, 0xc9, 0xea, 0xd6, 0xe4, 0xa2, 0x55, 0x18, 0xc5, 0x8e, 0x43, 0x9c, 0xdc, 0x04, 3345 0xf3, 0x1d, 0xe4, 0xcb, 0x73, 0x9a, 0xfa, 0x5a, 0x95, 0x1d, 0x89, 0x29, 0x9c, 0x41, 0xfe, 0x96, 3346 0x04, 0xf3, 0x1d, 0x67, 0x62, 0x6e, 0x93, 0xd8, 0x2e, 0x46, 0x04, 0x50, 0xa8, 0xb9, 0xea, 0xf0, 3347 0xf0, 0x23, 0x52, 0x84, 0xd7, 0xfb, 0x74, 0xf9, 0x58, 0x18, 0x53, 0x66, 0xb5, 0x4e, 0x92, 0xfc, 3348 0x17, 0x09, 0xae, 0x76, 0x70, 0xef, 0x3b, 0xc4, 0x70, 0xb0, 0xdb, 0x23, 0xea, 0x3d, 0x0d, 0x99, 3349 0xa6, 0x60, 0x54, 0x9b, 0xd8, 0xd1, 0xbd, 0x2d, 0xcd, 0x8b, 0xb4, 0xa3, 0xca, 0x8c, 0x4f, 0xdf, 3350 0xe7, 0x64, 0xf4, 0x12, 0x40, 0x58, 0x0e, 0x89, 0xd3, 0x9c, 0xa5, 0xd8, 0xb6, 0x1c, 0x6c, 0x40, 3351 0xca, 0x44, 0x50, 0x08, 0xa1, 0x97, 0x61, 0xb2, 0xd5, 0xac, 0x6b, 0x14, 0xf3, 0xbe, 0x23, 0x3d, 3352 0xfb, 0x02, 0x67, 0xf7, 0x08, 0xf2, 0xb7, 0x3b, 0xcd, 0x1c, 0x8c, 0xcc, 0x81, 0xb9, 0x88, 0x99, 3353 0x7d, 0x7d, 0x85, 0x9d, 0xf3, 0x03, 0xdb, 0xd9, 0xc7, 0x57, 0x22, 0x93, 0xe8, 0xd3, 0xe4, 0x4f, 3354 0x47, 0x60, 0xb1, 0xeb, 0xe1, 0x4b, 0xbc, 0xe4, 0x90, 0xe2, 0x25, 0x87, 0x67, 0xf3, 0x86, 0x76, 3355 0xaa, 0x6a, 0x16, 0xc5, 0x8e, 0xad, 0x51, 0xf3, 0x84, 0xd5, 0x04, 0xcc, 0xe6, 0x0d, 0xed, 0x34, 3356 0x1f, 0x21, 0x7b, 0xac, 0x47, 0xa6, 0x47, 0xf0, 0x46, 0x77, 0xa4, 0xd9, 0x5e, 0x4d, 0x32, 0xcc, 3357 0x8e, 0x0f, 0x66, 0x38, 0x7d, 0xdf, 0x27, 0xa3, 0xaf, 0xc2, 0x8c, 0x88, 0x45, 0xe2, 0xe0, 0xd3, 3358 0x8f, 0xe7, 0xff, 0xd3, 0x6f, 0x14, 0xf2, 0x8f, 0x3e, 0xa7, 0xdd, 0xe8, 0xaf, 0x8b, 0x5e, 0x87, 3359 0x6b, 0xd8, 0xd6, 0x0e, 0x2d, 0xac, 0x6a, 0x2d, 0x4a, 0x1a, 0x1a, 0x35, 0x75, 0xb5, 0xd9, 0xb2, 3360 0x75, 0xda, 0xe2, 0xc1, 0x76, 0x94, 0x29, 0xb6, 0xc4, 0x79, 0xf2, 0x3e, 0xcb, 0x7e, 0xc8, 0x81, 3361 0x6e, 0x42, 0x5a, 0x6b, 0xd5, 0x4d, 0xc2, 0x0f, 0x83, 0xf8, 0x26, 0x30, 0xaa, 0x4c, 0x32, 0x1a, 3362 0x8b, 0x12, 0x2e, 0x7a, 0x05, 0x04, 0x80, 0xea, 0x36, 0xb1, 0xf6, 0x10, 0x3b, 0x6a, 0xdd, 0xd4, 3363 0x1c, 0xf3, 0xa3, 0x30, 0x9e, 0x8f, 0x2b, 0x39, 0xce, 0x51, 0xe5, 0x0c, 0x5b, 0x61, 0x3b, 0xda, 3364 0x80, 0xc5, 0x08, 0x7b, 0x00, 0xa1, 0x93, 0x96, 0x4d, 0xd9, 0x29, 0xd7, 0xa8, 0x72, 0x35, 0xc2, 3365 0x20, 0x10, 0x0a, 0x5e, 0x33, 0x7a, 0x1e, 0x16, 0x84, 0xe4, 0x0f, 0x89, 0x53, 0x8f, 0x1c, 0x98, 3366 0xb0, 0x48, 0x30, 0xae, 0x64, 0x79, 0xeb, 0xff, 0x13, 0xa7, 0x1e, 0x9e, 0x95, 0xc8, 0x4f, 0xc3, 3367 0x54, 0x9b, 0xd5, 0x50, 0x0e, 0xae, 0x34, 0x8f, 0x1d, 0xcd, 0xc5, 0xfe, 0xe1, 0x83, 0xff, 0x2b, 3368 0xff, 0x58, 0x82, 0xb9, 0x04, 0xd7, 0x41, 0xef, 0x43, 0xba, 0xcd, 0x17, 0xb8, 0xff, 0xde, 0xef, 3369 0x77, 0xda, 0xa2, 0xf1, 0x2c, 0x84, 0x53, 0xda, 0xb0, 0xe3, 0x0e, 0x9a, 0x4a, 0xa8, 0x89, 0x7f, 3370 0x22, 0xc1, 0xb5, 0xf3, 0x30, 0xbd, 0xcc, 0x2c, 0xdc, 0xf0, 0x84, 0x8f, 0x47, 0x28, 0x3d, 0x33, 3371 0xb7, 0x12, 0x8c, 0x7a, 0x36, 0xf6, 0x73, 0x9c, 0xbb, 0x17, 0x1f, 0xaa, 0x67, 0xfd, 0xb2, 0x7d, 3372 0x44, 0x14, 0x0e, 0x20, 0xff, 0x49, 0x82, 0x71, 0x9f, 0x86, 0x5e, 0x6c, 0x8b, 0x50, 0x3d, 0x4b, 3373 0xca, 0x48, 0x80, 0x7a, 0x1e, 0xc6, 0xfd, 0x33, 0x9a, 0xde, 0x05, 0xc7, 0x15, 0x71, 0x38, 0xe3, 3374 0x25, 0xad, 0x9e, 0x16, 0x22, 0xff, 0x64, 0xdf, 0xbd, 0xb2, 0x5f, 0x74, 0x03, 0x26, 0x7d, 0xaf, 3375 0xa4, 0x9a, 0xc1, 0xd6, 0xcc, 0xa8, 0x02, 0x82, 0x54, 0xd3, 0x0c, 0x79, 0x0d, 0x32, 0x61, 0xb9, 3376 0x74, 0x80, 0x1d, 0x8a, 0x4f, 0x51, 0x1a, 0xa4, 0x53, 0x51, 0xf2, 0x49, 0xec, 0xef, 0x4c, 0x18, 3377 0x55, 0x3a, 0x93, 0x9b, 0xb0, 0x10, 0x2f, 0xaf, 0xf6, 0x89, 0x75, 0x86, 0x0e, 0x60, 0xfc, 0x04, 3378 0x3b, 0xd4, 0xd4, 0x03, 0x9f, 0xda, 0x18, 0xa4, 0x64, 0xe3, 0x3a, 0x28, 0x01, 0x96, 0xfc, 0x47, 3379 0x09, 0x26, 0xbd, 0x04, 0xe2, 0xdf, 0x76, 0x18, 0x85, 0xde, 0x08, 0xca, 0x6e, 0xee, 0x40, 0xf7, 3380 0xfa, 0xcb, 0x7c, 0xda, 0x6b, 0xed, 0x5f, 0x49, 0x30, 0x11, 0x50, 0x91, 0x03, 0x59, 0x87, 0x6d, 3381 0x35, 0x89, 0x35, 0xef, 0xeb, 0x97, 0xa9, 0x79, 0xbd, 0x49, 0x51, 0x90, 0x40, 0x7f, 0x44, 0x15, 3382 0xaf, 0xfc, 0x21, 0x4c, 0xb7, 0x27, 0x73, 0x9e, 0x57, 0xb2, 0x7b, 0x2f, 0x51, 0x4a, 0xb1, 0xa0, 3383 0xf4, 0x66, 0xe4, 0xa0, 0x88, 0xd7, 0x32, 0xff, 0xdd, 0x9f, 0xc9, 0x62, 0xe7, 0x44, 0xf2, 0xe7, 3384 0x12, 0xcc, 0xb5, 0xe7, 0x77, 0xdc, 0x80, 0xff, 0x89, 0xe7, 0x06, 0xf2, 0x5f, 0x53, 0x90, 0xeb, 3385 0x96, 0xac, 0x3e, 0xc2, 0xe3, 0xc0, 0x5e, 0xc1, 0xe1, 0x41, 0xe0, 0xd7, 0xa9, 0x7e, 0x0b, 0x88, 3386 0x84, 0xa9, 0xf0, 0x3d, 0x1c, 0x29, 0xe1, 0x02, 0x1d, 0xbe, 0xcc, 0x02, 0x2d, 0x0d, 0x85, 0x4b, 3387 0xf4, 0x09, 0x18, 0x67, 0x9b, 0xb8, 0x7f, 0xcf, 0x39, 0xec, 0x35, 0x32, 0x4a, 0xb9, 0xbe, 0x99, 3388 0x66, 0xfb, 0x83, 0xd7, 0x68, 0x1f, 0x11, 0xf9, 0x93, 0x14, 0x2c, 0x76, 0xcd, 0xc5, 0x1f, 0xa1, 3389 0x75, 0xb7, 0x61, 0x4c, 0xe4, 0x15, 0xdc, 0x7a, 0xeb, 0x7d, 0xb8, 0xb8, 0xd7, 0x4f, 0x11, 0xdd, 3390 0x2f, 0x77, 0xac, 0x9a, 0x7c, 0x29, 0x2b, 0xff, 0x46, 0x82, 0xe5, 0x2a, 0x75, 0xb0, 0xd6, 0x08, 3391 0x9d, 0xab, 0xfd, 0x26, 0x5d, 0x87, 0x74, 0xe4, 0xaa, 0xc6, 0x10, 0xe6, 0xe8, 0xe3, 0x44, 0x31, 3392 0x80, 0x3f, 0x08, 0xee, 0x73, 0x8c, 0xd2, 0x90, 0x32, 0x19, 0x5e, 0xef, 0x18, 0xe8, 0xa9, 0xce, 3393 0x1b, 0x79, 0x6f, 0x99, 0xa4, 0x4b, 0x43, 0xed, 0x77, 0xf2, 0x9b, 0x73, 0x30, 0xeb, 0xfa, 0x68, 3394 0xaa, 0xc3, 0x15, 0x94, 0xff, 0x29, 0xc1, 0xf5, 0x6e, 0x43, 0x10, 0x85, 0x4f, 0x50, 0x3c, 0x49, 3395 0x3d, 0x8a, 0x27, 0x74, 0x9a, 0x58, 0x22, 0xf1, 0x45, 0x5b, 0x1e, 0x74, 0xcc, 0x17, 0xa9, 0x95, 3396 0xbc, 0x3c, 0x2f, 0x2e, 0x99, 0x15, 0x47, 0x7c, 0x1f, 0xcf, 0xc6, 0xba, 0x3c, 0x70, 0x4c, 0x79, 3397 0x0b, 0x6e, 0x85, 0x63, 0xf7, 0x72, 0x5b, 0xab, 0x60, 0x69, 0xae, 0x6b, 0x1e, 0x99, 0xfc, 0x72, 3398 0x5f, 0xd8, 0x77, 0x19, 0x80, 0xdd, 0x26, 0xa9, 0x91, 0xd3, 0xac, 0x09, 0x46, 0xd9, 0xd3, 0x1a, 3399 0x38, 0x01, 0x25, 0xf1, 0xb2, 0xac, 0x07, 0xca, 0xd3, 0xf0, 0x5f, 0x01, 0xca, 0xf9, 0xd7, 0x67, 3400 0xf2, 0x4e, 0xc4, 0xeb, 0x12, 0x6f, 0x44, 0x13, 0x6f, 0x28, 0xa5, 0xe4, 0x1b, 0x4a, 0xf9, 0x46, 3401 0x04, 0x2d, 0x49, 0x71, 0xf9, 0x49, 0x90, 0x03, 0x86, 0xae, 0x37, 0x87, 0xf2, 0x2f, 0x24, 0x58, 3402 0x08, 0xd9, 0x28, 0x71, 0x58, 0xe2, 0xc9, 0xd4, 0xd9, 0x86, 0x15, 0x3f, 0xfd, 0xe7, 0x74, 0x35, 3403 0x36, 0x57, 0x42, 0xbb, 0x65, 0x51, 0x04, 0x70, 0xb6, 0xce, 0x99, 0x47, 0xbb, 0x70, 0x2b, 0xd6, 3404 0x33, 0xc0, 0xac, 0x9b, 0x0e, 0xd6, 0x29, 0x71, 0xce, 0xc4, 0x94, 0xaf, 0x74, 0x4e, 0xb9, 0x40, 3405 0xdd, 0xf2, 0xf9, 0xe4, 0x2f, 0x86, 0xe1, 0x46, 0x0f, 0x5f, 0x4b, 0x3c, 0xe6, 0x92, 0x1e, 0xed, 3406 0x31, 0xd7, 0x11, 0xcc, 0x3e, 0x86, 0xc3, 0xc9, 0x8c, 0xd5, 0x79, 0x62, 0xd7, 0xe5, 0x38, 0x6d, 3407 0xf8, 0xf1, 0x1e, 0xa7, 0x25, 0x9f, 0x3a, 0x8d, 0x3c, 0xc6, 0x53, 0x27, 0xf9, 0xf7, 0xe3, 0x90, 3408 0x4d, 0x8a, 0x9b, 0xa8, 0x06, 0x57, 0xc4, 0x93, 0x22, 0xf1, 0x38, 0x60, 0x63, 0x80, 0xa0, 0xe4, 3409 0xbf, 0x4e, 0xf2, 0xa1, 0xd0, 0x77, 0x7a, 0x3d, 0x92, 0xe1, 0x01, 0x70, 0x67, 0x00, 0x59, 0x5d, 3410 0x97, 0x5b, 0x69, 0xe8, 0xbc, 0xf7, 0x32, 0x1f, 0x77, 0x7d, 0x2c, 0xc4, 0x27, 0x7b, 0x7b, 0x00, 3411 0x55, 0x92, 0x02, 0x4d, 0x69, 0xa8, 0xcb, 0xbb, 0xa1, 0x1f, 0xf6, 0xf1, 0x60, 0xe7, 0xcd, 0x01, 3412 0x94, 0x39, 0x3f, 0x40, 0x96, 0x86, 0x7a, 0xbe, 0xdd, 0xf9, 0xb8, 0xeb, 0x13, 0x96, 0xd1, 0x81, 3413 0x2d, 0x94, 0x14, 0x3c, 0x3d, 0x0b, 0x25, 0xbd, 0x66, 0x41, 0xdf, 0x95, 0xe0, 0x1a, 0x3b, 0x71, 3414 0xb1, 0x54, 0xbd, 0x6d, 0xcf, 0xf1, 0xf5, 0x98, 0x67, 0x7a, 0xec, 0x0e, 0xa0, 0x47, 0xf7, 0x9d, 3415 0xac, 0x34, 0xa4, 0x2c, 0x69, 0xdd, 0xf7, 0xb9, 0xef, 0x49, 0xb0, 0x2c, 0x74, 0xea, 0x62, 0x9c, 3416 0x85, 0x4b, 0x2a, 0xd5, 0xc5, 0x44, 0x42, 0xa9, 0xc4, 0x6d, 0xd3, 0x80, 0x69, 0x3f, 0xc2, 0x0b, 3417 0x25, 0xae, 0xf7, 0x5b, 0xb5, 0x25, 0x6f, 0x4b, 0xca, 0x94, 0x1b, 0xfd, 0xdd, 0x44, 0x90, 0x09, 3418 0xd3, 0x23, 0x2e, 0xea, 0xf6, 0x1f, 0x24, 0xb8, 0x22, 0xd6, 0x3b, 0xba, 0x0a, 0x73, 0xf7, 0x8b, 3419 0xf9, 0xda, 0x03, 0xa5, 0xa8, 0x3e, 0xd8, 0xab, 0xee, 0x17, 0x0b, 0xe5, 0xfb, 0xe5, 0xe2, 0x56, 3420 0x66, 0x08, 0xcd, 0xc1, 0xcc, 0x4e, 0x7e, 0xb3, 0xb8, 0xa3, 0x6e, 0x15, 0x6b, 0xc5, 0x42, 0xad, 3421 0x5c, 0xd9, 0xcb, 0x48, 0x68, 0x11, 0xe6, 0xab, 0xa5, 0x4a, 0x4d, 0x2d, 0x94, 0xf2, 0x7b, 0xdb, 3422 0xc5, 0x48, 0x53, 0x0a, 0x5d, 0x87, 0xa5, 0xe2, 0x5b, 0xfb, 0x3b, 0xe5, 0x42, 0xb9, 0xa6, 0x16, 3423 0x2a, 0x7b, 0xb5, 0xe2, 0x5e, 0x2d, 0xd2, 0x3e, 0x8c, 0x72, 0x90, 0xad, 0xee, 0x17, 0x8b, 0x85, 3424 0x92, 0x5a, 0x53, 0xf2, 0x7b, 0xd5, 0x82, 0x52, 0xde, 0x67, 0x2d, 0x63, 0x08, 0xc1, 0x74, 0xad, 3425 0xf8, 0x56, 0x94, 0xfb, 0x8a, 0x27, 0xbd, 0xb2, 0xf9, 0x7f, 0xc5, 0x42, 0xcd, 0xe3, 0x2e, 0xbc, 3426 0x51, 0xde, 0xdb, 0xce, 0x4c, 0xa0, 0x2c, 0x64, 0x76, 0x2a, 0xdb, 0x15, 0x55, 0x29, 0x16, 0x2a, 3427 0xdb, 0x7b, 0x65, 0xc6, 0x9a, 0xbe, 0xed, 0x00, 0x8a, 0x3f, 0x71, 0x42, 0x4f, 0xc2, 0x4a, 0x87, 3428 0xfa, 0xea, 0x6e, 0x65, 0xab, 0x73, 0x90, 0x53, 0x30, 0xc1, 0xc6, 0xe3, 0x35, 0x65, 0x24, 0x34, 3429 0x0d, 0x70, 0x5f, 0xc9, 0xef, 0x16, 0xf9, 0x7f, 0xca, 0x33, 0x0e, 0x6b, 0xce, 0xef, 0x6d, 0xa9, 3430 0x91, 0x86, 0xe1, 0xdb, 0x14, 0x20, 0xbc, 0x77, 0x47, 0x4b, 0xb0, 0xb0, 0x53, 0x7e, 0xa3, 0xb8, 3431 0x53, 0x2e, 0x55, 0x2a, 0x5b, 0x1d, 0x12, 0x66, 0x61, 0xea, 0xa0, 0xa8, 0xbc, 0xad, 0x3e, 0xd8, 3432 0x63, 0x2c, 0x6f, 0x67, 0x24, 0x94, 0x86, 0xf1, 0xe0, 0x2f, 0xe5, 0xfd, 0xed, 0x57, 0xaa, 0xd5, 3433 0xf2, 0xe6, 0x4e, 0x31, 0x33, 0x8c, 0x00, 0xc6, 0x44, 0xcb, 0x08, 0x9a, 0x81, 0x49, 0xd6, 0x55, 3434 0x10, 0x46, 0x6f, 0x7f, 0x9a, 0x82, 0x4c, 0x67, 0xc0, 0x46, 0x37, 0x61, 0xb9, 0x5a, 0x53, 0x8a, 3435 0xf9, 0xdd, 0xf2, 0xde, 0xb6, 0x9a, 0x3c, 0x95, 0xcb, 0xb0, 0x18, 0xb2, 0xc4, 0x27, 0xf5, 0x16, 3436 0xdc, 0x08, 0x9b, 0xbb, 0x4d, 0xef, 0x2a, 0x3c, 0x19, 0x32, 0x9d, 0x3b, 0xd1, 0x6d, 0xd2, 0x3a, 3437 0x27, 0x71, 0xa4, 0x5d, 0x5a, 0xfe, 0x41, 0xad, 0xb2, 0xbb, 0xa3, 0x16, 0x76, 0xf2, 0xd5, 0x6a, 3438 0xf9, 0x7e, 0xb9, 0x90, 0x67, 0x18, 0xf3, 0xde, 0xec, 0xc5, 0x98, 0x3a, 0xa1, 0x16, 0xee, 0xfe, 3439 0x52, 0x82, 0x1c, 0xdb, 0x08, 0xcb, 0x91, 0x15, 0x52, 0xc5, 0xce, 0x89, 0xa9, 0x63, 0xf4, 0x7d, 3440 0x09, 0xa6, 0xda, 0x32, 0x7f, 0xd4, 0x47, 0x7d, 0x92, 0x54, 0xf5, 0x2c, 0x2d, 0xfb, 0xfd, 0x23, 3441 0x0f, 0x9b, 0xd7, 0x2a, 0xfe, 0xc3, 0x66, 0xf9, 0xa9, 0x4f, 0xfe, 0xfc, 0xe5, 0x67, 0xa9, 0x1b, 3442 0xf2, 0x52, 0xe7, 0x5b, 0x6b, 0x77, 0x43, 0xe4, 0x08, 0x78, 0x43, 0xba, 0x7d, 0xf7, 0x0b, 0x09, 3443 0x6e, 0xb6, 0x6f, 0xe3, 0x49, 0xda, 0xff, 0x3c, 0x9a, 0x77, 0xb6, 0x0f, 0x63, 0x90, 0x20, 0x9e, 3444 0x38, 0x9e, 0xd2, 0xe5, 0x81, 0x78, 0x2d, 0xb5, 0x2a, 0x3d, 0x27, 0x6d, 0xfe, 0x2c, 0x05, 0xcf, 3445 0xea, 0xa4, 0x71, 0x61, 0xcc, 0xcd, 0xe5, 0x6e, 0x83, 0xdf, 0x77, 0x08, 0x25, 0xfb, 0xd2, 0x57, 3446 0xde, 0x16, 0x50, 0x06, 0xb1, 0x34, 0xdb, 0x58, 0x23, 0x8e, 0xb1, 0x6e, 0x60, 0x9b, 0x9d, 0x8e, 3447 0xac, 0xf3, 0x26, 0xad, 0x69, 0xba, 0xbd, 0x5f, 0xbc, 0xbf, 0x1c, 0x6b, 0xfb, 0x69, 0x6a, 0x75, 3448 0x9b, 0x63, 0x17, 0x98, 0x9a, 0x31, 0x4d, 0xd6, 0x0e, 0xee, 0xec, 0xdf, 0xdb, 0xf4, 0x3a, 0x7f, 3449 0xee, 0xb3, 0xbe, 0xcb, 0x58, 0xdf, 0x8d, 0xb1, 0xbe, 0x7b, 0xe0, 0xcb, 0xf9, 0x47, 0xea, 0x19, 3450 0xce, 0xba, 0xb1, 0xc1, 0x78, 0x37, 0x36, 0x62, 0xcc, 0x1b, 0x1b, 0x01, 0xf7, 0xe1, 0x18, 0x1b, 3451 0xc9, 0xbd, 0x7f, 0x05, 0x00, 0x00, 0xff, 0xff, 0x1c, 0x37, 0xf9, 0x5d, 0xba, 0x2f, 0x00, 0x00, 3452} 3453 3454// Reference imports to suppress errors if they are not otherwise used. 3455var _ context.Context 3456var _ grpc.ClientConn 3457 3458// This is a compile-time assertion to ensure that this generated file 3459// is compatible with the grpc package it is being compiled against. 3460const _ = grpc.SupportPackageIsVersion4 3461 3462// VideoIntelligenceServiceClient is the client API for VideoIntelligenceService service. 3463// 3464// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 3465type VideoIntelligenceServiceClient interface { 3466 // Performs asynchronous video annotation. Progress and results can be 3467 // retrieved through the `google.longrunning.Operations` interface. 3468 // `Operation.metadata` contains `AnnotateVideoProgress` (progress). 3469 // `Operation.response` contains `AnnotateVideoResponse` (results). 3470 AnnotateVideo(ctx context.Context, in *AnnotateVideoRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 3471} 3472 3473type videoIntelligenceServiceClient struct { 3474 cc *grpc.ClientConn 3475} 3476 3477func NewVideoIntelligenceServiceClient(cc *grpc.ClientConn) VideoIntelligenceServiceClient { 3478 return &videoIntelligenceServiceClient{cc} 3479} 3480 3481func (c *videoIntelligenceServiceClient) AnnotateVideo(ctx context.Context, in *AnnotateVideoRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 3482 out := new(longrunning.Operation) 3483 err := c.cc.Invoke(ctx, "/google.cloud.videointelligence.v1p3beta1.VideoIntelligenceService/AnnotateVideo", in, out, opts...) 3484 if err != nil { 3485 return nil, err 3486 } 3487 return out, nil 3488} 3489 3490// VideoIntelligenceServiceServer is the server API for VideoIntelligenceService service. 3491type VideoIntelligenceServiceServer interface { 3492 // Performs asynchronous video annotation. Progress and results can be 3493 // retrieved through the `google.longrunning.Operations` interface. 3494 // `Operation.metadata` contains `AnnotateVideoProgress` (progress). 3495 // `Operation.response` contains `AnnotateVideoResponse` (results). 3496 AnnotateVideo(context.Context, *AnnotateVideoRequest) (*longrunning.Operation, error) 3497} 3498 3499func RegisterVideoIntelligenceServiceServer(s *grpc.Server, srv VideoIntelligenceServiceServer) { 3500 s.RegisterService(&_VideoIntelligenceService_serviceDesc, srv) 3501} 3502 3503func _VideoIntelligenceService_AnnotateVideo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3504 in := new(AnnotateVideoRequest) 3505 if err := dec(in); err != nil { 3506 return nil, err 3507 } 3508 if interceptor == nil { 3509 return srv.(VideoIntelligenceServiceServer).AnnotateVideo(ctx, in) 3510 } 3511 info := &grpc.UnaryServerInfo{ 3512 Server: srv, 3513 FullMethod: "/google.cloud.videointelligence.v1p3beta1.VideoIntelligenceService/AnnotateVideo", 3514 } 3515 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3516 return srv.(VideoIntelligenceServiceServer).AnnotateVideo(ctx, req.(*AnnotateVideoRequest)) 3517 } 3518 return interceptor(ctx, in, info, handler) 3519} 3520 3521var _VideoIntelligenceService_serviceDesc = grpc.ServiceDesc{ 3522 ServiceName: "google.cloud.videointelligence.v1p3beta1.VideoIntelligenceService", 3523 HandlerType: (*VideoIntelligenceServiceServer)(nil), 3524 Methods: []grpc.MethodDesc{ 3525 { 3526 MethodName: "AnnotateVideo", 3527 Handler: _VideoIntelligenceService_AnnotateVideo_Handler, 3528 }, 3529 }, 3530 Streams: []grpc.StreamDesc{}, 3531 Metadata: "google/cloud/videointelligence/v1p3beta1/video_intelligence.proto", 3532} 3533 3534// StreamingVideoIntelligenceServiceClient is the client API for StreamingVideoIntelligenceService service. 3535// 3536// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 3537type StreamingVideoIntelligenceServiceClient interface { 3538 // Performs video annotation with bidirectional streaming: emitting results 3539 // while sending video/audio bytes. 3540 // This method is only available via the gRPC API (not REST). 3541 StreamingAnnotateVideo(ctx context.Context, opts ...grpc.CallOption) (StreamingVideoIntelligenceService_StreamingAnnotateVideoClient, error) 3542} 3543 3544type streamingVideoIntelligenceServiceClient struct { 3545 cc *grpc.ClientConn 3546} 3547 3548func NewStreamingVideoIntelligenceServiceClient(cc *grpc.ClientConn) StreamingVideoIntelligenceServiceClient { 3549 return &streamingVideoIntelligenceServiceClient{cc} 3550} 3551 3552func (c *streamingVideoIntelligenceServiceClient) StreamingAnnotateVideo(ctx context.Context, opts ...grpc.CallOption) (StreamingVideoIntelligenceService_StreamingAnnotateVideoClient, error) { 3553 stream, err := c.cc.NewStream(ctx, &_StreamingVideoIntelligenceService_serviceDesc.Streams[0], "/google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceService/StreamingAnnotateVideo", opts...) 3554 if err != nil { 3555 return nil, err 3556 } 3557 x := &streamingVideoIntelligenceServiceStreamingAnnotateVideoClient{stream} 3558 return x, nil 3559} 3560 3561type StreamingVideoIntelligenceService_StreamingAnnotateVideoClient interface { 3562 Send(*StreamingAnnotateVideoRequest) error 3563 Recv() (*StreamingAnnotateVideoResponse, error) 3564 grpc.ClientStream 3565} 3566 3567type streamingVideoIntelligenceServiceStreamingAnnotateVideoClient struct { 3568 grpc.ClientStream 3569} 3570 3571func (x *streamingVideoIntelligenceServiceStreamingAnnotateVideoClient) Send(m *StreamingAnnotateVideoRequest) error { 3572 return x.ClientStream.SendMsg(m) 3573} 3574 3575func (x *streamingVideoIntelligenceServiceStreamingAnnotateVideoClient) Recv() (*StreamingAnnotateVideoResponse, error) { 3576 m := new(StreamingAnnotateVideoResponse) 3577 if err := x.ClientStream.RecvMsg(m); err != nil { 3578 return nil, err 3579 } 3580 return m, nil 3581} 3582 3583// StreamingVideoIntelligenceServiceServer is the server API for StreamingVideoIntelligenceService service. 3584type StreamingVideoIntelligenceServiceServer interface { 3585 // Performs video annotation with bidirectional streaming: emitting results 3586 // while sending video/audio bytes. 3587 // This method is only available via the gRPC API (not REST). 3588 StreamingAnnotateVideo(StreamingVideoIntelligenceService_StreamingAnnotateVideoServer) error 3589} 3590 3591func RegisterStreamingVideoIntelligenceServiceServer(s *grpc.Server, srv StreamingVideoIntelligenceServiceServer) { 3592 s.RegisterService(&_StreamingVideoIntelligenceService_serviceDesc, srv) 3593} 3594 3595func _StreamingVideoIntelligenceService_StreamingAnnotateVideo_Handler(srv interface{}, stream grpc.ServerStream) error { 3596 return srv.(StreamingVideoIntelligenceServiceServer).StreamingAnnotateVideo(&streamingVideoIntelligenceServiceStreamingAnnotateVideoServer{stream}) 3597} 3598 3599type StreamingVideoIntelligenceService_StreamingAnnotateVideoServer interface { 3600 Send(*StreamingAnnotateVideoResponse) error 3601 Recv() (*StreamingAnnotateVideoRequest, error) 3602 grpc.ServerStream 3603} 3604 3605type streamingVideoIntelligenceServiceStreamingAnnotateVideoServer struct { 3606 grpc.ServerStream 3607} 3608 3609func (x *streamingVideoIntelligenceServiceStreamingAnnotateVideoServer) Send(m *StreamingAnnotateVideoResponse) error { 3610 return x.ServerStream.SendMsg(m) 3611} 3612 3613func (x *streamingVideoIntelligenceServiceStreamingAnnotateVideoServer) Recv() (*StreamingAnnotateVideoRequest, error) { 3614 m := new(StreamingAnnotateVideoRequest) 3615 if err := x.ServerStream.RecvMsg(m); err != nil { 3616 return nil, err 3617 } 3618 return m, nil 3619} 3620 3621var _StreamingVideoIntelligenceService_serviceDesc = grpc.ServiceDesc{ 3622 ServiceName: "google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceService", 3623 HandlerType: (*StreamingVideoIntelligenceServiceServer)(nil), 3624 Methods: []grpc.MethodDesc{}, 3625 Streams: []grpc.StreamDesc{ 3626 { 3627 StreamName: "StreamingAnnotateVideo", 3628 Handler: _StreamingVideoIntelligenceService_StreamingAnnotateVideo_Handler, 3629 ServerStreams: true, 3630 ClientStreams: true, 3631 }, 3632 }, 3633 Metadata: "google/cloud/videointelligence/v1p3beta1/video_intelligence.proto", 3634} 3635