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