@vertexvis/stream-api 0.22.1-canary.12 → 0.22.1-canary.13

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.
@@ -15200,6 +15200,7 @@ const vertexvis = $root.vertexvis = (() => {
15200
15200
  * @memberof vertexvis.protobuf.stream
15201
15201
  * @interface ISceneComparisonAttributes
15202
15202
  * @property {vertexvis.protobuf.core.IUuid2l|null} [sceneIdToCompare] SceneComparisonAttributes sceneIdToCompare
15203
+ * @property {google.protobuf.IStringValue|null} [streamKeyToCompare] SceneComparisonAttributes streamKeyToCompare
15203
15204
  */
15204
15205
 
15205
15206
  /**
@@ -15225,6 +15226,14 @@ const vertexvis = $root.vertexvis = (() => {
15225
15226
  */
15226
15227
  SceneComparisonAttributes.prototype.sceneIdToCompare = null;
15227
15228
 
15229
+ /**
15230
+ * SceneComparisonAttributes streamKeyToCompare.
15231
+ * @member {google.protobuf.IStringValue|null|undefined} streamKeyToCompare
15232
+ * @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
15233
+ * @instance
15234
+ */
15235
+ SceneComparisonAttributes.prototype.streamKeyToCompare = null;
15236
+
15228
15237
  /**
15229
15238
  * Creates a new SceneComparisonAttributes instance using the specified properties.
15230
15239
  * @function create
@@ -15251,6 +15260,8 @@ const vertexvis = $root.vertexvis = (() => {
15251
15260
  writer = $Writer.create();
15252
15261
  if (message.sceneIdToCompare != null && Object.hasOwnProperty.call(message, "sceneIdToCompare"))
15253
15262
  $root.vertexvis.protobuf.core.Uuid2l.encode(message.sceneIdToCompare, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
15263
+ if (message.streamKeyToCompare != null && Object.hasOwnProperty.call(message, "streamKeyToCompare"))
15264
+ $root.google.protobuf.StringValue.encode(message.streamKeyToCompare, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
15254
15265
  return writer;
15255
15266
  };
15256
15267
 
@@ -15288,6 +15299,9 @@ const vertexvis = $root.vertexvis = (() => {
15288
15299
  case 1:
15289
15300
  message.sceneIdToCompare = $root.vertexvis.protobuf.core.Uuid2l.decode(reader, reader.uint32());
15290
15301
  break;
15302
+ case 2:
15303
+ message.streamKeyToCompare = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
15304
+ break;
15291
15305
  default:
15292
15306
  reader.skipType(tag & 7);
15293
15307
  break;
@@ -15328,6 +15342,11 @@ const vertexvis = $root.vertexvis = (() => {
15328
15342
  if (error)
15329
15343
  return "sceneIdToCompare." + error;
15330
15344
  }
15345
+ if (message.streamKeyToCompare != null && message.hasOwnProperty("streamKeyToCompare")) {
15346
+ let error = $root.google.protobuf.StringValue.verify(message.streamKeyToCompare);
15347
+ if (error)
15348
+ return "streamKeyToCompare." + error;
15349
+ }
15331
15350
  return null;
15332
15351
  };
15333
15352
 
@@ -15348,6 +15367,11 @@ const vertexvis = $root.vertexvis = (() => {
15348
15367
  throw TypeError(".vertexvis.protobuf.stream.SceneComparisonAttributes.sceneIdToCompare: object expected");
15349
15368
  message.sceneIdToCompare = $root.vertexvis.protobuf.core.Uuid2l.fromObject(object.sceneIdToCompare);
15350
15369
  }
15370
+ if (object.streamKeyToCompare != null) {
15371
+ if (typeof object.streamKeyToCompare !== "object")
15372
+ throw TypeError(".vertexvis.protobuf.stream.SceneComparisonAttributes.streamKeyToCompare: object expected");
15373
+ message.streamKeyToCompare = $root.google.protobuf.StringValue.fromObject(object.streamKeyToCompare);
15374
+ }
15351
15375
  return message;
15352
15376
  };
15353
15377
 
@@ -15364,10 +15388,14 @@ const vertexvis = $root.vertexvis = (() => {
15364
15388
  if (!options)
15365
15389
  options = {};
15366
15390
  let object = {};
15367
- if (options.defaults)
15391
+ if (options.defaults) {
15368
15392
  object.sceneIdToCompare = null;
15393
+ object.streamKeyToCompare = null;
15394
+ }
15369
15395
  if (message.sceneIdToCompare != null && message.hasOwnProperty("sceneIdToCompare"))
15370
15396
  object.sceneIdToCompare = $root.vertexvis.protobuf.core.Uuid2l.toObject(message.sceneIdToCompare, options);
15397
+ if (message.streamKeyToCompare != null && message.hasOwnProperty("streamKeyToCompare"))
15398
+ object.streamKeyToCompare = $root.google.protobuf.StringValue.toObject(message.streamKeyToCompare, options);
15371
15399
  return object;
15372
15400
  };
15373
15401