@norskvideo/norsk-api 1.0.344 → 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.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
2
  import { Empty, Message } from "@bufbuild/protobuf";
3
- import { CurrentLoad, Log, Version } from "./shared/common_pb.js";
3
+ import { CurrentLoad, Log, OptionalBool, OptionalInt, OptionalInt64, OptionalString, Version } from "./shared/common_pb.js";
4
4
  /**
5
5
  * Enumeration of possible channel positions.
6
6
  *
@@ -1138,240 +1138,6 @@ export declare enum ContextType {
1138
1138
  */
1139
1139
  SINGLE_RENDITION = 4
1140
1140
  }
1141
- /**
1142
- * The canonical error codes for gRPC APIs.
1143
- *
1144
- *
1145
- * Sometimes multiple error codes may apply. Services should return
1146
- * the most specific error code that applies. For example, prefer
1147
- * `OUT_OF_RANGE` over `FAILED_PRECONDITION` if both codes apply.
1148
- * Similarly prefer `NOT_FOUND` or `ALREADY_EXISTS` over `FAILED_PRECONDITION`.
1149
- *
1150
- * @generated from enum norsk.api.media.Code
1151
- */
1152
- export declare enum Code {
1153
- /**
1154
- * Not an error; returned on success
1155
- *
1156
- * HTTP Mapping: 200 OK
1157
- *
1158
- * @generated from enum value: OK = 0;
1159
- */
1160
- OK = 0,
1161
- /**
1162
- * The operation was cancelled, typically by the caller.
1163
- *
1164
- * HTTP Mapping: 499 Client Closed Request
1165
- *
1166
- * @generated from enum value: CANCELLED = 1;
1167
- */
1168
- CANCELLED = 1,
1169
- /**
1170
- * Unknown error. For example, this error may be returned when
1171
- * a `Status` value received from another address space belongs to
1172
- * an error space that is not known in this address space. Also
1173
- * errors raised by APIs that do not return enough error information
1174
- * may be converted to this error.
1175
- *
1176
- * HTTP Mapping: 500 Internal Server Error
1177
- *
1178
- * @generated from enum value: UNKNOWN_ERROR = 2;
1179
- */
1180
- UNKNOWN_ERROR = 2,
1181
- /**
1182
- * The client specified an invalid argument. Note that this differs
1183
- * from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments
1184
- * that are problematic regardless of the state of the system
1185
- * (e.g., a malformed file name).
1186
- *
1187
- * HTTP Mapping: 400 Bad Request
1188
- *
1189
- * @generated from enum value: INVALID_ARGUMENT = 3;
1190
- */
1191
- INVALID_ARGUMENT = 3,
1192
- /**
1193
- * The deadline expired before the operation could complete. For operations
1194
- * that change the state of the system, this error may be returned
1195
- * even if the operation has completed successfully. For example, a
1196
- * successful response from a server could have been delayed long
1197
- * enough for the deadline to expire.
1198
- *
1199
- * HTTP Mapping: 504 Gateway Timeout
1200
- *
1201
- * @generated from enum value: DEADLINE_EXCEEDED = 4;
1202
- */
1203
- DEADLINE_EXCEEDED = 4,
1204
- /**
1205
- * Some requested entity (e.g., file or directory) was not found.
1206
- *
1207
- * Note to server developers: if a request is denied for an entire class
1208
- * of users, such as gradual feature rollout or undocumented whitelist,
1209
- * `NOT_FOUND` may be used. If a request is denied for some users within
1210
- * a class of users, such as user-based access control, `PERMISSION_DENIED`
1211
- * must be used.
1212
- *
1213
- * HTTP Mapping: 404 Not Found
1214
- *
1215
- * @generated from enum value: NOT_FOUND = 5;
1216
- */
1217
- NOT_FOUND = 5,
1218
- /**
1219
- * The entity that a client attempted to create (e.g., file or directory)
1220
- * already exists.
1221
- *
1222
- * HTTP Mapping: 409 Conflict
1223
- *
1224
- * @generated from enum value: ALREADY_EXISTS = 6;
1225
- */
1226
- ALREADY_EXISTS = 6,
1227
- /**
1228
- * The caller does not have permission to execute the specified
1229
- * operation. `PERMISSION_DENIED` must not be used for rejections
1230
- * caused by exhausting some resource (use `RESOURCE_EXHAUSTED`
1231
- * instead for those errors). `PERMISSION_DENIED` must not be
1232
- * used if the caller can not be identified (use `UNAUTHENTICATED`
1233
- * instead for those errors). This error code does not imply the
1234
- * request is valid or the requested entity exists or satisfies
1235
- * other pre-conditions.
1236
- *
1237
- * HTTP Mapping: 403 Forbidden
1238
- *
1239
- * @generated from enum value: PERMISSION_DENIED = 7;
1240
- */
1241
- PERMISSION_DENIED = 7,
1242
- /**
1243
- * The request does not have valid authentication credentials for the
1244
- * operation.
1245
- *
1246
- * HTTP Mapping: 401 Unauthorized
1247
- *
1248
- * @generated from enum value: UNAUTHENTICATED = 16;
1249
- */
1250
- UNAUTHENTICATED = 16,
1251
- /**
1252
- * Some resource has been exhausted, perhaps a per-user quota, or
1253
- * perhaps the entire file system is out of space.
1254
- *
1255
- * HTTP Mapping: 429 Too Many Requests
1256
- *
1257
- * @generated from enum value: RESOURCE_EXHAUSTED = 8;
1258
- */
1259
- RESOURCE_EXHAUSTED = 8,
1260
- /**
1261
- * The operation was rejected because the system is not in a state
1262
- * required for the operation's execution. For example, the directory
1263
- * to be deleted is non-empty, an rmdir operation is applied to
1264
- * a non-directory, etc.
1265
- *
1266
- * Service implementors can use the following guidelines to decide
1267
- * between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`:
1268
- * (a) Use `UNAVAILABLE` if the client can retry just the failing call.
1269
- * (b) Use `ABORTED` if the client should retry at a higher level
1270
- * (e.g., when a client-specified test-and-set fails, indicating the
1271
- * client should restart a read-modify-write sequence).
1272
- * (c) Use `FAILED_PRECONDITION` if the client should not retry until
1273
- * the system state has been explicitly fixed. E.g., if an "rmdir"
1274
- * fails because the directory is non-empty, `FAILED_PRECONDITION`
1275
- * should be returned since the client should not retry unless
1276
- * the files are deleted from the directory.
1277
- *
1278
- * HTTP Mapping: 400 Bad Request
1279
- *
1280
- * @generated from enum value: FAILED_PRECONDITION = 9;
1281
- */
1282
- FAILED_PRECONDITION = 9,
1283
- /**
1284
- * The operation was aborted, typically due to a concurrency issue such as
1285
- * a sequencer check failure or transaction abort.
1286
- *
1287
- * See the guidelines above for deciding between `FAILED_PRECONDITION`,
1288
- * `ABORTED`, and `UNAVAILABLE`.
1289
- *
1290
- * HTTP Mapping: 409 Conflict
1291
- *
1292
- * @generated from enum value: ABORTED = 10;
1293
- */
1294
- ABORTED = 10,
1295
- /**
1296
- * The operation was attempted past the valid range. E.g., seeking or
1297
- * reading past end-of-file.
1298
- *
1299
- * Unlike `INVALID_ARGUMENT`, this error indicates a problem that may
1300
- * be fixed if the system state changes. For example, a 32-bit file
1301
- * system will generate `INVALID_ARGUMENT` if asked to read at an
1302
- * offset that is not in the range [0,2^32-1], but it will generate
1303
- * `OUT_OF_RANGE` if asked to read from an offset past the current
1304
- * file size.
1305
- *
1306
- * There is a fair bit of overlap between `FAILED_PRECONDITION` and
1307
- * `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific
1308
- * error) when it applies so that callers who are iterating through
1309
- * a space can easily look for an `OUT_OF_RANGE` error to detect when
1310
- * they are done.
1311
- *
1312
- * HTTP Mapping: 400 Bad Request
1313
- *
1314
- * @generated from enum value: OUT_OF_RANGE = 11;
1315
- */
1316
- OUT_OF_RANGE = 11,
1317
- /**
1318
- * The operation is not implemented or is not supported/enabled in this
1319
- * service.
1320
- *
1321
- * HTTP Mapping: 501 Not Implemented
1322
- *
1323
- * @generated from enum value: UNIMPLEMENTED = 12;
1324
- */
1325
- UNIMPLEMENTED = 12,
1326
- /**
1327
- * Internal errors. This means that some invariants expected by the
1328
- * underlying system have been broken. This error code is reserved
1329
- * for serious errors.
1330
- *
1331
- * HTTP Mapping: 500 Internal Server Error
1332
- *
1333
- * @generated from enum value: INTERNAL = 13;
1334
- */
1335
- INTERNAL = 13,
1336
- /**
1337
- * The service is currently unavailable. This is most likely a
1338
- * transient condition, which can be corrected by retrying with
1339
- * a backoff. Note that it is not always safe to retry
1340
- * non-idempotent operations.
1341
- *
1342
- * See the guidelines above for deciding between `FAILED_PRECONDITION`,
1343
- * `ABORTED`, and `UNAVAILABLE`.
1344
- *
1345
- * HTTP Mapping: 503 Service Unavailable
1346
- *
1347
- * @generated from enum value: UNAVAILABLE = 14;
1348
- */
1349
- UNAVAILABLE = 14,
1350
- /**
1351
- * Unrecoverable data loss or corruption.
1352
- *
1353
- * HTTP Mapping: 500 Internal Server Error
1354
- *
1355
- * @generated from enum value: DATA_LOSS = 15;
1356
- */
1357
- DATA_LOSS = 15
1358
- }
1359
- /**
1360
- * `NullValue` is a singleton enumeration to represent the null value for the
1361
- * `Value` type union.
1362
- *
1363
- * The JSON representation for `NullValue` is JSON `null`.
1364
- *
1365
- * @generated from enum norsk.api.media.NullValue
1366
- */
1367
- export declare enum NullValue {
1368
- /**
1369
- * Null value.
1370
- *
1371
- * @generated from enum value: NULL_VALUE = 0;
1372
- */
1373
- NULL_VALUE = 0
1374
- }
1375
1141
  /**
1376
1142
  * @generated from message norsk.api.media.MediaNodeId
1377
1143
  */
@@ -1410,6 +1176,29 @@ export declare class Resolution extends Message<Resolution> {
1410
1176
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Resolution;
1411
1177
  static equals(a: Resolution | PlainMessage<Resolution> | undefined, b: Resolution | PlainMessage<Resolution> | undefined): boolean;
1412
1178
  }
1179
+ /**
1180
+ * A time interval measured as ticks / (ticks per second)
1181
+ *
1182
+ * @generated from message norsk.api.media.Interval
1183
+ */
1184
+ export declare class Interval extends Message<Interval> {
1185
+ /**
1186
+ * @generated from field: uint32 n = 1;
1187
+ */
1188
+ n: number;
1189
+ /**
1190
+ * @generated from field: uint32 d = 2;
1191
+ */
1192
+ d: number;
1193
+ constructor(data?: PartialMessage<Interval>);
1194
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
1195
+ static readonly typeName = "norsk.api.media.Interval";
1196
+ static readonly fields: FieldList;
1197
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Interval;
1198
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Interval;
1199
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Interval;
1200
+ static equals(a: Interval | PlainMessage<Interval> | undefined, b: Interval | PlainMessage<Interval> | undefined): boolean;
1201
+ }
1413
1202
  /**
1414
1203
  * ////////////////////////////////////////////////////////////////////////////
1415
1204
  * Context
@@ -3154,7 +2943,7 @@ export declare class FileTsInputConfiguration extends Message<FileTsInputConfigu
3154
2943
  */
