-
Notifications
You must be signed in to change notification settings - Fork 3
/
vod_workflow.pb.go
3598 lines (3192 loc) · 138 KB
/
vod_workflow.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc v3.19.4
// source: byteplus/vod/business/vod_workflow.proto
package business
import (
reflect "reflect"
sync "sync"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type StageStatus int32
const (
StageStatus_Unknown StageStatus = 0 // 未知
StageStatus_Scheduled StageStatus = 1 // 等待调度
StageStatus_Running StageStatus = 2 // 执行中
StageStatus_Canceled StageStatus = 3 // 取消
StageStatus_TimedOut StageStatus = 4 // 超时
StageStatus_Skipped StageStatus = 5 // 跳过
StageStatus_Completed StageStatus = 6 // 完成
StageStatus_Failed StageStatus = 7 // 失败
)
// Enum value maps for StageStatus.
var (
StageStatus_name = map[int32]string{
0: "Unknown",
1: "Scheduled",
2: "Running",
3: "Canceled",
4: "TimedOut",
5: "Skipped",
6: "Completed",
7: "Failed",
}
StageStatus_value = map[string]int32{
"Unknown": 0,
"Scheduled": 1,
"Running": 2,
"Canceled": 3,
"TimedOut": 4,
"Skipped": 5,
"Completed": 6,
"Failed": 7,
}
)
func (x StageStatus) Enum() *StageStatus {
p := new(StageStatus)
*p = x
return p
}
func (x StageStatus) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (StageStatus) Descriptor() protoreflect.EnumDescriptor {
return file_byteplus_vod_business_vod_workflow_proto_enumTypes[0].Descriptor()
}
func (StageStatus) Type() protoreflect.EnumType {
return &file_byteplus_vod_business_vod_workflow_proto_enumTypes[0]
}
func (x StageStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use StageStatus.Descriptor instead.
func (StageStatus) EnumDescriptor() ([]byte, []int) {
return file_byteplus_vod_business_vod_workflow_proto_rawDescGZIP(), []int{0}
}
type VodStartWorkflowResult struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RunId string `protobuf:"bytes,1,opt,name=RunId,proto3" json:"RunId,omitempty"` // 工作流执行Id
}
func (x *VodStartWorkflowResult) Reset() {
*x = VodStartWorkflowResult{}
if protoimpl.UnsafeEnabled {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *VodStartWorkflowResult) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*VodStartWorkflowResult) ProtoMessage() {}
func (x *VodStartWorkflowResult) ProtoReflect() protoreflect.Message {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use VodStartWorkflowResult.ProtoReflect.Descriptor instead.
func (*VodStartWorkflowResult) Descriptor() ([]byte, []int) {
return file_byteplus_vod_business_vod_workflow_proto_rawDescGZIP(), []int{0}
}
func (x *VodStartWorkflowResult) GetRunId() string {
if x != nil {
return x.RunId
}
return ""
}
type DirectUrl struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FileName string `protobuf:"bytes,1,opt,name=FileName,proto3" json:"FileName,omitempty"` // 文件名
BucketName string `protobuf:"bytes,2,opt,name=BucketName,proto3" json:"BucketName,omitempty"` // Bucket名称
}
func (x *DirectUrl) Reset() {
*x = DirectUrl{}
if protoimpl.UnsafeEnabled {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DirectUrl) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DirectUrl) ProtoMessage() {}
func (x *DirectUrl) ProtoReflect() protoreflect.Message {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DirectUrl.ProtoReflect.Descriptor instead.
func (*DirectUrl) Descriptor() ([]byte, []int) {
return file_byteplus_vod_business_vod_workflow_proto_rawDescGZIP(), []int{1}
}
func (x *DirectUrl) GetFileName() string {
if x != nil {
return x.FileName
}
return ""
}
func (x *DirectUrl) GetBucketName() string {
if x != nil {
return x.BucketName
}
return ""
}
type WorkflowParams struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
OverrideParams *OverrideParams `protobuf:"bytes,1,opt,name=OverrideParams,proto3" json:"OverrideParams,omitempty"` // 覆盖参数
Condition map[string]bool `protobuf:"bytes,2,rep,name=Condition,proto3" json:"Condition,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 条件变量
}
func (x *WorkflowParams) Reset() {
*x = WorkflowParams{}
if protoimpl.UnsafeEnabled {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *WorkflowParams) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WorkflowParams) ProtoMessage() {}
func (x *WorkflowParams) ProtoReflect() protoreflect.Message {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use WorkflowParams.ProtoReflect.Descriptor instead.
func (*WorkflowParams) Descriptor() ([]byte, []int) {
return file_byteplus_vod_business_vod_workflow_proto_rawDescGZIP(), []int{2}
}
func (x *WorkflowParams) GetOverrideParams() *OverrideParams {
if x != nil {
return x.OverrideParams
}
return nil
}
func (x *WorkflowParams) GetCondition() map[string]bool {
if x != nil {
return x.Condition
}
return nil
}
type OverrideParams struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Logo []*LogoOverride `protobuf:"bytes,1,rep,name=Logo,proto3" json:"Logo,omitempty"` // 水印覆盖参数
TranscodeVideo []*TranscodeVideoOverride `protobuf:"bytes,2,rep,name=TranscodeVideo,proto3" json:"TranscodeVideo,omitempty"` // 视频转码覆盖参数
TranscodeAudio []*TranscodeAudioOverride `protobuf:"bytes,3,rep,name=TranscodeAudio,proto3" json:"TranscodeAudio,omitempty"` // 音频转码覆盖参数
Snapshot []*SnapshotOverride `protobuf:"bytes,4,rep,name=Snapshot,proto3" json:"Snapshot,omitempty"` // 截图覆盖参数
Enhance *EnhanceOverride `protobuf:"bytes,5,opt,name=Enhance,proto3" json:"Enhance,omitempty"` // 增强覆盖参数
}
func (x *OverrideParams) Reset() {
*x = OverrideParams{}
if protoimpl.UnsafeEnabled {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OverrideParams) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OverrideParams) ProtoMessage() {}
func (x *OverrideParams) ProtoReflect() protoreflect.Message {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use OverrideParams.ProtoReflect.Descriptor instead.
func (*OverrideParams) Descriptor() ([]byte, []int) {
return file_byteplus_vod_business_vod_workflow_proto_rawDescGZIP(), []int{3}
}
func (x *OverrideParams) GetLogo() []*LogoOverride {
if x != nil {
return x.Logo
}
return nil
}
func (x *OverrideParams) GetTranscodeVideo() []*TranscodeVideoOverride {
if x != nil {
return x.TranscodeVideo
}
return nil
}
func (x *OverrideParams) GetTranscodeAudio() []*TranscodeAudioOverride {
if x != nil {
return x.TranscodeAudio
}
return nil
}
func (x *OverrideParams) GetSnapshot() []*SnapshotOverride {
if x != nil {
return x.Snapshot
}
return nil
}
func (x *OverrideParams) GetEnhance() *EnhanceOverride {
if x != nil {
return x.Enhance
}
return nil
}
type LogoOverride struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TemplateId string `protobuf:"bytes,1,opt,name=TemplateId,proto3" json:"TemplateId,omitempty"` // 被覆盖的水印模板Id, 支持ALL
Vars map[string]string `protobuf:"bytes,2,rep,name=Vars,proto3" json:"Vars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // 自定义水印变量
}
func (x *LogoOverride) Reset() {
*x = LogoOverride{}
if protoimpl.UnsafeEnabled {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *LogoOverride) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LogoOverride) ProtoMessage() {}
func (x *LogoOverride) ProtoReflect() protoreflect.Message {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use LogoOverride.ProtoReflect.Descriptor instead.
func (*LogoOverride) Descriptor() ([]byte, []int) {
return file_byteplus_vod_business_vod_workflow_proto_rawDescGZIP(), []int{4}
}
func (x *LogoOverride) GetTemplateId() string {
if x != nil {
return x.TemplateId
}
return ""
}
func (x *LogoOverride) GetVars() map[string]string {
if x != nil {
return x.Vars
}
return nil
}
type TranscodeVideoOverride struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TemplateId []string `protobuf:"bytes,1,rep,name=TemplateId,proto3" json:"TemplateId,omitempty"` // 被覆盖的视频模板Id, 支持ALL
Clip *Clip `protobuf:"bytes,2,opt,name=Clip,proto3" json:"Clip,omitempty"` // 裁剪参数
OutputIndex []int32 `protobuf:"varint,3,rep,packed,name=OutputIndex,proto3" json:"OutputIndex,omitempty"` // 模板组下标,仅对模板组生效
FileName string `protobuf:"bytes,4,opt,name=FileName,proto3" json:"FileName,omitempty"` // 文件名
}
func (x *TranscodeVideoOverride) Reset() {
*x = TranscodeVideoOverride{}
if protoimpl.UnsafeEnabled {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TranscodeVideoOverride) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TranscodeVideoOverride) ProtoMessage() {}
func (x *TranscodeVideoOverride) ProtoReflect() protoreflect.Message {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TranscodeVideoOverride.ProtoReflect.Descriptor instead.
func (*TranscodeVideoOverride) Descriptor() ([]byte, []int) {
return file_byteplus_vod_business_vod_workflow_proto_rawDescGZIP(), []int{5}
}
func (x *TranscodeVideoOverride) GetTemplateId() []string {
if x != nil {
return x.TemplateId
}
return nil
}
func (x *TranscodeVideoOverride) GetClip() *Clip {
if x != nil {
return x.Clip
}
return nil
}
func (x *TranscodeVideoOverride) GetOutputIndex() []int32 {
if x != nil {
return x.OutputIndex
}
return nil
}
func (x *TranscodeVideoOverride) GetFileName() string {
if x != nil {
return x.FileName
}
return ""
}
type Clip struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
StartTime int32 `protobuf:"varint,1,opt,name=StartTime,proto3" json:"StartTime,omitempty"` // 开始时间 ms
EndTime int32 `protobuf:"varint,2,opt,name=EndTime,proto3" json:"EndTime,omitempty"` // 结束时间 ms
}
func (x *Clip) Reset() {
*x = Clip{}
if protoimpl.UnsafeEnabled {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Clip) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Clip) ProtoMessage() {}
func (x *Clip) ProtoReflect() protoreflect.Message {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Clip.ProtoReflect.Descriptor instead.
func (*Clip) Descriptor() ([]byte, []int) {
return file_byteplus_vod_business_vod_workflow_proto_rawDescGZIP(), []int{6}
}
func (x *Clip) GetStartTime() int32 {
if x != nil {
return x.StartTime
}
return 0
}
func (x *Clip) GetEndTime() int32 {
if x != nil {
return x.EndTime
}
return 0
}
type TranscodeAudioOverride struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TemplateId []string `protobuf:"bytes,1,rep,name=TemplateId,proto3" json:"TemplateId,omitempty"` // 被覆盖的音频模板Id, 支持ALL
Clip *Clip `protobuf:"bytes,2,opt,name=Clip,proto3" json:"Clip,omitempty"`
FileName string `protobuf:"bytes,3,opt,name=FileName,proto3" json:"FileName,omitempty"` // 文件名
}
func (x *TranscodeAudioOverride) Reset() {
*x = TranscodeAudioOverride{}
if protoimpl.UnsafeEnabled {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TranscodeAudioOverride) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TranscodeAudioOverride) ProtoMessage() {}
func (x *TranscodeAudioOverride) ProtoReflect() protoreflect.Message {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TranscodeAudioOverride.ProtoReflect.Descriptor instead.
func (*TranscodeAudioOverride) Descriptor() ([]byte, []int) {
return file_byteplus_vod_business_vod_workflow_proto_rawDescGZIP(), []int{7}
}
func (x *TranscodeAudioOverride) GetTemplateId() []string {
if x != nil {
return x.TemplateId
}
return nil
}
func (x *TranscodeAudioOverride) GetClip() *Clip {
if x != nil {
return x.Clip
}
return nil
}
func (x *TranscodeAudioOverride) GetFileName() string {
if x != nil {
return x.FileName
}
return ""
}
type SnapshotOverride struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TemplateId []string `protobuf:"bytes,1,rep,name=TemplateId,proto3" json:"TemplateId,omitempty"` // 被覆盖的截图模板Id, 支持ALL
OffsetTime int32 `protobuf:"varint,2,opt,name=OffsetTime,proto3" json:"OffsetTime,omitempty"` // 截图时间, 单位ms, AIDynpost和Sprite类型不支持
OffsetTimeList []int32 `protobuf:"varint,3,rep,packed,name=OffsetTimeList,proto3" json:"OffsetTimeList,omitempty"` // 多Dynpost类型截取时间,单位ms
FileName string `protobuf:"bytes,4,opt,name=FileName,proto3" json:"FileName,omitempty"` // 文件名
}
func (x *SnapshotOverride) Reset() {
*x = SnapshotOverride{}
if protoimpl.UnsafeEnabled {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SnapshotOverride) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SnapshotOverride) ProtoMessage() {}
func (x *SnapshotOverride) ProtoReflect() protoreflect.Message {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SnapshotOverride.ProtoReflect.Descriptor instead.
func (*SnapshotOverride) Descriptor() ([]byte, []int) {
return file_byteplus_vod_business_vod_workflow_proto_rawDescGZIP(), []int{8}
}
func (x *SnapshotOverride) GetTemplateId() []string {
if x != nil {
return x.TemplateId
}
return nil
}
func (x *SnapshotOverride) GetOffsetTime() int32 {
if x != nil {
return x.OffsetTime
}
return 0
}
func (x *SnapshotOverride) GetOffsetTimeList() []int32 {
if x != nil {
return x.OffsetTimeList
}
return nil
}
func (x *SnapshotOverride) GetFileName() string {
if x != nil {
return x.FileName
}
return ""
}
type EnhanceOverride struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
StorageMode string `protobuf:"bytes,1,opt,name=StorageMode,proto3" json:"StorageMode,omitempty"` // 增强存储模式
FileName string `protobuf:"bytes,2,opt,name=FileName,proto3" json:"FileName,omitempty"` // 文件名
}
func (x *EnhanceOverride) Reset() {
*x = EnhanceOverride{}
if protoimpl.UnsafeEnabled {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EnhanceOverride) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EnhanceOverride) ProtoMessage() {}
func (x *EnhanceOverride) ProtoReflect() protoreflect.Message {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EnhanceOverride.ProtoReflect.Descriptor instead.
func (*EnhanceOverride) Descriptor() ([]byte, []int) {
return file_byteplus_vod_business_vod_workflow_proto_rawDescGZIP(), []int{9}
}
func (x *EnhanceOverride) GetStorageMode() string {
if x != nil {
return x.StorageMode
}
return ""
}
func (x *EnhanceOverride) GetFileName() string {
if x != nil {
return x.FileName
}
return ""
}
type TranscodeResult struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Vid string `protobuf:"bytes,1,opt,name=Vid,proto3" json:"Vid,omitempty"` //视频id,为请求值
Inspection *Inspection `protobuf:"bytes,2,opt,name=Inspection,proto3" json:"Inspection,omitempty"` // 片源检测结果
CategoryTags []*CategoryTagInfo `protobuf:"bytes,3,rep,name=CategoryTags,proto3" json:"CategoryTags,omitempty"` // 视频分类结果
}
func (x *TranscodeResult) Reset() {
*x = TranscodeResult{}
if protoimpl.UnsafeEnabled {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TranscodeResult) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TranscodeResult) ProtoMessage() {}
func (x *TranscodeResult) ProtoReflect() protoreflect.Message {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TranscodeResult.ProtoReflect.Descriptor instead.
func (*TranscodeResult) Descriptor() ([]byte, []int) {
return file_byteplus_vod_business_vod_workflow_proto_rawDescGZIP(), []int{10}
}
func (x *TranscodeResult) GetVid() string {
if x != nil {
return x.Vid
}
return ""
}
func (x *TranscodeResult) GetInspection() *Inspection {
if x != nil {
return x.Inspection
}
return nil
}
func (x *TranscodeResult) GetCategoryTags() []*CategoryTagInfo {
if x != nil {
return x.CategoryTags
}
return nil
}
type Inspection struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Quality *Quality `protobuf:"bytes,1,opt,name=Quality,proto3" json:"Quality,omitempty"` // 视频检测质量
DeLogo []*DeLogoInfo `protobuf:"bytes,2,rep,name=DeLogo,proto3" json:"DeLogo,omitempty"` // 水印检测结果
}
func (x *Inspection) Reset() {
*x = Inspection{}
if protoimpl.UnsafeEnabled {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Inspection) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Inspection) ProtoMessage() {}
func (x *Inspection) ProtoReflect() protoreflect.Message {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Inspection.ProtoReflect.Descriptor instead.
func (*Inspection) Descriptor() ([]byte, []int) {
return file_byteplus_vod_business_vod_workflow_proto_rawDescGZIP(), []int{11}
}
func (x *Inspection) GetQuality() *Quality {
if x != nil {
return x.Quality
}
return nil
}
func (x *Inspection) GetDeLogo() []*DeLogoInfo {
if x != nil {
return x.DeLogo
}
return nil
}
type Quality struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Visual *VisualQuality `protobuf:"bytes,1,opt,name=Visual,proto3" json:"Visual,omitempty"` // 片源检测参数
VolumeInfo *VolumeInfo `protobuf:"bytes,2,opt,name=VolumeInfo,proto3" json:"VolumeInfo,omitempty"` // 音量
}
func (x *Quality) Reset() {
*x = Quality{}
if protoimpl.UnsafeEnabled {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Quality) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Quality) ProtoMessage() {}
func (x *Quality) ProtoReflect() protoreflect.Message {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Quality.ProtoReflect.Descriptor instead.
func (*Quality) Descriptor() ([]byte, []int) {
return file_byteplus_vod_business_vod_workflow_proto_rawDescGZIP(), []int{12}
}
func (x *Quality) GetVisual() *VisualQuality {
if x != nil {
return x.Visual
}
return nil
}
func (x *Quality) GetVolumeInfo() *VolumeInfo {
if x != nil {
return x.VolumeInfo
}
return nil
}
type DeLogoInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AnchorWidth int64 `protobuf:"varint,1,opt,name=AnchorWidth,proto3" json:"AnchorWidth,omitempty"` // Anchor基准宽度
AnchorHeight int64 `protobuf:"varint,2,opt,name=AnchorHeight,proto3" json:"AnchorHeight,omitempty"` // Anchor基准宽度
PosX int64 `protobuf:"varint,3,opt,name=PosX,proto3" json:"PosX,omitempty"` // 水印左上角X坐标
PosY int64 `protobuf:"varint,4,opt,name=PosY,proto3" json:"PosY,omitempty"` // 水印左上角Y坐标
SizeX int64 `protobuf:"varint,5,opt,name=SizeX,proto3" json:"SizeX,omitempty"` // 水印宽度
SizeY int64 `protobuf:"varint,6,opt,name=SizeY,proto3" json:"SizeY,omitempty"` // 水印高度
}
func (x *DeLogoInfo) Reset() {
*x = DeLogoInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeLogoInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeLogoInfo) ProtoMessage() {}
func (x *DeLogoInfo) ProtoReflect() protoreflect.Message {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeLogoInfo.ProtoReflect.Descriptor instead.
func (*DeLogoInfo) Descriptor() ([]byte, []int) {
return file_byteplus_vod_business_vod_workflow_proto_rawDescGZIP(), []int{13}
}
func (x *DeLogoInfo) GetAnchorWidth() int64 {
if x != nil {
return x.AnchorWidth
}
return 0
}
func (x *DeLogoInfo) GetAnchorHeight() int64 {
if x != nil {
return x.AnchorHeight
}
return 0
}
func (x *DeLogoInfo) GetPosX() int64 {
if x != nil {
return x.PosX
}
return 0
}
func (x *DeLogoInfo) GetPosY() int64 {
if x != nil {
return x.PosY
}
return 0
}
func (x *DeLogoInfo) GetSizeX() int64 {
if x != nil {
return x.SizeX
}
return 0
}
func (x *DeLogoInfo) GetSizeY() int64 {
if x != nil {
return x.SizeY
}
return 0
}
type VisualQuality struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
VQScore float64 `protobuf:"fixed64,1,opt,name=VQScore,proto3" json:"VQScore,omitempty"` // 视频质量评分
Contrast float64 `protobuf:"fixed64,2,opt,name=Contrast,proto3" json:"Contrast,omitempty"` // 对比度
Colorfulness float64 `protobuf:"fixed64,3,opt,name=Colorfulness,proto3" json:"Colorfulness,omitempty"` // 色彩
Brightness float64 `protobuf:"fixed64,4,opt,name=Brightness,proto3" json:"Brightness,omitempty"` // 亮度
Texture float64 `protobuf:"fixed64,5,opt,name=Texture,proto3" json:"Texture,omitempty"` // 纹理
Noise float64 `protobuf:"fixed64,6,opt,name=Noise,proto3" json:"Noise,omitempty"` // 噪声
}
func (x *VisualQuality) Reset() {
*x = VisualQuality{}
if protoimpl.UnsafeEnabled {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *VisualQuality) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*VisualQuality) ProtoMessage() {}
func (x *VisualQuality) ProtoReflect() protoreflect.Message {
mi := &file_byteplus_vod_business_vod_workflow_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use VisualQuality.ProtoReflect.Descriptor instead.
func (*VisualQuality) Descriptor() ([]byte, []int) {
return file_byteplus_vod_business_vod_workflow_proto_rawDescGZIP(), []int{14}
}
func (x *VisualQuality) GetVQScore() float64 {