@norskvideo/norsk-api 1.0.365 → 1.0.368

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,33 @@
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
+
10
+ /**
11
+ * @generated from enum norsk.api.media.NodeMetricsMode
12
+ */
13
+ export enum NodeMetricsMode {
14
+ /**
15
+ * @generated from enum value: NODE_METRICS_ENABLE = 0;
16
+ */
17
+ NODE_METRICS_ENABLE = 0,
18
+
19
+ /**
20
+ * @generated from enum value: NODE_METRICS_MINIMAL = 1;
21
+ */
22
+ NODE_METRICS_MINIMAL = 1,
23
+
24
+ /**
25
+ * @generated from enum value: NODE_METRICS_NONE = 2;
26
+ */
27
+ NODE_METRICS_NONE = 2,
28
+ }
29
+ // Retrieve enum metadata with: proto3.getEnumType(NodeMetricsMode)
30
+ proto3.util.setEnumType(NodeMetricsMode, "norsk.api.media.NodeMetricsMode", [
31
+ { no: 0, name: "NODE_METRICS_ENABLE" },
32
+ { no: 1, name: "NODE_METRICS_MINIMAL" },
33
+ { no: 2, name: "NODE_METRICS_NONE" },
34
+ ]);
9
35
 
10
36
  /**
11
37
  * Enumeration of possible channel positions.
@@ -6421,9 +6447,9 @@ export class TestCardVideoConfiguration extends Message<TestCardVideoConfigurati
6421
6447
  sourceName = "";
6422
6448
 
6423
6449
  /**
6424
- * @generated from field: int32 number_of_frames = 4;
6450
+ * @generated from field: norsk.api.common.UInt32OrInfinity number_of_frames = 4;
6425
6451
  */
6426
- numberOfFrames = 0;
6452
+ numberOfFrames?: UInt32OrInfinity;
6427
6453
 
6428
6454
  /**
6429
6455
  * @generated from field: bool realtime = 5;
@@ -6446,7 +6472,7 @@ export class TestCardVideoConfiguration extends Message<TestCardVideoConfigurati
6446
6472
  { no: 1, name: "resolution", kind: "message", T: Resolution },
6447
6473
  { no: 2, name: "frame_rate", kind: "message", T: FrameRate },
6448
6474
  { no: 3, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
6449
- { no: 4, name: "number_of_frames", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
6475
+ { no: 4, name: "number_of_frames", kind: "message", T: UInt32OrInfinity },
6450
6476
  { no: 5, name: "realtime", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
6451
6477
  { no: 6, name: "pattern", kind: "enum", T: proto3.getEnumType(TestCardPattern) },
6452
6478
  ]);
@@ -6811,17 +6837,22 @@ export class DeltacastInputConfiguration extends Message<DeltacastInputConfigura
6811
6837
  deviceId = 0;
6812
6838
 
6813
6839
  /**
6814
- * @generated from field: uint32 channel_index = 4;
6840
+ * @generated from field: bool capture_video = 4;
6841
+ */
6842
+ captureVideo = false;
6843
+
6844
+ /**
6845
+ * @generated from field: uint32 channel_index = 5;
6815
6846
  */
6816
6847
  channelIndex = 0;
6817
6848
 
6818
6849
  /**
6819
- * @generated from field: uint32 audio_channel_mask = 5;
6850
+ * @generated from field: uint32 audio_channel_mask = 6;
6820
6851
  */
6821
6852
  audioChannelMask = 0;
6822
6853
 
6823
6854
  /**
6824
- * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 6;
6855
+ * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 7;
6825
6856
  */
6826
6857
  statsSampling?: StreamStatisticsSampling;
6827
6858
 
