@norskvideo/norsk-api 1.0.345 → 1.0.346

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 } from "@bufbuild/protobuf";
8
- import { CurrentLoad, Log, Version } from "./shared/common_pb.js";
8
+ import { CurrentLoad, Log, OptionalBool, OptionalInt, OptionalInt64, OptionalString, Version } from "./shared/common_pb.js";
9
9
 
10
10
  /**
11
11
  * Enumeration of possible channel positions.
@@ -1652,282 +1652,6 @@ proto3.util.setEnumType(ContextType, "norsk.api.media.ContextType", [
1652
1652
  { no: 4, name: "CONTEXT_TYPE_SINGLE_RENDITION" },
1653
1653
  ]);
1654
1654
 
1655
- /**
1656
- * The canonical error codes for gRPC APIs.
1657
- *
1658
- *
1659
- * Sometimes multiple error codes may apply. Services should return
1660
- * the most specific error code that applies. For example, prefer
1661
- * `OUT_OF_RANGE` over `FAILED_PRECONDITION` if both codes apply.
1662
- * Similarly prefer `NOT_FOUND` or `ALREADY_EXISTS` over `FAILED_PRECONDITION`.
1663
- *
1664
- * @generated from enum norsk.api.media.Code
1665
- */
1666
- export enum Code {
1667
- /**
1668
- * Not an error; returned on success
1669
- *
1670
- * HTTP Mapping: 200 OK
1671
- *
1672
- * @generated from enum value: OK = 0;
1673
- */
1674
- OK = 0,
1675
-
1676
- /**
1677
- * The operation was cancelled, typically by the caller.
1678
- *
1679
- * HTTP Mapping: 499 Client Closed Request
1680
- *
1681
- * @generated from enum value: CANCELLED = 1;
1682
- */
1683
- CANCELLED = 1,
1684
-
1685
- /**
1686
- * Unknown error. For example, this error may be returned when
1687
- * a `Status` value received from another address space belongs to
1688
- * an error space that is not known in this address space. Also
1689
- * errors raised by APIs that do not return enough error information
1690
- * may be converted to this error.
1691
- *
1692
- * HTTP Mapping: 500 Internal Server Error
1693
- *
1694
- * @generated from enum value: UNKNOWN_ERROR = 2;
1695
- */
1696
- UNKNOWN_ERROR = 2,
1697
-
1698
- /**
1699
- * The client specified an invalid argument. Note that this differs
1700
- * from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments
1701
- * that are problematic regardless of the state of the system
1702
- * (e.g., a malformed file name).
1703
- *
1704
- * HTTP Mapping: 400 Bad Request
1705
- *
1706
- * @generated from enum value: INVALID_ARGUMENT = 3;
1707
- */
1708
- INVALID_ARGUMENT = 3,
1709
-
1710
- /**
1711
- * The deadline expired before the operation could complete. For operations
1712
- * that change the state of the system, this error may be returned
1713
- * even if the operation has completed successfully. For example, a
1714
- * successful response from a server could have been delayed long
1715
- * enough for the deadline to expire.
1716
- *
1717
- * HTTP Mapping: 504 Gateway Timeout
1718
- *
1719
- * @generated from enum value: DEADLINE_EXCEEDED = 4;
1720
- */
1721
- DEADLINE_EXCEEDED = 4,
1722
-
1723
- /**
1724
- * Some requested entity (e.g., file or directory) was not found.
1725
- *
1726
- * Note to server developers: if a request is denied for an entire class
1727
- * of users, such as gradual feature rollout or undocumented whitelist,
1728
- * `NOT_FOUND` may be used. If a request is denied for some users within
1729
- * a class of users, such as user-based access control, `PERMISSION_DENIED`
1730
- * must be used.
1731
- *
1732
- * HTTP Mapping: 404 Not Found
1733
- *
1734
- * @generated from enum value: NOT_FOUND = 5;
1735
- */
1736
- NOT_FOUND = 5,
1737
-
1738
- /**
1739
- * The entity that a client attempted to create (e.g., file or directory)
1740
- * already exists.
1741
- *
1742
- * HTTP Mapping: 409 Conflict
1743
- *
1744
- * @generated from enum value: ALREADY_EXISTS = 6;
1745
- */
1746
- ALREADY_EXISTS = 6,
1747
-
1748
- /**
1749
- * The caller does not have permission to execute the specified
1750
- * operation. `PERMISSION_DENIED` must not be used for rejections
1751
- * caused by exhausting some resource (use `RESOURCE_EXHAUSTED`
1752
- * instead for those errors). `PERMISSION_DENIED` must not be
1753
- * used if the caller can not be identified (use `UNAUTHENTICATED`
1754
- * instead for those errors). This error code does not imply the
1755
- * request is valid or the requested entity exists or satisfies
1756
- * other pre-conditions.
1757
- *
1758
- * HTTP Mapping: 403 Forbidden
1759
- *
1760
- * @generated from enum value: PERMISSION_DENIED = 7;
1761
- */
1762
- PERMISSION_DENIED = 7,
1763
-
1764
- /**
1765
- * The request does not have valid authentication credentials for the
1766
- * operation.
1767
- *
1768
- * HTTP Mapping: 401 Unauthorized
1769
- *
1770
- * @generated from enum value: UNAUTHENTICATED = 16;
1771
- */
1772
- UNAUTHENTICATED = 16,
1773
-
1774
- /**
1775
- * Some resource has been exhausted, perhaps a per-user quota, or
1776
- * perhaps the entire file system is out of space.
1777
- *
1778
- * HTTP Mapping: 429 Too Many Requests
1779
- *
1780
- * @generated from enum value: RESOURCE_EXHAUSTED = 8;
1781
- */
1782
- RESOURCE_EXHAUSTED = 8,
1783
-
1784
- /**
1785
- * The operation was rejected because the system is not in a state
1786
- * required for the operation's execution. For example, the directory
1787
- * to be deleted is non-empty, an rmdir operation is applied to
1788
- * a non-directory, etc.
1789
- *
1790
- * Service implementors can use the following guidelines to decide
1791
- * between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`:
1792
- * (a) Use `UNAVAILABLE` if the client can retry just the failing call.
1793
- * (b) Use `ABORTED` if the client should retry at a higher level
1794
- * (e.g., when a client-specified test-and-set fails, indicating the
1795
- * client should restart a read-modify-write sequence).
1796
- * (c) Use `FAILED_PRECONDITION` if the client should not retry until
1797
- * the system state has been explicitly fixed. E.g., if an "rmdir"
1798
- * fails because the directory is non-empty, `FAILED_PRECONDITION`
1799
- * should be returned since the client should not retry unless
1800
- * the files are deleted from the directory.
1801
- *
1802
- * HTTP Mapping: 400 Bad Request
1803
- *
1804
- * @generated from enum value: FAILED_PRECONDITION = 9;
1805
- */
1806
- FAILED_PRECONDITION = 9,
1807
-
1808
- /**
1809
- * The operation was aborted, typically due to a concurrency issue such as
1810
- * a sequencer check failure or transaction abort.
1811
- *
1812
- * See the guidelines above for deciding between `FAILED_PRECONDITION`,
1813
- * `ABORTED`, and `UNAVAILABLE`.
1814
- *
1815
- * HTTP Mapping: 409 Conflict
1816
- *
1817
- * @generated from enum value: ABORTED = 10;
1818
- */
1819
- ABORTED = 10,
1820
-
1821
- /**
1822
- * The operation was attempted past the valid range. E.g., seeking or
1823
- * reading past end-of-file.
1824
- *
1825
- * Unlike `INVALID_ARGUMENT`, this error indicates a problem that may
1826
- * be fixed if the system state changes. For example, a 32-bit file
1827
- * system will generate `INVALID_ARGUMENT` if asked to read at an
1828
- * offset that is not in the range [0,2^32-1], but it will generate
1829
- * `OUT_OF_RANGE` if asked to read from an offset past the current
1830
- * file size.
1831
- *
1832
- * There is a fair bit of overlap between `FAILED_PRECONDITION` and
1833
- * `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific
1834
- * error) when it applies so that callers who are iterating through
1835
- * a space can easily look for an `OUT_OF_RANGE` error to detect when
1836
- * they are done.
1837
- *
1838
- * HTTP Mapping: 400 Bad Request
1839
- *
1840
- * @generated from enum value: OUT_OF_RANGE = 11;
1841
- */
1842
- OUT_OF_RANGE = 11,
1843
-
1844
- /**
1845
- * The operation is not implemented or is not supported/enabled in this
1846
- * service.
1847
- *
1848
- * HTTP Mapping: 501 Not Implemented
1849
- *
1850
- * @generated from enum value: UNIMPLEMENTED = 12;
1851
- */
1852
- UNIMPLEMENTED = 12,
1853
-
1854
- /**
1855
- * Internal errors. This means that some invariants expected by the
1856
- * underlying system have been broken. This error code is reserved
1857
- * for serious errors.
1858
- *
1859
- * HTTP Mapping: 500 Internal Server Error
1860
- *
1861
- * @generated from enum value: INTERNAL = 13;
1862
- */
1863
- INTERNAL = 13,
1864
-
1865
- /**
1866
- * The service is currently unavailable. This is most likely a
1867
- * transient condition, which can be corrected by retrying with
1868
- * a backoff. Note that it is not always safe to retry
1869
- * non-idempotent operations.
1870
- *
1871
- * See the guidelines above for deciding between `FAILED_PRECONDITION`,
1872
- * `ABORTED`, and `UNAVAILABLE`.
1873
- *
1874
- * HTTP Mapping: 503 Service Unavailable
1875
- *
1876
- * @generated from enum value: UNAVAILABLE = 14;
1877
- */
1878
- UNAVAILABLE = 14,
1879
-
1880
- /**
1881
- * Unrecoverable data loss or corruption.
1882
- *
1883
- * HTTP Mapping: 500 Internal Server Error
1884
- *
1885
- * @generated from enum value: DATA_LOSS = 15;
1886
- */
1887
- DATA_LOSS = 15,
1888
- }
1889
- // Retrieve enum metadata with: proto3.getEnumType(Code)
1890
- proto3.util.setEnumType(Code, "norsk.api.media.Code", [
1891
- { no: 0, name: "OK" },
1892
- { no: 1, name: "CANCELLED" },
1893
- { no: 2, name: "UNKNOWN_ERROR" },
1894
- { no: 3, name: "INVALID_ARGUMENT" },
1895
- { no: 4, name: "DEADLINE_EXCEEDED" },
1896
- { no: 5, name: "NOT_FOUND" },
1897
- { no: 6, name: "ALREADY_EXISTS" },
1898
- { no: 7, name: "PERMISSION_DENIED" },
1899
- { no: 16, name: "UNAUTHENTICATED" },
1900
- { no: 8, name: "RESOURCE_EXHAUSTED" },
1901
- { no: 9, name: "FAILED_PRECONDITION" },
1902
- { no: 10, name: "ABORTED" },
1903
- { no: 11, name: "OUT_OF_RANGE" },
1904
- { no: 12, name: "UNIMPLEMENTED" },
1905
- { no: 13, name: "INTERNAL" },
1906
- { no: 14, name: "UNAVAILABLE" },
1907
- { no: 15, name: "DATA_LOSS" },
1908
- ]);
1909
-
1910
- /**
1911
- * `NullValue` is a singleton enumeration to represent the null value for the
1912
- * `Value` type union.
1913
- *
1914
- * The JSON representation for `NullValue` is JSON `null`.
1915
- *
1916
- * @generated from enum norsk.api.media.NullValue
1917
- */
1918
- export enum NullValue {
1919
- /**
1920
- * Null value.
1921
- *
1922
- * @generated from enum value: NULL_VALUE = 0;
1923
- */
1924
- NULL_VALUE = 0,
1925
- }
1926
- // Retrieve enum metadata with: proto3.getEnumType(NullValue)
1927
- proto3.util.setEnumType(NullValue, "norsk.api.media.NullValue", [
1928
- { no: 0, name: "NULL_VALUE" },
1929
- ]);
1930
-
1931
1655
  /**
1932
1656
  * @generated from message norsk.api.media.MediaNodeId
1933
1657
  */
@@ -5117,7 +4841,7 @@ export class FileTsInputConfiguration extends Message<FileTsInputConfiguration>
5117
4841
  */
5118
4842
  export class FileTsInputConfigurationUpdate extends Message<FileTsInputConfigurationUpdate> {
5119
4843
  /**
5120
- * @generated from field: norsk.api.media.OptionalBool loop = 1;
4844
+ * @generated from field: norsk.api.common.OptionalBool loop = 1;
5121
4845
  */
5122
4846
  loop?: OptionalBool;
5123
4847
 
@@ -5337,12 +5061,12 @@ export class SrtInputConfiguration extends Message<SrtInputConfiguration> {
5337
5061
  mode = SrtMode.Listener;
5338
5062
 
5339
5063
  /**
5340
- * @generated from field: norsk.api.media.OptionalString passphrase = 6;
5064
+ * @generated from field: norsk.api.common.OptionalString passphrase = 6;
5341
5065
  */
5342
5066
  passphrase?: OptionalString;
5343
5067
 
5344
5068
  /**
5345
- * @generated from field: norsk.api.media.OptionalString stream_id = 7;
5069
+ * @generated from field: norsk.api.common.OptionalString stream_id = 7;
5346
5070
  */
5347
5071
  streamId?: OptionalString;
5348
5072
 
@@ -6811,7 +6535,7 @@ export class FileMp4InputConfiguration extends Message<FileMp4InputConfiguration
6811
6535
  */
6812
6536
  export class FileMp4InputConfigurationUpdate extends Message<FileMp4InputConfigurationUpdate> {
6813
6537
  /**
6814
- * @generated from field: norsk.api.media.OptionalBool loop = 1;
6538
+ * @generated from field: norsk.api.common.OptionalBool loop = 1;
6815
6539
  */
6816
6540
  loop?: OptionalBool;
6817
6541
 
@@ -6962,12 +6686,12 @@ proto3.util.setEnumType(FileMp4InputStatus_State, "norsk.api.media.FileMp4InputS
6962
6686
  */
6963
6687
  export class FileMp4InputInfo extends Message<FileMp4InputInfo> {
6964
6688
  /**
6965
- * @generated from field: norsk.api.media.OptionalInt byte_length = 1;
6689
+ * @generated from field: norsk.api.common.OptionalInt byte_length = 1;
6966
6690
  */
6967
6691
  byteLength?: OptionalInt;
6968
6692
 
6969
6693
  /**
6970
- * @generated from field: norsk.api.media.OptionalInt duration_ms = 2;
6694
+ * @generated from field: norsk.api.common.OptionalInt duration_ms = 2;
6971
6695
  */
6972
6696
  durationMs?: OptionalInt;
6973
6697
 
@@ -11833,12 +11557,12 @@ export class SrtOutputConfiguration extends Message<SrtOutputConfiguration> {
11833
11557
  mode = SrtMode.Listener;
11834
11558
 
11835
11559
  /**
11836
- * @generated from field: norsk.api.media.OptionalString passphrase = 6;
11560
+ * @generated from field: norsk.api.common.OptionalString passphrase = 6;
11837
11561
  */
11838
11562
  passphrase?: OptionalString;
11839
11563
 
11840
11564
  /**
11841
- * @generated from field: norsk.api.media.OptionalString stream_id = 7;
11565
+ * @generated from field: norsk.api.common.OptionalString stream_id = 7;
11842
11566
  */
11843
11567
  streamId?: OptionalString;
11844
11568
 
@@ -13266,154 +12990,6 @@ export class SampleAspectRatio extends Message<SampleAspectRatio> {
13266
12990
  }
13267
12991
  }
13268
12992
 
13269
- /**
13270
- * @generated from message norsk.api.media.OptionalInt
13271
- */
13272
- export class OptionalInt extends Message<OptionalInt> {
13273
- /**
13274
- * @generated from field: uint32 value = 1;
13275
- */
13276
- value = 0;
13277
-
13278
- constructor(data?: PartialMessage<OptionalInt>) {
13279
- super();
13280
- proto3.util.initPartial(data, this);
13281
- }
13282
-
13283
- static readonly runtime = proto3;
13284
- static readonly typeName = "norsk.api.media.OptionalInt";
13285
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
13286
- { no: 1, name: "value", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
13287
- ]);
13288
-
13289
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OptionalInt {
13290
- return new OptionalInt().fromBinary(bytes, options);
13291
- }
13292
-
13293
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OptionalInt {
13294
- return new OptionalInt().fromJson(jsonValue, options);
13295
- }
13296
-
13297
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OptionalInt {
13298
- return new OptionalInt().fromJsonString(jsonString, options);
13299
- }
13300
-
13301
- static equals(a: OptionalInt | PlainMessage<OptionalInt> | undefined, b: OptionalInt | PlainMessage<OptionalInt> | undefined): boolean {
13302
- return proto3.util.equals(OptionalInt, a, b);
13303
- }
13304
- }
13305
-
13306
- /**
13307
- * @generated from message norsk.api.media.OptionalInt64
13308
- */
13309
- export class OptionalInt64 extends Message<OptionalInt64> {
13310
- /**
13311
- * @generated from field: uint64 value = 1;
13312
- */
13313
- value = protoInt64.zero;
13314
-
13315
- constructor(data?: PartialMessage<OptionalInt64>) {
13316
- super();
13317
- proto3.util.initPartial(data, this);
13318
- }
13319
-
13320
- static readonly runtime = proto3;
13321
- static readonly typeName = "norsk.api.media.OptionalInt64";
13322
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
13323
- { no: 1, name: "value", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
13324
- ]);
13325
-
13326
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OptionalInt64 {
13327
- return new OptionalInt64().fromBinary(bytes, options);
13328
- }
13329
-
13330
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OptionalInt64 {
13331
- return new OptionalInt64().fromJson(jsonValue, options);
13332
- }
13333
-
13334
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OptionalInt64 {
13335
- return new OptionalInt64().fromJsonString(jsonString, options);
13336
- }
13337
-
13338
- static equals(a: OptionalInt64 | PlainMessage<OptionalInt64> | undefined, b: OptionalInt64 | PlainMessage<OptionalInt64> | undefined): boolean {
13339
- return proto3.util.equals(OptionalInt64, a, b);
13340
- }
13341
- }
13342
-
13343
- /**
13344
- * @generated from message norsk.api.media.OptionalBool
13345
- */
13346
- export class OptionalBool extends Message<OptionalBool> {
13347
- /**
13348
- * @generated from field: bool value = 1;
13349
- */
13350
- value = false;
13351
-
13352
- constructor(data?: PartialMessage<OptionalBool>) {
13353
- super();
13354
- proto3.util.initPartial(data, this);
13355
- }
13356
-
13357
- static readonly runtime = proto3;
13358
- static readonly typeName = "norsk.api.media.OptionalBool";
13359
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
13360
- { no: 1, name: "value", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
13361
- ]);
13362
-
13363
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OptionalBool {
13364
- return new OptionalBool().fromBinary(bytes, options);
13365
- }
13366
-
13367
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OptionalBool {
13368
- return new OptionalBool().fromJson(jsonValue, options);
13369
- }
13370
-
13371
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OptionalBool {
13372
- return new OptionalBool().fromJsonString(jsonString, options);
13373
- }
13374
-
13375
- static equals(a: OptionalBool | PlainMessage<OptionalBool> | undefined, b: OptionalBool | PlainMessage<OptionalBool> | undefined): boolean {
13376
- return proto3.util.equals(OptionalBool, a, b);
13377
- }
13378
- }
13379
-
13380
- /**
13381
- * @generated from message norsk.api.media.OptionalString
13382
- */
13383
- export class OptionalString extends Message<OptionalString> {
13384
- /**
13385
- * @generated from field: string value = 1;
13386
- */
13387
- value = "";
13388
-
13389
- constructor(data?: PartialMessage<OptionalString>) {
13390
- super();
13391
- proto3.util.initPartial(data, this);
13392
- }
13393
-
13394
- static readonly runtime = proto3;
13395
- static readonly typeName = "norsk.api.media.OptionalString";
13396
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
13397
- { no: 1, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13398
- ]);
13399
-
13400
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OptionalString {
13401
- return new OptionalString().fromBinary(bytes, options);
13402
- }
13403
-
13404
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OptionalString {
13405
- return new OptionalString().fromJson(jsonValue, options);
13406
- }
13407
-
13408
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OptionalString {
13409
- return new OptionalString().fromJsonString(jsonString, options);
13410
- }
13411
-
13412
- static equals(a: OptionalString | PlainMessage<OptionalString> | undefined, b: OptionalString | PlainMessage<OptionalString> | undefined): boolean {
13413
- return proto3.util.equals(OptionalString, a, b);
13414
- }
13415
- }
13416
-
13417
12993
  /**
13418
12994
  * Parameters for tuning the x264 encoder
13419
12995
  *
@@ -13421,7 +12997,7 @@ export class OptionalString extends Message<OptionalString> {
13421
12997
  */
13422
12998
  export class X264Codec extends Message<X264Codec> {
13423
12999
  /**
13424
- * @generated from field: norsk.api.media.OptionalInt threads = 23;
13000
+ * @generated from field: norsk.api.common.OptionalInt threads = 23;
13425
13001
  */
13426
13002
  threads?: OptionalInt;
13427
13003
 
@@ -13474,28 +13050,28 @@ export class X264Codec extends Message<X264Codec> {
13474
13050
  * 5, 5.1 - since this field is an integer, you pass in 10 times the
13475
13051
  * required value (e.g., 11, 12 etc)
13476
13052
  *
13477
- * @generated from field: norsk.api.media.OptionalInt level = 3;
13053
+ * @generated from field: norsk.api.common.OptionalInt level = 3;
13478
13054
  */
13479
13055
  level?: OptionalInt;
13480
13056
 
13481
13057
  /**
13482
13058
  * Sets the minimum length between IDR frames
13483
13059
  *
13484
- * @generated from field: norsk.api.media.OptionalInt key_frame_interval_min = 4;
13060
+ * @generated from field: norsk.api.common.OptionalInt key_frame_interval_min = 4;
13485
13061
  */
13486
13062
  keyFrameIntervalMin?: OptionalInt;
13487
13063
 
13488
13064
  /**
13489
13065
  * Sets the maximum length between IDR frames
13490
13066
  *
13491
- * @generated from field: norsk.api.media.OptionalInt key_frame_interval_max = 5;
13067
+ * @generated from field: norsk.api.common.OptionalInt key_frame_interval_max = 5;
13492
13068
  */
13493
13069
  keyFrameIntervalMax?: OptionalInt;
13494
13070
 
13495
13071
  /**
13496
13072
  * Sets the maximum number of concurrent B-frames
13497
13073
  *
13498
- * @generated from field: norsk.api.media.OptionalInt bframes = 6;
13074
+ * @generated from field: norsk.api.common.OptionalInt bframes = 6;
13499
13075
  */
13500
13076
  bframes?: OptionalInt;
13501
13077
 
@@ -13521,7 +13097,7 @@ export class X264Codec extends Message<X264Codec> {
13521
13097
  * Maximum number of reference frames, i.e., the number of previous frames
13522
13098
  * each P-frame can use as references
13523
13099
  *
13524
- * @generated from field: norsk.api.media.OptionalInt frame_reference = 9;
13100
+ * @generated from field: norsk.api.common.OptionalInt frame_reference = 9;
13525
13101
  */
13526
13102
  frameReference?: OptionalInt;
13527
13103
 
@@ -13532,21 +13108,21 @@ export class X264Codec extends Message<X264Codec> {
13532
13108
  * (10-20% typically) and the decoding requirements, at the expense of encode
13533
13109
  * CPU requirements
13534
13110
  *
13535
- * @generated from field: norsk.api.media.OptionalBool cabac = 10;
13111
+ * @generated from field: norsk.api.common.OptionalBool cabac = 10;
13536
13112
  */
13537
13113
  cabac?: OptionalBool;
13538
13114
 
13539
13115
  /**
13540
13116
  * Sets the maximum rate the VBV buffer should be assumed to refill at
13541
13117
  *
13542
- * @generated from field: norsk.api.media.OptionalInt vbv_max_rate = 11;
13118
+ * @generated from field: norsk.api.common.OptionalInt vbv_max_rate = 11;
13543
13119
  */
13544
13120
  vbvMaxRate?: OptionalInt;
13545
13121
 
13546
13122
  /**
13547
13123
  * Sets the size of the VBV buffer in kilobits
13548
13124
  *
13549
- * @generated from field: norsk.api.media.OptionalInt vbv_buffer_size = 12;
13125
+ * @generated from field: norsk.api.common.OptionalInt vbv_buffer_size = 12;
13550
13126
  */
13551
13127
  vbvBufferSize?: OptionalInt;
13552
13128
 
@@ -13554,21 +13130,21 @@ export class X264Codec extends Message<X264Codec> {
13554
13130
  * Sets the threshold for I/IDR frame placement. Setting sceneCut to zero
13555
13131
  * disables adaptive I-frame decisioning
13556
13132
  *
13557
- * @generated from field: norsk.api.media.OptionalInt scene_cut = 13;
13133
+ * @generated from field: norsk.api.common.OptionalInt scene_cut = 13;
13558
13134
  */
13559
13135
  sceneCut?: OptionalInt;
13560
13136
 
13561
13137
  /**
13562
13138
  * Use access unit delimiters in the output
13563
13139
  *
13564
- * @generated from field: norsk.api.media.OptionalBool aud = 14;
13140
+ * @generated from field: norsk.api.common.OptionalBool aud = 14;
13565
13141
  */
13566
13142
  aud?: OptionalBool;
13567
13143
 
13568
13144
  /**
13569
13145
  * Disables the loop filter. Not Recommended.
13570
13146
  *
13571
- * @generated from field: norsk.api.media.OptionalBool no_deblock = 15;
13147
+ * @generated from field: norsk.api.common.OptionalBool no_deblock = 15;
13572
13148
  */
13573
13149
  noDeblock?: OptionalBool;
13574
13150
 
@@ -13852,7 +13428,7 @@ export class X265Codec extends Message<X265Codec> {
13852
13428
  /**
13853
13429
  * The number of threads to allocate to the encode
13854
13430
  *
13855
- * @generated from field: norsk.api.media.OptionalInt threads = 23;
13431
+ * @generated from field: norsk.api.common.OptionalInt threads = 23;
13856
13432
  */
13857
13433
  threads?: OptionalInt;
13858
13434
 
@@ -13905,28 +13481,28 @@ export class X265Codec extends Message<X265Codec> {
13905
13481
  * since this field is an integer, you pass in 10 times the
13906
13482
  * required value (e.g., 11, 12 etc)
13907
13483
  *
13908
- * @generated from field: norsk.api.media.OptionalInt level = 3;
13484
+ * @generated from field: norsk.api.common.OptionalInt level = 3;
13909
13485
  */
13910
13486
  level?: OptionalInt;
13911
13487
 
13912
13488
  /**
13913
13489
  * Sets the minimum length between IDR frames
13914
13490
  *
13915
- * @generated from field: norsk.api.media.OptionalInt key_frame_interval_min = 4;
13491
+ * @generated from field: norsk.api.common.OptionalInt key_frame_interval_min = 4;
13916
13492
  */
13917
13493
  keyFrameIntervalMin?: OptionalInt;
13918
13494
 
13919
13495
  /**
13920
13496
  * Sets the maximum length between IDR frames
13921
13497
  *
13922
- * @generated from field: norsk.api.media.OptionalInt key_frame_interval_max = 5;
13498
+ * @generated from field: norsk.api.common.OptionalInt key_frame_interval_max = 5;
13923
13499
  */
13924
13500
  keyFrameIntervalMax?: OptionalInt;
13925
13501
 
13926
13502
  /**
13927
13503
  * Sets the maximum number of concurrent B-frames
13928
13504
  *
13929
- * @generated from field: norsk.api.media.OptionalInt bframes = 6;
13505
+ * @generated from field: norsk.api.common.OptionalInt bframes = 6;
13930
13506
  */
13931
13507
  bframes?: OptionalInt;
13932
13508
 
@@ -13952,21 +13528,21 @@ export class X265Codec extends Message<X265Codec> {
13952
13528
  * Maximum number of reference frames, i.e., the number of previous frames
13953
13529
  * each P-frame can use as references
13954
13530
  *
13955
- * @generated from field: norsk.api.media.OptionalInt frame_reference = 9;
13531
+ * @generated from field: norsk.api.common.OptionalInt frame_reference = 9;
13956
13532
  */
13957
13533
  frameReference?: OptionalInt;
13958
13534
 
13959
13535
  /**
13960
13536
  * Sets the maximum rate the VBV buffer should be assumed to refill at
13961
13537
  *
13962
- * @generated from field: norsk.api.media.OptionalInt vbv_max_rate = 11;
13538
+ * @generated from field: norsk.api.common.OptionalInt vbv_max_rate = 11;
13963
13539
  */
13964
13540
  vbvMaxRate?: OptionalInt;
13965
13541
 
13966
13542
  /**
13967
13543
  * Sets the size of the VBV buffer in kilobits
13968
13544
  *
13969
- * @generated from field: norsk.api.media.OptionalInt vbv_buffer_size = 12;
13545
+ * @generated from field: norsk.api.common.OptionalInt vbv_buffer_size = 12;
13970
13546
  */
13971
13547
  vbvBufferSize?: OptionalInt;
13972
13548
 
@@ -13974,21 +13550,21 @@ export class X265Codec extends Message<X265Codec> {
13974
13550
  * Sets the threshold for I/IDR frame placement. Setting sceneCut to zero
13975
13551
  * disables adaptive I-frame decisioning
13976
13552
  *
13977
- * @generated from field: norsk.api.media.OptionalInt scene_cut = 13;
13553
+ * @generated from field: norsk.api.common.OptionalInt scene_cut = 13;
13978
13554
  */
13979
13555
  sceneCut?: OptionalInt;
13980
13556
 
13981
13557
  /**
13982
13558
  * Use access unit delimiters in the output
13983
13559
  *
13984
- * @generated from field: norsk.api.media.OptionalBool aud = 14;
13560
+ * @generated from field: norsk.api.common.OptionalBool aud = 14;
13985
13561
  */
13986
13562
  aud?: OptionalBool;
13987
13563
 
13988
13564
  /**
13989
13565
  * Disables the loop filter. Not Recommended.
13990
13566
  *
13991
- * @generated from field: norsk.api.media.OptionalBool no_deblock = 15;
13567
+ * @generated from field: norsk.api.common.OptionalBool no_deblock = 15;
13992
13568
  */
13993
13569
  noDeblock?: OptionalBool;
13994
13570
 
@@ -14521,37 +14097,37 @@ export class NvidiaRateControl extends Message<NvidiaRateControl> {
14521
14097
  mode = NvidiaRateControl_NvidiaRateControlMode.NVIDIA_RATE_CONTROL_CON_STQP;
14522
14098
 
14523
14099
  /**
14524
- * @generated from field: norsk.api.media.OptionalInt averageBitrate = 2;
14100
+ * @generated from field: norsk.api.common.OptionalInt averageBitrate = 2;
14525
14101
  */
14526
14102
  averageBitrate?: OptionalInt;
14527
14103
 
14528
14104
  /**
14529
- * @generated from field: norsk.api.media.OptionalInt maxBitrate = 3;
14105
+ * @generated from field: norsk.api.common.OptionalInt maxBitrate = 3;
14530
14106
  */
14531
14107
  maxBitrate?: OptionalInt;
14532
14108
 
14533
14109
  /**
14534
- * @generated from field: norsk.api.media.OptionalInt vbvBufferSize = 4;
14110
+ * @generated from field: norsk.api.common.OptionalInt vbvBufferSize = 4;
14535
14111
  */
14536
14112
  vbvBufferSize?: OptionalInt;
14537
14113
 
14538
14114
  /**
14539
- * @generated from field: norsk.api.media.OptionalInt vbvInitialDelay = 5;
14115
+ * @generated from field: norsk.api.common.OptionalInt vbvInitialDelay = 5;
14540
14116
  */
14541
14117
  vbvInitialDelay?: OptionalInt;
14542
14118
 
14543
14119
  /**
14544
- * @generated from field: norsk.api.media.OptionalBool enableLookahead = 6;
14120
+ * @generated from field: norsk.api.common.OptionalBool enableLookahead = 6;
14545
14121
  */
14546
14122
  enableLookahead?: OptionalBool;
14547
14123
 
14548
14124
  /**
14549
- * @generated from field: norsk.api.media.OptionalBool strictGopTarget = 7;
14125
+ * @generated from field: norsk.api.common.OptionalBool strictGopTarget = 7;
14550
14126
  */
14551
14127
  strictGopTarget?: OptionalBool;
14552
14128
 
14553
14129
  /**
14554
- * @generated from field: norsk.api.media.OptionalInt lookaheadDepth = 8;
14130
+ * @generated from field: norsk.api.common.OptionalInt lookaheadDepth = 8;
14555
14131
  */
14556
14132
  lookaheadDepth?: OptionalInt;
14557
14133
 
@@ -14626,32 +14202,32 @@ export class NvidiaH264 extends Message<NvidiaH264> {
14626
14202
  preset = NvidiaPreset.P1;
14627
14203
 
14628
14204
  /**
14629
- * @generated from field: norsk.api.media.OptionalInt gopInterval = 2;
14205
+ * @generated from field: norsk.api.common.OptionalInt gopInterval = 2;
14630
14206
  */
14631
14207
  gopInterval?: OptionalInt;
14632
14208
 
14633
14209
  /**
14634
- * @generated from field: norsk.api.media.OptionalInt idrPeriod = 3;
14210
+ * @generated from field: norsk.api.common.OptionalInt idrPeriod = 3;
14635
14211
  */
14636
14212
  idrPeriod?: OptionalInt;
14637
14213
 
14638
14214
  /**
14639
- * @generated from field: norsk.api.media.OptionalInt frameIntervalP = 4;
14215
+ * @generated from field: norsk.api.common.OptionalInt frameIntervalP = 4;
14640
14216
  */
14641
14217
  frameIntervalP?: OptionalInt;
14642
14218
 
14643
14219
  /**
14644
- * @generated from field: norsk.api.media.OptionalInt maxNumRefFrames = 5;
14220
+ * @generated from field: norsk.api.common.OptionalInt maxNumRefFrames = 5;
14645
14221
  */
14646
14222
  maxNumRefFrames?: OptionalInt;
14647
14223
 
14648
14224
  /**
14649
- * @generated from field: norsk.api.media.OptionalBool outputAud = 6;
14225
+ * @generated from field: norsk.api.common.OptionalBool outputAud = 6;
14650
14226
  */
14651
14227
  outputAud?: OptionalBool;
14652
14228
 
14653
14229
  /**
14654
- * @generated from field: norsk.api.media.OptionalInt level = 7;
14230
+ * @generated from field: norsk.api.common.OptionalInt level = 7;
14655
14231
  */
14656
14232
  level?: OptionalInt;
14657
14233
 
@@ -14749,27 +14325,27 @@ export class NvidiaHevc extends Message<NvidiaHevc> {
14749
14325
  preset = NvidiaPreset.P1;
14750
14326
 
14751
14327
  /**
14752
- * @generated from field: norsk.api.media.OptionalInt gopInterval = 2;
14328
+ * @generated from field: norsk.api.common.OptionalInt gopInterval = 2;
14753
14329
  */
14754
14330
  gopInterval?: OptionalInt;
14755
14331
 
14756
14332
  /**
14757
- * @generated from field: norsk.api.media.OptionalInt idrPeriod = 3;
14333
+ * @generated from field: norsk.api.common.OptionalInt idrPeriod = 3;
14758
14334
  */
14759
14335
  idrPeriod?: OptionalInt;
14760
14336
 
14761
14337
  /**
14762
- * @generated from field: norsk.api.media.OptionalInt frameIntervalP = 4;
14338
+ * @generated from field: norsk.api.common.OptionalInt frameIntervalP = 4;
14763
14339
  */
14764
14340
  frameIntervalP?: OptionalInt;
14765
14341
 
14766
14342
  /**
14767
- * @generated from field: norsk.api.media.OptionalBool outputAud = 6;
14343
+ * @generated from field: norsk.api.common.OptionalBool outputAud = 6;
14768
14344
  */
14769
14345
  outputAud?: OptionalBool;
14770
14346
 
14771
14347
  /**
14772
- * @generated from field: norsk.api.media.OptionalInt level = 7;
14348
+ * @generated from field: norsk.api.common.OptionalInt level = 7;
14773
14349
  */
14774
14350
  level?: OptionalInt;
14775
14351
 
@@ -14880,37 +14456,37 @@ export class QuadraH264 extends Message<QuadraH264> {
14880
14456
  extraOpts = "";
14881
14457
 
14882
14458
  /**
14883
- * @generated from field: norsk.api.media.OptionalBool enableAud = 2;
14459
+ * @generated from field: norsk.api.common.OptionalBool enableAud = 2;
14884
14460
  */
14885
14461
  enableAud?: OptionalBool;
14886
14462
 
14887
14463
  /**
14888
- * @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
14464
+ * @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
14889
14465
  */
14890
14466
  gpuIndex?: OptionalInt;
14891
14467
 
14892
14468
  /**
14893
- * @generated from field: norsk.api.media.OptionalInt bitrate = 4;
14469
+ * @generated from field: norsk.api.common.OptionalInt bitrate = 4;
14894
14470
  */
14895
14471
  bitrate?: OptionalInt;
14896
14472
 
14897
14473
  /**
14898
- * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
14474
+ * @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
14899
14475
  */
14900
14476
  enableVfr?: OptionalBool;
14901
14477
 
14902
14478
  /**
14903
- * @generated from field: norsk.api.media.OptionalInt crf = 7;
14479
+ * @generated from field: norsk.api.common.OptionalInt crf = 7;
14904
14480
  */
14905
14481
  crf?: OptionalInt;
14906
14482
 
14907
14483
  /**
14908
- * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
14484
+ * @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
14909
14485
  */
14910
14486
  gopPresetIndex?: OptionalInt;
14911
14487
 
14912
14488
  /**
14913
- * @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
14489
+ * @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
14914
14490
  */
14915
14491
  intraPeriod?: OptionalInt;
14916
14492
 
@@ -14920,67 +14496,67 @@ export class QuadraH264 extends Message<QuadraH264> {
14920
14496
  profile = QuadraH264_QuadraH264Profile.DEFAULT;
14921
14497
 
14922
14498
  /**
14923
- * @generated from field: norsk.api.media.OptionalInt level = 12;
14499
+ * @generated from field: norsk.api.common.OptionalInt level = 12;
14924
14500
  */
14925
14501
  level?: OptionalInt;
14926
14502
 
14927
14503
  /**
14928
- * @generated from field: norsk.api.media.OptionalBool rcEnable = 13;
14504
+ * @generated from field: norsk.api.common.OptionalBool rcEnable = 13;
14929
14505
  */
14930
14506
  rcEnable?: OptionalBool;
14931
14507
 
14932
14508
  /**
14933
- * @generated from field: norsk.api.media.OptionalInt intraQp = 14;
14509
+ * @generated from field: norsk.api.common.OptionalInt intraQp = 14;
14934
14510
  */
14935
14511
  intraQp?: OptionalInt;
14936
14512
 
14937
14513
  /**
14938
- * @generated from field: norsk.api.media.OptionalBool hrdEnable = 18;
14514
+ * @generated from field: norsk.api.common.OptionalBool hrdEnable = 18;
14939
14515
  */
14940
14516
  hrdEnable?: OptionalBool;
14941
14517
 
14942
14518
  /**
14943
- * @generated from field: norsk.api.media.OptionalInt dolbyVisionProfile = 19;
14519
+ * @generated from field: norsk.api.common.OptionalInt dolbyVisionProfile = 19;
14944
14520
  */
14945
14521
  dolbyVisionProfile?: OptionalInt;
14946
14522
 
14947
14523
  /**
14948
- * @generated from field: norsk.api.media.OptionalBool fillerEnable = 20;
14524
+ * @generated from field: norsk.api.common.OptionalBool fillerEnable = 20;
14949
14525
  */
14950
14526
  fillerEnable?: OptionalBool;
14951
14527
 
14952
14528
  /**
14953
- * @generated from field: norsk.api.media.OptionalInt minQp = 21;
14529
+ * @generated from field: norsk.api.common.OptionalInt minQp = 21;
14954
14530
  */
14955
14531
  minQp?: OptionalInt;
14956
14532
 
14957
14533
  /**
14958
- * @generated from field: norsk.api.media.OptionalInt maxQp = 22;
14534
+ * @generated from field: norsk.api.common.OptionalInt maxQp = 22;
14959
14535
  */
14960
14536
  maxQp?: OptionalInt;
14961
14537
 
14962
14538
  /**
14963
- * @generated from field: norsk.api.media.OptionalInt maxDeltaQp = 23;
14539
+ * @generated from field: norsk.api.common.OptionalInt maxDeltaQp = 23;
14964
14540
  */
14965
14541
  maxDeltaQp?: OptionalInt;
14966
14542
 
14967
14543
  /**
14968
- * @generated from field: norsk.api.media.OptionalBool cuLevelRCEnable = 24;
14544
+ * @generated from field: norsk.api.common.OptionalBool cuLevelRCEnable = 24;
14969
14545
  */
14970
14546
  cuLevelRCEnable?: OptionalBool;
14971
14547
 
14972
14548
  /**
14973
- * @generated from field: norsk.api.media.OptionalInt lookAheadDepth = 25;
14549
+ * @generated from field: norsk.api.common.OptionalInt lookAheadDepth = 25;
14974
14550
  */
14975
14551
  lookAheadDepth?: OptionalInt;
14976
14552
 
14977
14553
  /**
14978
- * @generated from field: norsk.api.media.OptionalInt vbvBufferSize = 26;
14554
+ * @generated from field: norsk.api.common.OptionalInt vbvBufferSize = 26;
14979
14555
  */
14980
14556
  vbvBufferSize?: OptionalInt;
14981
14557
 
14982
14558
  /**
14983
- * @generated from field: norsk.api.media.OptionalInt vbvMaxRate = 27;
14559
+ * @generated from field: norsk.api.common.OptionalInt vbvMaxRate = 27;
14984
14560
  */
14985
14561
  vbvMaxRate?: OptionalInt;
14986
14562
 
@@ -15087,37 +14663,37 @@ export class QuadraHevc extends Message<QuadraHevc> {
15087
14663
  extraOpts = "";
15088
14664
 
15089
14665
  /**
15090
- * @generated from field: norsk.api.media.OptionalBool enableAud = 2;
14666
+ * @generated from field: norsk.api.common.OptionalBool enableAud = 2;
15091
14667
  */
15092
14668
  enableAud?: OptionalBool;
15093
14669
 
15094
14670
  /**
15095
- * @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
14671
+ * @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
15096
14672
  */
15097
14673
  gpuIndex?: OptionalInt;
15098
14674
 
15099
14675
  /**
15100
- * @generated from field: norsk.api.media.OptionalInt bitrate = 4;
14676
+ * @generated from field: norsk.api.common.OptionalInt bitrate = 4;
15101
14677
  */
15102
14678
  bitrate?: OptionalInt;
15103
14679
 
15104
14680
  /**
15105
- * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
14681
+ * @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
15106
14682
  */
15107
14683
  enableVfr?: OptionalBool;
15108
14684
 
15109
14685
  /**
15110
- * @generated from field: norsk.api.media.OptionalInt crf = 7;
14686
+ * @generated from field: norsk.api.common.OptionalInt crf = 7;
15111
14687
  */
15112
14688
  crf?: OptionalInt;
15113
14689
 
15114
14690
  /**
15115
- * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
14691
+ * @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
15116
14692
  */
15117
14693
  gopPresetIndex?: OptionalInt;
15118
14694
 
15119
14695
  /**
15120
- * @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
14696
+ * @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
15121
14697
  */
15122
14698
  intraPeriod?: OptionalInt;
15123
14699
 
@@ -15132,72 +14708,72 @@ export class QuadraHevc extends Message<QuadraHevc> {
15132
14708
  profile = QuadraHevc_QuadraHevcProfile.DEFAULT;
15133
14709
 
15134
14710
  /**
15135
- * @generated from field: norsk.api.media.OptionalInt level = 13;
14711
+ * @generated from field: norsk.api.common.OptionalInt level = 13;
15136
14712
  */
15137
14713
  level?: OptionalInt;
15138
14714
 
15139
14715
  /**
15140
- * @generated from field: norsk.api.media.OptionalBool rcEnable = 14;
14716
+ * @generated from field: norsk.api.common.OptionalBool rcEnable = 14;
15141
14717
  */
15142
14718
  rcEnable?: OptionalBool;
15143
14719
 
15144
14720
  /**
15145
- * @generated from field: norsk.api.media.OptionalBool lossless = 15;
14721
+ * @generated from field: norsk.api.common.OptionalBool lossless = 15;
15146
14722
  */
15147
14723
  lossless?: OptionalBool;
15148
14724
 
15149
14725
  /**
15150
- * @generated from field: norsk.api.media.OptionalInt intraQp = 16;
14726
+ * @generated from field: norsk.api.common.OptionalInt intraQp = 16;
15151
14727
  */
15152
14728
  intraQp?: OptionalInt;
15153
14729
 
15154
14730
  /**
15155
- * @generated from field: norsk.api.media.OptionalBool hrdEnable = 18;
14731
+ * @generated from field: norsk.api.common.OptionalBool hrdEnable = 18;
15156
14732
  */
15157
14733
  hrdEnable?: OptionalBool;
15158
14734
 
15159
14735
  /**
15160
- * @generated from field: norsk.api.media.OptionalInt dolbyVisionProfile = 19;
14736
+ * @generated from field: norsk.api.common.OptionalInt dolbyVisionProfile = 19;
15161
14737
  */
15162
14738
  dolbyVisionProfile?: OptionalInt;
15163
14739
 
15164
14740
  /**
15165
- * @generated from field: norsk.api.media.OptionalBool fillerEnable = 20;
14741
+ * @generated from field: norsk.api.common.OptionalBool fillerEnable = 20;
15166
14742
  */
15167
14743
  fillerEnable?: OptionalBool;
15168
14744
 
15169
14745
  /**
15170
- * @generated from field: norsk.api.media.OptionalInt minQp = 21;
14746
+ * @generated from field: norsk.api.common.OptionalInt minQp = 21;
15171
14747
  */
15172
14748
  minQp?: OptionalInt;
15173
14749
 
15174
14750
  /**
15175
- * @generated from field: norsk.api.media.OptionalInt maxQp = 22;
14751
+ * @generated from field: norsk.api.common.OptionalInt maxQp = 22;
15176
14752
  */
15177
14753
  maxQp?: OptionalInt;
15178
14754
 
15179
14755
  /**
15180
- * @generated from field: norsk.api.media.OptionalInt maxDeltaQp = 23;
14756
+ * @generated from field: norsk.api.common.OptionalInt maxDeltaQp = 23;
15181
14757
  */
15182
14758
  maxDeltaQp?: OptionalInt;
15183
14759
 
15184
14760
  /**
15185
- * @generated from field: norsk.api.media.OptionalBool cuLevelRCEnable = 24;
14761
+ * @generated from field: norsk.api.common.OptionalBool cuLevelRCEnable = 24;
15186
14762
  */
15187
14763
  cuLevelRCEnable?: OptionalBool;
15188
14764
 
15189
14765
  /**
15190
- * @generated from field: norsk.api.media.OptionalInt lookAheadDepth = 25;
14766
+ * @generated from field: norsk.api.common.OptionalInt lookAheadDepth = 25;
15191
14767
  */
15192
14768
  lookAheadDepth?: OptionalInt;
15193
14769
 
15194
14770
  /**
15195
- * @generated from field: norsk.api.media.OptionalInt vbvBufferSize = 26;
14771
+ * @generated from field: norsk.api.common.OptionalInt vbvBufferSize = 26;
15196
14772
  */
15197
14773
  vbvBufferSize?: OptionalInt;
15198
14774
 
15199
14775
  /**
15200
- * @generated from field: norsk.api.media.OptionalInt vbvMaxRate = 27;
14776
+ * @generated from field: norsk.api.common.OptionalInt vbvMaxRate = 27;
15201
14777
  */
15202
14778
  vbvMaxRate?: OptionalInt;
15203
14779
 
@@ -15308,47 +14884,47 @@ export class LoganH264 extends Message<LoganH264> {
15308
14884
  extraOpts = "";
15309
14885
 
15310
14886
  /**
15311
- * @generated from field: norsk.api.media.OptionalBool enableAud = 2;
14887
+ * @generated from field: norsk.api.common.OptionalBool enableAud = 2;
15312
14888
  */
15313
14889
  enableAud?: OptionalBool;
15314
14890
 
15315
14891
  /**
15316
- * @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
14892
+ * @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
15317
14893
  */
15318
14894
  gpuIndex?: OptionalInt;
15319
14895
 
15320
14896
  /**
15321
- * @generated from field: norsk.api.media.OptionalInt bitrate = 4;
14897
+ * @generated from field: norsk.api.common.OptionalInt bitrate = 4;
15322
14898
  */
15323
14899
  bitrate?: OptionalInt;
15324
14900
 
15325
14901
  /**
15326
- * @generated from field: norsk.api.media.OptionalBool flushGop = 5;
14902
+ * @generated from field: norsk.api.common.OptionalBool flushGop = 5;
15327
14903
  */
15328
14904
  flushGop?: OptionalBool;
15329
14905
 
15330
14906
  /**
15331
- * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
14907
+ * @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
15332
14908
  */
15333
14909
  enableVfr?: OptionalBool;
15334
14910
 
15335
14911
  /**
15336
- * @generated from field: norsk.api.media.OptionalInt crf = 7;
14912
+ * @generated from field: norsk.api.common.OptionalInt crf = 7;
15337
14913
  */
15338
14914
  crf?: OptionalInt;
15339
14915
 
15340
14916
  /**
15341
- * @generated from field: norsk.api.media.OptionalBool cbr = 8;
14917
+ * @generated from field: norsk.api.common.OptionalBool cbr = 8;
15342
14918
  */
15343
14919
  cbr?: OptionalBool;
15344
14920
 
15345
14921
  /**
15346
- * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
14922
+ * @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
15347
14923
  */
15348
14924
  gopPresetIndex?: OptionalInt;
15349
14925
 
15350
14926
  /**
15351
- * @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
14927
+ * @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
15352
14928
  */
15353
14929
  intraPeriod?: OptionalInt;
15354
14930
 
@@ -15358,22 +14934,22 @@ export class LoganH264 extends Message<LoganH264> {
15358
14934
  profile = LoganH264_LoganH264Profile.DEFAULT;
15359
14935
 
15360
14936
  /**
15361
- * @generated from field: norsk.api.media.OptionalInt level = 12;
14937
+ * @generated from field: norsk.api.common.OptionalInt level = 12;
15362
14938
  */
15363
14939
  level?: OptionalInt;
15364
14940
 
15365
14941
  /**
15366
- * @generated from field: norsk.api.media.OptionalBool rcEnable = 13;
14942
+ * @generated from field: norsk.api.common.OptionalBool rcEnable = 13;
15367
14943
  */
15368
14944
  rcEnable?: OptionalBool;
15369
14945
 
15370
14946
  /**
15371
- * @generated from field: norsk.api.media.OptionalInt intraQp = 14;
14947
+ * @generated from field: norsk.api.common.OptionalInt intraQp = 14;
15372
14948
  */
15373
14949
  intraQp?: OptionalInt;
15374
14950
 
15375
14951
  /**
15376
- * @generated from field: norsk.api.media.OptionalInt rcInitDelay = 15;
14952
+ * @generated from field: norsk.api.common.OptionalInt rcInitDelay = 15;
15377
14953
  */
15378
14954
  rcInitDelay?: OptionalInt;
15379
14955
 
@@ -15473,47 +15049,47 @@ export class LoganHevc extends Message<LoganHevc> {
15473
15049
  extraOpts = "";
15474
15050
 
15475
15051
  /**
15476
- * @generated from field: norsk.api.media.OptionalBool enableAud = 2;
15052
+ * @generated from field: norsk.api.common.OptionalBool enableAud = 2;
15477
15053
  */
15478
15054
  enableAud?: OptionalBool;
15479
15055
 
15480
15056
  /**
15481
- * @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
15057
+ * @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
15482
15058
  */
15483
15059
  gpuIndex?: OptionalInt;
15484
15060
 
15485
15061
  /**
15486
- * @generated from field: norsk.api.media.OptionalInt bitrate = 4;
15062
+ * @generated from field: norsk.api.common.OptionalInt bitrate = 4;
15487
15063
  */
15488
15064
  bitrate?: OptionalInt;
15489
15065
 
15490
15066
  /**
15491
- * @generated from field: norsk.api.media.OptionalBool flushGop = 5;
15067
+ * @generated from field: norsk.api.common.OptionalBool flushGop = 5;
15492
15068
  */
15493
15069
  flushGop?: OptionalBool;
15494
15070
 
15495
15071
  /**
15496
- * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
15072
+ * @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
15497
15073
  */
15498
15074
  enableVfr?: OptionalBool;
15499
15075
 
15500
15076
  /**
15501
- * @generated from field: norsk.api.media.OptionalInt crf = 7;
15077
+ * @generated from field: norsk.api.common.OptionalInt crf = 7;
15502
15078
  */
15503
15079
  crf?: OptionalInt;
15504
15080
 
15505
15081
  /**
15506
- * @generated from field: norsk.api.media.OptionalBool cbr = 8;
15082
+ * @generated from field: norsk.api.common.OptionalBool cbr = 8;
15507
15083
  */
15508
15084
  cbr?: OptionalBool;
15509
15085
 
15510
15086
  /**
15511
- * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
15087
+ * @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
15512
15088
  */
15513
15089
  gopPresetIndex?: OptionalInt;
15514
15090
 
15515
15091
  /**
15516
- * @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
15092
+ * @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
15517
15093
  */
15518
15094
  intraPeriod?: OptionalInt;
15519
15095
 
@@ -15528,37 +15104,37 @@ export class LoganHevc extends Message<LoganHevc> {
15528
15104
  profile = LoganHevc_LoganHevcProfile.DEFAULT;
15529
15105
 
15530
15106
  /**
15531
- * @generated from field: norsk.api.media.OptionalInt level = 13;
15107
+ * @generated from field: norsk.api.common.OptionalInt level = 13;
15532
15108
  */
15533
15109
  level?: OptionalInt;
15534
15110
 
15535
15111
  /**
15536
- * @generated from field: norsk.api.media.OptionalBool rcEnable = 14;
15112
+ * @generated from field: norsk.api.common.OptionalBool rcEnable = 14;
15537
15113
  */
15538
15114
  rcEnable?: OptionalBool;
15539
15115
 
15540
15116
  /**
15541
- * @generated from field: norsk.api.media.OptionalBool lossless = 15;
15117
+ * @generated from field: norsk.api.common.OptionalBool lossless = 15;
15542
15118
  */
15543
15119
  lossless?: OptionalBool;
15544
15120
 
15545
15121
  /**
15546
- * @generated from field: norsk.api.media.OptionalInt intraQp = 16;
15122
+ * @generated from field: norsk.api.common.OptionalInt intraQp = 16;
15547
15123
  */
15548
15124
  intraQp?: OptionalInt;
15549
15125
 
15550
15126
  /**
15551
- * @generated from field: norsk.api.media.OptionalInt rcInitDelay = 17;
15127
+ * @generated from field: norsk.api.common.OptionalInt rcInitDelay = 17;
15552
15128
  */
15553
15129
  rcInitDelay?: OptionalInt;
15554
15130
 
15555
15131
  /**
15556
- * @generated from field: norsk.api.media.OptionalBool hrdEnable = 18;
15132
+ * @generated from field: norsk.api.common.OptionalBool hrdEnable = 18;
15557
15133
  */
15558
15134
  hrdEnable?: OptionalBool;
15559
15135
 
15560
15136
  /**
15561
- * @generated from field: norsk.api.media.OptionalInt dolbyVisionProfile = 19;
15137
+ * @generated from field: norsk.api.common.OptionalInt dolbyVisionProfile = 19;
15562
15138
  */
15563
15139
  dolbyVisionProfile?: OptionalInt;
15564
15140
 
@@ -15664,7 +15240,7 @@ export class XilinxH264 extends Message<XilinxH264> {
15664
15240
  profile = XilinxH264_XilinxH264Profile.DEFAULT;
15665
15241
 
15666
15242
  /**
15667
- * @generated from field: norsk.api.media.OptionalInt level = 2;
15243
+ * @generated from field: norsk.api.common.OptionalInt level = 2;
15668
15244
  */
15669
15245
  level?: OptionalInt;
15670
15246
 
@@ -15756,7 +15332,7 @@ export class XilinxHevc extends Message<XilinxHevc> {
15756
15332
  profile = XilinxHevc_XilinxHevcProfile.DEFAULT;
15757
15333
 
15758
15334
  /**
15759
- * @generated from field: norsk.api.media.OptionalInt level = 3;
15335
+ * @generated from field: norsk.api.common.OptionalInt level = 3;
15760
15336
  */
15761
15337
  level?: OptionalInt;
15762
15338
 
@@ -16522,7 +16098,7 @@ export class StreamMetadataOverrideConfiguration extends Message<StreamMetadataO
16522
16098
  * * Override the bitrate metadata of a compressed video stream, or `0` to
16523
16099
  * clear
16524
16100
  *
16525
- * @generated from field: norsk.api.media.OptionalInt video_bitrate = 2;
16101
+ * @generated from field: norsk.api.common.OptionalInt video_bitrate = 2;
16526
16102
  */
16527
16103
  videoBitrate?: OptionalInt;
16528
16104
 
@@ -16530,21 +16106,21 @@ export class StreamMetadataOverrideConfiguration extends Message<StreamMetadataO
16530
16106
  * * Override the bitrate metadata of a compressed audio stream, or `0` to
16531
16107
  * clear
16532
16108
  *
16533
- * @generated from field: norsk.api.media.OptionalInt audio_bitrate = 3;
16109
+ * @generated from field: norsk.api.common.OptionalInt audio_bitrate = 3;
16534
16110
  */
16535
16111
  audioBitrate?: OptionalInt;
16536
16112
 
16537
16113
  /**
16538
16114
  * * Override the language metadata of an audio stream, or `""` to clear
16539
16115
  *
16540
- * @generated from field: norsk.api.media.OptionalString audio_language = 4;
16116
+ * @generated from field: norsk.api.common.OptionalString audio_language = 4;
16541
16117
  */
16542
16118
  audioLanguage?: OptionalString;
16543
16119
 
16544
16120
  /**
16545
16121
  * * Override the language metadata of a subtitles stream, or `""` to clear
16546
16122
  *
16547
- * @generated from field: norsk.api.media.OptionalString subtitles_language = 5;
16123
+ * @generated from field: norsk.api.common.OptionalString subtitles_language = 5;
16548
16124
  */
16549
16125
  subtitlesLanguage?: OptionalString;
16550
16126
 
@@ -16588,7 +16164,7 @@ export class StreamMetadataOverrideUpdateConfiguration extends Message<StreamMet
16588
16164
  * * Override the bitrate metadata of a compressed video stream, or `0` to
16589
16165
  * clear
16590
16166
  *
16591
- * @generated from field: norsk.api.media.OptionalInt video_bitrate = 2;
16167
+ * @generated from field: norsk.api.common.OptionalInt video_bitrate = 2;
16592
16168
  */
16593
16169
  videoBitrate?: OptionalInt;
16594
16170
 
@@ -16596,21 +16172,21 @@ export class StreamMetadataOverrideUpdateConfiguration extends Message<StreamMet
16596
16172
  * * Override the bitrate metadata of a compressed audio stream, or `0` to
16597
16173
  * clear
16598
16174
  *
16599
- * @generated from field: norsk.api.media.OptionalInt audio_bitrate = 3;
16175
+ * @generated from field: norsk.api.common.OptionalInt audio_bitrate = 3;
16600
16176
  */
16601
16177
  audioBitrate?: OptionalInt;
16602
16178
 
16603
16179
  /**
16604
16180
  * * Override the language metadata of an audio stream, or `""` to clear
16605
16181
  *
16606
- * @generated from field: norsk.api.media.OptionalString audio_language = 4;
16182
+ * @generated from field: norsk.api.common.OptionalString audio_language = 4;
16607
16183
  */
16608
16184
  audioLanguage?: OptionalString;
16609
16185
 
16610
16186
  /**
16611
16187
  * * Override the language metadata of a subtitles stream, or `""` to clear
16612
16188
  *
16613
- * @generated from field: norsk.api.media.OptionalString subtitles_language = 5;
16189
+ * @generated from field: norsk.api.common.OptionalString subtitles_language = 5;
16614
16190
  */
16615
16191
  subtitlesLanguage?: OptionalString;
16616
16192
 
@@ -20405,7 +19981,7 @@ export class Scte35InsertCommandComponent extends Message<Scte35InsertCommandCom
20405
19981
  */
20406
19982
  export class Scte35SpliceTime extends Message<Scte35SpliceTime> {
20407
19983
  /**
20408
- * @generated from field: norsk.api.media.OptionalInt pts_time = 1;
19984
+ * @generated from field: norsk.api.common.OptionalInt pts_time = 1;
20409
19985
  */
20410
19986
  ptsTime?: OptionalInt;
20411
19987
 
@@ -21190,7 +20766,7 @@ export class Scte35SegmentationDescriptor extends Message<Scte35SegmentationDesc
21190
20766
  components: Scte35SegmentationComponent[] = [];
21191
20767
 
21192
20768
  /**
21193
- * @generated from field: norsk.api.media.OptionalInt64 segmentation_duration = 6;
20769
+ * @generated from field: norsk.api.common.OptionalInt64 segmentation_duration = 6;
21194
20770
  */
21195
20771
  segmentationDuration?: OptionalInt64;
21196
20772
 
@@ -21220,12 +20796,12 @@ export class Scte35SegmentationDescriptor extends Message<Scte35SegmentationDesc
21220
20796
  segmentsExpected = 0;
21221
20797
 
21222
20798
  /**
21223
- * @generated from field: norsk.api.media.OptionalInt sub_segment_num = 12;
20799
+ * @generated from field: norsk.api.common.OptionalInt sub_segment_num = 12;
21224
20800
  */
21225
20801
  subSegmentNum?: OptionalInt;
21226
20802
 
21227
20803
  /**
21228
- * @generated from field: norsk.api.media.OptionalInt sub_segments_expected = 13;
20804
+ * @generated from field: norsk.api.common.OptionalInt sub_segments_expected = 13;
21229
20805
  */
21230
20806
  subSegmentsExpected?: OptionalInt;
21231
20807
 
@@ -22295,268 +21871,6 @@ export class SourceSubscriptionError_UnsupportedConversion extends Message<Sourc
22295
21871
  }
22296
21872
  }
22297
21873
 
22298
- /**
22299
- * `Struct` represents a structured data value, consisting of fields
22300
- * which map to dynamically typed values. In some languages, `Struct`
22301
- * might be supported by a native representation. For example, in
22302
- * scripting languages like JS a struct is represented as an
22303
- * object. The details of that representation are described together
22304
- * with the proto support for the language.
22305
- *
22306
- * The JSON representation for `Struct` is JSON object.
22307
- *
22308
- * @generated from message norsk.api.media.Struct
22309
- */
22310
- export class Struct extends Message<Struct> {
22311
- /**
22312
- * Unordered map of dynamically typed values.
22313
- *
22314
- * @generated from field: map<string, norsk.api.media.Value> fields = 1;
22315
- */
22316
- fields: { [key: string]: Value } = {};
22317
-
22318
- constructor(data?: PartialMessage<Struct>) {
22319
- super();
22320
- proto3.util.initPartial(data, this);
22321
- }
22322
-
22323
- static readonly runtime = proto3;
22324
- static readonly typeName = "norsk.api.media.Struct";
22325
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
22326
- { no: 1, name: "fields", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: Value} },
22327
- ]);
22328
-
22329
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Struct {
22330
- return new Struct().fromBinary(bytes, options);
22331
- }
22332
-
22333
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Struct {
22334
- return new Struct().fromJson(jsonValue, options);
22335
- }
22336
-
22337
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Struct {
22338
- return new Struct().fromJsonString(jsonString, options);
22339
- }
22340
-
22341
- static equals(a: Struct | PlainMessage<Struct> | undefined, b: Struct | PlainMessage<Struct> | undefined): boolean {
22342
- return proto3.util.equals(Struct, a, b);
22343
- }
22344
- }
22345
-
22346
- /**
22347
- * `Value` represents a dynamically typed value which can be either
22348
- * null, a number, a string, a boolean, a recursive struct value, or a
22349
- * list of values. A producer of value is expected to set one of that
22350
- * variants, absence of any variant indicates an error.
22351
- *
22352
- * The JSON representation for `Value` is JSON value.
22353
- *
22354
- * @generated from message norsk.api.media.Value
22355
- */
22356
- export class Value extends Message<Value> {
22357
- /**
22358
- * The kind of value.
22359
- *
22360
- * @generated from oneof norsk.api.media.Value.kind
22361
- */
22362
- kind: {
22363
- /**
22364
- * Represents a null value.
22365
- *
22366
- * @generated from field: norsk.api.media.NullValue null_value = 1;
22367
- */
22368
- value: NullValue;
22369
- case: "nullValue";
22370
- } | {
22371
- /**
22372
- * Represents a double value.
22373
- *
22374
- * @generated from field: double number_value = 2;
22375
- */
22376
- value: number;
22377
- case: "numberValue";
22378
- } | {
22379
- /**
22380
- * Represents a string value.
22381
- *
22382
- * @generated from field: string string_value = 3;
22383
- */
22384
- value: string;
22385
- case: "stringValue";
22386
- } | {
22387
- /**
22388
- * Represents a boolean value.
22389
- *
22390
- * @generated from field: bool bool_value = 4;
22391
- */
22392
- value: boolean;
22393
- case: "boolValue";
22394
- } | {
22395
- /**
22396
- * Represents a structured value.
22397
- *
22398
- * @generated from field: norsk.api.media.Struct struct_value = 5;
22399
- */
22400
- value: Struct;
22401
- case: "structValue";
22402
- } | {
22403
- /**
22404
- * Represents a repeated `Value`.
22405
- *
22406
- * @generated from field: norsk.api.media.ListValue list_value = 6;
22407
- */
22408
- value: ListValue;
22409
- case: "listValue";
22410
- } | {
22411
- /**
22412
- * Represents a Code value
22413
- *
22414
- * @generated from field: norsk.api.media.Code code_value = 7;
22415
- */
22416
- value: Code;
22417
- case: "codeValue";
22418
- } | { case: undefined; value?: undefined } = { case: undefined };
22419
-
22420
- constructor(data?: PartialMessage<Value>) {
22421
- super();
22422
- proto3.util.initPartial(data, this);
22423
- }
22424
-
22425
- static readonly runtime = proto3;
22426
- static readonly typeName = "norsk.api.media.Value";
22427
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
22428
- { no: 1, name: "null_value", kind: "enum", T: proto3.getEnumType(NullValue), oneof: "kind" },
22429
- { no: 2, name: "number_value", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, oneof: "kind" },
22430
- { no: 3, name: "string_value", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "kind" },
22431
- { no: 4, name: "bool_value", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "kind" },
22432
- { no: 5, name: "struct_value", kind: "message", T: Struct, oneof: "kind" },
22433
- { no: 6, name: "list_value", kind: "message", T: ListValue, oneof: "kind" },
22434
- { no: 7, name: "code_value", kind: "enum", T: proto3.getEnumType(Code), oneof: "kind" },
22435
- ]);
22436
-
22437
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Value {
22438
- return new Value().fromBinary(bytes, options);
22439
- }
22440
-
22441
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Value {
22442
- return new Value().fromJson(jsonValue, options);
22443
- }
22444
-
22445
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Value {
22446
- return new Value().fromJsonString(jsonString, options);
22447
- }
22448
-
22449
- static equals(a: Value | PlainMessage<Value> | undefined, b: Value | PlainMessage<Value> | undefined): boolean {
22450
- return proto3.util.equals(Value, a, b);
22451
- }
22452
- }
22453
-
22454
- /**
22455
- * `ListValue` is a wrapper around a repeated field of values.
22456
- *
22457
- * The JSON representation for `ListValue` is JSON array.
22458
- *
22459
- * @generated from message norsk.api.media.ListValue
22460
- */
22461
- export class ListValue extends Message<ListValue> {
22462
- /**
22463
- * Repeated field of dynamically typed values.
22464
- *
22465
- * @generated from field: repeated norsk.api.media.Value values = 1;
22466
- */
22467
- values: Value[] = [];
22468
-
22469
- constructor(data?: PartialMessage<ListValue>) {
22470
- super();
22471
- proto3.util.initPartial(data, this);
22472
- }
22473
-
22474
- static readonly runtime = proto3;
22475
- static readonly typeName = "norsk.api.media.ListValue";
22476
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
22477
- { no: 1, name: "values", kind: "message", T: Value, repeated: true },
22478
- ]);
22479
-
22480
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListValue {
22481
- return new ListValue().fromBinary(bytes, options);
22482
- }
22483
-
22484
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListValue {
22485
- return new ListValue().fromJson(jsonValue, options);
22486
- }
22487
-
22488
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListValue {
22489
- return new ListValue().fromJsonString(jsonString, options);
22490
- }
22491
-
22492
- static equals(a: ListValue | PlainMessage<ListValue> | undefined, b: ListValue | PlainMessage<ListValue> | undefined): boolean {
22493
- return proto3.util.equals(ListValue, a, b);
22494
- }
22495
- }
22496
-
22497
- /**
22498
- * ///////////////////////////////////////////////////////////////////////////
22499
- *
22500
- *
22501
- * @generated from message norsk.api.media.Status
22502
- */
22503
- export class Status extends Message<Status> {
22504
- /**
22505
- * The status code, which should be an enum value of
22506
- * [google.rpc.Code][google.rpc.Code].
22507
- *
22508
- * @generated from field: norsk.api.media.Code code = 1;
22509
- */
22510
- code = Code.OK;
22511
-
22512
- /**
22513
- * A developer-facing error message, which should be in English. Any
22514
- * user-facing error message should be localized and sent in the
22515
- * [google.rpc.Status.details][google.rpc.Status.details] field, or localized
22516
- * by the client.
22517
- *
22518
- * @generated from field: string message = 2;
22519
- */
22520
- message = "";
22521
-
22522
- /**
22523
- * A list of messages that carry the error details. There is a common set of
22524
- * message types for APIs to use.
22525
- *
22526
- * @generated from field: norsk.api.media.Struct details = 3;
22527
- */
22528
- details?: Struct;
22529
-
22530
- constructor(data?: PartialMessage<Status>) {
22531
- super();
22532
- proto3.util.initPartial(data, this);
22533
- }
22534
-
22535
- static readonly runtime = proto3;
22536
- static readonly typeName = "norsk.api.media.Status";
22537
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
22538
- { no: 1, name: "code", kind: "enum", T: proto3.getEnumType(Code) },
22539
- { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
22540
- { no: 3, name: "details", kind: "message", T: Struct },
22541
- ]);
22542
-
22543
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Status {
22544
- return new Status().fromBinary(bytes, options);
22545
- }
22546
-
22547
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Status {
22548
- return new Status().fromJson(jsonValue, options);
22549
- }
22550
-
22551
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Status {
22552
- return new Status().fromJsonString(jsonString, options);
22553
- }
22554
-
22555
- static equals(a: Status | PlainMessage<Status> | undefined, b: Status | PlainMessage<Status> | undefined): boolean {
22556
- return proto3.util.equals(Status, a, b);
22557
- }
22558
- }
22559
-
22560
21874
  /**
22561
21875
  * `Hello` is sent to the client at the start of a status channel, and gives
22562
21876
  * information about the current Norsk runtime