@vertexvis/stream-api 0.22.1-canary.8 → 0.22.1-testing.0
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.
- package/dist/bundle.cjs.js +1820 -393
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +1820 -393
- package/dist/bundle.esm.js.map +1 -1
- package/dist/streamApi.d.ts +18 -1
- package/dist/types.d.ts +3 -0
- package/package.json +5 -5
package/dist/bundle.cjs.js
CHANGED
|
@@ -13680,6 +13680,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13680
13680
|
* @property {vertexvis.protobuf.stream.ISelectionHighlightAttributes|null} [selectionHighlighting] StreamAttributes selectionHighlighting
|
|
13681
13681
|
* @property {vertexvis.protobuf.stream.IPhantomAttributes|null} [phantomItems] StreamAttributes phantomItems
|
|
13682
13682
|
* @property {vertexvis.protobuf.stream.IFrameAttributes|null} [frames] StreamAttributes frames
|
|
13683
|
+
* @property {vertexvis.protobuf.stream.ISceneComparisonAttributes|null} [sceneComparison] StreamAttributes sceneComparison
|
|
13683
13684
|
*/
|
|
13684
13685
|
|
|
13685
13686
|
/**
|
|
@@ -13777,6 +13778,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13777
13778
|
*/
|
|
13778
13779
|
StreamAttributes.prototype.frames = null;
|
|
13779
13780
|
|
|
13781
|
+
/**
|
|
13782
|
+
* StreamAttributes sceneComparison.
|
|
13783
|
+
* @member {vertexvis.protobuf.stream.ISceneComparisonAttributes|null|undefined} sceneComparison
|
|
13784
|
+
* @memberof vertexvis.protobuf.stream.StreamAttributes
|
|
13785
|
+
* @instance
|
|
13786
|
+
*/
|
|
13787
|
+
StreamAttributes.prototype.sceneComparison = null;
|
|
13788
|
+
|
|
13780
13789
|
/**
|
|
13781
13790
|
* Creates a new StreamAttributes instance using the specified properties.
|
|
13782
13791
|
* @function create
|
|
@@ -13821,6 +13830,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13821
13830
|
$root.vertexvis.protobuf.stream.PhantomAttributes.encode(message.phantomItems, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
|
|
13822
13831
|
if (message.frames != null && Object.hasOwnProperty.call(message, "frames"))
|
|
13823
13832
|
$root.vertexvis.protobuf.stream.FrameAttributes.encode(message.frames, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
|
|
13833
|
+
if (message.sceneComparison != null && Object.hasOwnProperty.call(message, "sceneComparison"))
|
|
13834
|
+
$root.vertexvis.protobuf.stream.SceneComparisonAttributes.encode(message.sceneComparison, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
|
|
13824
13835
|
return writer;
|
|
13825
13836
|
};
|
|
13826
13837
|
|
|
@@ -13885,6 +13896,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13885
13896
|
case 10:
|
|
13886
13897
|
message.frames = $root.vertexvis.protobuf.stream.FrameAttributes.decode(reader, reader.uint32());
|
|
13887
13898
|
break;
|
|
13899
|
+
case 11:
|
|
13900
|
+
message.sceneComparison = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.decode(reader, reader.uint32());
|
|
13901
|
+
break;
|
|
13888
13902
|
default:
|
|
13889
13903
|
reader.skipType(tag & 7);
|
|
13890
13904
|
break;
|
|
@@ -13966,6 +13980,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13966
13980
|
if (error)
|
|
13967
13981
|
return "frames." + error;
|
|
13968
13982
|
}
|
|
13983
|
+
if (message.sceneComparison != null && message.hasOwnProperty("sceneComparison")) {
|
|
13984
|
+
let error = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.verify(message.sceneComparison);
|
|
13985
|
+
if (error)
|
|
13986
|
+
return "sceneComparison." + error;
|
|
13987
|
+
}
|
|
13969
13988
|
return null;
|
|
13970
13989
|
};
|
|
13971
13990
|
|
|
@@ -14025,6 +14044,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14025
14044
|
throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.frames: object expected");
|
|
14026
14045
|
message.frames = $root.vertexvis.protobuf.stream.FrameAttributes.fromObject(object.frames);
|
|
14027
14046
|
}
|
|
14047
|
+
if (object.sceneComparison != null) {
|
|
14048
|
+
if (typeof object.sceneComparison !== "object")
|
|
14049
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.sceneComparison: object expected");
|
|
14050
|
+
message.sceneComparison = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.fromObject(object.sceneComparison);
|
|
14051
|
+
}
|
|
14028
14052
|
return message;
|
|
14029
14053
|
};
|
|
14030
14054
|
|
|
@@ -14052,6 +14076,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14052
14076
|
object.selectionHighlighting = null;
|
|
14053
14077
|
object.phantomItems = null;
|
|
14054
14078
|
object.frames = null;
|
|
14079
|
+
object.sceneComparison = null;
|
|
14055
14080
|
}
|
|
14056
14081
|
if (message.experimentalGhosting != null && message.hasOwnProperty("experimentalGhosting"))
|
|
14057
14082
|
object.experimentalGhosting = $root.vertexvis.protobuf.stream.GhostingAttributes.toObject(message.experimentalGhosting, options);
|
|
@@ -14073,6 +14098,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14073
14098
|
object.phantomItems = $root.vertexvis.protobuf.stream.PhantomAttributes.toObject(message.phantomItems, options);
|
|
14074
14099
|
if (message.frames != null && message.hasOwnProperty("frames"))
|
|
14075
14100
|
object.frames = $root.vertexvis.protobuf.stream.FrameAttributes.toObject(message.frames, options);
|
|
14101
|
+
if (message.sceneComparison != null && message.hasOwnProperty("sceneComparison"))
|
|
14102
|
+
object.sceneComparison = $root.vertexvis.protobuf.stream.SceneComparisonAttributes.toObject(message.sceneComparison, options);
|
|
14076
14103
|
return object;
|
|
14077
14104
|
};
|
|
14078
14105
|
|
|
@@ -15170,6 +15197,198 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
15170
15197
|
return AnimationAttributes;
|
|
15171
15198
|
})();
|
|
15172
15199
|
|
|
15200
|
+
stream.SceneComparisonAttributes = (function() {
|
|
15201
|
+
|
|
15202
|
+
/**
|
|
15203
|
+
* Properties of a SceneComparisonAttributes.
|
|
15204
|
+
* @memberof vertexvis.protobuf.stream
|
|
15205
|
+
* @interface ISceneComparisonAttributes
|
|
15206
|
+
* @property {google.protobuf.IStringValue|null} [streamKeyToCompare] SceneComparisonAttributes streamKeyToCompare
|
|
15207
|
+
*/
|
|
15208
|
+
|
|
15209
|
+
/**
|
|
15210
|
+
* Constructs a new SceneComparisonAttributes.
|
|
15211
|
+
* @memberof vertexvis.protobuf.stream
|
|
15212
|
+
* @classdesc Represents a SceneComparisonAttributes.
|
|
15213
|
+
* @implements ISceneComparisonAttributes
|
|
15214
|
+
* @constructor
|
|
15215
|
+
* @param {vertexvis.protobuf.stream.ISceneComparisonAttributes=} [properties] Properties to set
|
|
15216
|
+
*/
|
|
15217
|
+
function SceneComparisonAttributes(properties) {
|
|
15218
|
+
if (properties)
|
|
15219
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
15220
|
+
if (properties[keys[i]] != null)
|
|
15221
|
+
this[keys[i]] = properties[keys[i]];
|
|
15222
|
+
}
|
|
15223
|
+
|
|
15224
|
+
/**
|
|
15225
|
+
* SceneComparisonAttributes streamKeyToCompare.
|
|
15226
|
+
* @member {google.protobuf.IStringValue|null|undefined} streamKeyToCompare
|
|
15227
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15228
|
+
* @instance
|
|
15229
|
+
*/
|
|
15230
|
+
SceneComparisonAttributes.prototype.streamKeyToCompare = null;
|
|
15231
|
+
|
|
15232
|
+
/**
|
|
15233
|
+
* Creates a new SceneComparisonAttributes instance using the specified properties.
|
|
15234
|
+
* @function create
|
|
15235
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15236
|
+
* @static
|
|
15237
|
+
* @param {vertexvis.protobuf.stream.ISceneComparisonAttributes=} [properties] Properties to set
|
|
15238
|
+
* @returns {vertexvis.protobuf.stream.SceneComparisonAttributes} SceneComparisonAttributes instance
|
|
15239
|
+
*/
|
|
15240
|
+
SceneComparisonAttributes.create = function create(properties) {
|
|
15241
|
+
return new SceneComparisonAttributes(properties);
|
|
15242
|
+
};
|
|
15243
|
+
|
|
15244
|
+
/**
|
|
15245
|
+
* Encodes the specified SceneComparisonAttributes message. Does not implicitly {@link vertexvis.protobuf.stream.SceneComparisonAttributes.verify|verify} messages.
|
|
15246
|
+
* @function encode
|
|
15247
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15248
|
+
* @static
|
|
15249
|
+
* @param {vertexvis.protobuf.stream.ISceneComparisonAttributes} message SceneComparisonAttributes message or plain object to encode
|
|
15250
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15251
|
+
* @returns {$protobuf.Writer} Writer
|
|
15252
|
+
*/
|
|
15253
|
+
SceneComparisonAttributes.encode = function encode(message, writer) {
|
|
15254
|
+
if (!writer)
|
|
15255
|
+
writer = $Writer.create();
|
|
15256
|
+
if (message.streamKeyToCompare != null && Object.hasOwnProperty.call(message, "streamKeyToCompare"))
|
|
15257
|
+
$root.google.protobuf.StringValue.encode(message.streamKeyToCompare, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
15258
|
+
return writer;
|
|
15259
|
+
};
|
|
15260
|
+
|
|
15261
|
+
/**
|
|
15262
|
+
* Encodes the specified SceneComparisonAttributes message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.SceneComparisonAttributes.verify|verify} messages.
|
|
15263
|
+
* @function encodeDelimited
|
|
15264
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15265
|
+
* @static
|
|
15266
|
+
* @param {vertexvis.protobuf.stream.ISceneComparisonAttributes} message SceneComparisonAttributes message or plain object to encode
|
|
15267
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15268
|
+
* @returns {$protobuf.Writer} Writer
|
|
15269
|
+
*/
|
|
15270
|
+
SceneComparisonAttributes.encodeDelimited = function encodeDelimited(message, writer) {
|
|
15271
|
+
return this.encode(message, writer).ldelim();
|
|
15272
|
+
};
|
|
15273
|
+
|
|
15274
|
+
/**
|
|
15275
|
+
* Decodes a SceneComparisonAttributes message from the specified reader or buffer.
|
|
15276
|
+
* @function decode
|
|
15277
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15278
|
+
* @static
|
|
15279
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15280
|
+
* @param {number} [length] Message length if known beforehand
|
|
15281
|
+
* @returns {vertexvis.protobuf.stream.SceneComparisonAttributes} SceneComparisonAttributes
|
|
15282
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15283
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15284
|
+
*/
|
|
15285
|
+
SceneComparisonAttributes.decode = function decode(reader, length) {
|
|
15286
|
+
if (!(reader instanceof $Reader))
|
|
15287
|
+
reader = $Reader.create(reader);
|
|
15288
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.SceneComparisonAttributes();
|
|
15289
|
+
while (reader.pos < end) {
|
|
15290
|
+
let tag = reader.uint32();
|
|
15291
|
+
switch (tag >>> 3) {
|
|
15292
|
+
case 2:
|
|
15293
|
+
message.streamKeyToCompare = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
|
|
15294
|
+
break;
|
|
15295
|
+
default:
|
|
15296
|
+
reader.skipType(tag & 7);
|
|
15297
|
+
break;
|
|
15298
|
+
}
|
|
15299
|
+
}
|
|
15300
|
+
return message;
|
|
15301
|
+
};
|
|
15302
|
+
|
|
15303
|
+
/**
|
|
15304
|
+
* Decodes a SceneComparisonAttributes message from the specified reader or buffer, length delimited.
|
|
15305
|
+
* @function decodeDelimited
|
|
15306
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15307
|
+
* @static
|
|
15308
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15309
|
+
* @returns {vertexvis.protobuf.stream.SceneComparisonAttributes} SceneComparisonAttributes
|
|
15310
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15311
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15312
|
+
*/
|
|
15313
|
+
SceneComparisonAttributes.decodeDelimited = function decodeDelimited(reader) {
|
|
15314
|
+
if (!(reader instanceof $Reader))
|
|
15315
|
+
reader = new $Reader(reader);
|
|
15316
|
+
return this.decode(reader, reader.uint32());
|
|
15317
|
+
};
|
|
15318
|
+
|
|
15319
|
+
/**
|
|
15320
|
+
* Verifies a SceneComparisonAttributes message.
|
|
15321
|
+
* @function verify
|
|
15322
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15323
|
+
* @static
|
|
15324
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
15325
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
15326
|
+
*/
|
|
15327
|
+
SceneComparisonAttributes.verify = function verify(message) {
|
|
15328
|
+
if (typeof message !== "object" || message === null)
|
|
15329
|
+
return "object expected";
|
|
15330
|
+
if (message.streamKeyToCompare != null && message.hasOwnProperty("streamKeyToCompare")) {
|
|
15331
|
+
let error = $root.google.protobuf.StringValue.verify(message.streamKeyToCompare);
|
|
15332
|
+
if (error)
|
|
15333
|
+
return "streamKeyToCompare." + error;
|
|
15334
|
+
}
|
|
15335
|
+
return null;
|
|
15336
|
+
};
|
|
15337
|
+
|
|
15338
|
+
/**
|
|
15339
|
+
* Creates a SceneComparisonAttributes message from a plain object. Also converts values to their respective internal types.
|
|
15340
|
+
* @function fromObject
|
|
15341
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15342
|
+
* @static
|
|
15343
|
+
* @param {Object.<string,*>} object Plain object
|
|
15344
|
+
* @returns {vertexvis.protobuf.stream.SceneComparisonAttributes} SceneComparisonAttributes
|
|
15345
|
+
*/
|
|
15346
|
+
SceneComparisonAttributes.fromObject = function fromObject(object) {
|
|
15347
|
+
if (object instanceof $root.vertexvis.protobuf.stream.SceneComparisonAttributes)
|
|
15348
|
+
return object;
|
|
15349
|
+
let message = new $root.vertexvis.protobuf.stream.SceneComparisonAttributes();
|
|
15350
|
+
if (object.streamKeyToCompare != null) {
|
|
15351
|
+
if (typeof object.streamKeyToCompare !== "object")
|
|
15352
|
+
throw TypeError(".vertexvis.protobuf.stream.SceneComparisonAttributes.streamKeyToCompare: object expected");
|
|
15353
|
+
message.streamKeyToCompare = $root.google.protobuf.StringValue.fromObject(object.streamKeyToCompare);
|
|
15354
|
+
}
|
|
15355
|
+
return message;
|
|
15356
|
+
};
|
|
15357
|
+
|
|
15358
|
+
/**
|
|
15359
|
+
* Creates a plain object from a SceneComparisonAttributes message. Also converts values to other types if specified.
|
|
15360
|
+
* @function toObject
|
|
15361
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15362
|
+
* @static
|
|
15363
|
+
* @param {vertexvis.protobuf.stream.SceneComparisonAttributes} message SceneComparisonAttributes
|
|
15364
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
15365
|
+
* @returns {Object.<string,*>} Plain object
|
|
15366
|
+
*/
|
|
15367
|
+
SceneComparisonAttributes.toObject = function toObject(message, options) {
|
|
15368
|
+
if (!options)
|
|
15369
|
+
options = {};
|
|
15370
|
+
let object = {};
|
|
15371
|
+
if (options.defaults)
|
|
15372
|
+
object.streamKeyToCompare = null;
|
|
15373
|
+
if (message.streamKeyToCompare != null && message.hasOwnProperty("streamKeyToCompare"))
|
|
15374
|
+
object.streamKeyToCompare = $root.google.protobuf.StringValue.toObject(message.streamKeyToCompare, options);
|
|
15375
|
+
return object;
|
|
15376
|
+
};
|
|
15377
|
+
|
|
15378
|
+
/**
|
|
15379
|
+
* Converts this SceneComparisonAttributes to JSON.
|
|
15380
|
+
* @function toJSON
|
|
15381
|
+
* @memberof vertexvis.protobuf.stream.SceneComparisonAttributes
|
|
15382
|
+
* @instance
|
|
15383
|
+
* @returns {Object.<string,*>} JSON object
|
|
15384
|
+
*/
|
|
15385
|
+
SceneComparisonAttributes.prototype.toJSON = function toJSON() {
|
|
15386
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
15387
|
+
};
|
|
15388
|
+
|
|
15389
|
+
return SceneComparisonAttributes;
|
|
15390
|
+
})();
|
|
15391
|
+
|
|
15173
15392
|
stream.FrameAttributes = (function() {
|
|
15174
15393
|
|
|
15175
15394
|
/**
|
|
@@ -19050,6 +19269,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
19050
19269
|
* @property {vertexvis.protobuf.stream.IResetViewPlayload|null} [resetView] StreamRequest resetView
|
|
19051
19270
|
* @property {vertexvis.protobuf.stream.IRefreshTokenPayload|null} [refreshToken] StreamRequest refreshToken
|
|
19052
19271
|
* @property {vertexvis.protobuf.stream.IUpdateInteractionPayload|null} [updateInteraction] StreamRequest updateInteraction
|
|
19272
|
+
* @property {vertexvis.protobuf.stream.IUpdateModelViewPayload|null} [updateModelView] StreamRequest updateModelView
|
|
19053
19273
|
*/
|
|
19054
19274
|
|
|
19055
19275
|
/**
|
|
@@ -19235,17 +19455,25 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
19235
19455
|
*/
|
|
19236
19456
|
StreamRequest.prototype.updateInteraction = null;
|
|
19237
19457
|
|
|
19458
|
+
/**
|
|
19459
|
+
* StreamRequest updateModelView.
|
|
19460
|
+
* @member {vertexvis.protobuf.stream.IUpdateModelViewPayload|null|undefined} updateModelView
|
|
19461
|
+
* @memberof vertexvis.protobuf.stream.StreamRequest
|
|
19462
|
+
* @instance
|
|
19463
|
+
*/
|
|
19464
|
+
StreamRequest.prototype.updateModelView = null;
|
|
19465
|
+
|
|
19238
19466
|
// OneOf field names bound to virtual getters and setters
|
|
19239
19467
|
let $oneOfFields;
|
|
19240
19468
|
|
|
19241
19469
|
/**
|
|
19242
19470
|
* 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
|
|
19471
|
+
* @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
19472
|
* @memberof vertexvis.protobuf.stream.StreamRequest
|
|
19245
19473
|
* @instance
|
|
19246
19474
|
*/
|
|
19247
19475
|
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"]),
|
|
19476
|
+
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
19477
|
set: $util.oneOfSetter($oneOfFields)
|
|
19250
19478
|
});
|
|
19251
19479
|
|
|
@@ -19315,6 +19543,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
19315
19543
|
$root.vertexvis.protobuf.stream.RefreshTokenPayload.encode(message.refreshToken, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
|
|
19316
19544
|
if (message.updateInteraction != null && Object.hasOwnProperty.call(message, "updateInteraction"))
|
|
19317
19545
|
$root.vertexvis.protobuf.stream.UpdateInteractionPayload.encode(message.updateInteraction, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
19546
|
+
if (message.updateModelView != null && Object.hasOwnProperty.call(message, "updateModelView"))
|
|
19547
|
+
$root.vertexvis.protobuf.stream.UpdateModelViewPayload.encode(message.updateModelView, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
|
|
19318
19548
|
return writer;
|
|
19319
19549
|
};
|
|
19320
19550
|
|
|
@@ -19412,6 +19642,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
19412
19642
|
case 21:
|
|
19413
19643
|
message.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionPayload.decode(reader, reader.uint32());
|
|
19414
19644
|
break;
|
|
19645
|
+
case 22:
|
|
19646
|
+
message.updateModelView = $root.vertexvis.protobuf.stream.UpdateModelViewPayload.decode(reader, reader.uint32());
|
|
19647
|
+
break;
|
|
19415
19648
|
default:
|
|
19416
19649
|
reader.skipType(tag & 7);
|
|
19417
19650
|
break;
|
|
@@ -19651,6 +19884,16 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
19651
19884
|
return "updateInteraction." + error;
|
|
19652
19885
|
}
|
|
19653
19886
|
}
|
|
19887
|
+
if (message.updateModelView != null && message.hasOwnProperty("updateModelView")) {
|
|
19888
|
+
if (properties.payload === 1)
|
|
19889
|
+
return "payload: multiple values";
|
|
19890
|
+
properties.payload = 1;
|
|
19891
|
+
{
|
|
19892
|
+
let error = $root.vertexvis.protobuf.stream.UpdateModelViewPayload.verify(message.updateModelView);
|
|
19893
|
+
if (error)
|
|
19894
|
+
return "updateModelView." + error;
|
|
19895
|
+
}
|
|
19896
|
+
}
|
|
19654
19897
|
return null;
|
|
19655
19898
|
};
|
|
19656
19899
|
|
|
@@ -19771,6 +20014,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
19771
20014
|
throw TypeError(".vertexvis.protobuf.stream.StreamRequest.updateInteraction: object expected");
|
|
19772
20015
|
message.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionPayload.fromObject(object.updateInteraction);
|
|
19773
20016
|
}
|
|
20017
|
+
if (object.updateModelView != null) {
|
|
20018
|
+
if (typeof object.updateModelView !== "object")
|
|
20019
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamRequest.updateModelView: object expected");
|
|
20020
|
+
message.updateModelView = $root.vertexvis.protobuf.stream.UpdateModelViewPayload.fromObject(object.updateModelView);
|
|
20021
|
+
}
|
|
19774
20022
|
return message;
|
|
19775
20023
|
};
|
|
19776
20024
|
|
|
@@ -19891,6 +20139,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
19891
20139
|
if (options.oneofs)
|
|
19892
20140
|
object.payload = "updateInteraction";
|
|
19893
20141
|
}
|
|
20142
|
+
if (message.updateModelView != null && message.hasOwnProperty("updateModelView")) {
|
|
20143
|
+
object.updateModelView = $root.vertexvis.protobuf.stream.UpdateModelViewPayload.toObject(message.updateModelView, options);
|
|
20144
|
+
if (options.oneofs)
|
|
20145
|
+
object.payload = "updateModelView";
|
|
20146
|
+
}
|
|
19894
20147
|
return object;
|
|
19895
20148
|
};
|
|
19896
20149
|
|
|
@@ -25106,44 +25359,25 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
25106
25359
|
return RefreshTokenPayload;
|
|
25107
25360
|
})();
|
|
25108
25361
|
|
|
25109
|
-
stream.
|
|
25362
|
+
stream.UpdateModelViewPayload = (function() {
|
|
25110
25363
|
|
|
25111
25364
|
/**
|
|
25112
|
-
* Properties of
|
|
25365
|
+
* Properties of an UpdateModelViewPayload.
|
|
25113
25366
|
* @memberof vertexvis.protobuf.stream
|
|
25114
|
-
* @interface
|
|
25115
|
-
* @property {
|
|
25116
|
-
* @property {
|
|
25117
|
-
* @property {vertexvis.protobuf.stream.IStartStreamResult|null} [startStream] StreamResponse startStream
|
|
25118
|
-
* @property {vertexvis.protobuf.stream.IUpdateCameraResult|null} [updateCamera] StreamResponse updateCamera
|
|
25119
|
-
* @property {vertexvis.protobuf.stream.IBeginInteractionResult|null} [beginInteraction] StreamResponse beginInteraction
|
|
25120
|
-
* @property {vertexvis.protobuf.stream.IEndInteractionResult|null} [endInteraction] StreamResponse endInteraction
|
|
25121
|
-
* @property {vertexvis.protobuf.stream.IGracefulReconnectionResult|null} [gracefulReconnection] StreamResponse gracefulReconnection
|
|
25122
|
-
* @property {vertexvis.protobuf.stream.IReconnectResult|null} [reconnect] StreamResponse reconnect
|
|
25123
|
-
* @property {vertexvis.protobuf.stream.IHitItemsResult|null} [hitItems] StreamResponse hitItems
|
|
25124
|
-
* @property {vertexvis.protobuf.stream.IDrawFrameResult|null} [drawFrame] StreamResponse drawFrame
|
|
25125
|
-
* @property {vertexvis.protobuf.stream.ISyncTimeResult|null} [syncTime] StreamResponse syncTime
|
|
25126
|
-
* @property {vertexvis.protobuf.stream.IRecordPerformanceResult|null} [recordPerformance] StreamResponse recordPerformance
|
|
25127
|
-
* @property {vertexvis.protobuf.stream.IUpdateDimensionsResult|null} [updateDimensions] StreamResponse updateDimensions
|
|
25128
|
-
* @property {vertexvis.protobuf.stream.IUpdateStreamResult|null} [updateStream] StreamResponse updateStream
|
|
25129
|
-
* @property {vertexvis.protobuf.stream.IFlyToResult|null} [flyTo] StreamResponse flyTo
|
|
25130
|
-
* @property {vertexvis.protobuf.stream.ILoadSceneViewStateResult|null} [loadSceneViewState] StreamResponse loadSceneViewState
|
|
25131
|
-
* @property {vertexvis.protobuf.stream.IUpdateCrossSectioningResult|null} [updateCrossSectioning] StreamResponse updateCrossSectioning
|
|
25132
|
-
* @property {vertexvis.protobuf.stream.IGetStencilBufferResult|null} [stencilBuffer] StreamResponse stencilBuffer
|
|
25133
|
-
* @property {vertexvis.protobuf.stream.IResetViewResult|null} [resetView] StreamResponse resetView
|
|
25134
|
-
* @property {vertexvis.protobuf.stream.IRefreshTokenResult|null} [refreshToken] StreamResponse refreshToken
|
|
25135
|
-
* @property {vertexvis.protobuf.stream.IUpdateInteractionResult|null} [updateInteraction] StreamResponse updateInteraction
|
|
25367
|
+
* @interface IUpdateModelViewPayload
|
|
25368
|
+
* @property {vertexvis.protobuf.core.IItemModelView|null} [itemModelView] UpdateModelViewPayload itemModelView
|
|
25369
|
+
* @property {google.protobuf.IStringValue|null} [frameCorrelationId] UpdateModelViewPayload frameCorrelationId
|
|
25136
25370
|
*/
|
|
25137
25371
|
|
|
25138
25372
|
/**
|
|
25139
|
-
* Constructs a new
|
|
25373
|
+
* Constructs a new UpdateModelViewPayload.
|
|
25140
25374
|
* @memberof vertexvis.protobuf.stream
|
|
25141
|
-
* @classdesc Represents
|
|
25142
|
-
* @implements
|
|
25375
|
+
* @classdesc Represents an UpdateModelViewPayload.
|
|
25376
|
+
* @implements IUpdateModelViewPayload
|
|
25143
25377
|
* @constructor
|
|
25144
|
-
* @param {vertexvis.protobuf.stream.
|
|
25378
|
+
* @param {vertexvis.protobuf.stream.IUpdateModelViewPayload=} [properties] Properties to set
|
|
25145
25379
|
*/
|
|
25146
|
-
function
|
|
25380
|
+
function UpdateModelViewPayload(properties) {
|
|
25147
25381
|
if (properties)
|
|
25148
25382
|
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
25149
25383
|
if (properties[keys[i]] != null)
|
|
@@ -25151,58 +25385,298 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
25151
25385
|
}
|
|
25152
25386
|
|
|
25153
25387
|
/**
|
|
25154
|
-
*
|
|
25155
|
-
* @member {
|
|
25156
|
-
* @memberof vertexvis.protobuf.stream.
|
|
25388
|
+
* UpdateModelViewPayload itemModelView.
|
|
25389
|
+
* @member {vertexvis.protobuf.core.IItemModelView|null|undefined} itemModelView
|
|
25390
|
+
* @memberof vertexvis.protobuf.stream.UpdateModelViewPayload
|
|
25157
25391
|
* @instance
|
|
25158
25392
|
*/
|
|
25159
|
-
|
|
25393
|
+
UpdateModelViewPayload.prototype.itemModelView = null;
|
|
25160
25394
|
|
|
25161
25395
|
/**
|
|
25162
|
-
*
|
|
25163
|
-
* @member {
|
|
25164
|
-
* @memberof vertexvis.protobuf.stream.
|
|
25396
|
+
* UpdateModelViewPayload frameCorrelationId.
|
|
25397
|
+
* @member {google.protobuf.IStringValue|null|undefined} frameCorrelationId
|
|
25398
|
+
* @memberof vertexvis.protobuf.stream.UpdateModelViewPayload
|
|
25165
25399
|
* @instance
|
|
25166
25400
|
*/
|
|
25167
|
-
|
|
25401
|
+
UpdateModelViewPayload.prototype.frameCorrelationId = null;
|
|
25168
25402
|
|
|
25169
25403
|
/**
|
|
25170
|
-
*
|
|
25171
|
-
* @
|
|
25172
|
-
* @memberof vertexvis.protobuf.stream.
|
|
25173
|
-
* @
|
|
25404
|
+
* Creates a new UpdateModelViewPayload instance using the specified properties.
|
|
25405
|
+
* @function create
|
|
25406
|
+
* @memberof vertexvis.protobuf.stream.UpdateModelViewPayload
|
|
25407
|
+
* @static
|
|
25408
|
+
* @param {vertexvis.protobuf.stream.IUpdateModelViewPayload=} [properties] Properties to set
|
|
25409
|
+
* @returns {vertexvis.protobuf.stream.UpdateModelViewPayload} UpdateModelViewPayload instance
|
|
25174
25410
|
*/
|
|
25175
|
-
|
|
25411
|
+
UpdateModelViewPayload.create = function create(properties) {
|
|
25412
|
+
return new UpdateModelViewPayload(properties);
|
|
25413
|
+
};
|
|
25176
25414
|
|
|
25177
25415
|
/**
|
|
25178
|
-
*
|
|
25179
|
-
* @
|
|
25180
|
-
* @memberof vertexvis.protobuf.stream.
|
|
25181
|
-
* @
|
|
25416
|
+
* Encodes the specified UpdateModelViewPayload message. Does not implicitly {@link vertexvis.protobuf.stream.UpdateModelViewPayload.verify|verify} messages.
|
|
25417
|
+
* @function encode
|
|
25418
|
+
* @memberof vertexvis.protobuf.stream.UpdateModelViewPayload
|
|
25419
|
+
* @static
|
|
25420
|
+
* @param {vertexvis.protobuf.stream.IUpdateModelViewPayload} message UpdateModelViewPayload message or plain object to encode
|
|
25421
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
25422
|
+
* @returns {$protobuf.Writer} Writer
|
|
25182
25423
|
*/
|
|
25183
|
-
|
|
25424
|
+
UpdateModelViewPayload.encode = function encode(message, writer) {
|
|
25425
|
+
if (!writer)
|
|
25426
|
+
writer = $Writer.create();
|
|
25427
|
+
if (message.itemModelView != null && Object.hasOwnProperty.call(message, "itemModelView"))
|
|
25428
|
+
$root.vertexvis.protobuf.core.ItemModelView.encode(message.itemModelView, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
25429
|
+
if (message.frameCorrelationId != null && Object.hasOwnProperty.call(message, "frameCorrelationId"))
|
|
25430
|
+
$root.google.protobuf.StringValue.encode(message.frameCorrelationId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
25431
|
+
return writer;
|
|
25432
|
+
};
|
|
25184
25433
|
|
|
25185
25434
|
/**
|
|
25186
|
-
*
|
|
25187
|
-
* @
|
|
25188
|
-
* @memberof vertexvis.protobuf.stream.
|
|
25189
|
-
* @
|
|
25435
|
+
* Encodes the specified UpdateModelViewPayload message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.UpdateModelViewPayload.verify|verify} messages.
|
|
25436
|
+
* @function encodeDelimited
|
|
25437
|
+
* @memberof vertexvis.protobuf.stream.UpdateModelViewPayload
|
|
25438
|
+
* @static
|
|
25439
|
+
* @param {vertexvis.protobuf.stream.IUpdateModelViewPayload} message UpdateModelViewPayload message or plain object to encode
|
|
25440
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
25441
|
+
* @returns {$protobuf.Writer} Writer
|
|
25190
25442
|
*/
|
|
25191
|
-
|
|
25443
|
+
UpdateModelViewPayload.encodeDelimited = function encodeDelimited(message, writer) {
|
|
25444
|
+
return this.encode(message, writer).ldelim();
|
|
25445
|
+
};
|
|
25192
25446
|
|
|
25193
25447
|
/**
|
|
25194
|
-
*
|
|
25195
|
-
* @
|
|
25196
|
-
* @memberof vertexvis.protobuf.stream.
|
|
25197
|
-
* @
|
|
25448
|
+
* Decodes an UpdateModelViewPayload message from the specified reader or buffer.
|
|
25449
|
+
* @function decode
|
|
25450
|
+
* @memberof vertexvis.protobuf.stream.UpdateModelViewPayload
|
|
25451
|
+
* @static
|
|
25452
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
25453
|
+
* @param {number} [length] Message length if known beforehand
|
|
25454
|
+
* @returns {vertexvis.protobuf.stream.UpdateModelViewPayload} UpdateModelViewPayload
|
|
25455
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25456
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25198
25457
|
*/
|
|
25199
|
-
|
|
25458
|
+
UpdateModelViewPayload.decode = function decode(reader, length) {
|
|
25459
|
+
if (!(reader instanceof $Reader))
|
|
25460
|
+
reader = $Reader.create(reader);
|
|
25461
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.UpdateModelViewPayload();
|
|
25462
|
+
while (reader.pos < end) {
|
|
25463
|
+
let tag = reader.uint32();
|
|
25464
|
+
switch (tag >>> 3) {
|
|
25465
|
+
case 1:
|
|
25466
|
+
message.itemModelView = $root.vertexvis.protobuf.core.ItemModelView.decode(reader, reader.uint32());
|
|
25467
|
+
break;
|
|
25468
|
+
case 2:
|
|
25469
|
+
message.frameCorrelationId = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
|
|
25470
|
+
break;
|
|
25471
|
+
default:
|
|
25472
|
+
reader.skipType(tag & 7);
|
|
25473
|
+
break;
|
|
25474
|
+
}
|
|
25475
|
+
}
|
|
25476
|
+
return message;
|
|
25477
|
+
};
|
|
25200
25478
|
|
|
25201
25479
|
/**
|
|
25202
|
-
*
|
|
25203
|
-
* @
|
|
25204
|
-
* @memberof vertexvis.protobuf.stream.
|
|
25205
|
-
* @
|
|
25480
|
+
* Decodes an UpdateModelViewPayload message from the specified reader or buffer, length delimited.
|
|
25481
|
+
* @function decodeDelimited
|
|
25482
|
+
* @memberof vertexvis.protobuf.stream.UpdateModelViewPayload
|
|
25483
|
+
* @static
|
|
25484
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
25485
|
+
* @returns {vertexvis.protobuf.stream.UpdateModelViewPayload} UpdateModelViewPayload
|
|
25486
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25487
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25488
|
+
*/
|
|
25489
|
+
UpdateModelViewPayload.decodeDelimited = function decodeDelimited(reader) {
|
|
25490
|
+
if (!(reader instanceof $Reader))
|
|
25491
|
+
reader = new $Reader(reader);
|
|
25492
|
+
return this.decode(reader, reader.uint32());
|
|
25493
|
+
};
|
|
25494
|
+
|
|
25495
|
+
/**
|
|
25496
|
+
* Verifies an UpdateModelViewPayload message.
|
|
25497
|
+
* @function verify
|
|
25498
|
+
* @memberof vertexvis.protobuf.stream.UpdateModelViewPayload
|
|
25499
|
+
* @static
|
|
25500
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
25501
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
25502
|
+
*/
|
|
25503
|
+
UpdateModelViewPayload.verify = function verify(message) {
|
|
25504
|
+
if (typeof message !== "object" || message === null)
|
|
25505
|
+
return "object expected";
|
|
25506
|
+
if (message.itemModelView != null && message.hasOwnProperty("itemModelView")) {
|
|
25507
|
+
let error = $root.vertexvis.protobuf.core.ItemModelView.verify(message.itemModelView);
|
|
25508
|
+
if (error)
|
|
25509
|
+
return "itemModelView." + error;
|
|
25510
|
+
}
|
|
25511
|
+
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId")) {
|
|
25512
|
+
let error = $root.google.protobuf.StringValue.verify(message.frameCorrelationId);
|
|
25513
|
+
if (error)
|
|
25514
|
+
return "frameCorrelationId." + error;
|
|
25515
|
+
}
|
|
25516
|
+
return null;
|
|
25517
|
+
};
|
|
25518
|
+
|
|
25519
|
+
/**
|
|
25520
|
+
* Creates an UpdateModelViewPayload message from a plain object. Also converts values to their respective internal types.
|
|
25521
|
+
* @function fromObject
|
|
25522
|
+
* @memberof vertexvis.protobuf.stream.UpdateModelViewPayload
|
|
25523
|
+
* @static
|
|
25524
|
+
* @param {Object.<string,*>} object Plain object
|
|
25525
|
+
* @returns {vertexvis.protobuf.stream.UpdateModelViewPayload} UpdateModelViewPayload
|
|
25526
|
+
*/
|
|
25527
|
+
UpdateModelViewPayload.fromObject = function fromObject(object) {
|
|
25528
|
+
if (object instanceof $root.vertexvis.protobuf.stream.UpdateModelViewPayload)
|
|
25529
|
+
return object;
|
|
25530
|
+
let message = new $root.vertexvis.protobuf.stream.UpdateModelViewPayload();
|
|
25531
|
+
if (object.itemModelView != null) {
|
|
25532
|
+
if (typeof object.itemModelView !== "object")
|
|
25533
|
+
throw TypeError(".vertexvis.protobuf.stream.UpdateModelViewPayload.itemModelView: object expected");
|
|
25534
|
+
message.itemModelView = $root.vertexvis.protobuf.core.ItemModelView.fromObject(object.itemModelView);
|
|
25535
|
+
}
|
|
25536
|
+
if (object.frameCorrelationId != null) {
|
|
25537
|
+
if (typeof object.frameCorrelationId !== "object")
|
|
25538
|
+
throw TypeError(".vertexvis.protobuf.stream.UpdateModelViewPayload.frameCorrelationId: object expected");
|
|
25539
|
+
message.frameCorrelationId = $root.google.protobuf.StringValue.fromObject(object.frameCorrelationId);
|
|
25540
|
+
}
|
|
25541
|
+
return message;
|
|
25542
|
+
};
|
|
25543
|
+
|
|
25544
|
+
/**
|
|
25545
|
+
* Creates a plain object from an UpdateModelViewPayload message. Also converts values to other types if specified.
|
|
25546
|
+
* @function toObject
|
|
25547
|
+
* @memberof vertexvis.protobuf.stream.UpdateModelViewPayload
|
|
25548
|
+
* @static
|
|
25549
|
+
* @param {vertexvis.protobuf.stream.UpdateModelViewPayload} message UpdateModelViewPayload
|
|
25550
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
25551
|
+
* @returns {Object.<string,*>} Plain object
|
|
25552
|
+
*/
|
|
25553
|
+
UpdateModelViewPayload.toObject = function toObject(message, options) {
|
|
25554
|
+
if (!options)
|
|
25555
|
+
options = {};
|
|
25556
|
+
let object = {};
|
|
25557
|
+
if (options.defaults) {
|
|
25558
|
+
object.itemModelView = null;
|
|
25559
|
+
object.frameCorrelationId = null;
|
|
25560
|
+
}
|
|
25561
|
+
if (message.itemModelView != null && message.hasOwnProperty("itemModelView"))
|
|
25562
|
+
object.itemModelView = $root.vertexvis.protobuf.core.ItemModelView.toObject(message.itemModelView, options);
|
|
25563
|
+
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId"))
|
|
25564
|
+
object.frameCorrelationId = $root.google.protobuf.StringValue.toObject(message.frameCorrelationId, options);
|
|
25565
|
+
return object;
|
|
25566
|
+
};
|
|
25567
|
+
|
|
25568
|
+
/**
|
|
25569
|
+
* Converts this UpdateModelViewPayload to JSON.
|
|
25570
|
+
* @function toJSON
|
|
25571
|
+
* @memberof vertexvis.protobuf.stream.UpdateModelViewPayload
|
|
25572
|
+
* @instance
|
|
25573
|
+
* @returns {Object.<string,*>} JSON object
|
|
25574
|
+
*/
|
|
25575
|
+
UpdateModelViewPayload.prototype.toJSON = function toJSON() {
|
|
25576
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
25577
|
+
};
|
|
25578
|
+
|
|
25579
|
+
return UpdateModelViewPayload;
|
|
25580
|
+
})();
|
|
25581
|
+
|
|
25582
|
+
stream.StreamResponse = (function() {
|
|
25583
|
+
|
|
25584
|
+
/**
|
|
25585
|
+
* Properties of a StreamResponse.
|
|
25586
|
+
* @memberof vertexvis.protobuf.stream
|
|
25587
|
+
* @interface IStreamResponse
|
|
25588
|
+
* @property {google.protobuf.IStringValue|null} [requestId] StreamResponse requestId
|
|
25589
|
+
* @property {vertexvis.protobuf.stream.IError|null} [error] StreamResponse error
|
|
25590
|
+
* @property {vertexvis.protobuf.stream.IStartStreamResult|null} [startStream] StreamResponse startStream
|
|
25591
|
+
* @property {vertexvis.protobuf.stream.IUpdateCameraResult|null} [updateCamera] StreamResponse updateCamera
|
|
25592
|
+
* @property {vertexvis.protobuf.stream.IBeginInteractionResult|null} [beginInteraction] StreamResponse beginInteraction
|
|
25593
|
+
* @property {vertexvis.protobuf.stream.IEndInteractionResult|null} [endInteraction] StreamResponse endInteraction
|
|
25594
|
+
* @property {vertexvis.protobuf.stream.IGracefulReconnectionResult|null} [gracefulReconnection] StreamResponse gracefulReconnection
|
|
25595
|
+
* @property {vertexvis.protobuf.stream.IReconnectResult|null} [reconnect] StreamResponse reconnect
|
|
25596
|
+
* @property {vertexvis.protobuf.stream.IHitItemsResult|null} [hitItems] StreamResponse hitItems
|
|
25597
|
+
* @property {vertexvis.protobuf.stream.IDrawFrameResult|null} [drawFrame] StreamResponse drawFrame
|
|
25598
|
+
* @property {vertexvis.protobuf.stream.ISyncTimeResult|null} [syncTime] StreamResponse syncTime
|
|
25599
|
+
* @property {vertexvis.protobuf.stream.IRecordPerformanceResult|null} [recordPerformance] StreamResponse recordPerformance
|
|
25600
|
+
* @property {vertexvis.protobuf.stream.IUpdateDimensionsResult|null} [updateDimensions] StreamResponse updateDimensions
|
|
25601
|
+
* @property {vertexvis.protobuf.stream.IUpdateStreamResult|null} [updateStream] StreamResponse updateStream
|
|
25602
|
+
* @property {vertexvis.protobuf.stream.IFlyToResult|null} [flyTo] StreamResponse flyTo
|
|
25603
|
+
* @property {vertexvis.protobuf.stream.ILoadSceneViewStateResult|null} [loadSceneViewState] StreamResponse loadSceneViewState
|
|
25604
|
+
* @property {vertexvis.protobuf.stream.IUpdateCrossSectioningResult|null} [updateCrossSectioning] StreamResponse updateCrossSectioning
|
|
25605
|
+
* @property {vertexvis.protobuf.stream.IGetStencilBufferResult|null} [stencilBuffer] StreamResponse stencilBuffer
|
|
25606
|
+
* @property {vertexvis.protobuf.stream.IResetViewResult|null} [resetView] StreamResponse resetView
|
|
25607
|
+
* @property {vertexvis.protobuf.stream.IRefreshTokenResult|null} [refreshToken] StreamResponse refreshToken
|
|
25608
|
+
* @property {vertexvis.protobuf.stream.IUpdateInteractionResult|null} [updateInteraction] StreamResponse updateInteraction
|
|
25609
|
+
* @property {vertexvis.protobuf.stream.IUpdateModelViewResult|null} [updateModelView] StreamResponse updateModelView
|
|
25610
|
+
*/
|
|
25611
|
+
|
|
25612
|
+
/**
|
|
25613
|
+
* Constructs a new StreamResponse.
|
|
25614
|
+
* @memberof vertexvis.protobuf.stream
|
|
25615
|
+
* @classdesc Represents a StreamResponse.
|
|
25616
|
+
* @implements IStreamResponse
|
|
25617
|
+
* @constructor
|
|
25618
|
+
* @param {vertexvis.protobuf.stream.IStreamResponse=} [properties] Properties to set
|
|
25619
|
+
*/
|
|
25620
|
+
function StreamResponse(properties) {
|
|
25621
|
+
if (properties)
|
|
25622
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
25623
|
+
if (properties[keys[i]] != null)
|
|
25624
|
+
this[keys[i]] = properties[keys[i]];
|
|
25625
|
+
}
|
|
25626
|
+
|
|
25627
|
+
/**
|
|
25628
|
+
* StreamResponse requestId.
|
|
25629
|
+
* @member {google.protobuf.IStringValue|null|undefined} requestId
|
|
25630
|
+
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
25631
|
+
* @instance
|
|
25632
|
+
*/
|
|
25633
|
+
StreamResponse.prototype.requestId = null;
|
|
25634
|
+
|
|
25635
|
+
/**
|
|
25636
|
+
* StreamResponse error.
|
|
25637
|
+
* @member {vertexvis.protobuf.stream.IError|null|undefined} error
|
|
25638
|
+
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
25639
|
+
* @instance
|
|
25640
|
+
*/
|
|
25641
|
+
StreamResponse.prototype.error = null;
|
|
25642
|
+
|
|
25643
|
+
/**
|
|
25644
|
+
* StreamResponse startStream.
|
|
25645
|
+
* @member {vertexvis.protobuf.stream.IStartStreamResult|null|undefined} startStream
|
|
25646
|
+
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
25647
|
+
* @instance
|
|
25648
|
+
*/
|
|
25649
|
+
StreamResponse.prototype.startStream = null;
|
|
25650
|
+
|
|
25651
|
+
/**
|
|
25652
|
+
* StreamResponse updateCamera.
|
|
25653
|
+
* @member {vertexvis.protobuf.stream.IUpdateCameraResult|null|undefined} updateCamera
|
|
25654
|
+
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
25655
|
+
* @instance
|
|
25656
|
+
*/
|
|
25657
|
+
StreamResponse.prototype.updateCamera = null;
|
|
25658
|
+
|
|
25659
|
+
/**
|
|
25660
|
+
* StreamResponse beginInteraction.
|
|
25661
|
+
* @member {vertexvis.protobuf.stream.IBeginInteractionResult|null|undefined} beginInteraction
|
|
25662
|
+
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
25663
|
+
* @instance
|
|
25664
|
+
*/
|
|
25665
|
+
StreamResponse.prototype.beginInteraction = null;
|
|
25666
|
+
|
|
25667
|
+
/**
|
|
25668
|
+
* StreamResponse endInteraction.
|
|
25669
|
+
* @member {vertexvis.protobuf.stream.IEndInteractionResult|null|undefined} endInteraction
|
|
25670
|
+
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
25671
|
+
* @instance
|
|
25672
|
+
*/
|
|
25673
|
+
StreamResponse.prototype.endInteraction = null;
|
|
25674
|
+
|
|
25675
|
+
/**
|
|
25676
|
+
* StreamResponse gracefulReconnection.
|
|
25677
|
+
* @member {vertexvis.protobuf.stream.IGracefulReconnectionResult|null|undefined} gracefulReconnection
|
|
25678
|
+
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
25679
|
+
* @instance
|
|
25206
25680
|
*/
|
|
25207
25681
|
StreamResponse.prototype.gracefulReconnection = null;
|
|
25208
25682
|
|
|
@@ -25318,17 +25792,25 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
25318
25792
|
*/
|
|
25319
25793
|
StreamResponse.prototype.updateInteraction = null;
|
|
25320
25794
|
|
|
25795
|
+
/**
|
|
25796
|
+
* StreamResponse updateModelView.
|
|
25797
|
+
* @member {vertexvis.protobuf.stream.IUpdateModelViewResult|null|undefined} updateModelView
|
|
25798
|
+
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
25799
|
+
* @instance
|
|
25800
|
+
*/
|
|
25801
|
+
StreamResponse.prototype.updateModelView = null;
|
|
25802
|
+
|
|
25321
25803
|
// OneOf field names bound to virtual getters and setters
|
|
25322
25804
|
let $oneOfFields;
|
|
25323
25805
|
|
|
25324
25806
|
/**
|
|
25325
25807
|
* 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
|
|
25808
|
+
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"stencilBuffer"|"resetView"|"refreshToken"|"updateInteraction"|"updateModelView"|undefined} result
|
|
25327
25809
|
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
25328
25810
|
* @instance
|
|
25329
25811
|
*/
|
|
25330
25812
|
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"]),
|
|
25813
|
+
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
25814
|
set: $util.oneOfSetter($oneOfFields)
|
|
25333
25815
|
});
|
|
25334
25816
|
|
|
@@ -25398,6 +25880,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
25398
25880
|
$root.vertexvis.protobuf.stream.GracefulReconnectionResult.encode(message.gracefulReconnection, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
|
|
25399
25881
|
if (message.updateInteraction != null && Object.hasOwnProperty.call(message, "updateInteraction"))
|
|
25400
25882
|
$root.vertexvis.protobuf.stream.UpdateInteractionResult.encode(message.updateInteraction, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
25883
|
+
if (message.updateModelView != null && Object.hasOwnProperty.call(message, "updateModelView"))
|
|
25884
|
+
$root.vertexvis.protobuf.stream.UpdateModelViewResult.encode(message.updateModelView, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
|
|
25401
25885
|
return writer;
|
|
25402
25886
|
};
|
|
25403
25887
|
|
|
@@ -25495,6 +25979,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
25495
25979
|
case 21:
|
|
25496
25980
|
message.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionResult.decode(reader, reader.uint32());
|
|
25497
25981
|
break;
|
|
25982
|
+
case 22:
|
|
25983
|
+
message.updateModelView = $root.vertexvis.protobuf.stream.UpdateModelViewResult.decode(reader, reader.uint32());
|
|
25984
|
+
break;
|
|
25498
25985
|
default:
|
|
25499
25986
|
reader.skipType(tag & 7);
|
|
25500
25987
|
break;
|
|
@@ -25729,6 +26216,16 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
25729
26216
|
return "updateInteraction." + error;
|
|
25730
26217
|
}
|
|
25731
26218
|
}
|
|
26219
|
+
if (message.updateModelView != null && message.hasOwnProperty("updateModelView")) {
|
|
26220
|
+
if (properties.result === 1)
|
|
26221
|
+
return "result: multiple values";
|
|
26222
|
+
properties.result = 1;
|
|
26223
|
+
{
|
|
26224
|
+
let error = $root.vertexvis.protobuf.stream.UpdateModelViewResult.verify(message.updateModelView);
|
|
26225
|
+
if (error)
|
|
26226
|
+
return "updateModelView." + error;
|
|
26227
|
+
}
|
|
26228
|
+
}
|
|
25732
26229
|
return null;
|
|
25733
26230
|
};
|
|
25734
26231
|
|
|
@@ -25849,6 +26346,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
25849
26346
|
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.updateInteraction: object expected");
|
|
25850
26347
|
message.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionResult.fromObject(object.updateInteraction);
|
|
25851
26348
|
}
|
|
26349
|
+
if (object.updateModelView != null) {
|
|
26350
|
+
if (typeof object.updateModelView !== "object")
|
|
26351
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.updateModelView: object expected");
|
|
26352
|
+
message.updateModelView = $root.vertexvis.protobuf.stream.UpdateModelViewResult.fromObject(object.updateModelView);
|
|
26353
|
+
}
|
|
25852
26354
|
return message;
|
|
25853
26355
|
};
|
|
25854
26356
|
|
|
@@ -25968,6 +26470,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
25968
26470
|
if (options.oneofs)
|
|
25969
26471
|
object.result = "updateInteraction";
|
|
25970
26472
|
}
|
|
26473
|
+
if (message.updateModelView != null && message.hasOwnProperty("updateModelView")) {
|
|
26474
|
+
object.updateModelView = $root.vertexvis.protobuf.stream.UpdateModelViewResult.toObject(message.updateModelView, options);
|
|
26475
|
+
if (options.oneofs)
|
|
26476
|
+
object.result = "updateModelView";
|
|
26477
|
+
}
|
|
25971
26478
|
return object;
|
|
25972
26479
|
};
|
|
25973
26480
|
|
|
@@ -30034,37 +30541,23 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
30034
30541
|
return GracefulReconnectionResult;
|
|
30035
30542
|
})();
|
|
30036
30543
|
|
|
30037
|
-
|
|
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() {
|
|
30544
|
+
stream.UpdateModelViewResult = (function() {
|
|
30050
30545
|
|
|
30051
30546
|
/**
|
|
30052
|
-
* Properties of
|
|
30053
|
-
* @memberof vertexvis.protobuf.
|
|
30054
|
-
* @interface
|
|
30055
|
-
* @property {number|null} [x] Vector2i x
|
|
30056
|
-
* @property {number|null} [y] Vector2i y
|
|
30547
|
+
* Properties of an UpdateModelViewResult.
|
|
30548
|
+
* @memberof vertexvis.protobuf.stream
|
|
30549
|
+
* @interface IUpdateModelViewResult
|
|
30057
30550
|
*/
|
|
30058
30551
|
|
|
30059
30552
|
/**
|
|
30060
|
-
* Constructs a new
|
|
30061
|
-
* @memberof vertexvis.protobuf.
|
|
30062
|
-
* @classdesc Represents
|
|
30063
|
-
* @implements
|
|
30553
|
+
* Constructs a new UpdateModelViewResult.
|
|
30554
|
+
* @memberof vertexvis.protobuf.stream
|
|
30555
|
+
* @classdesc Represents an UpdateModelViewResult.
|
|
30556
|
+
* @implements IUpdateModelViewResult
|
|
30064
30557
|
* @constructor
|
|
30065
|
-
* @param {vertexvis.protobuf.
|
|
30558
|
+
* @param {vertexvis.protobuf.stream.IUpdateModelViewResult=} [properties] Properties to set
|
|
30066
30559
|
*/
|
|
30067
|
-
function
|
|
30560
|
+
function UpdateModelViewResult(properties) {
|
|
30068
30561
|
if (properties)
|
|
30069
30562
|
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
30070
30563
|
if (properties[keys[i]] != null)
|
|
@@ -30072,89 +30565,63 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
30072
30565
|
}
|
|
30073
30566
|
|
|
30074
30567
|
/**
|
|
30075
|
-
*
|
|
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.
|
|
30568
|
+
* Creates a new UpdateModelViewResult instance using the specified properties.
|
|
30092
30569
|
* @function create
|
|
30093
|
-
* @memberof vertexvis.protobuf.
|
|
30570
|
+
* @memberof vertexvis.protobuf.stream.UpdateModelViewResult
|
|
30094
30571
|
* @static
|
|
30095
|
-
* @param {vertexvis.protobuf.
|
|
30096
|
-
* @returns {vertexvis.protobuf.
|
|
30572
|
+
* @param {vertexvis.protobuf.stream.IUpdateModelViewResult=} [properties] Properties to set
|
|
30573
|
+
* @returns {vertexvis.protobuf.stream.UpdateModelViewResult} UpdateModelViewResult instance
|
|
30097
30574
|
*/
|
|
30098
|
-
|
|
30099
|
-
return new
|
|
30575
|
+
UpdateModelViewResult.create = function create(properties) {
|
|
30576
|
+
return new UpdateModelViewResult(properties);
|
|
30100
30577
|
};
|
|
30101
30578
|
|
|
30102
30579
|
/**
|
|
30103
|
-
* Encodes the specified
|
|
30580
|
+
* Encodes the specified UpdateModelViewResult message. Does not implicitly {@link vertexvis.protobuf.stream.UpdateModelViewResult.verify|verify} messages.
|
|
30104
30581
|
* @function encode
|
|
30105
|
-
* @memberof vertexvis.protobuf.
|
|
30582
|
+
* @memberof vertexvis.protobuf.stream.UpdateModelViewResult
|
|
30106
30583
|
* @static
|
|
30107
|
-
* @param {vertexvis.protobuf.
|
|
30584
|
+
* @param {vertexvis.protobuf.stream.IUpdateModelViewResult} message UpdateModelViewResult message or plain object to encode
|
|
30108
30585
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
30109
30586
|
* @returns {$protobuf.Writer} Writer
|
|
30110
30587
|
*/
|
|
30111
|
-
|
|
30588
|
+
UpdateModelViewResult.encode = function encode(message, writer) {
|
|
30112
30589
|
if (!writer)
|
|
30113
30590
|
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
30591
|
return writer;
|
|
30119
30592
|
};
|
|
30120
30593
|
|
|
30121
30594
|
/**
|
|
30122
|
-
* Encodes the specified
|
|
30595
|
+
* Encodes the specified UpdateModelViewResult message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.UpdateModelViewResult.verify|verify} messages.
|
|
30123
30596
|
* @function encodeDelimited
|
|
30124
|
-
* @memberof vertexvis.protobuf.
|
|
30597
|
+
* @memberof vertexvis.protobuf.stream.UpdateModelViewResult
|
|
30125
30598
|
* @static
|
|
30126
|
-
* @param {vertexvis.protobuf.
|
|
30599
|
+
* @param {vertexvis.protobuf.stream.IUpdateModelViewResult} message UpdateModelViewResult message or plain object to encode
|
|
30127
30600
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
30128
30601
|
* @returns {$protobuf.Writer} Writer
|
|
30129
30602
|
*/
|
|
30130
|
-
|
|
30603
|
+
UpdateModelViewResult.encodeDelimited = function encodeDelimited(message, writer) {
|
|
30131
30604
|
return this.encode(message, writer).ldelim();
|
|
30132
30605
|
};
|
|
30133
30606
|
|
|
30134
30607
|
/**
|
|
30135
|
-
* Decodes
|
|
30608
|
+
* Decodes an UpdateModelViewResult message from the specified reader or buffer.
|
|
30136
30609
|
* @function decode
|
|
30137
|
-
* @memberof vertexvis.protobuf.
|
|
30610
|
+
* @memberof vertexvis.protobuf.stream.UpdateModelViewResult
|
|
30138
30611
|
* @static
|
|
30139
30612
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
30140
30613
|
* @param {number} [length] Message length if known beforehand
|
|
30141
|
-
* @returns {vertexvis.protobuf.
|
|
30614
|
+
* @returns {vertexvis.protobuf.stream.UpdateModelViewResult} UpdateModelViewResult
|
|
30142
30615
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30143
30616
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30144
30617
|
*/
|
|
30145
|
-
|
|
30618
|
+
UpdateModelViewResult.decode = function decode(reader, length) {
|
|
30146
30619
|
if (!(reader instanceof $Reader))
|
|
30147
30620
|
reader = $Reader.create(reader);
|
|
30148
|
-
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.
|
|
30621
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.UpdateModelViewResult();
|
|
30149
30622
|
while (reader.pos < end) {
|
|
30150
30623
|
let tag = reader.uint32();
|
|
30151
30624
|
switch (tag >>> 3) {
|
|
30152
|
-
case 1:
|
|
30153
|
-
message.x = reader.int32();
|
|
30154
|
-
break;
|
|
30155
|
-
case 2:
|
|
30156
|
-
message.y = reader.int32();
|
|
30157
|
-
break;
|
|
30158
30625
|
default:
|
|
30159
30626
|
reader.skipType(tag & 7);
|
|
30160
30627
|
break;
|
|
@@ -30164,9 +30631,209 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
30164
30631
|
};
|
|
30165
30632
|
|
|
30166
30633
|
/**
|
|
30167
|
-
* Decodes
|
|
30634
|
+
* Decodes an UpdateModelViewResult message from the specified reader or buffer, length delimited.
|
|
30168
30635
|
* @function decodeDelimited
|
|
30169
|
-
* @memberof vertexvis.protobuf.
|
|
30636
|
+
* @memberof vertexvis.protobuf.stream.UpdateModelViewResult
|
|
30637
|
+
* @static
|
|
30638
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
30639
|
+
* @returns {vertexvis.protobuf.stream.UpdateModelViewResult} UpdateModelViewResult
|
|
30640
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30641
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30642
|
+
*/
|
|
30643
|
+
UpdateModelViewResult.decodeDelimited = function decodeDelimited(reader) {
|
|
30644
|
+
if (!(reader instanceof $Reader))
|
|
30645
|
+
reader = new $Reader(reader);
|
|
30646
|
+
return this.decode(reader, reader.uint32());
|
|
30647
|
+
};
|
|
30648
|
+
|
|
30649
|
+
/**
|
|
30650
|
+
* Verifies an UpdateModelViewResult message.
|
|
30651
|
+
* @function verify
|
|
30652
|
+
* @memberof vertexvis.protobuf.stream.UpdateModelViewResult
|
|
30653
|
+
* @static
|
|
30654
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
30655
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
30656
|
+
*/
|
|
30657
|
+
UpdateModelViewResult.verify = function verify(message) {
|
|
30658
|
+
if (typeof message !== "object" || message === null)
|
|
30659
|
+
return "object expected";
|
|
30660
|
+
return null;
|
|
30661
|
+
};
|
|
30662
|
+
|
|
30663
|
+
/**
|
|
30664
|
+
* Creates an UpdateModelViewResult message from a plain object. Also converts values to their respective internal types.
|
|
30665
|
+
* @function fromObject
|
|
30666
|
+
* @memberof vertexvis.protobuf.stream.UpdateModelViewResult
|
|
30667
|
+
* @static
|
|
30668
|
+
* @param {Object.<string,*>} object Plain object
|
|
30669
|
+
* @returns {vertexvis.protobuf.stream.UpdateModelViewResult} UpdateModelViewResult
|
|
30670
|
+
*/
|
|
30671
|
+
UpdateModelViewResult.fromObject = function fromObject(object) {
|
|
30672
|
+
if (object instanceof $root.vertexvis.protobuf.stream.UpdateModelViewResult)
|
|
30673
|
+
return object;
|
|
30674
|
+
return new $root.vertexvis.protobuf.stream.UpdateModelViewResult();
|
|
30675
|
+
};
|
|
30676
|
+
|
|
30677
|
+
/**
|
|
30678
|
+
* Creates a plain object from an UpdateModelViewResult message. Also converts values to other types if specified.
|
|
30679
|
+
* @function toObject
|
|
30680
|
+
* @memberof vertexvis.protobuf.stream.UpdateModelViewResult
|
|
30681
|
+
* @static
|
|
30682
|
+
* @param {vertexvis.protobuf.stream.UpdateModelViewResult} message UpdateModelViewResult
|
|
30683
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
30684
|
+
* @returns {Object.<string,*>} Plain object
|
|
30685
|
+
*/
|
|
30686
|
+
UpdateModelViewResult.toObject = function toObject() {
|
|
30687
|
+
return {};
|
|
30688
|
+
};
|
|
30689
|
+
|
|
30690
|
+
/**
|
|
30691
|
+
* Converts this UpdateModelViewResult to JSON.
|
|
30692
|
+
* @function toJSON
|
|
30693
|
+
* @memberof vertexvis.protobuf.stream.UpdateModelViewResult
|
|
30694
|
+
* @instance
|
|
30695
|
+
* @returns {Object.<string,*>} JSON object
|
|
30696
|
+
*/
|
|
30697
|
+
UpdateModelViewResult.prototype.toJSON = function toJSON() {
|
|
30698
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
30699
|
+
};
|
|
30700
|
+
|
|
30701
|
+
return UpdateModelViewResult;
|
|
30702
|
+
})();
|
|
30703
|
+
|
|
30704
|
+
return stream;
|
|
30705
|
+
})();
|
|
30706
|
+
|
|
30707
|
+
protobuf.core = (function() {
|
|
30708
|
+
|
|
30709
|
+
/**
|
|
30710
|
+
* Namespace core.
|
|
30711
|
+
* @memberof vertexvis.protobuf
|
|
30712
|
+
* @namespace
|
|
30713
|
+
*/
|
|
30714
|
+
const core = {};
|
|
30715
|
+
|
|
30716
|
+
core.Vector2i = (function() {
|
|
30717
|
+
|
|
30718
|
+
/**
|
|
30719
|
+
* Properties of a Vector2i.
|
|
30720
|
+
* @memberof vertexvis.protobuf.core
|
|
30721
|
+
* @interface IVector2i
|
|
30722
|
+
* @property {number|null} [x] Vector2i x
|
|
30723
|
+
* @property {number|null} [y] Vector2i y
|
|
30724
|
+
*/
|
|
30725
|
+
|
|
30726
|
+
/**
|
|
30727
|
+
* Constructs a new Vector2i.
|
|
30728
|
+
* @memberof vertexvis.protobuf.core
|
|
30729
|
+
* @classdesc Represents a Vector2i.
|
|
30730
|
+
* @implements IVector2i
|
|
30731
|
+
* @constructor
|
|
30732
|
+
* @param {vertexvis.protobuf.core.IVector2i=} [properties] Properties to set
|
|
30733
|
+
*/
|
|
30734
|
+
function Vector2i(properties) {
|
|
30735
|
+
if (properties)
|
|
30736
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
30737
|
+
if (properties[keys[i]] != null)
|
|
30738
|
+
this[keys[i]] = properties[keys[i]];
|
|
30739
|
+
}
|
|
30740
|
+
|
|
30741
|
+
/**
|
|
30742
|
+
* Vector2i x.
|
|
30743
|
+
* @member {number} x
|
|
30744
|
+
* @memberof vertexvis.protobuf.core.Vector2i
|
|
30745
|
+
* @instance
|
|
30746
|
+
*/
|
|
30747
|
+
Vector2i.prototype.x = 0;
|
|
30748
|
+
|
|
30749
|
+
/**
|
|
30750
|
+
* Vector2i y.
|
|
30751
|
+
* @member {number} y
|
|
30752
|
+
* @memberof vertexvis.protobuf.core.Vector2i
|
|
30753
|
+
* @instance
|
|
30754
|
+
*/
|
|
30755
|
+
Vector2i.prototype.y = 0;
|
|
30756
|
+
|
|
30757
|
+
/**
|
|
30758
|
+
* Creates a new Vector2i instance using the specified properties.
|
|
30759
|
+
* @function create
|
|
30760
|
+
* @memberof vertexvis.protobuf.core.Vector2i
|
|
30761
|
+
* @static
|
|
30762
|
+
* @param {vertexvis.protobuf.core.IVector2i=} [properties] Properties to set
|
|
30763
|
+
* @returns {vertexvis.protobuf.core.Vector2i} Vector2i instance
|
|
30764
|
+
*/
|
|
30765
|
+
Vector2i.create = function create(properties) {
|
|
30766
|
+
return new Vector2i(properties);
|
|
30767
|
+
};
|
|
30768
|
+
|
|
30769
|
+
/**
|
|
30770
|
+
* Encodes the specified Vector2i message. Does not implicitly {@link vertexvis.protobuf.core.Vector2i.verify|verify} messages.
|
|
30771
|
+
* @function encode
|
|
30772
|
+
* @memberof vertexvis.protobuf.core.Vector2i
|
|
30773
|
+
* @static
|
|
30774
|
+
* @param {vertexvis.protobuf.core.IVector2i} message Vector2i message or plain object to encode
|
|
30775
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
30776
|
+
* @returns {$protobuf.Writer} Writer
|
|
30777
|
+
*/
|
|
30778
|
+
Vector2i.encode = function encode(message, writer) {
|
|
30779
|
+
if (!writer)
|
|
30780
|
+
writer = $Writer.create();
|
|
30781
|
+
if (message.x != null && Object.hasOwnProperty.call(message, "x"))
|
|
30782
|
+
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.x);
|
|
30783
|
+
if (message.y != null && Object.hasOwnProperty.call(message, "y"))
|
|
30784
|
+
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.y);
|
|
30785
|
+
return writer;
|
|
30786
|
+
};
|
|
30787
|
+
|
|
30788
|
+
/**
|
|
30789
|
+
* Encodes the specified Vector2i message, length delimited. Does not implicitly {@link vertexvis.protobuf.core.Vector2i.verify|verify} messages.
|
|
30790
|
+
* @function encodeDelimited
|
|
30791
|
+
* @memberof vertexvis.protobuf.core.Vector2i
|
|
30792
|
+
* @static
|
|
30793
|
+
* @param {vertexvis.protobuf.core.IVector2i} message Vector2i message or plain object to encode
|
|
30794
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
30795
|
+
* @returns {$protobuf.Writer} Writer
|
|
30796
|
+
*/
|
|
30797
|
+
Vector2i.encodeDelimited = function encodeDelimited(message, writer) {
|
|
30798
|
+
return this.encode(message, writer).ldelim();
|
|
30799
|
+
};
|
|
30800
|
+
|
|
30801
|
+
/**
|
|
30802
|
+
* Decodes a Vector2i message from the specified reader or buffer.
|
|
30803
|
+
* @function decode
|
|
30804
|
+
* @memberof vertexvis.protobuf.core.Vector2i
|
|
30805
|
+
* @static
|
|
30806
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
30807
|
+
* @param {number} [length] Message length if known beforehand
|
|
30808
|
+
* @returns {vertexvis.protobuf.core.Vector2i} Vector2i
|
|
30809
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30810
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30811
|
+
*/
|
|
30812
|
+
Vector2i.decode = function decode(reader, length) {
|
|
30813
|
+
if (!(reader instanceof $Reader))
|
|
30814
|
+
reader = $Reader.create(reader);
|
|
30815
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.core.Vector2i();
|
|
30816
|
+
while (reader.pos < end) {
|
|
30817
|
+
let tag = reader.uint32();
|
|
30818
|
+
switch (tag >>> 3) {
|
|
30819
|
+
case 1:
|
|
30820
|
+
message.x = reader.int32();
|
|
30821
|
+
break;
|
|
30822
|
+
case 2:
|
|
30823
|
+
message.y = reader.int32();
|
|
30824
|
+
break;
|
|
30825
|
+
default:
|
|
30826
|
+
reader.skipType(tag & 7);
|
|
30827
|
+
break;
|
|
30828
|
+
}
|
|
30829
|
+
}
|
|
30830
|
+
return message;
|
|
30831
|
+
};
|
|
30832
|
+
|
|
30833
|
+
/**
|
|
30834
|
+
* Decodes a Vector2i message from the specified reader or buffer, length delimited.
|
|
30835
|
+
* @function decodeDelimited
|
|
30836
|
+
* @memberof vertexvis.protobuf.core.Vector2i
|
|
30170
30837
|
* @static
|
|
30171
30838
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
30172
30839
|
* @returns {vertexvis.protobuf.core.Vector2i} Vector2i
|
|
@@ -37535,27 +38202,27 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
37535
38202
|
return Uuid2l;
|
|
37536
38203
|
})();
|
|
37537
38204
|
|
|
37538
|
-
core.
|
|
38205
|
+
core.UuidArray = (function() {
|
|
37539
38206
|
|
|
37540
38207
|
/**
|
|
37541
|
-
* Properties of
|
|
38208
|
+
* Properties of an UuidArray.
|
|
37542
38209
|
* @memberof vertexvis.protobuf.core
|
|
37543
|
-
* @interface
|
|
37544
|
-
* @property {number|null} [
|
|
37545
|
-
* @property {number|null} [
|
|
37546
|
-
* @property {number|null} [b] RGBAi b
|
|
37547
|
-
* @property {number|null} [a] RGBAi a
|
|
38210
|
+
* @interface IUuidArray
|
|
38211
|
+
* @property {Array.<number|Long>|null} [msbs] UuidArray msbs
|
|
38212
|
+
* @property {Array.<number|Long>|null} [lsbs] UuidArray lsbs
|
|
37548
38213
|
*/
|
|
37549
38214
|
|
|
37550
38215
|
/**
|
|
37551
|
-
* Constructs a new
|
|
38216
|
+
* Constructs a new UuidArray.
|
|
37552
38217
|
* @memberof vertexvis.protobuf.core
|
|
37553
|
-
* @classdesc Represents
|
|
37554
|
-
* @implements
|
|
38218
|
+
* @classdesc Represents an UuidArray.
|
|
38219
|
+
* @implements IUuidArray
|
|
37555
38220
|
* @constructor
|
|
37556
|
-
* @param {vertexvis.protobuf.core.
|
|
38221
|
+
* @param {vertexvis.protobuf.core.IUuidArray=} [properties] Properties to set
|
|
37557
38222
|
*/
|
|
37558
|
-
function
|
|
38223
|
+
function UuidArray(properties) {
|
|
38224
|
+
this.msbs = [];
|
|
38225
|
+
this.lsbs = [];
|
|
37559
38226
|
if (properties)
|
|
37560
38227
|
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
37561
38228
|
if (properties[keys[i]] != null)
|
|
@@ -37563,109 +38230,387 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
37563
38230
|
}
|
|
37564
38231
|
|
|
37565
38232
|
/**
|
|
37566
|
-
*
|
|
37567
|
-
* @member {number}
|
|
37568
|
-
* @memberof vertexvis.protobuf.core.
|
|
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
|
|
38233
|
+
* UuidArray msbs.
|
|
38234
|
+
* @member {Array.<number|Long>} msbs
|
|
38235
|
+
* @memberof vertexvis.protobuf.core.UuidArray
|
|
37585
38236
|
* @instance
|
|
37586
38237
|
*/
|
|
37587
|
-
|
|
38238
|
+
UuidArray.prototype.msbs = $util.emptyArray;
|
|
37588
38239
|
|
|
37589
38240
|
/**
|
|
37590
|
-
*
|
|
37591
|
-
* @member {number}
|
|
37592
|
-
* @memberof vertexvis.protobuf.core.
|
|
38241
|
+
* UuidArray lsbs.
|
|
38242
|
+
* @member {Array.<number|Long>} lsbs
|
|
38243
|
+
* @memberof vertexvis.protobuf.core.UuidArray
|
|
37593
38244
|
* @instance
|
|
37594
38245
|
*/
|
|
37595
|
-
|
|
38246
|
+
UuidArray.prototype.lsbs = $util.emptyArray;
|
|
37596
38247
|
|
|
37597
38248
|
/**
|
|
37598
|
-
* Creates a new
|
|
38249
|
+
* Creates a new UuidArray instance using the specified properties.
|
|
37599
38250
|
* @function create
|
|
37600
|
-
* @memberof vertexvis.protobuf.core.
|
|
38251
|
+
* @memberof vertexvis.protobuf.core.UuidArray
|
|
37601
38252
|
* @static
|
|
37602
|
-
* @param {vertexvis.protobuf.core.
|
|
37603
|
-
* @returns {vertexvis.protobuf.core.
|
|
38253
|
+
* @param {vertexvis.protobuf.core.IUuidArray=} [properties] Properties to set
|
|
38254
|
+
* @returns {vertexvis.protobuf.core.UuidArray} UuidArray instance
|
|
37604
38255
|
*/
|
|
37605
|
-
|
|
37606
|
-
return new
|
|
38256
|
+
UuidArray.create = function create(properties) {
|
|
38257
|
+
return new UuidArray(properties);
|
|
37607
38258
|
};
|
|
37608
38259
|
|
|
37609
38260
|
/**
|
|
37610
|
-
* Encodes the specified
|
|
38261
|
+
* Encodes the specified UuidArray message. Does not implicitly {@link vertexvis.protobuf.core.UuidArray.verify|verify} messages.
|
|
37611
38262
|
* @function encode
|
|
37612
|
-
* @memberof vertexvis.protobuf.core.
|
|
38263
|
+
* @memberof vertexvis.protobuf.core.UuidArray
|
|
37613
38264
|
* @static
|
|
37614
|
-
* @param {vertexvis.protobuf.core.
|
|
38265
|
+
* @param {vertexvis.protobuf.core.IUuidArray} message UuidArray message or plain object to encode
|
|
37615
38266
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
37616
38267
|
* @returns {$protobuf.Writer} Writer
|
|
37617
38268
|
*/
|
|
37618
|
-
|
|
38269
|
+
UuidArray.encode = function encode(message, writer) {
|
|
37619
38270
|
if (!writer)
|
|
37620
38271
|
writer = $Writer.create();
|
|
37621
|
-
if (message.
|
|
37622
|
-
writer.uint32(/* id 1, wireType
|
|
37623
|
-
|
|
37624
|
-
|
|
37625
|
-
|
|
37626
|
-
|
|
37627
|
-
if (message.
|
|
37628
|
-
writer.uint32(/* id
|
|
38272
|
+
if (message.msbs != null && message.msbs.length) {
|
|
38273
|
+
writer.uint32(/* id 1, wireType 2 =*/10).fork();
|
|
38274
|
+
for (let i = 0; i < message.msbs.length; ++i)
|
|
38275
|
+
writer.sfixed64(message.msbs[i]);
|
|
38276
|
+
writer.ldelim();
|
|
38277
|
+
}
|
|
38278
|
+
if (message.lsbs != null && message.lsbs.length) {
|
|
38279
|
+
writer.uint32(/* id 2, wireType 2 =*/18).fork();
|
|
38280
|
+
for (let i = 0; i < message.lsbs.length; ++i)
|
|
38281
|
+
writer.sfixed64(message.lsbs[i]);
|
|
38282
|
+
writer.ldelim();
|
|
38283
|
+
}
|
|
37629
38284
|
return writer;
|
|
37630
38285
|
};
|
|
37631
38286
|
|
|
37632
38287
|
/**
|
|
37633
|
-
* Encodes the specified
|
|
38288
|
+
* Encodes the specified UuidArray message, length delimited. Does not implicitly {@link vertexvis.protobuf.core.UuidArray.verify|verify} messages.
|
|
37634
38289
|
* @function encodeDelimited
|
|
37635
|
-
* @memberof vertexvis.protobuf.core.
|
|
38290
|
+
* @memberof vertexvis.protobuf.core.UuidArray
|
|
37636
38291
|
* @static
|
|
37637
|
-
* @param {vertexvis.protobuf.core.
|
|
38292
|
+
* @param {vertexvis.protobuf.core.IUuidArray} message UuidArray message or plain object to encode
|
|
37638
38293
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
37639
38294
|
* @returns {$protobuf.Writer} Writer
|
|
37640
38295
|
*/
|
|
37641
|
-
|
|
38296
|
+
UuidArray.encodeDelimited = function encodeDelimited(message, writer) {
|
|
37642
38297
|
return this.encode(message, writer).ldelim();
|
|
37643
38298
|
};
|
|
37644
38299
|
|
|
37645
38300
|
/**
|
|
37646
|
-
* Decodes
|
|
38301
|
+
* Decodes an UuidArray message from the specified reader or buffer.
|
|
37647
38302
|
* @function decode
|
|
37648
|
-
* @memberof vertexvis.protobuf.core.
|
|
38303
|
+
* @memberof vertexvis.protobuf.core.UuidArray
|
|
37649
38304
|
* @static
|
|
37650
38305
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
37651
38306
|
* @param {number} [length] Message length if known beforehand
|
|
37652
|
-
* @returns {vertexvis.protobuf.core.
|
|
38307
|
+
* @returns {vertexvis.protobuf.core.UuidArray} UuidArray
|
|
37653
38308
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37654
38309
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37655
38310
|
*/
|
|
37656
|
-
|
|
38311
|
+
UuidArray.decode = function decode(reader, length) {
|
|
37657
38312
|
if (!(reader instanceof $Reader))
|
|
37658
38313
|
reader = $Reader.create(reader);
|
|
37659
|
-
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.core.
|
|
38314
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.core.UuidArray();
|
|
37660
38315
|
while (reader.pos < end) {
|
|
37661
38316
|
let tag = reader.uint32();
|
|
37662
38317
|
switch (tag >>> 3) {
|
|
37663
38318
|
case 1:
|
|
37664
|
-
message.
|
|
38319
|
+
if (!(message.msbs && message.msbs.length))
|
|
38320
|
+
message.msbs = [];
|
|
38321
|
+
if ((tag & 7) === 2) {
|
|
38322
|
+
let end2 = reader.uint32() + reader.pos;
|
|
38323
|
+
while (reader.pos < end2)
|
|
38324
|
+
message.msbs.push(reader.sfixed64());
|
|
38325
|
+
} else
|
|
38326
|
+
message.msbs.push(reader.sfixed64());
|
|
37665
38327
|
break;
|
|
37666
38328
|
case 2:
|
|
37667
|
-
message.
|
|
37668
|
-
|
|
38329
|
+
if (!(message.lsbs && message.lsbs.length))
|
|
38330
|
+
message.lsbs = [];
|
|
38331
|
+
if ((tag & 7) === 2) {
|
|
38332
|
+
let end2 = reader.uint32() + reader.pos;
|
|
38333
|
+
while (reader.pos < end2)
|
|
38334
|
+
message.lsbs.push(reader.sfixed64());
|
|
38335
|
+
} else
|
|
38336
|
+
message.lsbs.push(reader.sfixed64());
|
|
38337
|
+
break;
|
|
38338
|
+
default:
|
|
38339
|
+
reader.skipType(tag & 7);
|
|
38340
|
+
break;
|
|
38341
|
+
}
|
|
38342
|
+
}
|
|
38343
|
+
return message;
|
|
38344
|
+
};
|
|
38345
|
+
|
|
38346
|
+
/**
|
|
38347
|
+
* Decodes an UuidArray message from the specified reader or buffer, length delimited.
|
|
38348
|
+
* @function decodeDelimited
|
|
38349
|
+
* @memberof vertexvis.protobuf.core.UuidArray
|
|
38350
|
+
* @static
|
|
38351
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
38352
|
+
* @returns {vertexvis.protobuf.core.UuidArray} UuidArray
|
|
38353
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
38354
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
38355
|
+
*/
|
|
38356
|
+
UuidArray.decodeDelimited = function decodeDelimited(reader) {
|
|
38357
|
+
if (!(reader instanceof $Reader))
|
|
38358
|
+
reader = new $Reader(reader);
|
|
38359
|
+
return this.decode(reader, reader.uint32());
|
|
38360
|
+
};
|
|
38361
|
+
|
|
38362
|
+
/**
|
|
38363
|
+
* Verifies an UuidArray message.
|
|
38364
|
+
* @function verify
|
|
38365
|
+
* @memberof vertexvis.protobuf.core.UuidArray
|
|
38366
|
+
* @static
|
|
38367
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
38368
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
38369
|
+
*/
|
|
38370
|
+
UuidArray.verify = function verify(message) {
|
|
38371
|
+
if (typeof message !== "object" || message === null)
|
|
38372
|
+
return "object expected";
|
|
38373
|
+
if (message.msbs != null && message.hasOwnProperty("msbs")) {
|
|
38374
|
+
if (!Array.isArray(message.msbs))
|
|
38375
|
+
return "msbs: array expected";
|
|
38376
|
+
for (let i = 0; i < message.msbs.length; ++i)
|
|
38377
|
+
if (!$util.isInteger(message.msbs[i]) && !(message.msbs[i] && $util.isInteger(message.msbs[i].low) && $util.isInteger(message.msbs[i].high)))
|
|
38378
|
+
return "msbs: integer|Long[] expected";
|
|
38379
|
+
}
|
|
38380
|
+
if (message.lsbs != null && message.hasOwnProperty("lsbs")) {
|
|
38381
|
+
if (!Array.isArray(message.lsbs))
|
|
38382
|
+
return "lsbs: array expected";
|
|
38383
|
+
for (let i = 0; i < message.lsbs.length; ++i)
|
|
38384
|
+
if (!$util.isInteger(message.lsbs[i]) && !(message.lsbs[i] && $util.isInteger(message.lsbs[i].low) && $util.isInteger(message.lsbs[i].high)))
|
|
38385
|
+
return "lsbs: integer|Long[] expected";
|
|
38386
|
+
}
|
|
38387
|
+
return null;
|
|
38388
|
+
};
|
|
38389
|
+
|
|
38390
|
+
/**
|
|
38391
|
+
* Creates an UuidArray message from a plain object. Also converts values to their respective internal types.
|
|
38392
|
+
* @function fromObject
|
|
38393
|
+
* @memberof vertexvis.protobuf.core.UuidArray
|
|
38394
|
+
* @static
|
|
38395
|
+
* @param {Object.<string,*>} object Plain object
|
|
38396
|
+
* @returns {vertexvis.protobuf.core.UuidArray} UuidArray
|
|
38397
|
+
*/
|
|
38398
|
+
UuidArray.fromObject = function fromObject(object) {
|
|
38399
|
+
if (object instanceof $root.vertexvis.protobuf.core.UuidArray)
|
|
38400
|
+
return object;
|
|
38401
|
+
let message = new $root.vertexvis.protobuf.core.UuidArray();
|
|
38402
|
+
if (object.msbs) {
|
|
38403
|
+
if (!Array.isArray(object.msbs))
|
|
38404
|
+
throw TypeError(".vertexvis.protobuf.core.UuidArray.msbs: array expected");
|
|
38405
|
+
message.msbs = [];
|
|
38406
|
+
for (let i = 0; i < object.msbs.length; ++i)
|
|
38407
|
+
if ($util.Long)
|
|
38408
|
+
(message.msbs[i] = $util.Long.fromValue(object.msbs[i])).unsigned = false;
|
|
38409
|
+
else if (typeof object.msbs[i] === "string")
|
|
38410
|
+
message.msbs[i] = parseInt(object.msbs[i], 10);
|
|
38411
|
+
else if (typeof object.msbs[i] === "number")
|
|
38412
|
+
message.msbs[i] = object.msbs[i];
|
|
38413
|
+
else if (typeof object.msbs[i] === "object")
|
|
38414
|
+
message.msbs[i] = new $util.LongBits(object.msbs[i].low >>> 0, object.msbs[i].high >>> 0).toNumber();
|
|
38415
|
+
}
|
|
38416
|
+
if (object.lsbs) {
|
|
38417
|
+
if (!Array.isArray(object.lsbs))
|
|
38418
|
+
throw TypeError(".vertexvis.protobuf.core.UuidArray.lsbs: array expected");
|
|
38419
|
+
message.lsbs = [];
|
|
38420
|
+
for (let i = 0; i < object.lsbs.length; ++i)
|
|
38421
|
+
if ($util.Long)
|
|
38422
|
+
(message.lsbs[i] = $util.Long.fromValue(object.lsbs[i])).unsigned = false;
|
|
38423
|
+
else if (typeof object.lsbs[i] === "string")
|
|
38424
|
+
message.lsbs[i] = parseInt(object.lsbs[i], 10);
|
|
38425
|
+
else if (typeof object.lsbs[i] === "number")
|
|
38426
|
+
message.lsbs[i] = object.lsbs[i];
|
|
38427
|
+
else if (typeof object.lsbs[i] === "object")
|
|
38428
|
+
message.lsbs[i] = new $util.LongBits(object.lsbs[i].low >>> 0, object.lsbs[i].high >>> 0).toNumber();
|
|
38429
|
+
}
|
|
38430
|
+
return message;
|
|
38431
|
+
};
|
|
38432
|
+
|
|
38433
|
+
/**
|
|
38434
|
+
* Creates a plain object from an UuidArray message. Also converts values to other types if specified.
|
|
38435
|
+
* @function toObject
|
|
38436
|
+
* @memberof vertexvis.protobuf.core.UuidArray
|
|
38437
|
+
* @static
|
|
38438
|
+
* @param {vertexvis.protobuf.core.UuidArray} message UuidArray
|
|
38439
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
38440
|
+
* @returns {Object.<string,*>} Plain object
|
|
38441
|
+
*/
|
|
38442
|
+
UuidArray.toObject = function toObject(message, options) {
|
|
38443
|
+
if (!options)
|
|
38444
|
+
options = {};
|
|
38445
|
+
let object = {};
|
|
38446
|
+
if (options.arrays || options.defaults) {
|
|
38447
|
+
object.msbs = [];
|
|
38448
|
+
object.lsbs = [];
|
|
38449
|
+
}
|
|
38450
|
+
if (message.msbs && message.msbs.length) {
|
|
38451
|
+
object.msbs = [];
|
|
38452
|
+
for (let j = 0; j < message.msbs.length; ++j)
|
|
38453
|
+
if (typeof message.msbs[j] === "number")
|
|
38454
|
+
object.msbs[j] = options.longs === String ? String(message.msbs[j]) : message.msbs[j];
|
|
38455
|
+
else
|
|
38456
|
+
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];
|
|
38457
|
+
}
|
|
38458
|
+
if (message.lsbs && message.lsbs.length) {
|
|
38459
|
+
object.lsbs = [];
|
|
38460
|
+
for (let j = 0; j < message.lsbs.length; ++j)
|
|
38461
|
+
if (typeof message.lsbs[j] === "number")
|
|
38462
|
+
object.lsbs[j] = options.longs === String ? String(message.lsbs[j]) : message.lsbs[j];
|
|
38463
|
+
else
|
|
38464
|
+
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];
|
|
38465
|
+
}
|
|
38466
|
+
return object;
|
|
38467
|
+
};
|
|
38468
|
+
|
|
38469
|
+
/**
|
|
38470
|
+
* Converts this UuidArray to JSON.
|
|
38471
|
+
* @function toJSON
|
|
38472
|
+
* @memberof vertexvis.protobuf.core.UuidArray
|
|
38473
|
+
* @instance
|
|
38474
|
+
* @returns {Object.<string,*>} JSON object
|
|
38475
|
+
*/
|
|
38476
|
+
UuidArray.prototype.toJSON = function toJSON() {
|
|
38477
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
38478
|
+
};
|
|
38479
|
+
|
|
38480
|
+
return UuidArray;
|
|
38481
|
+
})();
|
|
38482
|
+
|
|
38483
|
+
core.RGBAi = (function() {
|
|
38484
|
+
|
|
38485
|
+
/**
|
|
38486
|
+
* Properties of a RGBAi.
|
|
38487
|
+
* @memberof vertexvis.protobuf.core
|
|
38488
|
+
* @interface IRGBAi
|
|
38489
|
+
* @property {number|null} [r] RGBAi r
|
|
38490
|
+
* @property {number|null} [g] RGBAi g
|
|
38491
|
+
* @property {number|null} [b] RGBAi b
|
|
38492
|
+
* @property {number|null} [a] RGBAi a
|
|
38493
|
+
*/
|
|
38494
|
+
|
|
38495
|
+
/**
|
|
38496
|
+
* Constructs a new RGBAi.
|
|
38497
|
+
* @memberof vertexvis.protobuf.core
|
|
38498
|
+
* @classdesc Represents a RGBAi.
|
|
38499
|
+
* @implements IRGBAi
|
|
38500
|
+
* @constructor
|
|
38501
|
+
* @param {vertexvis.protobuf.core.IRGBAi=} [properties] Properties to set
|
|
38502
|
+
*/
|
|
38503
|
+
function RGBAi(properties) {
|
|
38504
|
+
if (properties)
|
|
38505
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
38506
|
+
if (properties[keys[i]] != null)
|
|
38507
|
+
this[keys[i]] = properties[keys[i]];
|
|
38508
|
+
}
|
|
38509
|
+
|
|
38510
|
+
/**
|
|
38511
|
+
* RGBAi r.
|
|
38512
|
+
* @member {number} r
|
|
38513
|
+
* @memberof vertexvis.protobuf.core.RGBAi
|
|
38514
|
+
* @instance
|
|
38515
|
+
*/
|
|
38516
|
+
RGBAi.prototype.r = 0;
|
|
38517
|
+
|
|
38518
|
+
/**
|
|
38519
|
+
* RGBAi g.
|
|
38520
|
+
* @member {number} g
|
|
38521
|
+
* @memberof vertexvis.protobuf.core.RGBAi
|
|
38522
|
+
* @instance
|
|
38523
|
+
*/
|
|
38524
|
+
RGBAi.prototype.g = 0;
|
|
38525
|
+
|
|
38526
|
+
/**
|
|
38527
|
+
* RGBAi b.
|
|
38528
|
+
* @member {number} b
|
|
38529
|
+
* @memberof vertexvis.protobuf.core.RGBAi
|
|
38530
|
+
* @instance
|
|
38531
|
+
*/
|
|
38532
|
+
RGBAi.prototype.b = 0;
|
|
38533
|
+
|
|
38534
|
+
/**
|
|
38535
|
+
* RGBAi a.
|
|
38536
|
+
* @member {number} a
|
|
38537
|
+
* @memberof vertexvis.protobuf.core.RGBAi
|
|
38538
|
+
* @instance
|
|
38539
|
+
*/
|
|
38540
|
+
RGBAi.prototype.a = 0;
|
|
38541
|
+
|
|
38542
|
+
/**
|
|
38543
|
+
* Creates a new RGBAi instance using the specified properties.
|
|
38544
|
+
* @function create
|
|
38545
|
+
* @memberof vertexvis.protobuf.core.RGBAi
|
|
38546
|
+
* @static
|
|
38547
|
+
* @param {vertexvis.protobuf.core.IRGBAi=} [properties] Properties to set
|
|
38548
|
+
* @returns {vertexvis.protobuf.core.RGBAi} RGBAi instance
|
|
38549
|
+
*/
|
|
38550
|
+
RGBAi.create = function create(properties) {
|
|
38551
|
+
return new RGBAi(properties);
|
|
38552
|
+
};
|
|
38553
|
+
|
|
38554
|
+
/**
|
|
38555
|
+
* Encodes the specified RGBAi message. Does not implicitly {@link vertexvis.protobuf.core.RGBAi.verify|verify} messages.
|
|
38556
|
+
* @function encode
|
|
38557
|
+
* @memberof vertexvis.protobuf.core.RGBAi
|
|
38558
|
+
* @static
|
|
38559
|
+
* @param {vertexvis.protobuf.core.IRGBAi} message RGBAi message or plain object to encode
|
|
38560
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
38561
|
+
* @returns {$protobuf.Writer} Writer
|
|
38562
|
+
*/
|
|
38563
|
+
RGBAi.encode = function encode(message, writer) {
|
|
38564
|
+
if (!writer)
|
|
38565
|
+
writer = $Writer.create();
|
|
38566
|
+
if (message.r != null && Object.hasOwnProperty.call(message, "r"))
|
|
38567
|
+
writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.r);
|
|
38568
|
+
if (message.g != null && Object.hasOwnProperty.call(message, "g"))
|
|
38569
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.g);
|
|
38570
|
+
if (message.b != null && Object.hasOwnProperty.call(message, "b"))
|
|
38571
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.b);
|
|
38572
|
+
if (message.a != null && Object.hasOwnProperty.call(message, "a"))
|
|
38573
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.a);
|
|
38574
|
+
return writer;
|
|
38575
|
+
};
|
|
38576
|
+
|
|
38577
|
+
/**
|
|
38578
|
+
* Encodes the specified RGBAi message, length delimited. Does not implicitly {@link vertexvis.protobuf.core.RGBAi.verify|verify} messages.
|
|
38579
|
+
* @function encodeDelimited
|
|
38580
|
+
* @memberof vertexvis.protobuf.core.RGBAi
|
|
38581
|
+
* @static
|
|
38582
|
+
* @param {vertexvis.protobuf.core.IRGBAi} message RGBAi message or plain object to encode
|
|
38583
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
38584
|
+
* @returns {$protobuf.Writer} Writer
|
|
38585
|
+
*/
|
|
38586
|
+
RGBAi.encodeDelimited = function encodeDelimited(message, writer) {
|
|
38587
|
+
return this.encode(message, writer).ldelim();
|
|
38588
|
+
};
|
|
38589
|
+
|
|
38590
|
+
/**
|
|
38591
|
+
* Decodes a RGBAi message from the specified reader or buffer.
|
|
38592
|
+
* @function decode
|
|
38593
|
+
* @memberof vertexvis.protobuf.core.RGBAi
|
|
38594
|
+
* @static
|
|
38595
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
38596
|
+
* @param {number} [length] Message length if known beforehand
|
|
38597
|
+
* @returns {vertexvis.protobuf.core.RGBAi} RGBAi
|
|
38598
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
38599
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
38600
|
+
*/
|
|
38601
|
+
RGBAi.decode = function decode(reader, length) {
|
|
38602
|
+
if (!(reader instanceof $Reader))
|
|
38603
|
+
reader = $Reader.create(reader);
|
|
38604
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.core.RGBAi();
|
|
38605
|
+
while (reader.pos < end) {
|
|
38606
|
+
let tag = reader.uint32();
|
|
38607
|
+
switch (tag >>> 3) {
|
|
38608
|
+
case 1:
|
|
38609
|
+
message.r = reader.uint32();
|
|
38610
|
+
break;
|
|
38611
|
+
case 2:
|
|
38612
|
+
message.g = reader.uint32();
|
|
38613
|
+
break;
|
|
37669
38614
|
case 3:
|
|
37670
38615
|
message.b = reader.uint32();
|
|
37671
38616
|
break;
|
|
@@ -39498,15 +40443,474 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
39498
40443
|
*/
|
|
39499
40444
|
|
|
39500
40445
|
/**
|
|
39501
|
-
* Constructs a new ModelEntity.
|
|
40446
|
+
* Constructs a new ModelEntity.
|
|
40447
|
+
* @memberof vertexvis.protobuf.core
|
|
40448
|
+
* @classdesc Represents a ModelEntity.
|
|
40449
|
+
* @implements IModelEntity
|
|
40450
|
+
* @constructor
|
|
40451
|
+
* @param {vertexvis.protobuf.core.IModelEntity=} [properties] Properties to set
|
|
40452
|
+
*/
|
|
40453
|
+
function ModelEntity(properties) {
|
|
40454
|
+
this.details = [];
|
|
40455
|
+
if (properties)
|
|
40456
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
40457
|
+
if (properties[keys[i]] != null)
|
|
40458
|
+
this[keys[i]] = properties[keys[i]];
|
|
40459
|
+
}
|
|
40460
|
+
|
|
40461
|
+
/**
|
|
40462
|
+
* ModelEntity entityId.
|
|
40463
|
+
* @member {number|Long} entityId
|
|
40464
|
+
* @memberof vertexvis.protobuf.core.ModelEntity
|
|
40465
|
+
* @instance
|
|
40466
|
+
*/
|
|
40467
|
+
ModelEntity.prototype.entityId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
|
|
40468
|
+
|
|
40469
|
+
/**
|
|
40470
|
+
* ModelEntity sceneItemId.
|
|
40471
|
+
* @member {vertexvis.protobuf.core.IUuid|null|undefined} sceneItemId
|
|
40472
|
+
* @memberof vertexvis.protobuf.core.ModelEntity
|
|
40473
|
+
* @instance
|
|
40474
|
+
*/
|
|
40475
|
+
ModelEntity.prototype.sceneItemId = null;
|
|
40476
|
+
|
|
40477
|
+
/**
|
|
40478
|
+
* ModelEntity details.
|
|
40479
|
+
* @member {Array.<google.protobuf.IAny>} details
|
|
40480
|
+
* @memberof vertexvis.protobuf.core.ModelEntity
|
|
40481
|
+
* @instance
|
|
40482
|
+
*/
|
|
40483
|
+
ModelEntity.prototype.details = $util.emptyArray;
|
|
40484
|
+
|
|
40485
|
+
/**
|
|
40486
|
+
* Creates a new ModelEntity instance using the specified properties.
|
|
40487
|
+
* @function create
|
|
40488
|
+
* @memberof vertexvis.protobuf.core.ModelEntity
|
|
40489
|
+
* @static
|
|
40490
|
+
* @param {vertexvis.protobuf.core.IModelEntity=} [properties] Properties to set
|
|
40491
|
+
* @returns {vertexvis.protobuf.core.ModelEntity} ModelEntity instance
|
|
40492
|
+
*/
|
|
40493
|
+
ModelEntity.create = function create(properties) {
|
|
40494
|
+
return new ModelEntity(properties);
|
|
40495
|
+
};
|
|
40496
|
+
|
|
40497
|
+
/**
|
|
40498
|
+
* Encodes the specified ModelEntity message. Does not implicitly {@link vertexvis.protobuf.core.ModelEntity.verify|verify} messages.
|
|
40499
|
+
* @function encode
|
|
40500
|
+
* @memberof vertexvis.protobuf.core.ModelEntity
|
|
40501
|
+
* @static
|
|
40502
|
+
* @param {vertexvis.protobuf.core.IModelEntity} message ModelEntity message or plain object to encode
|
|
40503
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
40504
|
+
* @returns {$protobuf.Writer} Writer
|
|
40505
|
+
*/
|
|
40506
|
+
ModelEntity.encode = function encode(message, writer) {
|
|
40507
|
+
if (!writer)
|
|
40508
|
+
writer = $Writer.create();
|
|
40509
|
+
if (message.entityId != null && Object.hasOwnProperty.call(message, "entityId"))
|
|
40510
|
+
writer.uint32(/* id 1, wireType 0 =*/8).int64(message.entityId);
|
|
40511
|
+
if (message.sceneItemId != null && Object.hasOwnProperty.call(message, "sceneItemId"))
|
|
40512
|
+
$root.vertexvis.protobuf.core.Uuid.encode(message.sceneItemId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
40513
|
+
if (message.details != null && message.details.length)
|
|
40514
|
+
for (let i = 0; i < message.details.length; ++i)
|
|
40515
|
+
$root.google.protobuf.Any.encode(message.details[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
40516
|
+
return writer;
|
|
40517
|
+
};
|
|
40518
|
+
|
|
40519
|
+
/**
|
|
40520
|
+
* Encodes the specified ModelEntity message, length delimited. Does not implicitly {@link vertexvis.protobuf.core.ModelEntity.verify|verify} messages.
|
|
40521
|
+
* @function encodeDelimited
|
|
40522
|
+
* @memberof vertexvis.protobuf.core.ModelEntity
|
|
40523
|
+
* @static
|
|
40524
|
+
* @param {vertexvis.protobuf.core.IModelEntity} message ModelEntity message or plain object to encode
|
|
40525
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
40526
|
+
* @returns {$protobuf.Writer} Writer
|
|
40527
|
+
*/
|
|
40528
|
+
ModelEntity.encodeDelimited = function encodeDelimited(message, writer) {
|
|
40529
|
+
return this.encode(message, writer).ldelim();
|
|
40530
|
+
};
|
|
40531
|
+
|
|
40532
|
+
/**
|
|
40533
|
+
* Decodes a ModelEntity message from the specified reader or buffer.
|
|
40534
|
+
* @function decode
|
|
40535
|
+
* @memberof vertexvis.protobuf.core.ModelEntity
|
|
40536
|
+
* @static
|
|
40537
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
40538
|
+
* @param {number} [length] Message length if known beforehand
|
|
40539
|
+
* @returns {vertexvis.protobuf.core.ModelEntity} ModelEntity
|
|
40540
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
40541
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
40542
|
+
*/
|
|
40543
|
+
ModelEntity.decode = function decode(reader, length) {
|
|
40544
|
+
if (!(reader instanceof $Reader))
|
|
40545
|
+
reader = $Reader.create(reader);
|
|
40546
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.core.ModelEntity();
|
|
40547
|
+
while (reader.pos < end) {
|
|
40548
|
+
let tag = reader.uint32();
|
|
40549
|
+
switch (tag >>> 3) {
|
|
40550
|
+
case 1:
|
|
40551
|
+
message.entityId = reader.int64();
|
|
40552
|
+
break;
|
|
40553
|
+
case 2:
|
|
40554
|
+
message.sceneItemId = $root.vertexvis.protobuf.core.Uuid.decode(reader, reader.uint32());
|
|
40555
|
+
break;
|
|
40556
|
+
case 3:
|
|
40557
|
+
if (!(message.details && message.details.length))
|
|
40558
|
+
message.details = [];
|
|
40559
|
+
message.details.push($root.google.protobuf.Any.decode(reader, reader.uint32()));
|
|
40560
|
+
break;
|
|
40561
|
+
default:
|
|
40562
|
+
reader.skipType(tag & 7);
|
|
40563
|
+
break;
|
|
40564
|
+
}
|
|
40565
|
+
}
|
|
40566
|
+
return message;
|
|
40567
|
+
};
|
|
40568
|
+
|
|
40569
|
+
/**
|
|
40570
|
+
* Decodes a ModelEntity message from the specified reader or buffer, length delimited.
|
|
40571
|
+
* @function decodeDelimited
|
|
40572
|
+
* @memberof vertexvis.protobuf.core.ModelEntity
|
|
40573
|
+
* @static
|
|
40574
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
40575
|
+
* @returns {vertexvis.protobuf.core.ModelEntity} ModelEntity
|
|
40576
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
40577
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
40578
|
+
*/
|
|
40579
|
+
ModelEntity.decodeDelimited = function decodeDelimited(reader) {
|
|
40580
|
+
if (!(reader instanceof $Reader))
|
|
40581
|
+
reader = new $Reader(reader);
|
|
40582
|
+
return this.decode(reader, reader.uint32());
|
|
40583
|
+
};
|
|
40584
|
+
|
|
40585
|
+
/**
|
|
40586
|
+
* Verifies a ModelEntity message.
|
|
40587
|
+
* @function verify
|
|
40588
|
+
* @memberof vertexvis.protobuf.core.ModelEntity
|
|
40589
|
+
* @static
|
|
40590
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
40591
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
40592
|
+
*/
|
|
40593
|
+
ModelEntity.verify = function verify(message) {
|
|
40594
|
+
if (typeof message !== "object" || message === null)
|
|
40595
|
+
return "object expected";
|
|
40596
|
+
if (message.entityId != null && message.hasOwnProperty("entityId"))
|
|
40597
|
+
if (!$util.isInteger(message.entityId) && !(message.entityId && $util.isInteger(message.entityId.low) && $util.isInteger(message.entityId.high)))
|
|
40598
|
+
return "entityId: integer|Long expected";
|
|
40599
|
+
if (message.sceneItemId != null && message.hasOwnProperty("sceneItemId")) {
|
|
40600
|
+
let error = $root.vertexvis.protobuf.core.Uuid.verify(message.sceneItemId);
|
|
40601
|
+
if (error)
|
|
40602
|
+
return "sceneItemId." + error;
|
|
40603
|
+
}
|
|
40604
|
+
if (message.details != null && message.hasOwnProperty("details")) {
|
|
40605
|
+
if (!Array.isArray(message.details))
|
|
40606
|
+
return "details: array expected";
|
|
40607
|
+
for (let i = 0; i < message.details.length; ++i) {
|
|
40608
|
+
let error = $root.google.protobuf.Any.verify(message.details[i]);
|
|
40609
|
+
if (error)
|
|
40610
|
+
return "details." + error;
|
|
40611
|
+
}
|
|
40612
|
+
}
|
|
40613
|
+
return null;
|
|
40614
|
+
};
|
|
40615
|
+
|
|
40616
|
+
/**
|
|
40617
|
+
* Creates a ModelEntity message from a plain object. Also converts values to their respective internal types.
|
|
40618
|
+
* @function fromObject
|
|
40619
|
+
* @memberof vertexvis.protobuf.core.ModelEntity
|
|
40620
|
+
* @static
|
|
40621
|
+
* @param {Object.<string,*>} object Plain object
|
|
40622
|
+
* @returns {vertexvis.protobuf.core.ModelEntity} ModelEntity
|
|
40623
|
+
*/
|
|
40624
|
+
ModelEntity.fromObject = function fromObject(object) {
|
|
40625
|
+
if (object instanceof $root.vertexvis.protobuf.core.ModelEntity)
|
|
40626
|
+
return object;
|
|
40627
|
+
let message = new $root.vertexvis.protobuf.core.ModelEntity();
|
|
40628
|
+
if (object.entityId != null)
|
|
40629
|
+
if ($util.Long)
|
|
40630
|
+
(message.entityId = $util.Long.fromValue(object.entityId)).unsigned = false;
|
|
40631
|
+
else if (typeof object.entityId === "string")
|
|
40632
|
+
message.entityId = parseInt(object.entityId, 10);
|
|
40633
|
+
else if (typeof object.entityId === "number")
|
|
40634
|
+
message.entityId = object.entityId;
|
|
40635
|
+
else if (typeof object.entityId === "object")
|
|
40636
|
+
message.entityId = new $util.LongBits(object.entityId.low >>> 0, object.entityId.high >>> 0).toNumber();
|
|
40637
|
+
if (object.sceneItemId != null) {
|
|
40638
|
+
if (typeof object.sceneItemId !== "object")
|
|
40639
|
+
throw TypeError(".vertexvis.protobuf.core.ModelEntity.sceneItemId: object expected");
|
|
40640
|
+
message.sceneItemId = $root.vertexvis.protobuf.core.Uuid.fromObject(object.sceneItemId);
|
|
40641
|
+
}
|
|
40642
|
+
if (object.details) {
|
|
40643
|
+
if (!Array.isArray(object.details))
|
|
40644
|
+
throw TypeError(".vertexvis.protobuf.core.ModelEntity.details: array expected");
|
|
40645
|
+
message.details = [];
|
|
40646
|
+
for (let i = 0; i < object.details.length; ++i) {
|
|
40647
|
+
if (typeof object.details[i] !== "object")
|
|
40648
|
+
throw TypeError(".vertexvis.protobuf.core.ModelEntity.details: object expected");
|
|
40649
|
+
message.details[i] = $root.google.protobuf.Any.fromObject(object.details[i]);
|
|
40650
|
+
}
|
|
40651
|
+
}
|
|
40652
|
+
return message;
|
|
40653
|
+
};
|
|
40654
|
+
|
|
40655
|
+
/**
|
|
40656
|
+
* Creates a plain object from a ModelEntity message. Also converts values to other types if specified.
|
|
40657
|
+
* @function toObject
|
|
40658
|
+
* @memberof vertexvis.protobuf.core.ModelEntity
|
|
40659
|
+
* @static
|
|
40660
|
+
* @param {vertexvis.protobuf.core.ModelEntity} message ModelEntity
|
|
40661
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
40662
|
+
* @returns {Object.<string,*>} Plain object
|
|
40663
|
+
*/
|
|
40664
|
+
ModelEntity.toObject = function toObject(message, options) {
|
|
40665
|
+
if (!options)
|
|
40666
|
+
options = {};
|
|
40667
|
+
let object = {};
|
|
40668
|
+
if (options.arrays || options.defaults)
|
|
40669
|
+
object.details = [];
|
|
40670
|
+
if (options.defaults) {
|
|
40671
|
+
if ($util.Long) {
|
|
40672
|
+
let long = new $util.Long(0, 0, false);
|
|
40673
|
+
object.entityId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
40674
|
+
} else
|
|
40675
|
+
object.entityId = options.longs === String ? "0" : 0;
|
|
40676
|
+
object.sceneItemId = null;
|
|
40677
|
+
}
|
|
40678
|
+
if (message.entityId != null && message.hasOwnProperty("entityId"))
|
|
40679
|
+
if (typeof message.entityId === "number")
|
|
40680
|
+
object.entityId = options.longs === String ? String(message.entityId) : message.entityId;
|
|
40681
|
+
else
|
|
40682
|
+
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;
|
|
40683
|
+
if (message.sceneItemId != null && message.hasOwnProperty("sceneItemId"))
|
|
40684
|
+
object.sceneItemId = $root.vertexvis.protobuf.core.Uuid.toObject(message.sceneItemId, options);
|
|
40685
|
+
if (message.details && message.details.length) {
|
|
40686
|
+
object.details = [];
|
|
40687
|
+
for (let j = 0; j < message.details.length; ++j)
|
|
40688
|
+
object.details[j] = $root.google.protobuf.Any.toObject(message.details[j], options);
|
|
40689
|
+
}
|
|
40690
|
+
return object;
|
|
40691
|
+
};
|
|
40692
|
+
|
|
40693
|
+
/**
|
|
40694
|
+
* Converts this ModelEntity to JSON.
|
|
40695
|
+
* @function toJSON
|
|
40696
|
+
* @memberof vertexvis.protobuf.core.ModelEntity
|
|
40697
|
+
* @instance
|
|
40698
|
+
* @returns {Object.<string,*>} JSON object
|
|
40699
|
+
*/
|
|
40700
|
+
ModelEntity.prototype.toJSON = function toJSON() {
|
|
40701
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
40702
|
+
};
|
|
40703
|
+
|
|
40704
|
+
return ModelEntity;
|
|
40705
|
+
})();
|
|
40706
|
+
|
|
40707
|
+
core.Instant = (function() {
|
|
40708
|
+
|
|
40709
|
+
/**
|
|
40710
|
+
* Properties of an Instant.
|
|
40711
|
+
* @memberof vertexvis.protobuf.core
|
|
40712
|
+
* @interface IInstant
|
|
40713
|
+
* @property {string|null} [iso] Instant iso
|
|
40714
|
+
*/
|
|
40715
|
+
|
|
40716
|
+
/**
|
|
40717
|
+
* Constructs a new Instant.
|
|
40718
|
+
* @memberof vertexvis.protobuf.core
|
|
40719
|
+
* @classdesc Represents an Instant.
|
|
40720
|
+
* @implements IInstant
|
|
40721
|
+
* @constructor
|
|
40722
|
+
* @param {vertexvis.protobuf.core.IInstant=} [properties] Properties to set
|
|
40723
|
+
*/
|
|
40724
|
+
function Instant(properties) {
|
|
40725
|
+
if (properties)
|
|
40726
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
40727
|
+
if (properties[keys[i]] != null)
|
|
40728
|
+
this[keys[i]] = properties[keys[i]];
|
|
40729
|
+
}
|
|
40730
|
+
|
|
40731
|
+
/**
|
|
40732
|
+
* Instant iso.
|
|
40733
|
+
* @member {string} iso
|
|
40734
|
+
* @memberof vertexvis.protobuf.core.Instant
|
|
40735
|
+
* @instance
|
|
40736
|
+
*/
|
|
40737
|
+
Instant.prototype.iso = "";
|
|
40738
|
+
|
|
40739
|
+
/**
|
|
40740
|
+
* Creates a new Instant instance using the specified properties.
|
|
40741
|
+
* @function create
|
|
40742
|
+
* @memberof vertexvis.protobuf.core.Instant
|
|
40743
|
+
* @static
|
|
40744
|
+
* @param {vertexvis.protobuf.core.IInstant=} [properties] Properties to set
|
|
40745
|
+
* @returns {vertexvis.protobuf.core.Instant} Instant instance
|
|
40746
|
+
*/
|
|
40747
|
+
Instant.create = function create(properties) {
|
|
40748
|
+
return new Instant(properties);
|
|
40749
|
+
};
|
|
40750
|
+
|
|
40751
|
+
/**
|
|
40752
|
+
* Encodes the specified Instant message. Does not implicitly {@link vertexvis.protobuf.core.Instant.verify|verify} messages.
|
|
40753
|
+
* @function encode
|
|
40754
|
+
* @memberof vertexvis.protobuf.core.Instant
|
|
40755
|
+
* @static
|
|
40756
|
+
* @param {vertexvis.protobuf.core.IInstant} message Instant message or plain object to encode
|
|
40757
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
40758
|
+
* @returns {$protobuf.Writer} Writer
|
|
40759
|
+
*/
|
|
40760
|
+
Instant.encode = function encode(message, writer) {
|
|
40761
|
+
if (!writer)
|
|
40762
|
+
writer = $Writer.create();
|
|
40763
|
+
if (message.iso != null && Object.hasOwnProperty.call(message, "iso"))
|
|
40764
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.iso);
|
|
40765
|
+
return writer;
|
|
40766
|
+
};
|
|
40767
|
+
|
|
40768
|
+
/**
|
|
40769
|
+
* Encodes the specified Instant message, length delimited. Does not implicitly {@link vertexvis.protobuf.core.Instant.verify|verify} messages.
|
|
40770
|
+
* @function encodeDelimited
|
|
40771
|
+
* @memberof vertexvis.protobuf.core.Instant
|
|
40772
|
+
* @static
|
|
40773
|
+
* @param {vertexvis.protobuf.core.IInstant} message Instant message or plain object to encode
|
|
40774
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
40775
|
+
* @returns {$protobuf.Writer} Writer
|
|
40776
|
+
*/
|
|
40777
|
+
Instant.encodeDelimited = function encodeDelimited(message, writer) {
|
|
40778
|
+
return this.encode(message, writer).ldelim();
|
|
40779
|
+
};
|
|
40780
|
+
|
|
40781
|
+
/**
|
|
40782
|
+
* Decodes an Instant message from the specified reader or buffer.
|
|
40783
|
+
* @function decode
|
|
40784
|
+
* @memberof vertexvis.protobuf.core.Instant
|
|
40785
|
+
* @static
|
|
40786
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
40787
|
+
* @param {number} [length] Message length if known beforehand
|
|
40788
|
+
* @returns {vertexvis.protobuf.core.Instant} Instant
|
|
40789
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
40790
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
40791
|
+
*/
|
|
40792
|
+
Instant.decode = function decode(reader, length) {
|
|
40793
|
+
if (!(reader instanceof $Reader))
|
|
40794
|
+
reader = $Reader.create(reader);
|
|
40795
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.core.Instant();
|
|
40796
|
+
while (reader.pos < end) {
|
|
40797
|
+
let tag = reader.uint32();
|
|
40798
|
+
switch (tag >>> 3) {
|
|
40799
|
+
case 1:
|
|
40800
|
+
message.iso = reader.string();
|
|
40801
|
+
break;
|
|
40802
|
+
default:
|
|
40803
|
+
reader.skipType(tag & 7);
|
|
40804
|
+
break;
|
|
40805
|
+
}
|
|
40806
|
+
}
|
|
40807
|
+
return message;
|
|
40808
|
+
};
|
|
40809
|
+
|
|
40810
|
+
/**
|
|
40811
|
+
* Decodes an Instant message from the specified reader or buffer, length delimited.
|
|
40812
|
+
* @function decodeDelimited
|
|
40813
|
+
* @memberof vertexvis.protobuf.core.Instant
|
|
40814
|
+
* @static
|
|
40815
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
40816
|
+
* @returns {vertexvis.protobuf.core.Instant} Instant
|
|
40817
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
40818
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
40819
|
+
*/
|
|
40820
|
+
Instant.decodeDelimited = function decodeDelimited(reader) {
|
|
40821
|
+
if (!(reader instanceof $Reader))
|
|
40822
|
+
reader = new $Reader(reader);
|
|
40823
|
+
return this.decode(reader, reader.uint32());
|
|
40824
|
+
};
|
|
40825
|
+
|
|
40826
|
+
/**
|
|
40827
|
+
* Verifies an Instant message.
|
|
40828
|
+
* @function verify
|
|
40829
|
+
* @memberof vertexvis.protobuf.core.Instant
|
|
40830
|
+
* @static
|
|
40831
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
40832
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
40833
|
+
*/
|
|
40834
|
+
Instant.verify = function verify(message) {
|
|
40835
|
+
if (typeof message !== "object" || message === null)
|
|
40836
|
+
return "object expected";
|
|
40837
|
+
if (message.iso != null && message.hasOwnProperty("iso"))
|
|
40838
|
+
if (!$util.isString(message.iso))
|
|
40839
|
+
return "iso: string expected";
|
|
40840
|
+
return null;
|
|
40841
|
+
};
|
|
40842
|
+
|
|
40843
|
+
/**
|
|
40844
|
+
* Creates an Instant message from a plain object. Also converts values to their respective internal types.
|
|
40845
|
+
* @function fromObject
|
|
40846
|
+
* @memberof vertexvis.protobuf.core.Instant
|
|
40847
|
+
* @static
|
|
40848
|
+
* @param {Object.<string,*>} object Plain object
|
|
40849
|
+
* @returns {vertexvis.protobuf.core.Instant} Instant
|
|
40850
|
+
*/
|
|
40851
|
+
Instant.fromObject = function fromObject(object) {
|
|
40852
|
+
if (object instanceof $root.vertexvis.protobuf.core.Instant)
|
|
40853
|
+
return object;
|
|
40854
|
+
let message = new $root.vertexvis.protobuf.core.Instant();
|
|
40855
|
+
if (object.iso != null)
|
|
40856
|
+
message.iso = String(object.iso);
|
|
40857
|
+
return message;
|
|
40858
|
+
};
|
|
40859
|
+
|
|
40860
|
+
/**
|
|
40861
|
+
* Creates a plain object from an Instant message. Also converts values to other types if specified.
|
|
40862
|
+
* @function toObject
|
|
40863
|
+
* @memberof vertexvis.protobuf.core.Instant
|
|
40864
|
+
* @static
|
|
40865
|
+
* @param {vertexvis.protobuf.core.Instant} message Instant
|
|
40866
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
40867
|
+
* @returns {Object.<string,*>} Plain object
|
|
40868
|
+
*/
|
|
40869
|
+
Instant.toObject = function toObject(message, options) {
|
|
40870
|
+
if (!options)
|
|
40871
|
+
options = {};
|
|
40872
|
+
let object = {};
|
|
40873
|
+
if (options.defaults)
|
|
40874
|
+
object.iso = "";
|
|
40875
|
+
if (message.iso != null && message.hasOwnProperty("iso"))
|
|
40876
|
+
object.iso = message.iso;
|
|
40877
|
+
return object;
|
|
40878
|
+
};
|
|
40879
|
+
|
|
40880
|
+
/**
|
|
40881
|
+
* Converts this Instant to JSON.
|
|
40882
|
+
* @function toJSON
|
|
40883
|
+
* @memberof vertexvis.protobuf.core.Instant
|
|
40884
|
+
* @instance
|
|
40885
|
+
* @returns {Object.<string,*>} JSON object
|
|
40886
|
+
*/
|
|
40887
|
+
Instant.prototype.toJSON = function toJSON() {
|
|
40888
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
40889
|
+
};
|
|
40890
|
+
|
|
40891
|
+
return Instant;
|
|
40892
|
+
})();
|
|
40893
|
+
|
|
40894
|
+
core.ModelView = (function() {
|
|
40895
|
+
|
|
40896
|
+
/**
|
|
40897
|
+
* Properties of a ModelView.
|
|
40898
|
+
* @memberof vertexvis.protobuf.core
|
|
40899
|
+
* @interface IModelView
|
|
40900
|
+
* @property {vertexvis.protobuf.core.IUuid2l|null} [id] ModelView id
|
|
40901
|
+
* @property {vertexvis.protobuf.core.IUuid2l|null} [partRevisionId] ModelView partRevisionId
|
|
40902
|
+
* @property {string|null} [displayName] ModelView displayName
|
|
40903
|
+
*/
|
|
40904
|
+
|
|
40905
|
+
/**
|
|
40906
|
+
* Constructs a new ModelView.
|
|
39502
40907
|
* @memberof vertexvis.protobuf.core
|
|
39503
|
-
* @classdesc Represents a
|
|
39504
|
-
* @implements
|
|
40908
|
+
* @classdesc Represents a ModelView.
|
|
40909
|
+
* @implements IModelView
|
|
39505
40910
|
* @constructor
|
|
39506
|
-
* @param {vertexvis.protobuf.core.
|
|
40911
|
+
* @param {vertexvis.protobuf.core.IModelView=} [properties] Properties to set
|
|
39507
40912
|
*/
|
|
39508
|
-
function
|
|
39509
|
-
this.details = [];
|
|
40913
|
+
function ModelView(properties) {
|
|
39510
40914
|
if (properties)
|
|
39511
40915
|
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
39512
40916
|
if (properties[keys[i]] != null)
|
|
@@ -39514,104 +40918,101 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
39514
40918
|
}
|
|
39515
40919
|
|
|
39516
40920
|
/**
|
|
39517
|
-
*
|
|
39518
|
-
* @member {
|
|
39519
|
-
* @memberof vertexvis.protobuf.core.
|
|
40921
|
+
* ModelView id.
|
|
40922
|
+
* @member {vertexvis.protobuf.core.IUuid2l|null|undefined} id
|
|
40923
|
+
* @memberof vertexvis.protobuf.core.ModelView
|
|
39520
40924
|
* @instance
|
|
39521
40925
|
*/
|
|
39522
|
-
|
|
40926
|
+
ModelView.prototype.id = null;
|
|
39523
40927
|
|
|
39524
40928
|
/**
|
|
39525
|
-
*
|
|
39526
|
-
* @member {vertexvis.protobuf.core.
|
|
39527
|
-
* @memberof vertexvis.protobuf.core.
|
|
40929
|
+
* ModelView partRevisionId.
|
|
40930
|
+
* @member {vertexvis.protobuf.core.IUuid2l|null|undefined} partRevisionId
|
|
40931
|
+
* @memberof vertexvis.protobuf.core.ModelView
|
|
39528
40932
|
* @instance
|
|
39529
40933
|
*/
|
|
39530
|
-
|
|
40934
|
+
ModelView.prototype.partRevisionId = null;
|
|
39531
40935
|
|
|
39532
40936
|
/**
|
|
39533
|
-
*
|
|
39534
|
-
* @member {
|
|
39535
|
-
* @memberof vertexvis.protobuf.core.
|
|
40937
|
+
* ModelView displayName.
|
|
40938
|
+
* @member {string} displayName
|
|
40939
|
+
* @memberof vertexvis.protobuf.core.ModelView
|
|
39536
40940
|
* @instance
|
|
39537
40941
|
*/
|
|
39538
|
-
|
|
40942
|
+
ModelView.prototype.displayName = "";
|
|
39539
40943
|
|
|
39540
40944
|
/**
|
|
39541
|
-
* Creates a new
|
|
40945
|
+
* Creates a new ModelView instance using the specified properties.
|
|
39542
40946
|
* @function create
|
|
39543
|
-
* @memberof vertexvis.protobuf.core.
|
|
40947
|
+
* @memberof vertexvis.protobuf.core.ModelView
|
|
39544
40948
|
* @static
|
|
39545
|
-
* @param {vertexvis.protobuf.core.
|
|
39546
|
-
* @returns {vertexvis.protobuf.core.
|
|
40949
|
+
* @param {vertexvis.protobuf.core.IModelView=} [properties] Properties to set
|
|
40950
|
+
* @returns {vertexvis.protobuf.core.ModelView} ModelView instance
|
|
39547
40951
|
*/
|
|
39548
|
-
|
|
39549
|
-
return new
|
|
40952
|
+
ModelView.create = function create(properties) {
|
|
40953
|
+
return new ModelView(properties);
|
|
39550
40954
|
};
|
|
39551
40955
|
|
|
39552
40956
|
/**
|
|
39553
|
-
* Encodes the specified
|
|
40957
|
+
* Encodes the specified ModelView message. Does not implicitly {@link vertexvis.protobuf.core.ModelView.verify|verify} messages.
|
|
39554
40958
|
* @function encode
|
|
39555
|
-
* @memberof vertexvis.protobuf.core.
|
|
40959
|
+
* @memberof vertexvis.protobuf.core.ModelView
|
|
39556
40960
|
* @static
|
|
39557
|
-
* @param {vertexvis.protobuf.core.
|
|
40961
|
+
* @param {vertexvis.protobuf.core.IModelView} message ModelView message or plain object to encode
|
|
39558
40962
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
39559
40963
|
* @returns {$protobuf.Writer} Writer
|
|
39560
40964
|
*/
|
|
39561
|
-
|
|
40965
|
+
ModelView.encode = function encode(message, writer) {
|
|
39562
40966
|
if (!writer)
|
|
39563
40967
|
writer = $Writer.create();
|
|
39564
|
-
if (message.
|
|
39565
|
-
writer.uint32(/* id 1, wireType
|
|
39566
|
-
if (message.
|
|
39567
|
-
$root.vertexvis.protobuf.core.
|
|
39568
|
-
if (message.
|
|
39569
|
-
|
|
39570
|
-
$root.google.protobuf.Any.encode(message.details[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
40968
|
+
if (message.id != null && Object.hasOwnProperty.call(message, "id"))
|
|
40969
|
+
$root.vertexvis.protobuf.core.Uuid2l.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
40970
|
+
if (message.partRevisionId != null && Object.hasOwnProperty.call(message, "partRevisionId"))
|
|
40971
|
+
$root.vertexvis.protobuf.core.Uuid2l.encode(message.partRevisionId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
40972
|
+
if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName"))
|
|
40973
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.displayName);
|
|
39571
40974
|
return writer;
|
|
39572
40975
|
};
|
|
39573
40976
|
|
|
39574
40977
|
/**
|
|
39575
|
-
* Encodes the specified
|
|
40978
|
+
* Encodes the specified ModelView message, length delimited. Does not implicitly {@link vertexvis.protobuf.core.ModelView.verify|verify} messages.
|
|
39576
40979
|
* @function encodeDelimited
|
|
39577
|
-
* @memberof vertexvis.protobuf.core.
|
|
40980
|
+
* @memberof vertexvis.protobuf.core.ModelView
|
|
39578
40981
|
* @static
|
|
39579
|
-
* @param {vertexvis.protobuf.core.
|
|
40982
|
+
* @param {vertexvis.protobuf.core.IModelView} message ModelView message or plain object to encode
|
|
39580
40983
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
39581
40984
|
* @returns {$protobuf.Writer} Writer
|
|
39582
40985
|
*/
|
|
39583
|
-
|
|
40986
|
+
ModelView.encodeDelimited = function encodeDelimited(message, writer) {
|
|
39584
40987
|
return this.encode(message, writer).ldelim();
|
|
39585
40988
|
};
|
|
39586
40989
|
|
|
39587
40990
|
/**
|
|
39588
|
-
* Decodes a
|
|
40991
|
+
* Decodes a ModelView message from the specified reader or buffer.
|
|
39589
40992
|
* @function decode
|
|
39590
|
-
* @memberof vertexvis.protobuf.core.
|
|
40993
|
+
* @memberof vertexvis.protobuf.core.ModelView
|
|
39591
40994
|
* @static
|
|
39592
40995
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
39593
40996
|
* @param {number} [length] Message length if known beforehand
|
|
39594
|
-
* @returns {vertexvis.protobuf.core.
|
|
40997
|
+
* @returns {vertexvis.protobuf.core.ModelView} ModelView
|
|
39595
40998
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
39596
40999
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
39597
41000
|
*/
|
|
39598
|
-
|
|
41001
|
+
ModelView.decode = function decode(reader, length) {
|
|
39599
41002
|
if (!(reader instanceof $Reader))
|
|
39600
41003
|
reader = $Reader.create(reader);
|
|
39601
|
-
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.core.
|
|
41004
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.core.ModelView();
|
|
39602
41005
|
while (reader.pos < end) {
|
|
39603
41006
|
let tag = reader.uint32();
|
|
39604
41007
|
switch (tag >>> 3) {
|
|
39605
41008
|
case 1:
|
|
39606
|
-
message.
|
|
41009
|
+
message.id = $root.vertexvis.protobuf.core.Uuid2l.decode(reader, reader.uint32());
|
|
39607
41010
|
break;
|
|
39608
41011
|
case 2:
|
|
39609
|
-
message.
|
|
41012
|
+
message.partRevisionId = $root.vertexvis.protobuf.core.Uuid2l.decode(reader, reader.uint32());
|
|
39610
41013
|
break;
|
|
39611
41014
|
case 3:
|
|
39612
|
-
|
|
39613
|
-
message.details = [];
|
|
39614
|
-
message.details.push($root.google.protobuf.Any.decode(reader, reader.uint32()));
|
|
41015
|
+
message.displayName = reader.string();
|
|
39615
41016
|
break;
|
|
39616
41017
|
default:
|
|
39617
41018
|
reader.skipType(tag & 7);
|
|
@@ -39622,161 +41023,135 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
39622
41023
|
};
|
|
39623
41024
|
|
|
39624
41025
|
/**
|
|
39625
|
-
* Decodes a
|
|
41026
|
+
* Decodes a ModelView message from the specified reader or buffer, length delimited.
|
|
39626
41027
|
* @function decodeDelimited
|
|
39627
|
-
* @memberof vertexvis.protobuf.core.
|
|
41028
|
+
* @memberof vertexvis.protobuf.core.ModelView
|
|
39628
41029
|
* @static
|
|
39629
41030
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
39630
|
-
* @returns {vertexvis.protobuf.core.
|
|
41031
|
+
* @returns {vertexvis.protobuf.core.ModelView} ModelView
|
|
39631
41032
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
39632
41033
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
39633
41034
|
*/
|
|
39634
|
-
|
|
41035
|
+
ModelView.decodeDelimited = function decodeDelimited(reader) {
|
|
39635
41036
|
if (!(reader instanceof $Reader))
|
|
39636
41037
|
reader = new $Reader(reader);
|
|
39637
41038
|
return this.decode(reader, reader.uint32());
|
|
39638
41039
|
};
|
|
39639
41040
|
|
|
39640
41041
|
/**
|
|
39641
|
-
* Verifies a
|
|
41042
|
+
* Verifies a ModelView message.
|
|
39642
41043
|
* @function verify
|
|
39643
|
-
* @memberof vertexvis.protobuf.core.
|
|
41044
|
+
* @memberof vertexvis.protobuf.core.ModelView
|
|
39644
41045
|
* @static
|
|
39645
41046
|
* @param {Object.<string,*>} message Plain object to verify
|
|
39646
41047
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
39647
41048
|
*/
|
|
39648
|
-
|
|
41049
|
+
ModelView.verify = function verify(message) {
|
|
39649
41050
|
if (typeof message !== "object" || message === null)
|
|
39650
41051
|
return "object expected";
|
|
39651
|
-
if (message.
|
|
39652
|
-
|
|
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);
|
|
41052
|
+
if (message.id != null && message.hasOwnProperty("id")) {
|
|
41053
|
+
let error = $root.vertexvis.protobuf.core.Uuid2l.verify(message.id);
|
|
39656
41054
|
if (error)
|
|
39657
|
-
return "
|
|
41055
|
+
return "id." + error;
|
|
39658
41056
|
}
|
|
39659
|
-
if (message.
|
|
39660
|
-
|
|
39661
|
-
|
|
39662
|
-
|
|
39663
|
-
let error = $root.google.protobuf.Any.verify(message.details[i]);
|
|
39664
|
-
if (error)
|
|
39665
|
-
return "details." + error;
|
|
39666
|
-
}
|
|
41057
|
+
if (message.partRevisionId != null && message.hasOwnProperty("partRevisionId")) {
|
|
41058
|
+
let error = $root.vertexvis.protobuf.core.Uuid2l.verify(message.partRevisionId);
|
|
41059
|
+
if (error)
|
|
41060
|
+
return "partRevisionId." + error;
|
|
39667
41061
|
}
|
|
41062
|
+
if (message.displayName != null && message.hasOwnProperty("displayName"))
|
|
41063
|
+
if (!$util.isString(message.displayName))
|
|
41064
|
+
return "displayName: string expected";
|
|
39668
41065
|
return null;
|
|
39669
41066
|
};
|
|
39670
41067
|
|
|
39671
41068
|
/**
|
|
39672
|
-
* Creates a
|
|
41069
|
+
* Creates a ModelView message from a plain object. Also converts values to their respective internal types.
|
|
39673
41070
|
* @function fromObject
|
|
39674
|
-
* @memberof vertexvis.protobuf.core.
|
|
41071
|
+
* @memberof vertexvis.protobuf.core.ModelView
|
|
39675
41072
|
* @static
|
|
39676
41073
|
* @param {Object.<string,*>} object Plain object
|
|
39677
|
-
* @returns {vertexvis.protobuf.core.
|
|
41074
|
+
* @returns {vertexvis.protobuf.core.ModelView} ModelView
|
|
39678
41075
|
*/
|
|
39679
|
-
|
|
39680
|
-
if (object instanceof $root.vertexvis.protobuf.core.
|
|
41076
|
+
ModelView.fromObject = function fromObject(object) {
|
|
41077
|
+
if (object instanceof $root.vertexvis.protobuf.core.ModelView)
|
|
39681
41078
|
return object;
|
|
39682
|
-
let message = new $root.vertexvis.protobuf.core.
|
|
39683
|
-
if (object.
|
|
39684
|
-
if (
|
|
39685
|
-
(
|
|
39686
|
-
|
|
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);
|
|
41079
|
+
let message = new $root.vertexvis.protobuf.core.ModelView();
|
|
41080
|
+
if (object.id != null) {
|
|
41081
|
+
if (typeof object.id !== "object")
|
|
41082
|
+
throw TypeError(".vertexvis.protobuf.core.ModelView.id: object expected");
|
|
41083
|
+
message.id = $root.vertexvis.protobuf.core.Uuid2l.fromObject(object.id);
|
|
39696
41084
|
}
|
|
39697
|
-
if (object.
|
|
39698
|
-
if (
|
|
39699
|
-
throw TypeError(".vertexvis.protobuf.core.
|
|
39700
|
-
message.
|
|
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
|
-
}
|
|
41085
|
+
if (object.partRevisionId != null) {
|
|
41086
|
+
if (typeof object.partRevisionId !== "object")
|
|
41087
|
+
throw TypeError(".vertexvis.protobuf.core.ModelView.partRevisionId: object expected");
|
|
41088
|
+
message.partRevisionId = $root.vertexvis.protobuf.core.Uuid2l.fromObject(object.partRevisionId);
|
|
39706
41089
|
}
|
|
41090
|
+
if (object.displayName != null)
|
|
41091
|
+
message.displayName = String(object.displayName);
|
|
39707
41092
|
return message;
|
|
39708
41093
|
};
|
|
39709
41094
|
|
|
39710
41095
|
/**
|
|
39711
|
-
* Creates a plain object from a
|
|
41096
|
+
* Creates a plain object from a ModelView message. Also converts values to other types if specified.
|
|
39712
41097
|
* @function toObject
|
|
39713
|
-
* @memberof vertexvis.protobuf.core.
|
|
41098
|
+
* @memberof vertexvis.protobuf.core.ModelView
|
|
39714
41099
|
* @static
|
|
39715
|
-
* @param {vertexvis.protobuf.core.
|
|
41100
|
+
* @param {vertexvis.protobuf.core.ModelView} message ModelView
|
|
39716
41101
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
39717
41102
|
* @returns {Object.<string,*>} Plain object
|
|
39718
41103
|
*/
|
|
39719
|
-
|
|
41104
|
+
ModelView.toObject = function toObject(message, options) {
|
|
39720
41105
|
if (!options)
|
|
39721
41106
|
options = {};
|
|
39722
41107
|
let object = {};
|
|
39723
|
-
if (options.arrays || options.defaults)
|
|
39724
|
-
object.details = [];
|
|
39725
41108
|
if (options.defaults) {
|
|
39726
|
-
|
|
39727
|
-
|
|
39728
|
-
|
|
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);
|
|
41109
|
+
object.id = null;
|
|
41110
|
+
object.partRevisionId = null;
|
|
41111
|
+
object.displayName = "";
|
|
39744
41112
|
}
|
|
41113
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
41114
|
+
object.id = $root.vertexvis.protobuf.core.Uuid2l.toObject(message.id, options);
|
|
41115
|
+
if (message.partRevisionId != null && message.hasOwnProperty("partRevisionId"))
|
|
41116
|
+
object.partRevisionId = $root.vertexvis.protobuf.core.Uuid2l.toObject(message.partRevisionId, options);
|
|
41117
|
+
if (message.displayName != null && message.hasOwnProperty("displayName"))
|
|
41118
|
+
object.displayName = message.displayName;
|
|
39745
41119
|
return object;
|
|
39746
41120
|
};
|
|
39747
41121
|
|
|
39748
41122
|
/**
|
|
39749
|
-
* Converts this
|
|
41123
|
+
* Converts this ModelView to JSON.
|
|
39750
41124
|
* @function toJSON
|
|
39751
|
-
* @memberof vertexvis.protobuf.core.
|
|
41125
|
+
* @memberof vertexvis.protobuf.core.ModelView
|
|
39752
41126
|
* @instance
|
|
39753
41127
|
* @returns {Object.<string,*>} JSON object
|
|
39754
41128
|
*/
|
|
39755
|
-
|
|
41129
|
+
ModelView.prototype.toJSON = function toJSON() {
|
|
39756
41130
|
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
39757
41131
|
};
|
|
39758
41132
|
|
|
39759
|
-
return
|
|
41133
|
+
return ModelView;
|
|
39760
41134
|
})();
|
|
39761
41135
|
|
|
39762
|
-
core.
|
|
41136
|
+
core.ItemModelView = (function() {
|
|
39763
41137
|
|
|
39764
41138
|
/**
|
|
39765
|
-
* Properties of an
|
|
41139
|
+
* Properties of an ItemModelView.
|
|
39766
41140
|
* @memberof vertexvis.protobuf.core
|
|
39767
|
-
* @interface
|
|
39768
|
-
* @property {
|
|
41141
|
+
* @interface IItemModelView
|
|
41142
|
+
* @property {vertexvis.protobuf.core.IUuid2l|null} [modelViewId] ItemModelView modelViewId
|
|
41143
|
+
* @property {vertexvis.protobuf.core.IUuid2l|null} [sceneItemId] ItemModelView sceneItemId
|
|
39769
41144
|
*/
|
|
39770
41145
|
|
|
39771
41146
|
/**
|
|
39772
|
-
* Constructs a new
|
|
41147
|
+
* Constructs a new ItemModelView.
|
|
39773
41148
|
* @memberof vertexvis.protobuf.core
|
|
39774
|
-
* @classdesc Represents an
|
|
39775
|
-
* @implements
|
|
41149
|
+
* @classdesc Represents an ItemModelView.
|
|
41150
|
+
* @implements IItemModelView
|
|
39776
41151
|
* @constructor
|
|
39777
|
-
* @param {vertexvis.protobuf.core.
|
|
41152
|
+
* @param {vertexvis.protobuf.core.IItemModelView=} [properties] Properties to set
|
|
39778
41153
|
*/
|
|
39779
|
-
function
|
|
41154
|
+
function ItemModelView(properties) {
|
|
39780
41155
|
if (properties)
|
|
39781
41156
|
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
39782
41157
|
if (properties[keys[i]] != null)
|
|
@@ -39784,75 +41159,88 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
39784
41159
|
}
|
|
39785
41160
|
|
|
39786
41161
|
/**
|
|
39787
|
-
*
|
|
39788
|
-
* @member {
|
|
39789
|
-
* @memberof vertexvis.protobuf.core.
|
|
41162
|
+
* ItemModelView modelViewId.
|
|
41163
|
+
* @member {vertexvis.protobuf.core.IUuid2l|null|undefined} modelViewId
|
|
41164
|
+
* @memberof vertexvis.protobuf.core.ItemModelView
|
|
39790
41165
|
* @instance
|
|
39791
41166
|
*/
|
|
39792
|
-
|
|
41167
|
+
ItemModelView.prototype.modelViewId = null;
|
|
39793
41168
|
|
|
39794
41169
|
/**
|
|
39795
|
-
*
|
|
41170
|
+
* ItemModelView sceneItemId.
|
|
41171
|
+
* @member {vertexvis.protobuf.core.IUuid2l|null|undefined} sceneItemId
|
|
41172
|
+
* @memberof vertexvis.protobuf.core.ItemModelView
|
|
41173
|
+
* @instance
|
|
41174
|
+
*/
|
|
41175
|
+
ItemModelView.prototype.sceneItemId = null;
|
|
41176
|
+
|
|
41177
|
+
/**
|
|
41178
|
+
* Creates a new ItemModelView instance using the specified properties.
|
|
39796
41179
|
* @function create
|
|
39797
|
-
* @memberof vertexvis.protobuf.core.
|
|
41180
|
+
* @memberof vertexvis.protobuf.core.ItemModelView
|
|
39798
41181
|
* @static
|
|
39799
|
-
* @param {vertexvis.protobuf.core.
|
|
39800
|
-
* @returns {vertexvis.protobuf.core.
|
|
41182
|
+
* @param {vertexvis.protobuf.core.IItemModelView=} [properties] Properties to set
|
|
41183
|
+
* @returns {vertexvis.protobuf.core.ItemModelView} ItemModelView instance
|
|
39801
41184
|
*/
|
|
39802
|
-
|
|
39803
|
-
return new
|
|
41185
|
+
ItemModelView.create = function create(properties) {
|
|
41186
|
+
return new ItemModelView(properties);
|
|
39804
41187
|
};
|
|
39805
41188
|
|
|
39806
41189
|
/**
|
|
39807
|
-
* Encodes the specified
|
|
41190
|
+
* Encodes the specified ItemModelView message. Does not implicitly {@link vertexvis.protobuf.core.ItemModelView.verify|verify} messages.
|
|
39808
41191
|
* @function encode
|
|
39809
|
-
* @memberof vertexvis.protobuf.core.
|
|
41192
|
+
* @memberof vertexvis.protobuf.core.ItemModelView
|
|
39810
41193
|
* @static
|
|
39811
|
-
* @param {vertexvis.protobuf.core.
|
|
41194
|
+
* @param {vertexvis.protobuf.core.IItemModelView} message ItemModelView message or plain object to encode
|
|
39812
41195
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
39813
41196
|
* @returns {$protobuf.Writer} Writer
|
|
39814
41197
|
*/
|
|
39815
|
-
|
|
41198
|
+
ItemModelView.encode = function encode(message, writer) {
|
|
39816
41199
|
if (!writer)
|
|
39817
41200
|
writer = $Writer.create();
|
|
39818
|
-
if (message.
|
|
39819
|
-
writer.uint32(/* id 1, wireType 2 =*/10).
|
|
41201
|
+
if (message.modelViewId != null && Object.hasOwnProperty.call(message, "modelViewId"))
|
|
41202
|
+
$root.vertexvis.protobuf.core.Uuid2l.encode(message.modelViewId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
41203
|
+
if (message.sceneItemId != null && Object.hasOwnProperty.call(message, "sceneItemId"))
|
|
41204
|
+
$root.vertexvis.protobuf.core.Uuid2l.encode(message.sceneItemId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
39820
41205
|
return writer;
|
|
39821
41206
|
};
|
|
39822
41207
|
|
|
39823
41208
|
/**
|
|
39824
|
-
* Encodes the specified
|
|
41209
|
+
* Encodes the specified ItemModelView message, length delimited. Does not implicitly {@link vertexvis.protobuf.core.ItemModelView.verify|verify} messages.
|
|
39825
41210
|
* @function encodeDelimited
|
|
39826
|
-
* @memberof vertexvis.protobuf.core.
|
|
41211
|
+
* @memberof vertexvis.protobuf.core.ItemModelView
|
|
39827
41212
|
* @static
|
|
39828
|
-
* @param {vertexvis.protobuf.core.
|
|
41213
|
+
* @param {vertexvis.protobuf.core.IItemModelView} message ItemModelView message or plain object to encode
|
|
39829
41214
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
39830
41215
|
* @returns {$protobuf.Writer} Writer
|
|
39831
41216
|
*/
|
|
39832
|
-
|
|
41217
|
+
ItemModelView.encodeDelimited = function encodeDelimited(message, writer) {
|
|
39833
41218
|
return this.encode(message, writer).ldelim();
|
|
39834
41219
|
};
|
|
39835
41220
|
|
|
39836
41221
|
/**
|
|
39837
|
-
* Decodes an
|
|
41222
|
+
* Decodes an ItemModelView message from the specified reader or buffer.
|
|
39838
41223
|
* @function decode
|
|
39839
|
-
* @memberof vertexvis.protobuf.core.
|
|
41224
|
+
* @memberof vertexvis.protobuf.core.ItemModelView
|
|
39840
41225
|
* @static
|
|
39841
41226
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
39842
41227
|
* @param {number} [length] Message length if known beforehand
|
|
39843
|
-
* @returns {vertexvis.protobuf.core.
|
|
41228
|
+
* @returns {vertexvis.protobuf.core.ItemModelView} ItemModelView
|
|
39844
41229
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
39845
41230
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
39846
41231
|
*/
|
|
39847
|
-
|
|
41232
|
+
ItemModelView.decode = function decode(reader, length) {
|
|
39848
41233
|
if (!(reader instanceof $Reader))
|
|
39849
41234
|
reader = $Reader.create(reader);
|
|
39850
|
-
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.core.
|
|
41235
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.core.ItemModelView();
|
|
39851
41236
|
while (reader.pos < end) {
|
|
39852
41237
|
let tag = reader.uint32();
|
|
39853
41238
|
switch (tag >>> 3) {
|
|
39854
41239
|
case 1:
|
|
39855
|
-
message.
|
|
41240
|
+
message.modelViewId = $root.vertexvis.protobuf.core.Uuid2l.decode(reader, reader.uint32());
|
|
41241
|
+
break;
|
|
41242
|
+
case 2:
|
|
41243
|
+
message.sceneItemId = $root.vertexvis.protobuf.core.Uuid2l.decode(reader, reader.uint32());
|
|
39856
41244
|
break;
|
|
39857
41245
|
default:
|
|
39858
41246
|
reader.skipType(tag & 7);
|
|
@@ -39863,87 +41251,106 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
39863
41251
|
};
|
|
39864
41252
|
|
|
39865
41253
|
/**
|
|
39866
|
-
* Decodes an
|
|
41254
|
+
* Decodes an ItemModelView message from the specified reader or buffer, length delimited.
|
|
39867
41255
|
* @function decodeDelimited
|
|
39868
|
-
* @memberof vertexvis.protobuf.core.
|
|
41256
|
+
* @memberof vertexvis.protobuf.core.ItemModelView
|
|
39869
41257
|
* @static
|
|
39870
41258
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
39871
|
-
* @returns {vertexvis.protobuf.core.
|
|
41259
|
+
* @returns {vertexvis.protobuf.core.ItemModelView} ItemModelView
|
|
39872
41260
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
39873
41261
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
39874
41262
|
*/
|
|
39875
|
-
|
|
41263
|
+
ItemModelView.decodeDelimited = function decodeDelimited(reader) {
|
|
39876
41264
|
if (!(reader instanceof $Reader))
|
|
39877
41265
|
reader = new $Reader(reader);
|
|
39878
41266
|
return this.decode(reader, reader.uint32());
|
|
39879
41267
|
};
|
|
39880
41268
|
|
|
39881
41269
|
/**
|
|
39882
|
-
* Verifies an
|
|
41270
|
+
* Verifies an ItemModelView message.
|
|
39883
41271
|
* @function verify
|
|
39884
|
-
* @memberof vertexvis.protobuf.core.
|
|
41272
|
+
* @memberof vertexvis.protobuf.core.ItemModelView
|
|
39885
41273
|
* @static
|
|
39886
41274
|
* @param {Object.<string,*>} message Plain object to verify
|
|
39887
41275
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
39888
41276
|
*/
|
|
39889
|
-
|
|
41277
|
+
ItemModelView.verify = function verify(message) {
|
|
39890
41278
|
if (typeof message !== "object" || message === null)
|
|
39891
41279
|
return "object expected";
|
|
39892
|
-
if (message.
|
|
39893
|
-
|
|
39894
|
-
|
|
41280
|
+
if (message.modelViewId != null && message.hasOwnProperty("modelViewId")) {
|
|
41281
|
+
let error = $root.vertexvis.protobuf.core.Uuid2l.verify(message.modelViewId);
|
|
41282
|
+
if (error)
|
|
41283
|
+
return "modelViewId." + error;
|
|
41284
|
+
}
|
|
41285
|
+
if (message.sceneItemId != null && message.hasOwnProperty("sceneItemId")) {
|
|
41286
|
+
let error = $root.vertexvis.protobuf.core.Uuid2l.verify(message.sceneItemId);
|
|
41287
|
+
if (error)
|
|
41288
|
+
return "sceneItemId." + error;
|
|
41289
|
+
}
|
|
39895
41290
|
return null;
|
|
39896
41291
|
};
|
|
39897
41292
|
|
|
39898
41293
|
/**
|
|
39899
|
-
* Creates an
|
|
41294
|
+
* Creates an ItemModelView message from a plain object. Also converts values to their respective internal types.
|
|
39900
41295
|
* @function fromObject
|
|
39901
|
-
* @memberof vertexvis.protobuf.core.
|
|
41296
|
+
* @memberof vertexvis.protobuf.core.ItemModelView
|
|
39902
41297
|
* @static
|
|
39903
41298
|
* @param {Object.<string,*>} object Plain object
|
|
39904
|
-
* @returns {vertexvis.protobuf.core.
|
|
41299
|
+
* @returns {vertexvis.protobuf.core.ItemModelView} ItemModelView
|
|
39905
41300
|
*/
|
|
39906
|
-
|
|
39907
|
-
if (object instanceof $root.vertexvis.protobuf.core.
|
|
41301
|
+
ItemModelView.fromObject = function fromObject(object) {
|
|
41302
|
+
if (object instanceof $root.vertexvis.protobuf.core.ItemModelView)
|
|
39908
41303
|
return object;
|
|
39909
|
-
let message = new $root.vertexvis.protobuf.core.
|
|
39910
|
-
if (object.
|
|
39911
|
-
|
|
41304
|
+
let message = new $root.vertexvis.protobuf.core.ItemModelView();
|
|
41305
|
+
if (object.modelViewId != null) {
|
|
41306
|
+
if (typeof object.modelViewId !== "object")
|
|
41307
|
+
throw TypeError(".vertexvis.protobuf.core.ItemModelView.modelViewId: object expected");
|
|
41308
|
+
message.modelViewId = $root.vertexvis.protobuf.core.Uuid2l.fromObject(object.modelViewId);
|
|
41309
|
+
}
|
|
41310
|
+
if (object.sceneItemId != null) {
|
|
41311
|
+
if (typeof object.sceneItemId !== "object")
|
|
41312
|
+
throw TypeError(".vertexvis.protobuf.core.ItemModelView.sceneItemId: object expected");
|
|
41313
|
+
message.sceneItemId = $root.vertexvis.protobuf.core.Uuid2l.fromObject(object.sceneItemId);
|
|
41314
|
+
}
|
|
39912
41315
|
return message;
|
|
39913
41316
|
};
|
|
39914
41317
|
|
|
39915
41318
|
/**
|
|
39916
|
-
* Creates a plain object from an
|
|
41319
|
+
* Creates a plain object from an ItemModelView message. Also converts values to other types if specified.
|
|
39917
41320
|
* @function toObject
|
|
39918
|
-
* @memberof vertexvis.protobuf.core.
|
|
41321
|
+
* @memberof vertexvis.protobuf.core.ItemModelView
|
|
39919
41322
|
* @static
|
|
39920
|
-
* @param {vertexvis.protobuf.core.
|
|
41323
|
+
* @param {vertexvis.protobuf.core.ItemModelView} message ItemModelView
|
|
39921
41324
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
39922
41325
|
* @returns {Object.<string,*>} Plain object
|
|
39923
41326
|
*/
|
|
39924
|
-
|
|
41327
|
+
ItemModelView.toObject = function toObject(message, options) {
|
|
39925
41328
|
if (!options)
|
|
39926
41329
|
options = {};
|
|
39927
41330
|
let object = {};
|
|
39928
|
-
if (options.defaults)
|
|
39929
|
-
object.
|
|
39930
|
-
|
|
39931
|
-
|
|
41331
|
+
if (options.defaults) {
|
|
41332
|
+
object.modelViewId = null;
|
|
41333
|
+
object.sceneItemId = null;
|
|
41334
|
+
}
|
|
41335
|
+
if (message.modelViewId != null && message.hasOwnProperty("modelViewId"))
|
|
41336
|
+
object.modelViewId = $root.vertexvis.protobuf.core.Uuid2l.toObject(message.modelViewId, options);
|
|
41337
|
+
if (message.sceneItemId != null && message.hasOwnProperty("sceneItemId"))
|
|
41338
|
+
object.sceneItemId = $root.vertexvis.protobuf.core.Uuid2l.toObject(message.sceneItemId, options);
|
|
39932
41339
|
return object;
|
|
39933
41340
|
};
|
|
39934
41341
|
|
|
39935
41342
|
/**
|
|
39936
|
-
* Converts this
|
|
41343
|
+
* Converts this ItemModelView to JSON.
|
|
39937
41344
|
* @function toJSON
|
|
39938
|
-
* @memberof vertexvis.protobuf.core.
|
|
41345
|
+
* @memberof vertexvis.protobuf.core.ItemModelView
|
|
39939
41346
|
* @instance
|
|
39940
41347
|
* @returns {Object.<string,*>} JSON object
|
|
39941
41348
|
*/
|
|
39942
|
-
|
|
41349
|
+
ItemModelView.prototype.toJSON = function toJSON() {
|
|
39943
41350
|
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
39944
41351
|
};
|
|
39945
41352
|
|
|
39946
|
-
return
|
|
41353
|
+
return ItemModelView;
|
|
39947
41354
|
})();
|
|
39948
41355
|
|
|
39949
41356
|
return core;
|
|
@@ -42829,6 +44236,26 @@ var StreamApi = /** @class */ (function () {
|
|
|
42829
44236
|
if (withResponse === void 0) { withResponse = true; }
|
|
42830
44237
|
return this.sendRequest({ updateCrossSectioning: payload }, withResponse);
|
|
42831
44238
|
};
|
|
44239
|
+
/**
|
|
44240
|
+
* Sends a request to set or clear the model view of the frame.
|
|
44241
|
+
*
|
|
44242
|
+
* The payload accepts an optional `frameCorrelationId` that will be sent
|
|
44243
|
+
* back on the frame that is associated to this request. Use `onRequest` to
|
|
44244
|
+
* add a callback that'll be invoked when the server sends a request to draw
|
|
44245
|
+
* the frame.
|
|
44246
|
+
*
|
|
44247
|
+
* Use `withResponse` to indicate if the server should reply with a response.
|
|
44248
|
+
* If `false`, the returned promise will complete immediately. Otherwise,
|
|
44249
|
+
* it'll complete when a response is received.
|
|
44250
|
+
*
|
|
44251
|
+
* @param payload The payload of the request.
|
|
44252
|
+
* @param withResponse Indicates if the server should reply with a response.
|
|
44253
|
+
* Defaults to `true`.
|
|
44254
|
+
*/
|
|
44255
|
+
StreamApi.prototype.updateModelView = function (payload, withResponse) {
|
|
44256
|
+
if (withResponse === void 0) { withResponse = true; }
|
|
44257
|
+
return this.sendRequest({ updateModelView: payload }, withResponse);
|
|
44258
|
+
};
|
|
42832
44259
|
/**
|
|
42833
44260
|
* Sends a request to perform hit detection.
|
|
42834
44261
|
*
|