@vertexvis/stream-api 0.22.1-canary.11 → 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.
@@ -13680,6 +13680,7 @@ const vertexvis = $root.vertexvis = (() => {
13680
13680
  * @property {vertexvis.protobuf.stream.ISelectionHighlightAttributes|null} [selectionHighlighting] StreamAttributes selectionHighlighting
13681
13681
  * @property {vertexvis.protobuf.stream.IPhantomAttributes|null} [phantomItems] StreamAttributes phantomItems
13682
13682
  * @property {vertexvis.protobuf.stream.IFrameAttributes|null} [frames] StreamAttributes frames
13683
+ * @property {vertexvis.protobuf.stream.ISceneComparisonAttributes|null} [sceneComparison] StreamAttributes sceneComparison
13683
13684
  */
13684
13685
 
13685
13686
  /**
@@ -13777,6 +13778,14 @@ const vertexvis = $root.vertexvis = (() => {
13777
13778
  */
13778
13779
  StreamAttributes.prototype.frames = null;
13779
13780
 
13781
+ /**
13782
+ * StreamAttributes sceneComparison.
13783
+ * @member {vertexvis.protobuf.stream.ISceneComparisonAttributes|null|undefined} sceneComparison
13784
+ * @memberof vertexvis.protobuf.stream.StreamAttributes
13785
+ * @instance
13786
+ */
13787
+ StreamAttributes.prototype.sceneComparison = null;
13788
+
13780
13789
  /**
13781
13790
  * Creates a new StreamAttributes instance using the specified properties.
13782
13791
  * @function create
@@ -13821,6 +13830,8 @@ const vertexvis = $root.vertexvis = (() => {
13821
13830
  $root.vertexvis.protobuf.stream.PhantomAttributes.encode(message.phantomItems, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
13822
13831
  if (message.frames != null && Object.hasOwnProperty.call(message, "frames"))
13823
13832
  $root.vertexvis.protobuf.stream.FrameAttributes.encode(message.frames, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
13833
+ if (message.sceneComparison != null && Object.hasOwnProperty.call(message, "sceneComparison"))
13834
+ $root.vertexvis.protobuf.stream.SceneComparisonAttributes.encode(message.sceneComparison, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
13824
13835
  return writer;
13825
13836
  };
13826
13837
 
@@ -13885,6 +13896,9 @@ const vertexvis = $root.vertexvis = (() => {
13885
13896
  case 10:
13886
13897
  message.frames = $root.vertexvis.protobuf.stream.FrameAttributes.decode(reader, reader.uint32());
13887
13898
  break;
13899
+ case 11:
13900
+ message.sceneComparison = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.decode(reader, reader.uint32());
13901
+ break;
13888
13902
  default:
13889
13903
  reader.skipType(tag & 7);
13890
13904
  break;
@@ -13966,6 +13980,11 @@ const vertexvis = $root.vertexvis = (() => {
13966
13980
  if (error)
13967
13981
  return "frames." + error;
13968
13982
  }
13983
+ if (message.sceneComparison != null && message.hasOwnProperty("sceneComparison")) {
13984
+ let error = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.verify(message.sceneComparison);
13985
+ if (error)
13986
+ return "sceneComparison." + error;
13987
+ }
13969
13988
  return null;
13970
13989
  };
13971
13990
 
@@ -14025,6 +14044,11 @@ const vertexvis = $root.vertexvis = (() => {
14025
14044
  throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.frames: object expected");
14026
14045
  message.frames = $root.vertexvis.protobuf.stream.FrameAttributes.fromObject(object.frames);
14027
14046
  }
14047
+ if (object.sceneComparison != null) {
14048
+ if (typeof object.sceneComparison !== "object")
14049
+ throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.sceneComparison: object expected");
14050
+ message.sceneComparison = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.fromObject(object.sceneComparison);
14051
+ }
14028
14052
  return message;
14029
14053
  };
14030
14054
 
@@ -14052,6 +14076,7 @@ const vertexvis = $root.vertexvis = (() => {
14052
14076
  object.selectionHighlighting = null;
14053
14077
  object.phantomItems = null;
14054
14078
  object.frames = null;
14079
+ object.sceneComparison = null;
14055
14080
  }
14056
14081
  if (message.experimentalGhosting != null && message.hasOwnProperty("experimentalGhosting"))
14057
14082
  object.experimentalGhosting = $root.vertexvis.protobuf.stream.GhostingAttributes.toObject(message.experimentalGhosting, options);
@@ -14073,6 +14098,8 @@ const vertexvis = $root.vertexvis = (() => {
14073
14098
  object.phantomItems = $root.vertexvis.protobuf.stream.PhantomAttributes.toObject(message.phantomItems, options);
14074
14099
  if (message.frames != null && message.hasOwnProperty("frames"))
14075
14100
  object.frames = $root.vertexvis.protobuf.stream.FrameAttributes.toObject(message.frames, options);
14101
+ if (message.sceneComparison != null && message.hasOwnProperty("sceneComparison"))
14102
+ object.sceneComparison = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.toObject(message.sceneComparison, options);
14076
14103
  return object;
14077
14104
  };
14078
14105
 
@@ -15170,6 +15197,226 @@ const vertexvis = $root.vertexvis = (() => {
15170
15197
  return AnimationAttributes;
15171
15198
  })();
15172
15199
 
15200
+ stream.SceneComparisonAttributes = (function() {
15201
+
15202
+ /**
15203
+ * Properties of a SceneComparisonAttributes.
15204
+ * @memberof vertexvis.protobuf.stream
15205
+ * @interface ISceneComparisonAttributes
15206
+ * @property {vertexvis.protobuf.core.IUuid2l|null} [sceneIdToCompare] SceneComparisonAttributes sceneIdToCompare
15207
+ * @property {google.protobuf.IStringValue|null} [streamKeyToCompare] SceneComparisonAttributes streamKeyToCompare
15208
+ */
15209
+
15210
+ /**
15211
+ * Constructs a new SceneComparisonAttributes.
15212
+ * @memberof vertexvis.protobuf.stream
15213
+ * @classdesc Represents a SceneComparisonAttributes.
15214
+ * @implements ISceneComparisonAttributes
15215
+ * @constructor
15216
+ * @param {vertexvis.protobuf.stream.ISceneComparisonAttributes=} [properties] Properties to set
15217
+ */
15218
+ function SceneComparisonAttributes(properties) {
15219
+ if (properties)
15220
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
15221
+ if (properties[keys[i]] != null)
15222
+ this[keys[i]] = properties[keys[i]];
15223
+ }
15224
+
15225
+ /**
15226
+ * SceneComparisonAttributes sceneIdToCompare.
15227
+ * @member {vertexvis.protobuf.core.IUuid2l|null|undefined} sceneIdToCompare
15228
+ * @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
15229
+ * @instance
15230
+ */
15231
+ SceneComparisonAttributes.prototype.sceneIdToCompare = null;
15232
+
15233
+ /**
15234
+ * SceneComparisonAttributes streamKeyToCompare.
15235
+ * @member {google.protobuf.IStringValue|null|undefined} streamKeyToCompare
15236
+ * @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
15237
+ * @instance
15238
+ */
15239
+ SceneComparisonAttributes.prototype.streamKeyToCompare = null;
15240
+
15241
+ /**
15242
+ * Creates a new SceneComparisonAttributes instance using the specified properties.
15243
+ * @function create
15244
+ * @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
15245
+ * @static
15246
+ * @param {vertexvis.protobuf.stream.ISceneComparisonAttributes=} [properties] Properties to set
15247
+ * @returns {vertexvis.protobuf.stream.SceneComparisonAttributes} SceneComparisonAttributes instance
15248
+ */
15249
+ SceneComparisonAttributes.create = function create(properties) {
15250
+ return new SceneComparisonAttributes(properties);
15251
+ };
15252
+
15253
+ /**
15254
+ * Encodes the specified SceneComparisonAttributes message. Does not implicitly {@link vertexvis.protobuf.stream.SceneComparisonAttributes.verify|verify} messages.
15255
+ * @function encode
15256
+ * @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
15257
+ * @static
15258
+ * @param {vertexvis.protobuf.stream.ISceneComparisonAttributes} message SceneComparisonAttributes message or plain object to encode
15259
+ * @param {$protobuf.Writer} [writer] Writer to encode to
15260
+ * @returns {$protobuf.Writer} Writer
15261
+ */
15262
+ SceneComparisonAttributes.encode = function encode(message, writer) {
15263
+ if (!writer)
15264
+ writer = $Writer.create();
15265
+ if (message.sceneIdToCompare != null && Object.hasOwnProperty.call(message, "sceneIdToCompare"))
15266
+ $root.vertexvis.protobuf.core.Uuid2l.encode(message.sceneIdToCompare, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
15267
+ if (message.streamKeyToCompare != null && Object.hasOwnProperty.call(message, "streamKeyToCompare"))
15268
+ $root.google.protobuf.StringValue.encode(message.streamKeyToCompare, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
15269
+ return writer;
15270
+ };
15271
+
15272
+ /**
15273
+ * Encodes the specified SceneComparisonAttributes message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.SceneComparisonAttributes.verify|verify} messages.
15274
+ * @function encodeDelimited
15275
+ * @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
15276
+ * @static
15277
+ * @param {vertexvis.protobuf.stream.ISceneComparisonAttributes} message SceneComparisonAttributes message or plain object to encode
15278
+ * @param {$protobuf.Writer} [writer] Writer to encode to
15279
+ * @returns {$protobuf.Writer} Writer
15280
+ */
15281
+ SceneComparisonAttributes.encodeDelimited = function encodeDelimited(message, writer) {
15282
+ return this.encode(message, writer).ldelim();
15283
+ };
15284
+
15285
+ /**
15286
+ * Decodes a SceneComparisonAttributes message from the specified reader or buffer.
15287
+ * @function decode
15288
+ * @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
15289
+ * @static
15290
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
15291
+ * @param {number} [length] Message length if known beforehand
15292
+ * @returns {vertexvis.protobuf.stream.SceneComparisonAttributes} SceneComparisonAttributes
15293
+ * @throws {Error} If the payload is not a reader or valid buffer
15294
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15295
+ */
15296
+ SceneComparisonAttributes.decode = function decode(reader, length) {
15297
+ if (!(reader instanceof $Reader))
15298
+ reader = $Reader.create(reader);
15299
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.SceneComparisonAttributes();
15300
+ while (reader.pos < end) {
15301
+ let tag = reader.uint32();
15302
+ switch (tag >>> 3) {
15303
+ case 1:
15304
+ message.sceneIdToCompare = $root.vertexvis.protobuf.core.Uuid2l.decode(reader, reader.uint32());
15305
+ break;
15306
+ case 2:
15307
+ message.streamKeyToCompare = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
15308
+ break;
15309
+ default:
15310
+ reader.skipType(tag & 7);
15311
+ break;
15312
+ }
15313
+ }
15314
+ return message;
15315
+ };
15316
+
15317
+ /**
15318
+ * Decodes a SceneComparisonAttributes message from the specified reader or buffer, length delimited.
15319
+ * @function decodeDelimited
15320
+ * @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
15321
+ * @static
15322
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
15323
+ * @returns {vertexvis.protobuf.stream.SceneComparisonAttributes} SceneComparisonAttributes
15324
+ * @throws {Error} If the payload is not a reader or valid buffer
15325
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15326
+ */
15327
+ SceneComparisonAttributes.decodeDelimited = function decodeDelimited(reader) {
15328
+ if (!(reader instanceof $Reader))
15329
+ reader = new $Reader(reader);
15330
+ return this.decode(reader, reader.uint32());
15331
+ };
15332
+
15333
+ /**
15334
+ * Verifies a SceneComparisonAttributes message.
15335
+ * @function verify
15336
+ * @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
15337
+ * @static
15338
+ * @param {Object.<string,*>} message Plain object to verify
15339
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
15340
+ */
15341
+ SceneComparisonAttributes.verify = function verify(message) {
15342
+ if (typeof message !== "object" || message === null)
15343
+ return "object expected";
15344
+ if (message.sceneIdToCompare != null && message.hasOwnProperty("sceneIdToCompare")) {
15345
+ let error = $root.vertexvis.protobuf.core.Uuid2l.verify(message.sceneIdToCompare);
15346
+ if (error)
15347
+ return "sceneIdToCompare." + error;
15348
+ }
15349
+ if (message.streamKeyToCompare != null && message.hasOwnProperty("streamKeyToCompare")) {
15350
+ let error = $root.google.protobuf.StringValue.verify(message.streamKeyToCompare);
15351
+ if (error)
15352
+ return "streamKeyToCompare." + error;
15353
+ }
15354
+ return null;
15355
+ };
15356
+
15357
+ /**
15358
+ * Creates a SceneComparisonAttributes message from a plain object. Also converts values to their respective internal types.
15359
+ * @function fromObject
15360
+ * @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
15361
+ * @static
15362
+ * @param {Object.<string,*>} object Plain object
15363
+ * @returns {vertexvis.protobuf.stream.SceneComparisonAttributes} SceneComparisonAttributes
15364
+ */
15365
+ SceneComparisonAttributes.fromObject = function fromObject(object) {
15366
+ if (object instanceof $root.vertexvis.protobuf.stream.SceneComparisonAttributes)
15367
+ return object;
15368
+ let message = new $root.vertexvis.protobuf.stream.SceneComparisonAttributes();
15369
+ if (object.sceneIdToCompare != null) {
15370
+ if (typeof object.sceneIdToCompare !== "object")
15371
+ throw TypeError(".vertexvis.protobuf.stream.SceneComparisonAttributes.sceneIdToCompare: object expected");
15372
+ message.sceneIdToCompare = $root.vertexvis.protobuf.core.Uuid2l.fromObject(object.sceneIdToCompare);
15373
+ }
15374
+ if (object.streamKeyToCompare != null) {
15375
+ if (typeof object.streamKeyToCompare !== "object")
15376
+ throw TypeError(".vertexvis.protobuf.stream.SceneComparisonAttributes.streamKeyToCompare: object expected");
15377
+ message.streamKeyToCompare = $root.google.protobuf.StringValue.fromObject(object.streamKeyToCompare);
15378
+ }
15379
+ return message;
15380
+ };
15381
+
15382
+ /**
15383
+ * Creates a plain object from a SceneComparisonAttributes message. Also converts values to other types if specified.
15384
+ * @function toObject
15385
+ * @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
15386
+ * @static
15387
+ * @param {vertexvis.protobuf.stream.SceneComparisonAttributes} message SceneComparisonAttributes
15388
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
15389
+ * @returns {Object.<string,*>} Plain object
15390
+ */
15391
+ SceneComparisonAttributes.toObject = function toObject(message, options) {
15392
+ if (!options)
15393
+ options = {};
15394
+ let object = {};
15395
+ if (options.defaults) {
15396
+ object.sceneIdToCompare = null;
15397
+ object.streamKeyToCompare = null;
15398
+ }
15399
+ if (message.sceneIdToCompare != null && message.hasOwnProperty("sceneIdToCompare"))
15400
+ object.sceneIdToCompare = $root.vertexvis.protobuf.core.Uuid2l.toObject(message.sceneIdToCompare, options);
15401
+ if (message.streamKeyToCompare != null && message.hasOwnProperty("streamKeyToCompare"))
15402
+ object.streamKeyToCompare = $root.google.protobuf.StringValue.toObject(message.streamKeyToCompare, options);
15403
+ return object;
15404
+ };
15405
+
15406
+ /**
15407
+ * Converts this SceneComparisonAttributes to JSON.
15408
+ * @function toJSON
15409
+ * @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
15410
+ * @instance
15411
+ * @returns {Object.<string,*>} JSON object
15412
+ */
15413
+ SceneComparisonAttributes.prototype.toJSON = function toJSON() {
15414
+ return this.constructor.toObject(this, minimal.util.toJSONOptions);
15415
+ };
15416
+
15417
+ return SceneComparisonAttributes;
15418
+ })();
15419
+
15173
15420
  stream.FrameAttributes = (function() {
15174
15421
 
15175
15422
  /**