3155
2944
  export declare class FileTsInputConfigurationUpdate extends Message<FileTsInputConfigurationUpdate> {
3156
2945
  /**
3157
- * @generated from field: norsk.api.media.OptionalBool loop = 1;
2946
+ * @generated from field: norsk.api.common.OptionalBool loop = 1;
3158
2947
  */
3159
2948
  loop?: OptionalBool;
3160
2949
  constructor(data?: PartialMessage<FileTsInputConfigurationUpdate>);
@@ -3288,11 +3077,11 @@ export declare class SrtInputConfiguration extends Message<SrtInputConfiguration
3288
3077
  */
3289
3078
  mode: SrtMode;
3290
3079
  /**
3291
- * @generated from field: norsk.api.media.OptionalString passphrase = 6;
3080
+ * @generated from field: norsk.api.common.OptionalString passphrase = 6;
3292
3081
  */
3293
3082
  passphrase?: OptionalString;
3294
3083
  /**
3295
- * @generated from field: norsk.api.media.OptionalString stream_id = 7;
3084
+ * @generated from field: norsk.api.common.OptionalString stream_id = 7;
3296
3085
  */
3297
3086
  streamId?: OptionalString;
3298
3087
  /**
@@ -4160,7 +3949,7 @@ export declare class FileMp4InputConfiguration extends Message<FileMp4InputConfi
4160
3949
  */
4161
3950
  export declare class FileMp4InputConfigurationUpdate extends Message<FileMp4InputConfigurationUpdate> {
4162
3951
  /**
4163
- * @generated from field: norsk.api.media.OptionalBool loop = 1;
3952
+ * @generated from field: norsk.api.common.OptionalBool loop = 1;
4164
3953
  */
4165
3954
  loop?: OptionalBool;
4166
3955
  constructor(data?: PartialMessage<FileMp4InputConfigurationUpdate>);
@@ -4245,11 +4034,11 @@ export declare enum FileMp4InputStatus_State {
4245
4034
  */
4246
4035
  export declare class FileMp4InputInfo extends Message<FileMp4InputInfo> {
4247
4036
  /**
4248
- * @generated from field: norsk.api.media.OptionalInt byte_length = 1;
4037
+ * @generated from field: norsk.api.common.OptionalInt byte_length = 1;
4249
4038
  */
4250
4039
  byteLength?: OptionalInt;
4251
4040
  /**
4252
- * @generated from field: norsk.api.media.OptionalInt duration_ms = 2;
4041
+ * @generated from field: norsk.api.common.OptionalInt duration_ms = 2;
4253
4042
  */
4254
4043
  durationMs?: OptionalInt;
4255
4044
  constructor(data?: PartialMessage<FileMp4InputInfo>);
@@ -7223,11 +7012,11 @@ export declare class SrtOutputConfiguration extends Message<SrtOutputConfigurati
7223
7012
  */
7224
7013
  mode: SrtMode;
7225
7014
  /**
7226
- * @generated from field: norsk.api.media.OptionalString passphrase = 6;
7015
+ * @generated from field: norsk.api.common.OptionalString passphrase = 6;
7227
7016
  */
7228
7017
  passphrase?: OptionalString;
7229
7018
  /**
7230
- * @generated from field: norsk.api.media.OptionalString stream_id = 7;
7019
+ * @generated from field: norsk.api.common.OptionalString stream_id = 7;
7231
7020
  */
7232
7021
  streamId?: OptionalString;
7233
7022
  /**
@@ -8097,74 +7886,6 @@ export declare class SampleAspectRatio extends Message<SampleAspectRatio> {
8097
7886
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SampleAspectRatio;
8098
7887
  static equals(a: SampleAspectRatio | PlainMessage<SampleAspectRatio> | undefined, b: SampleAspectRatio | PlainMessage<SampleAspectRatio> | undefined): boolean;
8099
7888
  }
8100
- /**
8101
- * @generated from message norsk.api.media.OptionalInt
8102
- */
8103
- export declare class OptionalInt extends Message<OptionalInt> {
8104
- /**
8105
- * @generated from field: uint32 value = 1;
8106
- */
8107
- value: number;
8108
- constructor(data?: PartialMessage<OptionalInt>);
8109
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
8110
- static readonly typeName = "norsk.api.media.OptionalInt";
8111
- static readonly fields: FieldList;
8112
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OptionalInt;
8113
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OptionalInt;
8114
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OptionalInt;
8115
- static equals(a: OptionalInt | PlainMessage<OptionalInt> | undefined, b: OptionalInt | PlainMessage<OptionalInt> | undefined): boolean;
8116
- }
8117
- /**
8118
- * @generated from message norsk.api.media.OptionalInt64
8119
- */
8120
- export declare class OptionalInt64 extends Message<OptionalInt64> {
8121
- /**
8122
- * @generated from field: uint64 value = 1;
8123
- */
8124
- value: bigint;
8125
- constructor(data?: PartialMessage<OptionalInt64>);
8126
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
8127
- static readonly typeName = "norsk.api.media.OptionalInt64";
8128
- static readonly fields: FieldList;
8129
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OptionalInt64;
8130
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OptionalInt64;
8131
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OptionalInt64;
8132
- static equals(a: OptionalInt64 | PlainMessage<OptionalInt64> | undefined, b: OptionalInt64 | PlainMessage<OptionalInt64> | undefined): boolean;
8133
- }
8134
- /**
8135
- * @generated from message norsk.api.media.OptionalBool
8136
- */
8137
- export declare class OptionalBool extends Message<OptionalBool> {
8138
- /**
8139
- * @generated from field: bool value = 1;
8140
- */
8141
- value: boolean;
8142
- constructor(data?: PartialMessage<OptionalBool>);
8143
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
8144
- static readonly typeName = "norsk.api.media.OptionalBool";
8145
- static readonly fields: FieldList;
8146
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OptionalBool;
8147
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OptionalBool;
8148
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OptionalBool;
8149
- static equals(a: OptionalBool | PlainMessage<OptionalBool> | undefined, b: OptionalBool | PlainMessage<OptionalBool> | undefined): boolean;
8150
- }
8151
- /**
8152
- * @generated from message norsk.api.media.OptionalString
8153
- */
8154
- export declare class OptionalString extends Message<OptionalString> {
8155
- /**
8156
- * @generated from field: string value = 1;
8157
- */
8158
- value: string;
8159
- constructor(data?: PartialMessage<OptionalString>);
8160
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
8161
- static readonly typeName = "norsk.api.media.OptionalString";
8162
- static readonly fields: FieldList;
8163
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OptionalString;
8164
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OptionalString;
8165
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OptionalString;
8166
- static equals(a: OptionalString | PlainMessage<OptionalString> | undefined, b: OptionalString | PlainMessage<OptionalString> | undefined): boolean;
8167
- }
8168
7889
  /**
8169
7890
  * Parameters for tuning the x264 encoder
8170
7891
  *
@@ -8172,7 +7893,7 @@ export declare class OptionalString extends Message<OptionalString> {
8172
7893
  */
8173
7894
  export declare class X264Codec extends Message<X264Codec> {
8174
7895
  /**
8175
- * @generated from field: norsk.api.media.OptionalInt threads = 23;
7896
+ * @generated from field: norsk.api.common.OptionalInt threads = 23;
8176
7897
  */
8177
7898
  threads?: OptionalInt;
8178
7899
  /**
@@ -8225,25 +7946,25 @@ export declare class X264Codec extends Message<X264Codec> {
8225
7946
  * 5, 5.1 - since this field is an integer, you pass in 10 times the
8226
7947
  * required value (e.g., 11, 12 etc)
8227
7948
  *
8228
- * @generated from field: norsk.api.media.OptionalInt level = 3;
7949
+ * @generated from field: norsk.api.common.OptionalInt level = 3;
8229
7950
  */
8230
7951
  level?: OptionalInt;
8231
7952
  /**
8232
7953
  * Sets the minimum length between IDR frames
8233
7954
  *
8234
- * @generated from field: norsk.api.media.OptionalInt key_frame_interval_min = 4;
7955
+ * @generated from field: norsk.api.common.OptionalInt key_frame_interval_min = 4;
8235
7956
  */
8236
7957
  keyFrameIntervalMin?: OptionalInt;
8237
7958
  /**
8238
7959
  * Sets the maximum length between IDR frames
8239
7960
  *
8240
- * @generated from field: norsk.api.media.OptionalInt key_frame_interval_max = 5;
7961
+ * @generated from field: norsk.api.common.OptionalInt key_frame_interval_max = 5;
8241
7962
  */
8242
7963
  keyFrameIntervalMax?: OptionalInt;
8243
7964
  /**
8244
7965
  * Sets the maximum number of concurrent B-frames
8245
7966
  *
8246
- * @generated from field: norsk.api.media.OptionalInt bframes = 6;
7967
+ * @generated from field: norsk.api.common.OptionalInt bframes = 6;
8247
7968
  */
8248
7969
  bframes?: OptionalInt;
8249
7970
  /**
@@ -8266,7 +7987,7 @@ export declare class X264Codec extends Message<X264Codec> {
8266
7987
  * Maximum number of reference frames, i.e., the number of previous frames
8267
7988
  * each P-frame can use as references
8268
7989
  *
8269
- * @generated from field: norsk.api.media.OptionalInt frame_reference = 9;
7990
+ * @generated from field: norsk.api.common.OptionalInt frame_reference = 9;
8270
7991
  */
8271
7992
  frameReference?: OptionalInt;
8272
7993
  /**
@@ -8276,38 +7997,38 @@ export declare class X264Codec extends Message<X264Codec> {
8276
7997
  * (10-20% typically) and the decoding requirements, at the expense of encode
8277
7998
  * CPU requirements
8278
7999
  *
8279
- * @generated from field: norsk.api.media.OptionalBool cabac = 10;
8000
+ * @generated from field: norsk.api.common.OptionalBool cabac = 10;
8280
8001
  */
8281
8002
  cabac?: OptionalBool;
8282
8003
  /**
8283
8004
  * Sets the maximum rate the VBV buffer should be assumed to refill at
8284
8005
  *
8285
- * @generated from field: norsk.api.media.OptionalInt vbv_max_rate = 11;
8006
+ * @generated from field: norsk.api.common.OptionalInt vbv_max_rate = 11;
8286
8007
  */
8287
8008
  vbvMaxRate?: OptionalInt;
8288
8009
  /**
8289
8010
  * Sets the size of the VBV buffer in kilobits
8290
8011
  *
8291
- * @generated from field: norsk.api.media.OptionalInt vbv_buffer_size = 12;
8012
+ * @generated from field: norsk.api.common.OptionalInt vbv_buffer_size = 12;
8292
8013
  */
8293
8014
  vbvBufferSize?: OptionalInt;
8294
8015
  /**
8295
8016
  * Sets the threshold for I/IDR frame placement. Setting sceneCut to zero
8296
8017
  * disables adaptive I-frame decisioning
8297
8018
  *
8298
- * @generated from field: norsk.api.media.OptionalInt scene_cut = 13;
8019
+ * @generated from field: norsk.api.common.OptionalInt scene_cut = 13;
8299
8020
  */
8300
8021
  sceneCut?: OptionalInt;
8301
8022
  /**
8302
8023
  * Use access unit delimiters in the output
8303
8024
  *
8304
- * @generated from field: norsk.api.media.OptionalBool aud = 14;
8025
+ * @generated from field: norsk.api.common.OptionalBool aud = 14;
8305
8026
  */
8306
8027
  aud?: OptionalBool;
8307
8028
  /**
8308
8029
  * Disables the loop filter. Not Recommended.
8309
8030
  *
8310
- * @generated from field: norsk.api.media.OptionalBool no_deblock = 15;
8031
+ * @generated from field: norsk.api.common.OptionalBool no_deblock = 15;
8311
8032
  */
8312
8033
  noDeblock?: OptionalBool;
8313
8034
  /**
@@ -8480,7 +8201,7 @@ export declare class X265Codec extends Message<X265Codec> {
8480
8201
  /**
8481
8202
  * The number of threads to allocate to the encode
8482
8203
  *
8483
- * @generated from field: norsk.api.media.OptionalInt threads = 23;
8204
+ * @generated from field: norsk.api.common.OptionalInt threads = 23;
8484
8205
  */
8485
8206
  threads?: OptionalInt;
8486
8207
  /**
@@ -8533,25 +8254,25 @@ export declare class X265Codec extends Message<X265Codec> {
8533
8254
  * since this field is an integer, you pass in 10 times the
8534
8255
  * required value (e.g., 11, 12 etc)
8535
8256
  *
8536
- * @generated from field: norsk.api.media.OptionalInt level = 3;
8257
+ * @generated from field: norsk.api.common.OptionalInt level = 3;
8537
8258
  */
8538
8259
  level?: OptionalInt;
8539
8260
  /**
8540
8261
  * Sets the minimum length between IDR frames
8541
8262
  *
8542
- * @generated from field: norsk.api.media.OptionalInt key_frame_interval_min = 4;
8263
+ * @generated from field: norsk.api.common.OptionalInt key_frame_interval_min = 4;
8543
8264
  */
8544
8265
  keyFrameIntervalMin?: OptionalInt;
8545
8266
  /**
8546
8267
  * Sets the maximum length between IDR frames
8547
8268
  *
8548
- * @generated from field: norsk.api.media.OptionalInt key_frame_interval_max = 5;
8269
+ * @generated from field: norsk.api.common.OptionalInt key_frame_interval_max = 5;
8549
8270
  */
8550
8271
  keyFrameIntervalMax?: OptionalInt;
8551
8272
  /**
8552
8273
  * Sets the maximum number of concurrent B-frames
8553
8274
  *
8554
- * @generated from field: norsk.api.media.OptionalInt bframes = 6;
8275
+ * @generated from field: norsk.api.common.OptionalInt bframes = 6;
8555
8276
  */
8556
8277
  bframes?: OptionalInt;
8557
8278
  /**
@@ -8574,38 +8295,38 @@ export declare class X265Codec extends Message<X265Codec> {
8574
8295
  * Maximum number of reference frames, i.e., the number of previous frames
8575
8296
  * each P-frame can use as references
8576
8297
  *
8577
- * @generated from field: norsk.api.media.OptionalInt frame_reference = 9;
8298
+ * @generated from field: norsk.api.common.OptionalInt frame_reference = 9;
8578
8299
  */
8579
8300
  frameReference?: OptionalInt;
8580
8301
  /**
8581
8302
  * Sets the maximum rate the VBV buffer should be assumed to refill at
8582
8303
  *
8583
- * @generated from field: norsk.api.media.OptionalInt vbv_max_rate = 11;
8304
+ * @generated from field: norsk.api.common.OptionalInt vbv_max_rate = 11;
8584
8305
  */
8585
8306
  vbvMaxRate?: OptionalInt;
8586
8307
  /**
8587
8308
  * Sets the size of the VBV buffer in kilobits
8588
8309
  *
8589
- * @generated from field: norsk.api.media.OptionalInt vbv_buffer_size = 12;
8310
+ * @generated from field: norsk.api.common.OptionalInt vbv_buffer_size = 12;
8590
8311
  */
8591
8312
  vbvBufferSize?: OptionalInt;
8592
8313
  /**
8593
8314
  * Sets the threshold for I/IDR frame placement. Setting sceneCut to zero
8594
8315
  * disables adaptive I-frame decisioning
8595
8316
  *
8596
- * @generated from field: norsk.api.media.OptionalInt scene_cut = 13;
8317
+ * @generated from field: norsk.api.common.OptionalInt scene_cut = 13;
8597
8318
  */
8598
8319
  sceneCut?: OptionalInt;
8599
8320
  /**
8600
8321
  * Use access unit delimiters in the output
8601
8322
  *
8602
- * @generated from field: norsk.api.media.OptionalBool aud = 14;
8323
+ * @generated from field: norsk.api.common.OptionalBool aud = 14;
8603
8324
  */
8604
8325
  aud?: OptionalBool;
8605
8326
  /**
8606
8327
  * Disables the loop filter. Not Recommended.
8607
8328
  *
8608
- * @generated from field: norsk.api.media.OptionalBool no_deblock = 15;
8329
+ * @generated from field: norsk.api.common.OptionalBool no_deblock = 15;
8609
8330
  */
8610
8331
  noDeblock?: OptionalBool;
8611
8332
  /**
@@ -8943,31 +8664,31 @@ export declare class NvidiaRateControl extends Message<NvidiaRateControl> {
8943
8664
  */
8944
8665
  mode: NvidiaRateControl_NvidiaRateControlMode;
8945
8666
  /**
8946
- * @generated from field: norsk.api.media.OptionalInt averageBitrate = 2;
8667
+ * @generated from field: norsk.api.common.OptionalInt averageBitrate = 2;
8947
8668
  */
8948
8669
  averageBitrate?: OptionalInt;
8949
8670
  /**
8950
- * @generated from field: norsk.api.media.OptionalInt maxBitrate = 3;
8671
+ * @generated from field: norsk.api.common.OptionalInt maxBitrate = 3;
8951
8672
  */
8952
8673
  maxBitrate?: OptionalInt;
8953
8674
  /**
8954
- * @generated from field: norsk.api.media.OptionalInt vbvBufferSize = 4;
8675
+ * @generated from field: norsk.api.common.OptionalInt vbvBufferSize = 4;
8955
8676
  */
8956
8677
  vbvBufferSize?: OptionalInt;
8957
8678
  /**
8958
- * @generated from field: norsk.api.media.OptionalInt vbvInitialDelay = 5;
8679
+ * @generated from field: norsk.api.common.OptionalInt vbvInitialDelay = 5;
8959
8680
  */
8960
8681
  vbvInitialDelay?: OptionalInt;
8961
8682
  /**
8962
- * @generated from field: norsk.api.media.OptionalBool enableLookahead = 6;
8683
+ * @generated from field: norsk.api.common.OptionalBool enableLookahead = 6;
8963
8684
  */
8964
8685
  enableLookahead?: OptionalBool;
8965
8686
  /**
8966
- * @generated from field: norsk.api.media.OptionalBool strictGopTarget = 7;
8687
+ * @generated from field: norsk.api.common.OptionalBool strictGopTarget = 7;
8967
8688
  */
8968
8689
  strictGopTarget?: OptionalBool;
8969
8690
  /**
8970
- * @generated from field: norsk.api.media.OptionalInt lookaheadDepth = 8;
8691
+ * @generated from field: norsk.api.common.OptionalInt lookaheadDepth = 8;
8971
8692
  */
8972
8693
  lookaheadDepth?: OptionalInt;
8973
8694
  constructor(data?: PartialMessage<NvidiaRateControl>);
@@ -9005,27 +8726,27 @@ export declare class NvidiaH264 extends Message<NvidiaH264> {
9005
8726
  */
9006
8727
  preset: NvidiaPreset;
9007
8728
  /**
9008
- * @generated from field: norsk.api.media.OptionalInt gopInterval = 2;
8729
+ * @generated from field: norsk.api.common.OptionalInt gopInterval = 2;
9009
8730
  */
9010
8731
  gopInterval?: OptionalInt;
9011
8732
  /**
9012
- * @generated from field: norsk.api.media.OptionalInt idrPeriod = 3;
8733
+ * @generated from field: norsk.api.common.OptionalInt idrPeriod = 3;
9013
8734
  */
9014
8735
  idrPeriod?: OptionalInt;
9015
8736
  /**
9016
- * @generated from field: norsk.api.media.OptionalInt frameIntervalP = 4;
8737
+ * @generated from field: norsk.api.common.OptionalInt frameIntervalP = 4;
9017
8738
  */
9018
8739
  frameIntervalP?: OptionalInt;
9019
8740
  /**
9020
- * @generated from field: norsk.api.media.OptionalInt maxNumRefFrames = 5;
8741
+ * @generated from field: norsk.api.common.OptionalInt maxNumRefFrames = 5;
9021
8742
  */
9022
8743
  maxNumRefFrames?: OptionalInt;
9023
8744
  /**
9024
- * @generated from field: norsk.api.media.OptionalBool outputAud = 6;
8745
+ * @generated from field: norsk.api.common.OptionalBool outputAud = 6;
9025
8746
  */
9026
8747
  outputAud?: OptionalBool;
9027
8748
  /**
9028
- * @generated from field: norsk.api.media.OptionalInt level = 7;
8749
+ * @generated from field: norsk.api.common.OptionalInt level = 7;
9029
8750
  */
9030
8751
  level?: OptionalInt;
9031
8752
  /**
@@ -9079,23 +8800,23 @@ export declare class NvidiaHevc extends Message<NvidiaHevc> {
9079
8800
  */
9080
8801
  preset: NvidiaPreset;
9081
8802
  /**
9082
- * @generated from field: norsk.api.media.OptionalInt gopInterval = 2;
8803
+ * @generated from field: norsk.api.common.OptionalInt gopInterval = 2;
9083
8804
  */
9084
8805
  gopInterval?: OptionalInt;
9085
8806
  /**
9086
- * @generated from field: norsk.api.media.OptionalInt idrPeriod = 3;
8807
+ * @generated from field: norsk.api.common.OptionalInt idrPeriod = 3;
9087
8808
  */
9088
8809
  idrPeriod?: OptionalInt;
9089
8810
  /**
9090
- * @generated from field: norsk.api.media.OptionalInt frameIntervalP = 4;
8811
+ * @generated from field: norsk.api.common.OptionalInt frameIntervalP = 4;
9091
8812
  */
9092
8813
  frameIntervalP?: OptionalInt;
9093
8814
  /**
9094
- * @generated from field: norsk.api.media.OptionalBool outputAud = 6;
8815
+ * @generated from field: norsk.api.common.OptionalBool outputAud = 6;
9095
8816
  */
9096
8817
  outputAud?: OptionalBool;
9097
8818
  /**
9098
- * @generated from field: norsk.api.media.OptionalInt level = 7;
8819
+ * @generated from field: norsk.api.common.OptionalInt level = 7;
9099
8820
  */
9100
8821
  level?: OptionalInt;
9101
8822
  /**
@@ -9158,31 +8879,31 @@ export declare class QuadraH264 extends Message<QuadraH264> {
9158
8879
  */
9159
8880
  extraOpts: string;
9160
8881
  /**
9161
- * @generated from field: norsk.api.media.OptionalBool enableAud = 2;
8882
+ * @generated from field: norsk.api.common.OptionalBool enableAud = 2;
9162
8883
  */
9163
8884
  enableAud?: OptionalBool;
9164
8885
  /**
9165
- * @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
8886
+ * @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
9166
8887
  */
9167
8888
  gpuIndex?: OptionalInt;
9168
8889
  /**
9169
- * @generated from field: norsk.api.media.OptionalInt bitrate = 4;
8890
+ * @generated from field: norsk.api.common.OptionalInt bitrate = 4;
9170
8891
  */
9171
8892
  bitrate?: OptionalInt;
9172
8893
  /**
9173
- * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
8894
+ * @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
9174
8895
  */
9175
8896
  enableVfr?: OptionalBool;
9176
8897
  /**
9177
- * @generated from field: norsk.api.media.OptionalInt crf = 7;
8898
+ * @generated from field: norsk.api.common.OptionalInt crf = 7;
9178
8899
  */
9179
8900
  crf?: OptionalInt;
9180
8901
  /**
9181
- * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
8902
+ * @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
9182
8903
  */
9183
8904
  gopPresetIndex?: OptionalInt;
9184
8905
  /**
9185
- * @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
8906
+ * @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
9186
8907
  */
9187
8908
  intraPeriod?: OptionalInt;
9188
8909
  /**
@@ -9190,55 +8911,55 @@ export declare class QuadraH264 extends Message<QuadraH264> {
9190
8911
  */
9191
8912
  profile: QuadraH264_QuadraH264Profile;
9192
8913
  /**
9193
- * @generated from field: norsk.api.media.OptionalInt level = 12;
8914
+ * @generated from field: norsk.api.common.OptionalInt level = 12;
9194
8915
  */
9195
8916
  level?: OptionalInt;
9196
8917
  /**
9197
- * @generated from field: norsk.api.media.OptionalBool rcEnable = 13;
8918
+ * @generated from field: norsk.api.common.OptionalBool rcEnable = 13;
9198
8919
  */
9199
8920
  rcEnable?: OptionalBool;
9200
8921
  /**
9201
- * @generated from field: norsk.api.media.OptionalInt intraQp = 14;
8922
+ * @generated from field: norsk.api.common.OptionalInt intraQp = 14;
9202
8923
  */
9203
8924
  intraQp?: OptionalInt;
9204
8925
  /**
9205
- * @generated from field: norsk.api.media.OptionalBool hrdEnable = 18;
8926
+ * @generated from field: norsk.api.common.OptionalBool hrdEnable = 18;
9206
8927
  */
9207
8928
  hrdEnable?: OptionalBool;
9208
8929
  /**
9209
- * @generated from field: norsk.api.media.OptionalInt dolbyVisionProfile = 19;
8930
+ * @generated from field: norsk.api.common.OptionalInt dolbyVisionProfile = 19;
9210
8931
  */
9211
8932
  dolbyVisionProfile?: OptionalInt;
9212
8933
  /**
9213
- * @generated from field: norsk.api.media.OptionalBool fillerEnable = 20;
8934
+ * @generated from field: norsk.api.common.OptionalBool fillerEnable = 20;
9214
8935
  */
9215
8936
  fillerEnable?: OptionalBool;
9216
8937
  /**
9217
- * @generated from field: norsk.api.media.OptionalInt minQp = 21;
8938
+ * @generated from field: norsk.api.common.OptionalInt minQp = 21;
9218
8939
  */
9219
8940
  minQp?: OptionalInt;
9220
8941
  /**
9221
- * @generated from field: norsk.api.media.OptionalInt maxQp = 22;
8942
+ * @generated from field: norsk.api.common.OptionalInt maxQp = 22;
9222
8943
  */
9223
8944
  maxQp?: OptionalInt;
9224
8945
  /**
9225
- * @generated from field: norsk.api.media.OptionalInt maxDeltaQp = 23;
8946
+ * @generated from field: norsk.api.common.OptionalInt maxDeltaQp = 23;
9226
8947
  */
9227
8948
  maxDeltaQp?: OptionalInt;
9228
8949
  /**
9229
- * @generated from field: norsk.api.media.OptionalBool cuLevelRCEnable = 24;
8950
+ * @generated from field: norsk.api.common.OptionalBool cuLevelRCEnable = 24;
9230
8951
  */
9231
8952
  cuLevelRCEnable?: OptionalBool;
9232
8953
  /**
9233
- * @generated from field: norsk.api.media.OptionalInt lookAheadDepth = 25;
8954
+ * @generated from field: norsk.api.common.OptionalInt lookAheadDepth = 25;
9234
8955
  */
9235
8956
  lookAheadDepth?: OptionalInt;
9236
8957
  /**
9237
- * @generated from field: norsk.api.media.OptionalInt vbvBufferSize = 26;
8958
+ * @generated from field: norsk.api.common.OptionalInt vbvBufferSize = 26;
9238
8959
  */
9239
8960
  vbvBufferSize?: OptionalInt;
9240
8961
  /**
9241
- * @generated from field: norsk.api.media.OptionalInt vbvMaxRate = 27;
8962
+ * @generated from field: norsk.api.common.OptionalInt vbvMaxRate = 27;
9242
8963
  */
9243
8964
  vbvMaxRate?: OptionalInt;
9244
8965
  constructor(data?: PartialMessage<QuadraH264>);
@@ -9288,31 +9009,31 @@ export declare class QuadraHevc extends Message<QuadraHevc> {
9288
9009
  */
9289
9010
  extraOpts: string;
9290
9011
  /**
9291
- * @generated from field: norsk.api.media.OptionalBool enableAud = 2;
9012
+ * @generated from field: norsk.api.common.OptionalBool enableAud = 2;
9292
9013
  */
9293
9014
  enableAud?: OptionalBool;
9294
9015
  /**
9295
- * @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
9016
+ * @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
9296
9017
  */
9297
9018
  gpuIndex?: OptionalInt;
9298
9019
  /**
9299
- * @generated from field: norsk.api.media.OptionalInt bitrate = 4;
9020
+ * @generated from field: norsk.api.common.OptionalInt bitrate = 4;
9300
9021
  */
9301
9022
  bitrate?: OptionalInt;
9302
9023
  /**
9303
- * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
9024
+ * @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
9304
9025
  */
9305
9026
  enableVfr?: OptionalBool;
9306
9027
  /**
9307
- * @generated from field: norsk.api.media.OptionalInt crf = 7;
9028
+ * @generated from field: norsk.api.common.OptionalInt crf = 7;
9308
9029
  */
9309
9030
  crf?: OptionalInt;
9310
9031
  /**
9311
- * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
9032
+ * @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
9312
9033
  */
9313
9034
  gopPresetIndex?: OptionalInt;
9314
9035
  /**
9315
- * @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
9036
+ * @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
9316
9037
  */
9317
9038
  intraPeriod?: OptionalInt;
9318
9039
  /**
@@ -9324,59 +9045,59 @@ export declare class QuadraHevc extends Message<QuadraHevc> {
9324
9045
  */
9325
9046
  profile: QuadraHevc_QuadraHevcProfile;
9326
9047
  /**
9327
- * @generated from field: norsk.api.media.OptionalInt level = 13;
9048
+ * @generated from field: norsk.api.common.OptionalInt level = 13;
9328
9049
  */
9329
9050
  level?: OptionalInt;
9330
9051
  /**
9331
- * @generated from field: norsk.api.media.OptionalBool rcEnable = 14;
9052
+ * @generated from field: norsk.api.common.OptionalBool rcEnable = 14;
9332
9053
  */
9333
9054
  rcEnable?: OptionalBool;
9334
9055
  /**
9335
- * @generated from field: norsk.api.media.OptionalBool lossless = 15;
9056
+ * @generated from field: norsk.api.common.OptionalBool lossless = 15;
9336
9057
  */
9337
9058
  lossless?: OptionalBool;
9338
9059
  /**
9339
- * @generated from field: norsk.api.media.OptionalInt intraQp = 16;
9060
+ * @generated from field: norsk.api.common.OptionalInt intraQp = 16;
9340
9061
  */
9341
9062
  intraQp?: OptionalInt;
9342
9063
  /**
9343
- * @generated from field: norsk.api.media.OptionalBool hrdEnable = 18;
9064
+ * @generated from field: norsk.api.common.OptionalBool hrdEnable = 18;
9344
9065
  */
9345
9066
  hrdEnable?: OptionalBool;
9346
9067
  /**
9347
- * @generated from field: norsk.api.media.OptionalInt dolbyVisionProfile = 19;
9068
+ * @generated from field: norsk.api.common.OptionalInt dolbyVisionProfile = 19;
9348
9069
  */
9349
9070
  dolbyVisionProfile?: OptionalInt;
9350
9071
  /**
9351
- * @generated from field: norsk.api.media.OptionalBool fillerEnable = 20;
9072
+ * @generated from field: norsk.api.common.OptionalBool fillerEnable = 20;
9352
9073
  */
9353
9074
  fillerEnable?: OptionalBool;
9354
9075
  /**
9355
- * @generated from field: norsk.api.media.OptionalInt minQp = 21;
9076
+ * @generated from field: norsk.api.common.OptionalInt minQp = 21;
9356
9077
  */
9357
9078
  minQp?: OptionalInt;
9358
9079
  /**
9359
- * @generated from field: norsk.api.media.OptionalInt maxQp = 22;
9080
+ * @generated from field: norsk.api.common.OptionalInt maxQp = 22;
9360
9081
  */
9361
9082
  maxQp?: OptionalInt;
9362
9083
  /**
9363
- * @generated from field: norsk.api.media.OptionalInt maxDeltaQp = 23;
9084
+ * @generated from field: norsk.api.common.OptionalInt maxDeltaQp = 23;
9364
9085
  */
9365
9086
  maxDeltaQp?: OptionalInt;
9366
9087
  /**
9367
- * @generated from field: norsk.api.media.OptionalBool cuLevelRCEnable = 24;
9088
+ * @generated from field: norsk.api.common.OptionalBool cuLevelRCEnable = 24;
9368
9089
  */
9369
9090
  cuLevelRCEnable?: OptionalBool;
9370
9091
  /**
9371
- * @generated from field: norsk.api.media.OptionalInt lookAheadDepth = 25;
9092
+ * @generated from field: norsk.api.common.OptionalInt lookAheadDepth = 25;
9372
9093
  */
9373
9094
  lookAheadDepth?: OptionalInt;
9374
9095
  /**
9375
- * @generated from field: norsk.api.media.OptionalInt vbvBufferSize = 26;
9096
+ * @generated from field: norsk.api.common.OptionalInt vbvBufferSize = 26;
9376
9097
  */
9377
9098
  vbvBufferSize?: OptionalInt;
9378
9099
  /**
9379
- * @generated from field: norsk.api.media.OptionalInt vbvMaxRate = 27;
9100
+ * @generated from field: norsk.api.common.OptionalInt vbvMaxRate = 27;
9380
9101
  */
9381
9102
  vbvMaxRate?: OptionalInt;
9382
9103
  constructor(data?: PartialMessage<QuadraHevc>);
@@ -9427,39 +9148,39 @@ export declare class LoganH264 extends Message<LoganH264> {
9427
9148
  */
9428
9149
  extraOpts: string;
9429
9150
  /**
9430
- * @generated from field: norsk.api.media.OptionalBool enableAud = 2;
9151
+ * @generated from field: norsk.api.common.OptionalBool enableAud = 2;
9431
9152
  */
9432
9153
  enableAud?: OptionalBool;
9433
9154
  /**
9434
- * @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
9155
+ * @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
9435
9156
  */
9436
9157
  gpuIndex?: OptionalInt;
9437
9158
  /**
9438
- * @generated from field: norsk.api.media.OptionalInt bitrate = 4;
9159
+ * @generated from field: norsk.api.common.OptionalInt bitrate = 4;
9439
9160
  */
9440
9161
  bitrate?: OptionalInt;
9441
9162
  /**
9442
- * @generated from field: norsk.api.media.OptionalBool flushGop = 5;
9163
+ * @generated from field: norsk.api.common.OptionalBool flushGop = 5;
9443
9164
  */
9444
9165
  flushGop?: OptionalBool;
9445
9166
  /**
9446
- * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
9167
+ * @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
9447
9168
  */
9448
9169
  enableVfr?: OptionalBool;
9449
9170
  /**
9450
- * @generated from field: norsk.api.media.OptionalInt crf = 7;
9171
+ * @generated from field: norsk.api.common.OptionalInt crf = 7;
9451
9172
  */
9452
9173
  crf?: OptionalInt;
9453
9174
  /**
9454
- * @generated from field: norsk.api.media.OptionalBool cbr = 8;
9175
+ * @generated from field: norsk.api.common.OptionalBool cbr = 8;
9455
9176
  */
9456
9177
  cbr?: OptionalBool;
9457
9178
  /**
9458
- * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
9179
+ * @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
9459
9180
  */
9460
9181
  gopPresetIndex?: OptionalInt;
9461
9182
  /**
9462
- * @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
9183
+ * @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
9463
9184
  */
9464
9185
  intraPeriod?: OptionalInt;
9465
9186
  /**
@@ -9467,19 +9188,19 @@ export declare class LoganH264 extends Message<LoganH264> {
9467
9188
  */
9468
9189
  profile: LoganH264_LoganH264Profile;
9469
9190
  /**
9470
- * @generated from field: norsk.api.media.OptionalInt level = 12;
9191
+ * @generated from field: norsk.api.common.OptionalInt level = 12;
9471
9192
  */
9472
9193
  level?: OptionalInt;
9473
9194
  /**
9474
- * @generated from field: norsk.api.media.OptionalBool rcEnable = 13;
9195
+ * @generated from field: norsk.api.common.OptionalBool rcEnable = 13;
9475
9196
  */
9476
9197
  rcEnable?: OptionalBool;
9477
9198
  /**
9478
- * @generated from field: norsk.api.media.OptionalInt intraQp = 14;
9199
+ * @generated from field: norsk.api.common.OptionalInt intraQp = 14;
9479
9200
  */
9480
9201
  intraQp?: OptionalInt;
9481
9202
  /**
9482
- * @generated from field: norsk.api.media.OptionalInt rcInitDelay = 15;
9203
+ * @generated from field: norsk.api.common.OptionalInt rcInitDelay = 15;
9483
9204
  */
9484
9205
  rcInitDelay?: OptionalInt;
9485
9206
  constructor(data?: PartialMessage<LoganH264>);
@@ -9529,39 +9250,39 @@ export declare class LoganHevc extends Message<LoganHevc> {
9529
9250
  */
9530
9251
  extraOpts: string;
9531
9252
  /**
9532
- * @generated from field: norsk.api.media.OptionalBool enableAud = 2;
9253
+ * @generated from field: norsk.api.common.OptionalBool enableAud = 2;
9533
9254
  */
9534
9255
  enableAud?: OptionalBool;
9535
9256
  /**
9536
- * @generated from field: norsk.api.media.OptionalInt gpuIndex = 3;
9257
+ * @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
9537
9258
  */
9538
9259
  gpuIndex?: OptionalInt;
9539
9260
  /**
9540
- * @generated from field: norsk.api.media.OptionalInt bitrate = 4;
9261
+ * @generated from field: norsk.api.common.OptionalInt bitrate = 4;
9541
9262
  */
9542
9263
  bitrate?: OptionalInt;
9543
9264
  /**
9544
- * @generated from field: norsk.api.media.OptionalBool flushGop = 5;
9265
+ * @generated from field: norsk.api.common.OptionalBool flushGop = 5;
9545
9266
  */
9546
9267
  flushGop?: OptionalBool;
9547
9268
  /**
9548
- * @generated from field: norsk.api.media.OptionalBool enableVfr = 6;
9269
+ * @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
9549
9270
  */
9550
9271
  enableVfr?: OptionalBool;
9551
9272
  /**
9552
- * @generated from field: norsk.api.media.OptionalInt crf = 7;
9273
+ * @generated from field: norsk.api.common.OptionalInt crf = 7;
9553
9274
  */
9554
9275
  crf?: OptionalInt;
9555
9276
  /**
9556
- * @generated from field: norsk.api.media.OptionalBool cbr = 8;
9277
+ * @generated from field: norsk.api.common.OptionalBool cbr = 8;
9557
9278
  */
9558
9279
  cbr?: OptionalBool;
9559
9280
  /**
9560
- * @generated from field: norsk.api.media.OptionalInt gopPresetIndex = 9;
9281
+ * @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
9561
9282
  */
9562
9283
  gopPresetIndex?: OptionalInt;
9563
9284
  /**
9564
- * @generated from field: norsk.api.media.OptionalInt intraPeriod = 10;
9285
+ * @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
9565
9286
  */
9566
9287
  intraPeriod?: OptionalInt;
9567
9288
  /**
@@ -9573,31 +9294,31 @@ export declare class LoganHevc extends Message<LoganHevc> {
9573
9294
  */
9574
9295
  profile: LoganHevc_LoganHevcProfile;
9575
9296
  /**
9576
- * @generated from field: norsk.api.media.OptionalInt level = 13;
9297
+ * @generated from field: norsk.api.common.OptionalInt level = 13;
9577
9298
  */
9578
9299
  level?: OptionalInt;
9579
9300
  /**
9580
- * @generated from field: norsk.api.media.OptionalBool rcEnable = 14;
9301
+ * @generated from field: norsk.api.common.OptionalBool rcEnable = 14;
9581
9302
  */
9582
9303
  rcEnable?: OptionalBool;
9583
9304
  /**
9584
- * @generated from field: norsk.api.media.OptionalBool lossless = 15;
9305
+ * @generated from field: norsk.api.common.OptionalBool lossless = 15;
9585
9306
  */
9586
9307
  lossless?: OptionalBool;
9587
9308
  /**
9588
- * @generated from field: norsk.api.media.OptionalInt intraQp = 16;
9309
+ * @generated from field: norsk.api.common.OptionalInt intraQp = 16;
9589
9310
  */
9590
9311
  intraQp?: OptionalInt;
9591
9312
  /**
9592
- * @generated from field: norsk.api.media.OptionalInt rcInitDelay = 17;
9313
+ * @generated from field: norsk.api.common.OptionalInt rcInitDelay = 17;
9593
9314
  */
9594
9315
  rcInitDelay?: OptionalInt;
9595
9316
  /**
9596
- * @generated from field: norsk.api.media.OptionalBool hrdEnable = 18;
9317
+ * @generated from field: norsk.api.common.OptionalBool hrdEnable = 18;
9597
9318
  */
9598
9319
  hrdEnable?: OptionalBool;
9599
9320
  /**
9600
- * @generated from field: norsk.api.media.OptionalInt dolbyVisionProfile = 19;
9321
+ * @generated from field: norsk.api.common.OptionalInt dolbyVisionProfile = 19;
9601
9322
  */
9602
9323
  dolbyVisionProfile?: OptionalInt;
9603
9324
  constructor(data?: PartialMessage<LoganHevc>);
@@ -9648,7 +9369,7 @@ export declare class XilinxH264 extends Message<XilinxH264> {
9648
9369
  */
9649
9370
  profile: XilinxH264_XilinxH264Profile;
9650
9371
  /**
9651
- * @generated from field: norsk.api.media.OptionalInt level = 2;
9372
+ * @generated from field: norsk.api.common.OptionalInt level = 2;
9652
9373
  */
9653
9374
  level?: OptionalInt;
9654
9375
  constructor(data?: PartialMessage<XilinxH264>);
@@ -9702,7 +9423,7 @@ export declare class XilinxHevc extends Message<XilinxHevc> {
9702
9423
  */
9703
9424
  profile: XilinxHevc_XilinxHevcProfile;
9704
9425
  /**
9705
- * @generated from field: norsk.api.media.OptionalInt level = 3;
9426
+ * @generated from field: norsk.api.common.OptionalInt level = 3;
9706
9427
  */
9707
9428
  level?: OptionalInt;
9708
9429
  constructor(data?: PartialMessage<XilinxHevc>);
@@ -10183,26 +9904,26 @@ export declare class StreamMetadataOverrideConfiguration extends Message<StreamM
10183
9904
  * * Override the bitrate metadata of a compressed video stream, or `0` to
10184
9905
  * clear
10185
9906
  *
10186
- * @generated from field: norsk.api.media.OptionalInt video_bitrate = 2;
9907
+ * @generated from field: norsk.api.common.OptionalInt video_bitrate = 2;
10187
9908
  */
10188
9909
  videoBitrate?: OptionalInt;
10189
9910
  /**
10190
9911
  * * Override the bitrate metadata of a compressed audio stream, or `0` to
10191
9912
  * clear
10192
9913
  *
10193
- * @generated from field: norsk.api.media.OptionalInt audio_bitrate = 3;
9914
+ * @generated from field: norsk.api.common.OptionalInt audio_bitrate = 3;
10194
9915
  */
10195
9916
  audioBitrate?: OptionalInt;
10196
9917
  /**
10197
9918
  * * Override the language metadata of an audio stream, or `""` to clear
10198
9919
  *
10199
- * @generated from field: norsk.api.media.OptionalString audio_language = 4;
9920
+ * @generated from field: norsk.api.common.OptionalString audio_language = 4;
10200
9921
  */
10201
9922
  audioLanguage?: OptionalString;
10202
9923
  /**
10203
9924
  * * Override the language metadata of a subtitles stream, or `""` to clear
10204
9925
  *
10205
- * @generated from field: norsk.api.media.OptionalString subtitles_language = 5;
9926
+ * @generated from field: norsk.api.common.OptionalString subtitles_language = 5;
10206
9927
  */
10207
9928
  subtitlesLanguage?: OptionalString;
10208
9929
  constructor(data?: PartialMessage<StreamMetadataOverrideConfiguration>);
@@ -10222,26 +9943,26 @@ export declare class StreamMetadataOverrideUpdateConfiguration extends Message<S
10222
9943
  * * Override the bitrate metadata of a compressed video stream, or `0` to
10223
9944
  * clear
10224
9945
  *
10225
- * @generated from field: norsk.api.media.OptionalInt video_bitrate = 2;
9946
+ * @generated from field: norsk.api.common.OptionalInt video_bitrate = 2;
10226
9947
  */
10227
9948
  videoBitrate?: OptionalInt;
10228
9949
  /**
10229
9950
  * * Override the bitrate metadata of a compressed audio stream, or `0` to
10230
9951
  * clear
10231
9952
  *
10232
- * @generated from field: norsk.api.media.OptionalInt audio_bitrate = 3;
9953
+ * @generated from field: norsk.api.common.OptionalInt audio_bitrate = 3;
10233
9954
  */
10234
9955
  audioBitrate?: OptionalInt;
10235
9956
  /**
10236
9957
  * * Override the language metadata of an audio stream, or `""` to clear
10237
9958
  *
10238
- * @generated from field: norsk.api.media.OptionalString audio_language = 4;
9959
+ * @generated from field: norsk.api.common.OptionalString audio_language = 4;
10239
9960
  */
10240
9961
  audioLanguage?: OptionalString;
10241
9962
  /**
10242
9963
  * * Override the language metadata of a subtitles stream, or `""` to clear
10243
9964
  *
10244
- * @generated from field: norsk.api.media.OptionalString subtitles_language = 5;
9965
+ * @generated from field: norsk.api.common.OptionalString subtitles_language = 5;
10245
9966
  */
10246
9967
  subtitlesLanguage?: OptionalString;
10247
9968
  constructor(data?: PartialMessage<StreamMetadataOverrideUpdateConfiguration>);
@@ -11370,29 +11091,6 @@ export declare class AudioMeasureLevelsMessage extends Message<AudioMeasureLevel
11370
11091
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioMeasureLevelsMessage;
11371
11092
  static equals(a: AudioMeasureLevelsMessage | PlainMessage<AudioMeasureLevelsMessage> | undefined, b: AudioMeasureLevelsMessage | PlainMessage<AudioMeasureLevelsMessage> | undefined): boolean;
11372
11093
  }
11373
- /**
11374
- * A time interval measured as ticks / (ticks per second)
11375
- *
11376
- * @generated from message norsk.api.media.Interval
11377
- */
11378
- export declare class Interval extends Message<Interval> {
11379
- /**
11380
- * @generated from field: uint32 n = 1;
11381
- */
11382
- n: number;
11383
- /**
11384
- * @generated from field: uint32 d = 2;
11385
- */
11386
- d: number;
11387
- constructor(data?: PartialMessage<Interval>);
11388
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
11389
- static readonly typeName = "norsk.api.media.Interval";
11390
- static readonly fields: FieldList;
11391
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Interval;
11392
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Interval;
11393
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Interval;
11394
- static equals(a: Interval | PlainMessage<Interval> | undefined, b: Interval | PlainMessage<Interval> | undefined): boolean;
11395
- }
11396
11094
  /**
11397
11095
  * @generated from message norsk.api.media.Db
11398
11096
  */
@@ -11517,6 +11215,120 @@ export declare class AudioMeasureLevelsEvent extends Message<AudioMeasureLevelsE
11517
11215
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioMeasureLevelsEvent;
11518
11216
  static equals(a: AudioMeasureLevelsEvent | PlainMessage<AudioMeasureLevelsEvent> | undefined, b: AudioMeasureLevelsEvent | PlainMessage<AudioMeasureLevelsEvent> | undefined): boolean;
11519
11217
  }
11218
+ /**
11219
+ * @generated from message norsk.api.media.StreamTimestampReportConfiguration
11220
+ */
11221
+ export declare class StreamTimestampReportConfiguration extends Message<StreamTimestampReportConfiguration> {
11222
+ /**
11223
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
11224
+ */
11225
+ id?: MediaNodeId;
11226
+ constructor(data?: PartialMessage<StreamTimestampReportConfiguration>);
11227
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
11228
+ static readonly typeName = "norsk.api.media.StreamTimestampReportConfiguration";
11229
+ static readonly fields: FieldList;
11230
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTimestampReportConfiguration;
11231
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTimestampReportConfiguration;
11232
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTimestampReportConfiguration;
11233
+ static equals(a: StreamTimestampReportConfiguration | PlainMessage<StreamTimestampReportConfiguration> | undefined, b: StreamTimestampReportConfiguration | PlainMessage<StreamTimestampReportConfiguration> | undefined): boolean;
11234
+ }
11235
+ /**
11236
+ * @generated from message norsk.api.media.StreamTimestampReportMessage
11237
+ */
11238
+ export declare class StreamTimestampReportMessage extends Message<StreamTimestampReportMessage> {
11239
+ /**
11240
+ * @generated from oneof norsk.api.media.StreamTimestampReportMessage.message
11241
+ */
11242
+ message: {
11243
+ /**
11244
+ * @generated from field: norsk.api.media.Subscription subscription = 1;
11245
+ */
11246
+ value: Subscription;
11247
+ case: "subscription";
11248
+ } | {
11249
+ /**
11250
+ * @generated from field: norsk.api.media.StreamTimestampReportConfiguration configuration = 2;
11251
+ */
11252
+ value: StreamTimestampReportConfiguration;
11253
+ case: "configuration";
11254
+ } | {
11255
+ case: undefined;
11256
+ value?: undefined;
11257
+ };
11258
+ constructor(data?: PartialMessage<StreamTimestampReportMessage>);
11259
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
11260
+ static readonly typeName = "norsk.api.media.StreamTimestampReportMessage";
11261
+ static readonly fields: FieldList;
11262
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTimestampReportMessage;
11263
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTimestampReportMessage;
11264
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTimestampReportMessage;
11265
+ static equals(a: StreamTimestampReportMessage | PlainMessage<StreamTimestampReportMessage> | undefined, b: StreamTimestampReportMessage | PlainMessage<StreamTimestampReportMessage> | undefined): boolean;
11266
+ }
11267
+ /**
11268
+ * @generated from message norsk.api.media.StreamTimestampReport
11269
+ */
11270
+ export declare class StreamTimestampReport extends Message<StreamTimestampReport> {
11271
+ /**
11272
+ * @generated from field: norsk.api.media.StreamKey stream = 1;
11273
+ */
11274
+ stream?: StreamKey;
11275
+ /**
11276
+ * @generated from field: norsk.api.media.Interval pts = 2;
11277
+ */
11278
+ pts?: Interval;
11279
+ constructor(data?: PartialMessage<StreamTimestampReport>);
11280
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
11281
+ static readonly typeName = "norsk.api.media.StreamTimestampReport";
11282
+ static readonly fields: FieldList;
11283
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTimestampReport;
11284
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTimestampReport;
11285
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTimestampReport;
11286
+ static equals(a: StreamTimestampReport | PlainMessage<StreamTimestampReport> | undefined, b: StreamTimestampReport | PlainMessage<StreamTimestampReport> | undefined): boolean;
11287
+ }
11288
+ /**
11289
+ * @generated from message norsk.api.media.StreamTimestampReportEvent
11290
+ */
11291
+ export declare class StreamTimestampReportEvent extends Message<StreamTimestampReportEvent> {
11292
+ /**
11293
+ * @generated from oneof norsk.api.media.StreamTimestampReportEvent.message
11294
+ */
11295
+ message: {
11296
+ /**
11297
+ * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
11298
+ */
11299
+ value: MediaNodeId;
11300
+ case: "nodeId";
11301
+ } | {
11302
+ /**
11303
+ * @generated from field: norsk.api.media.StreamTimestampReport report = 2;
11304
+ */
11305
+ value: StreamTimestampReport;
11306
+ case: "report";
11307
+ } | {
11308
+ /**
11309
+ * @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
11310
+ */
11311
+ value: SubscriptionResponse;
11312
+ case: "subscriptionResponse";
11313
+ } | {
11314
+ /**
11315
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
11316
+ */
11317
+ value: Context;
11318
+ case: "inboundContext";
11319
+ } | {
11320
+ case: undefined;
11321
+ value?: undefined;
11322
+ };
11323
+ constructor(data?: PartialMessage<StreamTimestampReportEvent>);
11324
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
11325
+ static readonly typeName = "norsk.api.media.StreamTimestampReportEvent";
11326
+ static readonly fields: FieldList;
11327
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTimestampReportEvent;
11328
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTimestampReportEvent;
11329
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTimestampReportEvent;
11330
+ static equals(a: StreamTimestampReportEvent | PlainMessage<StreamTimestampReportEvent> | undefined, b: StreamTimestampReportEvent | PlainMessage<StreamTimestampReportEvent> | undefined): boolean;
11331
+ }
11520
11332
  /**
11521
11333
  * ///////////////////////////////
11522
11334
  * RTP Input
@@ -12447,7 +12259,7 @@ export declare class Scte35InsertCommandComponent extends Message<Scte35InsertCo
12447
12259
  */
12448
12260
  export declare class Scte35SpliceTime extends Message<Scte35SpliceTime> {
12449
12261
  /**
12450
- * @generated from field: norsk.api.media.OptionalInt pts_time = 1;
12262
+ * @generated from field: norsk.api.common.OptionalInt pts_time = 1;
12451
12263
  */
12452
12264
  ptsTime?: OptionalInt;
12453
12265
  constructor(data?: PartialMessage<Scte35SpliceTime>);
@@ -12869,7 +12681,7 @@ export declare class Scte35SegmentationDescriptor extends Message<Scte35Segmenta
12869
12681
  */
12870
12682
  components: Scte35SegmentationComponent[];
12871
12683
  /**
12872
- * @generated from field: norsk.api.media.OptionalInt64 segmentation_duration = 6;
12684
+ * @generated from field: norsk.api.common.OptionalInt64 segmentation_duration = 6;
12873
12685
  */
12874
12686
  segmentationDuration?: OptionalInt64;
12875
12687
  /**
@@ -12893,11 +12705,11 @@ export declare class Scte35SegmentationDescriptor extends Message<Scte35Segmenta
12893
12705
  */
12894
12706
  segmentsExpected: number;
12895
12707
  /**
12896
- * @generated from field: norsk.api.media.OptionalInt sub_segment_num = 12;
12708
+ * @generated from field: norsk.api.common.OptionalInt sub_segment_num = 12;
12897
12709
  */
12898
12710
  subSegmentNum?: OptionalInt;
12899
12711
  /**
12900
- * @generated from field: norsk.api.media.OptionalInt sub_segments_expected = 13;
12712
+ * @generated from field: norsk.api.common.OptionalInt sub_segments_expected = 13;
12901
12713
  */
12902
12714
  subSegmentsExpected?: OptionalInt;
12903
12715
  constructor(data?: PartialMessage<Scte35SegmentationDescriptor>);
@@ -13466,183 +13278,6 @@ export declare class SourceSubscriptionError_UnsupportedConversion extends Messa
13466
13278
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SourceSubscriptionError_UnsupportedConversion;
13467
13279
  static equals(a: SourceSubscriptionError_UnsupportedConversion | PlainMessage<SourceSubscriptionError_UnsupportedConversion> | undefined, b: SourceSubscriptionError_UnsupportedConversion | PlainMessage<SourceSubscriptionError_UnsupportedConversion> | undefined): boolean;
13468
13280
  }
13469
- /**
13470
- * `Struct` represents a structured data value, consisting of fields
13471
- * which map to dynamically typed values. In some languages, `Struct`
13472
- * might be supported by a native representation. For example, in
13473
- * scripting languages like JS a struct is represented as an
13474
- * object. The details of that representation are described together
13475
- * with the proto support for the language.
13476
- *
13477
- * The JSON representation for `Struct` is JSON object.
13478
- *
13479
- * @generated from message norsk.api.media.Struct
13480
- */
13481
- export declare class Struct extends Message<Struct> {
13482
- /**
13483
- * Unordered map of dynamically typed values.
13484
- *
13485
- * @generated from field: map<string, norsk.api.media.Value> fields = 1;
13486
- */
13487
- fields: {
13488
- [key: string]: Value;
13489
- };
13490
- constructor(data?: PartialMessage<Struct>);
13491
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
13492
- static readonly typeName = "norsk.api.media.Struct";
13493
- static readonly fields: FieldList;
13494
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Struct;
13495
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Struct;
13496
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Struct;
13497
- static equals(a: Struct | PlainMessage<Struct> | undefined, b: Struct | PlainMessage<Struct> | undefined): boolean;
13498
- }
13499
- /**
13500
- * `Value` represents a dynamically typed value which can be either
13501
- * null, a number, a string, a boolean, a recursive struct value, or a
13502
- * list of values. A producer of value is expected to set one of that
13503
- * variants, absence of any variant indicates an error.
13504
- *
13505
- * The JSON representation for `Value` is JSON value.
13506
- *
13507
- * @generated from message norsk.api.media.Value
13508
- */
13509
- export declare class Value extends Message<Value> {
13510
- /**
13511
- * The kind of value.
13512
- *
13513
- * @generated from oneof norsk.api.media.Value.kind
13514
- */
13515
- kind: {
13516
- /**
13517
- * Represents a null value.
13518
- *
13519
- * @generated from field: norsk.api.media.NullValue null_value = 1;
13520
- */
13521
- value: NullValue;
13522
- case: "nullValue";
13523
- } | {
13524
- /**
13525
- * Represents a double value.
13526
- *
13527
- * @generated from field: double number_value = 2;
13528
- */
13529
- value: number;
13530
- case: "numberValue";
13531
- } | {
13532
- /**
13533
- * Represents a string value.
13534
- *
13535
- * @generated from field: string string_value = 3;
13536
- */
13537
- value: string;
13538
- case: "stringValue";
13539
- } | {
13540
- /**
13541
- * Represents a boolean value.
13542
- *
13543
- * @generated from field: bool bool_value = 4;
13544
- */
13545
- value: boolean;
13546
- case: "boolValue";
13547
- } | {
13548
- /**
13549
- * Represents a structured value.
13550
- *
13551
- * @generated from field: norsk.api.media.Struct struct_value = 5;
13552
- */
13553
- value: Struct;
13554
- case: "structValue";
13555
- } | {
13556
- /**
13557
- * Represents a repeated `Value`.
13558
- *
13559
- * @generated from field: norsk.api.media.ListValue list_value = 6;
13560
- */
13561
- value: ListValue;
13562
- case: "listValue";
13563
- } | {
13564
- /**
13565
- * Represents a Code value
13566
- *
13567
- * @generated from field: norsk.api.media.Code code_value = 7;
13568
- */
13569
- value: Code;
13570
- case: "codeValue";
13571
- } | {
13572
- case: undefined;
13573
- value?: undefined;
13574
- };
13575
- constructor(data?: PartialMessage<Value>);
13576
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
13577
- static readonly typeName = "norsk.api.media.Value";
13578
- static readonly fields: FieldList;
13579
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Value;
13580
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Value;
13581
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Value;
13582
- static equals(a: Value | PlainMessage<Value> | undefined, b: Value | PlainMessage<Value> | undefined): boolean;
13583
- }
13584
- /**
13585
- * `ListValue` is a wrapper around a repeated field of values.
13586
- *
13587
- * The JSON representation for `ListValue` is JSON array.
13588
- *
13589
- * @generated from message norsk.api.media.ListValue
13590
- */
13591
- export declare class ListValue extends Message<ListValue> {
13592
- /**
13593
- * Repeated field of dynamically typed values.
13594
- *
13595
- * @generated from field: repeated norsk.api.media.Value values = 1;
13596
- */
13597
- values: Value[];
13598
- constructor(data?: PartialMessage<ListValue>);
13599
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
13600
- static readonly typeName = "norsk.api.media.ListValue";
13601
- static readonly fields: FieldList;
13602
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListValue;
13603
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListValue;
13604
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListValue;
13605
- static equals(a: ListValue | PlainMessage<ListValue> | undefined, b: ListValue | PlainMessage<ListValue> | undefined): boolean;
13606
- }
13607
- /**
13608
- * ///////////////////////////////////////////////////////////////////////////
13609
- *
13610
- *
13611
- * @generated from message norsk.api.media.Status
13612
- */
13613
- export declare class Status extends Message<Status> {
13614
- /**
13615
- * The status code, which should be an enum value of
13616
- * [google.rpc.Code][google.rpc.Code].
13617
- *
13618
- * @generated from field: norsk.api.media.Code code = 1;
13619
- */
13620
- code: Code;
13621
- /**
13622
- * A developer-facing error message, which should be in English. Any
13623
- * user-facing error message should be localized and sent in the
13624
- * [google.rpc.Status.details][google.rpc.Status.details] field, or localized
13625
- * by the client.
13626
- *
13627
- * @generated from field: string message = 2;
13628
- */
13629
- message: string;
13630
- /**
13631
- * A list of messages that carry the error details. There is a common set of
13632
- * message types for APIs to use.
13633
- *
13634
- * @generated from field: norsk.api.media.Struct details = 3;
13635
- */
13636
- details?: Struct;
13637
- constructor(data?: PartialMessage<Status>);
13638
- static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
13639
- static readonly typeName = "norsk.api.media.Status";
13640
- static readonly fields: FieldList;
13641
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Status;
13642
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Status;
13643
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Status;
13644
- static equals(a: Status | PlainMessage<Status> | undefined, b: Status | PlainMessage<Status> | undefined): boolean;
13645
- }
13646
13281
  /**
13647
13282
  * `Hello` is sent to the client at the start of a status channel, and gives
13648
13283
  * information about the current Norsk runtime