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