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