@norskvideo/norsk-api 1.0.364 → 1.0.367

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/media_pb.ts CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
7
  import { Empty, Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf";
8
- import { CurrentLoad, Log, OptionalBool, OptionalInt, OptionalInt64, OptionalString, Version } from "./shared/common_pb.js";
8
+ import { CurrentLoad, Log, OptionalBool, OptionalInt, OptionalInt64, OptionalString, UInt32OrInfinity, Version } from "./shared/common_pb.js";
9
9
 
10
10
  /**
11
11
  * Enumeration of possible channel positions.
@@ -6421,9 +6421,9 @@ export class TestCardVideoConfiguration extends Message<TestCardVideoConfigurati
6421
6421
  sourceName = "";
6422
6422
 
6423
6423
  /**
6424
- * @generated from field: int32 number_of_frames = 4;
6424
+ * @generated from field: norsk.api.common.UInt32OrInfinity number_of_frames = 4;
6425
6425
  */
6426
- numberOfFrames = 0;
6426
+ numberOfFrames?: UInt32OrInfinity;
6427
6427
 
6428
6428
  /**
6429
6429
  * @generated from field: bool realtime = 5;
@@ -6446,7 +6446,7 @@ export class TestCardVideoConfiguration extends Message<TestCardVideoConfigurati
6446
6446
  { no: 1, name: "resolution", kind: "message", T: Resolution },
6447
6447
  { no: 2, name: "frame_rate", kind: "message", T: FrameRate },
6448
6448
  { no: 3, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
6449
- { no: 4, name: "number_of_frames", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
6449
+ { no: 4, name: "number_of_frames", kind: "message", T: UInt32OrInfinity },
6450
6450
  { no: 5, name: "realtime", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
6451
6451
  { no: 6, name: "pattern", kind: "enum", T: proto3.getEnumType(TestCardPattern) },
6452
6452
  ]);
@@ -6811,17 +6811,22 @@ export class DeltacastInputConfiguration extends Message<DeltacastInputConfigura
6811
6811
  deviceId = 0;
6812
6812
 
6813
6813
  /**
6814
- * @generated from field: uint32 channel_index = 4;
6814
+ * @generated from field: bool capture_video = 4;
6815
+ */
6816
+ captureVideo = false;
6817
+
6818
+ /**
6819
+ * @generated from field: uint32 channel_index = 5;
6815
6820
  */
6816
6821
  channelIndex = 0;
6817
6822
 
6818
6823
  /**
6819
- * @generated from field: uint32 audio_channel_mask = 5;
6824
+ * @generated from field: uint32 audio_channel_mask = 6;
6820
6825
  */
6821
6826
  audioChannelMask = 0;
6822
6827
 
6823
6828
  /**
6824
- * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 6;
6829
+ * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 7;
6825
6830
  */
6826
6831
  statsSampling?: StreamStatisticsSampling;
6827
6832
 
@@ -6836,9 +6841,10 @@ export class DeltacastInputConfiguration extends Message<DeltacastInputConfigura
6836
6841
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
6837
6842
  { no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
6838
6843
  { no: 3, name: "device_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
6839
- { no: 4, name: "channel_index", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
6840
- { no: 5, name: "audio_channel_mask", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
6841
- { no: 6, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
6844
+ { no: 4, name: "capture_video", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
6845
+ { no: 5, name: "channel_index", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
6846
+ { no: 6, name: "audio_channel_mask", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
6847
+ { no: 7, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
6842
6848
  ]);
6843
6849
 
6844
6850
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeltacastInputConfiguration {
@@ -7370,6 +7376,18 @@ export class FileMp4InputMessage extends Message<FileMp4InputMessage> {
7370
7376
  */
7371
7377
  value: Empty;
7372
7378
  case: "pause";
7379
+ } | {
7380
+ /**
7381
+ * @generated from field: norsk.api.media.FileMp4InputSeek seek = 6;
7382
+ */
7383
+ value: FileMp4InputSeek;
7384
+ case: "seek";
7385
+ } | {
7386
+ /**
7387
+ * @generated from field: norsk.api.media.FileMp4InputPlayUntil playUntil = 7;
7388
+ */
7389
+ value: FileMp4InputPlayUntil;
7390
+ case: "playUntil";
7373
7391
  } | { case: undefined; value?: undefined } = { case: undefined };
7374
7392
 
7375
7393
  constructor(data?: PartialMessage<FileMp4InputMessage>) {
@@ -7385,6 +7403,8 @@ export class FileMp4InputMessage extends Message<FileMp4InputMessage> {
7385
7403
  { no: 3, name: "update_config", kind: "message", T: FileMp4InputConfigurationUpdate, oneof: "message" },
7386
7404
  { no: 4, name: "play", kind: "message", T: Empty, oneof: "message" },
7387
7405
  { no: 5, name: "pause", kind: "message", T: Empty, oneof: "message" },
7406
+ { no: 6, name: "seek", kind: "message", T: FileMp4InputSeek, oneof: "message" },
7407
+ { no: 7, name: "playUntil", kind: "message", T: FileMp4InputPlayUntil, oneof: "message" },
7388
7408
  ]);
7389
7409
 
7390
7410
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4InputMessage {
@@ -7404,6 +7424,80 @@ export class FileMp4InputMessage extends Message<FileMp4InputMessage> {
7404
7424
  }
7405
7425
  }
7406
7426
 
7427
+ /**
7428
+ * @generated from message norsk.api.media.FileMp4InputSeek
7429
+ */
7430
+ export class FileMp4InputSeek extends Message<FileMp4InputSeek> {
7431
+ /**
7432
+ * @generated from field: uint32 offset_ms = 1;
7433
+ */
7434
+ offsetMs = 0;
7435
+
7436
+ constructor(data?: PartialMessage<FileMp4InputSeek>) {
7437
+ super();
7438
+ proto3.util.initPartial(data, this);
7439
+ }
7440
+
7441
+ static readonly runtime = proto3;
7442
+ static readonly typeName = "norsk.api.media.FileMp4InputSeek";
7443
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
7444
+ { no: 1, name: "offset_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
7445
+ ]);
7446
+
7447
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4InputSeek {
7448
+ return new FileMp4InputSeek().fromBinary(bytes, options);
7449
+ }
7450
+
7451
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileMp4InputSeek {
7452
+ return new FileMp4InputSeek().fromJson(jsonValue, options);
7453
+ }
7454
+
7455
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileMp4InputSeek {
7456
+ return new FileMp4InputSeek().fromJsonString(jsonString, options);
7457
+ }
7458
+
7459
+ static equals(a: FileMp4InputSeek | PlainMessage<FileMp4InputSeek> | undefined, b: FileMp4InputSeek | PlainMessage<FileMp4InputSeek> | undefined): boolean {
7460
+ return proto3.util.equals(FileMp4InputSeek, a, b);
7461
+ }
7462
+ }
7463
+
7464
+ /**
7465
+ * @generated from message norsk.api.media.FileMp4InputPlayUntil
7466
+ */
7467
+ export class FileMp4InputPlayUntil extends Message<FileMp4InputPlayUntil> {
7468
+ /**
7469
+ * @generated from field: uint32 offset_ms = 1;
7470
+ */
7471
+ offsetMs = 0;
7472
+
7473
+ constructor(data?: PartialMessage<FileMp4InputPlayUntil>) {
7474
+ super();
7475
+ proto3.util.initPartial(data, this);
7476
+ }
7477
+
7478
+ static readonly runtime = proto3;
7479
+ static readonly typeName = "norsk.api.media.FileMp4InputPlayUntil";
7480
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
7481
+ { no: 1, name: "offset_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
7482
+ ]);
7483
+
7484
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4InputPlayUntil {
7485
+ return new FileMp4InputPlayUntil().fromBinary(bytes, options);
7486
+ }
7487
+
7488
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileMp4InputPlayUntil {
7489
+ return new FileMp4InputPlayUntil().fromJson(jsonValue, options);
7490
+ }
7491
+
7492
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileMp4InputPlayUntil {
7493
+ return new FileMp4InputPlayUntil().fromJsonString(jsonString, options);
7494
+ }
7495
+
7496
+ static equals(a: FileMp4InputPlayUntil | PlainMessage<FileMp4InputPlayUntil> | undefined, b: FileMp4InputPlayUntil | PlainMessage<FileMp4InputPlayUntil> | undefined): boolean {
7497
+ return proto3.util.equals(FileMp4InputPlayUntil, a, b);
7498
+ }
7499
+ }
7500
+
7407
7501
  /**
7408
7502
  * @generated from message norsk.api.media.FileMp4InputStatus
7409
7503
  */
@@ -7454,11 +7548,23 @@ export enum FileMp4InputStatus_State {
7454
7548
  * @generated from enum value: INPUT_STATUS_EOF = 1;
7455
7549
  */
7456
7550
  INPUT_STATUS_EOF = 1,
7551
+
7552
+ /**
7553
+ * @generated from enum value: INPUT_STATUS_EOF_LOOPING = 2;
7554
+ */
7555
+ INPUT_STATUS_EOF_LOOPING = 2,
7556
+
7557
+ /**
7558
+ * @generated from enum value: INPUT_STATUS_STOP_POSITION = 3;
7559
+ */
7560
+ INPUT_STATUS_STOP_POSITION = 3,
7457
7561
  }
7458
7562
  // Retrieve enum metadata with: proto3.getEnumType(FileMp4InputStatus_State)
7459
7563
  proto3.util.setEnumType(FileMp4InputStatus_State, "norsk.api.media.FileMp4InputStatus.State", [
7460
7564
  { no: 0, name: "INPUT_STATUS_UNKNOWN" },
7461
7565
  { no: 1, name: "INPUT_STATUS_EOF" },
7566
+ { no: 2, name: "INPUT_STATUS_EOF_LOOPING" },
7567
+ { no: 3, name: "INPUT_STATUS_STOP_POSITION" },
7462
7568
  ]);
7463
7569
 
7464
7570
  /**
@@ -12837,6 +12943,20 @@ export class HlsPushDestination extends Message<HlsPushDestination> {
12837
12943
  */
12838
12944
  partHoldBackSeconds = 0;
12839
12945
 
12946
+ /**
12947
+ * whether the server supports gzip compression on PUT/POST requests
12948
+ *
12949
+ * @generated from field: bool supports_gzip = 10;
12950
+ */
12951
+ supportsGzip = false;
12952
+
12953
+ /**
12954
+ * Whether to use TLS or plain TCP transport, by default TLS used if port is 443
12955
+ *
12956
+ * @generated from field: norsk.api.common.OptionalBool tls_transport = 11;
12957
+ */
12958
+ tlsTransport?: OptionalBool;
12959
+
12840
12960
  constructor(data?: PartialMessage<HlsPushDestination>) {
12841
12961
  super();
12842
12962
  proto3.util.initPartial(data, this);
@@ -12854,6 +12974,8 @@ export class HlsPushDestination extends Message<HlsPushDestination> {
12854
12974
  { no: 7, name: "default_segment_count", kind: "message", T: OptionalInt },
12855
12975
  { no: 8, name: "hold_back_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
12856
12976
  { no: 9, name: "part_hold_back_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
12977
+ { no: 10, name: "supports_gzip", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
12978
+ { no: 11, name: "tls_transport", kind: "message", T: OptionalBool },
12857
12979
  ]);
12858
12980
 
12859
12981
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsPushDestination {
@@ -23952,6 +24074,80 @@ export class StreamConditionConfiguration extends Message<StreamConditionConfigu
23952
24074
  }
23953
24075
  }
23954
24076
 
24077
+ /**
24078
+ * @generated from message norsk.api.media.StreamConditionSpliceOut
24079
+ */
24080
+ export class StreamConditionSpliceOut extends Message<StreamConditionSpliceOut> {
24081
+ /**
24082
+ * @generated from field: norsk.api.media.Interval pts = 1;
24083
+ */
24084
+ pts?: Interval;
24085
+
24086
+ constructor(data?: PartialMessage<StreamConditionSpliceOut>) {
24087
+ super();
24088
+ proto3.util.initPartial(data, this);
24089
+ }
24090
+
24091
+ static readonly runtime = proto3;
24092
+ static readonly typeName = "norsk.api.media.StreamConditionSpliceOut";
24093
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
24094
+ { no: 1, name: "pts", kind: "message", T: Interval },
24095
+ ]);
24096
+
24097
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamConditionSpliceOut {
24098
+ return new StreamConditionSpliceOut().fromBinary(bytes, options);
24099
+ }
24100
+
24101
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamConditionSpliceOut {
24102
+ return new StreamConditionSpliceOut().fromJson(jsonValue, options);
24103
+ }
24104
+
24105
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamConditionSpliceOut {
24106
+ return new StreamConditionSpliceOut().fromJsonString(jsonString, options);
24107
+ }
24108
+
24109
+ static equals(a: StreamConditionSpliceOut | PlainMessage<StreamConditionSpliceOut> | undefined, b: StreamConditionSpliceOut | PlainMessage<StreamConditionSpliceOut> | undefined): boolean {
24110
+ return proto3.util.equals(StreamConditionSpliceOut, a, b);
24111
+ }
24112
+ }
24113
+
24114
+ /**
24115
+ * @generated from message norsk.api.media.StreamConditionSpliceIn
24116
+ */
24117
+ export class StreamConditionSpliceIn extends Message<StreamConditionSpliceIn> {
24118
+ /**
24119
+ * @generated from field: norsk.api.media.Interval pts = 1;
24120
+ */
24121
+ pts?: Interval;
24122
+
24123
+ constructor(data?: PartialMessage<StreamConditionSpliceIn>) {
24124
+ super();
24125
+ proto3.util.initPartial(data, this);
24126
+ }
24127
+
24128
+ static readonly runtime = proto3;
24129
+ static readonly typeName = "norsk.api.media.StreamConditionSpliceIn";
24130
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
24131
+ { no: 1, name: "pts", kind: "message", T: Interval },
24132
+ ]);
24133
+
24134
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamConditionSpliceIn {
24135
+ return new StreamConditionSpliceIn().fromBinary(bytes, options);
24136
+ }
24137
+
24138
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamConditionSpliceIn {
24139
+ return new StreamConditionSpliceIn().fromJson(jsonValue, options);
24140
+ }
24141
+
24142
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamConditionSpliceIn {
24143
+ return new StreamConditionSpliceIn().fromJsonString(jsonString, options);
24144
+ }
24145
+
24146
+ static equals(a: StreamConditionSpliceIn | PlainMessage<StreamConditionSpliceIn> | undefined, b: StreamConditionSpliceIn | PlainMessage<StreamConditionSpliceIn> | undefined): boolean {
24147
+ return proto3.util.equals(StreamConditionSpliceIn, a, b);
24148
+ }
24149
+ }
24150
+
23955
24151
  /**
23956
24152
  * @generated from message norsk.api.media.StreamConditionMessage
23957
24153
  */
@@ -23971,6 +24167,18 @@ export class StreamConditionMessage extends Message<StreamConditionMessage> {
23971
24167
  */
23972
24168
  value: Subscription;
23973
24169
  case: "subscription";
24170
+ } | {
24171
+ /**
24172
+ * @generated from field: norsk.api.media.StreamConditionSpliceOut splice_out = 3;
24173
+ */
24174
+ value: StreamConditionSpliceOut;
24175
+ case: "spliceOut";
24176
+ } | {
24177
+ /**
24178
+ * @generated from field: norsk.api.media.StreamConditionSpliceOut splice_in = 4;
24179
+ */
24180
+ value: StreamConditionSpliceOut;
24181
+ case: "spliceIn";
23974
24182
  } | { case: undefined; value?: undefined } = { case: undefined };
23975
24183
 
23976
24184
  constructor(data?: PartialMessage<StreamConditionMessage>) {
@@ -23983,6 +24191,8 @@ export class StreamConditionMessage extends Message<StreamConditionMessage> {
23983
24191
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
23984
24192
  { no: 1, name: "initial_config", kind: "message", T: StreamConditionConfiguration, oneof: "message" },
23985
24193
  { no: 2, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
24194
+ { no: 3, name: "splice_out", kind: "message", T: StreamConditionSpliceOut, oneof: "message" },
24195
+ { no: 4, name: "splice_in", kind: "message", T: StreamConditionSpliceOut, oneof: "message" },
23986
24196
  ]);
23987
24197
 
23988
24198
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamConditionMessage {
@@ -25833,6 +26043,49 @@ export class MediaStoreRecorderConfiguration extends Message<MediaStoreRecorderC
25833
26043
  }
25834
26044
  }
25835
26045
 
26046
+ /**
26047
+ * @generated from message norsk.api.media.MediaStoreSnapshotConfiguration
26048
+ */
26049
+ export class MediaStoreSnapshotConfiguration extends Message<MediaStoreSnapshotConfiguration> {
26050
+ /**
26051
+ * @generated from field: string name = 1;
26052
+ */
26053
+ name = "";
26054
+
26055
+ /**
26056
+ * @generated from field: string path = 2;
26057
+ */
26058
+ path = "";
26059
+
26060
+ constructor(data?: PartialMessage<MediaStoreSnapshotConfiguration>) {
26061
+ super();
26062
+ proto3.util.initPartial(data, this);
26063
+ }
26064
+
26065
+ static readonly runtime = proto3;
26066
+ static readonly typeName = "norsk.api.media.MediaStoreSnapshotConfiguration";
26067
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
26068
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26069
+ { no: 2, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26070
+ ]);
26071
+
26072
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreSnapshotConfiguration {
26073
+ return new MediaStoreSnapshotConfiguration().fromBinary(bytes, options);
26074
+ }
26075
+
26076
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreSnapshotConfiguration {
26077
+ return new MediaStoreSnapshotConfiguration().fromJson(jsonValue, options);
26078
+ }
26079
+
26080
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreSnapshotConfiguration {
26081
+ return new MediaStoreSnapshotConfiguration().fromJsonString(jsonString, options);
26082
+ }
26083
+
26084
+ static equals(a: MediaStoreSnapshotConfiguration | PlainMessage<MediaStoreSnapshotConfiguration> | undefined, b: MediaStoreSnapshotConfiguration | PlainMessage<MediaStoreSnapshotConfiguration> | undefined): boolean {
26085
+ return proto3.util.equals(MediaStoreSnapshotConfiguration, a, b);
26086
+ }
26087
+ }
26088
+
25836
26089
  /**
25837
26090
  * @generated from message norsk.api.media.StreamSelection
25838
26091
  */
@@ -25901,15 +26154,20 @@ export class SingleCut extends Message<SingleCut> {
25901
26154
  durationMs = 0;
25902
26155
 
25903
26156
  /**
25904
- * @generated from field: bool trim_partial_segments = 5;
26157
+ * @generated from field: bool trim_partial_gops = 5;
25905
26158
  */
25906
- trimPartialSegments = false;
26159
+ trimPartialGops = false;
25907
26160
 
25908
26161
  /**
25909
26162
  * @generated from field: norsk.api.common.OptionalInt session_num = 6;
25910
26163
  */
25911
26164
  sessionNum?: OptionalInt;
25912
26165
 
26166
+ /**
26167
+ * @generated from field: norsk.api.common.UInt32OrInfinity repeat_count = 7;
26168
+ */
26169
+ repeatCount?: UInt32OrInfinity;
26170
+
25913
26171
  constructor(data?: PartialMessage<SingleCut>) {
25914
26172
  super();
25915
26173
  proto3.util.initPartial(data, this);
@@ -25922,8 +26180,9 @@ export class SingleCut extends Message<SingleCut> {
25922
26180
  { no: 2, name: "stream_selection", kind: "message", T: StreamSelection, repeated: true },
25923
26181
  { no: 3, name: "start_date_time", kind: "message", T: Timestamp },
25924
26182
  { no: 4, name: "duration_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
25925
- { no: 5, name: "trim_partial_segments", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
26183
+ { no: 5, name: "trim_partial_gops", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
25926
26184
  { no: 6, name: "session_num", kind: "message", T: OptionalInt },
26185
+ { no: 7, name: "repeat_count", kind: "message", T: UInt32OrInfinity },
25927
26186
  ]);
25928
26187
 
25929
26188
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SingleCut {
@@ -25944,9 +26203,9 @@ export class SingleCut extends Message<SingleCut> {
25944
26203
  }
25945
26204
 
25946
26205
  /**
25947
- * @generated from message norsk.api.media.MediaStoreCutRequest
26206
+ * @generated from message norsk.api.media.StartMediaStoreCut
25948
26207
  */
25949
- export class MediaStoreCutRequest extends Message<MediaStoreCutRequest> {
26208
+ export class StartMediaStoreCut extends Message<StartMediaStoreCut> {
25950
26209
  /**
25951
26210
  * @generated from field: string id = 1;
25952
26211
  */
@@ -25963,55 +26222,136 @@ export class MediaStoreCutRequest extends Message<MediaStoreCutRequest> {
25963
26222
  fileName = "";
25964
26223
 
25965
26224
  /**
25966
- * @generated from field: norsk.api.media.MediaStoreCutRequest.FileFormat file_format = 4;
26225
+ * @generated from field: norsk.api.media.StartMediaStoreCut.FileFormat file_format = 4;
25967
26226
  */
25968
- fileFormat = MediaStoreCutRequest_FileFormat.CUT_MP4;
26227
+ fileFormat = StartMediaStoreCut_FileFormat.CUT_MP4;
25969
26228
 
25970
- constructor(data?: PartialMessage<MediaStoreCutRequest>) {
26229
+ constructor(data?: PartialMessage<StartMediaStoreCut>) {
25971
26230
  super();
25972
26231
  proto3.util.initPartial(data, this);
25973
26232
  }
25974
26233
 
25975
26234
  static readonly runtime = proto3;
25976
- static readonly typeName = "norsk.api.media.MediaStoreCutRequest";
26235
+ static readonly typeName = "norsk.api.media.StartMediaStoreCut";
25977
26236
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
25978
26237
  { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25979
26238
  { no: 2, name: "cuts", kind: "message", T: SingleCut, repeated: true },
25980
26239
  { no: 3, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25981
- { no: 4, name: "file_format", kind: "enum", T: proto3.getEnumType(MediaStoreCutRequest_FileFormat) },
26240
+ { no: 4, name: "file_format", kind: "enum", T: proto3.getEnumType(StartMediaStoreCut_FileFormat) },
25982
26241
  ]);
25983
26242
 
25984
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreCutRequest {
25985
- return new MediaStoreCutRequest().fromBinary(bytes, options);
26243
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartMediaStoreCut {
26244
+ return new StartMediaStoreCut().fromBinary(bytes, options);
25986
26245
  }
25987
26246
 
25988
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreCutRequest {
25989
- return new MediaStoreCutRequest().fromJson(jsonValue, options);
26247
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartMediaStoreCut {
26248
+ return new StartMediaStoreCut().fromJson(jsonValue, options);
25990
26249
  }
25991
26250
 
25992
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreCutRequest {
25993
- return new MediaStoreCutRequest().fromJsonString(jsonString, options);
26251
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartMediaStoreCut {
26252
+ return new StartMediaStoreCut().fromJsonString(jsonString, options);
25994
26253
  }
25995
26254
 
25996
- static equals(a: MediaStoreCutRequest | PlainMessage<MediaStoreCutRequest> | undefined, b: MediaStoreCutRequest | PlainMessage<MediaStoreCutRequest> | undefined): boolean {
25997
- return proto3.util.equals(MediaStoreCutRequest, a, b);
26255
+ static equals(a: StartMediaStoreCut | PlainMessage<StartMediaStoreCut> | undefined, b: StartMediaStoreCut | PlainMessage<StartMediaStoreCut> | undefined): boolean {
26256
+ return proto3.util.equals(StartMediaStoreCut, a, b);
25998
26257
  }
25999
26258
  }
26000
26259
 
26001
26260
  /**
26002
- * @generated from enum norsk.api.media.MediaStoreCutRequest.FileFormat
26261
+ * @generated from enum norsk.api.media.StartMediaStoreCut.FileFormat
26003
26262
  */
26004
- export enum MediaStoreCutRequest_FileFormat {
26263
+ export enum StartMediaStoreCut_FileFormat {
26005
26264
  /**
26006
26265
  * @generated from enum value: CUT_MP4 = 0;
26007
26266
  */
26008
26267
  CUT_MP4 = 0,
26009
26268
  }
26010
- // Retrieve enum metadata with: proto3.getEnumType(MediaStoreCutRequest_FileFormat)
26011
- proto3.util.setEnumType(MediaStoreCutRequest_FileFormat, "norsk.api.media.MediaStoreCutRequest.FileFormat", [
26269
+ // Retrieve enum metadata with: proto3.getEnumType(StartMediaStoreCut_FileFormat)
26270
+ proto3.util.setEnumType(StartMediaStoreCut_FileFormat, "norsk.api.media.StartMediaStoreCut.FileFormat", [
26012
26271
  { no: 0, name: "CUT_MP4" },
26013
26272
  ]);
26014
26273
 
26274
+ /**
26275
+ * @generated from message norsk.api.media.CancelMediaStoreCut
26276
+ */
26277
+ export class CancelMediaStoreCut extends Message<CancelMediaStoreCut> {
26278
+ constructor(data?: PartialMessage<CancelMediaStoreCut>) {
26279
+ super();
26280
+ proto3.util.initPartial(data, this);
26281
+ }
26282
+
26283
+ static readonly runtime = proto3;
26284
+ static readonly typeName = "norsk.api.media.CancelMediaStoreCut";
26285
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
26286
+ ]);
26287
+
26288
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CancelMediaStoreCut {
26289
+ return new CancelMediaStoreCut().fromBinary(bytes, options);
26290
+ }
26291
+
26292
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CancelMediaStoreCut {
26293
+ return new CancelMediaStoreCut().fromJson(jsonValue, options);
26294
+ }
26295
+
26296
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CancelMediaStoreCut {
26297
+ return new CancelMediaStoreCut().fromJsonString(jsonString, options);
26298
+ }
26299
+
26300
+ static equals(a: CancelMediaStoreCut | PlainMessage<CancelMediaStoreCut> | undefined, b: CancelMediaStoreCut | PlainMessage<CancelMediaStoreCut> | undefined): boolean {
26301
+ return proto3.util.equals(CancelMediaStoreCut, a, b);
26302
+ }
26303
+ }
26304
+
26305
+ /**
26306
+ * @generated from message norsk.api.media.MediaStoreCutRequest
26307
+ */
26308
+ export class MediaStoreCutRequest extends Message<MediaStoreCutRequest> {
26309
+ /**
26310
+ * @generated from oneof norsk.api.media.MediaStoreCutRequest.message
26311
+ */
26312
+ message: {
26313
+ /**
26314
+ * @generated from field: norsk.api.media.StartMediaStoreCut start_cut = 1;
26315
+ */
26316
+ value: StartMediaStoreCut;
26317
+ case: "startCut";
26318
+ } | {
26319
+ /**
26320
+ * @generated from field: norsk.api.media.CancelMediaStoreCut cancel_cut = 2;
26321
+ */
26322
+ value: CancelMediaStoreCut;
26323
+ case: "cancelCut";
26324
+ } | { case: undefined; value?: undefined } = { case: undefined };
26325
+
26326
+ constructor(data?: PartialMessage<MediaStoreCutRequest>) {
26327
+ super();
26328
+ proto3.util.initPartial(data, this);
26329
+ }
26330
+
26331
+ static readonly runtime = proto3;
26332
+ static readonly typeName = "norsk.api.media.MediaStoreCutRequest";
26333
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
26334
+ { no: 1, name: "start_cut", kind: "message", T: StartMediaStoreCut, oneof: "message" },
26335
+ { no: 2, name: "cancel_cut", kind: "message", T: CancelMediaStoreCut, oneof: "message" },
26336
+ ]);
26337
+
26338
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreCutRequest {
26339
+ return new MediaStoreCutRequest().fromBinary(bytes, options);
26340
+ }
26341
+
26342
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreCutRequest {
26343
+ return new MediaStoreCutRequest().fromJson(jsonValue, options);
26344
+ }
26345
+
26346
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreCutRequest {
26347
+ return new MediaStoreCutRequest().fromJsonString(jsonString, options);
26348
+ }
26349
+
26350
+ static equals(a: MediaStoreCutRequest | PlainMessage<MediaStoreCutRequest> | undefined, b: MediaStoreCutRequest | PlainMessage<MediaStoreCutRequest> | undefined): boolean {
26351
+ return proto3.util.equals(MediaStoreCutRequest, a, b);
26352
+ }
26353
+ }
26354
+
26015
26355
  /**
26016
26356
  * @generated from message norsk.api.media.Progress
26017
26357
  */
@@ -26193,6 +26533,269 @@ export class MediaStoreRecorderEvent extends Message<MediaStoreRecorderEvent> {
26193
26533
  }
26194
26534
  }
26195
26535
 
26536
+ /**
26537
+ * @generated from message norsk.api.media.MediaStoreSnapshotMessage
26538
+ */
26539
+ export class MediaStoreSnapshotMessage extends Message<MediaStoreSnapshotMessage> {
26540
+ /**
26541
+ * @generated from oneof norsk.api.media.MediaStoreSnapshotMessage.message
26542
+ */
26543
+ message: {
26544
+ /**
26545
+ * @generated from field: norsk.api.media.MediaStoreSnapshotConfiguration configuration = 1;
26546
+ */
26547
+ value: MediaStoreSnapshotConfiguration;
26548
+ case: "configuration";
26549
+ } | {
26550
+ /**
26551
+ * @generated from field: google.protobuf.Empty update = 2;
26552
+ */
26553
+ value: Empty;
26554
+ case: "update";
26555
+ } | { case: undefined; value?: undefined } = { case: undefined };
26556
+
26557
+ constructor(data?: PartialMessage<MediaStoreSnapshotMessage>) {
26558
+ super();
26559
+ proto3.util.initPartial(data, this);
26560
+ }
26561
+
26562
+ static readonly runtime = proto3;
26563
+ static readonly typeName = "norsk.api.media.MediaStoreSnapshotMessage";
26564
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
26565
+ { no: 1, name: "configuration", kind: "message", T: MediaStoreSnapshotConfiguration, oneof: "message" },
26566
+ { no: 2, name: "update", kind: "message", T: Empty, oneof: "message" },
26567
+ ]);
26568
+
26569
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreSnapshotMessage {
26570
+ return new MediaStoreSnapshotMessage().fromBinary(bytes, options);
26571
+ }
26572
+
26573
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreSnapshotMessage {
26574
+ return new MediaStoreSnapshotMessage().fromJson(jsonValue, options);
26575
+ }
26576
+
26577
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreSnapshotMessage {
26578
+ return new MediaStoreSnapshotMessage().fromJsonString(jsonString, options);
26579
+ }
26580
+
26581
+ static equals(a: MediaStoreSnapshotMessage | PlainMessage<MediaStoreSnapshotMessage> | undefined, b: MediaStoreSnapshotMessage | PlainMessage<MediaStoreSnapshotMessage> | undefined): boolean {
26582
+ return proto3.util.equals(MediaStoreSnapshotMessage, a, b);
26583
+ }
26584
+ }
26585
+
26586
+ /**
26587
+ * @generated from message norsk.api.media.MediaStoreSnapshotEvent
26588
+ */
26589
+ export class MediaStoreSnapshotEvent extends Message<MediaStoreSnapshotEvent> {
26590
+ /**
26591
+ * @generated from oneof norsk.api.media.MediaStoreSnapshotEvent.message
26592
+ */
26593
+ message: {
26594
+ /**
26595
+ * @generated from field: google.protobuf.Empty snapshot_loaded = 1;
26596
+ */
26597
+ value: Empty;
26598
+ case: "snapshotLoaded";
26599
+ } | {
26600
+ /**
26601
+ * @generated from field: google.protobuf.Empty snapshot_updated = 2;
26602
+ */
26603
+ value: Empty;
26604
+ case: "snapshotUpdated";
26605
+ } | {
26606
+ /**
26607
+ * @generated from field: google.protobuf.Empty snapshot_update_failed = 3;
26608
+ */
26609
+ value: Empty;
26610
+ case: "snapshotUpdateFailed";
26611
+ } | { case: undefined; value?: undefined } = { case: undefined };
26612
+
26613
+ constructor(data?: PartialMessage<MediaStoreSnapshotEvent>) {
26614
+ super();
26615
+ proto3.util.initPartial(data, this);
26616
+ }
26617
+
26618
+ static readonly runtime = proto3;
26619
+ static readonly typeName = "norsk.api.media.MediaStoreSnapshotEvent";
26620
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
26621
+ { no: 1, name: "snapshot_loaded", kind: "message", T: Empty, oneof: "message" },
26622
+ { no: 2, name: "snapshot_updated", kind: "message", T: Empty, oneof: "message" },
26623
+ { no: 3, name: "snapshot_update_failed", kind: "message", T: Empty, oneof: "message" },
26624
+ ]);
26625
+
26626
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreSnapshotEvent {
26627
+ return new MediaStoreSnapshotEvent().fromBinary(bytes, options);
26628
+ }
26629
+
26630
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreSnapshotEvent {
26631
+ return new MediaStoreSnapshotEvent().fromJson(jsonValue, options);
26632
+ }
26633
+
26634
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreSnapshotEvent {
26635
+ return new MediaStoreSnapshotEvent().fromJsonString(jsonString, options);
26636
+ }
26637
+
26638
+ static equals(a: MediaStoreSnapshotEvent | PlainMessage<MediaStoreSnapshotEvent> | undefined, b: MediaStoreSnapshotEvent | PlainMessage<MediaStoreSnapshotEvent> | undefined): boolean {
26639
+ return proto3.util.equals(MediaStoreSnapshotEvent, a, b);
26640
+ }
26641
+ }
26642
+
26643
+ /**
26644
+ * If the store pre-exists and the hash matches, use it
26645
+ * If the hash doesn't match, then either import or error
26646
+ *
26647
+ * @generated from message norsk.api.media.MediaStoreAssetFileWithHash
26648
+ */
26649
+ export class MediaStoreAssetFileWithHash extends Message<MediaStoreAssetFileWithHash> {
26650
+ /**
26651
+ * @generated from field: string file = 1;
26652
+ */
26653
+ file = "";
26654
+
26655
+ /**
26656
+ * @generated from field: string hash = 2;
26657
+ */
26658
+ hash = "";
26659
+
26660
+ /**
26661
+ * @generated from field: bool error_on_hash_mismatch = 3;
26662
+ */
26663
+ errorOnHashMismatch = false;
26664
+
26665
+ constructor(data?: PartialMessage<MediaStoreAssetFileWithHash>) {
26666
+ super();
26667
+ proto3.util.initPartial(data, this);
26668
+ }
26669
+
26670
+ static readonly runtime = proto3;
26671
+ static readonly typeName = "norsk.api.media.MediaStoreAssetFileWithHash";
26672
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
26673
+ { no: 1, name: "file", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26674
+ { no: 2, name: "hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26675
+ { no: 3, name: "error_on_hash_mismatch", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
26676
+ ]);
26677
+
26678
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreAssetFileWithHash {
26679
+ return new MediaStoreAssetFileWithHash().fromBinary(bytes, options);
26680
+ }
26681
+
26682
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreAssetFileWithHash {
26683
+ return new MediaStoreAssetFileWithHash().fromJson(jsonValue, options);
26684
+ }
26685
+
26686
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreAssetFileWithHash {
26687
+ return new MediaStoreAssetFileWithHash().fromJsonString(jsonString, options);
26688
+ }
26689
+
26690
+ static equals(a: MediaStoreAssetFileWithHash | PlainMessage<MediaStoreAssetFileWithHash> | undefined, b: MediaStoreAssetFileWithHash | PlainMessage<MediaStoreAssetFileWithHash> | undefined): boolean {
26691
+ return proto3.util.equals(MediaStoreAssetFileWithHash, a, b);
26692
+ }
26693
+ }
26694
+
26695
+ /**
26696
+ * As above, but calculate the hash (sha256sum)
26697
+ *
26698
+ * @generated from message norsk.api.media.MediaStoreAssetFile
26699
+ */
26700
+ export class MediaStoreAssetFile extends Message<MediaStoreAssetFile> {
26701
+ /**
26702
+ * @generated from field: string file = 1;
26703
+ */
26704
+ file = "";
26705
+
26706
+ /**
26707
+ * @generated from field: bool error_on_hash_mismatch = 2;
26708
+ */
26709
+ errorOnHashMismatch = false;
26710
+
26711
+ constructor(data?: PartialMessage<MediaStoreAssetFile>) {
26712
+ super();
26713
+ proto3.util.initPartial(data, this);
26714
+ }
26715
+
26716
+ static readonly runtime = proto3;
26717
+ static readonly typeName = "norsk.api.media.MediaStoreAssetFile";
26718
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
26719
+ { no: 1, name: "file", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26720
+ { no: 2, name: "error_on_hash_mismatch", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
26721
+ ]);
26722
+
26723
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreAssetFile {
26724
+ return new MediaStoreAssetFile().fromBinary(bytes, options);
26725
+ }
26726
+
26727
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreAssetFile {
26728
+ return new MediaStoreAssetFile().fromJson(jsonValue, options);
26729
+ }
26730
+
26731
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreAssetFile {
26732
+ return new MediaStoreAssetFile().fromJsonString(jsonString, options);
26733
+ }
26734
+
26735
+ static equals(a: MediaStoreAssetFile | PlainMessage<MediaStoreAssetFile> | undefined, b: MediaStoreAssetFile | PlainMessage<MediaStoreAssetFile> | undefined): boolean {
26736
+ return proto3.util.equals(MediaStoreAssetFile, a, b);
26737
+ }
26738
+ }
26739
+
26740
+ /**
26741
+ * @generated from message norsk.api.media.MediaStoreAssetSource
26742
+ */
26743
+ export class MediaStoreAssetSource extends Message<MediaStoreAssetSource> {
26744
+ /**
26745
+ * @generated from oneof norsk.api.media.MediaStoreAssetSource.message
26746
+ */
26747
+ message: {
26748
+ /**
26749
+ * Load a pre-existing asset - check there's a hash but that's all
26750
+ *
26751
+ * @generated from field: google.protobuf.Empty no_load = 1;
26752
+ */
26753
+ value: Empty;
26754
+ case: "noLoad";
26755
+ } | {
26756
+ /**
26757
+ * @generated from field: norsk.api.media.MediaStoreAssetFileWithHash file_with_hash = 2;
26758
+ */
26759
+ value: MediaStoreAssetFileWithHash;
26760
+ case: "fileWithHash";
26761
+ } | {
26762
+ /**
26763
+ * @generated from field: norsk.api.media.MediaStoreAssetFile file = 3;
26764
+ */
26765
+ value: MediaStoreAssetFile;
26766
+ case: "file";
26767
+ } | { case: undefined; value?: undefined } = { case: undefined };
26768
+
26769
+ constructor(data?: PartialMessage<MediaStoreAssetSource>) {
26770
+ super();
26771
+ proto3.util.initPartial(data, this);
26772
+ }
26773
+
26774
+ static readonly runtime = proto3;
26775
+ static readonly typeName = "norsk.api.media.MediaStoreAssetSource";
26776
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
26777
+ { no: 1, name: "no_load", kind: "message", T: Empty, oneof: "message" },
26778
+ { no: 2, name: "file_with_hash", kind: "message", T: MediaStoreAssetFileWithHash, oneof: "message" },
26779
+ { no: 3, name: "file", kind: "message", T: MediaStoreAssetFile, oneof: "message" },
26780
+ ]);
26781
+
26782
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreAssetSource {
26783
+ return new MediaStoreAssetSource().fromBinary(bytes, options);
26784
+ }
26785
+
26786
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreAssetSource {
26787
+ return new MediaStoreAssetSource().fromJson(jsonValue, options);
26788
+ }
26789
+
26790
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreAssetSource {
26791
+ return new MediaStoreAssetSource().fromJsonString(jsonString, options);
26792
+ }
26793
+
26794
+ static equals(a: MediaStoreAssetSource | PlainMessage<MediaStoreAssetSource> | undefined, b: MediaStoreAssetSource | PlainMessage<MediaStoreAssetSource> | undefined): boolean {
26795
+ return proto3.util.equals(MediaStoreAssetSource, a, b);
26796
+ }
26797
+ }
26798
+
26196
26799
  /**
26197
26800
  * @generated from message norsk.api.media.MediaStoreAssetSettings
26198
26801
  */
@@ -26203,9 +26806,9 @@ export class MediaStoreAssetSettings extends Message<MediaStoreAssetSettings> {
26203
26806
  mediaStoreName = "";
26204
26807
 
26205
26808
  /**
26206
- * @generated from field: string file_name = 2;
26809
+ * @generated from field: norsk.api.media.MediaStoreAssetSource asset_source = 2;
26207
26810
  */
26208
- fileName = "";
26811
+ assetSource?: MediaStoreAssetSource;
26209
26812
 
26210
26813
  /**
26211
26814
  * @generated from field: string path = 3;
@@ -26221,7 +26824,7 @@ export class MediaStoreAssetSettings extends Message<MediaStoreAssetSettings> {
26221
26824
  static readonly typeName = "norsk.api.media.MediaStoreAssetSettings";
26222
26825
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
26223
26826
  { no: 1, name: "media_store_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26224
- { no: 2, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26827
+ { no: 2, name: "asset_source", kind: "message", T: MediaStoreAssetSource },
26225
26828
  { no: 3, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26226
26829
  ]);
26227
26830
 
@@ -26354,6 +26957,12 @@ export class MediaStoreCutEvent extends Message<MediaStoreCutEvent> {
26354
26957
  */
26355
26958
  value: MediaStoreCutComplete;
26356
26959
  case: "cutComplete";
26960
+ } | {
26961
+ /**
26962
+ * @generated from field: google.protobuf.Empty cut_cancelled = 3;
26963
+ */
26964
+ value: Empty;
26965
+ case: "cutCancelled";
26357
26966
  } | { case: undefined; value?: undefined } = { case: undefined };
26358
26967
 
26359
26968
  constructor(data?: PartialMessage<MediaStoreCutEvent>) {
@@ -26366,6 +26975,7 @@ export class MediaStoreCutEvent extends Message<MediaStoreCutEvent> {
26366
26975
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
26367
26976
  { no: 1, name: "cut_progress", kind: "message", T: Progress, oneof: "message" },
26368
26977
  { no: 2, name: "cut_complete", kind: "message", T: MediaStoreCutComplete, oneof: "message" },
26978
+ { no: 3, name: "cut_cancelled", kind: "message", T: Empty, oneof: "message" },
26369
26979
  ]);
26370
26980
 
26371
26981
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreCutEvent {