@vertexvis/stream-api 0.22.1-canary.9 → 0.22.1-testing.1

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.
@@ -13676,6 +13676,7 @@ const vertexvis = $root.vertexvis = (() => {
13676
13676
  * @property {vertexvis.protobuf.stream.ISelectionHighlightAttributes|null} [selectionHighlighting] StreamAttributes selectionHighlighting
13677
13677
  * @property {vertexvis.protobuf.stream.IPhantomAttributes|null} [phantomItems] StreamAttributes phantomItems
13678
13678
  * @property {vertexvis.protobuf.stream.IFrameAttributes|null} [frames] StreamAttributes frames
13679
+ * @property {vertexvis.protobuf.stream.ISceneComparisonAttributes|null} [sceneComparison] StreamAttributes sceneComparison
13679
13680
  */
13680
13681
 
13681
13682
  /**
@@ -13773,6 +13774,14 @@ const vertexvis = $root.vertexvis = (() => {
13773
13774
  */
13774
13775
  StreamAttributes.prototype.frames = null;
13775
13776
 
13777
+ /**
13778
+ * StreamAttributes sceneComparison.
13779
+ * @member {vertexvis.protobuf.stream.ISceneComparisonAttributes|null|undefined} sceneComparison
13780
+ * @memberof vertexvis.protobuf.stream.StreamAttributes
13781
+ * @instance
13782
+ */
13783
+ StreamAttributes.prototype.sceneComparison = null;
13784
+
13776
13785
  /**
13777
13786
  * Creates a new StreamAttributes instance using the specified properties.
13778
13787
  * @function create
@@ -13817,6 +13826,8 @@ const vertexvis = $root.vertexvis = (() => {
13817
13826
  $root.vertexvis.protobuf.stream.PhantomAttributes.encode(message.phantomItems, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
13818
13827
  if (message.frames != null && Object.hasOwnProperty.call(message, "frames"))
13819
13828
  $root.vertexvis.protobuf.stream.FrameAttributes.encode(message.frames, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
13829
+ if (message.sceneComparison != null && Object.hasOwnProperty.call(message, "sceneComparison"))
13830
+ $root.vertexvis.protobuf.stream.SceneComparisonAttributes.encode(message.sceneComparison, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
13820
13831
  return writer;
13821
13832
  };
13822
13833
 
@@ -13881,6 +13892,9 @@ const vertexvis = $root.vertexvis = (() => {
13881
13892
  case 10:
13882
13893
  message.frames = $root.vertexvis.protobuf.stream.FrameAttributes.decode(reader, reader.uint32());
13883
13894
  break;
13895
+ case 11:
13896
+ message.sceneComparison = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.decode(reader, reader.uint32());
13897
+ break;
13884
13898
  default:
13885
13899
  reader.skipType(tag & 7);
13886
13900
  break;
@@ -13962,6 +13976,11 @@ const vertexvis = $root.vertexvis = (() => {
13962
13976
  if (error)
13963
13977
  return "frames." + error;
13964
13978
  }
13979
+ if (message.sceneComparison != null && message.hasOwnProperty("sceneComparison")) {
13980
+ let error = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.verify(message.sceneComparison);
13981
+ if (error)
13982
+ return "sceneComparison." + error;
13983
+ }
13965
13984
  return null;
13966
13985
  };
13967
13986
 
@@ -14021,6 +14040,11 @@ const vertexvis = $root.vertexvis = (() => {
14021
14040
  throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.frames: object expected");
14022
14041
  message.frames = $root.vertexvis.protobuf.stream.FrameAttributes.fromObject(object.frames);
14023
14042
  }
14043
+ if (object.sceneComparison != null) {
14044
+ if (typeof object.sceneComparison !== "object")
14045
+ throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.sceneComparison: object expected");
14046
+ message.sceneComparison = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.fromObject(object.sceneComparison);
14047
+ }
14024
14048
  return message;
14025
14049
  };
14026
14050
 
@@ -14048,6 +14072,7 @@ const vertexvis = $root.vertexvis = (() => {
14048
14072
  object.selectionHighlighting = null;
14049
14073
  object.phantomItems = null;
14050
14074
  object.frames = null;
14075
+ object.sceneComparison = null;
14051
14076
  }
14052
14077
  if (message.experimentalGhosting != null && message.hasOwnProperty("experimentalGhosting"))
14053
14078
  object.experimentalGhosting = $root.vertexvis.protobuf.stream.GhostingAttributes.toObject(message.experimentalGhosting, options);
@@ -14069,6 +14094,8 @@ const vertexvis = $root.vertexvis = (() => {
14069
14094
  object.phantomItems = $root.vertexvis.protobuf.stream.PhantomAttributes.toObject(message.phantomItems, options);
14070
14095
  if (message.frames != null && message.hasOwnProperty("frames"))
14071
14096
  object.frames = $root.vertexvis.protobuf.stream.FrameAttributes.toObject(message.frames, options);
14097
+ if (message.sceneComparison != null && message.hasOwnProperty("sceneComparison"))
14098
+ object.sceneComparison = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.toObject(message.sceneComparison, options);
14072
14099
  return object;
14073
14100
  };
14074
14101
 
@@ -15166,6 +15193,198 @@ const vertexvis = $root.vertexvis = (() => {
15166
15193
  return AnimationAttributes;
15167
15194
  })();
15168
15195
 
15196
+ stream.SceneComparisonAttributes = (function() {
15197
+
15198
+ /**
15199
+ * Properties of a SceneComparisonAttributes.
15200
+ * @memberof vertexvis.protobuf.stream
15201
+ * @interface ISceneComparisonAttributes
15202
+ * @property {google.protobuf.IStringValue|null} [streamKeyToCompare] SceneComparisonAttributes streamKeyToCompare
15203
+ */
15204
+
15205
+ /**
15206
+ * Constructs a new SceneComparisonAttributes.
15207
+ * @memberof vertexvis.protobuf.stream
15208
+ * @classdesc Represents a SceneComparisonAttributes.
15209
+ * @implements ISceneComparisonAttributes
15210
+ * @constructor
15211
+ * @param {vertexvis.protobuf.stream.ISceneComparisonAttributes=} [properties] Properties to set
15212
+ */
15213
+ function SceneComparisonAttributes(properties) {
15214
+ if (properties)
15215
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
15216
+ if (properties[keys[i]] != null)
15217
+ this[keys[i]] = properties[keys[i]];
15218
+ }
15219
+
15220
+ /**
15221
+ * SceneComparisonAttributes streamKeyToCompare.
15222
+ * @member {google.protobuf.IStringValue|null|undefined} streamKeyToCompare
15223
+ * @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
15224
+ * @instance
15225
+ */
15226
+ SceneComparisonAttributes.prototype.streamKeyToCompare = null;
15227
+
15228
+ /**
15229
+ * Creates a new SceneComparisonAttributes instance using the specified properties.
15230
+ * @function create
15231
+ * @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
15232
+ * @static
15233
+ * @param {vertexvis.protobuf.stream.ISceneComparisonAttributes=} [properties] Properties to set
15234
+ * @returns {vertexvis.protobuf.stream.SceneComparisonAttributes} SceneComparisonAttributes instance
15235
+ */
15236
+ SceneComparisonAttributes.create = function create(properties) {
15237
+ return new SceneComparisonAttributes(properties);
15238
+ };
15239
+
15240
+ /**
15241
+ * Encodes the specified SceneComparisonAttributes message. Does not implicitly {@link vertexvis.protobuf.stream.SceneComparisonAttributes.verify|verify} messages.
15242
+ * @function encode
15243
+ * @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
15244
+ * @static
15245
+ * @param {vertexvis.protobuf.stream.ISceneComparisonAttributes} message SceneComparisonAttributes message or plain object to encode
15246
+ * @param {$protobuf.Writer} [writer] Writer to encode to
15247
+ * @returns {$protobuf.Writer} Writer
15248
+ */
15249
+ SceneComparisonAttributes.encode = function encode(message, writer) {
15250
+ if (!writer)
15251
+ writer = $Writer.create();
15252
+ if (message.streamKeyToCompare != null && Object.hasOwnProperty.call(message, "streamKeyToCompare"))
15253
+ $root.google.protobuf.StringValue.encode(message.streamKeyToCompare, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
15254
+ return writer;
15255
+ };
15256
+
15257
+ /**
15258
+ * Encodes the specified SceneComparisonAttributes message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.SceneComparisonAttributes.verify|verify} messages.
15259
+ * @function encodeDelimited
15260
+ * @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
15261
+ * @static
15262
+ * @param {vertexvis.protobuf.stream.ISceneComparisonAttributes} message SceneComparisonAttributes message or plain object to encode
15263
+ * @param {$protobuf.Writer} [writer] Writer to encode to
15264
+ * @returns {$protobuf.Writer} Writer
15265
+ */
15266
+ SceneComparisonAttributes.encodeDelimited = function encodeDelimited(message, writer) {
15267
+ return this.encode(message, writer).ldelim();
15268
+ };
15269
+
15270
+ /**
15271
+ * Decodes a SceneComparisonAttributes message from the specified reader or buffer.
15272
+ * @function decode
15273
+ * @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
15274
+ * @static
15275
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
15276
+ * @param {number} [length] Message length if known beforehand
15277
+ * @returns {vertexvis.protobuf.stream.SceneComparisonAttributes} SceneComparisonAttributes
15278
+ * @throws {Error} If the payload is not a reader or valid buffer
15279
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15280
+ */
15281
+ SceneComparisonAttributes.decode = function decode(reader, length) {
15282
+ if (!(reader instanceof $Reader))
15283
+ reader = $Reader.create(reader);
15284
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.SceneComparisonAttributes();
15285
+ while (reader.pos < end) {
15286
+ let tag = reader.uint32();
15287
+ switch (tag >>> 3) {
15288
+ case 2:
15289
+ message.streamKeyToCompare = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
15290
+ break;
15291
+ default:
15292
+ reader.skipType(tag & 7);
15293
+ break;
15294
+ }
15295
+ }
15296
+ return message;
15297
+ };
15298
+
15299
+ /**
15300
+ * Decodes a SceneComparisonAttributes message from the specified reader or buffer, length delimited.
15301
+ * @function decodeDelimited
15302
+ * @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
15303
+ * @static
15304
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
15305
+ * @returns {vertexvis.protobuf.stream.SceneComparisonAttributes} SceneComparisonAttributes
15306
+ * @throws {Error} If the payload is not a reader or valid buffer
15307
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15308
+ */
15309
+ SceneComparisonAttributes.decodeDelimited = function decodeDelimited(reader) {
15310
+ if (!(reader instanceof $Reader))
15311
+ reader = new $Reader(reader);
15312
+ return this.decode(reader, reader.uint32());
15313
+ };
15314
+
15315
+ /**
15316
+ * Verifies a SceneComparisonAttributes message.
15317
+ * @function verify
15318
+ * @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
15319
+ * @static
15320
+ * @param {Object.<string,*>} message Plain object to verify
15321
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
15322
+ */
15323
+ SceneComparisonAttributes.verify = function verify(message) {
15324
+ if (typeof message !== "object" || message === null)
15325
+ return "object expected";
15326
+ if (message.streamKeyToCompare != null && message.hasOwnProperty("streamKeyToCompare")) {
15327
+ let error = $root.google.protobuf.StringValue.verify(message.streamKeyToCompare);
15328
+ if (error)
15329
+ return "streamKeyToCompare." + error;
15330
+ }
15331
+ return null;
15332
+ };
15333
+
15334
+ /**
15335
+ * Creates a SceneComparisonAttributes message from a plain object. Also converts values to their respective internal types.
15336
+ * @function fromObject
15337
+ * @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
15338
+ * @static
15339
+ * @param {Object.<string,*>} object Plain object
15340
+ * @returns {vertexvis.protobuf.stream.SceneComparisonAttributes} SceneComparisonAttributes
15341
+ */
15342
+ SceneComparisonAttributes.fromObject = function fromObject(object) {
15343
+ if (object instanceof $root.vertexvis.protobuf.stream.SceneComparisonAttributes)
15344
+ return object;
15345
+ let message = new $root.vertexvis.protobuf.stream.SceneComparisonAttributes();
15346
+ if (object.streamKeyToCompare != null) {
15347
+ if (typeof object.streamKeyToCompare !== "object")
15348
+ throw TypeError(".vertexvis.protobuf.stream.SceneComparisonAttributes.streamKeyToCompare: object expected");
15349
+ message.streamKeyToCompare = $root.google.protobuf.StringValue.fromObject(object.streamKeyToCompare);
15350
+ }
15351
+ return message;
15352
+ };
15353
+
15354
+ /**
15355
+ * Creates a plain object from a SceneComparisonAttributes message. Also converts values to other types if specified.
15356
+ * @function toObject
15357
+ * @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
15358
+ * @static
15359
+ * @param {vertexvis.protobuf.stream.SceneComparisonAttributes} message SceneComparisonAttributes
15360
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
15361
+ * @returns {Object.<string,*>} Plain object
15362
+ */
15363
+ SceneComparisonAttributes.toObject = function toObject(message, options) {
15364
+ if (!options)
15365
+ options = {};
15366
+ let object = {};
15367
+ if (options.defaults)
15368
+ object.streamKeyToCompare = null;
15369
+ if (message.streamKeyToCompare != null && message.hasOwnProperty("streamKeyToCompare"))
15370
+ object.streamKeyToCompare = $root.google.protobuf.StringValue.toObject(message.streamKeyToCompare, options);
15371
+ return object;
15372
+ };
15373
+
15374
+ /**
15375
+ * Converts this SceneComparisonAttributes to JSON.
15376
+ * @function toJSON
15377
+ * @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
15378
+ * @instance
15379
+ * @returns {Object.<string,*>} JSON object
15380
+ */
15381
+ SceneComparisonAttributes.prototype.toJSON = function toJSON() {
15382
+ return this.constructor.toObject(this, minimal.util.toJSONOptions);
15383
+ };
15384
+
15385
+ return SceneComparisonAttributes;
15386
+ })();
15387
+
15169
15388
  stream.FrameAttributes = (function() {
15170
15389
 
15171
15390
  /**