@vertexvis/stream-api 0.24.6-testing.0 → 0.24.6-testing.2

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.
@@ -4253,6 +4253,226 @@ const vertexvis = $root.vertexvis = (() => {
4253
4253
  return DisplayListSummary;
4254
4254
  })();
4255
4255
 
4256
+ stream.ItemModelViewAttributes = (function() {
4257
+
4258
+ /**
4259
+ * Properties of an ItemModelViewAttributes.
4260
+ * @memberof vertexvis.protobuf.stream
4261
+ * @interface IItemModelViewAttributes
4262
+ * @property {vertexvis.protobuf.core.IUuid|null} [modelViewId] ItemModelViewAttributes modelViewId
4263
+ * @property {vertexvis.protobuf.core.IUuid|null} [sceneItemId] ItemModelViewAttributes sceneItemId
4264
+ */
4265
+
4266
+ /**
4267
+ * Constructs a new ItemModelViewAttributes.
4268
+ * @memberof vertexvis.protobuf.stream
4269
+ * @classdesc Represents an ItemModelViewAttributes.
4270
+ * @implements IItemModelViewAttributes
4271
+ * @constructor
4272
+ * @param {vertexvis.protobuf.stream.IItemModelViewAttributes=} [properties] Properties to set
4273
+ */
4274
+ function ItemModelViewAttributes(properties) {
4275
+ if (properties)
4276
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
4277
+ if (properties[keys[i]] != null)
4278
+ this[keys[i]] = properties[keys[i]];
4279
+ }
4280
+
4281
+ /**
4282
+ * ItemModelViewAttributes modelViewId.
4283
+ * @member {vertexvis.protobuf.core.IUuid|null|undefined} modelViewId
4284
+ * @memberof vertexvis.protobuf.stream.ItemModelViewAttributes
4285
+ * @instance
4286
+ */
4287
+ ItemModelViewAttributes.prototype.modelViewId = null;
4288
+
4289
+ /**
4290
+ * ItemModelViewAttributes sceneItemId.
4291
+ * @member {vertexvis.protobuf.core.IUuid|null|undefined} sceneItemId
4292
+ * @memberof vertexvis.protobuf.stream.ItemModelViewAttributes
4293
+ * @instance
4294
+ */
4295
+ ItemModelViewAttributes.prototype.sceneItemId = null;
4296
+
4297
+ /**
4298
+ * Creates a new ItemModelViewAttributes instance using the specified properties.
4299
+ * @function create
4300
+ * @memberof vertexvis.protobuf.stream.ItemModelViewAttributes
4301
+ * @static
4302
+ * @param {vertexvis.protobuf.stream.IItemModelViewAttributes=} [properties] Properties to set
4303
+ * @returns {vertexvis.protobuf.stream.ItemModelViewAttributes} ItemModelViewAttributes instance
4304
+ */
4305
+ ItemModelViewAttributes.create = function create(properties) {
4306
+ return new ItemModelViewAttributes(properties);
4307
+ };
4308
+
4309
+ /**
4310
+ * Encodes the specified ItemModelViewAttributes message. Does not implicitly {@link vertexvis.protobuf.stream.ItemModelViewAttributes.verify|verify} messages.
4311
+ * @function encode
4312
+ * @memberof vertexvis.protobuf.stream.ItemModelViewAttributes
4313
+ * @static
4314
+ * @param {vertexvis.protobuf.stream.IItemModelViewAttributes} message ItemModelViewAttributes message or plain object to encode
4315
+ * @param {$protobuf.Writer} [writer] Writer to encode to
4316
+ * @returns {$protobuf.Writer} Writer
4317
+ */
4318
+ ItemModelViewAttributes.encode = function encode(message, writer) {
4319
+ if (!writer)
4320
+ writer = $Writer.create();
4321
+ if (message.modelViewId != null && Object.hasOwnProperty.call(message, "modelViewId"))
4322
+ $root.vertexvis.protobuf.core.Uuid.encode(message.modelViewId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
4323
+ if (message.sceneItemId != null && Object.hasOwnProperty.call(message, "sceneItemId"))
4324
+ $root.vertexvis.protobuf.core.Uuid.encode(message.sceneItemId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
4325
+ return writer;
4326
+ };
4327
+
4328
+ /**
4329
+ * Encodes the specified ItemModelViewAttributes message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.ItemModelViewAttributes.verify|verify} messages.
4330
+ * @function encodeDelimited
4331
+ * @memberof vertexvis.protobuf.stream.ItemModelViewAttributes
4332
+ * @static
4333
+ * @param {vertexvis.protobuf.stream.IItemModelViewAttributes} message ItemModelViewAttributes message or plain object to encode
4334
+ * @param {$protobuf.Writer} [writer] Writer to encode to
4335
+ * @returns {$protobuf.Writer} Writer
4336
+ */
4337
+ ItemModelViewAttributes.encodeDelimited = function encodeDelimited(message, writer) {
4338
+ return this.encode(message, writer).ldelim();
4339
+ };
4340
+
4341
+ /**
4342
+ * Decodes an ItemModelViewAttributes message from the specified reader or buffer.
4343
+ * @function decode
4344
+ * @memberof vertexvis.protobuf.stream.ItemModelViewAttributes
4345
+ * @static
4346
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
4347
+ * @param {number} [length] Message length if known beforehand
4348
+ * @returns {vertexvis.protobuf.stream.ItemModelViewAttributes} ItemModelViewAttributes
4349
+ * @throws {Error} If the payload is not a reader or valid buffer
4350
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4351
+ */
4352
+ ItemModelViewAttributes.decode = function decode(reader, length) {
4353
+ if (!(reader instanceof $Reader))
4354
+ reader = $Reader.create(reader);
4355
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.ItemModelViewAttributes();
4356
+ while (reader.pos < end) {
4357
+ let tag = reader.uint32();
4358
+ switch (tag >>> 3) {
4359
+ case 1:
4360
+ message.modelViewId = $root.vertexvis.protobuf.core.Uuid.decode(reader, reader.uint32());
4361
+ break;
4362
+ case 2:
4363
+ message.sceneItemId = $root.vertexvis.protobuf.core.Uuid.decode(reader, reader.uint32());
4364
+ break;
4365
+ default:
4366
+ reader.skipType(tag & 7);
4367
+ break;
4368
+ }
4369
+ }
4370
+ return message;
4371
+ };
4372
+
4373
+ /**
4374
+ * Decodes an ItemModelViewAttributes message from the specified reader or buffer, length delimited.
4375
+ * @function decodeDelimited
4376
+ * @memberof vertexvis.protobuf.stream.ItemModelViewAttributes
4377
+ * @static
4378
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
4379
+ * @returns {vertexvis.protobuf.stream.ItemModelViewAttributes} ItemModelViewAttributes
4380
+ * @throws {Error} If the payload is not a reader or valid buffer
4381
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4382
+ */
4383
+ ItemModelViewAttributes.decodeDelimited = function decodeDelimited(reader) {
4384
+ if (!(reader instanceof $Reader))
4385
+ reader = new $Reader(reader);
4386
+ return this.decode(reader, reader.uint32());
4387
+ };
4388
+
4389
+ /**
4390
+ * Verifies an ItemModelViewAttributes message.
4391
+ * @function verify
4392
+ * @memberof vertexvis.protobuf.stream.ItemModelViewAttributes
4393
+ * @static
4394
+ * @param {Object.<string,*>} message Plain object to verify
4395
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
4396
+ */
4397
+ ItemModelViewAttributes.verify = function verify(message) {
4398
+ if (typeof message !== "object" || message === null)
4399
+ return "object expected";
4400
+ if (message.modelViewId != null && message.hasOwnProperty("modelViewId")) {
4401
+ let error = $root.vertexvis.protobuf.core.Uuid.verify(message.modelViewId);
4402
+ if (error)
4403
+ return "modelViewId." + error;
4404
+ }
4405
+ if (message.sceneItemId != null && message.hasOwnProperty("sceneItemId")) {
4406
+ let error = $root.vertexvis.protobuf.core.Uuid.verify(message.sceneItemId);
4407
+ if (error)
4408
+ return "sceneItemId." + error;
4409
+ }
4410
+ return null;
4411
+ };
4412
+
4413
+ /**
4414
+ * Creates an ItemModelViewAttributes message from a plain object. Also converts values to their respective internal types.
4415
+ * @function fromObject
4416
+ * @memberof vertexvis.protobuf.stream.ItemModelViewAttributes
4417
+ * @static
4418
+ * @param {Object.<string,*>} object Plain object
4419
+ * @returns {vertexvis.protobuf.stream.ItemModelViewAttributes} ItemModelViewAttributes
4420
+ */
4421
+ ItemModelViewAttributes.fromObject = function fromObject(object) {
4422
+ if (object instanceof $root.vertexvis.protobuf.stream.ItemModelViewAttributes)
4423
+ return object;
4424
+ let message = new $root.vertexvis.protobuf.stream.ItemModelViewAttributes();
4425
+ if (object.modelViewId != null) {
4426
+ if (typeof object.modelViewId !== "object")
4427
+ throw TypeError(".vertexvis.protobuf.stream.ItemModelViewAttributes.modelViewId: object expected");
4428
+ message.modelViewId = $root.vertexvis.protobuf.core.Uuid.fromObject(object.modelViewId);
4429
+ }
4430
+ if (object.sceneItemId != null) {
4431
+ if (typeof object.sceneItemId !== "object")
4432
+ throw TypeError(".vertexvis.protobuf.stream.ItemModelViewAttributes.sceneItemId: object expected");
4433
+ message.sceneItemId = $root.vertexvis.protobuf.core.Uuid.fromObject(object.sceneItemId);
4434
+ }
4435
+ return message;
4436
+ };
4437
+
4438
+ /**
4439
+ * Creates a plain object from an ItemModelViewAttributes message. Also converts values to other types if specified.
4440
+ * @function toObject
4441
+ * @memberof vertexvis.protobuf.stream.ItemModelViewAttributes
4442
+ * @static
4443
+ * @param {vertexvis.protobuf.stream.ItemModelViewAttributes} message ItemModelViewAttributes
4444
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
4445
+ * @returns {Object.<string,*>} Plain object
4446
+ */
4447
+ ItemModelViewAttributes.toObject = function toObject(message, options) {
4448
+ if (!options)
4449
+ options = {};
4450
+ let object = {};
4451
+ if (options.defaults) {
4452
+ object.modelViewId = null;
4453
+ object.sceneItemId = null;
4454
+ }
4455
+ if (message.modelViewId != null && message.hasOwnProperty("modelViewId"))
4456
+ object.modelViewId = $root.vertexvis.protobuf.core.Uuid.toObject(message.modelViewId, options);
4457
+ if (message.sceneItemId != null && message.hasOwnProperty("sceneItemId"))
4458
+ object.sceneItemId = $root.vertexvis.protobuf.core.Uuid.toObject(message.sceneItemId, options);
4459
+ return object;
4460
+ };
4461
+
4462
+ /**
4463
+ * Converts this ItemModelViewAttributes to JSON.
4464
+ * @function toJSON
4465
+ * @memberof vertexvis.protobuf.stream.ItemModelViewAttributes
4466
+ * @instance
4467
+ * @returns {Object.<string,*>} JSON object
4468
+ */
4469
+ ItemModelViewAttributes.prototype.toJSON = function toJSON() {
4470
+ return this.constructor.toObject(this, minimal.util.toJSONOptions);
4471
+ };
4472
+
4473
+ return ItemModelViewAttributes;
4474
+ })();
4475
+
4256
4476
  stream.SceneAttributes = (function() {
4257
4477
 
4258
4478
  /**
@@ -4265,6 +4485,7 @@ const vertexvis = $root.vertexvis = (() => {
4265
4485
  * @property {boolean|null} [hasChanged] SceneAttributes hasChanged
4266
4486
  * @property {vertexvis.protobuf.stream.IDisplayListSummary|null} [displayListSummary] SceneAttributes displayListSummary
4267
4487
  * @property {vertexvis.protobuf.core.IUuid2l|null} [modelViewId] SceneAttributes modelViewId
4488
+ * @property {vertexvis.protobuf.stream.IItemModelViewAttributes|null} [itemModelView] SceneAttributes itemModelView
4268
4489
  */
4269
4490
 
4270
4491
  /**
@@ -4330,6 +4551,14 @@ const vertexvis = $root.vertexvis = (() => {
4330
4551
  */
4331
4552
  SceneAttributes.prototype.modelViewId = null;
4332
4553
 
4554
+ /**
4555
+ * SceneAttributes itemModelView.
4556
+ * @member {vertexvis.protobuf.stream.IItemModelViewAttributes|null|undefined} itemModelView
4557
+ * @memberof vertexvis.protobuf.stream.SceneAttributes
4558
+ * @instance
4559
+ */
4560
+ SceneAttributes.prototype.itemModelView = null;
4561
+
4333
4562
  /**
4334
4563
  * Creates a new SceneAttributes instance using the specified properties.
4335
4564
  * @function create
@@ -4366,6 +4595,8 @@ const vertexvis = $root.vertexvis = (() => {
4366
4595
  $root.vertexvis.protobuf.stream.DisplayListSummary.encode(message.displayListSummary, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
4367
4596
  if (message.modelViewId != null && Object.hasOwnProperty.call(message, "modelViewId"))
4368
4597
  $root.vertexvis.protobuf.core.Uuid2l.encode(message.modelViewId, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
4598
+ if (message.itemModelView != null && Object.hasOwnProperty.call(message, "itemModelView"))
4599
+ $root.vertexvis.protobuf.stream.ItemModelViewAttributes.encode(message.itemModelView, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
4369
4600
  return writer;
4370
4601
  };
4371
4602
 
@@ -4418,6 +4649,9 @@ const vertexvis = $root.vertexvis = (() => {
4418
4649
  case 6:
4419
4650
  message.modelViewId = $root.vertexvis.protobuf.core.Uuid2l.decode(reader, reader.uint32());
4420
4651
  break;
4652
+ case 7:
4653
+ message.itemModelView = $root.vertexvis.protobuf.stream.ItemModelViewAttributes.decode(reader, reader.uint32());
4654
+ break;
4421
4655
  default:
4422
4656
  reader.skipType(tag & 7);
4423
4657
  break;
@@ -4481,6 +4715,11 @@ const vertexvis = $root.vertexvis = (() => {
4481
4715
  if (error)
4482
4716
  return "modelViewId." + error;
4483
4717
  }
4718
+ if (message.itemModelView != null && message.hasOwnProperty("itemModelView")) {
4719
+ let error = $root.vertexvis.protobuf.stream.ItemModelViewAttributes.verify(message.itemModelView);
4720
+ if (error)
4721
+ return "itemModelView." + error;
4722
+ }
4484
4723
  return null;
4485
4724
  };
4486
4725
 
@@ -4523,6 +4762,11 @@ const vertexvis = $root.vertexvis = (() => {
4523
4762
  throw TypeError(".vertexvis.protobuf.stream.SceneAttributes.modelViewId: object expected");
4524
4763
  message.modelViewId = $root.vertexvis.protobuf.core.Uuid2l.fromObject(object.modelViewId);
4525
4764
  }
4765
+ if (object.itemModelView != null) {
4766
+ if (typeof object.itemModelView !== "object")
4767
+ throw TypeError(".vertexvis.protobuf.stream.SceneAttributes.itemModelView: object expected");
4768
+ message.itemModelView = $root.vertexvis.protobuf.stream.ItemModelViewAttributes.fromObject(object.itemModelView);
4769
+ }
4526
4770
  return message;
4527
4771
  };
4528
4772
 
@@ -4546,6 +4790,7 @@ const vertexvis = $root.vertexvis = (() => {
4546
4790
  object.hasChanged = false;
4547
4791
  object.displayListSummary = null;
4548
4792
  object.modelViewId = null;
4793
+ object.itemModelView = null;
4549
4794
  }
4550
4795
  if (message.camera != null && message.hasOwnProperty("camera"))
4551
4796
  object.camera = $root.vertexvis.protobuf.stream.Camera.toObject(message.camera, options);
@@ -4559,6 +4804,8 @@ const vertexvis = $root.vertexvis = (() => {
4559
4804
  object.displayListSummary = $root.vertexvis.protobuf.stream.DisplayListSummary.toObject(message.displayListSummary, options);
4560
4805
  if (message.modelViewId != null && message.hasOwnProperty("modelViewId"))
4561
4806
  object.modelViewId = $root.vertexvis.protobuf.core.Uuid2l.toObject(message.modelViewId, options);
4807
+ if (message.itemModelView != null && message.hasOwnProperty("itemModelView"))
4808
+ object.itemModelView = $root.vertexvis.protobuf.stream.ItemModelViewAttributes.toObject(message.itemModelView, options);
4562
4809
  return object;
4563
4810
  };
4564
4811
 
@@ -27830,6 +28077,7 @@ const vertexvis = $root.vertexvis = (() => {
27830
28077
  * @property {google.protobuf.IBytesValue|null} [featureMap] DrawFramePayload featureMap
27831
28078
  * @property {boolean|null} [temporalRefinement] DrawFramePayload temporalRefinement
27832
28079
  * @property {vertexvis.protobuf.core.IUuid|null} [temporalRefinementCorrelationId] DrawFramePayload temporalRefinementCorrelationId
28080
+ * @property {google.protobuf.IBoolValue|null} [partialFrame] DrawFramePayload partialFrame
27833
28081
  */
27834
28082
 
27835
28083
  /**
@@ -27920,6 +28168,14 @@ const vertexvis = $root.vertexvis = (() => {
27920
28168
  */
27921
28169
  DrawFramePayload.prototype.temporalRefinementCorrelationId = null;
27922
28170
 
28171
+ /**
28172
+ * DrawFramePayload partialFrame.
28173
+ * @member {google.protobuf.IBoolValue|null|undefined} partialFrame
28174
+ * @memberof vertexvis.protobuf.stream.DrawFramePayload
28175
+ * @instance
28176
+ */
28177
+ DrawFramePayload.prototype.partialFrame = null;
28178
+
27923
28179
  /**
27924
28180
  * Creates a new DrawFramePayload instance using the specified properties.
27925
28181
  * @function create
@@ -27963,6 +28219,8 @@ const vertexvis = $root.vertexvis = (() => {
27963
28219
  writer.uint32(/* id 8, wireType 0 =*/64).bool(message.temporalRefinement);
27964
28220
  if (message.temporalRefinementCorrelationId != null && Object.hasOwnProperty.call(message, "temporalRefinementCorrelationId"))
27965
28221
  $root.vertexvis.protobuf.core.Uuid.encode(message.temporalRefinementCorrelationId, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
28222
+ if (message.partialFrame != null && Object.hasOwnProperty.call(message, "partialFrame"))
28223
+ $root.google.protobuf.BoolValue.encode(message.partialFrame, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
27966
28224
  return writer;
27967
28225
  };
27968
28226
 
@@ -28026,6 +28284,9 @@ const vertexvis = $root.vertexvis = (() => {
28026
28284
  case 9:
28027
28285
  message.temporalRefinementCorrelationId = $root.vertexvis.protobuf.core.Uuid.decode(reader, reader.uint32());
28028
28286
  break;
28287
+ case 10:
28288
+ message.partialFrame = $root.google.protobuf.BoolValue.decode(reader, reader.uint32());
28289
+ break;
28029
28290
  default:
28030
28291
  reader.skipType(tag & 7);
28031
28292
  break;
@@ -28102,6 +28363,11 @@ const vertexvis = $root.vertexvis = (() => {
28102
28363
  if (error)
28103
28364
  return "temporalRefinementCorrelationId." + error;
28104
28365
  }
28366
+ if (message.partialFrame != null && message.hasOwnProperty("partialFrame")) {
28367
+ let error = $root.google.protobuf.BoolValue.verify(message.partialFrame);
28368
+ if (error)
28369
+ return "partialFrame." + error;
28370
+ }
28105
28371
  return null;
28106
28372
  };
28107
28373
 
@@ -28158,6 +28424,11 @@ const vertexvis = $root.vertexvis = (() => {
28158
28424
  throw TypeError(".vertexvis.protobuf.stream.DrawFramePayload.temporalRefinementCorrelationId: object expected");
28159
28425
  message.temporalRefinementCorrelationId = $root.vertexvis.protobuf.core.Uuid.fromObject(object.temporalRefinementCorrelationId);
28160
28426
  }
28427
+ if (object.partialFrame != null) {
28428
+ if (typeof object.partialFrame !== "object")
28429
+ throw TypeError(".vertexvis.protobuf.stream.DrawFramePayload.partialFrame: object expected");
28430
+ message.partialFrame = $root.google.protobuf.BoolValue.fromObject(object.partialFrame);
28431
+ }
28161
28432
  return message;
28162
28433
  };
28163
28434
 
@@ -28191,6 +28462,7 @@ const vertexvis = $root.vertexvis = (() => {
28191
28462
  object.featureMap = null;
28192
28463
  object.temporalRefinement = false;
28193
28464
  object.temporalRefinementCorrelationId = null;
28465
+ object.partialFrame = null;
28194
28466
  }
28195
28467
  if (message.sequenceNumber != null && message.hasOwnProperty("sequenceNumber"))
28196
28468
  object.sequenceNumber = message.sequenceNumber;
@@ -28213,6 +28485,8 @@ const vertexvis = $root.vertexvis = (() => {
28213
28485
  object.temporalRefinement = message.temporalRefinement;
28214
28486
  if (message.temporalRefinementCorrelationId != null && message.hasOwnProperty("temporalRefinementCorrelationId"))
28215
28487
  object.temporalRefinementCorrelationId = $root.vertexvis.protobuf.core.Uuid.toObject(message.temporalRefinementCorrelationId, options);
28488
+ if (message.partialFrame != null && message.hasOwnProperty("partialFrame"))
28489
+ object.partialFrame = $root.google.protobuf.BoolValue.toObject(message.partialFrame, options);
28216
28490
  return object;
28217
28491
  };
28218
28492