@vertexvis/stream-api 0.13.2-canary.9 → 0.14.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 +997 -13
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +997 -13
- package/dist/bundle.esm.js.map +1 -1
- package/dist/streamApi.d.ts +15 -3
- package/dist/types.d.ts +9 -0
- package/package.json +5 -5
package/dist/bundle.esm.js
CHANGED
|
@@ -8711,6 +8711,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
8711
8711
|
* @property {vertexvis.protobuf.stream.IFeatureLineAttributes|null} [featureLines] StreamAttributes featureLines
|
|
8712
8712
|
* @property {vertexvis.protobuf.stream.IFeatureHighlightAttributes|null} [featureHighlighting] StreamAttributes featureHighlighting
|
|
8713
8713
|
* @property {vertexvis.protobuf.stream.IFeatureMapAttributes|null} [featureMaps] StreamAttributes featureMaps
|
|
8714
|
+
* @property {boolean|null} [noDefaultLights] StreamAttributes noDefaultLights
|
|
8714
8715
|
*/
|
|
8715
8716
|
|
|
8716
8717
|
/**
|
|
@@ -8768,6 +8769,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
8768
8769
|
*/
|
|
8769
8770
|
StreamAttributes.prototype.featureMaps = null;
|
|
8770
8771
|
|
|
8772
|
+
/**
|
|
8773
|
+
* StreamAttributes noDefaultLights.
|
|
8774
|
+
* @member {boolean} noDefaultLights
|
|
8775
|
+
* @memberof vertexvis.protobuf.stream.StreamAttributes
|
|
8776
|
+
* @instance
|
|
8777
|
+
*/
|
|
8778
|
+
StreamAttributes.prototype.noDefaultLights = false;
|
|
8779
|
+
|
|
8771
8780
|
/**
|
|
8772
8781
|
* Creates a new StreamAttributes instance using the specified properties.
|
|
8773
8782
|
* @function create
|
|
@@ -8802,6 +8811,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
8802
8811
|
$root.vertexvis.protobuf.stream.FeatureHighlightAttributes.encode(message.featureHighlighting, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
8803
8812
|
if (message.featureMaps != null && Object.hasOwnProperty.call(message, "featureMaps"))
|
|
8804
8813
|
$root.vertexvis.protobuf.stream.FeatureMapAttributes.encode(message.featureMaps, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
8814
|
+
if (message.noDefaultLights != null && Object.hasOwnProperty.call(message, "noDefaultLights"))
|
|
8815
|
+
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.noDefaultLights);
|
|
8805
8816
|
return writer;
|
|
8806
8817
|
};
|
|
8807
8818
|
|
|
@@ -8851,6 +8862,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
8851
8862
|
case 5:
|
|
8852
8863
|
message.featureMaps = $root.vertexvis.protobuf.stream.FeatureMapAttributes.decode(reader, reader.uint32());
|
|
8853
8864
|
break;
|
|
8865
|
+
case 6:
|
|
8866
|
+
message.noDefaultLights = reader.bool();
|
|
8867
|
+
break;
|
|
8854
8868
|
default:
|
|
8855
8869
|
reader.skipType(tag & 7);
|
|
8856
8870
|
break;
|
|
@@ -8911,6 +8925,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
8911
8925
|
if (error)
|
|
8912
8926
|
return "featureMaps." + error;
|
|
8913
8927
|
}
|
|
8928
|
+
if (message.noDefaultLights != null && message.hasOwnProperty("noDefaultLights"))
|
|
8929
|
+
if (typeof message.noDefaultLights !== "boolean")
|
|
8930
|
+
return "noDefaultLights: boolean expected";
|
|
8914
8931
|
return null;
|
|
8915
8932
|
};
|
|
8916
8933
|
|
|
@@ -8951,6 +8968,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
8951
8968
|
throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.featureMaps: object expected");
|
|
8952
8969
|
message.featureMaps = $root.vertexvis.protobuf.stream.FeatureMapAttributes.fromObject(object.featureMaps);
|
|
8953
8970
|
}
|
|
8971
|
+
if (object.noDefaultLights != null)
|
|
8972
|
+
message.noDefaultLights = Boolean(object.noDefaultLights);
|
|
8954
8973
|
return message;
|
|
8955
8974
|
};
|
|
8956
8975
|
|
|
@@ -8973,6 +8992,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
8973
8992
|
object.featureLines = null;
|
|
8974
8993
|
object.featureHighlighting = null;
|
|
8975
8994
|
object.featureMaps = null;
|
|
8995
|
+
object.noDefaultLights = false;
|
|
8976
8996
|
}
|
|
8977
8997
|
if (message.experimentalGhosting != null && message.hasOwnProperty("experimentalGhosting"))
|
|
8978
8998
|
object.experimentalGhosting = $root.vertexvis.protobuf.stream.GhostingAttributes.toObject(message.experimentalGhosting, options);
|
|
@@ -8984,6 +9004,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
8984
9004
|
object.featureHighlighting = $root.vertexvis.protobuf.stream.FeatureHighlightAttributes.toObject(message.featureHighlighting, options);
|
|
8985
9005
|
if (message.featureMaps != null && message.hasOwnProperty("featureMaps"))
|
|
8986
9006
|
object.featureMaps = $root.vertexvis.protobuf.stream.FeatureMapAttributes.toObject(message.featureMaps, options);
|
|
9007
|
+
if (message.noDefaultLights != null && message.hasOwnProperty("noDefaultLights"))
|
|
9008
|
+
object.noDefaultLights = message.noDefaultLights;
|
|
8987
9009
|
return object;
|
|
8988
9010
|
};
|
|
8989
9011
|
|
|
@@ -11642,6 +11664,198 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
11642
11664
|
return Token;
|
|
11643
11665
|
})();
|
|
11644
11666
|
|
|
11667
|
+
stream.TransformInteraction = (function() {
|
|
11668
|
+
|
|
11669
|
+
/**
|
|
11670
|
+
* Properties of a TransformInteraction.
|
|
11671
|
+
* @memberof vertexvis.protobuf.stream
|
|
11672
|
+
* @interface ITransformInteraction
|
|
11673
|
+
* @property {vertexvis.protobuf.core.IAffineMatrix4f|null} [delta] TransformInteraction delta
|
|
11674
|
+
*/
|
|
11675
|
+
|
|
11676
|
+
/**
|
|
11677
|
+
* Constructs a new TransformInteraction.
|
|
11678
|
+
* @memberof vertexvis.protobuf.stream
|
|
11679
|
+
* @classdesc Represents a TransformInteraction.
|
|
11680
|
+
* @implements ITransformInteraction
|
|
11681
|
+
* @constructor
|
|
11682
|
+
* @param {vertexvis.protobuf.stream.ITransformInteraction=} [properties] Properties to set
|
|
11683
|
+
*/
|
|
11684
|
+
function TransformInteraction(properties) {
|
|
11685
|
+
if (properties)
|
|
11686
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
11687
|
+
if (properties[keys[i]] != null)
|
|
11688
|
+
this[keys[i]] = properties[keys[i]];
|
|
11689
|
+
}
|
|
11690
|
+
|
|
11691
|
+
/**
|
|
11692
|
+
* TransformInteraction delta.
|
|
11693
|
+
* @member {vertexvis.protobuf.core.IAffineMatrix4f|null|undefined} delta
|
|
11694
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11695
|
+
* @instance
|
|
11696
|
+
*/
|
|
11697
|
+
TransformInteraction.prototype.delta = null;
|
|
11698
|
+
|
|
11699
|
+
/**
|
|
11700
|
+
* Creates a new TransformInteraction instance using the specified properties.
|
|
11701
|
+
* @function create
|
|
11702
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11703
|
+
* @static
|
|
11704
|
+
* @param {vertexvis.protobuf.stream.ITransformInteraction=} [properties] Properties to set
|
|
11705
|
+
* @returns {vertexvis.protobuf.stream.TransformInteraction} TransformInteraction instance
|
|
11706
|
+
*/
|
|
11707
|
+
TransformInteraction.create = function create(properties) {
|
|
11708
|
+
return new TransformInteraction(properties);
|
|
11709
|
+
};
|
|
11710
|
+
|
|
11711
|
+
/**
|
|
11712
|
+
* Encodes the specified TransformInteraction message. Does not implicitly {@link vertexvis.protobuf.stream.TransformInteraction.verify|verify} messages.
|
|
11713
|
+
* @function encode
|
|
11714
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11715
|
+
* @static
|
|
11716
|
+
* @param {vertexvis.protobuf.stream.ITransformInteraction} message TransformInteraction message or plain object to encode
|
|
11717
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
11718
|
+
* @returns {$protobuf.Writer} Writer
|
|
11719
|
+
*/
|
|
11720
|
+
TransformInteraction.encode = function encode(message, writer) {
|
|
11721
|
+
if (!writer)
|
|
11722
|
+
writer = $Writer.create();
|
|
11723
|
+
if (message.delta != null && Object.hasOwnProperty.call(message, "delta"))
|
|
11724
|
+
$root.vertexvis.protobuf.core.AffineMatrix4f.encode(message.delta, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
11725
|
+
return writer;
|
|
11726
|
+
};
|
|
11727
|
+
|
|
11728
|
+
/**
|
|
11729
|
+
* Encodes the specified TransformInteraction message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.TransformInteraction.verify|verify} messages.
|
|
11730
|
+
* @function encodeDelimited
|
|
11731
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11732
|
+
* @static
|
|
11733
|
+
* @param {vertexvis.protobuf.stream.ITransformInteraction} message TransformInteraction message or plain object to encode
|
|
11734
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
11735
|
+
* @returns {$protobuf.Writer} Writer
|
|
11736
|
+
*/
|
|
11737
|
+
TransformInteraction.encodeDelimited = function encodeDelimited(message, writer) {
|
|
11738
|
+
return this.encode(message, writer).ldelim();
|
|
11739
|
+
};
|
|
11740
|
+
|
|
11741
|
+
/**
|
|
11742
|
+
* Decodes a TransformInteraction message from the specified reader or buffer.
|
|
11743
|
+
* @function decode
|
|
11744
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11745
|
+
* @static
|
|
11746
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
11747
|
+
* @param {number} [length] Message length if known beforehand
|
|
11748
|
+
* @returns {vertexvis.protobuf.stream.TransformInteraction} TransformInteraction
|
|
11749
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11750
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11751
|
+
*/
|
|
11752
|
+
TransformInteraction.decode = function decode(reader, length) {
|
|
11753
|
+
if (!(reader instanceof $Reader))
|
|
11754
|
+
reader = $Reader.create(reader);
|
|
11755
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.TransformInteraction();
|
|
11756
|
+
while (reader.pos < end) {
|
|
11757
|
+
let tag = reader.uint32();
|
|
11758
|
+
switch (tag >>> 3) {
|
|
11759
|
+
case 1:
|
|
11760
|
+
message.delta = $root.vertexvis.protobuf.core.AffineMatrix4f.decode(reader, reader.uint32());
|
|
11761
|
+
break;
|
|
11762
|
+
default:
|
|
11763
|
+
reader.skipType(tag & 7);
|
|
11764
|
+
break;
|
|
11765
|
+
}
|
|
11766
|
+
}
|
|
11767
|
+
return message;
|
|
11768
|
+
};
|
|
11769
|
+
|
|
11770
|
+
/**
|
|
11771
|
+
* Decodes a TransformInteraction message from the specified reader or buffer, length delimited.
|
|
11772
|
+
* @function decodeDelimited
|
|
11773
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11774
|
+
* @static
|
|
11775
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
11776
|
+
* @returns {vertexvis.protobuf.stream.TransformInteraction} TransformInteraction
|
|
11777
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11778
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11779
|
+
*/
|
|
11780
|
+
TransformInteraction.decodeDelimited = function decodeDelimited(reader) {
|
|
11781
|
+
if (!(reader instanceof $Reader))
|
|
11782
|
+
reader = new $Reader(reader);
|
|
11783
|
+
return this.decode(reader, reader.uint32());
|
|
11784
|
+
};
|
|
11785
|
+
|
|
11786
|
+
/**
|
|
11787
|
+
* Verifies a TransformInteraction message.
|
|
11788
|
+
* @function verify
|
|
11789
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11790
|
+
* @static
|
|
11791
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
11792
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
11793
|
+
*/
|
|
11794
|
+
TransformInteraction.verify = function verify(message) {
|
|
11795
|
+
if (typeof message !== "object" || message === null)
|
|
11796
|
+
return "object expected";
|
|
11797
|
+
if (message.delta != null && message.hasOwnProperty("delta")) {
|
|
11798
|
+
let error = $root.vertexvis.protobuf.core.AffineMatrix4f.verify(message.delta);
|
|
11799
|
+
if (error)
|
|
11800
|
+
return "delta." + error;
|
|
11801
|
+
}
|
|
11802
|
+
return null;
|
|
11803
|
+
};
|
|
11804
|
+
|
|
11805
|
+
/**
|
|
11806
|
+
* Creates a TransformInteraction message from a plain object. Also converts values to their respective internal types.
|
|
11807
|
+
* @function fromObject
|
|
11808
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11809
|
+
* @static
|
|
11810
|
+
* @param {Object.<string,*>} object Plain object
|
|
11811
|
+
* @returns {vertexvis.protobuf.stream.TransformInteraction} TransformInteraction
|
|
11812
|
+
*/
|
|
11813
|
+
TransformInteraction.fromObject = function fromObject(object) {
|
|
11814
|
+
if (object instanceof $root.vertexvis.protobuf.stream.TransformInteraction)
|
|
11815
|
+
return object;
|
|
11816
|
+
let message = new $root.vertexvis.protobuf.stream.TransformInteraction();
|
|
11817
|
+
if (object.delta != null) {
|
|
11818
|
+
if (typeof object.delta !== "object")
|
|
11819
|
+
throw TypeError(".vertexvis.protobuf.stream.TransformInteraction.delta: object expected");
|
|
11820
|
+
message.delta = $root.vertexvis.protobuf.core.AffineMatrix4f.fromObject(object.delta);
|
|
11821
|
+
}
|
|
11822
|
+
return message;
|
|
11823
|
+
};
|
|
11824
|
+
|
|
11825
|
+
/**
|
|
11826
|
+
* Creates a plain object from a TransformInteraction message. Also converts values to other types if specified.
|
|
11827
|
+
* @function toObject
|
|
11828
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11829
|
+
* @static
|
|
11830
|
+
* @param {vertexvis.protobuf.stream.TransformInteraction} message TransformInteraction
|
|
11831
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
11832
|
+
* @returns {Object.<string,*>} Plain object
|
|
11833
|
+
*/
|
|
11834
|
+
TransformInteraction.toObject = function toObject(message, options) {
|
|
11835
|
+
if (!options)
|
|
11836
|
+
options = {};
|
|
11837
|
+
let object = {};
|
|
11838
|
+
if (options.defaults)
|
|
11839
|
+
object.delta = null;
|
|
11840
|
+
if (message.delta != null && message.hasOwnProperty("delta"))
|
|
11841
|
+
object.delta = $root.vertexvis.protobuf.core.AffineMatrix4f.toObject(message.delta, options);
|
|
11842
|
+
return object;
|
|
11843
|
+
};
|
|
11844
|
+
|
|
11845
|
+
/**
|
|
11846
|
+
* Converts this TransformInteraction to JSON.
|
|
11847
|
+
* @function toJSON
|
|
11848
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11849
|
+
* @instance
|
|
11850
|
+
* @returns {Object.<string,*>} JSON object
|
|
11851
|
+
*/
|
|
11852
|
+
TransformInteraction.prototype.toJSON = function toJSON() {
|
|
11853
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
11854
|
+
};
|
|
11855
|
+
|
|
11856
|
+
return TransformInteraction;
|
|
11857
|
+
})();
|
|
11858
|
+
|
|
11645
11859
|
stream.Error = (function() {
|
|
11646
11860
|
|
|
11647
11861
|
/**
|
|
@@ -12869,6 +13083,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
12869
13083
|
* @property {vertexvis.protobuf.stream.IGetStencilBufferPayload|null} [getStencilBuffer] StreamRequest getStencilBuffer
|
|
12870
13084
|
* @property {vertexvis.protobuf.stream.IResetViewPlayload|null} [resetView] StreamRequest resetView
|
|
12871
13085
|
* @property {vertexvis.protobuf.stream.IRefreshTokenPayload|null} [refreshToken] StreamRequest refreshToken
|
|
13086
|
+
* @property {vertexvis.protobuf.stream.IUpdateInteractionPayload|null} [updateInteraction] StreamRequest updateInteraction
|
|
12872
13087
|
*/
|
|
12873
13088
|
|
|
12874
13089
|
/**
|
|
@@ -13046,17 +13261,25 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13046
13261
|
*/
|
|
13047
13262
|
StreamRequest.prototype.refreshToken = null;
|
|
13048
13263
|
|
|
13264
|
+
/**
|
|
13265
|
+
* StreamRequest updateInteraction.
|
|
13266
|
+
* @member {vertexvis.protobuf.stream.IUpdateInteractionPayload|null|undefined} updateInteraction
|
|
13267
|
+
* @memberof vertexvis.protobuf.stream.StreamRequest
|
|
13268
|
+
* @instance
|
|
13269
|
+
*/
|
|
13270
|
+
StreamRequest.prototype.updateInteraction = null;
|
|
13271
|
+
|
|
13049
13272
|
// OneOf field names bound to virtual getters and setters
|
|
13050
13273
|
let $oneOfFields;
|
|
13051
13274
|
|
|
13052
13275
|
/**
|
|
13053
13276
|
* StreamRequest payload.
|
|
13054
|
-
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"createSceneAlteration"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"getStencilBuffer"|"resetView"|"refreshToken"|undefined} payload
|
|
13277
|
+
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"createSceneAlteration"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"getStencilBuffer"|"resetView"|"refreshToken"|"updateInteraction"|undefined} payload
|
|
13055
13278
|
* @memberof vertexvis.protobuf.stream.StreamRequest
|
|
13056
13279
|
* @instance
|
|
13057
13280
|
*/
|
|
13058
13281
|
Object.defineProperty(StreamRequest.prototype, "payload", {
|
|
13059
|
-
get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "createSceneAlteration", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "getStencilBuffer", "resetView", "refreshToken"]),
|
|
13282
|
+
get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "createSceneAlteration", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "getStencilBuffer", "resetView", "refreshToken", "updateInteraction"]),
|
|
13060
13283
|
set: $util.oneOfSetter($oneOfFields)
|
|
13061
13284
|
});
|
|
13062
13285
|
|
|
@@ -13124,6 +13347,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13124
13347
|
$root.vertexvis.protobuf.stream.ResetViewPlayload.encode(message.resetView, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
|
|
13125
13348
|
if (message.refreshToken != null && Object.hasOwnProperty.call(message, "refreshToken"))
|
|
13126
13349
|
$root.vertexvis.protobuf.stream.RefreshTokenPayload.encode(message.refreshToken, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
|
|
13350
|
+
if (message.updateInteraction != null && Object.hasOwnProperty.call(message, "updateInteraction"))
|
|
13351
|
+
$root.vertexvis.protobuf.stream.UpdateInteractionPayload.encode(message.updateInteraction, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
13127
13352
|
return writer;
|
|
13128
13353
|
};
|
|
13129
13354
|
|
|
@@ -13218,6 +13443,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13218
13443
|
case 20:
|
|
13219
13444
|
message.refreshToken = $root.vertexvis.protobuf.stream.RefreshTokenPayload.decode(reader, reader.uint32());
|
|
13220
13445
|
break;
|
|
13446
|
+
case 21:
|
|
13447
|
+
message.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionPayload.decode(reader, reader.uint32());
|
|
13448
|
+
break;
|
|
13221
13449
|
default:
|
|
13222
13450
|
reader.skipType(tag & 7);
|
|
13223
13451
|
break;
|
|
@@ -13447,6 +13675,16 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13447
13675
|
return "refreshToken." + error;
|
|
13448
13676
|
}
|
|
13449
13677
|
}
|
|
13678
|
+
if (message.updateInteraction != null && message.hasOwnProperty("updateInteraction")) {
|
|
13679
|
+
if (properties.payload === 1)
|
|
13680
|
+
return "payload: multiple values";
|
|
13681
|
+
properties.payload = 1;
|
|
13682
|
+
{
|
|
13683
|
+
let error = $root.vertexvis.protobuf.stream.UpdateInteractionPayload.verify(message.updateInteraction);
|
|
13684
|
+
if (error)
|
|
13685
|
+
return "updateInteraction." + error;
|
|
13686
|
+
}
|
|
13687
|
+
}
|
|
13450
13688
|
return null;
|
|
13451
13689
|
};
|
|
13452
13690
|
|
|
@@ -13562,6 +13800,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13562
13800
|
throw TypeError(".vertexvis.protobuf.stream.StreamRequest.refreshToken: object expected");
|
|
13563
13801
|
message.refreshToken = $root.vertexvis.protobuf.stream.RefreshTokenPayload.fromObject(object.refreshToken);
|
|
13564
13802
|
}
|
|
13803
|
+
if (object.updateInteraction != null) {
|
|
13804
|
+
if (typeof object.updateInteraction !== "object")
|
|
13805
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamRequest.updateInteraction: object expected");
|
|
13806
|
+
message.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionPayload.fromObject(object.updateInteraction);
|
|
13807
|
+
}
|
|
13565
13808
|
return message;
|
|
13566
13809
|
};
|
|
13567
13810
|
|
|
@@ -13677,6 +13920,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13677
13920
|
if (options.oneofs)
|
|
13678
13921
|
object.payload = "refreshToken";
|
|
13679
13922
|
}
|
|
13923
|
+
if (message.updateInteraction != null && message.hasOwnProperty("updateInteraction")) {
|
|
13924
|
+
object.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionPayload.toObject(message.updateInteraction, options);
|
|
13925
|
+
if (options.oneofs)
|
|
13926
|
+
object.payload = "updateInteraction";
|
|
13927
|
+
}
|
|
13680
13928
|
return object;
|
|
13681
13929
|
};
|
|
13682
13930
|
|
|
@@ -14248,6 +14496,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14248
14496
|
* Properties of a BeginInteractionPayload.
|
|
14249
14497
|
* @memberof vertexvis.protobuf.stream
|
|
14250
14498
|
* @interface IBeginInteractionPayload
|
|
14499
|
+
* @property {vertexvis.protobuf.stream.ITransformInteraction|null} [transform] BeginInteractionPayload transform
|
|
14251
14500
|
*/
|
|
14252
14501
|
|
|
14253
14502
|
/**
|
|
@@ -14265,6 +14514,28 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14265
14514
|
this[keys[i]] = properties[keys[i]];
|
|
14266
14515
|
}
|
|
14267
14516
|
|
|
14517
|
+
/**
|
|
14518
|
+
* BeginInteractionPayload transform.
|
|
14519
|
+
* @member {vertexvis.protobuf.stream.ITransformInteraction|null|undefined} transform
|
|
14520
|
+
* @memberof vertexvis.protobuf.stream.BeginInteractionPayload
|
|
14521
|
+
* @instance
|
|
14522
|
+
*/
|
|
14523
|
+
BeginInteractionPayload.prototype.transform = null;
|
|
14524
|
+
|
|
14525
|
+
// OneOf field names bound to virtual getters and setters
|
|
14526
|
+
let $oneOfFields;
|
|
14527
|
+
|
|
14528
|
+
/**
|
|
14529
|
+
* BeginInteractionPayload interaction.
|
|
14530
|
+
* @member {"transform"|undefined} interaction
|
|
14531
|
+
* @memberof vertexvis.protobuf.stream.BeginInteractionPayload
|
|
14532
|
+
* @instance
|
|
14533
|
+
*/
|
|
14534
|
+
Object.defineProperty(BeginInteractionPayload.prototype, "interaction", {
|
|
14535
|
+
get: $util.oneOfGetter($oneOfFields = ["transform"]),
|
|
14536
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
14537
|
+
});
|
|
14538
|
+
|
|
14268
14539
|
/**
|
|
14269
14540
|
* Creates a new BeginInteractionPayload instance using the specified properties.
|
|
14270
14541
|
* @function create
|
|
@@ -14289,6 +14560,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14289
14560
|
BeginInteractionPayload.encode = function encode(message, writer) {
|
|
14290
14561
|
if (!writer)
|
|
14291
14562
|
writer = $Writer.create();
|
|
14563
|
+
if (message.transform != null && Object.hasOwnProperty.call(message, "transform"))
|
|
14564
|
+
$root.vertexvis.protobuf.stream.TransformInteraction.encode(message.transform, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
14292
14565
|
return writer;
|
|
14293
14566
|
};
|
|
14294
14567
|
|
|
@@ -14323,6 +14596,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14323
14596
|
while (reader.pos < end) {
|
|
14324
14597
|
let tag = reader.uint32();
|
|
14325
14598
|
switch (tag >>> 3) {
|
|
14599
|
+
case 1:
|
|
14600
|
+
message.transform = $root.vertexvis.protobuf.stream.TransformInteraction.decode(reader, reader.uint32());
|
|
14601
|
+
break;
|
|
14326
14602
|
default:
|
|
14327
14603
|
reader.skipType(tag & 7);
|
|
14328
14604
|
break;
|
|
@@ -14358,6 +14634,13 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14358
14634
|
BeginInteractionPayload.verify = function verify(message) {
|
|
14359
14635
|
if (typeof message !== "object" || message === null)
|
|
14360
14636
|
return "object expected";
|
|
14637
|
+
if (message.transform != null && message.hasOwnProperty("transform")) {
|
|
14638
|
+
{
|
|
14639
|
+
let error = $root.vertexvis.protobuf.stream.TransformInteraction.verify(message.transform);
|
|
14640
|
+
if (error)
|
|
14641
|
+
return "transform." + error;
|
|
14642
|
+
}
|
|
14643
|
+
}
|
|
14361
14644
|
return null;
|
|
14362
14645
|
};
|
|
14363
14646
|
|
|
@@ -14372,7 +14655,13 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14372
14655
|
BeginInteractionPayload.fromObject = function fromObject(object) {
|
|
14373
14656
|
if (object instanceof $root.vertexvis.protobuf.stream.BeginInteractionPayload)
|
|
14374
14657
|
return object;
|
|
14375
|
-
|
|
14658
|
+
let message = new $root.vertexvis.protobuf.stream.BeginInteractionPayload();
|
|
14659
|
+
if (object.transform != null) {
|
|
14660
|
+
if (typeof object.transform !== "object")
|
|
14661
|
+
throw TypeError(".vertexvis.protobuf.stream.BeginInteractionPayload.transform: object expected");
|
|
14662
|
+
message.transform = $root.vertexvis.protobuf.stream.TransformInteraction.fromObject(object.transform);
|
|
14663
|
+
}
|
|
14664
|
+
return message;
|
|
14376
14665
|
};
|
|
14377
14666
|
|
|
14378
14667
|
/**
|
|
@@ -14384,8 +14673,16 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14384
14673
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
14385
14674
|
* @returns {Object.<string,*>} Plain object
|
|
14386
14675
|
*/
|
|
14387
|
-
BeginInteractionPayload.toObject = function toObject() {
|
|
14388
|
-
|
|
14676
|
+
BeginInteractionPayload.toObject = function toObject(message, options) {
|
|
14677
|
+
if (!options)
|
|
14678
|
+
options = {};
|
|
14679
|
+
let object = {};
|
|
14680
|
+
if (message.transform != null && message.hasOwnProperty("transform")) {
|
|
14681
|
+
object.transform = $root.vertexvis.protobuf.stream.TransformInteraction.toObject(message.transform, options);
|
|
14682
|
+
if (options.oneofs)
|
|
14683
|
+
object.interaction = "transform";
|
|
14684
|
+
}
|
|
14685
|
+
return object;
|
|
14389
14686
|
};
|
|
14390
14687
|
|
|
14391
14688
|
/**
|
|
@@ -14402,6 +14699,243 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14402
14699
|
return BeginInteractionPayload;
|
|
14403
14700
|
})();
|
|
14404
14701
|
|
|
14702
|
+
stream.UpdateInteractionPayload = (function() {
|
|
14703
|
+
|
|
14704
|
+
/**
|
|
14705
|
+
* Properties of an UpdateInteractionPayload.
|
|
14706
|
+
* @memberof vertexvis.protobuf.stream
|
|
14707
|
+
* @interface IUpdateInteractionPayload
|
|
14708
|
+
* @property {google.protobuf.IStringValue|null} [frameCorrelationId] UpdateInteractionPayload frameCorrelationId
|
|
14709
|
+
* @property {vertexvis.protobuf.stream.ITransformInteraction|null} [transform] UpdateInteractionPayload transform
|
|
14710
|
+
*/
|
|
14711
|
+
|
|
14712
|
+
/**
|
|
14713
|
+
* Constructs a new UpdateInteractionPayload.
|
|
14714
|
+
* @memberof vertexvis.protobuf.stream
|
|
14715
|
+
* @classdesc Represents an UpdateInteractionPayload.
|
|
14716
|
+
* @implements IUpdateInteractionPayload
|
|
14717
|
+
* @constructor
|
|
14718
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionPayload=} [properties] Properties to set
|
|
14719
|
+
*/
|
|
14720
|
+
function UpdateInteractionPayload(properties) {
|
|
14721
|
+
if (properties)
|
|
14722
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
14723
|
+
if (properties[keys[i]] != null)
|
|
14724
|
+
this[keys[i]] = properties[keys[i]];
|
|
14725
|
+
}
|
|
14726
|
+
|
|
14727
|
+
/**
|
|
14728
|
+
* UpdateInteractionPayload frameCorrelationId.
|
|
14729
|
+
* @member {google.protobuf.IStringValue|null|undefined} frameCorrelationId
|
|
14730
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14731
|
+
* @instance
|
|
14732
|
+
*/
|
|
14733
|
+
UpdateInteractionPayload.prototype.frameCorrelationId = null;
|
|
14734
|
+
|
|
14735
|
+
/**
|
|
14736
|
+
* UpdateInteractionPayload transform.
|
|
14737
|
+
* @member {vertexvis.protobuf.stream.ITransformInteraction|null|undefined} transform
|
|
14738
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14739
|
+
* @instance
|
|
14740
|
+
*/
|
|
14741
|
+
UpdateInteractionPayload.prototype.transform = null;
|
|
14742
|
+
|
|
14743
|
+
// OneOf field names bound to virtual getters and setters
|
|
14744
|
+
let $oneOfFields;
|
|
14745
|
+
|
|
14746
|
+
/**
|
|
14747
|
+
* UpdateInteractionPayload interaction.
|
|
14748
|
+
* @member {"transform"|undefined} interaction
|
|
14749
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14750
|
+
* @instance
|
|
14751
|
+
*/
|
|
14752
|
+
Object.defineProperty(UpdateInteractionPayload.prototype, "interaction", {
|
|
14753
|
+
get: $util.oneOfGetter($oneOfFields = ["transform"]),
|
|
14754
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
14755
|
+
});
|
|
14756
|
+
|
|
14757
|
+
/**
|
|
14758
|
+
* Creates a new UpdateInteractionPayload instance using the specified properties.
|
|
14759
|
+
* @function create
|
|
14760
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14761
|
+
* @static
|
|
14762
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionPayload=} [properties] Properties to set
|
|
14763
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionPayload} UpdateInteractionPayload instance
|
|
14764
|
+
*/
|
|
14765
|
+
UpdateInteractionPayload.create = function create(properties) {
|
|
14766
|
+
return new UpdateInteractionPayload(properties);
|
|
14767
|
+
};
|
|
14768
|
+
|
|
14769
|
+
/**
|
|
14770
|
+
* Encodes the specified UpdateInteractionPayload message. Does not implicitly {@link vertexvis.protobuf.stream.UpdateInteractionPayload.verify|verify} messages.
|
|
14771
|
+
* @function encode
|
|
14772
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14773
|
+
* @static
|
|
14774
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionPayload} message UpdateInteractionPayload message or plain object to encode
|
|
14775
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14776
|
+
* @returns {$protobuf.Writer} Writer
|
|
14777
|
+
*/
|
|
14778
|
+
UpdateInteractionPayload.encode = function encode(message, writer) {
|
|
14779
|
+
if (!writer)
|
|
14780
|
+
writer = $Writer.create();
|
|
14781
|
+
if (message.frameCorrelationId != null && Object.hasOwnProperty.call(message, "frameCorrelationId"))
|
|
14782
|
+
$root.google.protobuf.StringValue.encode(message.frameCorrelationId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
14783
|
+
if (message.transform != null && Object.hasOwnProperty.call(message, "transform"))
|
|
14784
|
+
$root.vertexvis.protobuf.stream.TransformInteraction.encode(message.transform, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
14785
|
+
return writer;
|
|
14786
|
+
};
|
|
14787
|
+
|
|
14788
|
+
/**
|
|
14789
|
+
* Encodes the specified UpdateInteractionPayload message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.UpdateInteractionPayload.verify|verify} messages.
|
|
14790
|
+
* @function encodeDelimited
|
|
14791
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14792
|
+
* @static
|
|
14793
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionPayload} message UpdateInteractionPayload message or plain object to encode
|
|
14794
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14795
|
+
* @returns {$protobuf.Writer} Writer
|
|
14796
|
+
*/
|
|
14797
|
+
UpdateInteractionPayload.encodeDelimited = function encodeDelimited(message, writer) {
|
|
14798
|
+
return this.encode(message, writer).ldelim();
|
|
14799
|
+
};
|
|
14800
|
+
|
|
14801
|
+
/**
|
|
14802
|
+
* Decodes an UpdateInteractionPayload message from the specified reader or buffer.
|
|
14803
|
+
* @function decode
|
|
14804
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14805
|
+
* @static
|
|
14806
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14807
|
+
* @param {number} [length] Message length if known beforehand
|
|
14808
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionPayload} UpdateInteractionPayload
|
|
14809
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14810
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14811
|
+
*/
|
|
14812
|
+
UpdateInteractionPayload.decode = function decode(reader, length) {
|
|
14813
|
+
if (!(reader instanceof $Reader))
|
|
14814
|
+
reader = $Reader.create(reader);
|
|
14815
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.UpdateInteractionPayload();
|
|
14816
|
+
while (reader.pos < end) {
|
|
14817
|
+
let tag = reader.uint32();
|
|
14818
|
+
switch (tag >>> 3) {
|
|
14819
|
+
case 1:
|
|
14820
|
+
message.frameCorrelationId = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
|
|
14821
|
+
break;
|
|
14822
|
+
case 2:
|
|
14823
|
+
message.transform = $root.vertexvis.protobuf.stream.TransformInteraction.decode(reader, reader.uint32());
|
|
14824
|
+
break;
|
|
14825
|
+
default:
|
|
14826
|
+
reader.skipType(tag & 7);
|
|
14827
|
+
break;
|
|
14828
|
+
}
|
|
14829
|
+
}
|
|
14830
|
+
return message;
|
|
14831
|
+
};
|
|
14832
|
+
|
|
14833
|
+
/**
|
|
14834
|
+
* Decodes an UpdateInteractionPayload message from the specified reader or buffer, length delimited.
|
|
14835
|
+
* @function decodeDelimited
|
|
14836
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14837
|
+
* @static
|
|
14838
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14839
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionPayload} UpdateInteractionPayload
|
|
14840
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14841
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14842
|
+
*/
|
|
14843
|
+
UpdateInteractionPayload.decodeDelimited = function decodeDelimited(reader) {
|
|
14844
|
+
if (!(reader instanceof $Reader))
|
|
14845
|
+
reader = new $Reader(reader);
|
|
14846
|
+
return this.decode(reader, reader.uint32());
|
|
14847
|
+
};
|
|
14848
|
+
|
|
14849
|
+
/**
|
|
14850
|
+
* Verifies an UpdateInteractionPayload message.
|
|
14851
|
+
* @function verify
|
|
14852
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14853
|
+
* @static
|
|
14854
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
14855
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
14856
|
+
*/
|
|
14857
|
+
UpdateInteractionPayload.verify = function verify(message) {
|
|
14858
|
+
if (typeof message !== "object" || message === null)
|
|
14859
|
+
return "object expected";
|
|
14860
|
+
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId")) {
|
|
14861
|
+
let error = $root.google.protobuf.StringValue.verify(message.frameCorrelationId);
|
|
14862
|
+
if (error)
|
|
14863
|
+
return "frameCorrelationId." + error;
|
|
14864
|
+
}
|
|
14865
|
+
if (message.transform != null && message.hasOwnProperty("transform")) {
|
|
14866
|
+
{
|
|
14867
|
+
let error = $root.vertexvis.protobuf.stream.TransformInteraction.verify(message.transform);
|
|
14868
|
+
if (error)
|
|
14869
|
+
return "transform." + error;
|
|
14870
|
+
}
|
|
14871
|
+
}
|
|
14872
|
+
return null;
|
|
14873
|
+
};
|
|
14874
|
+
|
|
14875
|
+
/**
|
|
14876
|
+
* Creates an UpdateInteractionPayload message from a plain object. Also converts values to their respective internal types.
|
|
14877
|
+
* @function fromObject
|
|
14878
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14879
|
+
* @static
|
|
14880
|
+
* @param {Object.<string,*>} object Plain object
|
|
14881
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionPayload} UpdateInteractionPayload
|
|
14882
|
+
*/
|
|
14883
|
+
UpdateInteractionPayload.fromObject = function fromObject(object) {
|
|
14884
|
+
if (object instanceof $root.vertexvis.protobuf.stream.UpdateInteractionPayload)
|
|
14885
|
+
return object;
|
|
14886
|
+
let message = new $root.vertexvis.protobuf.stream.UpdateInteractionPayload();
|
|
14887
|
+
if (object.frameCorrelationId != null) {
|
|
14888
|
+
if (typeof object.frameCorrelationId !== "object")
|
|
14889
|
+
throw TypeError(".vertexvis.protobuf.stream.UpdateInteractionPayload.frameCorrelationId: object expected");
|
|
14890
|
+
message.frameCorrelationId = $root.google.protobuf.StringValue.fromObject(object.frameCorrelationId);
|
|
14891
|
+
}
|
|
14892
|
+
if (object.transform != null) {
|
|
14893
|
+
if (typeof object.transform !== "object")
|
|
14894
|
+
throw TypeError(".vertexvis.protobuf.stream.UpdateInteractionPayload.transform: object expected");
|
|
14895
|
+
message.transform = $root.vertexvis.protobuf.stream.TransformInteraction.fromObject(object.transform);
|
|
14896
|
+
}
|
|
14897
|
+
return message;
|
|
14898
|
+
};
|
|
14899
|
+
|
|
14900
|
+
/**
|
|
14901
|
+
* Creates a plain object from an UpdateInteractionPayload message. Also converts values to other types if specified.
|
|
14902
|
+
* @function toObject
|
|
14903
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14904
|
+
* @static
|
|
14905
|
+
* @param {vertexvis.protobuf.stream.UpdateInteractionPayload} message UpdateInteractionPayload
|
|
14906
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
14907
|
+
* @returns {Object.<string,*>} Plain object
|
|
14908
|
+
*/
|
|
14909
|
+
UpdateInteractionPayload.toObject = function toObject(message, options) {
|
|
14910
|
+
if (!options)
|
|
14911
|
+
options = {};
|
|
14912
|
+
let object = {};
|
|
14913
|
+
if (options.defaults)
|
|
14914
|
+
object.frameCorrelationId = null;
|
|
14915
|
+
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId"))
|
|
14916
|
+
object.frameCorrelationId = $root.google.protobuf.StringValue.toObject(message.frameCorrelationId, options);
|
|
14917
|
+
if (message.transform != null && message.hasOwnProperty("transform")) {
|
|
14918
|
+
object.transform = $root.vertexvis.protobuf.stream.TransformInteraction.toObject(message.transform, options);
|
|
14919
|
+
if (options.oneofs)
|
|
14920
|
+
object.interaction = "transform";
|
|
14921
|
+
}
|
|
14922
|
+
return object;
|
|
14923
|
+
};
|
|
14924
|
+
|
|
14925
|
+
/**
|
|
14926
|
+
* Converts this UpdateInteractionPayload to JSON.
|
|
14927
|
+
* @function toJSON
|
|
14928
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14929
|
+
* @instance
|
|
14930
|
+
* @returns {Object.<string,*>} JSON object
|
|
14931
|
+
*/
|
|
14932
|
+
UpdateInteractionPayload.prototype.toJSON = function toJSON() {
|
|
14933
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
14934
|
+
};
|
|
14935
|
+
|
|
14936
|
+
return UpdateInteractionPayload;
|
|
14937
|
+
})();
|
|
14938
|
+
|
|
14405
14939
|
stream.EndInteractionPayload = (function() {
|
|
14406
14940
|
|
|
14407
14941
|
/**
|
|
@@ -14409,6 +14943,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14409
14943
|
* @memberof vertexvis.protobuf.stream
|
|
14410
14944
|
* @interface IEndInteractionPayload
|
|
14411
14945
|
* @property {google.protobuf.IStringValue|null} [frameCorrelationId] EndInteractionPayload frameCorrelationId
|
|
14946
|
+
* @property {vertexvis.protobuf.stream.ITransformInteraction|null} [transform] EndInteractionPayload transform
|
|
14412
14947
|
*/
|
|
14413
14948
|
|
|
14414
14949
|
/**
|
|
@@ -14434,6 +14969,28 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14434
14969
|
*/
|
|
14435
14970
|
EndInteractionPayload.prototype.frameCorrelationId = null;
|
|
14436
14971
|
|
|
14972
|
+
/**
|
|
14973
|
+
* EndInteractionPayload transform.
|
|
14974
|
+
* @member {vertexvis.protobuf.stream.ITransformInteraction|null|undefined} transform
|
|
14975
|
+
* @memberof vertexvis.protobuf.stream.EndInteractionPayload
|
|
14976
|
+
* @instance
|
|
14977
|
+
*/
|
|
14978
|
+
EndInteractionPayload.prototype.transform = null;
|
|
14979
|
+
|
|
14980
|
+
// OneOf field names bound to virtual getters and setters
|
|
14981
|
+
let $oneOfFields;
|
|
14982
|
+
|
|
14983
|
+
/**
|
|
14984
|
+
* EndInteractionPayload interaction.
|
|
14985
|
+
* @member {"transform"|undefined} interaction
|
|
14986
|
+
* @memberof vertexvis.protobuf.stream.EndInteractionPayload
|
|
14987
|
+
* @instance
|
|
14988
|
+
*/
|
|
14989
|
+
Object.defineProperty(EndInteractionPayload.prototype, "interaction", {
|
|
14990
|
+
get: $util.oneOfGetter($oneOfFields = ["transform"]),
|
|
14991
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
14992
|
+
});
|
|
14993
|
+
|
|
14437
14994
|
/**
|
|
14438
14995
|
* Creates a new EndInteractionPayload instance using the specified properties.
|
|
14439
14996
|
* @function create
|
|
@@ -14460,6 +15017,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14460
15017
|
writer = $Writer.create();
|
|
14461
15018
|
if (message.frameCorrelationId != null && Object.hasOwnProperty.call(message, "frameCorrelationId"))
|
|
14462
15019
|
$root.google.protobuf.StringValue.encode(message.frameCorrelationId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
15020
|
+
if (message.transform != null && Object.hasOwnProperty.call(message, "transform"))
|
|
15021
|
+
$root.vertexvis.protobuf.stream.TransformInteraction.encode(message.transform, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
14463
15022
|
return writer;
|
|
14464
15023
|
};
|
|
14465
15024
|
|
|
@@ -14497,6 +15056,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14497
15056
|
case 1:
|
|
14498
15057
|
message.frameCorrelationId = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
|
|
14499
15058
|
break;
|
|
15059
|
+
case 2:
|
|
15060
|
+
message.transform = $root.vertexvis.protobuf.stream.TransformInteraction.decode(reader, reader.uint32());
|
|
15061
|
+
break;
|
|
14500
15062
|
default:
|
|
14501
15063
|
reader.skipType(tag & 7);
|
|
14502
15064
|
break;
|
|
@@ -14537,6 +15099,13 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14537
15099
|
if (error)
|
|
14538
15100
|
return "frameCorrelationId." + error;
|
|
14539
15101
|
}
|
|
15102
|
+
if (message.transform != null && message.hasOwnProperty("transform")) {
|
|
15103
|
+
{
|
|
15104
|
+
let error = $root.vertexvis.protobuf.stream.TransformInteraction.verify(message.transform);
|
|
15105
|
+
if (error)
|
|
15106
|
+
return "transform." + error;
|
|
15107
|
+
}
|
|
15108
|
+
}
|
|
14540
15109
|
return null;
|
|
14541
15110
|
};
|
|
14542
15111
|
|
|
@@ -14557,6 +15126,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14557
15126
|
throw TypeError(".vertexvis.protobuf.stream.EndInteractionPayload.frameCorrelationId: object expected");
|
|
14558
15127
|
message.frameCorrelationId = $root.google.protobuf.StringValue.fromObject(object.frameCorrelationId);
|
|
14559
15128
|
}
|
|
15129
|
+
if (object.transform != null) {
|
|
15130
|
+
if (typeof object.transform !== "object")
|
|
15131
|
+
throw TypeError(".vertexvis.protobuf.stream.EndInteractionPayload.transform: object expected");
|
|
15132
|
+
message.transform = $root.vertexvis.protobuf.stream.TransformInteraction.fromObject(object.transform);
|
|
15133
|
+
}
|
|
14560
15134
|
return message;
|
|
14561
15135
|
};
|
|
14562
15136
|
|
|
@@ -14577,6 +15151,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14577
15151
|
object.frameCorrelationId = null;
|
|
14578
15152
|
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId"))
|
|
14579
15153
|
object.frameCorrelationId = $root.google.protobuf.StringValue.toObject(message.frameCorrelationId, options);
|
|
15154
|
+
if (message.transform != null && message.hasOwnProperty("transform")) {
|
|
15155
|
+
object.transform = $root.vertexvis.protobuf.stream.TransformInteraction.toObject(message.transform, options);
|
|
15156
|
+
if (options.oneofs)
|
|
15157
|
+
object.interaction = "transform";
|
|
15158
|
+
}
|
|
14580
15159
|
return object;
|
|
14581
15160
|
};
|
|
14582
15161
|
|
|
@@ -18194,6 +18773,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18194
18773
|
* @property {vertexvis.protobuf.stream.IUpdateCameraResult|null} [updateCamera] StreamResponse updateCamera
|
|
18195
18774
|
* @property {vertexvis.protobuf.stream.IBeginInteractionResult|null} [beginInteraction] StreamResponse beginInteraction
|
|
18196
18775
|
* @property {vertexvis.protobuf.stream.IEndInteractionResult|null} [endInteraction] StreamResponse endInteraction
|
|
18776
|
+
* @property {vertexvis.protobuf.stream.IGracefulReconnectionResult|null} [gracefulReconnection] StreamResponse gracefulReconnection
|
|
18197
18777
|
* @property {vertexvis.protobuf.stream.IReconnectResult|null} [reconnect] StreamResponse reconnect
|
|
18198
18778
|
* @property {vertexvis.protobuf.stream.IHitItemsResult|null} [hitItems] StreamResponse hitItems
|
|
18199
18779
|
* @property {vertexvis.protobuf.stream.IDrawFrameResult|null} [drawFrame] StreamResponse drawFrame
|
|
@@ -18207,6 +18787,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18207
18787
|
* @property {vertexvis.protobuf.stream.IGetStencilBufferResult|null} [stencilBuffer] StreamResponse stencilBuffer
|
|
18208
18788
|
* @property {vertexvis.protobuf.stream.IResetViewResult|null} [resetView] StreamResponse resetView
|
|
18209
18789
|
* @property {vertexvis.protobuf.stream.IRefreshTokenResult|null} [refreshToken] StreamResponse refreshToken
|
|
18790
|
+
* @property {vertexvis.protobuf.stream.IUpdateInteractionResult|null} [updateInteraction] StreamResponse updateInteraction
|
|
18210
18791
|
*/
|
|
18211
18792
|
|
|
18212
18793
|
/**
|
|
@@ -18272,6 +18853,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18272
18853
|
*/
|
|
18273
18854
|
StreamResponse.prototype.endInteraction = null;
|
|
18274
18855
|
|
|
18856
|
+
/**
|
|
18857
|
+
* StreamResponse gracefulReconnection.
|
|
18858
|
+
* @member {vertexvis.protobuf.stream.IGracefulReconnectionResult|null|undefined} gracefulReconnection
|
|
18859
|
+
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
18860
|
+
* @instance
|
|
18861
|
+
*/
|
|
18862
|
+
StreamResponse.prototype.gracefulReconnection = null;
|
|
18863
|
+
|
|
18275
18864
|
/**
|
|
18276
18865
|
* StreamResponse reconnect.
|
|
18277
18866
|
* @member {vertexvis.protobuf.stream.IReconnectResult|null|undefined} reconnect
|
|
@@ -18376,17 +18965,25 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18376
18965
|
*/
|
|
18377
18966
|
StreamResponse.prototype.refreshToken = null;
|
|
18378
18967
|
|
|
18968
|
+
/**
|
|
18969
|
+
* StreamResponse updateInteraction.
|
|
18970
|
+
* @member {vertexvis.protobuf.stream.IUpdateInteractionResult|null|undefined} updateInteraction
|
|
18971
|
+
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
18972
|
+
* @instance
|
|
18973
|
+
*/
|
|
18974
|
+
StreamResponse.prototype.updateInteraction = null;
|
|
18975
|
+
|
|
18379
18976
|
// OneOf field names bound to virtual getters and setters
|
|
18380
18977
|
let $oneOfFields;
|
|
18381
18978
|
|
|
18382
18979
|
/**
|
|
18383
18980
|
* StreamResponse result.
|
|
18384
|
-
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"reconnect"|"hitItems"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"stencilBuffer"|"resetView"|"refreshToken"|undefined} result
|
|
18981
|
+
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"stencilBuffer"|"resetView"|"refreshToken"|"updateInteraction"|undefined} result
|
|
18385
18982
|
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
18386
18983
|
* @instance
|
|
18387
18984
|
*/
|
|
18388
18985
|
Object.defineProperty(StreamResponse.prototype, "result", {
|
|
18389
|
-
get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "reconnect", "hitItems", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "stencilBuffer", "resetView", "refreshToken"]),
|
|
18986
|
+
get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "stencilBuffer", "resetView", "refreshToken", "updateInteraction"]),
|
|
18390
18987
|
set: $util.oneOfSetter($oneOfFields)
|
|
18391
18988
|
});
|
|
18392
18989
|
|
|
@@ -18452,6 +19049,10 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18452
19049
|
$root.vertexvis.protobuf.stream.ResetViewResult.encode(message.resetView, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
|
|
18453
19050
|
if (message.refreshToken != null && Object.hasOwnProperty.call(message, "refreshToken"))
|
|
18454
19051
|
$root.vertexvis.protobuf.stream.RefreshTokenResult.encode(message.refreshToken, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
|
|
19052
|
+
if (message.gracefulReconnection != null && Object.hasOwnProperty.call(message, "gracefulReconnection"))
|
|
19053
|
+
$root.vertexvis.protobuf.stream.GracefulReconnectionResult.encode(message.gracefulReconnection, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
|
|
19054
|
+
if (message.updateInteraction != null && Object.hasOwnProperty.call(message, "updateInteraction"))
|
|
19055
|
+
$root.vertexvis.protobuf.stream.UpdateInteractionResult.encode(message.updateInteraction, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
18455
19056
|
return writer;
|
|
18456
19057
|
};
|
|
18457
19058
|
|
|
@@ -18504,6 +19105,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18504
19105
|
case 6:
|
|
18505
19106
|
message.endInteraction = $root.vertexvis.protobuf.stream.EndInteractionResult.decode(reader, reader.uint32());
|
|
18506
19107
|
break;
|
|
19108
|
+
case 20:
|
|
19109
|
+
message.gracefulReconnection = $root.vertexvis.protobuf.stream.GracefulReconnectionResult.decode(reader, reader.uint32());
|
|
19110
|
+
break;
|
|
18507
19111
|
case 7:
|
|
18508
19112
|
message.reconnect = $root.vertexvis.protobuf.stream.ReconnectResult.decode(reader, reader.uint32());
|
|
18509
19113
|
break;
|
|
@@ -18543,6 +19147,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18543
19147
|
case 19:
|
|
18544
19148
|
message.refreshToken = $root.vertexvis.protobuf.stream.RefreshTokenResult.decode(reader, reader.uint32());
|
|
18545
19149
|
break;
|
|
19150
|
+
case 21:
|
|
19151
|
+
message.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionResult.decode(reader, reader.uint32());
|
|
19152
|
+
break;
|
|
18546
19153
|
default:
|
|
18547
19154
|
reader.skipType(tag & 7);
|
|
18548
19155
|
break;
|
|
@@ -18622,9 +19229,19 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18622
19229
|
return "result: multiple values";
|
|
18623
19230
|
properties.result = 1;
|
|
18624
19231
|
{
|
|
18625
|
-
let error = $root.vertexvis.protobuf.stream.EndInteractionResult.verify(message.endInteraction);
|
|
19232
|
+
let error = $root.vertexvis.protobuf.stream.EndInteractionResult.verify(message.endInteraction);
|
|
19233
|
+
if (error)
|
|
19234
|
+
return "endInteraction." + error;
|
|
19235
|
+
}
|
|
19236
|
+
}
|
|
19237
|
+
if (message.gracefulReconnection != null && message.hasOwnProperty("gracefulReconnection")) {
|
|
19238
|
+
if (properties.result === 1)
|
|
19239
|
+
return "result: multiple values";
|
|
19240
|
+
properties.result = 1;
|
|
19241
|
+
{
|
|
19242
|
+
let error = $root.vertexvis.protobuf.stream.GracefulReconnectionResult.verify(message.gracefulReconnection);
|
|
18626
19243
|
if (error)
|
|
18627
|
-
return "
|
|
19244
|
+
return "gracefulReconnection." + error;
|
|
18628
19245
|
}
|
|
18629
19246
|
}
|
|
18630
19247
|
if (message.reconnect != null && message.hasOwnProperty("reconnect")) {
|
|
@@ -18757,6 +19374,16 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18757
19374
|
return "refreshToken." + error;
|
|
18758
19375
|
}
|
|
18759
19376
|
}
|
|
19377
|
+
if (message.updateInteraction != null && message.hasOwnProperty("updateInteraction")) {
|
|
19378
|
+
if (properties.result === 1)
|
|
19379
|
+
return "result: multiple values";
|
|
19380
|
+
properties.result = 1;
|
|
19381
|
+
{
|
|
19382
|
+
let error = $root.vertexvis.protobuf.stream.UpdateInteractionResult.verify(message.updateInteraction);
|
|
19383
|
+
if (error)
|
|
19384
|
+
return "updateInteraction." + error;
|
|
19385
|
+
}
|
|
19386
|
+
}
|
|
18760
19387
|
return null;
|
|
18761
19388
|
};
|
|
18762
19389
|
|
|
@@ -18802,6 +19429,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18802
19429
|
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.endInteraction: object expected");
|
|
18803
19430
|
message.endInteraction = $root.vertexvis.protobuf.stream.EndInteractionResult.fromObject(object.endInteraction);
|
|
18804
19431
|
}
|
|
19432
|
+
if (object.gracefulReconnection != null) {
|
|
19433
|
+
if (typeof object.gracefulReconnection !== "object")
|
|
19434
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.gracefulReconnection: object expected");
|
|
19435
|
+
message.gracefulReconnection = $root.vertexvis.protobuf.stream.GracefulReconnectionResult.fromObject(object.gracefulReconnection);
|
|
19436
|
+
}
|
|
18805
19437
|
if (object.reconnect != null) {
|
|
18806
19438
|
if (typeof object.reconnect !== "object")
|
|
18807
19439
|
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.reconnect: object expected");
|
|
@@ -18867,6 +19499,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18867
19499
|
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.refreshToken: object expected");
|
|
18868
19500
|
message.refreshToken = $root.vertexvis.protobuf.stream.RefreshTokenResult.fromObject(object.refreshToken);
|
|
18869
19501
|
}
|
|
19502
|
+
if (object.updateInteraction != null) {
|
|
19503
|
+
if (typeof object.updateInteraction !== "object")
|
|
19504
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.updateInteraction: object expected");
|
|
19505
|
+
message.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionResult.fromObject(object.updateInteraction);
|
|
19506
|
+
}
|
|
18870
19507
|
return message;
|
|
18871
19508
|
};
|
|
18872
19509
|
|
|
@@ -18976,6 +19613,16 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18976
19613
|
if (options.oneofs)
|
|
18977
19614
|
object.result = "refreshToken";
|
|
18978
19615
|
}
|
|
19616
|
+
if (message.gracefulReconnection != null && message.hasOwnProperty("gracefulReconnection")) {
|
|
19617
|
+
object.gracefulReconnection = $root.vertexvis.protobuf.stream.GracefulReconnectionResult.toObject(message.gracefulReconnection, options);
|
|
19618
|
+
if (options.oneofs)
|
|
19619
|
+
object.result = "gracefulReconnection";
|
|
19620
|
+
}
|
|
19621
|
+
if (message.updateInteraction != null && message.hasOwnProperty("updateInteraction")) {
|
|
19622
|
+
object.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionResult.toObject(message.updateInteraction, options);
|
|
19623
|
+
if (options.oneofs)
|
|
19624
|
+
object.result = "updateInteraction";
|
|
19625
|
+
}
|
|
18979
19626
|
return object;
|
|
18980
19627
|
};
|
|
18981
19628
|
|
|
@@ -19860,6 +20507,166 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
19860
20507
|
return BeginInteractionResult;
|
|
19861
20508
|
})();
|
|
19862
20509
|
|
|
20510
|
+
stream.UpdateInteractionResult = (function() {
|
|
20511
|
+
|
|
20512
|
+
/**
|
|
20513
|
+
* Properties of an UpdateInteractionResult.
|
|
20514
|
+
* @memberof vertexvis.protobuf.stream
|
|
20515
|
+
* @interface IUpdateInteractionResult
|
|
20516
|
+
*/
|
|
20517
|
+
|
|
20518
|
+
/**
|
|
20519
|
+
* Constructs a new UpdateInteractionResult.
|
|
20520
|
+
* @memberof vertexvis.protobuf.stream
|
|
20521
|
+
* @classdesc Represents an UpdateInteractionResult.
|
|
20522
|
+
* @implements IUpdateInteractionResult
|
|
20523
|
+
* @constructor
|
|
20524
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionResult=} [properties] Properties to set
|
|
20525
|
+
*/
|
|
20526
|
+
function UpdateInteractionResult(properties) {
|
|
20527
|
+
if (properties)
|
|
20528
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
20529
|
+
if (properties[keys[i]] != null)
|
|
20530
|
+
this[keys[i]] = properties[keys[i]];
|
|
20531
|
+
}
|
|
20532
|
+
|
|
20533
|
+
/**
|
|
20534
|
+
* Creates a new UpdateInteractionResult instance using the specified properties.
|
|
20535
|
+
* @function create
|
|
20536
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20537
|
+
* @static
|
|
20538
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionResult=} [properties] Properties to set
|
|
20539
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionResult} UpdateInteractionResult instance
|
|
20540
|
+
*/
|
|
20541
|
+
UpdateInteractionResult.create = function create(properties) {
|
|
20542
|
+
return new UpdateInteractionResult(properties);
|
|
20543
|
+
};
|
|
20544
|
+
|
|
20545
|
+
/**
|
|
20546
|
+
* Encodes the specified UpdateInteractionResult message. Does not implicitly {@link vertexvis.protobuf.stream.UpdateInteractionResult.verify|verify} messages.
|
|
20547
|
+
* @function encode
|
|
20548
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20549
|
+
* @static
|
|
20550
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionResult} message UpdateInteractionResult message or plain object to encode
|
|
20551
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
20552
|
+
* @returns {$protobuf.Writer} Writer
|
|
20553
|
+
*/
|
|
20554
|
+
UpdateInteractionResult.encode = function encode(message, writer) {
|
|
20555
|
+
if (!writer)
|
|
20556
|
+
writer = $Writer.create();
|
|
20557
|
+
return writer;
|
|
20558
|
+
};
|
|
20559
|
+
|
|
20560
|
+
/**
|
|
20561
|
+
* Encodes the specified UpdateInteractionResult message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.UpdateInteractionResult.verify|verify} messages.
|
|
20562
|
+
* @function encodeDelimited
|
|
20563
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20564
|
+
* @static
|
|
20565
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionResult} message UpdateInteractionResult message or plain object to encode
|
|
20566
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
20567
|
+
* @returns {$protobuf.Writer} Writer
|
|
20568
|
+
*/
|
|
20569
|
+
UpdateInteractionResult.encodeDelimited = function encodeDelimited(message, writer) {
|
|
20570
|
+
return this.encode(message, writer).ldelim();
|
|
20571
|
+
};
|
|
20572
|
+
|
|
20573
|
+
/**
|
|
20574
|
+
* Decodes an UpdateInteractionResult message from the specified reader or buffer.
|
|
20575
|
+
* @function decode
|
|
20576
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20577
|
+
* @static
|
|
20578
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
20579
|
+
* @param {number} [length] Message length if known beforehand
|
|
20580
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionResult} UpdateInteractionResult
|
|
20581
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20582
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20583
|
+
*/
|
|
20584
|
+
UpdateInteractionResult.decode = function decode(reader, length) {
|
|
20585
|
+
if (!(reader instanceof $Reader))
|
|
20586
|
+
reader = $Reader.create(reader);
|
|
20587
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.UpdateInteractionResult();
|
|
20588
|
+
while (reader.pos < end) {
|
|
20589
|
+
let tag = reader.uint32();
|
|
20590
|
+
switch (tag >>> 3) {
|
|
20591
|
+
default:
|
|
20592
|
+
reader.skipType(tag & 7);
|
|
20593
|
+
break;
|
|
20594
|
+
}
|
|
20595
|
+
}
|
|
20596
|
+
return message;
|
|
20597
|
+
};
|
|
20598
|
+
|
|
20599
|
+
/**
|
|
20600
|
+
* Decodes an UpdateInteractionResult message from the specified reader or buffer, length delimited.
|
|
20601
|
+
* @function decodeDelimited
|
|
20602
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20603
|
+
* @static
|
|
20604
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
20605
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionResult} UpdateInteractionResult
|
|
20606
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20607
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20608
|
+
*/
|
|
20609
|
+
UpdateInteractionResult.decodeDelimited = function decodeDelimited(reader) {
|
|
20610
|
+
if (!(reader instanceof $Reader))
|
|
20611
|
+
reader = new $Reader(reader);
|
|
20612
|
+
return this.decode(reader, reader.uint32());
|
|
20613
|
+
};
|
|
20614
|
+
|
|
20615
|
+
/**
|
|
20616
|
+
* Verifies an UpdateInteractionResult message.
|
|
20617
|
+
* @function verify
|
|
20618
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20619
|
+
* @static
|
|
20620
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
20621
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
20622
|
+
*/
|
|
20623
|
+
UpdateInteractionResult.verify = function verify(message) {
|
|
20624
|
+
if (typeof message !== "object" || message === null)
|
|
20625
|
+
return "object expected";
|
|
20626
|
+
return null;
|
|
20627
|
+
};
|
|
20628
|
+
|
|
20629
|
+
/**
|
|
20630
|
+
* Creates an UpdateInteractionResult message from a plain object. Also converts values to their respective internal types.
|
|
20631
|
+
* @function fromObject
|
|
20632
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20633
|
+
* @static
|
|
20634
|
+
* @param {Object.<string,*>} object Plain object
|
|
20635
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionResult} UpdateInteractionResult
|
|
20636
|
+
*/
|
|
20637
|
+
UpdateInteractionResult.fromObject = function fromObject(object) {
|
|
20638
|
+
if (object instanceof $root.vertexvis.protobuf.stream.UpdateInteractionResult)
|
|
20639
|
+
return object;
|
|
20640
|
+
return new $root.vertexvis.protobuf.stream.UpdateInteractionResult();
|
|
20641
|
+
};
|
|
20642
|
+
|
|
20643
|
+
/**
|
|
20644
|
+
* Creates a plain object from an UpdateInteractionResult message. Also converts values to other types if specified.
|
|
20645
|
+
* @function toObject
|
|
20646
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20647
|
+
* @static
|
|
20648
|
+
* @param {vertexvis.protobuf.stream.UpdateInteractionResult} message UpdateInteractionResult
|
|
20649
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
20650
|
+
* @returns {Object.<string,*>} Plain object
|
|
20651
|
+
*/
|
|
20652
|
+
UpdateInteractionResult.toObject = function toObject() {
|
|
20653
|
+
return {};
|
|
20654
|
+
};
|
|
20655
|
+
|
|
20656
|
+
/**
|
|
20657
|
+
* Converts this UpdateInteractionResult to JSON.
|
|
20658
|
+
* @function toJSON
|
|
20659
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20660
|
+
* @instance
|
|
20661
|
+
* @returns {Object.<string,*>} JSON object
|
|
20662
|
+
*/
|
|
20663
|
+
UpdateInteractionResult.prototype.toJSON = function toJSON() {
|
|
20664
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
20665
|
+
};
|
|
20666
|
+
|
|
20667
|
+
return UpdateInteractionResult;
|
|
20668
|
+
})();
|
|
20669
|
+
|
|
19863
20670
|
stream.EndInteractionResult = (function() {
|
|
19864
20671
|
|
|
19865
20672
|
/**
|
|
@@ -22695,6 +23502,166 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
22695
23502
|
return UpdateCrossSectioningResult;
|
|
22696
23503
|
})();
|
|
22697
23504
|
|
|
23505
|
+
stream.GracefulReconnectionResult = (function() {
|
|
23506
|
+
|
|
23507
|
+
/**
|
|
23508
|
+
* Properties of a GracefulReconnectionResult.
|
|
23509
|
+
* @memberof vertexvis.protobuf.stream
|
|
23510
|
+
* @interface IGracefulReconnectionResult
|
|
23511
|
+
*/
|
|
23512
|
+
|
|
23513
|
+
/**
|
|
23514
|
+
* Constructs a new GracefulReconnectionResult.
|
|
23515
|
+
* @memberof vertexvis.protobuf.stream
|
|
23516
|
+
* @classdesc Represents a GracefulReconnectionResult.
|
|
23517
|
+
* @implements IGracefulReconnectionResult
|
|
23518
|
+
* @constructor
|
|
23519
|
+
* @param {vertexvis.protobuf.stream.IGracefulReconnectionResult=} [properties] Properties to set
|
|
23520
|
+
*/
|
|
23521
|
+
function GracefulReconnectionResult(properties) {
|
|
23522
|
+
if (properties)
|
|
23523
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
23524
|
+
if (properties[keys[i]] != null)
|
|
23525
|
+
this[keys[i]] = properties[keys[i]];
|
|
23526
|
+
}
|
|
23527
|
+
|
|
23528
|
+
/**
|
|
23529
|
+
* Creates a new GracefulReconnectionResult instance using the specified properties.
|
|
23530
|
+
* @function create
|
|
23531
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23532
|
+
* @static
|
|
23533
|
+
* @param {vertexvis.protobuf.stream.IGracefulReconnectionResult=} [properties] Properties to set
|
|
23534
|
+
* @returns {vertexvis.protobuf.stream.GracefulReconnectionResult} GracefulReconnectionResult instance
|
|
23535
|
+
*/
|
|
23536
|
+
GracefulReconnectionResult.create = function create(properties) {
|
|
23537
|
+
return new GracefulReconnectionResult(properties);
|
|
23538
|
+
};
|
|
23539
|
+
|
|
23540
|
+
/**
|
|
23541
|
+
* Encodes the specified GracefulReconnectionResult message. Does not implicitly {@link vertexvis.protobuf.stream.GracefulReconnectionResult.verify|verify} messages.
|
|
23542
|
+
* @function encode
|
|
23543
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23544
|
+
* @static
|
|
23545
|
+
* @param {vertexvis.protobuf.stream.IGracefulReconnectionResult} message GracefulReconnectionResult message or plain object to encode
|
|
23546
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
23547
|
+
* @returns {$protobuf.Writer} Writer
|
|
23548
|
+
*/
|
|
23549
|
+
GracefulReconnectionResult.encode = function encode(message, writer) {
|
|
23550
|
+
if (!writer)
|
|
23551
|
+
writer = $Writer.create();
|
|
23552
|
+
return writer;
|
|
23553
|
+
};
|
|
23554
|
+
|
|
23555
|
+
/**
|
|
23556
|
+
* Encodes the specified GracefulReconnectionResult message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.GracefulReconnectionResult.verify|verify} messages.
|
|
23557
|
+
* @function encodeDelimited
|
|
23558
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23559
|
+
* @static
|
|
23560
|
+
* @param {vertexvis.protobuf.stream.IGracefulReconnectionResult} message GracefulReconnectionResult message or plain object to encode
|
|
23561
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
23562
|
+
* @returns {$protobuf.Writer} Writer
|
|
23563
|
+
*/
|
|
23564
|
+
GracefulReconnectionResult.encodeDelimited = function encodeDelimited(message, writer) {
|
|
23565
|
+
return this.encode(message, writer).ldelim();
|
|
23566
|
+
};
|
|
23567
|
+
|
|
23568
|
+
/**
|
|
23569
|
+
* Decodes a GracefulReconnectionResult message from the specified reader or buffer.
|
|
23570
|
+
* @function decode
|
|
23571
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23572
|
+
* @static
|
|
23573
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
23574
|
+
* @param {number} [length] Message length if known beforehand
|
|
23575
|
+
* @returns {vertexvis.protobuf.stream.GracefulReconnectionResult} GracefulReconnectionResult
|
|
23576
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23577
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23578
|
+
*/
|
|
23579
|
+
GracefulReconnectionResult.decode = function decode(reader, length) {
|
|
23580
|
+
if (!(reader instanceof $Reader))
|
|
23581
|
+
reader = $Reader.create(reader);
|
|
23582
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.GracefulReconnectionResult();
|
|
23583
|
+
while (reader.pos < end) {
|
|
23584
|
+
let tag = reader.uint32();
|
|
23585
|
+
switch (tag >>> 3) {
|
|
23586
|
+
default:
|
|
23587
|
+
reader.skipType(tag & 7);
|
|
23588
|
+
break;
|
|
23589
|
+
}
|
|
23590
|
+
}
|
|
23591
|
+
return message;
|
|
23592
|
+
};
|
|
23593
|
+
|
|
23594
|
+
/**
|
|
23595
|
+
* Decodes a GracefulReconnectionResult message from the specified reader or buffer, length delimited.
|
|
23596
|
+
* @function decodeDelimited
|
|
23597
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23598
|
+
* @static
|
|
23599
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
23600
|
+
* @returns {vertexvis.protobuf.stream.GracefulReconnectionResult} GracefulReconnectionResult
|
|
23601
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23602
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23603
|
+
*/
|
|
23604
|
+
GracefulReconnectionResult.decodeDelimited = function decodeDelimited(reader) {
|
|
23605
|
+
if (!(reader instanceof $Reader))
|
|
23606
|
+
reader = new $Reader(reader);
|
|
23607
|
+
return this.decode(reader, reader.uint32());
|
|
23608
|
+
};
|
|
23609
|
+
|
|
23610
|
+
/**
|
|
23611
|
+
* Verifies a GracefulReconnectionResult message.
|
|
23612
|
+
* @function verify
|
|
23613
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23614
|
+
* @static
|
|
23615
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
23616
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
23617
|
+
*/
|
|
23618
|
+
GracefulReconnectionResult.verify = function verify(message) {
|
|
23619
|
+
if (typeof message !== "object" || message === null)
|
|
23620
|
+
return "object expected";
|
|
23621
|
+
return null;
|
|
23622
|
+
};
|
|
23623
|
+
|
|
23624
|
+
/**
|
|
23625
|
+
* Creates a GracefulReconnectionResult message from a plain object. Also converts values to their respective internal types.
|
|
23626
|
+
* @function fromObject
|
|
23627
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23628
|
+
* @static
|
|
23629
|
+
* @param {Object.<string,*>} object Plain object
|
|
23630
|
+
* @returns {vertexvis.protobuf.stream.GracefulReconnectionResult} GracefulReconnectionResult
|
|
23631
|
+
*/
|
|
23632
|
+
GracefulReconnectionResult.fromObject = function fromObject(object) {
|
|
23633
|
+
if (object instanceof $root.vertexvis.protobuf.stream.GracefulReconnectionResult)
|
|
23634
|
+
return object;
|
|
23635
|
+
return new $root.vertexvis.protobuf.stream.GracefulReconnectionResult();
|
|
23636
|
+
};
|
|
23637
|
+
|
|
23638
|
+
/**
|
|
23639
|
+
* Creates a plain object from a GracefulReconnectionResult message. Also converts values to other types if specified.
|
|
23640
|
+
* @function toObject
|
|
23641
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23642
|
+
* @static
|
|
23643
|
+
* @param {vertexvis.protobuf.stream.GracefulReconnectionResult} message GracefulReconnectionResult
|
|
23644
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
23645
|
+
* @returns {Object.<string,*>} Plain object
|
|
23646
|
+
*/
|
|
23647
|
+
GracefulReconnectionResult.toObject = function toObject() {
|
|
23648
|
+
return {};
|
|
23649
|
+
};
|
|
23650
|
+
|
|
23651
|
+
/**
|
|
23652
|
+
* Converts this GracefulReconnectionResult to JSON.
|
|
23653
|
+
* @function toJSON
|
|
23654
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23655
|
+
* @instance
|
|
23656
|
+
* @returns {Object.<string,*>} JSON object
|
|
23657
|
+
*/
|
|
23658
|
+
GracefulReconnectionResult.prototype.toJSON = function toJSON() {
|
|
23659
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
23660
|
+
};
|
|
23661
|
+
|
|
23662
|
+
return GracefulReconnectionResult;
|
|
23663
|
+
})();
|
|
23664
|
+
|
|
22698
23665
|
return stream;
|
|
22699
23666
|
})();
|
|
22700
23667
|
|
|
@@ -35690,9 +36657,10 @@ var StreamApi = /** @class */ (function () {
|
|
|
35690
36657
|
* @param withResponse Indicates if the server should reply with a response.
|
|
35691
36658
|
* Defaults to `true`.
|
|
35692
36659
|
*/
|
|
35693
|
-
StreamApi.prototype.beginInteraction = function (withResponse) {
|
|
36660
|
+
StreamApi.prototype.beginInteraction = function (payload, withResponse) {
|
|
36661
|
+
if (payload === void 0) { payload = {}; }
|
|
35694
36662
|
if (withResponse === void 0) { withResponse = true; }
|
|
35695
|
-
return this.sendRequest({ beginInteraction:
|
|
36663
|
+
return this.sendRequest({ beginInteraction: payload }, withResponse);
|
|
35696
36664
|
};
|
|
35697
36665
|
/**
|
|
35698
36666
|
* Sends a request to update the position of the scene's camera.
|
|
@@ -35733,6 +36701,21 @@ var StreamApi = /** @class */ (function () {
|
|
|
35733
36701
|
if (withResponse === void 0) { withResponse = true; }
|
|
35734
36702
|
return this.sendRequest({ flyTo: payload }, withResponse);
|
|
35735
36703
|
};
|
|
36704
|
+
/**
|
|
36705
|
+
* Sends a request to update the specified interaction.
|
|
36706
|
+
*
|
|
36707
|
+
* Use `withResponse` to indicate if the server should reply with a response.
|
|
36708
|
+
* If `false`, the returned promise will complete immediately. Otherwise,
|
|
36709
|
+
* it'll complete when a response is received.
|
|
36710
|
+
*
|
|
36711
|
+
* @param payload The payload of the request.
|
|
36712
|
+
* @param withResponse Indicates if the server should reply with a response.
|
|
36713
|
+
* Defaults to `true`.
|
|
36714
|
+
*/
|
|
36715
|
+
StreamApi.prototype.updateInteraction = function (payload, withResponse) {
|
|
36716
|
+
if (withResponse === void 0) { withResponse = true; }
|
|
36717
|
+
return this.sendRequest({ updateInteraction: payload }, withResponse);
|
|
36718
|
+
};
|
|
35736
36719
|
/**
|
|
35737
36720
|
* Sends a request to update the dimensions of the frame.
|
|
35738
36721
|
*
|
|
@@ -35831,9 +36814,10 @@ var StreamApi = /** @class */ (function () {
|
|
|
35831
36814
|
* @param withResponse Indicates if the server should reply with a response.
|
|
35832
36815
|
* Defaults to `true`.
|
|
35833
36816
|
*/
|
|
35834
|
-
StreamApi.prototype.endInteraction = function (withResponse) {
|
|
36817
|
+
StreamApi.prototype.endInteraction = function (payload, withResponse) {
|
|
36818
|
+
if (payload === void 0) { payload = {}; }
|
|
35835
36819
|
if (withResponse === void 0) { withResponse = true; }
|
|
35836
|
-
return this.sendRequest({ endInteraction:
|
|
36820
|
+
return this.sendRequest({ endInteraction: payload }, withResponse);
|
|
35837
36821
|
};
|
|
35838
36822
|
/**
|
|
35839
36823
|
* Sends a request to sync the clocks between the client and server.
|