@@ -6836,9 +6867,10 @@ export class DeltacastInputConfiguration extends Message<DeltacastInputConfigura
6836
6867
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
6837
6868
  { no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
6838
6869
  { 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 },
6870
+ { no: 4, name: "capture_video", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
6871
+ { no: 5, name: "channel_index", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
6872
+ { no: 6, name: "audio_channel_mask", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
6873
+ { no: 7, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
6842
6874
  ]);
6843
6875
 
6844
6876
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeltacastInputConfiguration {
@@ -7370,6 +7402,18 @@ export class FileMp4InputMessage extends Message<FileMp4InputMessage> {
7370
7402
  */
7371
7403
  value: Empty;
7372
7404
  case: "pause";
7405
+ } | {
7406
+ /**
7407
+ * @generated from field: norsk.api.media.FileMp4InputSeek seek = 6;
7408
+ */
7409
+ value: FileMp4InputSeek;
7410
+ case: "seek";
7411
+ } | {
7412
+ /**
7413
+ * @generated from field: norsk.api.media.FileMp4InputPlayUntil playUntil = 7;
7414
+ */
7415
+ value: FileMp4InputPlayUntil;
7416
+ case: "playUntil";
7373
7417
  } | { case: undefined; value?: undefined } = { case: undefined };
7374
7418
 
7375
7419
  constructor(data?: PartialMessage<FileMp4InputMessage>) {
@@ -7385,6 +7429,8 @@ export class FileMp4InputMessage extends Message<FileMp4InputMessage> {
7385
7429
  { no: 3, name: "update_config", kind: "message", T: FileMp4InputConfigurationUpdate, oneof: "message" },
7386
7430
  { no: 4, name: "play", kind: "message", T: Empty, oneof: "message" },
7387
7431
  { no: 5, name: "pause", kind: "message", T: Empty, oneof: "message" },
7432
+ { no: 6, name: "seek", kind: "message", T: FileMp4InputSeek, oneof: "message" },
7433
+ { no: 7, name: "playUntil", kind: "message", T: FileMp4InputPlayUntil, oneof: "message" },
7388
7434
  ]);
7389
7435
 
7390
7436
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4InputMessage {
@@ -7404,6 +7450,80 @@ export class FileMp4InputMessage extends Message<FileMp4InputMessage> {
7404
7450
  }
7405
7451
  }
7406
7452
 
7453
+ /**
7454
+ * @generated from message norsk.api.media.FileMp4InputSeek
7455
+ */
7456
+ export class FileMp4InputSeek extends Message<FileMp4InputSeek> {
7457
+ /**
7458
+ * @generated from field: uint32 offset_ms = 1;
7459
+ */
7460
+ offsetMs = 0;
7461
+
7462
+ constructor(data?: PartialMessage<FileMp4InputSeek>) {
7463
+ super();
7464
+ proto3.util.initPartial(data, this);
7465
+ }
7466
+
7467
+ static readonly runtime = proto3;
7468
+ static readonly typeName = "norsk.api.media.FileMp4InputSeek";
7469
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
7470
+ { no: 1, name: "offset_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
7471
+ ]);
7472
+
7473
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4InputSeek {
7474
+ return new FileMp4InputSeek().fromBinary(bytes, options);
7475
+ }
7476
+
7477
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileMp4InputSeek {
7478
+ return new FileMp4InputSeek().fromJson(jsonValue, options);
7479
+ }
7480
+
7481
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileMp4InputSeek {
7482
+ return new FileMp4InputSeek().fromJsonString(jsonString, options);
7483
+ }
7484
+
7485
+ static equals(a: FileMp4InputSeek | PlainMessage<FileMp4InputSeek> | undefined, b: FileMp4InputSeek | PlainMessage<FileMp4InputSeek> | undefined): boolean {
7486
+ return proto3.util.equals(FileMp4InputSeek, a, b);
7487
+ }
7488
+ }
7489
+
7490
+ /**
7491
+ * @generated from message norsk.api.media.FileMp4InputPlayUntil
7492
+ */
7493
+ export class FileMp4InputPlayUntil extends Message<FileMp4InputPlayUntil> {
7494
+ /**
7495
+ * @generated from field: uint32 offset_ms = 1;
7496
+ */
7497
+ offsetMs = 0;
7498
+
7499
+ constructor(data?: PartialMessage<FileMp4InputPlayUntil>) {
7500
+ super();
7501
+ proto3.util.initPartial(data, this);
7502
+ }
7503
+
7504
+ static readonly runtime = proto3;
7505
+ static readonly typeName = "norsk.api.media.FileMp4InputPlayUntil";
7506
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
7507
+ { no: 1, name: "offset_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
7508
+ ]);
7509
+
7510
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4InputPlayUntil {
7511
+ return new FileMp4InputPlayUntil().fromBinary(bytes, options);
7512
+ }
7513
+
7514
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileMp4InputPlayUntil {
7515
+ return new FileMp4InputPlayUntil().fromJson(jsonValue, options);
7516
+ }
7517
+
7518
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileMp4InputPlayUntil {
7519
+ return new FileMp4InputPlayUntil().fromJsonString(jsonString, options);
7520
+ }
7521
+
7522
+ static equals(a: FileMp4InputPlayUntil | PlainMessage<FileMp4InputPlayUntil> | undefined, b: FileMp4InputPlayUntil | PlainMessage<FileMp4InputPlayUntil> | undefined): boolean {
7523
+ return proto3.util.equals(FileMp4InputPlayUntil, a, b);
7524
+ }
7525
+ }
7526
+
7407
7527
  /**
7408
7528
  * @generated from message norsk.api.media.FileMp4InputStatus
7409
7529
  */
@@ -7454,11 +7574,23 @@ export enum FileMp4InputStatus_State {
7454
7574
  * @generated from enum value: INPUT_STATUS_EOF = 1;
7455
7575
  */
7456
7576
  INPUT_STATUS_EOF = 1,
7577
+
7578
+ /**
7579
+ * @generated from enum value: INPUT_STATUS_EOF_LOOPING = 2;
7580
+ */
7581
+ INPUT_STATUS_EOF_LOOPING = 2,
7582
+
7583
+ /**
7584
+ * @generated from enum value: INPUT_STATUS_STOP_POSITION = 3;
7585
+ */
7586
+ INPUT_STATUS_STOP_POSITION = 3,
7457
7587
  }
7458
7588
  // Retrieve enum metadata with: proto3.getEnumType(FileMp4InputStatus_State)
7459
7589
  proto3.util.setEnumType(FileMp4InputStatus_State, "norsk.api.media.FileMp4InputStatus.State", [
7460
7590
  { no: 0, name: "INPUT_STATUS_UNKNOWN" },
7461
7591
  { no: 1, name: "INPUT_STATUS_EOF" },
7592
+ { no: 2, name: "INPUT_STATUS_EOF_LOOPING" },
7593
+ { no: 3, name: "INPUT_STATUS_STOP_POSITION" },
7462
7594
  ]);
7463
7595
 
7464
7596
  /**
@@ -10440,6 +10572,16 @@ export class AudioBuildMultichannelConfiguration extends Message<AudioBuildMulti
10440
10572
  */
10441
10573
  sampleRate = SampleRate.RATE_8000;
10442
10574
 
10575
+ /**
10576
+ * @generated from field: norsk.api.media.NodeMetricsMode metrics = 9;
10577
+ */
10578
+ metrics = NodeMetricsMode.NODE_METRICS_ENABLE;
10579
+
10580
+ /**
10581
+ * @generated from field: norsk.api.media.SampleFormat sampleFormat = 10;
10582
+ */
10583
+ sampleFormat = SampleFormat.S16;
10584
+
10443
10585
  constructor(data?: PartialMessage<AudioBuildMultichannelConfiguration>) {
10444
10586
  super();
10445
10587
  proto3.util.initPartial(data, this);
@@ -10456,6 +10598,8 @@ export class AudioBuildMultichannelConfiguration extends Message<AudioBuildMulti
10456
10598
  { no: 6, name: "channel_layout", kind: "message", T: ChannelLayout },
10457
10599
  { no: 7, name: "channel_list", kind: "message", T: StreamKey, repeated: true },
10458
10600
  { no: 8, name: "sample_rate", kind: "enum", T: proto3.getEnumType(SampleRate) },
10601
+ { no: 9, name: "metrics", kind: "enum", T: proto3.getEnumType(NodeMetricsMode) },
10602
+ { no: 10, name: "sampleFormat", kind: "enum", T: proto3.getEnumType(SampleFormat) },
10459
10603
  ]);
10460
10604
 
10461
10605
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioBuildMultichannelConfiguration {
@@ -10660,6 +10804,11 @@ export class AudioSplitMultichannelConfiguration extends Message<AudioSplitMulti
10660
10804
  */
10661
10805
  outputRenditionName?: RenditionName;
10662
10806
 
10807
+ /**
10808
+ * @generated from field: norsk.api.media.NodeMetricsMode metrics = 6;
10809
+ */
10810
+ metrics = NodeMetricsMode.NODE_METRICS_ENABLE;
10811
+
10663
10812
  constructor(data?: PartialMessage<AudioSplitMultichannelConfiguration>) {
10664
10813
  super();
10665
10814
  proto3.util.initPartial(data, this);
@@ -10673,6 +10822,7 @@ export class AudioSplitMultichannelConfiguration extends Message<AudioSplitMulti
10673
10822
  { no: 3, name: "output_source_name", kind: "message", T: SourceName },
10674
10823
  { no: 4, name: "output_program_number", kind: "message", T: ProgramNumber },
10675
10824
  { no: 5, name: "output_rendition_name", kind: "message", T: RenditionName },
10825
+ { no: 6, name: "metrics", kind: "enum", T: proto3.getEnumType(NodeMetricsMode) },
10676
10826
  ]);
10677
10827
 
10678
10828
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioSplitMultichannelConfiguration {
@@ -11127,6 +11277,11 @@ export class CmafVideoConfiguration extends Message<CmafVideoConfiguration> {
11127
11277
  */
11128
11278
  name?: OptionalString;
11129
11279
 
11280
+ /**
11281
+ * @generated from field: bool pdt_every_segment = 12;
11282
+ */
11283
+ pdtEverySegment = false;
11284
+
11130
11285
  constructor(data?: PartialMessage<CmafVideoConfiguration>) {
11131
11286
  super();
11132
11287
  proto3.util.initPartial(data, this);
@@ -11145,6 +11300,7 @@ export class CmafVideoConfiguration extends Message<CmafVideoConfiguration> {
11145
11300
  { no: 9, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11146
11301
  { no: 10, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
11147
11302
  { no: 11, name: "name", kind: "message", T: OptionalString },
11303
+ { no: 12, name: "pdt_every_segment", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
11148
11304
  ]);
11149
11305
 
11150
11306
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafVideoConfiguration {
@@ -11276,6 +11432,11 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
11276
11432
  */
11277
11433
  name?: OptionalString;
11278
11434
 
11435
+ /**
11436
+ * @generated from field: bool pdt_every_segment = 10;
11437
+ */
11438
+ pdtEverySegment = false;
11439
+
11279
11440
  constructor(data?: PartialMessage<HlsTsVideoConfiguration>) {
11280
11441
  super();
11281
11442
  proto3.util.initPartial(data, this);
@@ -11292,6 +11453,7 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
11292
11453
  { no: 7, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11293
11454
  { no: 8, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
11294
11455
  { no: 9, name: "name", kind: "message", T: OptionalString },
11456
+ { no: 10, name: "pdt_every_segment", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
11295
11457
  ]);
11296
11458
 
11297
11459
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsVideoConfiguration {
@@ -11433,6 +11595,11 @@ export class CmafAudioConfiguration extends Message<CmafAudioConfiguration> {
11433
11595
  */
11434
11596
  name?: OptionalString;
11435
11597
 
11598
+ /**
11599
+ * @generated from field: bool pdt_every_segment = 13;
11600
+ */
11601
+ pdtEverySegment = false;
11602
+
11436
11603
  constructor(data?: PartialMessage<CmafAudioConfiguration>) {
11437
11604
  super();
11438
11605
  proto3.util.initPartial(data, this);
@@ -11451,6 +11618,7 @@ export class CmafAudioConfiguration extends Message<CmafAudioConfiguration> {
11451
11618
  { no: 10, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11452
11619
  { no: 11, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
11453
11620
  { no: 12, name: "name", kind: "message", T: OptionalString },
11621
+ { no: 13, name: "pdt_every_segment", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
11454
11622
  ]);
11455
11623
 
11456
11624
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafAudioConfiguration {
@@ -11582,6 +11750,11 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
11582
11750
  */
11583
11751
  name?: OptionalString;
11584
11752
 
11753
+ /**
11754
+ * @generated from field: bool pdt_every_segment = 10;
11755
+ */
11756
+ pdtEverySegment = false;
11757
+
11585
11758
  constructor(data?: PartialMessage<HlsTsAudioConfiguration>) {
11586
11759
  super();
11587
11760
  proto3.util.initPartial(data, this);
@@ -11598,6 +11771,7 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
11598
11771
  { no: 7, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11599
11772
  { no: 8, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
11600
11773
  { no: 9, name: "name", kind: "message", T: OptionalString },
11774
+ { no: 10, name: "pdt_every_segment", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
11601
11775
  ]);
11602
11776
 
11603
11777
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsAudioConfiguration {
@@ -11705,6 +11879,11 @@ export class CmafWebVttConfiguration extends Message<CmafWebVttConfiguration> {
11705
11879
  */
11706
11880
  name?: OptionalString;
11707
11881
 
11882
+ /**
11883
+ * @generated from field: bool pdt_every_segment = 10;
11884
+ */
11885
+ pdtEverySegment = false;
11886
+
11708
11887
  constructor(data?: PartialMessage<CmafWebVttConfiguration>) {
11709
11888
  super();
11710
11889
  proto3.util.initPartial(data, this);
@@ -11717,6 +11896,7 @@ export class CmafWebVttConfiguration extends Message<CmafWebVttConfiguration> {
11717
11896
  { no: 2, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
11718
11897
  { no: 5, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
11719
11898
  { no: 9, name: "name", kind: "message", T: OptionalString },
11899
+ { no: 10, name: "pdt_every_segment", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
11720
11900
  ]);
11721
11901
 
11722
11902
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafWebVttConfiguration {
@@ -12754,6 +12934,11 @@ export class HlsTsCombinedPushConfiguration extends Message<HlsTsCombinedPushCon
12754
12934
  */
12755
12935
  name?: OptionalString;
12756
12936
 
12937
+ /**
12938
+ * @generated from field: bool pdt_every_segment = 10;
12939
+ */
12940
+ pdtEverySegment = false;
12941
+
12757
12942
  constructor(data?: PartialMessage<HlsTsCombinedPushConfiguration>) {
12758
12943
  super();
12759
12944
  proto3.util.initPartial(data, this);
@@ -12769,6 +12954,7 @@ export class HlsTsCombinedPushConfiguration extends Message<HlsTsCombinedPushCon
12769
12954
  { no: 6, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
12770
12955
  { no: 7, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
12771
12956
  { no: 9, name: "name", kind: "message", T: OptionalString },
12957
+ { no: 10, name: "pdt_every_segment", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
12772
12958
  ]);
12773
12959
 
12774
12960
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsCombinedPushConfiguration {
@@ -12837,6 +13023,20 @@ export class HlsPushDestination extends Message<HlsPushDestination> {
12837
13023
  */
12838
13024
  partHoldBackSeconds = 0;
12839
13025
 
13026
+ /**
13027
+ * whether the server supports gzip compression on PUT/POST requests
13028
+ *
13029
+ * @generated from field: bool supports_gzip = 10;
13030
+ */
13031
+ supportsGzip = false;
13032
+
13033
+ /**
13034
+ * Whether to use TLS or plain TCP transport, by default TLS used if port is 443
13035
+ *
13036
+ * @generated from field: norsk.api.common.OptionalBool tls_transport = 11;
13037
+ */
13038
+ tlsTransport?: OptionalBool;
13039
+
12840
13040
  constructor(data?: PartialMessage<HlsPushDestination>) {
12841
13041
  super();
12842
13042
  proto3.util.initPartial(data, this);
@@ -12854,6 +13054,8 @@ export class HlsPushDestination extends Message<HlsPushDestination> {
12854
13054
  { no: 7, name: "default_segment_count", kind: "message", T: OptionalInt },
12855
13055
  { no: 8, name: "hold_back_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
12856
13056
  { no: 9, name: "part_hold_back_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
13057
+ { no: 10, name: "supports_gzip", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
13058
+ { no: 11, name: "tls_transport", kind: "message", T: OptionalBool },
12857
13059
  ]);
12858
13060
 
12859
13061
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsPushDestination {
@@ -25921,6 +26123,49 @@ export class MediaStoreRecorderConfiguration extends Message<MediaStoreRecorderC
25921
26123
  }
25922
26124
  }
25923
26125
 
26126
+ /**
26127
+ * @generated from message norsk.api.media.MediaStoreSnapshotConfiguration
26128
+ */
26129
+ export class MediaStoreSnapshotConfiguration extends Message<MediaStoreSnapshotConfiguration> {
26130
+ /**
26131
+ * @generated from field: string name = 1;
26132
+ */
26133
+ name = "";
26134
+
26135
+ /**
26136
+ * @generated from field: string path = 2;
26137
+ */
26138
+ path = "";
26139
+
26140
+ constructor(data?: PartialMessage<MediaStoreSnapshotConfiguration>) {
26141
+ super();
26142
+ proto3.util.initPartial(data, this);
26143
+ }
26144
+
26145
+ static readonly runtime = proto3;
26146
+ static readonly typeName = "norsk.api.media.MediaStoreSnapshotConfiguration";
26147
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
26148
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26149
+ { no: 2, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26150
+ ]);
26151
+
26152
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreSnapshotConfiguration {
26153
+ return new MediaStoreSnapshotConfiguration().fromBinary(bytes, options);
26154
+ }
26155
+
26156
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreSnapshotConfiguration {
26157
+ return new MediaStoreSnapshotConfiguration().fromJson(jsonValue, options);
26158
+ }
26159
+
26160
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreSnapshotConfiguration {
26161
+ return new MediaStoreSnapshotConfiguration().fromJsonString(jsonString, options);
26162
+ }
26163
+
26164
+ static equals(a: MediaStoreSnapshotConfiguration | PlainMessage<MediaStoreSnapshotConfiguration> | undefined, b: MediaStoreSnapshotConfiguration | PlainMessage<MediaStoreSnapshotConfiguration> | undefined): boolean {
26165
+ return proto3.util.equals(MediaStoreSnapshotConfiguration, a, b);
26166
+ }
26167
+ }
26168
+
25924
26169
  /**
25925
26170
  * @generated from message norsk.api.media.StreamSelection
25926
26171
  */
@@ -25998,6 +26243,11 @@ export class SingleCut extends Message<SingleCut> {
25998
26243
  */
25999
26244
  sessionNum?: OptionalInt;
26000
26245
 
26246
+ /**
26247
+ * @generated from field: norsk.api.common.UInt32OrInfinity repeat_count = 7;
26248
+ */
26249
+ repeatCount?: UInt32OrInfinity;
26250
+
26001
26251
  constructor(data?: PartialMessage<SingleCut>) {
26002
26252
  super();
26003
26253
  proto3.util.initPartial(data, this);
@@ -26012,6 +26262,7 @@ export class SingleCut extends Message<SingleCut> {
26012
26262
  { no: 4, name: "duration_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
26013
26263
  { no: 5, name: "trim_partial_gops", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
26014
26264
  { no: 6, name: "session_num", kind: "message", T: OptionalInt },
26265
+ { no: 7, name: "repeat_count", kind: "message", T: UInt32OrInfinity },
26015
26266
  ]);
26016
26267
 
26017
26268
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SingleCut {
@@ -26032,9 +26283,9 @@ export class SingleCut extends Message<SingleCut> {
26032
26283
  }
26033
26284
 
26034
26285
  /**
26035
- * @generated from message norsk.api.media.MediaStoreCutRequest
26286
+ * @generated from message norsk.api.media.StartMediaStoreCut
26036
26287
  */
26037
- export class MediaStoreCutRequest extends Message<MediaStoreCutRequest> {
26288
+ export class StartMediaStoreCut extends Message<StartMediaStoreCut> {
26038
26289
  /**
26039
26290
  * @generated from field: string id = 1;
26040
26291
  */
@@ -26051,55 +26302,136 @@ export class MediaStoreCutRequest extends Message<MediaStoreCutRequest> {
26051
26302
  fileName = "";
26052
26303
 
26053
26304
  /**
26054
- * @generated from field: norsk.api.media.MediaStoreCutRequest.FileFormat file_format = 4;
26305
+ * @generated from field: norsk.api.media.StartMediaStoreCut.FileFormat file_format = 4;
26055
26306
  */
26056
- fileFormat = MediaStoreCutRequest_FileFormat.CUT_MP4;
26307
+ fileFormat = StartMediaStoreCut_FileFormat.CUT_MP4;
26057
26308
 
26058
- constructor(data?: PartialMessage<MediaStoreCutRequest>) {
26309
+ constructor(data?: PartialMessage<StartMediaStoreCut>) {
26059
26310
  super();
26060
26311
  proto3.util.initPartial(data, this);
26061
26312
  }
26062
26313
 
26063
26314
  static readonly runtime = proto3;
26064
- static readonly typeName = "norsk.api.media.MediaStoreCutRequest";
26315
+ static readonly typeName = "norsk.api.media.StartMediaStoreCut";
26065
26316
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
26066
26317
  { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26067
26318
  { no: 2, name: "cuts", kind: "message", T: SingleCut, repeated: true },
26068
26319
  { no: 3, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26069
- { no: 4, name: "file_format", kind: "enum", T: proto3.getEnumType(MediaStoreCutRequest_FileFormat) },
26320
+ { no: 4, name: "file_format", kind: "enum", T: proto3.getEnumType(StartMediaStoreCut_FileFormat) },
26070
26321
  ]);
26071
26322
 
26072
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreCutRequest {
26073
- return new MediaStoreCutRequest().fromBinary(bytes, options);
26323
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartMediaStoreCut {
26324
+ return new StartMediaStoreCut().fromBinary(bytes, options);
26074
26325
  }
26075
26326
 
26076
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreCutRequest {
26077
- return new MediaStoreCutRequest().fromJson(jsonValue, options);
26327
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartMediaStoreCut {
26328
+ return new StartMediaStoreCut().fromJson(jsonValue, options);
26078
26329
  }
26079
26330
 
26080
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreCutRequest {
26081
- return new MediaStoreCutRequest().fromJsonString(jsonString, options);
26331
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartMediaStoreCut {
26332
+ return new StartMediaStoreCut().fromJsonString(jsonString, options);
26082
26333
  }
26083
26334
 
26084
- static equals(a: MediaStoreCutRequest | PlainMessage<MediaStoreCutRequest> | undefined, b: MediaStoreCutRequest | PlainMessage<MediaStoreCutRequest> | undefined): boolean {
26085
- return proto3.util.equals(MediaStoreCutRequest, a, b);
26335
+ static equals(a: StartMediaStoreCut | PlainMessage<StartMediaStoreCut> | undefined, b: StartMediaStoreCut | PlainMessage<StartMediaStoreCut> | undefined): boolean {
26336
+ return proto3.util.equals(StartMediaStoreCut, a, b);
26086
26337
  }
26087
26338
  }
26088
26339
 
26089
26340
  /**
26090
- * @generated from enum norsk.api.media.MediaStoreCutRequest.FileFormat
26341
+ * @generated from enum norsk.api.media.StartMediaStoreCut.FileFormat
26091
26342
  */
26092
- export enum MediaStoreCutRequest_FileFormat {
26343
+ export enum StartMediaStoreCut_FileFormat {
26093
26344
  /**
26094
26345
  * @generated from enum value: CUT_MP4 = 0;
26095
26346
  */
26096
26347
  CUT_MP4 = 0,
26097
26348
  }
26098
- // Retrieve enum metadata with: proto3.getEnumType(MediaStoreCutRequest_FileFormat)
26099
- proto3.util.setEnumType(MediaStoreCutRequest_FileFormat, "norsk.api.media.MediaStoreCutRequest.FileFormat", [
26349
+ // Retrieve enum metadata with: proto3.getEnumType(StartMediaStoreCut_FileFormat)
26350
+ proto3.util.setEnumType(StartMediaStoreCut_FileFormat, "norsk.api.media.StartMediaStoreCut.FileFormat", [
26100
26351
  { no: 0, name: "CUT_MP4" },
26101
26352
  ]);
26102
26353
 
26354
+ /**
26355
+ * @generated from message norsk.api.media.CancelMediaStoreCut
26356
+ */
26357
+ export class CancelMediaStoreCut extends Message<CancelMediaStoreCut> {
26358
+ constructor(data?: PartialMessage<CancelMediaStoreCut>) {
26359
+ super();
26360
+ proto3.util.initPartial(data, this);
26361
+ }
26362
+
26363
+ static readonly runtime = proto3;
26364
+ static readonly typeName = "norsk.api.media.CancelMediaStoreCut";
26365
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
26366
+ ]);
26367
+
26368
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CancelMediaStoreCut {
26369
+ return new CancelMediaStoreCut().fromBinary(bytes, options);
26370
+ }
26371
+
26372
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CancelMediaStoreCut {
26373
+ return new CancelMediaStoreCut().fromJson(jsonValue, options);
26374
+ }
26375
+
26376
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CancelMediaStoreCut {
26377
+ return new CancelMediaStoreCut().fromJsonString(jsonString, options);
26378
+ }
26379
+
26380
+ static equals(a: CancelMediaStoreCut | PlainMessage<CancelMediaStoreCut> | undefined, b: CancelMediaStoreCut | PlainMessage<CancelMediaStoreCut> | undefined): boolean {
26381
+ return proto3.util.equals(CancelMediaStoreCut, a, b);
26382
+ }
26383
+ }
26384
+
26385
+ /**
26386
+ * @generated from message norsk.api.media.MediaStoreCutRequest
26387
+ */
26388
+ export class MediaStoreCutRequest extends Message<MediaStoreCutRequest> {
26389
+ /**
26390
+ * @generated from oneof norsk.api.media.MediaStoreCutRequest.message
26391
+ */
26392
+ message: {
26393
+ /**
26394
+ * @generated from field: norsk.api.media.StartMediaStoreCut start_cut = 1;
26395
+ */
26396
+ value: StartMediaStoreCut;
26397
+ case: "startCut";
26398
+ } | {
26399
+ /**
26400
+ * @generated from field: norsk.api.media.CancelMediaStoreCut cancel_cut = 2;
26401
+ */
26402
+ value: CancelMediaStoreCut;
26403
+ case: "cancelCut";
26404
+ } | { case: undefined; value?: undefined } = { case: undefined };
26405
+
26406
+ constructor(data?: PartialMessage<MediaStoreCutRequest>) {
26407
+ super();
26408
+ proto3.util.initPartial(data, this);
26409
+ }
26410
+
26411
+ static readonly runtime = proto3;
26412
+ static readonly typeName = "norsk.api.media.MediaStoreCutRequest";
26413
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
26414
+ { no: 1, name: "start_cut", kind: "message", T: StartMediaStoreCut, oneof: "message" },
26415
+ { no: 2, name: "cancel_cut", kind: "message", T: CancelMediaStoreCut, oneof: "message" },
26416
+ ]);
26417
+
26418
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreCutRequest {
26419
+ return new MediaStoreCutRequest().fromBinary(bytes, options);
26420
+ }
26421
+
26422
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreCutRequest {
26423
+ return new MediaStoreCutRequest().fromJson(jsonValue, options);
26424
+ }
26425
+
26426
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreCutRequest {
26427
+ return new MediaStoreCutRequest().fromJsonString(jsonString, options);
26428
+ }
26429
+
26430
+ static equals(a: MediaStoreCutRequest | PlainMessage<MediaStoreCutRequest> | undefined, b: MediaStoreCutRequest | PlainMessage<MediaStoreCutRequest> | undefined): boolean {
26431
+ return proto3.util.equals(MediaStoreCutRequest, a, b);
26432
+ }
26433
+ }
26434
+
26103
26435
  /**
26104
26436
  * @generated from message norsk.api.media.Progress
26105
26437
  */
@@ -26281,6 +26613,269 @@ export class MediaStoreRecorderEvent extends Message<MediaStoreRecorderEvent> {
26281
26613
  }
26282
26614
  }
26283
26615
 
26616
+ /**
26617
+ * @generated from message norsk.api.media.MediaStoreSnapshotMessage
26618
+ */
26619
+ export class MediaStoreSnapshotMessage extends Message<MediaStoreSnapshotMessage> {
26620
+ /**
26621
+ * @generated from oneof norsk.api.media.MediaStoreSnapshotMessage.message
26622
+ */
26623
+ message: {
26624
+ /**
26625
+ * @generated from field: norsk.api.media.MediaStoreSnapshotConfiguration configuration = 1;
26626
+ */
26627
+ value: MediaStoreSnapshotConfiguration;
26628
+ case: "configuration";
26629
+ } | {
26630
+ /**
26631
+ * @generated from field: google.protobuf.Empty update = 2;
26632
+ */
26633
+ value: Empty;
26634
+ case: "update";
26635
+ } | { case: undefined; value?: undefined } = { case: undefined };
26636
+
26637
+ constructor(data?: PartialMessage<MediaStoreSnapshotMessage>) {
26638
+ super();
26639
+ proto3.util.initPartial(data, this);
26640
+ }
26641
+
26642
+ static readonly runtime = proto3;
26643
+ static readonly typeName = "norsk.api.media.MediaStoreSnapshotMessage";
26644
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
26645
+ { no: 1, name: "configuration", kind: "message", T: MediaStoreSnapshotConfiguration, oneof: "message" },
26646
+ { no: 2, name: "update", kind: "message", T: Empty, oneof: "message" },
26647
+ ]);
26648
+
26649
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreSnapshotMessage {
26650
+ return new MediaStoreSnapshotMessage().fromBinary(bytes, options);
26651
+ }
26652
+
26653
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreSnapshotMessage {
26654
+ return new MediaStoreSnapshotMessage().fromJson(jsonValue, options);
26655
+ }
26656
+
26657
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreSnapshotMessage {
26658
+ return new MediaStoreSnapshotMessage().fromJsonString(jsonString, options);
26659
+ }
26660
+
26661
+ static equals(a: MediaStoreSnapshotMessage | PlainMessage<MediaStoreSnapshotMessage> | undefined, b: MediaStoreSnapshotMessage | PlainMessage<MediaStoreSnapshotMessage> | undefined): boolean {
26662
+ return proto3.util.equals(MediaStoreSnapshotMessage, a, b);
26663
+ }
26664
+ }
26665
+
26666
+ /**
26667
+ * @generated from message norsk.api.media.MediaStoreSnapshotEvent
26668
+ */
26669
+ export class MediaStoreSnapshotEvent extends Message<MediaStoreSnapshotEvent> {
26670
+ /**
26671
+ * @generated from oneof norsk.api.media.MediaStoreSnapshotEvent.message
26672
+ */
26673
+ message: {
26674
+ /**
26675
+ * @generated from field: google.protobuf.Empty snapshot_loaded = 1;
26676
+ */
26677
+ value: Empty;
26678
+ case: "snapshotLoaded";
26679
+ } | {
26680
+ /**
26681
+ * @generated from field: google.protobuf.Empty snapshot_updated = 2;
26682
+ */
26683
+ value: Empty;
26684
+ case: "snapshotUpdated";
26685
+ } | {
26686
+ /**
26687
+ * @generated from field: google.protobuf.Empty snapshot_update_failed = 3;
26688
+ */
26689
+ value: Empty;
26690
+ case: "snapshotUpdateFailed";
26691
+ } | { case: undefined; value?: undefined } = { case: undefined };
26692
+
26693
+ constructor(data?: PartialMessage<MediaStoreSnapshotEvent>) {
26694
+ super();
26695
+ proto3.util.initPartial(data, this);
26696
+ }
26697
+
26698
+ static readonly runtime = proto3;
26699
+ static readonly typeName = "norsk.api.media.MediaStoreSnapshotEvent";
26700
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
26701
+ { no: 1, name: "snapshot_loaded", kind: "message", T: Empty, oneof: "message" },
26702
+ { no: 2, name: "snapshot_updated", kind: "message", T: Empty, oneof: "message" },
26703
+ { no: 3, name: "snapshot_update_failed", kind: "message", T: Empty, oneof: "message" },
26704
+ ]);
26705
+
26706
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreSnapshotEvent {
26707
+ return new MediaStoreSnapshotEvent().fromBinary(bytes, options);
26708
+ }
26709
+
26710
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreSnapshotEvent {
26711
+ return new MediaStoreSnapshotEvent().fromJson(jsonValue, options);
26712
+ }
26713
+
26714
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreSnapshotEvent {
26715
+ return new MediaStoreSnapshotEvent().fromJsonString(jsonString, options);
26716
+ }
26717
+
26718
+ static equals(a: MediaStoreSnapshotEvent | PlainMessage<MediaStoreSnapshotEvent> | undefined, b: MediaStoreSnapshotEvent | PlainMessage<MediaStoreSnapshotEvent> | undefined): boolean {
26719
+ return proto3.util.equals(MediaStoreSnapshotEvent, a, b);
26720
+ }
26721
+ }
26722
+
26723
+ /**
26724
+ * If the store pre-exists and the hash matches, use it
26725
+ * If the hash doesn't match, then either import or error
26726
+ *
26727
+ * @generated from message norsk.api.media.MediaStoreAssetFileWithHash
26728
+ */
26729
+ export class MediaStoreAssetFileWithHash extends Message<MediaStoreAssetFileWithHash> {
26730
+ /**
26731
+ * @generated from field: string file = 1;
26732
+ */
26733
+ file = "";
26734
+
26735
+ /**
26736
+ * @generated from field: string hash = 2;
26737
+ */
26738
+ hash = "";
26739
+
26740
+ /**
26741
+ * @generated from field: bool import_if_needed = 3;
26742
+ */
26743
+ importIfNeeded = false;
26744
+
26745
+ constructor(data?: PartialMessage<MediaStoreAssetFileWithHash>) {
26746
+ super();
26747
+ proto3.util.initPartial(data, this);
26748
+ }
26749
+
26750
+ static readonly runtime = proto3;
26751
+ static readonly typeName = "norsk.api.media.MediaStoreAssetFileWithHash";
26752
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
26753
+ { no: 1, name: "file", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26754
+ { no: 2, name: "hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26755
+ { no: 3, name: "import_if_needed", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
26756
+ ]);
26757
+
26758
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreAssetFileWithHash {
26759
+ return new MediaStoreAssetFileWithHash().fromBinary(bytes, options);
26760
+ }
26761
+
26762
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreAssetFileWithHash {
26763
+ return new MediaStoreAssetFileWithHash().fromJson(jsonValue, options);
26764
+ }
26765
+
26766
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreAssetFileWithHash {
26767
+ return new MediaStoreAssetFileWithHash().fromJsonString(jsonString, options);
26768
+ }
26769
+
26770
+ static equals(a: MediaStoreAssetFileWithHash | PlainMessage<MediaStoreAssetFileWithHash> | undefined, b: MediaStoreAssetFileWithHash | PlainMessage<MediaStoreAssetFileWithHash> | undefined): boolean {
26771
+ return proto3.util.equals(MediaStoreAssetFileWithHash, a, b);
26772
+ }
26773
+ }
26774
+
26775
+ /**
26776
+ * As above, but calculate the hash (sha256sum)
26777
+ *
26778
+ * @generated from message norsk.api.media.MediaStoreAssetFile
26779
+ */
26780
+ export class MediaStoreAssetFile extends Message<MediaStoreAssetFile> {
26781
+ /**
26782
+ * @generated from field: string file = 1;
26783
+ */
26784
+ file = "";
26785
+
26786
+ /**
26787
+ * @generated from field: bool import_if_needed = 2;
26788
+ */
26789
+ importIfNeeded = false;
26790
+
26791
+ constructor(data?: PartialMessage<MediaStoreAssetFile>) {
26792
+ super();
26793
+ proto3.util.initPartial(data, this);
26794
+ }
26795
+
26796
+ static readonly runtime = proto3;
26797
+ static readonly typeName = "norsk.api.media.MediaStoreAssetFile";
26798
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
26799
+ { no: 1, name: "file", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26800
+ { no: 2, name: "import_if_needed", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
26801
+ ]);
26802
+
26803
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreAssetFile {
26804
+ return new MediaStoreAssetFile().fromBinary(bytes, options);
26805
+ }
26806
+
26807
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreAssetFile {
26808
+ return new MediaStoreAssetFile().fromJson(jsonValue, options);
26809
+ }
26810
+
26811
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreAssetFile {
26812
+ return new MediaStoreAssetFile().fromJsonString(jsonString, options);
26813
+ }
26814
+
26815
+ static equals(a: MediaStoreAssetFile | PlainMessage<MediaStoreAssetFile> | undefined, b: MediaStoreAssetFile | PlainMessage<MediaStoreAssetFile> | undefined): boolean {
26816
+ return proto3.util.equals(MediaStoreAssetFile, a, b);
26817
+ }
26818
+ }
26819
+
26820
+ /**
26821
+ * @generated from message norsk.api.media.MediaStoreAssetSource
26822
+ */
26823
+ export class MediaStoreAssetSource extends Message<MediaStoreAssetSource> {
26824
+ /**
26825
+ * @generated from oneof norsk.api.media.MediaStoreAssetSource.message
26826
+ */
26827
+ message: {
26828
+ /**
26829
+ * Load a pre-existing asset - check there's a hash but that's all
26830
+ *
26831
+ * @generated from field: google.protobuf.Empty no_load = 1;
26832
+ */
26833
+ value: Empty;
26834
+ case: "noLoad";
26835
+ } | {
26836
+ /**
26837
+ * @generated from field: norsk.api.media.MediaStoreAssetFileWithHash file_with_hash = 2;
26838
+ */
26839
+ value: MediaStoreAssetFileWithHash;
26840
+ case: "fileWithHash";
26841
+ } | {
26842
+ /**
26843
+ * @generated from field: norsk.api.media.MediaStoreAssetFile file = 3;
26844
+ */
26845
+ value: MediaStoreAssetFile;
26846
+ case: "file";
26847
+ } | { case: undefined; value?: undefined } = { case: undefined };
26848
+
26849
+ constructor(data?: PartialMessage<MediaStoreAssetSource>) {
26850
+ super();
26851
+ proto3.util.initPartial(data, this);
26852
+ }
26853
+
26854
+ static readonly runtime = proto3;
26855
+ static readonly typeName = "norsk.api.media.MediaStoreAssetSource";
26856
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
26857
+ { no: 1, name: "no_load", kind: "message", T: Empty, oneof: "message" },
26858
+ { no: 2, name: "file_with_hash", kind: "message", T: MediaStoreAssetFileWithHash, oneof: "message" },
26859
+ { no: 3, name: "file", kind: "message", T: MediaStoreAssetFile, oneof: "message" },
26860
+ ]);
26861
+
26862
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreAssetSource {
26863
+ return new MediaStoreAssetSource().fromBinary(bytes, options);
26864
+ }
26865
+
26866
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaStoreAssetSource {
26867
+ return new MediaStoreAssetSource().fromJson(jsonValue, options);
26868
+ }
26869
+
26870
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaStoreAssetSource {
26871
+ return new MediaStoreAssetSource().fromJsonString(jsonString, options);
26872
+ }
26873
+
26874
+ static equals(a: MediaStoreAssetSource | PlainMessage<MediaStoreAssetSource> | undefined, b: MediaStoreAssetSource | PlainMessage<MediaStoreAssetSource> | undefined): boolean {
26875
+ return proto3.util.equals(MediaStoreAssetSource, a, b);
26876
+ }
26877
+ }
26878
+
26284
26879
  /**
26285
26880
  * @generated from message norsk.api.media.MediaStoreAssetSettings
26286
26881
  */
@@ -26291,9 +26886,9 @@ export class MediaStoreAssetSettings extends Message<MediaStoreAssetSettings> {
26291
26886
  mediaStoreName = "";
26292
26887
 
26293
26888
  /**
26294
- * @generated from field: string file_name = 2;
26889
+ * @generated from field: norsk.api.media.MediaStoreAssetSource asset_source = 2;
26295
26890
  */
26296
- fileName = "";
26891
+ assetSource?: MediaStoreAssetSource;
26297
26892
 
26298
26893
  /**
26299
26894
  * @generated from field: string path = 3;
@@ -26309,7 +26904,7 @@ export class MediaStoreAssetSettings extends Message<MediaStoreAssetSettings> {
26309
26904
  static readonly typeName = "norsk.api.media.MediaStoreAssetSettings";
26310
26905
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
26311
26906
  { no: 1, name: "media_store_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26312
- { no: 2, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26907
+ { no: 2, name: "asset_source", kind: "message", T: MediaStoreAssetSource },
26313
26908
  { no: 3, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26314
26909
  ]);
26315
26910
 
@@ -26442,6 +27037,12 @@ export class MediaStoreCutEvent extends Message<MediaStoreCutEvent> {
26442
27037
  */
26443
27038
  value: MediaStoreCutComplete;
26444
27039
  case: "cutComplete";
27040
+ } | {
27041
+ /**
27042
+ * @generated from field: google.protobuf.Empty cut_cancelled = 3;
27043
+ */
27044
+ value: Empty;
27045
+ case: "cutCancelled";
26445
27046
  } | { case: undefined; value?: undefined } = { case: undefined };
26446
27047
 
26447
27048
  constructor(data?: PartialMessage<MediaStoreCutEvent>) {
@@ -26454,6 +27055,7 @@ export class MediaStoreCutEvent extends Message<MediaStoreCutEvent> {
26454
27055
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
26455
27056
  { no: 1, name: "cut_progress", kind: "message", T: Progress, oneof: "message" },
26456
27057
  { no: 2, name: "cut_complete", kind: "message", T: MediaStoreCutComplete, oneof: "message" },
27058
+ { no: 3, name: "cut_cancelled", kind: "message", T: Empty, oneof: "message" },
26457
27059
  ]);
26458
27060
 
26459
27061
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaStoreCutEvent {