@vertexvis/stream-api 0.22.1-canary.7 → 0.22.1-canary.9

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.
@@ -19046,6 +19046,7 @@ const vertexvis = $root.vertexvis = (() => {
19046
19046
  * @property {vertexvis.protobuf.stream.IResetViewPlayload|null} [resetView] StreamRequest resetView
19047
19047
  * @property {vertexvis.protobuf.stream.IRefreshTokenPayload|null} [refreshToken] StreamRequest refreshToken
19048
19048
  * @property {vertexvis.protobuf.stream.IUpdateInteractionPayload|null} [updateInteraction] StreamRequest updateInteraction
19049
+ * @property {vertexvis.protobuf.stream.IUpdateModelViewPayload|null} [updateModelView] StreamRequest updateModelView
19049
19050
  */
19050
19051
 
19051
19052
  /**
@@ -19231,17 +19232,25 @@ const vertexvis = $root.vertexvis = (() => {
19231
19232
  */
19232
19233
  StreamRequest.prototype.updateInteraction = null;
19233
19234
 
19235
+ /**
19236
+ * StreamRequest updateModelView.
19237
+ * @member {vertexvis.protobuf.stream.IUpdateModelViewPayload|null|undefined} updateModelView
19238
+ * @memberof vertexvis.protobuf.stream.StreamRequest
19239
+ * @instance
19240
+ */
19241
+ StreamRequest.prototype.updateModelView = null;
19242
+
19234
19243
  // OneOf field names bound to virtual getters and setters
19235
19244
  let $oneOfFields;
19236
19245
 
19237
19246
  /**
19238
19247
  * StreamRequest payload.
19239
- * @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"createSceneAlteration"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"getStencilBuffer"|"resetView"|"refreshToken"|"updateInteraction"|undefined} payload
19248
+ * @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"createSceneAlteration"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"getStencilBuffer"|"resetView"|"refreshToken"|"updateInteraction"|"updateModelView"|undefined} payload
19240
19249
  * @memberof vertexvis.protobuf.stream.StreamRequest
19241
19250
  * @instance
19242
19251
  */
19243
19252
  Object.defineProperty(StreamRequest.prototype, "payload", {
19244
- get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "createSceneAlteration", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "getStencilBuffer", "resetView", "refreshToken", "updateInteraction"]),
19253
+ get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "createSceneAlteration", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "getStencilBuffer", "resetView", "refreshToken", "updateInteraction", "updateModelView"]),
19245
19254
  set: $util.oneOfSetter($oneOfFields)
19246
19255
  });
19247
19256
 
@@ -19311,6 +19320,8 @@ const vertexvis = $root.vertexvis = (() => {
19311
19320
  $root.vertexvis.protobuf.stream.RefreshTokenPayload.encode(message.refreshToken, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
19312
19321
  if (message.updateInteraction != null && Object.hasOwnProperty.call(message, "updateInteraction"))
19313
19322
  $root.vertexvis.protobuf.stream.UpdateInteractionPayload.encode(message.updateInteraction, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
19323
+ if (message.updateModelView != null && Object.hasOwnProperty.call(message, "updateModelView"))
19324
+ $root.vertexvis.protobuf.stream.UpdateModelViewPayload.encode(message.updateModelView, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
19314
19325
  return writer;
19315
19326
  };
19316
19327
 
@@ -19408,6 +19419,9 @@ const vertexvis = $root.vertexvis = (() => {
19408
19419
  case 21:
19409
19420
  message.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionPayload.decode(reader, reader.uint32());
19410
19421
  break;
19422
+ case 22:
19423
+ message.updateModelView = $root.vertexvis.protobuf.stream.UpdateModelViewPayload.decode(reader, reader.uint32());
19424
+ break;
19411
19425
  default:
19412
19426
  reader.skipType(tag & 7);
19413
19427
  break;
@@ -19647,6 +19661,16 @@ const vertexvis = $root.vertexvis = (() => {
19647
19661
  return "updateInteraction." + error;
19648
19662
  }
19649
19663
  }
19664
+ if (message.updateModelView != null && message.hasOwnProperty("updateModelView")) {
19665
+ if (properties.payload === 1)
19666
+ return "payload: multiple values";
19667
+ properties.payload = 1;
19668
+ {
19669
+ let error = $root.vertexvis.protobuf.stream.UpdateModelViewPayload.verify(message.updateModelView);
19670
+ if (error)
19671
+ return "updateModelView." + error;
19672
+ }
19673
+ }
19650
19674
  return null;
19651
19675
  };
19652
19676
 
@@ -19767,6 +19791,11 @@ const vertexvis = $root.vertexvis = (() => {
19767
19791
  throw TypeError(".vertexvis.protobuf.stream.StreamRequest.updateInteraction: object expected");
19768
19792
  message.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionPayload.fromObject(object.updateInteraction);
19769
19793
  }
19794
+ if (object.updateModelView != null) {
19795
+ if (typeof object.updateModelView !== "object")
19796
+ throw TypeError(".vertexvis.protobuf.stream.StreamRequest.updateModelView: object expected");
19797
+ message.updateModelView = $root.vertexvis.protobuf.stream.UpdateModelViewPayload.fromObject(object.updateModelView);
19798
+ }
19770
19799
  return message;
19771
19800
  };
19772
19801
 
@@ -19887,6 +19916,11 @@ const vertexvis = $root.vertexvis = (() => {
19887
19916
  if (options.oneofs)
19888
19917
  object.payload = "updateInteraction";
19889
19918
  }
19919
+ if (message.updateModelView != null && message.hasOwnProperty("updateModelView")) {
19920
+ object.updateModelView = $root.vertexvis.protobuf.stream.UpdateModelViewPayload.toObject(message.updateModelView, options);
19921
+ if (options.oneofs)
19922
+ object.payload = "updateModelView";
19923
+ }
19890
19924
  return object;
19891
19925
  };
19892
19926
 
@@ -25102,6 +25136,226 @@ const vertexvis = $root.vertexvis = (() => {
25102
25136
  return RefreshTokenPayload;
25103
25137
  })();
25104
25138
 
25139
+ stream.UpdateModelViewPayload = (function() {
25140
+
25141
+ /**
25142
+ * Properties of an UpdateModelViewPayload.
25143
+ * @memberof vertexvis.protobuf.stream
25144
+ * @interface IUpdateModelViewPayload
25145
+ * @property {vertexvis.protobuf.core.IItemModelView|null} [itemModelView] UpdateModelViewPayload itemModelView
25146
+ * @property {google.protobuf.IStringValue|null} [frameCorrelationId] UpdateModelViewPayload frameCorrelationId
25147
+ */
25148
+
25149
+ /**
25150
+ * Constructs a new UpdateModelViewPayload.
25151
+ * @memberof vertexvis.protobuf.stream
25152
+ * @classdesc Represents an UpdateModelViewPayload.
25153
+ * @implements IUpdateModelViewPayload
25154
+ * @constructor
25155
+ * @param {vertexvis.protobuf.stream.IUpdateModelViewPayload=} [properties] Properties to set
25156
+ */
25157
+ function UpdateModelViewPayload(properties) {
25158
+ if (properties)
25159
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
25160
+ if (properties[keys[i]] != null)
25161
+ this[keys[i]] = properties[keys[i]];
25162
+ }
25163
+
25164
+ /**
25165
+ * UpdateModelViewPayload itemModelView.
25166
+ * @member {vertexvis.protobuf.core.IItemModelView|null|undefined} itemModelView
25167
+ * @memberof vertexvis.protobuf.stream.UpdateModelViewPayload
25168
+ * @instance
25169
+ */
25170
+ UpdateModelViewPayload.prototype.itemModelView = null;
25171
+
25172
+ /**
25173
+ * UpdateModelViewPayload frameCorrelationId.
25174
+ * @member {google.protobuf.IStringValue|null|undefined} frameCorrelationId
25175
+ * @memberof vertexvis.protobuf.stream.UpdateModelViewPayload
25176
+ * @instance
25177
+ */
25178
+ UpdateModelViewPayload.prototype.frameCorrelationId = null;
25179
+
25180
+ /**
25181
+ * Creates a new UpdateModelViewPayload instance using the specified properties.
25182
+ * @function create
25183
+ * @memberof vertexvis.protobuf.stream.UpdateModelViewPayload
25184
+ * @static
25185
+ * @param {vertexvis.protobuf.stream.IUpdateModelViewPayload=} [properties] Properties to set
25186
+ * @returns {vertexvis.protobuf.stream.UpdateModelViewPayload} UpdateModelViewPayload instance
25187
+ */
25188
+ UpdateModelViewPayload.create = function create(properties) {
25189
+ return new UpdateModelViewPayload(properties);
25190
+ };
25191
+
25192
+ /**
25193
+ * Encodes the specified UpdateModelViewPayload message. Does not implicitly {@link vertexvis.protobuf.stream.UpdateModelViewPayload.verify|verify} messages.
25194
+ * @function encode
25195
+ * @memberof vertexvis.protobuf.stream.UpdateModelViewPayload
25196
+ * @static
25197
+ * @param {vertexvis.protobuf.stream.IUpdateModelViewPayload} message UpdateModelViewPayload message or plain object to encode
25198
+ * @param {$protobuf.Writer} [writer] Writer to encode to
25199
+ * @returns {$protobuf.Writer} Writer
25200
+ */
25201
+ UpdateModelViewPayload.encode = function encode(message, writer) {
25202
+ if (!writer)
25203
+ writer = $Writer.create();
25204
+ if (message.itemModelView != null && Object.hasOwnProperty.call(message, "itemModelView"))
25205
+ $root.vertexvis.protobuf.core.ItemModelView.encode(message.itemModelView, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
25206
+ if (message.frameCorrelationId != null && Object.hasOwnProperty.call(message, "frameCorrelationId"))
25207
+ $root.google.protobuf.StringValue.encode(message.frameCorrelationId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
25208
+ return writer;
25209
+ };
25210
+
25211
+ /**
25212
+ * Encodes the specified UpdateModelViewPayload message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.UpdateModelViewPayload.verify|verify} messages.
25213
+ * @function encodeDelimited
25214
+ * @memberof vertexvis.protobuf.stream.UpdateModelViewPayload
25215
+ * @static
25216
+ * @param {vertexvis.protobuf.stream.IUpdateModelViewPayload} message UpdateModelViewPayload message or plain object to encode
25217
+ * @param {$protobuf.Writer} [writer] Writer to encode to
25218
+ * @returns {$protobuf.Writer} Writer
25219
+ */
25220
+ UpdateModelViewPayload.encodeDelimited = function encodeDelimited(message, writer) {
25221
+ return this.encode(message, writer).ldelim();
25222
+ };
25223
+
25224
+ /**
25225
+ * Decodes an UpdateModelViewPayload message from the specified reader or buffer.
25226
+ * @function decode
25227
+ * @memberof vertexvis.protobuf.stream.UpdateModelViewPayload
25228
+ * @static
25229
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
25230
+ * @param {number} [length] Message length if known beforehand
25231
+ * @returns {vertexvis.protobuf.stream.UpdateModelViewPayload} UpdateModelViewPayload
25232
+ * @throws {Error} If the payload is not a reader or valid buffer
25233
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25234
+ */
25235
+ UpdateModelViewPayload.decode = function decode(reader, length) {
25236
+ if (!(reader instanceof $Reader))
25237
+ reader = $Reader.create(reader);
25238
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.UpdateModelViewPayload();
25239
+ while (reader.pos < end) {
25240
+ let tag = reader.uint32();
25241
+ switch (tag >>> 3) {
25242
+ case 1:
25243
+ message.itemModelView = $root.vertexvis.protobuf.core.ItemModelView.decode(reader, reader.uint32());
25244
+ break;
25245
+ case 2:
25246
+ message.frameCorrelationId = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
25247
+ break;
25248
+ default:
25249
+ reader.skipType(tag & 7);
25250
+ break;
25251
+ }
25252
+ }
25253
+ return message;
25254
+ };
25255
+
25256
+ /**
25257
+ * Decodes an UpdateModelViewPayload message from the specified reader or buffer, length delimited.
25258
+ * @function decodeDelimited
25259
+ * @memberof vertexvis.protobuf.stream.UpdateModelViewPayload
25260
+ * @static
25261
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
25262
+ * @returns {vertexvis.protobuf.stream.UpdateModelViewPayload} UpdateModelViewPayload
25263
+ * @throws {Error} If the payload is not a reader or valid buffer
25264
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25265
+ */
25266
+ UpdateModelViewPayload.decodeDelimited = function decodeDelimited(reader) {
25267
+ if (!(reader instanceof $Reader))
25268
+ reader = new $Reader(reader);
25269
+ return this.decode(reader, reader.uint32());
25270
+ };
25271
+
25272
+ /**
25273
+ * Verifies an UpdateModelViewPayload message.
25274
+ * @function verify
25275
+ * @memberof vertexvis.protobuf.stream.UpdateModelViewPayload
25276
+ * @static
25277
+ * @param {Object.<string,*>} message Plain object to verify
25278
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
25279
+ */
25280
+ UpdateModelViewPayload.verify = function verify(message) {
25281
+ if (typeof message !== "object" || message === null)
25282
+ return "object expected";
25283
+ if (message.itemModelView != null && message.hasOwnProperty("itemModelView")) {
25284
+ let error = $root.vertexvis.protobuf.core.ItemModelView.verify(message.itemModelView);
25285
+ if (error)
25286
+ return "itemModelView." + error;
25287
+ }
25288
+ if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId")) {
25289
+ let error = $root.google.protobuf.StringValue.verify(message.frameCorrelationId);
25290
+ if (error)
25291
+ return "frameCorrelationId." + error;
25292
+ }
25293
+ return null;
25294
+ };
25295
+
25296
+ /**
25297
+ * Creates an UpdateModelViewPayload message from a plain object. Also converts values to their respective internal types.
25298
+ * @function fromObject
25299
+ * @memberof vertexvis.protobuf.stream.UpdateModelViewPayload
25300
+ * @static
25301
+ * @param {Object.<string,*>} object Plain object
25302
+ * @returns {vertexvis.protobuf.stream.UpdateModelViewPayload} UpdateModelViewPayload
25303
+ */
25304
+ UpdateModelViewPayload.fromObject = function fromObject(object) {
25305
+ if (object instanceof $root.vertexvis.protobuf.stream.UpdateModelViewPayload)
25306
+ return object;
25307
+ let message = new $root.vertexvis.protobuf.stream.UpdateModelViewPayload();
25308
+ if (object.itemModelView != null) {
25309
+ if (typeof object.itemModelView !== "object")
25310
+ throw TypeError(".vertexvis.protobuf.stream.UpdateModelViewPayload.itemModelView: object expected");
25311
+ message.itemModelView = $root.vertexvis.protobuf.core.ItemModelView.fromObject(object.itemModelView);
25312
+ }
25313
+ if (object.frameCorrelationId != null) {
25314
+ if (typeof object.frameCorrelationId !== "object")
25315
+ throw TypeError(".vertexvis.protobuf.stream.UpdateModelViewPayload.frameCorrelationId: object expected");
25316
+ message.frameCorrelationId = $root.google.protobuf.StringValue.fromObject(object.frameCorrelationId);
25317
+ }
25318
+ return message;
25319
+ };
25320
+
25321
+ /**
25322
+ * Creates a plain object from an UpdateModelViewPayload message. Also converts values to other types if specified.
25323
+ * @function toObject
25324
+ * @memberof vertexvis.protobuf.stream.UpdateModelViewPayload
25325
+ * @static
25326
+ * @param {vertexvis.protobuf.stream.UpdateModelViewPayload} message UpdateModelViewPayload
25327
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
25328
+ * @returns {Object.<string,*>} Plain object
25329
+ */
25330
+ UpdateModelViewPayload.toObject = function toObject(message, options) {
25331
+ if (!options)
25332
+ options = {};
25333
+ let object = {};
25334
+ if (options.defaults) {
25335
+ object.itemModelView = null;
25336
+ object.frameCorrelationId = null;
25337
+ }
25338
+ if (message.itemModelView != null && message.hasOwnProperty("itemModelView"))
25339
+ object.itemModelView = $root.vertexvis.protobuf.core.ItemModelView.toObject(message.itemModelView, options);
25340
+ if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId"))
25341
+ object.frameCorrelationId = $root.google.protobuf.StringValue.toObject(message.frameCorrelationId, options);
25342
+ return object;
25343
+ };
25344
+
25345
+ /**
25346
+ * Converts this UpdateModelViewPayload to JSON.
25347
+ * @function toJSON
25348
+ * @memberof vertexvis.protobuf.stream.UpdateModelViewPayload
25349
+ * @instance
25350
+ * @returns {Object.<string,*>} JSON object
25351
+ */
25352
+ UpdateModelViewPayload.prototype.toJSON = function toJSON() {
25353
+ return this.constructor.toObject(this, minimal.util.toJSONOptions);
25354
+ };
25355
+
25356
+ return UpdateModelViewPayload;
25357
+ })();
25358
+
25105
25359
  stream.StreamResponse = (function() {
25106
25360
 
25107
25361
  /**
@@ -25129,6 +25383,7 @@ const vertexvis = $root.vertexvis = (() => {
25129
25383
  * @property {vertexvis.protobuf.stream.IResetViewResult|null} [resetView] StreamResponse resetView
25130
25384
  * @property {vertexvis.protobuf.stream.IRefreshTokenResult|null} [refreshToken] StreamResponse refreshToken
25131
25385
  * @property {vertexvis.protobuf.stream.IUpdateInteractionResult|null} [updateInteraction] StreamResponse updateInteraction
25386
+ * @property {vertexvis.protobuf.stream.IUpdateModelViewResult|null} [updateModelView] StreamResponse updateModelView
25132
25387
  */
25133
25388
 
25134
25389
  /**
@@ -25314,17 +25569,25 @@ const vertexvis = $root.vertexvis = (() => {
25314
25569
  */
25315
25570
  StreamResponse.prototype.updateInteraction = null;
25316
25571
 
25572
+ /**
25573
+ * StreamResponse updateModelView.
25574
+ * @member {vertexvis.protobuf.stream.IUpdateModelViewResult|null|undefined} updateModelView
25575
+ * @memberof vertexvis.protobuf.stream.StreamResponse
25576
+ * @instance
25577
+ */
25578
+ StreamResponse.prototype.updateModelView = null;
25579
+
25317
25580
  // OneOf field names bound to virtual getters and setters
25318
25581
  let $oneOfFields;
25319
25582
 
25320
25583
  /**
25321
25584
  * StreamResponse result.
25322
- * @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"stencilBuffer"|"resetView"|"refreshToken"|"updateInteraction"|undefined} result
25585
+ * @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"stencilBuffer"|"resetView"|"refreshToken"|"updateInteraction"|"updateModelView"|undefined} result
25323
25586
  * @memberof vertexvis.protobuf.stream.StreamResponse
25324
25587
  * @instance
25325
25588
  */
25326
25589
  Object.defineProperty(StreamResponse.prototype, "result", {
25327
- get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "stencilBuffer", "resetView", "refreshToken", "updateInteraction"]),
25590
+ get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "stencilBuffer", "resetView", "refreshToken", "updateInteraction", "updateModelView"]),
25328
25591
  set: $util.oneOfSetter($oneOfFields)
25329
25592
  });
25330
25593
 
@@ -25394,6 +25657,8 @@ const vertexvis = $root.vertexvis = (() => {
25394
25657
  $root.vertexvis.protobuf.stream.GracefulReconnectionResult.encode(message.gracefulReconnection, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
25395
25658
  if (message.updateInteraction != null && Object.hasOwnProperty.call(message, "updateInteraction"))
25396
25659
  $root.vertexvis.protobuf.stream.UpdateInteractionResult.encode(message.updateInteraction, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
25660
+ if (message.updateModelView != null && Object.hasOwnProperty.call(message, "updateModelView"))
25661
+ $root.vertexvis.protobuf.stream.UpdateModelViewResult.encode(message.updateModelView, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
25397
25662
  return writer;
25398
25663
  };
25399
25664
 
@@ -25491,6 +25756,9 @@ const vertexvis = $root.vertexvis = (() => {
25491
25756
  case 21:
25492
25757
  message.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionResult.decode(reader, reader.uint32());
25493
25758
  break;
25759
+ case 22:
25760
+ message.updateModelView = $root.vertexvis.protobuf.stream.UpdateModelViewResult.decode(reader, reader.uint32());
25761
+ break;
25494
25762
  default:
25495
25763
  reader.skipType(tag & 7);
25496
25764
  break;
@@ -25725,6 +25993,16 @@ const vertexvis = $root.vertexvis = (() => {
25725
25993
  return "updateInteraction." + error;
25726
25994
  }
25727
25995
  }
25996
+ if (message.updateModelView != null && message.hasOwnProperty("updateModelView")) {
25997
+ if (properties.result === 1)
25998
+ return "result: multiple values";
25999
+ properties.result = 1;
26000
+ {
26001
+ let error = $root.vertexvis.protobuf.stream.UpdateModelViewResult.verify(message.updateModelView);
26002
+ if (error)
26003
+ return "updateModelView." + error;
26004
+ }
26005
+ }
25728
26006
  return null;
25729
26007
  };
25730
26008
 
@@ -25845,6 +26123,11 @@ const vertexvis = $root.vertexvis = (() => {
25845
26123
  throw TypeError(".vertexvis.protobuf.stream.StreamResponse.updateInteraction: object expected");
25846
26124
  message.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionResult.fromObject(object.updateInteraction);
25847
26125
  }
26126
+ if (object.updateModelView != null) {
26127
+ if (typeof object.updateModelView !== "object")
26128
+ throw TypeError(".vertexvis.protobuf.stream.StreamResponse.updateModelView: object expected");
26129
+ message.updateModelView = $root.vertexvis.protobuf.stream.UpdateModelViewResult.fromObject(object.updateModelView);
26130
+ }
25848
26131
  return message;
25849
26132
  };
25850
26133
 
@@ -25964,6 +26247,11 @@ const vertexvis = $root.vertexvis = (() => {
25964
26247
  if (options.oneofs)
25965
26248
  object.result = "updateInteraction";
25966
26249
  }
26250
+ if (message.updateModelView != null && message.hasOwnProperty("updateModelView")) {
26251
+ object.updateModelView = $root.vertexvis.protobuf.stream.UpdateModelViewResult.toObject(message.updateModelView, options);
26252
+ if (options.oneofs)
26253
+ object.result = "updateModelView";
26254
+ }
25967
26255
  return object;
25968
26256
  };
25969
26257
 
@@ -30030,37 +30318,23 @@ const vertexvis = $root.vertexvis = (() => {
30030
30318
  return GracefulReconnectionResult;
30031
30319
  })();
30032
30320
 
30033
- return stream;
30034
- })();
30035
-
30036
- protobuf.core = (function() {
30037
-
30038
- /**
30039
- * Namespace core.
30040
- * @memberof vertexvis.protobuf
30041
- * @namespace
30042
- */
30043
- const core = {};
30044
-
30045
- core.Vector2i = (function() {
30321
+ stream.UpdateModelViewResult = (function() {
30046
30322
 
30047
30323
  /**
30048
- * Properties of a Vector2i.
30049
- * @memberof vertexvis.protobuf.core
30050
- * @interface IVector2i
30051
- * @property {number|null} [x] Vector2i x
30052
- * @property {number|null} [y] Vector2i y
30324
+ * Properties of an UpdateModelViewResult.
30325
+ * @memberof vertexvis.protobuf.stream
30326
+ * @interface IUpdateModelViewResult
30053
30327
  */
30054
30328
 
30055
30329
  /**
30056
- * Constructs a new Vector2i.
30057
- * @memberof vertexvis.protobuf.core
30058
- * @classdesc Represents a Vector2i.
30059
- * @implements IVector2i
30330
+ * Constructs a new UpdateModelViewResult.
30331
+ * @memberof vertexvis.protobuf.stream
30332
+ * @classdesc Represents an UpdateModelViewResult.
30333
+ * @implements IUpdateModelViewResult
30060
30334
  * @constructor
30061
- * @param {vertexvis.protobuf.core.IVector2i=} [properties] Properties to set
30335
+ * @param {vertexvis.protobuf.stream.IUpdateModelViewResult=} [properties] Properties to set
30062
30336
  */
30063
- function Vector2i(properties) {
30337
+ function UpdateModelViewResult(properties) {
30064
30338
  if (properties)
30065
30339
  for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
30066
30340
  if (properties[keys[i]] != null)
@@ -30068,89 +30342,63 @@ const vertexvis = $root.vertexvis = (() => {
30068
30342
  }
30069
30343
 
30070
30344
  /**
30071
- * Vector2i x.
30072
- * @member {number} x
30073
- * @memberof vertexvis.protobuf.core.Vector2i
30074
- * @instance
30075
- */
30076
- Vector2i.prototype.x = 0;
30077
-
30078
- /**
30079
- * Vector2i y.
30080
- * @member {number} y
30081
- * @memberof vertexvis.protobuf.core.Vector2i
30082
- * @instance
30083
- */
30084
- Vector2i.prototype.y = 0;
30085
-
30086
- /**
30087
- * Creates a new Vector2i instance using the specified properties.
30345
+ * Creates a new UpdateModelViewResult instance using the specified properties.
30088
30346
  * @function create
30089
- * @memberof vertexvis.protobuf.core.Vector2i
30347
+ * @memberof vertexvis.protobuf.stream.UpdateModelViewResult
30090
30348
  * @static
30091
- * @param {vertexvis.protobuf.core.IVector2i=} [properties] Properties to set
30092
- * @returns {vertexvis.protobuf.core.Vector2i} Vector2i instance
30349
+ * @param {vertexvis.protobuf.stream.IUpdateModelViewResult=} [properties] Properties to set
30350
+ * @returns {vertexvis.protobuf.stream.UpdateModelViewResult} UpdateModelViewResult instance
30093
30351
  */
30094
- Vector2i.create = function create(properties) {
30095
- return new Vector2i(properties);
30352
+ UpdateModelViewResult.create = function create(properties) {
30353
+ return new UpdateModelViewResult(properties);
30096
30354
  };
30097
30355
 
30098
30356
  /**
30099
- * Encodes the specified Vector2i message. Does not implicitly {@link vertexvis.protobuf.core.Vector2i.verify|verify} messages.
30357
+ * Encodes the specified UpdateModelViewResult message. Does not implicitly {@link vertexvis.protobuf.stream.UpdateModelViewResult.verify|verify} messages.
30100
30358
  * @function encode
30101
- * @memberof vertexvis.protobuf.core.Vector2i
30359
+ * @memberof vertexvis.protobuf.stream.UpdateModelViewResult
30102
30360
  * @static
30103
- * @param {vertexvis.protobuf.core.IVector2i} message Vector2i message or plain object to encode
30361
+ * @param {vertexvis.protobuf.stream.IUpdateModelViewResult} message UpdateModelViewResult message or plain object to encode
30104
30362
  * @param {$protobuf.Writer} [writer] Writer to encode to
30105
30363
  * @returns {$protobuf.Writer} Writer
30106
30364
  */
30107
- Vector2i.encode = function encode(message, writer) {
30365
+ UpdateModelViewResult.encode = function encode(message, writer) {
30108
30366
  if (!writer)
30109
30367
  writer = $Writer.create();
30110
- if (message.x != null && Object.hasOwnProperty.call(message, "x"))
30111
- writer.uint32(/* id 1, wireType 0 =*/8).int32(message.x);
30112
- if (message.y != null && Object.hasOwnProperty.call(message, "y"))
30113
- writer.uint32(/* id 2, wireType 0 =*/16).int32(message.y);
30114
30368
  return writer;
30115
30369
  };
30116
30370
 
30117
30371
  /**
30118
- * Encodes the specified Vector2i message, length delimited. Does not implicitly {@link vertexvis.protobuf.core.Vector2i.verify|verify} messages.
30372
+ * Encodes the specified UpdateModelViewResult message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.UpdateModelViewResult.verify|verify} messages.
30119
30373
  * @function encodeDelimited
30120
- * @memberof vertexvis.protobuf.core.Vector2i
30374
+ * @memberof vertexvis.protobuf.stream.UpdateModelViewResult
30121
30375
  * @static
30122
- * @param {vertexvis.protobuf.core.IVector2i} message Vector2i message or plain object to encode
30376
+ * @param {vertexvis.protobuf.stream.IUpdateModelViewResult} message UpdateModelViewResult message or plain object to encode
30123
30377
  * @param {$protobuf.Writer} [writer] Writer to encode to
30124
30378
  * @returns {$protobuf.Writer} Writer
30125
30379
  */
30126
- Vector2i.encodeDelimited = function encodeDelimited(message, writer) {
30380
+ UpdateModelViewResult.encodeDelimited = function encodeDelimited(message, writer) {
30127
30381
  return this.encode(message, writer).ldelim();
30128
30382
  };
30129
30383
 
30130
30384
  /**
30131
- * Decodes a Vector2i message from the specified reader or buffer.
30385
+ * Decodes an UpdateModelViewResult message from the specified reader or buffer.
30132
30386
  * @function decode
30133
- * @memberof vertexvis.protobuf.core.Vector2i
30387
+ * @memberof vertexvis.protobuf.stream.UpdateModelViewResult
30134
30388
  * @static
30135
30389
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
30136
30390
  * @param {number} [length] Message length if known beforehand
30137
- * @returns {vertexvis.protobuf.core.Vector2i} Vector2i
30391
+ * @returns {vertexvis.protobuf.stream.UpdateModelViewResult} UpdateModelViewResult
30138
30392
  * @throws {Error} If the payload is not a reader or valid buffer
30139
30393
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
30140
30394
  */
30141
- Vector2i.decode = function decode(reader, length) {
30395
+ UpdateModelViewResult.decode = function decode(reader, length) {
30142
30396
  if (!(reader instanceof $Reader))
30143
30397
  reader = $Reader.create(reader);
30144
- let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.core.Vector2i();
30398
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.UpdateModelViewResult();
30145
30399
  while (reader.pos < end) {
30146
30400
  let tag = reader.uint32();
30147
30401
  switch (tag >>> 3) {
30148
- case 1:
30149
- message.x = reader.int32();
30150
- break;
30151
- case 2:
30152
- message.y = reader.int32();
30153
- break;
30154
30402
  default:
30155
30403
  reader.skipType(tag & 7);
30156
30404
  break;
@@ -30160,16 +30408,216 @@ const vertexvis = $root.vertexvis = (() => {
30160
30408
  };
30161
30409
 
30162
30410
  /**
30163
- * Decodes a Vector2i message from the specified reader or buffer, length delimited.
30411
+ * Decodes an UpdateModelViewResult message from the specified reader or buffer, length delimited.
30164
30412
  * @function decodeDelimited
30165
- * @memberof vertexvis.protobuf.core.Vector2i
30413
+ * @memberof vertexvis.protobuf.stream.UpdateModelViewResult
30166
30414
  * @static
30167
30415
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
30168
- * @returns {vertexvis.protobuf.core.Vector2i} Vector2i
30416
+ * @returns {vertexvis.protobuf.stream.UpdateModelViewResult} UpdateModelViewResult
30169
30417
  * @throws {Error} If the payload is not a reader or valid buffer
30170
30418
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
30171
30419
  */
30172
- Vector2i.decodeDelimited = function decodeDelimited(reader) {
30420
+ UpdateModelViewResult.decodeDelimited = function decodeDelimited(reader) {
30421
+ if (!(reader instanceof $Reader))
30422
+ reader = new $Reader(reader);
30423
+ return this.decode(reader, reader.uint32());
30424
+ };
30425
+
30426
+ /**
30427
+ * Verifies an UpdateModelViewResult message.
30428
+ * @function verify
30429
+ * @memberof vertexvis.protobuf.stream.UpdateModelViewResult
30430
+ * @static
30431
+ * @param {Object.<string,*>} message Plain object to verify
30432
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
30433
+ */
30434
+ UpdateModelViewResult.verify = function verify(message) {
30435
+ if (typeof message !== "object" || message === null)
30436
+ return "object expected";
30437
+ return null;
30438
+ };
30439
+
30440
+ /**
30441
+ * Creates an UpdateModelViewResult message from a plain object. Also converts values to their respective internal types.
30442
+ * @function fromObject
30443
+ * @memberof vertexvis.protobuf.stream.UpdateModelViewResult
30444
+ * @static
30445
+ * @param {Object.<string,*>} object Plain object
30446
+ * @returns {vertexvis.protobuf.stream.UpdateModelViewResult} UpdateModelViewResult
30447
+ */
30448
+ UpdateModelViewResult.fromObject = function fromObject(object) {
30449
+ if (object instanceof $root.vertexvis.protobuf.stream.UpdateModelViewResult)
30450
+ return object;
30451
+ return new $root.vertexvis.protobuf.stream.UpdateModelViewResult();
30452
+ };
30453
+
30454
+ /**
30455
+ * Creates a plain object from an UpdateModelViewResult message. Also converts values to other types if specified.
30456
+ * @function toObject
30457
+ * @memberof vertexvis.protobuf.stream.UpdateModelViewResult
30458
+ * @static
30459
+ * @param {vertexvis.protobuf.stream.UpdateModelViewResult} message UpdateModelViewResult
30460
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
30461
+ * @returns {Object.<string,*>} Plain object
30462
+ */
30463
+ UpdateModelViewResult.toObject = function toObject() {
30464
+ return {};
30465
+ };
30466
+
30467
+ /**
30468
+ * Converts this UpdateModelViewResult to JSON.
30469
+ * @function toJSON
30470
+ * @memberof vertexvis.protobuf.stream.UpdateModelViewResult
30471
+ * @instance
30472
+ * @returns {Object.<string,*>} JSON object
30473
+ */
30474
+ UpdateModelViewResult.prototype.toJSON = function toJSON() {
30475
+ return this.constructor.toObject(this, minimal.util.toJSONOptions);
30476
+ };
30477
+
30478
+ return UpdateModelViewResult;
30479
+ })();
30480
+
30481
+ return stream;
30482
+ })();
30483
+
30484
+ protobuf.core = (function() {
30485
+
30486
+ /**
30487
+ * Namespace core.
30488
+ * @memberof vertexvis.protobuf
30489
+ * @namespace
30490
+ */
30491
+ const core = {};
30492
+
30493
+ core.Vector2i = (function() {
30494
+
30495
+ /**
30496
+ * Properties of a Vector2i.
30497
+ * @memberof vertexvis.protobuf.core
30498
+ * @interface IVector2i
30499
+ * @property {number|null} [x] Vector2i x
30500
+ * @property {number|null} [y] Vector2i y
30501
+ */
30502
+
30503
+ /**
30504
+ * Constructs a new Vector2i.
30505
+ * @memberof vertexvis.protobuf.core
30506
+ * @classdesc Represents a Vector2i.
30507
+ * @implements IVector2i
30508
+ * @constructor
30509
+ * @param {vertexvis.protobuf.core.IVector2i=} [properties] Properties to set
30510
+ */
30511
+ function Vector2i(properties) {
30512
+ if (properties)
30513
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
30514
+ if (properties[keys[i]] != null)
30515
+ this[keys[i]] = properties[keys[i]];
30516
+ }
30517
+
30518
+ /**
30519
+ * Vector2i x.
30520
+ * @member {number} x
30521
+ * @memberof vertexvis.protobuf.core.Vector2i
30522
+ * @instance
30523
+ */
30524
+ Vector2i.prototype.x = 0;
30525
+
30526
+ /**
30527
+ * Vector2i y.
30528
+ * @member {number} y
30529
+ * @memberof vertexvis.protobuf.core.Vector2i
30530
+ * @instance
30531
+ */
30532
+ Vector2i.prototype.y = 0;
30533
+
30534
+ /**
30535
+ * Creates a new Vector2i instance using the specified properties.
30536
+ * @function create
30537
+ * @memberof vertexvis.protobuf.core.Vector2i
30538
+ * @static
30539
+ * @param {vertexvis.protobuf.core.IVector2i=} [properties] Properties to set
30540
+ * @returns {vertexvis.protobuf.core.Vector2i} Vector2i instance
30541
+ */
30542
+ Vector2i.create = function create(properties) {
30543
+ return new Vector2i(properties);
30544
+ };
30545
+
30546
+ /**
30547
+ * Encodes the specified Vector2i message. Does not implicitly {@link vertexvis.protobuf.core.Vector2i.verify|verify} messages.
30548
+ * @function encode
30549
+ * @memberof vertexvis.protobuf.core.Vector2i
30550
+ * @static
30551
+ * @param {vertexvis.protobuf.core.IVector2i} message Vector2i message or plain object to encode
30552
+ * @param {$protobuf.Writer} [writer] Writer to encode to
30553
+ * @returns {$protobuf.Writer} Writer
30554
+ */
30555
+ Vector2i.encode = function encode(message, writer) {
30556
+ if (!writer)
30557
+ writer = $Writer.create();
30558
+ if (message.x != null && Object.hasOwnProperty.call(message, "x"))
30559
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.x);
30560
+ if (message.y != null && Object.hasOwnProperty.call(message, "y"))
30561
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.y);
30562
+ return writer;
30563
+ };
30564
+
30565
+ /**
30566
+ * Encodes the specified Vector2i message, length delimited. Does not implicitly {@link vertexvis.protobuf.core.Vector2i.verify|verify} messages.
30567
+ * @function encodeDelimited
30568
+ * @memberof vertexvis.protobuf.core.Vector2i
30569
+ * @static
30570
+ * @param {vertexvis.protobuf.core.IVector2i} message Vector2i message or plain object to encode
30571
+ * @param {$protobuf.Writer} [writer] Writer to encode to
30572
+ * @returns {$protobuf.Writer} Writer
30573
+ */
30574
+ Vector2i.encodeDelimited = function encodeDelimited(message, writer) {
30575
+ return this.encode(message, writer).ldelim();
30576
+ };
30577
+
30578
+ /**
30579
+ * Decodes a Vector2i message from the specified reader or buffer.
30580
+ * @function decode
30581
+ * @memberof vertexvis.protobuf.core.Vector2i
30582
+ * @static
30583
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
30584
+ * @param {number} [length] Message length if known beforehand
30585
+ * @returns {vertexvis.protobuf.core.Vector2i} Vector2i
30586
+ * @throws {Error} If the payload is not a reader or valid buffer
30587
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
30588
+ */
30589
+ Vector2i.decode = function decode(reader, length) {
30590
+ if (!(reader instanceof $Reader))
30591
+ reader = $Reader.create(reader);
30592
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.core.Vector2i();
30593
+ while (reader.pos < end) {
30594
+ let tag = reader.uint32();
30595
+ switch (tag >>> 3) {
30596
+ case 1:
30597
+ message.x = reader.int32();
30598
+ break;
30599
+ case 2:
30600
+ message.y = reader.int32();
30601
+ break;
30602
+ default:
30603
+ reader.skipType(tag & 7);
30604
+ break;
30605
+ }
30606
+ }
30607
+ return message;
30608
+ };
30609
+
30610
+ /**
30611
+ * Decodes a Vector2i message from the specified reader or buffer, length delimited.
30612
+ * @function decodeDelimited
30613
+ * @memberof vertexvis.protobuf.core.Vector2i
30614
+ * @static
30615
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
30616
+ * @returns {vertexvis.protobuf.core.Vector2i} Vector2i
30617
+ * @throws {Error} If the payload is not a reader or valid buffer
30618
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
30619
+ */
30620
+ Vector2i.decodeDelimited = function decodeDelimited(reader) {
30173
30621
  if (!(reader instanceof $Reader))
30174
30622
  reader = new $Reader(reader);
30175
30623
  return this.decode(reader, reader.uint32());
@@ -37531,27 +37979,27 @@ const vertexvis = $root.vertexvis = (() => {
37531
37979
  return Uuid2l;
37532
37980
  })();
37533
37981
 
37534
- core.RGBAi = (function() {
37982
+ core.UuidArray = (function() {
37535
37983
 
37536
37984
  /**
37537
- * Properties of a RGBAi.
37985
+ * Properties of an UuidArray.
37538
37986
  * @memberof vertexvis.protobuf.core
37539
- * @interface IRGBAi
37540
- * @property {number|null} [r] RGBAi r
37541
- * @property {number|null} [g] RGBAi g
37542
- * @property {number|null} [b] RGBAi b
37543
- * @property {number|null} [a] RGBAi a
37987
+ * @interface IUuidArray
37988
+ * @property {Array.<number|Long>|null} [msbs] UuidArray msbs
37989
+ * @property {Array.<number|Long>|null} [lsbs] UuidArray lsbs
37544
37990
  */
37545
37991
 
37546
37992
  /**
37547
- * Constructs a new RGBAi.
37993
+ * Constructs a new UuidArray.
37548
37994
  * @memberof vertexvis.protobuf.core
37549
- * @classdesc Represents a RGBAi.
37550
- * @implements IRGBAi
37995
+ * @classdesc Represents an UuidArray.
37996
+ * @implements IUuidArray
37551
37997
  * @constructor
37552
- * @param {vertexvis.protobuf.core.IRGBAi=} [properties] Properties to set
37998
+ * @param {vertexvis.protobuf.core.IUuidArray=} [properties] Properties to set
37553
37999
  */
37554
- function RGBAi(properties) {
38000
+ function UuidArray(properties) {
38001
+ this.msbs = [];
38002
+ this.lsbs = [];
37555
38003
  if (properties)
37556
38004
  for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
37557
38005
  if (properties[keys[i]] != null)
@@ -37559,105 +38007,383 @@ const vertexvis = $root.vertexvis = (() => {
37559
38007
  }
37560
38008
 
37561
38009
  /**
37562
- * RGBAi r.
37563
- * @member {number} r
37564
- * @memberof vertexvis.protobuf.core.RGBAi
37565
- * @instance
37566
- */
37567
- RGBAi.prototype.r = 0;
37568
-
37569
- /**
37570
- * RGBAi g.
37571
- * @member {number} g
37572
- * @memberof vertexvis.protobuf.core.RGBAi
37573
- * @instance
37574
- */
37575
- RGBAi.prototype.g = 0;
37576
-
37577
- /**
37578
- * RGBAi b.
37579
- * @member {number} b
37580
- * @memberof vertexvis.protobuf.core.RGBAi
38010
+ * UuidArray msbs.
38011
+ * @member {Array.<number|Long>} msbs
38012
+ * @memberof vertexvis.protobuf.core.UuidArray
37581
38013
  * @instance
37582
38014
  */
37583
- RGBAi.prototype.b = 0;
38015
+ UuidArray.prototype.msbs = $util.emptyArray;
37584
38016
 
37585
38017
  /**
37586
- * RGBAi a.
37587
- * @member {number} a
37588
- * @memberof vertexvis.protobuf.core.RGBAi
38018
+ * UuidArray lsbs.
38019
+ * @member {Array.<number|Long>} lsbs
38020
+ * @memberof vertexvis.protobuf.core.UuidArray
37589
38021
  * @instance
37590
38022
  */
37591
- RGBAi.prototype.a = 0;
38023
+ UuidArray.prototype.lsbs = $util.emptyArray;
37592
38024
 
37593
38025
  /**
37594
- * Creates a new RGBAi instance using the specified properties.
38026
+ * Creates a new UuidArray instance using the specified properties.
37595
38027
  * @function create
37596
- * @memberof vertexvis.protobuf.core.RGBAi
38028
+ * @memberof vertexvis.protobuf.core.UuidArray
37597
38029
  * @static
37598
- * @param {vertexvis.protobuf.core.IRGBAi=} [properties] Properties to set
37599
- * @returns {vertexvis.protobuf.core.RGBAi} RGBAi instance
38030
+ * @param {vertexvis.protobuf.core.IUuidArray=} [properties] Properties to set
38031
+ * @returns {vertexvis.protobuf.core.UuidArray} UuidArray instance
37600
38032
  */
37601
- RGBAi.create = function create(properties) {
37602
- return new RGBAi(properties);
38033
+ UuidArray.create = function create(properties) {
38034
+ return new UuidArray(properties);
37603
38035
  };
37604
38036
 
37605
38037
  /**
37606
- * Encodes the specified RGBAi message. Does not implicitly {@link vertexvis.protobuf.core.RGBAi.verify|verify} messages.
38038
+ * Encodes the specified UuidArray message. Does not implicitly {@link vertexvis.protobuf.core.UuidArray.verify|verify} messages.
37607
38039
  * @function encode
37608
- * @memberof vertexvis.protobuf.core.RGBAi
38040
+ * @memberof vertexvis.protobuf.core.UuidArray
37609
38041
  * @static
37610
- * @param {vertexvis.protobuf.core.IRGBAi} message RGBAi message or plain object to encode
38042
+ * @param {vertexvis.protobuf.core.IUuidArray} message UuidArray message or plain object to encode
37611
38043
  * @param {$protobuf.Writer} [writer] Writer to encode to
37612
38044
  * @returns {$protobuf.Writer} Writer
37613
38045
  */
37614
- RGBAi.encode = function encode(message, writer) {
38046
+ UuidArray.encode = function encode(message, writer) {
37615
38047
  if (!writer)
37616
38048
  writer = $Writer.create();
37617
- if (message.r != null && Object.hasOwnProperty.call(message, "r"))
37618
- writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.r);
37619
- if (message.g != null && Object.hasOwnProperty.call(message, "g"))
37620
- writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.g);
37621
- if (message.b != null && Object.hasOwnProperty.call(message, "b"))
37622
- writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.b);
37623
- if (message.a != null && Object.hasOwnProperty.call(message, "a"))
37624
- writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.a);
38049
+ if (message.msbs != null && message.msbs.length) {
38050
+ writer.uint32(/* id 1, wireType 2 =*/10).fork();
38051
+ for (let i = 0; i < message.msbs.length; ++i)
38052
+ writer.sfixed64(message.msbs[i]);
38053
+ writer.ldelim();
38054
+ }
38055
+ if (message.lsbs != null && message.lsbs.length) {
38056
+ writer.uint32(/* id 2, wireType 2 =*/18).fork();
38057
+ for (let i = 0; i < message.lsbs.length; ++i)
38058
+ writer.sfixed64(message.lsbs[i]);
38059
+ writer.ldelim();
38060
+ }
37625
38061
  return writer;
37626
38062
  };
37627
38063
 
37628
38064
  /**
37629
- * Encodes the specified RGBAi message, length delimited. Does not implicitly {@link vertexvis.protobuf.core.RGBAi.verify|verify} messages.
38065
+ * Encodes the specified UuidArray message, length delimited. Does not implicitly {@link vertexvis.protobuf.core.UuidArray.verify|verify} messages.
37630
38066
  * @function encodeDelimited
37631
- * @memberof vertexvis.protobuf.core.RGBAi
38067
+ * @memberof vertexvis.protobuf.core.UuidArray
37632
38068
  * @static
37633
- * @param {vertexvis.protobuf.core.IRGBAi} message RGBAi message or plain object to encode
38069
+ * @param {vertexvis.protobuf.core.IUuidArray} message UuidArray message or plain object to encode
37634
38070
  * @param {$protobuf.Writer} [writer] Writer to encode to
37635
38071
  * @returns {$protobuf.Writer} Writer
37636
38072
  */
37637
- RGBAi.encodeDelimited = function encodeDelimited(message, writer) {
38073
+ UuidArray.encodeDelimited = function encodeDelimited(message, writer) {
37638
38074
  return this.encode(message, writer).ldelim();
37639
38075
  };
37640
38076
 
37641
38077
  /**
37642
- * Decodes a RGBAi message from the specified reader or buffer.
38078
+ * Decodes an UuidArray message from the specified reader or buffer.
37643
38079
  * @function decode
37644
- * @memberof vertexvis.protobuf.core.RGBAi
38080
+ * @memberof vertexvis.protobuf.core.UuidArray
37645
38081
  * @static
37646
38082
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
37647
38083
  * @param {number} [length] Message length if known beforehand
37648
- * @returns {vertexvis.protobuf.core.RGBAi} RGBAi
38084
+ * @returns {vertexvis.protobuf.core.UuidArray} UuidArray
37649
38085
  * @throws {Error} If the payload is not a reader or valid buffer
37650
38086
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
37651
38087
  */
37652
- RGBAi.decode = function decode(reader, length) {
38088
+ UuidArray.decode = function decode(reader, length) {
37653
38089
  if (!(reader instanceof $Reader))
37654
38090
  reader = $Reader.create(reader);
37655
- let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.core.RGBAi();
38091
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.core.UuidArray();
37656
38092
  while (reader.pos < end) {
37657
38093
  let tag = reader.uint32();
37658
38094
  switch (tag >>> 3) {
37659
38095
  case 1:
37660
- message.r = reader.uint32();
38096
+ if (!(message.msbs && message.msbs.length))
38097
+ message.msbs = [];
38098
+ if ((tag & 7) === 2) {
38099
+ let end2 = reader.uint32() + reader.pos;
38100
+ while (reader.pos < end2)
38101
+ message.msbs.push(reader.sfixed64());
38102
+ } else
38103
+ message.msbs.push(reader.sfixed64());
38104
+ break;
38105
+ case 2:
38106
+ if (!(message.lsbs && message.lsbs.length))
38107
+ message.lsbs = [];
38108
+ if ((tag & 7) === 2) {
38109
+ let end2 = reader.uint32() + reader.pos;
38110
+ while (reader.pos < end2)
38111
+ message.lsbs.push(reader.sfixed64());
38112
+ } else
38113
+ message.lsbs.push(reader.sfixed64());
38114
+ break;
38115
+ default:
38116
+ reader.skipType(tag & 7);
38117
+ break;
38118
+ }
38119
+ }
38120
+ return message;
38121
+ };
38122
+
38123
+ /**
38124
+ * Decodes an UuidArray message from the specified reader or buffer, length delimited.
38125
+ * @function decodeDelimited
38126
+ * @memberof vertexvis.protobuf.core.UuidArray
38127
+ * @static
38128
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
38129
+ * @returns {vertexvis.protobuf.core.UuidArray} UuidArray
38130
+ * @throws {Error} If the payload is not a reader or valid buffer
38131
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
38132
+ */
38133
+ UuidArray.decodeDelimited = function decodeDelimited(reader) {
38134
+ if (!(reader instanceof $Reader))
38135
+ reader = new $Reader(reader);
38136
+ return this.decode(reader, reader.uint32());
38137
+ };
38138
+
38139
+ /**
38140
+ * Verifies an UuidArray message.
38141
+ * @function verify
38142
+ * @memberof vertexvis.protobuf.core.UuidArray
38143
+ * @static
38144
+ * @param {Object.<string,*>} message Plain object to verify
38145
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
38146
+ */
38147
+ UuidArray.verify = function verify(message) {
38148
+ if (typeof message !== "object" || message === null)
38149
+ return "object expected";
38150
+ if (message.msbs != null && message.hasOwnProperty("msbs")) {
38151
+ if (!Array.isArray(message.msbs))
38152
+ return "msbs: array expected";
38153
+ for (let i = 0; i < message.msbs.length; ++i)
38154
+ if (!$util.isInteger(message.msbs[i]) && !(message.msbs[i] && $util.isInteger(message.msbs[i].low) && $util.isInteger(message.msbs[i].high)))
38155
+ return "msbs: integer|Long[] expected";
38156
+ }
38157
+ if (message.lsbs != null && message.hasOwnProperty("lsbs")) {
38158
+ if (!Array.isArray(message.lsbs))
38159
+ return "lsbs: array expected";
38160
+ for (let i = 0; i < message.lsbs.length; ++i)
38161
+ if (!$util.isInteger(message.lsbs[i]) && !(message.lsbs[i] && $util.isInteger(message.lsbs[i].low) && $util.isInteger(message.lsbs[i].high)))
38162
+ return "lsbs: integer|Long[] expected";
38163
+ }
38164
+ return null;
38165
+ };
38166
+
38167
+ /**
38168
+ * Creates an UuidArray message from a plain object. Also converts values to their respective internal types.
38169
+ * @function fromObject
38170
+ * @memberof vertexvis.protobuf.core.UuidArray
38171
+ * @static
38172
+ * @param {Object.<string,*>} object Plain object
38173
+ * @returns {vertexvis.protobuf.core.UuidArray} UuidArray
38174
+ */
38175
+ UuidArray.fromObject = function fromObject(object) {
38176
+ if (object instanceof $root.vertexvis.protobuf.core.UuidArray)
38177
+ return object;
38178
+ let message = new $root.vertexvis.protobuf.core.UuidArray();
38179
+ if (object.msbs) {
38180
+ if (!Array.isArray(object.msbs))
38181
+ throw TypeError(".vertexvis.protobuf.core.UuidArray.msbs: array expected");
38182
+ message.msbs = [];
38183
+ for (let i = 0; i < object.msbs.length; ++i)
38184
+ if ($util.Long)
38185
+ (message.msbs[i] = $util.Long.fromValue(object.msbs[i])).unsigned = false;
38186
+ else if (typeof object.msbs[i] === "string")
38187
+ message.msbs[i] = parseInt(object.msbs[i], 10);
38188
+ else if (typeof object.msbs[i] === "number")
38189
+ message.msbs[i] = object.msbs[i];
38190
+ else if (typeof object.msbs[i] === "object")
38191
+ message.msbs[i] = new $util.LongBits(object.msbs[i].low >>> 0, object.msbs[i].high >>> 0).toNumber();
38192
+ }
38193
+ if (object.lsbs) {
38194
+ if (!Array.isArray(object.lsbs))
38195
+ throw TypeError(".vertexvis.protobuf.core.UuidArray.lsbs: array expected");
38196
+ message.lsbs = [];
38197
+ for (let i = 0; i < object.lsbs.length; ++i)
38198
+ if ($util.Long)
38199
+ (message.lsbs[i] = $util.Long.fromValue(object.lsbs[i])).unsigned = false;
38200
+ else if (typeof object.lsbs[i] === "string")
38201
+ message.lsbs[i] = parseInt(object.lsbs[i], 10);
38202
+ else if (typeof object.lsbs[i] === "number")
38203
+ message.lsbs[i] = object.lsbs[i];
38204
+ else if (typeof object.lsbs[i] === "object")
38205
+ message.lsbs[i] = new $util.LongBits(object.lsbs[i].low >>> 0, object.lsbs[i].high >>> 0).toNumber();
38206
+ }
38207
+ return message;
38208
+ };
38209
+
38210
+ /**
38211
+ * Creates a plain object from an UuidArray message. Also converts values to other types if specified.
38212
+ * @function toObject
38213
+ * @memberof vertexvis.protobuf.core.UuidArray
38214
+ * @static
38215
+ * @param {vertexvis.protobuf.core.UuidArray} message UuidArray
38216
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
38217
+ * @returns {Object.<string,*>} Plain object
38218
+ */
38219
+ UuidArray.toObject = function toObject(message, options) {
38220
+ if (!options)
38221
+ options = {};
38222
+ let object = {};
38223
+ if (options.arrays || options.defaults) {
38224
+ object.msbs = [];
38225
+ object.lsbs = [];
38226
+ }
38227
+ if (message.msbs && message.msbs.length) {
38228
+ object.msbs = [];
38229
+ for (let j = 0; j < message.msbs.length; ++j)
38230
+ if (typeof message.msbs[j] === "number")
38231
+ object.msbs[j] = options.longs === String ? String(message.msbs[j]) : message.msbs[j];
38232
+ else
38233
+ object.msbs[j] = options.longs === String ? $util.Long.prototype.toString.call(message.msbs[j]) : options.longs === Number ? new $util.LongBits(message.msbs[j].low >>> 0, message.msbs[j].high >>> 0).toNumber() : message.msbs[j];
38234
+ }
38235
+ if (message.lsbs && message.lsbs.length) {
38236
+ object.lsbs = [];
38237
+ for (let j = 0; j < message.lsbs.length; ++j)
38238
+ if (typeof message.lsbs[j] === "number")
38239
+ object.lsbs[j] = options.longs === String ? String(message.lsbs[j]) : message.lsbs[j];
38240
+ else
38241
+ object.lsbs[j] = options.longs === String ? $util.Long.prototype.toString.call(message.lsbs[j]) : options.longs === Number ? new $util.LongBits(message.lsbs[j].low >>> 0, message.lsbs[j].high >>> 0).toNumber() : message.lsbs[j];
38242
+ }
38243
+ return object;
38244
+ };
38245
+
38246
+ /**
38247
+ * Converts this UuidArray to JSON.
38248
+ * @function toJSON
38249
+ * @memberof vertexvis.protobuf.core.UuidArray
38250
+ * @instance
38251
+ * @returns {Object.<string,*>} JSON object
38252
+ */
38253
+ UuidArray.prototype.toJSON = function toJSON() {
38254
+ return this.constructor.toObject(this, minimal.util.toJSONOptions);
38255
+ };
38256
+
38257
+ return UuidArray;
38258
+ })();
38259
+
38260
+ core.RGBAi = (function() {
38261
+
38262
+ /**
38263
+ * Properties of a RGBAi.
38264
+ * @memberof vertexvis.protobuf.core
38265
+ * @interface IRGBAi
38266
+ * @property {number|null} [r] RGBAi r
38267
+ * @property {number|null} [g] RGBAi g
38268
+ * @property {number|null} [b] RGBAi b
38269
+ * @property {number|null} [a] RGBAi a
38270
+ */
38271
+
38272
+ /**
38273
+ * Constructs a new RGBAi.
38274
+ * @memberof vertexvis.protobuf.core
38275
+ * @classdesc Represents a RGBAi.
38276
+ * @implements IRGBAi
38277
+ * @constructor
38278
+ * @param {vertexvis.protobuf.core.IRGBAi=} [properties] Properties to set
38279
+ */
38280
+ function RGBAi(properties) {
38281
+ if (properties)
38282
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
38283
+ if (properties[keys[i]] != null)
38284
+ this[keys[i]] = properties[keys[i]];
38285
+ }
38286
+
38287
+ /**
38288
+ * RGBAi r.
38289
+ * @member {number} r
38290
+ * @memberof vertexvis.protobuf.core.RGBAi
38291
+ * @instance
38292
+ */
38293
+ RGBAi.prototype.r = 0;
38294
+
38295
+ /**
38296
+ * RGBAi g.
38297
+ * @member {number} g
38298
+ * @memberof vertexvis.protobuf.core.RGBAi
38299
+ * @instance
38300
+ */
38301
+ RGBAi.prototype.g = 0;
38302
+
38303
+ /**
38304
+ * RGBAi b.
38305
+ * @member {number} b
38306
+ * @memberof vertexvis.protobuf.core.RGBAi
38307
+ * @instance
38308
+ */
38309
+ RGBAi.prototype.b = 0;
38310
+
38311
+ /**
38312
+ * RGBAi a.
38313
+ * @member {number} a
38314
+ * @memberof vertexvis.protobuf.core.RGBAi
38315
+ * @instance
38316
+ */
38317
+ RGBAi.prototype.a = 0;
38318
+
38319
+ /**
38320
+ * Creates a new RGBAi instance using the specified properties.
38321
+ * @function create
38322
+ * @memberof vertexvis.protobuf.core.RGBAi
38323
+ * @static
38324
+ * @param {vertexvis.protobuf.core.IRGBAi=} [properties] Properties to set
38325
+ * @returns {vertexvis.protobuf.core.RGBAi} RGBAi instance
38326
+ */
38327
+ RGBAi.create = function create(properties) {
38328
+ return new RGBAi(properties);
38329
+ };
38330
+
38331
+ /**
38332
+ * Encodes the specified RGBAi message. Does not implicitly {@link vertexvis.protobuf.core.RGBAi.verify|verify} messages.
38333
+ * @function encode
38334
+ * @memberof vertexvis.protobuf.core.RGBAi
38335
+ * @static
38336
+ * @param {vertexvis.protobuf.core.IRGBAi} message RGBAi message or plain object to encode
38337
+ * @param {$protobuf.Writer} [writer] Writer to encode to
38338
+ * @returns {$protobuf.Writer} Writer
38339
+ */
38340
+ RGBAi.encode = function encode(message, writer) {
38341
+ if (!writer)
38342
+ writer = $Writer.create();
38343
+ if (message.r != null && Object.hasOwnProperty.call(message, "r"))
38344
+ writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.r);
38345
+ if (message.g != null && Object.hasOwnProperty.call(message, "g"))
38346
+ writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.g);
38347
+ if (message.b != null && Object.hasOwnProperty.call(message, "b"))
38348
+ writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.b);
38349
+ if (message.a != null && Object.hasOwnProperty.call(message, "a"))
38350
+ writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.a);
38351
+ return writer;
38352
+ };
38353
+
38354
+ /**
38355
+ * Encodes the specified RGBAi message, length delimited. Does not implicitly {@link vertexvis.protobuf.core.RGBAi.verify|verify} messages.
38356
+ * @function encodeDelimited
38357
+ * @memberof vertexvis.protobuf.core.RGBAi
38358
+ * @static
38359
+ * @param {vertexvis.protobuf.core.IRGBAi} message RGBAi message or plain object to encode
38360
+ * @param {$protobuf.Writer} [writer] Writer to encode to
38361
+ * @returns {$protobuf.Writer} Writer
38362
+ */
38363
+ RGBAi.encodeDelimited = function encodeDelimited(message, writer) {
38364
+ return this.encode(message, writer).ldelim();
38365
+ };
38366
+
38367
+ /**
38368
+ * Decodes a RGBAi message from the specified reader or buffer.
38369
+ * @function decode
38370
+ * @memberof vertexvis.protobuf.core.RGBAi
38371
+ * @static
38372
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
38373
+ * @param {number} [length] Message length if known beforehand
38374
+ * @returns {vertexvis.protobuf.core.RGBAi} RGBAi
38375
+ * @throws {Error} If the payload is not a reader or valid buffer
38376
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
38377
+ */
38378
+ RGBAi.decode = function decode(reader, length) {
38379
+ if (!(reader instanceof $Reader))
38380
+ reader = $Reader.create(reader);
38381
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.core.RGBAi();
38382
+ while (reader.pos < end) {
38383
+ let tag = reader.uint32();
38384
+ switch (tag >>> 3) {
38385
+ case 1:
38386
+ message.r = reader.uint32();
37661
38387
  break;
37662
38388
  case 2:
37663
38389
  message.g = reader.uint32();
@@ -39494,15 +40220,474 @@ const vertexvis = $root.vertexvis = (() => {
39494
40220
  */
39495
40221
 
39496
40222
  /**
39497
- * Constructs a new ModelEntity.
40223
+ * Constructs a new ModelEntity.
40224
+ * @memberof vertexvis.protobuf.core
40225
+ * @classdesc Represents a ModelEntity.
40226
+ * @implements IModelEntity
40227
+ * @constructor
40228
+ * @param {vertexvis.protobuf.core.IModelEntity=} [properties] Properties to set
40229
+ */
40230
+ function ModelEntity(properties) {
40231
+ this.details = [];
40232
+ if (properties)
40233
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
40234
+ if (properties[keys[i]] != null)
40235
+ this[keys[i]] = properties[keys[i]];
40236
+ }
40237
+
40238
+ /**
40239
+ * ModelEntity entityId.
40240
+ * @member {number|Long} entityId
40241
+ * @memberof vertexvis.protobuf.core.ModelEntity
40242
+ * @instance
40243
+ */
40244
+ ModelEntity.prototype.entityId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
40245
+
40246
+ /**
40247
+ * ModelEntity sceneItemId.
40248
+ * @member {vertexvis.protobuf.core.IUuid|null|undefined} sceneItemId
40249
+ * @memberof vertexvis.protobuf.core.ModelEntity
40250
+ * @instance
40251
+ */
40252
+ ModelEntity.prototype.sceneItemId = null;
40253
+
40254
+ /**
40255
+ * ModelEntity details.
40256
+ * @member {Array.<google.protobuf.IAny>} details
40257
+ * @memberof vertexvis.protobuf.core.ModelEntity
40258
+ * @instance
40259
+ */
40260
+ ModelEntity.prototype.details = $util.emptyArray;
40261
+
40262
+ /**
40263
+ * Creates a new ModelEntity instance using the specified properties.
40264
+ * @function create
40265
+ * @memberof vertexvis.protobuf.core.ModelEntity
40266
+ * @static
40267
+ * @param {vertexvis.protobuf.core.IModelEntity=} [properties] Properties to set
40268
+ * @returns {vertexvis.protobuf.core.ModelEntity} ModelEntity instance
40269
+ */
40270
+ ModelEntity.create = function create(properties) {
40271
+ return new ModelEntity(properties);
40272
+ };
40273
+
40274
+ /**
40275
+ * Encodes the specified ModelEntity message. Does not implicitly {@link vertexvis.protobuf.core.ModelEntity.verify|verify} messages.
40276
+ * @function encode
40277
+ * @memberof vertexvis.protobuf.core.ModelEntity
40278
+ * @static
40279
+ * @param {vertexvis.protobuf.core.IModelEntity} message ModelEntity message or plain object to encode
40280
+ * @param {$protobuf.Writer} [writer] Writer to encode to
40281
+ * @returns {$protobuf.Writer} Writer
40282
+ */
40283
+ ModelEntity.encode = function encode(message, writer) {
40284
+ if (!writer)
40285
+ writer = $Writer.create();
40286
+ if (message.entityId != null && Object.hasOwnProperty.call(message, "entityId"))
40287
+ writer.uint32(/* id 1, wireType 0 =*/8).int64(message.entityId);
40288
+ if (message.sceneItemId != null && Object.hasOwnProperty.call(message, "sceneItemId"))
40289
+ $root.vertexvis.protobuf.core.Uuid.encode(message.sceneItemId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
40290
+ if (message.details != null && message.details.length)
40291
+ for (let i = 0; i < message.details.length; ++i)
40292
+ $root.google.protobuf.Any.encode(message.details[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
40293
+ return writer;
40294
+ };
40295
+
40296
+ /**
40297
+ * Encodes the specified ModelEntity message, length delimited. Does not implicitly {@link vertexvis.protobuf.core.ModelEntity.verify|verify} messages.
40298
+ * @function encodeDelimited
40299
+ * @memberof vertexvis.protobuf.core.ModelEntity
40300
+ * @static
40301
+ * @param {vertexvis.protobuf.core.IModelEntity} message ModelEntity message or plain object to encode
40302
+ * @param {$protobuf.Writer} [writer] Writer to encode to
40303
+ * @returns {$protobuf.Writer} Writer
40304
+ */
40305
+ ModelEntity.encodeDelimited = function encodeDelimited(message, writer) {
40306
+ return this.encode(message, writer).ldelim();
40307
+ };
40308
+
40309
+ /**
40310
+ * Decodes a ModelEntity message from the specified reader or buffer.
40311
+ * @function decode
40312
+ * @memberof vertexvis.protobuf.core.ModelEntity
40313
+ * @static
40314
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
40315
+ * @param {number} [length] Message length if known beforehand
40316
+ * @returns {vertexvis.protobuf.core.ModelEntity} ModelEntity
40317
+ * @throws {Error} If the payload is not a reader or valid buffer
40318
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
40319
+ */
40320
+ ModelEntity.decode = function decode(reader, length) {
40321
+ if (!(reader instanceof $Reader))
40322
+ reader = $Reader.create(reader);
40323
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.core.ModelEntity();
40324
+ while (reader.pos < end) {
40325
+ let tag = reader.uint32();
40326
+ switch (tag >>> 3) {
40327
+ case 1:
40328
+ message.entityId = reader.int64();
40329
+ break;
40330
+ case 2:
40331
+ message.sceneItemId = $root.vertexvis.protobuf.core.Uuid.decode(reader, reader.uint32());
40332
+ break;
40333
+ case 3:
40334
+ if (!(message.details && message.details.length))
40335
+ message.details = [];
40336
+ message.details.push($root.google.protobuf.Any.decode(reader, reader.uint32()));
40337
+ break;
40338
+ default:
40339
+ reader.skipType(tag & 7);
40340
+ break;
40341
+ }
40342
+ }
40343
+ return message;
40344
+ };
40345
+
40346
+ /**
40347
+ * Decodes a ModelEntity message from the specified reader or buffer, length delimited.
40348
+ * @function decodeDelimited
40349
+ * @memberof vertexvis.protobuf.core.ModelEntity
40350
+ * @static
40351
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
40352
+ * @returns {vertexvis.protobuf.core.ModelEntity} ModelEntity
40353
+ * @throws {Error} If the payload is not a reader or valid buffer
40354
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
40355
+ */
40356
+ ModelEntity.decodeDelimited = function decodeDelimited(reader) {
40357
+ if (!(reader instanceof $Reader))
40358
+ reader = new $Reader(reader);
40359
+ return this.decode(reader, reader.uint32());
40360
+ };
40361
+
40362
+ /**
40363
+ * Verifies a ModelEntity message.
40364
+ * @function verify
40365
+ * @memberof vertexvis.protobuf.core.ModelEntity
40366
+ * @static
40367
+ * @param {Object.<string,*>} message Plain object to verify
40368
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
40369
+ */
40370
+ ModelEntity.verify = function verify(message) {
40371
+ if (typeof message !== "object" || message === null)
40372
+ return "object expected";
40373
+ if (message.entityId != null && message.hasOwnProperty("entityId"))
40374
+ if (!$util.isInteger(message.entityId) && !(message.entityId && $util.isInteger(message.entityId.low) && $util.isInteger(message.entityId.high)))
40375
+ return "entityId: integer|Long expected";
40376
+ if (message.sceneItemId != null && message.hasOwnProperty("sceneItemId")) {
40377
+ let error = $root.vertexvis.protobuf.core.Uuid.verify(message.sceneItemId);
40378
+ if (error)
40379
+ return "sceneItemId." + error;
40380
+ }
40381
+ if (message.details != null && message.hasOwnProperty("details")) {
40382
+ if (!Array.isArray(message.details))
40383
+ return "details: array expected";
40384
+ for (let i = 0; i < message.details.length; ++i) {
40385
+ let error = $root.google.protobuf.Any.verify(message.details[i]);
40386
+ if (error)
40387
+ return "details." + error;
40388
+ }
40389
+ }
40390
+ return null;
40391
+ };
40392
+
40393
+ /**
40394
+ * Creates a ModelEntity message from a plain object. Also converts values to their respective internal types.
40395
+ * @function fromObject
40396
+ * @memberof vertexvis.protobuf.core.ModelEntity
40397
+ * @static
40398
+ * @param {Object.<string,*>} object Plain object
40399
+ * @returns {vertexvis.protobuf.core.ModelEntity} ModelEntity
40400
+ */
40401
+ ModelEntity.fromObject = function fromObject(object) {
40402
+ if (object instanceof $root.vertexvis.protobuf.core.ModelEntity)
40403
+ return object;
40404
+ let message = new $root.vertexvis.protobuf.core.ModelEntity();
40405
+ if (object.entityId != null)
40406
+ if ($util.Long)
40407
+ (message.entityId = $util.Long.fromValue(object.entityId)).unsigned = false;
40408
+ else if (typeof object.entityId === "string")
40409
+ message.entityId = parseInt(object.entityId, 10);
40410
+ else if (typeof object.entityId === "number")
40411
+ message.entityId = object.entityId;
40412
+ else if (typeof object.entityId === "object")
40413
+ message.entityId = new $util.LongBits(object.entityId.low >>> 0, object.entityId.high >>> 0).toNumber();
40414
+ if (object.sceneItemId != null) {
40415
+ if (typeof object.sceneItemId !== "object")
40416
+ throw TypeError(".vertexvis.protobuf.core.ModelEntity.sceneItemId: object expected");
40417
+ message.sceneItemId = $root.vertexvis.protobuf.core.Uuid.fromObject(object.sceneItemId);
40418
+ }
40419
+ if (object.details) {
40420
+ if (!Array.isArray(object.details))
40421
+ throw TypeError(".vertexvis.protobuf.core.ModelEntity.details: array expected");
40422
+ message.details = [];
40423
+ for (let i = 0; i < object.details.length; ++i) {
40424
+ if (typeof object.details[i] !== "object")
40425
+ throw TypeError(".vertexvis.protobuf.core.ModelEntity.details: object expected");
40426
+ message.details[i] = $root.google.protobuf.Any.fromObject(object.details[i]);
40427
+ }
40428
+ }
40429
+ return message;
40430
+ };
40431
+
40432
+ /**
40433
+ * Creates a plain object from a ModelEntity message. Also converts values to other types if specified.
40434
+ * @function toObject
40435
+ * @memberof vertexvis.protobuf.core.ModelEntity
40436
+ * @static
40437
+ * @param {vertexvis.protobuf.core.ModelEntity} message ModelEntity
40438
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
40439
+ * @returns {Object.<string,*>} Plain object
40440
+ */
40441
+ ModelEntity.toObject = function toObject(message, options) {
40442
+ if (!options)
40443
+ options = {};
40444
+ let object = {};
40445
+ if (options.arrays || options.defaults)
40446
+ object.details = [];
40447
+ if (options.defaults) {
40448
+ if ($util.Long) {
40449
+ let long = new $util.Long(0, 0, false);
40450
+ object.entityId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
40451
+ } else
40452
+ object.entityId = options.longs === String ? "0" : 0;
40453
+ object.sceneItemId = null;
40454
+ }
40455
+ if (message.entityId != null && message.hasOwnProperty("entityId"))
40456
+ if (typeof message.entityId === "number")
40457
+ object.entityId = options.longs === String ? String(message.entityId) : message.entityId;
40458
+ else
40459
+ object.entityId = options.longs === String ? $util.Long.prototype.toString.call(message.entityId) : options.longs === Number ? new $util.LongBits(message.entityId.low >>> 0, message.entityId.high >>> 0).toNumber() : message.entityId;
40460
+ if (message.sceneItemId != null && message.hasOwnProperty("sceneItemId"))
40461
+ object.sceneItemId = $root.vertexvis.protobuf.core.Uuid.toObject(message.sceneItemId, options);
40462
+ if (message.details && message.details.length) {
40463
+ object.details = [];
40464
+ for (let j = 0; j < message.details.length; ++j)
40465
+ object.details[j] = $root.google.protobuf.Any.toObject(message.details[j], options);
40466
+ }
40467
+ return object;
40468
+ };
40469
+
40470
+ /**
40471
+ * Converts this ModelEntity to JSON.
40472
+ * @function toJSON
40473
+ * @memberof vertexvis.protobuf.core.ModelEntity
40474
+ * @instance
40475
+ * @returns {Object.<string,*>} JSON object
40476
+ */
40477
+ ModelEntity.prototype.toJSON = function toJSON() {
40478
+ return this.constructor.toObject(this, minimal.util.toJSONOptions);
40479
+ };
40480
+
40481
+ return ModelEntity;
40482
+ })();
40483
+
40484
+ core.Instant = (function() {
40485
+
40486
+ /**
40487
+ * Properties of an Instant.
40488
+ * @memberof vertexvis.protobuf.core
40489
+ * @interface IInstant
40490
+ * @property {string|null} [iso] Instant iso
40491
+ */
40492
+
40493
+ /**
40494
+ * Constructs a new Instant.
40495
+ * @memberof vertexvis.protobuf.core
40496
+ * @classdesc Represents an Instant.
40497
+ * @implements IInstant
40498
+ * @constructor
40499
+ * @param {vertexvis.protobuf.core.IInstant=} [properties] Properties to set
40500
+ */
40501
+ function Instant(properties) {
40502
+ if (properties)
40503
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
40504
+ if (properties[keys[i]] != null)
40505
+ this[keys[i]] = properties[keys[i]];
40506
+ }
40507
+
40508
+ /**
40509
+ * Instant iso.
40510
+ * @member {string} iso
40511
+ * @memberof vertexvis.protobuf.core.Instant
40512
+ * @instance
40513
+ */
40514
+ Instant.prototype.iso = "";
40515
+
40516
+ /**
40517
+ * Creates a new Instant instance using the specified properties.
40518
+ * @function create
40519
+ * @memberof vertexvis.protobuf.core.Instant
40520
+ * @static
40521
+ * @param {vertexvis.protobuf.core.IInstant=} [properties] Properties to set
40522
+ * @returns {vertexvis.protobuf.core.Instant} Instant instance
40523
+ */
40524
+ Instant.create = function create(properties) {
40525
+ return new Instant(properties);
40526
+ };
40527
+
40528
+ /**
40529
+ * Encodes the specified Instant message. Does not implicitly {@link vertexvis.protobuf.core.Instant.verify|verify} messages.
40530
+ * @function encode
40531
+ * @memberof vertexvis.protobuf.core.Instant
40532
+ * @static
40533
+ * @param {vertexvis.protobuf.core.IInstant} message Instant message or plain object to encode
40534
+ * @param {$protobuf.Writer} [writer] Writer to encode to
40535
+ * @returns {$protobuf.Writer} Writer
40536
+ */
40537
+ Instant.encode = function encode(message, writer) {
40538
+ if (!writer)
40539
+ writer = $Writer.create();
40540
+ if (message.iso != null && Object.hasOwnProperty.call(message, "iso"))
40541
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.iso);
40542
+ return writer;
40543
+ };
40544
+
40545
+ /**
40546
+ * Encodes the specified Instant message, length delimited. Does not implicitly {@link vertexvis.protobuf.core.Instant.verify|verify} messages.
40547
+ * @function encodeDelimited
40548
+ * @memberof vertexvis.protobuf.core.Instant
40549
+ * @static
40550
+ * @param {vertexvis.protobuf.core.IInstant} message Instant message or plain object to encode
40551
+ * @param {$protobuf.Writer} [writer] Writer to encode to
40552
+ * @returns {$protobuf.Writer} Writer
40553
+ */
40554
+ Instant.encodeDelimited = function encodeDelimited(message, writer) {
40555
+ return this.encode(message, writer).ldelim();
40556
+ };
40557
+
40558
+ /**
40559
+ * Decodes an Instant message from the specified reader or buffer.
40560
+ * @function decode
40561
+ * @memberof vertexvis.protobuf.core.Instant
40562
+ * @static
40563
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
40564
+ * @param {number} [length] Message length if known beforehand
40565
+ * @returns {vertexvis.protobuf.core.Instant} Instant
40566
+ * @throws {Error} If the payload is not a reader or valid buffer
40567
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
40568
+ */
40569
+ Instant.decode = function decode(reader, length) {
40570
+ if (!(reader instanceof $Reader))
40571
+ reader = $Reader.create(reader);
40572
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.core.Instant();
40573
+ while (reader.pos < end) {
40574
+ let tag = reader.uint32();
40575
+ switch (tag >>> 3) {
40576
+ case 1:
40577
+ message.iso = reader.string();
40578
+ break;
40579
+ default:
40580
+ reader.skipType(tag & 7);
40581
+ break;
40582
+ }
40583
+ }
40584
+ return message;
40585
+ };
40586
+
40587
+ /**
40588
+ * Decodes an Instant message from the specified reader or buffer, length delimited.
40589
+ * @function decodeDelimited
40590
+ * @memberof vertexvis.protobuf.core.Instant
40591
+ * @static
40592
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
40593
+ * @returns {vertexvis.protobuf.core.Instant} Instant
40594
+ * @throws {Error} If the payload is not a reader or valid buffer
40595
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
40596
+ */
40597
+ Instant.decodeDelimited = function decodeDelimited(reader) {
40598
+ if (!(reader instanceof $Reader))
40599
+ reader = new $Reader(reader);
40600
+ return this.decode(reader, reader.uint32());
40601
+ };
40602
+
40603
+ /**
40604
+ * Verifies an Instant message.
40605
+ * @function verify
40606
+ * @memberof vertexvis.protobuf.core.Instant
40607
+ * @static
40608
+ * @param {Object.<string,*>} message Plain object to verify
40609
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
40610
+ */
40611
+ Instant.verify = function verify(message) {
40612
+ if (typeof message !== "object" || message === null)
40613
+ return "object expected";
40614
+ if (message.iso != null && message.hasOwnProperty("iso"))
40615
+ if (!$util.isString(message.iso))
40616
+ return "iso: string expected";
40617
+ return null;
40618
+ };
40619
+
40620
+ /**
40621
+ * Creates an Instant message from a plain object. Also converts values to their respective internal types.
40622
+ * @function fromObject
40623
+ * @memberof vertexvis.protobuf.core.Instant
40624
+ * @static
40625
+ * @param {Object.<string,*>} object Plain object
40626
+ * @returns {vertexvis.protobuf.core.Instant} Instant
40627
+ */
40628
+ Instant.fromObject = function fromObject(object) {
40629
+ if (object instanceof $root.vertexvis.protobuf.core.Instant)
40630
+ return object;
40631
+ let message = new $root.vertexvis.protobuf.core.Instant();
40632
+ if (object.iso != null)
40633
+ message.iso = String(object.iso);
40634
+ return message;
40635
+ };
40636
+
40637
+ /**
40638
+ * Creates a plain object from an Instant message. Also converts values to other types if specified.
40639
+ * @function toObject
40640
+ * @memberof vertexvis.protobuf.core.Instant
40641
+ * @static
40642
+ * @param {vertexvis.protobuf.core.Instant} message Instant
40643
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
40644
+ * @returns {Object.<string,*>} Plain object
40645
+ */
40646
+ Instant.toObject = function toObject(message, options) {
40647
+ if (!options)
40648
+ options = {};
40649
+ let object = {};
40650
+ if (options.defaults)
40651
+ object.iso = "";
40652
+ if (message.iso != null && message.hasOwnProperty("iso"))
40653
+ object.iso = message.iso;
40654
+ return object;
40655
+ };
40656
+
40657
+ /**
40658
+ * Converts this Instant to JSON.
40659
+ * @function toJSON
40660
+ * @memberof vertexvis.protobuf.core.Instant
40661
+ * @instance
40662
+ * @returns {Object.<string,*>} JSON object
40663
+ */
40664
+ Instant.prototype.toJSON = function toJSON() {
40665
+ return this.constructor.toObject(this, minimal.util.toJSONOptions);
40666
+ };
40667
+
40668
+ return Instant;
40669
+ })();
40670
+
40671
+ core.ModelView = (function() {
40672
+
40673
+ /**
40674
+ * Properties of a ModelView.
40675
+ * @memberof vertexvis.protobuf.core
40676
+ * @interface IModelView
40677
+ * @property {vertexvis.protobuf.core.IUuid2l|null} [id] ModelView id
40678
+ * @property {vertexvis.protobuf.core.IUuid2l|null} [partRevisionId] ModelView partRevisionId
40679
+ * @property {string|null} [displayName] ModelView displayName
40680
+ */
40681
+
40682
+ /**
40683
+ * Constructs a new ModelView.
39498
40684
  * @memberof vertexvis.protobuf.core
39499
- * @classdesc Represents a ModelEntity.
39500
- * @implements IModelEntity
40685
+ * @classdesc Represents a ModelView.
40686
+ * @implements IModelView
39501
40687
  * @constructor
39502
- * @param {vertexvis.protobuf.core.IModelEntity=} [properties] Properties to set
40688
+ * @param {vertexvis.protobuf.core.IModelView=} [properties] Properties to set
39503
40689
  */
39504
- function ModelEntity(properties) {
39505
- this.details = [];
40690
+ function ModelView(properties) {
39506
40691
  if (properties)
39507
40692
  for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
39508
40693
  if (properties[keys[i]] != null)
@@ -39510,104 +40695,101 @@ const vertexvis = $root.vertexvis = (() => {
39510
40695
  }
39511
40696
 
39512
40697
  /**
39513
- * ModelEntity entityId.
39514
- * @member {number|Long} entityId
39515
- * @memberof vertexvis.protobuf.core.ModelEntity
40698
+ * ModelView id.
40699
+ * @member {vertexvis.protobuf.core.IUuid2l|null|undefined} id
40700
+ * @memberof vertexvis.protobuf.core.ModelView
39516
40701
  * @instance
39517
40702
  */
39518
- ModelEntity.prototype.entityId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
40703
+ ModelView.prototype.id = null;
39519
40704
 
39520
40705
  /**
39521
- * ModelEntity sceneItemId.
39522
- * @member {vertexvis.protobuf.core.IUuid|null|undefined} sceneItemId
39523
- * @memberof vertexvis.protobuf.core.ModelEntity
40706
+ * ModelView partRevisionId.
40707
+ * @member {vertexvis.protobuf.core.IUuid2l|null|undefined} partRevisionId
40708
+ * @memberof vertexvis.protobuf.core.ModelView
39524
40709
  * @instance
39525
40710
  */
39526
- ModelEntity.prototype.sceneItemId = null;
40711
+ ModelView.prototype.partRevisionId = null;
39527
40712
 
39528
40713
  /**
39529
- * ModelEntity details.
39530
- * @member {Array.<google.protobuf.IAny>} details
39531
- * @memberof vertexvis.protobuf.core.ModelEntity
40714
+ * ModelView displayName.
40715
+ * @member {string} displayName
40716
+ * @memberof vertexvis.protobuf.core.ModelView
39532
40717
  * @instance
39533
40718
  */
39534
- ModelEntity.prototype.details = $util.emptyArray;
40719
+ ModelView.prototype.displayName = "";
39535
40720
 
39536
40721
  /**
39537
- * Creates a new ModelEntity instance using the specified properties.
40722
+ * Creates a new ModelView instance using the specified properties.
39538
40723
  * @function create
39539
- * @memberof vertexvis.protobuf.core.ModelEntity
40724
+ * @memberof vertexvis.protobuf.core.ModelView
39540
40725
  * @static
39541
- * @param {vertexvis.protobuf.core.IModelEntity=} [properties] Properties to set
39542
- * @returns {vertexvis.protobuf.core.ModelEntity} ModelEntity instance
40726
+ * @param {vertexvis.protobuf.core.IModelView=} [properties] Properties to set
40727
+ * @returns {vertexvis.protobuf.core.ModelView} ModelView instance
39543
40728
  */
39544
- ModelEntity.create = function create(properties) {
39545
- return new ModelEntity(properties);
40729
+ ModelView.create = function create(properties) {
40730
+ return new ModelView(properties);
39546
40731
  };
39547
40732
 
39548
40733
  /**
39549
- * Encodes the specified ModelEntity message. Does not implicitly {@link vertexvis.protobuf.core.ModelEntity.verify|verify} messages.
40734
+ * Encodes the specified ModelView message. Does not implicitly {@link vertexvis.protobuf.core.ModelView.verify|verify} messages.
39550
40735
  * @function encode
39551
- * @memberof vertexvis.protobuf.core.ModelEntity
40736
+ * @memberof vertexvis.protobuf.core.ModelView
39552
40737
  * @static
39553
- * @param {vertexvis.protobuf.core.IModelEntity} message ModelEntity message or plain object to encode
40738
+ * @param {vertexvis.protobuf.core.IModelView} message ModelView message or plain object to encode
39554
40739
  * @param {$protobuf.Writer} [writer] Writer to encode to
39555
40740
  * @returns {$protobuf.Writer} Writer
39556
40741
  */
39557
- ModelEntity.encode = function encode(message, writer) {
40742
+ ModelView.encode = function encode(message, writer) {
39558
40743
  if (!writer)
39559
40744
  writer = $Writer.create();
39560
- if (message.entityId != null && Object.hasOwnProperty.call(message, "entityId"))
39561
- writer.uint32(/* id 1, wireType 0 =*/8).int64(message.entityId);
39562
- if (message.sceneItemId != null && Object.hasOwnProperty.call(message, "sceneItemId"))
39563
- $root.vertexvis.protobuf.core.Uuid.encode(message.sceneItemId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
39564
- if (message.details != null && message.details.length)
39565
- for (let i = 0; i < message.details.length; ++i)
39566
- $root.google.protobuf.Any.encode(message.details[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
40745
+ if (message.id != null && Object.hasOwnProperty.call(message, "id"))
40746
+ $root.vertexvis.protobuf.core.Uuid2l.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
40747
+ if (message.partRevisionId != null && Object.hasOwnProperty.call(message, "partRevisionId"))
40748
+ $root.vertexvis.protobuf.core.Uuid2l.encode(message.partRevisionId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
40749
+ if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName"))
40750
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.displayName);
39567
40751
  return writer;
39568
40752
  };
39569
40753
 
39570
40754
  /**
39571
- * Encodes the specified ModelEntity message, length delimited. Does not implicitly {@link vertexvis.protobuf.core.ModelEntity.verify|verify} messages.
40755
+ * Encodes the specified ModelView message, length delimited. Does not implicitly {@link vertexvis.protobuf.core.ModelView.verify|verify} messages.
39572
40756
  * @function encodeDelimited
39573
- * @memberof vertexvis.protobuf.core.ModelEntity
40757
+ * @memberof vertexvis.protobuf.core.ModelView
39574
40758
  * @static
39575
- * @param {vertexvis.protobuf.core.IModelEntity} message ModelEntity message or plain object to encode
40759
+ * @param {vertexvis.protobuf.core.IModelView} message ModelView message or plain object to encode
39576
40760
  * @param {$protobuf.Writer} [writer] Writer to encode to
39577
40761
  * @returns {$protobuf.Writer} Writer
39578
40762
  */
39579
- ModelEntity.encodeDelimited = function encodeDelimited(message, writer) {
40763
+ ModelView.encodeDelimited = function encodeDelimited(message, writer) {
39580
40764
  return this.encode(message, writer).ldelim();
39581
40765
  };
39582
40766
 
39583
40767
  /**
39584
- * Decodes a ModelEntity message from the specified reader or buffer.
40768
+ * Decodes a ModelView message from the specified reader or buffer.
39585
40769
  * @function decode
39586
- * @memberof vertexvis.protobuf.core.ModelEntity
40770
+ * @memberof vertexvis.protobuf.core.ModelView
39587
40771
  * @static
39588
40772
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
39589
40773
  * @param {number} [length] Message length if known beforehand
39590
- * @returns {vertexvis.protobuf.core.ModelEntity} ModelEntity
40774
+ * @returns {vertexvis.protobuf.core.ModelView} ModelView
39591
40775
  * @throws {Error} If the payload is not a reader or valid buffer
39592
40776
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
39593
40777
  */
39594
- ModelEntity.decode = function decode(reader, length) {
40778
+ ModelView.decode = function decode(reader, length) {
39595
40779
  if (!(reader instanceof $Reader))
39596
40780
  reader = $Reader.create(reader);
39597
- let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.core.ModelEntity();
40781
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.core.ModelView();
39598
40782
  while (reader.pos < end) {
39599
40783
  let tag = reader.uint32();
39600
40784
  switch (tag >>> 3) {
39601
40785
  case 1:
39602
- message.entityId = reader.int64();
40786
+ message.id = $root.vertexvis.protobuf.core.Uuid2l.decode(reader, reader.uint32());
39603
40787
  break;
39604
40788
  case 2:
39605
- message.sceneItemId = $root.vertexvis.protobuf.core.Uuid.decode(reader, reader.uint32());
40789
+ message.partRevisionId = $root.vertexvis.protobuf.core.Uuid2l.decode(reader, reader.uint32());
39606
40790
  break;
39607
40791
  case 3:
39608
- if (!(message.details && message.details.length))
39609
- message.details = [];
39610
- message.details.push($root.google.protobuf.Any.decode(reader, reader.uint32()));
40792
+ message.displayName = reader.string();
39611
40793
  break;
39612
40794
  default:
39613
40795
  reader.skipType(tag & 7);
@@ -39618,161 +40800,135 @@ const vertexvis = $root.vertexvis = (() => {
39618
40800
  };
39619
40801
 
39620
40802
  /**
39621
- * Decodes a ModelEntity message from the specified reader or buffer, length delimited.
40803
+ * Decodes a ModelView message from the specified reader or buffer, length delimited.
39622
40804
  * @function decodeDelimited
39623
- * @memberof vertexvis.protobuf.core.ModelEntity
40805
+ * @memberof vertexvis.protobuf.core.ModelView
39624
40806
  * @static
39625
40807
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
39626
- * @returns {vertexvis.protobuf.core.ModelEntity} ModelEntity
40808
+ * @returns {vertexvis.protobuf.core.ModelView} ModelView
39627
40809
  * @throws {Error} If the payload is not a reader or valid buffer
39628
40810
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
39629
40811
  */
39630
- ModelEntity.decodeDelimited = function decodeDelimited(reader) {
40812
+ ModelView.decodeDelimited = function decodeDelimited(reader) {
39631
40813
  if (!(reader instanceof $Reader))
39632
40814
  reader = new $Reader(reader);
39633
40815
  return this.decode(reader, reader.uint32());
39634
40816
  };
39635
40817
 
39636
40818
  /**
39637
- * Verifies a ModelEntity message.
40819
+ * Verifies a ModelView message.
39638
40820
  * @function verify
39639
- * @memberof vertexvis.protobuf.core.ModelEntity
40821
+ * @memberof vertexvis.protobuf.core.ModelView
39640
40822
  * @static
39641
40823
  * @param {Object.<string,*>} message Plain object to verify
39642
40824
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
39643
40825
  */
39644
- ModelEntity.verify = function verify(message) {
40826
+ ModelView.verify = function verify(message) {
39645
40827
  if (typeof message !== "object" || message === null)
39646
40828
  return "object expected";
39647
- if (message.entityId != null && message.hasOwnProperty("entityId"))
39648
- if (!$util.isInteger(message.entityId) && !(message.entityId && $util.isInteger(message.entityId.low) && $util.isInteger(message.entityId.high)))
39649
- return "entityId: integer|Long expected";
39650
- if (message.sceneItemId != null && message.hasOwnProperty("sceneItemId")) {
39651
- let error = $root.vertexvis.protobuf.core.Uuid.verify(message.sceneItemId);
40829
+ if (message.id != null && message.hasOwnProperty("id")) {
40830
+ let error = $root.vertexvis.protobuf.core.Uuid2l.verify(message.id);
39652
40831
  if (error)
39653
- return "sceneItemId." + error;
40832
+ return "id." + error;
39654
40833
  }
39655
- if (message.details != null && message.hasOwnProperty("details")) {
39656
- if (!Array.isArray(message.details))
39657
- return "details: array expected";
39658
- for (let i = 0; i < message.details.length; ++i) {
39659
- let error = $root.google.protobuf.Any.verify(message.details[i]);
39660
- if (error)
39661
- return "details." + error;
39662
- }
40834
+ if (message.partRevisionId != null && message.hasOwnProperty("partRevisionId")) {
40835
+ let error = $root.vertexvis.protobuf.core.Uuid2l.verify(message.partRevisionId);
40836
+ if (error)
40837
+ return "partRevisionId." + error;
39663
40838
  }
40839
+ if (message.displayName != null && message.hasOwnProperty("displayName"))
40840
+ if (!$util.isString(message.displayName))
40841
+ return "displayName: string expected";
39664
40842
  return null;
39665
40843
  };
39666
40844
 
39667
40845
  /**
39668
- * Creates a ModelEntity message from a plain object. Also converts values to their respective internal types.
40846
+ * Creates a ModelView message from a plain object. Also converts values to their respective internal types.
39669
40847
  * @function fromObject
39670
- * @memberof vertexvis.protobuf.core.ModelEntity
40848
+ * @memberof vertexvis.protobuf.core.ModelView
39671
40849
  * @static
39672
40850
  * @param {Object.<string,*>} object Plain object
39673
- * @returns {vertexvis.protobuf.core.ModelEntity} ModelEntity
40851
+ * @returns {vertexvis.protobuf.core.ModelView} ModelView
39674
40852
  */
39675
- ModelEntity.fromObject = function fromObject(object) {
39676
- if (object instanceof $root.vertexvis.protobuf.core.ModelEntity)
40853
+ ModelView.fromObject = function fromObject(object) {
40854
+ if (object instanceof $root.vertexvis.protobuf.core.ModelView)
39677
40855
  return object;
39678
- let message = new $root.vertexvis.protobuf.core.ModelEntity();
39679
- if (object.entityId != null)
39680
- if ($util.Long)
39681
- (message.entityId = $util.Long.fromValue(object.entityId)).unsigned = false;
39682
- else if (typeof object.entityId === "string")
39683
- message.entityId = parseInt(object.entityId, 10);
39684
- else if (typeof object.entityId === "number")
39685
- message.entityId = object.entityId;
39686
- else if (typeof object.entityId === "object")
39687
- message.entityId = new $util.LongBits(object.entityId.low >>> 0, object.entityId.high >>> 0).toNumber();
39688
- if (object.sceneItemId != null) {
39689
- if (typeof object.sceneItemId !== "object")
39690
- throw TypeError(".vertexvis.protobuf.core.ModelEntity.sceneItemId: object expected");
39691
- message.sceneItemId = $root.vertexvis.protobuf.core.Uuid.fromObject(object.sceneItemId);
40856
+ let message = new $root.vertexvis.protobuf.core.ModelView();
40857
+ if (object.id != null) {
40858
+ if (typeof object.id !== "object")
40859
+ throw TypeError(".vertexvis.protobuf.core.ModelView.id: object expected");
40860
+ message.id = $root.vertexvis.protobuf.core.Uuid2l.fromObject(object.id);
39692
40861
  }
39693
- if (object.details) {
39694
- if (!Array.isArray(object.details))
39695
- throw TypeError(".vertexvis.protobuf.core.ModelEntity.details: array expected");
39696
- message.details = [];
39697
- for (let i = 0; i < object.details.length; ++i) {
39698
- if (typeof object.details[i] !== "object")
39699
- throw TypeError(".vertexvis.protobuf.core.ModelEntity.details: object expected");
39700
- message.details[i] = $root.google.protobuf.Any.fromObject(object.details[i]);
39701
- }
40862
+ if (object.partRevisionId != null) {
40863
+ if (typeof object.partRevisionId !== "object")
40864
+ throw TypeError(".vertexvis.protobuf.core.ModelView.partRevisionId: object expected");
40865
+ message.partRevisionId = $root.vertexvis.protobuf.core.Uuid2l.fromObject(object.partRevisionId);
39702
40866
  }
40867
+ if (object.displayName != null)
40868
+ message.displayName = String(object.displayName);
39703
40869
  return message;
39704
40870
  };
39705
40871
 
39706
40872
  /**
39707
- * Creates a plain object from a ModelEntity message. Also converts values to other types if specified.
40873
+ * Creates a plain object from a ModelView message. Also converts values to other types if specified.
39708
40874
  * @function toObject
39709
- * @memberof vertexvis.protobuf.core.ModelEntity
40875
+ * @memberof vertexvis.protobuf.core.ModelView
39710
40876
  * @static
39711
- * @param {vertexvis.protobuf.core.ModelEntity} message ModelEntity
40877
+ * @param {vertexvis.protobuf.core.ModelView} message ModelView
39712
40878
  * @param {$protobuf.IConversionOptions} [options] Conversion options
39713
40879
  * @returns {Object.<string,*>} Plain object
39714
40880
  */
39715
- ModelEntity.toObject = function toObject(message, options) {
40881
+ ModelView.toObject = function toObject(message, options) {
39716
40882
  if (!options)
39717
40883
  options = {};
39718
40884
  let object = {};
39719
- if (options.arrays || options.defaults)
39720
- object.details = [];
39721
40885
  if (options.defaults) {
39722
- if ($util.Long) {
39723
- let long = new $util.Long(0, 0, false);
39724
- object.entityId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
39725
- } else
39726
- object.entityId = options.longs === String ? "0" : 0;
39727
- object.sceneItemId = null;
39728
- }
39729
- if (message.entityId != null && message.hasOwnProperty("entityId"))
39730
- if (typeof message.entityId === "number")
39731
- object.entityId = options.longs === String ? String(message.entityId) : message.entityId;
39732
- else
39733
- object.entityId = options.longs === String ? $util.Long.prototype.toString.call(message.entityId) : options.longs === Number ? new $util.LongBits(message.entityId.low >>> 0, message.entityId.high >>> 0).toNumber() : message.entityId;
39734
- if (message.sceneItemId != null && message.hasOwnProperty("sceneItemId"))
39735
- object.sceneItemId = $root.vertexvis.protobuf.core.Uuid.toObject(message.sceneItemId, options);
39736
- if (message.details && message.details.length) {
39737
- object.details = [];
39738
- for (let j = 0; j < message.details.length; ++j)
39739
- object.details[j] = $root.google.protobuf.Any.toObject(message.details[j], options);
40886
+ object.id = null;
40887
+ object.partRevisionId = null;
40888
+ object.displayName = "";
39740
40889
  }
40890
+ if (message.id != null && message.hasOwnProperty("id"))
40891
+ object.id = $root.vertexvis.protobuf.core.Uuid2l.toObject(message.id, options);
40892
+ if (message.partRevisionId != null && message.hasOwnProperty("partRevisionId"))
40893
+ object.partRevisionId = $root.vertexvis.protobuf.core.Uuid2l.toObject(message.partRevisionId, options);
40894
+ if (message.displayName != null && message.hasOwnProperty("displayName"))
40895
+ object.displayName = message.displayName;
39741
40896
  return object;
39742
40897
  };
39743
40898
 
39744
40899
  /**
39745
- * Converts this ModelEntity to JSON.
40900
+ * Converts this ModelView to JSON.
39746
40901
  * @function toJSON
39747
- * @memberof vertexvis.protobuf.core.ModelEntity
40902
+ * @memberof vertexvis.protobuf.core.ModelView
39748
40903
  * @instance
39749
40904
  * @returns {Object.<string,*>} JSON object
39750
40905
  */
39751
- ModelEntity.prototype.toJSON = function toJSON() {
40906
+ ModelView.prototype.toJSON = function toJSON() {
39752
40907
  return this.constructor.toObject(this, minimal.util.toJSONOptions);
39753
40908
  };
39754
40909
 
39755
- return ModelEntity;
40910
+ return ModelView;
39756
40911
  })();
39757
40912
 
39758
- core.Instant = (function() {
40913
+ core.ItemModelView = (function() {
39759
40914
 
39760
40915
  /**
39761
- * Properties of an Instant.
40916
+ * Properties of an ItemModelView.
39762
40917
  * @memberof vertexvis.protobuf.core
39763
- * @interface IInstant
39764
- * @property {string|null} [iso] Instant iso
40918
+ * @interface IItemModelView
40919
+ * @property {vertexvis.protobuf.core.IUuid2l|null} [modelViewId] ItemModelView modelViewId
40920
+ * @property {vertexvis.protobuf.core.IUuid2l|null} [sceneItemId] ItemModelView sceneItemId
39765
40921
  */
39766
40922
 
39767
40923
  /**
39768
- * Constructs a new Instant.
40924
+ * Constructs a new ItemModelView.
39769
40925
  * @memberof vertexvis.protobuf.core
39770
- * @classdesc Represents an Instant.
39771
- * @implements IInstant
40926
+ * @classdesc Represents an ItemModelView.
40927
+ * @implements IItemModelView
39772
40928
  * @constructor
39773
- * @param {vertexvis.protobuf.core.IInstant=} [properties] Properties to set
40929
+ * @param {vertexvis.protobuf.core.IItemModelView=} [properties] Properties to set
39774
40930
  */
39775
- function Instant(properties) {
40931
+ function ItemModelView(properties) {
39776
40932
  if (properties)
39777
40933
  for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
39778
40934
  if (properties[keys[i]] != null)
@@ -39780,75 +40936,88 @@ const vertexvis = $root.vertexvis = (() => {
39780
40936
  }
39781
40937
 
39782
40938
  /**
39783
- * Instant iso.
39784
- * @member {string} iso
39785
- * @memberof vertexvis.protobuf.core.Instant
40939
+ * ItemModelView modelViewId.
40940
+ * @member {vertexvis.protobuf.core.IUuid2l|null|undefined} modelViewId
40941
+ * @memberof vertexvis.protobuf.core.ItemModelView
39786
40942
  * @instance
39787
40943
  */
39788
- Instant.prototype.iso = "";
40944
+ ItemModelView.prototype.modelViewId = null;
39789
40945
 
39790
40946
  /**
39791
- * Creates a new Instant instance using the specified properties.
40947
+ * ItemModelView sceneItemId.
40948
+ * @member {vertexvis.protobuf.core.IUuid2l|null|undefined} sceneItemId
40949
+ * @memberof vertexvis.protobuf.core.ItemModelView
40950
+ * @instance
40951
+ */
40952
+ ItemModelView.prototype.sceneItemId = null;
40953
+
40954
+ /**
40955
+ * Creates a new ItemModelView instance using the specified properties.
39792
40956
  * @function create
39793
- * @memberof vertexvis.protobuf.core.Instant
40957
+ * @memberof vertexvis.protobuf.core.ItemModelView
39794
40958
  * @static
39795
- * @param {vertexvis.protobuf.core.IInstant=} [properties] Properties to set
39796
- * @returns {vertexvis.protobuf.core.Instant} Instant instance
40959
+ * @param {vertexvis.protobuf.core.IItemModelView=} [properties] Properties to set
40960
+ * @returns {vertexvis.protobuf.core.ItemModelView} ItemModelView instance
39797
40961
  */
39798
- Instant.create = function create(properties) {
39799
- return new Instant(properties);
40962
+ ItemModelView.create = function create(properties) {
40963
+ return new ItemModelView(properties);
39800
40964
  };
39801
40965
 
39802
40966
  /**
39803
- * Encodes the specified Instant message. Does not implicitly {@link vertexvis.protobuf.core.Instant.verify|verify} messages.
40967
+ * Encodes the specified ItemModelView message. Does not implicitly {@link vertexvis.protobuf.core.ItemModelView.verify|verify} messages.
39804
40968
  * @function encode
39805
- * @memberof vertexvis.protobuf.core.Instant
40969
+ * @memberof vertexvis.protobuf.core.ItemModelView
39806
40970
  * @static
39807
- * @param {vertexvis.protobuf.core.IInstant} message Instant message or plain object to encode
40971
+ * @param {vertexvis.protobuf.core.IItemModelView} message ItemModelView message or plain object to encode
39808
40972
  * @param {$protobuf.Writer} [writer] Writer to encode to
39809
40973
  * @returns {$protobuf.Writer} Writer
39810
40974
  */
39811
- Instant.encode = function encode(message, writer) {
40975
+ ItemModelView.encode = function encode(message, writer) {
39812
40976
  if (!writer)
39813
40977
  writer = $Writer.create();
39814
- if (message.iso != null && Object.hasOwnProperty.call(message, "iso"))
39815
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.iso);
40978
+ if (message.modelViewId != null && Object.hasOwnProperty.call(message, "modelViewId"))
40979
+ $root.vertexvis.protobuf.core.Uuid2l.encode(message.modelViewId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
40980
+ if (message.sceneItemId != null && Object.hasOwnProperty.call(message, "sceneItemId"))
40981
+ $root.vertexvis.protobuf.core.Uuid2l.encode(message.sceneItemId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
39816
40982
  return writer;
39817
40983
  };
39818
40984
 
39819
40985
  /**
39820
- * Encodes the specified Instant message, length delimited. Does not implicitly {@link vertexvis.protobuf.core.Instant.verify|verify} messages.
40986
+ * Encodes the specified ItemModelView message, length delimited. Does not implicitly {@link vertexvis.protobuf.core.ItemModelView.verify|verify} messages.
39821
40987
  * @function encodeDelimited
39822
- * @memberof vertexvis.protobuf.core.Instant
40988
+ * @memberof vertexvis.protobuf.core.ItemModelView
39823
40989
  * @static
39824
- * @param {vertexvis.protobuf.core.IInstant} message Instant message or plain object to encode
40990
+ * @param {vertexvis.protobuf.core.IItemModelView} message ItemModelView message or plain object to encode
39825
40991
  * @param {$protobuf.Writer} [writer] Writer to encode to
39826
40992
  * @returns {$protobuf.Writer} Writer
39827
40993
  */
39828
- Instant.encodeDelimited = function encodeDelimited(message, writer) {
40994
+ ItemModelView.encodeDelimited = function encodeDelimited(message, writer) {
39829
40995
  return this.encode(message, writer).ldelim();
39830
40996
  };
39831
40997
 
39832
40998
  /**
39833
- * Decodes an Instant message from the specified reader or buffer.
40999
+ * Decodes an ItemModelView message from the specified reader or buffer.
39834
41000
  * @function decode
39835
- * @memberof vertexvis.protobuf.core.Instant
41001
+ * @memberof vertexvis.protobuf.core.ItemModelView
39836
41002
  * @static
39837
41003
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
39838
41004
  * @param {number} [length] Message length if known beforehand
39839
- * @returns {vertexvis.protobuf.core.Instant} Instant
41005
+ * @returns {vertexvis.protobuf.core.ItemModelView} ItemModelView
39840
41006
  * @throws {Error} If the payload is not a reader or valid buffer
39841
41007
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
39842
41008
  */
39843
- Instant.decode = function decode(reader, length) {
41009
+ ItemModelView.decode = function decode(reader, length) {
39844
41010
  if (!(reader instanceof $Reader))
39845
41011
  reader = $Reader.create(reader);
39846
- let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.core.Instant();
41012
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.core.ItemModelView();
39847
41013
  while (reader.pos < end) {
39848
41014
  let tag = reader.uint32();
39849
41015
  switch (tag >>> 3) {
39850
41016
  case 1:
39851
- message.iso = reader.string();
41017
+ message.modelViewId = $root.vertexvis.protobuf.core.Uuid2l.decode(reader, reader.uint32());
41018
+ break;
41019
+ case 2:
41020
+ message.sceneItemId = $root.vertexvis.protobuf.core.Uuid2l.decode(reader, reader.uint32());
39852
41021
  break;
39853
41022
  default:
39854
41023
  reader.skipType(tag & 7);
@@ -39859,87 +41028,106 @@ const vertexvis = $root.vertexvis = (() => {
39859
41028
  };
39860
41029
 
39861
41030
  /**
39862
- * Decodes an Instant message from the specified reader or buffer, length delimited.
41031
+ * Decodes an ItemModelView message from the specified reader or buffer, length delimited.
39863
41032
  * @function decodeDelimited
39864
- * @memberof vertexvis.protobuf.core.Instant
41033
+ * @memberof vertexvis.protobuf.core.ItemModelView
39865
41034
  * @static
39866
41035
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
39867
- * @returns {vertexvis.protobuf.core.Instant} Instant
41036
+ * @returns {vertexvis.protobuf.core.ItemModelView} ItemModelView
39868
41037
  * @throws {Error} If the payload is not a reader or valid buffer
39869
41038
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
39870
41039
  */
39871
- Instant.decodeDelimited = function decodeDelimited(reader) {
41040
+ ItemModelView.decodeDelimited = function decodeDelimited(reader) {
39872
41041
  if (!(reader instanceof $Reader))
39873
41042
  reader = new $Reader(reader);
39874
41043
  return this.decode(reader, reader.uint32());
39875
41044
  };
39876
41045
 
39877
41046
  /**
39878
- * Verifies an Instant message.
41047
+ * Verifies an ItemModelView message.
39879
41048
  * @function verify
39880
- * @memberof vertexvis.protobuf.core.Instant
41049
+ * @memberof vertexvis.protobuf.core.ItemModelView
39881
41050
  * @static
39882
41051
  * @param {Object.<string,*>} message Plain object to verify
39883
41052
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
39884
41053
  */
39885
- Instant.verify = function verify(message) {
41054
+ ItemModelView.verify = function verify(message) {
39886
41055
  if (typeof message !== "object" || message === null)
39887
41056
  return "object expected";
39888
- if (message.iso != null && message.hasOwnProperty("iso"))
39889
- if (!$util.isString(message.iso))
39890
- return "iso: string expected";
41057
+ if (message.modelViewId != null && message.hasOwnProperty("modelViewId")) {
41058
+ let error = $root.vertexvis.protobuf.core.Uuid2l.verify(message.modelViewId);
41059
+ if (error)
41060
+ return "modelViewId." + error;
41061
+ }
41062
+ if (message.sceneItemId != null && message.hasOwnProperty("sceneItemId")) {
41063
+ let error = $root.vertexvis.protobuf.core.Uuid2l.verify(message.sceneItemId);
41064
+ if (error)
41065
+ return "sceneItemId." + error;
41066
+ }
39891
41067
  return null;
39892
41068
  };
39893
41069
 
39894
41070
  /**
39895
- * Creates an Instant message from a plain object. Also converts values to their respective internal types.
41071
+ * Creates an ItemModelView message from a plain object. Also converts values to their respective internal types.
39896
41072
  * @function fromObject
39897
- * @memberof vertexvis.protobuf.core.Instant
41073
+ * @memberof vertexvis.protobuf.core.ItemModelView
39898
41074
  * @static
39899
41075
  * @param {Object.<string,*>} object Plain object
39900
- * @returns {vertexvis.protobuf.core.Instant} Instant
41076
+ * @returns {vertexvis.protobuf.core.ItemModelView} ItemModelView
39901
41077
  */
39902
- Instant.fromObject = function fromObject(object) {
39903
- if (object instanceof $root.vertexvis.protobuf.core.Instant)
41078
+ ItemModelView.fromObject = function fromObject(object) {
41079
+ if (object instanceof $root.vertexvis.protobuf.core.ItemModelView)
39904
41080
  return object;
39905
- let message = new $root.vertexvis.protobuf.core.Instant();
39906
- if (object.iso != null)
39907
- message.iso = String(object.iso);
41081
+ let message = new $root.vertexvis.protobuf.core.ItemModelView();
41082
+ if (object.modelViewId != null) {
41083
+ if (typeof object.modelViewId !== "object")
41084
+ throw TypeError(".vertexvis.protobuf.core.ItemModelView.modelViewId: object expected");
41085
+ message.modelViewId = $root.vertexvis.protobuf.core.Uuid2l.fromObject(object.modelViewId);
41086
+ }
41087
+ if (object.sceneItemId != null) {
41088
+ if (typeof object.sceneItemId !== "object")
41089
+ throw TypeError(".vertexvis.protobuf.core.ItemModelView.sceneItemId: object expected");
41090
+ message.sceneItemId = $root.vertexvis.protobuf.core.Uuid2l.fromObject(object.sceneItemId);
41091
+ }
39908
41092
  return message;
39909
41093
  };
39910
41094
 
39911
41095
  /**
39912
- * Creates a plain object from an Instant message. Also converts values to other types if specified.
41096
+ * Creates a plain object from an ItemModelView message. Also converts values to other types if specified.
39913
41097
  * @function toObject
39914
- * @memberof vertexvis.protobuf.core.Instant
41098
+ * @memberof vertexvis.protobuf.core.ItemModelView
39915
41099
  * @static
39916
- * @param {vertexvis.protobuf.core.Instant} message Instant
41100
+ * @param {vertexvis.protobuf.core.ItemModelView} message ItemModelView
39917
41101
  * @param {$protobuf.IConversionOptions} [options] Conversion options
39918
41102
  * @returns {Object.<string,*>} Plain object
39919
41103
  */
39920
- Instant.toObject = function toObject(message, options) {
41104
+ ItemModelView.toObject = function toObject(message, options) {
39921
41105
  if (!options)
39922
41106
  options = {};
39923
41107
  let object = {};
39924
- if (options.defaults)
39925
- object.iso = "";
39926
- if (message.iso != null && message.hasOwnProperty("iso"))
39927
- object.iso = message.iso;
41108
+ if (options.defaults) {
41109
+ object.modelViewId = null;
41110
+ object.sceneItemId = null;
41111
+ }
41112
+ if (message.modelViewId != null && message.hasOwnProperty("modelViewId"))
41113
+ object.modelViewId = $root.vertexvis.protobuf.core.Uuid2l.toObject(message.modelViewId, options);
41114
+ if (message.sceneItemId != null && message.hasOwnProperty("sceneItemId"))
41115
+ object.sceneItemId = $root.vertexvis.protobuf.core.Uuid2l.toObject(message.sceneItemId, options);
39928
41116
  return object;
39929
41117
  };
39930
41118
 
39931
41119
  /**
39932
- * Converts this Instant to JSON.
41120
+ * Converts this ItemModelView to JSON.
39933
41121
  * @function toJSON
39934
- * @memberof vertexvis.protobuf.core.Instant
41122
+ * @memberof vertexvis.protobuf.core.ItemModelView
39935
41123
  * @instance
39936
41124
  * @returns {Object.<string,*>} JSON object
39937
41125
  */
39938
- Instant.prototype.toJSON = function toJSON() {
41126
+ ItemModelView.prototype.toJSON = function toJSON() {
39939
41127
  return this.constructor.toObject(this, minimal.util.toJSONOptions);
39940
41128
  };
39941
41129
 
39942
- return Instant;
41130
+ return ItemModelView;
39943
41131
  })();
39944
41132
 
39945
41133
  return core;
@@ -42825,6 +44013,26 @@ var StreamApi = /** @class */ (function () {
42825
44013
  if (withResponse === void 0) { withResponse = true; }
42826
44014
  return this.sendRequest({ updateCrossSectioning: payload }, withResponse);
42827
44015
  };
44016
+ /**
44017
+ * Sends a request to set or clear the model view of the frame.
44018
+ *
44019
+ * The payload accepts an optional `frameCorrelationId` that will be sent
44020
+ * back on the frame that is associated to this request. Use `onRequest` to
44021
+ * add a callback that'll be invoked when the server sends a request to draw
44022
+ * the frame.
44023
+ *
44024
+ * Use `withResponse` to indicate if the server should reply with a response.
44025
+ * If `false`, the returned promise will complete immediately. Otherwise,
44026
+ * it'll complete when a response is received.
44027
+ *
44028
+ * @param payload The payload of the request.
44029
+ * @param withResponse Indicates if the server should reply with a response.
44030
+ * Defaults to `true`.
44031
+ */
44032
+ StreamApi.prototype.updateModelView = function (payload, withResponse) {
44033
+ if (withResponse === void 0) { withResponse = true; }
44034
+ return this.sendRequest({ updateModelView: payload }, withResponse);
44035
+ };
42828
44036
  /**
42829
44037
  * Sends a request to perform hit detection.
42830
44038
  *