@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.cjs.js
CHANGED
|
@@ -8715,6 +8715,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
8715
8715
|
* @property {vertexvis.protobuf.stream.IFeatureLineAttributes|null} [featureLines] StreamAttributes featureLines
|
|
8716
8716
|
* @property {vertexvis.protobuf.stream.IFeatureHighlightAttributes|null} [featureHighlighting] StreamAttributes featureHighlighting
|
|
8717
8717
|
* @property {vertexvis.protobuf.stream.IFeatureMapAttributes|null} [featureMaps] StreamAttributes featureMaps
|
|
8718
|
+
* @property {boolean|null} [noDefaultLights] StreamAttributes noDefaultLights
|
|
8718
8719
|
*/
|
|
8719
8720
|
|
|
8720
8721
|
/**
|
|
@@ -8772,6 +8773,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
8772
8773
|
*/
|
|
8773
8774
|
StreamAttributes.prototype.featureMaps = null;
|
|
8774
8775
|
|
|
8776
|
+
/**
|
|
8777
|
+
* StreamAttributes noDefaultLights.
|
|
8778
|
+
* @member {boolean} noDefaultLights
|
|
8779
|
+
* @memberof vertexvis.protobuf.stream.StreamAttributes
|
|
8780
|
+
* @instance
|
|
8781
|
+
*/
|
|
8782
|
+
StreamAttributes.prototype.noDefaultLights = false;
|
|
8783
|
+
|
|
8775
8784
|
/**
|
|
8776
8785
|
* Creates a new StreamAttributes instance using the specified properties.
|
|
8777
8786
|
* @function create
|
|
@@ -8806,6 +8815,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
8806
8815
|
$root.vertexvis.protobuf.stream.FeatureHighlightAttributes.encode(message.featureHighlighting, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
8807
8816
|
if (message.featureMaps != null && Object.hasOwnProperty.call(message, "featureMaps"))
|
|
8808
8817
|
$root.vertexvis.protobuf.stream.FeatureMapAttributes.encode(message.featureMaps, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
8818
|
+
if (message.noDefaultLights != null && Object.hasOwnProperty.call(message, "noDefaultLights"))
|
|
8819
|
+
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.noDefaultLights);
|
|
8809
8820
|
return writer;
|
|
8810
8821
|
};
|
|
8811
8822
|
|
|
@@ -8855,6 +8866,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
8855
8866
|
case 5:
|
|
8856
8867
|
message.featureMaps = $root.vertexvis.protobuf.stream.FeatureMapAttributes.decode(reader, reader.uint32());
|
|
8857
8868
|
break;
|
|
8869
|
+
case 6:
|
|
8870
|
+
message.noDefaultLights = reader.bool();
|
|
8871
|
+
break;
|
|
8858
8872
|
default:
|
|
8859
8873
|
reader.skipType(tag & 7);
|
|
8860
8874
|
break;
|
|
@@ -8915,6 +8929,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
8915
8929
|
if (error)
|
|
8916
8930
|
return "featureMaps." + error;
|
|
8917
8931
|
}
|
|
8932
|
+
if (message.noDefaultLights != null && message.hasOwnProperty("noDefaultLights"))
|
|
8933
|
+
if (typeof message.noDefaultLights !== "boolean")
|
|
8934
|
+
return "noDefaultLights: boolean expected";
|
|
8918
8935
|
return null;
|
|
8919
8936
|
};
|
|
8920
8937
|
|
|
@@ -8955,6 +8972,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
8955
8972
|
throw TypeError(".vertexvis.protobuf.stream.StreamAttributes.featureMaps: object expected");
|
|
8956
8973
|
message.featureMaps = $root.vertexvis.protobuf.stream.FeatureMapAttributes.fromObject(object.featureMaps);
|
|
8957
8974
|
}
|
|
8975
|
+
if (object.noDefaultLights != null)
|
|
8976
|
+
message.noDefaultLights = Boolean(object.noDefaultLights);
|
|
8958
8977
|
return message;
|
|
8959
8978
|
};
|
|
8960
8979
|
|
|
@@ -8977,6 +8996,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
8977
8996
|
object.featureLines = null;
|
|
8978
8997
|
object.featureHighlighting = null;
|
|
8979
8998
|
object.featureMaps = null;
|
|
8999
|
+
object.noDefaultLights = false;
|
|
8980
9000
|
}
|
|
8981
9001
|
if (message.experimentalGhosting != null && message.hasOwnProperty("experimentalGhosting"))
|
|
8982
9002
|
object.experimentalGhosting = $root.vertexvis.protobuf.stream.GhostingAttributes.toObject(message.experimentalGhosting, options);
|
|
@@ -8988,6 +9008,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
8988
9008
|
object.featureHighlighting = $root.vertexvis.protobuf.stream.FeatureHighlightAttributes.toObject(message.featureHighlighting, options);
|
|
8989
9009
|
if (message.featureMaps != null && message.hasOwnProperty("featureMaps"))
|
|
8990
9010
|
object.featureMaps = $root.vertexvis.protobuf.stream.FeatureMapAttributes.toObject(message.featureMaps, options);
|
|
9011
|
+
if (message.noDefaultLights != null && message.hasOwnProperty("noDefaultLights"))
|
|
9012
|
+
object.noDefaultLights = message.noDefaultLights;
|
|
8991
9013
|
return object;
|
|
8992
9014
|
};
|
|
8993
9015
|
|
|
@@ -11646,6 +11668,198 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
11646
11668
|
return Token;
|
|
11647
11669
|
})();
|
|
11648
11670
|
|
|
11671
|
+
stream.TransformInteraction = (function() {
|
|
11672
|
+
|
|
11673
|
+
/**
|
|
11674
|
+
* Properties of a TransformInteraction.
|
|
11675
|
+
* @memberof vertexvis.protobuf.stream
|
|
11676
|
+
* @interface ITransformInteraction
|
|
11677
|
+
* @property {vertexvis.protobuf.core.IAffineMatrix4f|null} [delta] TransformInteraction delta
|
|
11678
|
+
*/
|
|
11679
|
+
|
|
11680
|
+
/**
|
|
11681
|
+
* Constructs a new TransformInteraction.
|
|
11682
|
+
* @memberof vertexvis.protobuf.stream
|
|
11683
|
+
* @classdesc Represents a TransformInteraction.
|
|
11684
|
+
* @implements ITransformInteraction
|
|
11685
|
+
* @constructor
|
|
11686
|
+
* @param {vertexvis.protobuf.stream.ITransformInteraction=} [properties] Properties to set
|
|
11687
|
+
*/
|
|
11688
|
+
function TransformInteraction(properties) {
|
|
11689
|
+
if (properties)
|
|
11690
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
11691
|
+
if (properties[keys[i]] != null)
|
|
11692
|
+
this[keys[i]] = properties[keys[i]];
|
|
11693
|
+
}
|
|
11694
|
+
|
|
11695
|
+
/**
|
|
11696
|
+
* TransformInteraction delta.
|
|
11697
|
+
* @member {vertexvis.protobuf.core.IAffineMatrix4f|null|undefined} delta
|
|
11698
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11699
|
+
* @instance
|
|
11700
|
+
*/
|
|
11701
|
+
TransformInteraction.prototype.delta = null;
|
|
11702
|
+
|
|
11703
|
+
/**
|
|
11704
|
+
* Creates a new TransformInteraction instance using the specified properties.
|
|
11705
|
+
* @function create
|
|
11706
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11707
|
+
* @static
|
|
11708
|
+
* @param {vertexvis.protobuf.stream.ITransformInteraction=} [properties] Properties to set
|
|
11709
|
+
* @returns {vertexvis.protobuf.stream.TransformInteraction} TransformInteraction instance
|
|
11710
|
+
*/
|
|
11711
|
+
TransformInteraction.create = function create(properties) {
|
|
11712
|
+
return new TransformInteraction(properties);
|
|
11713
|
+
};
|
|
11714
|
+
|
|
11715
|
+
/**
|
|
11716
|
+
* Encodes the specified TransformInteraction message. Does not implicitly {@link vertexvis.protobuf.stream.TransformInteraction.verify|verify} messages.
|
|
11717
|
+
* @function encode
|
|
11718
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11719
|
+
* @static
|
|
11720
|
+
* @param {vertexvis.protobuf.stream.ITransformInteraction} message TransformInteraction message or plain object to encode
|
|
11721
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
11722
|
+
* @returns {$protobuf.Writer} Writer
|
|
11723
|
+
*/
|
|
11724
|
+
TransformInteraction.encode = function encode(message, writer) {
|
|
11725
|
+
if (!writer)
|
|
11726
|
+
writer = $Writer.create();
|
|
11727
|
+
if (message.delta != null && Object.hasOwnProperty.call(message, "delta"))
|
|
11728
|
+
$root.vertexvis.protobuf.core.AffineMatrix4f.encode(message.delta, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
11729
|
+
return writer;
|
|
11730
|
+
};
|
|
11731
|
+
|
|
11732
|
+
/**
|
|
11733
|
+
* Encodes the specified TransformInteraction message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.TransformInteraction.verify|verify} messages.
|
|
11734
|
+
* @function encodeDelimited
|
|
11735
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11736
|
+
* @static
|
|
11737
|
+
* @param {vertexvis.protobuf.stream.ITransformInteraction} message TransformInteraction message or plain object to encode
|
|
11738
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
11739
|
+
* @returns {$protobuf.Writer} Writer
|
|
11740
|
+
*/
|
|
11741
|
+
TransformInteraction.encodeDelimited = function encodeDelimited(message, writer) {
|
|
11742
|
+
return this.encode(message, writer).ldelim();
|
|
11743
|
+
};
|
|
11744
|
+
|
|
11745
|
+
/**
|
|
11746
|
+
* Decodes a TransformInteraction message from the specified reader or buffer.
|
|
11747
|
+
* @function decode
|
|
11748
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11749
|
+
* @static
|
|
11750
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
11751
|
+
* @param {number} [length] Message length if known beforehand
|
|
11752
|
+
* @returns {vertexvis.protobuf.stream.TransformInteraction} TransformInteraction
|
|
11753
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11754
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11755
|
+
*/
|
|
11756
|
+
TransformInteraction.decode = function decode(reader, length) {
|
|
11757
|
+
if (!(reader instanceof $Reader))
|
|
11758
|
+
reader = $Reader.create(reader);
|
|
11759
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.TransformInteraction();
|
|
11760
|
+
while (reader.pos < end) {
|
|
11761
|
+
let tag = reader.uint32();
|
|
11762
|
+
switch (tag >>> 3) {
|
|
11763
|
+
case 1:
|
|
11764
|
+
message.delta = $root.vertexvis.protobuf.core.AffineMatrix4f.decode(reader, reader.uint32());
|
|
11765
|
+
break;
|
|
11766
|
+
default:
|
|
11767
|
+
reader.skipType(tag & 7);
|
|
11768
|
+
break;
|
|
11769
|
+
}
|
|
11770
|
+
}
|
|
11771
|
+
return message;
|
|
11772
|
+
};
|
|
11773
|
+
|
|
11774
|
+
/**
|
|
11775
|
+
* Decodes a TransformInteraction message from the specified reader or buffer, length delimited.
|
|
11776
|
+
* @function decodeDelimited
|
|
11777
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11778
|
+
* @static
|
|
11779
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
11780
|
+
* @returns {vertexvis.protobuf.stream.TransformInteraction} TransformInteraction
|
|
11781
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11782
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11783
|
+
*/
|
|
11784
|
+
TransformInteraction.decodeDelimited = function decodeDelimited(reader) {
|
|
11785
|
+
if (!(reader instanceof $Reader))
|
|
11786
|
+
reader = new $Reader(reader);
|
|
11787
|
+
return this.decode(reader, reader.uint32());
|
|
11788
|
+
};
|
|
11789
|
+
|
|
11790
|
+
/**
|
|
11791
|
+
* Verifies a TransformInteraction message.
|
|
11792
|
+
* @function verify
|
|
11793
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11794
|
+
* @static
|
|
11795
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
11796
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
11797
|
+
*/
|
|
11798
|
+
TransformInteraction.verify = function verify(message) {
|
|
11799
|
+
if (typeof message !== "object" || message === null)
|
|
11800
|
+
return "object expected";
|
|
11801
|
+
if (message.delta != null && message.hasOwnProperty("delta")) {
|
|
11802
|
+
let error = $root.vertexvis.protobuf.core.AffineMatrix4f.verify(message.delta);
|
|
11803
|
+
if (error)
|
|
11804
|
+
return "delta." + error;
|
|
11805
|
+
}
|
|
11806
|
+
return null;
|
|
11807
|
+
};
|
|
11808
|
+
|
|
11809
|
+
/**
|
|
11810
|
+
* Creates a TransformInteraction message from a plain object. Also converts values to their respective internal types.
|
|
11811
|
+
* @function fromObject
|
|
11812
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11813
|
+
* @static
|
|
11814
|
+
* @param {Object.<string,*>} object Plain object
|
|
11815
|
+
* @returns {vertexvis.protobuf.stream.TransformInteraction} TransformInteraction
|
|
11816
|
+
*/
|
|
11817
|
+
TransformInteraction.fromObject = function fromObject(object) {
|
|
11818
|
+
if (object instanceof $root.vertexvis.protobuf.stream.TransformInteraction)
|
|
11819
|
+
return object;
|
|
11820
|
+
let message = new $root.vertexvis.protobuf.stream.TransformInteraction();
|
|
11821
|
+
if (object.delta != null) {
|
|
11822
|
+
if (typeof object.delta !== "object")
|
|
11823
|
+
throw TypeError(".vertexvis.protobuf.stream.TransformInteraction.delta: object expected");
|
|
11824
|
+
message.delta = $root.vertexvis.protobuf.core.AffineMatrix4f.fromObject(object.delta);
|
|
11825
|
+
}
|
|
11826
|
+
return message;
|
|
11827
|
+
};
|
|
11828
|
+
|
|
11829
|
+
/**
|
|
11830
|
+
* Creates a plain object from a TransformInteraction message. Also converts values to other types if specified.
|
|
11831
|
+
* @function toObject
|
|
11832
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11833
|
+
* @static
|
|
11834
|
+
* @param {vertexvis.protobuf.stream.TransformInteraction} message TransformInteraction
|
|
11835
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
11836
|
+
* @returns {Object.<string,*>} Plain object
|
|
11837
|
+
*/
|
|
11838
|
+
TransformInteraction.toObject = function toObject(message, options) {
|
|
11839
|
+
if (!options)
|
|
11840
|
+
options = {};
|
|
11841
|
+
let object = {};
|
|
11842
|
+
if (options.defaults)
|
|
11843
|
+
object.delta = null;
|
|
11844
|
+
if (message.delta != null && message.hasOwnProperty("delta"))
|
|
11845
|
+
object.delta = $root.vertexvis.protobuf.core.AffineMatrix4f.toObject(message.delta, options);
|
|
11846
|
+
return object;
|
|
11847
|
+
};
|
|
11848
|
+
|
|
11849
|
+
/**
|
|
11850
|
+
* Converts this TransformInteraction to JSON.
|
|
11851
|
+
* @function toJSON
|
|
11852
|
+
* @memberof vertexvis.protobuf.stream.TransformInteraction
|
|
11853
|
+
* @instance
|
|
11854
|
+
* @returns {Object.<string,*>} JSON object
|
|
11855
|
+
*/
|
|
11856
|
+
TransformInteraction.prototype.toJSON = function toJSON() {
|
|
11857
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
11858
|
+
};
|
|
11859
|
+
|
|
11860
|
+
return TransformInteraction;
|
|
11861
|
+
})();
|
|
11862
|
+
|
|
11649
11863
|
stream.Error = (function() {
|
|
11650
11864
|
|
|
11651
11865
|
/**
|
|
@@ -12873,6 +13087,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
12873
13087
|
* @property {vertexvis.protobuf.stream.IGetStencilBufferPayload|null} [getStencilBuffer] StreamRequest getStencilBuffer
|
|
12874
13088
|
* @property {vertexvis.protobuf.stream.IResetViewPlayload|null} [resetView] StreamRequest resetView
|
|
12875
13089
|
* @property {vertexvis.protobuf.stream.IRefreshTokenPayload|null} [refreshToken] StreamRequest refreshToken
|
|
13090
|
+
* @property {vertexvis.protobuf.stream.IUpdateInteractionPayload|null} [updateInteraction] StreamRequest updateInteraction
|
|
12876
13091
|
*/
|
|
12877
13092
|
|
|
12878
13093
|
/**
|
|
@@ -13050,17 +13265,25 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13050
13265
|
*/
|
|
13051
13266
|
StreamRequest.prototype.refreshToken = null;
|
|
13052
13267
|
|
|
13268
|
+
/**
|
|
13269
|
+
* StreamRequest updateInteraction.
|
|
13270
|
+
* @member {vertexvis.protobuf.stream.IUpdateInteractionPayload|null|undefined} updateInteraction
|
|
13271
|
+
* @memberof vertexvis.protobuf.stream.StreamRequest
|
|
13272
|
+
* @instance
|
|
13273
|
+
*/
|
|
13274
|
+
StreamRequest.prototype.updateInteraction = null;
|
|
13275
|
+
|
|
13053
13276
|
// OneOf field names bound to virtual getters and setters
|
|
13054
13277
|
let $oneOfFields;
|
|
13055
13278
|
|
|
13056
13279
|
/**
|
|
13057
13280
|
* StreamRequest payload.
|
|
13058
|
-
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"createSceneAlteration"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"getStencilBuffer"|"resetView"|"refreshToken"|undefined} payload
|
|
13281
|
+
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"createSceneAlteration"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"getStencilBuffer"|"resetView"|"refreshToken"|"updateInteraction"|undefined} payload
|
|
13059
13282
|
* @memberof vertexvis.protobuf.stream.StreamRequest
|
|
13060
13283
|
* @instance
|
|
13061
13284
|
*/
|
|
13062
13285
|
Object.defineProperty(StreamRequest.prototype, "payload", {
|
|
13063
|
-
get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "createSceneAlteration", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "getStencilBuffer", "resetView", "refreshToken"]),
|
|
13286
|
+
get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "createSceneAlteration", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "getStencilBuffer", "resetView", "refreshToken", "updateInteraction"]),
|
|
13064
13287
|
set: $util.oneOfSetter($oneOfFields)
|
|
13065
13288
|
});
|
|
13066
13289
|
|
|
@@ -13128,6 +13351,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13128
13351
|
$root.vertexvis.protobuf.stream.ResetViewPlayload.encode(message.resetView, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
|
|
13129
13352
|
if (message.refreshToken != null && Object.hasOwnProperty.call(message, "refreshToken"))
|
|
13130
13353
|
$root.vertexvis.protobuf.stream.RefreshTokenPayload.encode(message.refreshToken, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
|
|
13354
|
+
if (message.updateInteraction != null && Object.hasOwnProperty.call(message, "updateInteraction"))
|
|
13355
|
+
$root.vertexvis.protobuf.stream.UpdateInteractionPayload.encode(message.updateInteraction, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
13131
13356
|
return writer;
|
|
13132
13357
|
};
|
|
13133
13358
|
|
|
@@ -13222,6 +13447,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13222
13447
|
case 20:
|
|
13223
13448
|
message.refreshToken = $root.vertexvis.protobuf.stream.RefreshTokenPayload.decode(reader, reader.uint32());
|
|
13224
13449
|
break;
|
|
13450
|
+
case 21:
|
|
13451
|
+
message.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionPayload.decode(reader, reader.uint32());
|
|
13452
|
+
break;
|
|
13225
13453
|
default:
|
|
13226
13454
|
reader.skipType(tag & 7);
|
|
13227
13455
|
break;
|
|
@@ -13451,6 +13679,16 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13451
13679
|
return "refreshToken." + error;
|
|
13452
13680
|
}
|
|
13453
13681
|
}
|
|
13682
|
+
if (message.updateInteraction != null && message.hasOwnProperty("updateInteraction")) {
|
|
13683
|
+
if (properties.payload === 1)
|
|
13684
|
+
return "payload: multiple values";
|
|
13685
|
+
properties.payload = 1;
|
|
13686
|
+
{
|
|
13687
|
+
let error = $root.vertexvis.protobuf.stream.UpdateInteractionPayload.verify(message.updateInteraction);
|
|
13688
|
+
if (error)
|
|
13689
|
+
return "updateInteraction." + error;
|
|
13690
|
+
}
|
|
13691
|
+
}
|
|
13454
13692
|
return null;
|
|
13455
13693
|
};
|
|
13456
13694
|
|
|
@@ -13566,6 +13804,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13566
13804
|
throw TypeError(".vertexvis.protobuf.stream.StreamRequest.refreshToken: object expected");
|
|
13567
13805
|
message.refreshToken = $root.vertexvis.protobuf.stream.RefreshTokenPayload.fromObject(object.refreshToken);
|
|
13568
13806
|
}
|
|
13807
|
+
if (object.updateInteraction != null) {
|
|
13808
|
+
if (typeof object.updateInteraction !== "object")
|
|
13809
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamRequest.updateInteraction: object expected");
|
|
13810
|
+
message.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionPayload.fromObject(object.updateInteraction);
|
|
13811
|
+
}
|
|
13569
13812
|
return message;
|
|
13570
13813
|
};
|
|
13571
13814
|
|
|
@@ -13681,6 +13924,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
13681
13924
|
if (options.oneofs)
|
|
13682
13925
|
object.payload = "refreshToken";
|
|
13683
13926
|
}
|
|
13927
|
+
if (message.updateInteraction != null && message.hasOwnProperty("updateInteraction")) {
|
|
13928
|
+
object.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionPayload.toObject(message.updateInteraction, options);
|
|
13929
|
+
if (options.oneofs)
|
|
13930
|
+
object.payload = "updateInteraction";
|
|
13931
|
+
}
|
|
13684
13932
|
return object;
|
|
13685
13933
|
};
|
|
13686
13934
|
|
|
@@ -14252,6 +14500,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14252
14500
|
* Properties of a BeginInteractionPayload.
|
|
14253
14501
|
* @memberof vertexvis.protobuf.stream
|
|
14254
14502
|
* @interface IBeginInteractionPayload
|
|
14503
|
+
* @property {vertexvis.protobuf.stream.ITransformInteraction|null} [transform] BeginInteractionPayload transform
|
|
14255
14504
|
*/
|
|
14256
14505
|
|
|
14257
14506
|
/**
|
|
@@ -14269,6 +14518,28 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14269
14518
|
this[keys[i]] = properties[keys[i]];
|
|
14270
14519
|
}
|
|
14271
14520
|
|
|
14521
|
+
/**
|
|
14522
|
+
* BeginInteractionPayload transform.
|
|
14523
|
+
* @member {vertexvis.protobuf.stream.ITransformInteraction|null|undefined} transform
|
|
14524
|
+
* @memberof vertexvis.protobuf.stream.BeginInteractionPayload
|
|
14525
|
+
* @instance
|
|
14526
|
+
*/
|
|
14527
|
+
BeginInteractionPayload.prototype.transform = null;
|
|
14528
|
+
|
|
14529
|
+
// OneOf field names bound to virtual getters and setters
|
|
14530
|
+
let $oneOfFields;
|
|
14531
|
+
|
|
14532
|
+
/**
|
|
14533
|
+
* BeginInteractionPayload interaction.
|
|
14534
|
+
* @member {"transform"|undefined} interaction
|
|
14535
|
+
* @memberof vertexvis.protobuf.stream.BeginInteractionPayload
|
|
14536
|
+
* @instance
|
|
14537
|
+
*/
|
|
14538
|
+
Object.defineProperty(BeginInteractionPayload.prototype, "interaction", {
|
|
14539
|
+
get: $util.oneOfGetter($oneOfFields = ["transform"]),
|
|
14540
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
14541
|
+
});
|
|
14542
|
+
|
|
14272
14543
|
/**
|
|
14273
14544
|
* Creates a new BeginInteractionPayload instance using the specified properties.
|
|
14274
14545
|
* @function create
|
|
@@ -14293,6 +14564,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14293
14564
|
BeginInteractionPayload.encode = function encode(message, writer) {
|
|
14294
14565
|
if (!writer)
|
|
14295
14566
|
writer = $Writer.create();
|
|
14567
|
+
if (message.transform != null && Object.hasOwnProperty.call(message, "transform"))
|
|
14568
|
+
$root.vertexvis.protobuf.stream.TransformInteraction.encode(message.transform, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
14296
14569
|
return writer;
|
|
14297
14570
|
};
|
|
14298
14571
|
|
|
@@ -14327,6 +14600,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14327
14600
|
while (reader.pos < end) {
|
|
14328
14601
|
let tag = reader.uint32();
|
|
14329
14602
|
switch (tag >>> 3) {
|
|
14603
|
+
case 1:
|
|
14604
|
+
message.transform = $root.vertexvis.protobuf.stream.TransformInteraction.decode(reader, reader.uint32());
|
|
14605
|
+
break;
|
|
14330
14606
|
default:
|
|
14331
14607
|
reader.skipType(tag & 7);
|
|
14332
14608
|
break;
|
|
@@ -14362,6 +14638,13 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14362
14638
|
BeginInteractionPayload.verify = function verify(message) {
|
|
14363
14639
|
if (typeof message !== "object" || message === null)
|
|
14364
14640
|
return "object expected";
|
|
14641
|
+
if (message.transform != null && message.hasOwnProperty("transform")) {
|
|
14642
|
+
{
|
|
14643
|
+
let error = $root.vertexvis.protobuf.stream.TransformInteraction.verify(message.transform);
|
|
14644
|
+
if (error)
|
|
14645
|
+
return "transform." + error;
|
|
14646
|
+
}
|
|
14647
|
+
}
|
|
14365
14648
|
return null;
|
|
14366
14649
|
};
|
|
14367
14650
|
|
|
@@ -14376,7 +14659,13 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14376
14659
|
BeginInteractionPayload.fromObject = function fromObject(object) {
|
|
14377
14660
|
if (object instanceof $root.vertexvis.protobuf.stream.BeginInteractionPayload)
|
|
14378
14661
|
return object;
|
|
14379
|
-
|
|
14662
|
+
let message = new $root.vertexvis.protobuf.stream.BeginInteractionPayload();
|
|
14663
|
+
if (object.transform != null) {
|
|
14664
|
+
if (typeof object.transform !== "object")
|
|
14665
|
+
throw TypeError(".vertexvis.protobuf.stream.BeginInteractionPayload.transform: object expected");
|
|
14666
|
+
message.transform = $root.vertexvis.protobuf.stream.TransformInteraction.fromObject(object.transform);
|
|
14667
|
+
}
|
|
14668
|
+
return message;
|
|
14380
14669
|
};
|
|
14381
14670
|
|
|
14382
14671
|
/**
|
|
@@ -14388,8 +14677,16 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14388
14677
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
14389
14678
|
* @returns {Object.<string,*>} Plain object
|
|
14390
14679
|
*/
|
|
14391
|
-
BeginInteractionPayload.toObject = function toObject() {
|
|
14392
|
-
|
|
14680
|
+
BeginInteractionPayload.toObject = function toObject(message, options) {
|
|
14681
|
+
if (!options)
|
|
14682
|
+
options = {};
|
|
14683
|
+
let object = {};
|
|
14684
|
+
if (message.transform != null && message.hasOwnProperty("transform")) {
|
|
14685
|
+
object.transform = $root.vertexvis.protobuf.stream.TransformInteraction.toObject(message.transform, options);
|
|
14686
|
+
if (options.oneofs)
|
|
14687
|
+
object.interaction = "transform";
|
|
14688
|
+
}
|
|
14689
|
+
return object;
|
|
14393
14690
|
};
|
|
14394
14691
|
|
|
14395
14692
|
/**
|
|
@@ -14406,6 +14703,243 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14406
14703
|
return BeginInteractionPayload;
|
|
14407
14704
|
})();
|
|
14408
14705
|
|
|
14706
|
+
stream.UpdateInteractionPayload = (function() {
|
|
14707
|
+
|
|
14708
|
+
/**
|
|
14709
|
+
* Properties of an UpdateInteractionPayload.
|
|
14710
|
+
* @memberof vertexvis.protobuf.stream
|
|
14711
|
+
* @interface IUpdateInteractionPayload
|
|
14712
|
+
* @property {google.protobuf.IStringValue|null} [frameCorrelationId] UpdateInteractionPayload frameCorrelationId
|
|
14713
|
+
* @property {vertexvis.protobuf.stream.ITransformInteraction|null} [transform] UpdateInteractionPayload transform
|
|
14714
|
+
*/
|
|
14715
|
+
|
|
14716
|
+
/**
|
|
14717
|
+
* Constructs a new UpdateInteractionPayload.
|
|
14718
|
+
* @memberof vertexvis.protobuf.stream
|
|
14719
|
+
* @classdesc Represents an UpdateInteractionPayload.
|
|
14720
|
+
* @implements IUpdateInteractionPayload
|
|
14721
|
+
* @constructor
|
|
14722
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionPayload=} [properties] Properties to set
|
|
14723
|
+
*/
|
|
14724
|
+
function UpdateInteractionPayload(properties) {
|
|
14725
|
+
if (properties)
|
|
14726
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
14727
|
+
if (properties[keys[i]] != null)
|
|
14728
|
+
this[keys[i]] = properties[keys[i]];
|
|
14729
|
+
}
|
|
14730
|
+
|
|
14731
|
+
/**
|
|
14732
|
+
* UpdateInteractionPayload frameCorrelationId.
|
|
14733
|
+
* @member {google.protobuf.IStringValue|null|undefined} frameCorrelationId
|
|
14734
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14735
|
+
* @instance
|
|
14736
|
+
*/
|
|
14737
|
+
UpdateInteractionPayload.prototype.frameCorrelationId = null;
|
|
14738
|
+
|
|
14739
|
+
/**
|
|
14740
|
+
* UpdateInteractionPayload transform.
|
|
14741
|
+
* @member {vertexvis.protobuf.stream.ITransformInteraction|null|undefined} transform
|
|
14742
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14743
|
+
* @instance
|
|
14744
|
+
*/
|
|
14745
|
+
UpdateInteractionPayload.prototype.transform = null;
|
|
14746
|
+
|
|
14747
|
+
// OneOf field names bound to virtual getters and setters
|
|
14748
|
+
let $oneOfFields;
|
|
14749
|
+
|
|
14750
|
+
/**
|
|
14751
|
+
* UpdateInteractionPayload interaction.
|
|
14752
|
+
* @member {"transform"|undefined} interaction
|
|
14753
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14754
|
+
* @instance
|
|
14755
|
+
*/
|
|
14756
|
+
Object.defineProperty(UpdateInteractionPayload.prototype, "interaction", {
|
|
14757
|
+
get: $util.oneOfGetter($oneOfFields = ["transform"]),
|
|
14758
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
14759
|
+
});
|
|
14760
|
+
|
|
14761
|
+
/**
|
|
14762
|
+
* Creates a new UpdateInteractionPayload instance using the specified properties.
|
|
14763
|
+
* @function create
|
|
14764
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14765
|
+
* @static
|
|
14766
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionPayload=} [properties] Properties to set
|
|
14767
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionPayload} UpdateInteractionPayload instance
|
|
14768
|
+
*/
|
|
14769
|
+
UpdateInteractionPayload.create = function create(properties) {
|
|
14770
|
+
return new UpdateInteractionPayload(properties);
|
|
14771
|
+
};
|
|
14772
|
+
|
|
14773
|
+
/**
|
|
14774
|
+
* Encodes the specified UpdateInteractionPayload message. Does not implicitly {@link vertexvis.protobuf.stream.UpdateInteractionPayload.verify|verify} messages.
|
|
14775
|
+
* @function encode
|
|
14776
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14777
|
+
* @static
|
|
14778
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionPayload} message UpdateInteractionPayload message or plain object to encode
|
|
14779
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14780
|
+
* @returns {$protobuf.Writer} Writer
|
|
14781
|
+
*/
|
|
14782
|
+
UpdateInteractionPayload.encode = function encode(message, writer) {
|
|
14783
|
+
if (!writer)
|
|
14784
|
+
writer = $Writer.create();
|
|
14785
|
+
if (message.frameCorrelationId != null && Object.hasOwnProperty.call(message, "frameCorrelationId"))
|
|
14786
|
+
$root.google.protobuf.StringValue.encode(message.frameCorrelationId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
14787
|
+
if (message.transform != null && Object.hasOwnProperty.call(message, "transform"))
|
|
14788
|
+
$root.vertexvis.protobuf.stream.TransformInteraction.encode(message.transform, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
14789
|
+
return writer;
|
|
14790
|
+
};
|
|
14791
|
+
|
|
14792
|
+
/**
|
|
14793
|
+
* Encodes the specified UpdateInteractionPayload message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.UpdateInteractionPayload.verify|verify} messages.
|
|
14794
|
+
* @function encodeDelimited
|
|
14795
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14796
|
+
* @static
|
|
14797
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionPayload} message UpdateInteractionPayload message or plain object to encode
|
|
14798
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14799
|
+
* @returns {$protobuf.Writer} Writer
|
|
14800
|
+
*/
|
|
14801
|
+
UpdateInteractionPayload.encodeDelimited = function encodeDelimited(message, writer) {
|
|
14802
|
+
return this.encode(message, writer).ldelim();
|
|
14803
|
+
};
|
|
14804
|
+
|
|
14805
|
+
/**
|
|
14806
|
+
* Decodes an UpdateInteractionPayload message from the specified reader or buffer.
|
|
14807
|
+
* @function decode
|
|
14808
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14809
|
+
* @static
|
|
14810
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14811
|
+
* @param {number} [length] Message length if known beforehand
|
|
14812
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionPayload} UpdateInteractionPayload
|
|
14813
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14814
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14815
|
+
*/
|
|
14816
|
+
UpdateInteractionPayload.decode = function decode(reader, length) {
|
|
14817
|
+
if (!(reader instanceof $Reader))
|
|
14818
|
+
reader = $Reader.create(reader);
|
|
14819
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.UpdateInteractionPayload();
|
|
14820
|
+
while (reader.pos < end) {
|
|
14821
|
+
let tag = reader.uint32();
|
|
14822
|
+
switch (tag >>> 3) {
|
|
14823
|
+
case 1:
|
|
14824
|
+
message.frameCorrelationId = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
|
|
14825
|
+
break;
|
|
14826
|
+
case 2:
|
|
14827
|
+
message.transform = $root.vertexvis.protobuf.stream.TransformInteraction.decode(reader, reader.uint32());
|
|
14828
|
+
break;
|
|
14829
|
+
default:
|
|
14830
|
+
reader.skipType(tag & 7);
|
|
14831
|
+
break;
|
|
14832
|
+
}
|
|
14833
|
+
}
|
|
14834
|
+
return message;
|
|
14835
|
+
};
|
|
14836
|
+
|
|
14837
|
+
/**
|
|
14838
|
+
* Decodes an UpdateInteractionPayload message from the specified reader or buffer, length delimited.
|
|
14839
|
+
* @function decodeDelimited
|
|
14840
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14841
|
+
* @static
|
|
14842
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14843
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionPayload} UpdateInteractionPayload
|
|
14844
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14845
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14846
|
+
*/
|
|
14847
|
+
UpdateInteractionPayload.decodeDelimited = function decodeDelimited(reader) {
|
|
14848
|
+
if (!(reader instanceof $Reader))
|
|
14849
|
+
reader = new $Reader(reader);
|
|
14850
|
+
return this.decode(reader, reader.uint32());
|
|
14851
|
+
};
|
|
14852
|
+
|
|
14853
|
+
/**
|
|
14854
|
+
* Verifies an UpdateInteractionPayload message.
|
|
14855
|
+
* @function verify
|
|
14856
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14857
|
+
* @static
|
|
14858
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
14859
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
14860
|
+
*/
|
|
14861
|
+
UpdateInteractionPayload.verify = function verify(message) {
|
|
14862
|
+
if (typeof message !== "object" || message === null)
|
|
14863
|
+
return "object expected";
|
|
14864
|
+
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId")) {
|
|
14865
|
+
let error = $root.google.protobuf.StringValue.verify(message.frameCorrelationId);
|
|
14866
|
+
if (error)
|
|
14867
|
+
return "frameCorrelationId." + error;
|
|
14868
|
+
}
|
|
14869
|
+
if (message.transform != null && message.hasOwnProperty("transform")) {
|
|
14870
|
+
{
|
|
14871
|
+
let error = $root.vertexvis.protobuf.stream.TransformInteraction.verify(message.transform);
|
|
14872
|
+
if (error)
|
|
14873
|
+
return "transform." + error;
|
|
14874
|
+
}
|
|
14875
|
+
}
|
|
14876
|
+
return null;
|
|
14877
|
+
};
|
|
14878
|
+
|
|
14879
|
+
/**
|
|
14880
|
+
* Creates an UpdateInteractionPayload message from a plain object. Also converts values to their respective internal types.
|
|
14881
|
+
* @function fromObject
|
|
14882
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14883
|
+
* @static
|
|
14884
|
+
* @param {Object.<string,*>} object Plain object
|
|
14885
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionPayload} UpdateInteractionPayload
|
|
14886
|
+
*/
|
|
14887
|
+
UpdateInteractionPayload.fromObject = function fromObject(object) {
|
|
14888
|
+
if (object instanceof $root.vertexvis.protobuf.stream.UpdateInteractionPayload)
|
|
14889
|
+
return object;
|
|
14890
|
+
let message = new $root.vertexvis.protobuf.stream.UpdateInteractionPayload();
|
|
14891
|
+
if (object.frameCorrelationId != null) {
|
|
14892
|
+
if (typeof object.frameCorrelationId !== "object")
|
|
14893
|
+
throw TypeError(".vertexvis.protobuf.stream.UpdateInteractionPayload.frameCorrelationId: object expected");
|
|
14894
|
+
message.frameCorrelationId = $root.google.protobuf.StringValue.fromObject(object.frameCorrelationId);
|
|
14895
|
+
}
|
|
14896
|
+
if (object.transform != null) {
|
|
14897
|
+
if (typeof object.transform !== "object")
|
|
14898
|
+
throw TypeError(".vertexvis.protobuf.stream.UpdateInteractionPayload.transform: object expected");
|
|
14899
|
+
message.transform = $root.vertexvis.protobuf.stream.TransformInteraction.fromObject(object.transform);
|
|
14900
|
+
}
|
|
14901
|
+
return message;
|
|
14902
|
+
};
|
|
14903
|
+
|
|
14904
|
+
/**
|
|
14905
|
+
* Creates a plain object from an UpdateInteractionPayload message. Also converts values to other types if specified.
|
|
14906
|
+
* @function toObject
|
|
14907
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14908
|
+
* @static
|
|
14909
|
+
* @param {vertexvis.protobuf.stream.UpdateInteractionPayload} message UpdateInteractionPayload
|
|
14910
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
14911
|
+
* @returns {Object.<string,*>} Plain object
|
|
14912
|
+
*/
|
|
14913
|
+
UpdateInteractionPayload.toObject = function toObject(message, options) {
|
|
14914
|
+
if (!options)
|
|
14915
|
+
options = {};
|
|
14916
|
+
let object = {};
|
|
14917
|
+
if (options.defaults)
|
|
14918
|
+
object.frameCorrelationId = null;
|
|
14919
|
+
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId"))
|
|
14920
|
+
object.frameCorrelationId = $root.google.protobuf.StringValue.toObject(message.frameCorrelationId, options);
|
|
14921
|
+
if (message.transform != null && message.hasOwnProperty("transform")) {
|
|
14922
|
+
object.transform = $root.vertexvis.protobuf.stream.TransformInteraction.toObject(message.transform, options);
|
|
14923
|
+
if (options.oneofs)
|
|
14924
|
+
object.interaction = "transform";
|
|
14925
|
+
}
|
|
14926
|
+
return object;
|
|
14927
|
+
};
|
|
14928
|
+
|
|
14929
|
+
/**
|
|
14930
|
+
* Converts this UpdateInteractionPayload to JSON.
|
|
14931
|
+
* @function toJSON
|
|
14932
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionPayload
|
|
14933
|
+
* @instance
|
|
14934
|
+
* @returns {Object.<string,*>} JSON object
|
|
14935
|
+
*/
|
|
14936
|
+
UpdateInteractionPayload.prototype.toJSON = function toJSON() {
|
|
14937
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
14938
|
+
};
|
|
14939
|
+
|
|
14940
|
+
return UpdateInteractionPayload;
|
|
14941
|
+
})();
|
|
14942
|
+
|
|
14409
14943
|
stream.EndInteractionPayload = (function() {
|
|
14410
14944
|
|
|
14411
14945
|
/**
|
|
@@ -14413,6 +14947,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14413
14947
|
* @memberof vertexvis.protobuf.stream
|
|
14414
14948
|
* @interface IEndInteractionPayload
|
|
14415
14949
|
* @property {google.protobuf.IStringValue|null} [frameCorrelationId] EndInteractionPayload frameCorrelationId
|
|
14950
|
+
* @property {vertexvis.protobuf.stream.ITransformInteraction|null} [transform] EndInteractionPayload transform
|
|
14416
14951
|
*/
|
|
14417
14952
|
|
|
14418
14953
|
/**
|
|
@@ -14438,6 +14973,28 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14438
14973
|
*/
|
|
14439
14974
|
EndInteractionPayload.prototype.frameCorrelationId = null;
|
|
14440
14975
|
|
|
14976
|
+
/**
|
|
14977
|
+
* EndInteractionPayload transform.
|
|
14978
|
+
* @member {vertexvis.protobuf.stream.ITransformInteraction|null|undefined} transform
|
|
14979
|
+
* @memberof vertexvis.protobuf.stream.EndInteractionPayload
|
|
14980
|
+
* @instance
|
|
14981
|
+
*/
|
|
14982
|
+
EndInteractionPayload.prototype.transform = null;
|
|
14983
|
+
|
|
14984
|
+
// OneOf field names bound to virtual getters and setters
|
|
14985
|
+
let $oneOfFields;
|
|
14986
|
+
|
|
14987
|
+
/**
|
|
14988
|
+
* EndInteractionPayload interaction.
|
|
14989
|
+
* @member {"transform"|undefined} interaction
|
|
14990
|
+
* @memberof vertexvis.protobuf.stream.EndInteractionPayload
|
|
14991
|
+
* @instance
|
|
14992
|
+
*/
|
|
14993
|
+
Object.defineProperty(EndInteractionPayload.prototype, "interaction", {
|
|
14994
|
+
get: $util.oneOfGetter($oneOfFields = ["transform"]),
|
|
14995
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
14996
|
+
});
|
|
14997
|
+
|
|
14441
14998
|
/**
|
|
14442
14999
|
* Creates a new EndInteractionPayload instance using the specified properties.
|
|
14443
15000
|
* @function create
|
|
@@ -14464,6 +15021,8 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14464
15021
|
writer = $Writer.create();
|
|
14465
15022
|
if (message.frameCorrelationId != null && Object.hasOwnProperty.call(message, "frameCorrelationId"))
|
|
14466
15023
|
$root.google.protobuf.StringValue.encode(message.frameCorrelationId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
15024
|
+
if (message.transform != null && Object.hasOwnProperty.call(message, "transform"))
|
|
15025
|
+
$root.vertexvis.protobuf.stream.TransformInteraction.encode(message.transform, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
14467
15026
|
return writer;
|
|
14468
15027
|
};
|
|
14469
15028
|
|
|
@@ -14501,6 +15060,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14501
15060
|
case 1:
|
|
14502
15061
|
message.frameCorrelationId = $root.google.protobuf.StringValue.decode(reader, reader.uint32());
|
|
14503
15062
|
break;
|
|
15063
|
+
case 2:
|
|
15064
|
+
message.transform = $root.vertexvis.protobuf.stream.TransformInteraction.decode(reader, reader.uint32());
|
|
15065
|
+
break;
|
|
14504
15066
|
default:
|
|
14505
15067
|
reader.skipType(tag & 7);
|
|
14506
15068
|
break;
|
|
@@ -14541,6 +15103,13 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14541
15103
|
if (error)
|
|
14542
15104
|
return "frameCorrelationId." + error;
|
|
14543
15105
|
}
|
|
15106
|
+
if (message.transform != null && message.hasOwnProperty("transform")) {
|
|
15107
|
+
{
|
|
15108
|
+
let error = $root.vertexvis.protobuf.stream.TransformInteraction.verify(message.transform);
|
|
15109
|
+
if (error)
|
|
15110
|
+
return "transform." + error;
|
|
15111
|
+
}
|
|
15112
|
+
}
|
|
14544
15113
|
return null;
|
|
14545
15114
|
};
|
|
14546
15115
|
|
|
@@ -14561,6 +15130,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14561
15130
|
throw TypeError(".vertexvis.protobuf.stream.EndInteractionPayload.frameCorrelationId: object expected");
|
|
14562
15131
|
message.frameCorrelationId = $root.google.protobuf.StringValue.fromObject(object.frameCorrelationId);
|
|
14563
15132
|
}
|
|
15133
|
+
if (object.transform != null) {
|
|
15134
|
+
if (typeof object.transform !== "object")
|
|
15135
|
+
throw TypeError(".vertexvis.protobuf.stream.EndInteractionPayload.transform: object expected");
|
|
15136
|
+
message.transform = $root.vertexvis.protobuf.stream.TransformInteraction.fromObject(object.transform);
|
|
15137
|
+
}
|
|
14564
15138
|
return message;
|
|
14565
15139
|
};
|
|
14566
15140
|
|
|
@@ -14581,6 +15155,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
14581
15155
|
object.frameCorrelationId = null;
|
|
14582
15156
|
if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId"))
|
|
14583
15157
|
object.frameCorrelationId = $root.google.protobuf.StringValue.toObject(message.frameCorrelationId, options);
|
|
15158
|
+
if (message.transform != null && message.hasOwnProperty("transform")) {
|
|
15159
|
+
object.transform = $root.vertexvis.protobuf.stream.TransformInteraction.toObject(message.transform, options);
|
|
15160
|
+
if (options.oneofs)
|
|
15161
|
+
object.interaction = "transform";
|
|
15162
|
+
}
|
|
14584
15163
|
return object;
|
|
14585
15164
|
};
|
|
14586
15165
|
|
|
@@ -18198,6 +18777,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18198
18777
|
* @property {vertexvis.protobuf.stream.IUpdateCameraResult|null} [updateCamera] StreamResponse updateCamera
|
|
18199
18778
|
* @property {vertexvis.protobuf.stream.IBeginInteractionResult|null} [beginInteraction] StreamResponse beginInteraction
|
|
18200
18779
|
* @property {vertexvis.protobuf.stream.IEndInteractionResult|null} [endInteraction] StreamResponse endInteraction
|
|
18780
|
+
* @property {vertexvis.protobuf.stream.IGracefulReconnectionResult|null} [gracefulReconnection] StreamResponse gracefulReconnection
|
|
18201
18781
|
* @property {vertexvis.protobuf.stream.IReconnectResult|null} [reconnect] StreamResponse reconnect
|
|
18202
18782
|
* @property {vertexvis.protobuf.stream.IHitItemsResult|null} [hitItems] StreamResponse hitItems
|
|
18203
18783
|
* @property {vertexvis.protobuf.stream.IDrawFrameResult|null} [drawFrame] StreamResponse drawFrame
|
|
@@ -18211,6 +18791,7 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18211
18791
|
* @property {vertexvis.protobuf.stream.IGetStencilBufferResult|null} [stencilBuffer] StreamResponse stencilBuffer
|
|
18212
18792
|
* @property {vertexvis.protobuf.stream.IResetViewResult|null} [resetView] StreamResponse resetView
|
|
18213
18793
|
* @property {vertexvis.protobuf.stream.IRefreshTokenResult|null} [refreshToken] StreamResponse refreshToken
|
|
18794
|
+
* @property {vertexvis.protobuf.stream.IUpdateInteractionResult|null} [updateInteraction] StreamResponse updateInteraction
|
|
18214
18795
|
*/
|
|
18215
18796
|
|
|
18216
18797
|
/**
|
|
@@ -18276,6 +18857,14 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18276
18857
|
*/
|
|
18277
18858
|
StreamResponse.prototype.endInteraction = null;
|
|
18278
18859
|
|
|
18860
|
+
/**
|
|
18861
|
+
* StreamResponse gracefulReconnection.
|
|
18862
|
+
* @member {vertexvis.protobuf.stream.IGracefulReconnectionResult|null|undefined} gracefulReconnection
|
|
18863
|
+
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
18864
|
+
* @instance
|
|
18865
|
+
*/
|
|
18866
|
+
StreamResponse.prototype.gracefulReconnection = null;
|
|
18867
|
+
|
|
18279
18868
|
/**
|
|
18280
18869
|
* StreamResponse reconnect.
|
|
18281
18870
|
* @member {vertexvis.protobuf.stream.IReconnectResult|null|undefined} reconnect
|
|
@@ -18380,17 +18969,25 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18380
18969
|
*/
|
|
18381
18970
|
StreamResponse.prototype.refreshToken = null;
|
|
18382
18971
|
|
|
18972
|
+
/**
|
|
18973
|
+
* StreamResponse updateInteraction.
|
|
18974
|
+
* @member {vertexvis.protobuf.stream.IUpdateInteractionResult|null|undefined} updateInteraction
|
|
18975
|
+
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
18976
|
+
* @instance
|
|
18977
|
+
*/
|
|
18978
|
+
StreamResponse.prototype.updateInteraction = null;
|
|
18979
|
+
|
|
18383
18980
|
// OneOf field names bound to virtual getters and setters
|
|
18384
18981
|
let $oneOfFields;
|
|
18385
18982
|
|
|
18386
18983
|
/**
|
|
18387
18984
|
* StreamResponse result.
|
|
18388
|
-
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"reconnect"|"hitItems"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"stencilBuffer"|"resetView"|"refreshToken"|undefined} result
|
|
18985
|
+
* @member {"startStream"|"updateCamera"|"beginInteraction"|"endInteraction"|"gracefulReconnection"|"reconnect"|"hitItems"|"drawFrame"|"syncTime"|"recordPerformance"|"updateDimensions"|"updateStream"|"flyTo"|"loadSceneViewState"|"updateCrossSectioning"|"stencilBuffer"|"resetView"|"refreshToken"|"updateInteraction"|undefined} result
|
|
18389
18986
|
* @memberof vertexvis.protobuf.stream.StreamResponse
|
|
18390
18987
|
* @instance
|
|
18391
18988
|
*/
|
|
18392
18989
|
Object.defineProperty(StreamResponse.prototype, "result", {
|
|
18393
|
-
get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "reconnect", "hitItems", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "stencilBuffer", "resetView", "refreshToken"]),
|
|
18990
|
+
get: $util.oneOfGetter($oneOfFields = ["startStream", "updateCamera", "beginInteraction", "endInteraction", "gracefulReconnection", "reconnect", "hitItems", "drawFrame", "syncTime", "recordPerformance", "updateDimensions", "updateStream", "flyTo", "loadSceneViewState", "updateCrossSectioning", "stencilBuffer", "resetView", "refreshToken", "updateInteraction"]),
|
|
18394
18991
|
set: $util.oneOfSetter($oneOfFields)
|
|
18395
18992
|
});
|
|
18396
18993
|
|
|
@@ -18456,6 +19053,10 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18456
19053
|
$root.vertexvis.protobuf.stream.ResetViewResult.encode(message.resetView, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
|
|
18457
19054
|
if (message.refreshToken != null && Object.hasOwnProperty.call(message, "refreshToken"))
|
|
18458
19055
|
$root.vertexvis.protobuf.stream.RefreshTokenResult.encode(message.refreshToken, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
|
|
19056
|
+
if (message.gracefulReconnection != null && Object.hasOwnProperty.call(message, "gracefulReconnection"))
|
|
19057
|
+
$root.vertexvis.protobuf.stream.GracefulReconnectionResult.encode(message.gracefulReconnection, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
|
|
19058
|
+
if (message.updateInteraction != null && Object.hasOwnProperty.call(message, "updateInteraction"))
|
|
19059
|
+
$root.vertexvis.protobuf.stream.UpdateInteractionResult.encode(message.updateInteraction, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
18459
19060
|
return writer;
|
|
18460
19061
|
};
|
|
18461
19062
|
|
|
@@ -18508,6 +19109,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18508
19109
|
case 6:
|
|
18509
19110
|
message.endInteraction = $root.vertexvis.protobuf.stream.EndInteractionResult.decode(reader, reader.uint32());
|
|
18510
19111
|
break;
|
|
19112
|
+
case 20:
|
|
19113
|
+
message.gracefulReconnection = $root.vertexvis.protobuf.stream.GracefulReconnectionResult.decode(reader, reader.uint32());
|
|
19114
|
+
break;
|
|
18511
19115
|
case 7:
|
|
18512
19116
|
message.reconnect = $root.vertexvis.protobuf.stream.ReconnectResult.decode(reader, reader.uint32());
|
|
18513
19117
|
break;
|
|
@@ -18547,6 +19151,9 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18547
19151
|
case 19:
|
|
18548
19152
|
message.refreshToken = $root.vertexvis.protobuf.stream.RefreshTokenResult.decode(reader, reader.uint32());
|
|
18549
19153
|
break;
|
|
19154
|
+
case 21:
|
|
19155
|
+
message.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionResult.decode(reader, reader.uint32());
|
|
19156
|
+
break;
|
|
18550
19157
|
default:
|
|
18551
19158
|
reader.skipType(tag & 7);
|
|
18552
19159
|
break;
|
|
@@ -18626,9 +19233,19 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18626
19233
|
return "result: multiple values";
|
|
18627
19234
|
properties.result = 1;
|
|
18628
19235
|
{
|
|
18629
|
-
let error = $root.vertexvis.protobuf.stream.EndInteractionResult.verify(message.endInteraction);
|
|
19236
|
+
let error = $root.vertexvis.protobuf.stream.EndInteractionResult.verify(message.endInteraction);
|
|
19237
|
+
if (error)
|
|
19238
|
+
return "endInteraction." + error;
|
|
19239
|
+
}
|
|
19240
|
+
}
|
|
19241
|
+
if (message.gracefulReconnection != null && message.hasOwnProperty("gracefulReconnection")) {
|
|
19242
|
+
if (properties.result === 1)
|
|
19243
|
+
return "result: multiple values";
|
|
19244
|
+
properties.result = 1;
|
|
19245
|
+
{
|
|
19246
|
+
let error = $root.vertexvis.protobuf.stream.GracefulReconnectionResult.verify(message.gracefulReconnection);
|
|
18630
19247
|
if (error)
|
|
18631
|
-
return "
|
|
19248
|
+
return "gracefulReconnection." + error;
|
|
18632
19249
|
}
|
|
18633
19250
|
}
|
|
18634
19251
|
if (message.reconnect != null && message.hasOwnProperty("reconnect")) {
|
|
@@ -18761,6 +19378,16 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18761
19378
|
return "refreshToken." + error;
|
|
18762
19379
|
}
|
|
18763
19380
|
}
|
|
19381
|
+
if (message.updateInteraction != null && message.hasOwnProperty("updateInteraction")) {
|
|
19382
|
+
if (properties.result === 1)
|
|
19383
|
+
return "result: multiple values";
|
|
19384
|
+
properties.result = 1;
|
|
19385
|
+
{
|
|
19386
|
+
let error = $root.vertexvis.protobuf.stream.UpdateInteractionResult.verify(message.updateInteraction);
|
|
19387
|
+
if (error)
|
|
19388
|
+
return "updateInteraction." + error;
|
|
19389
|
+
}
|
|
19390
|
+
}
|
|
18764
19391
|
return null;
|
|
18765
19392
|
};
|
|
18766
19393
|
|
|
@@ -18806,6 +19433,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18806
19433
|
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.endInteraction: object expected");
|
|
18807
19434
|
message.endInteraction = $root.vertexvis.protobuf.stream.EndInteractionResult.fromObject(object.endInteraction);
|
|
18808
19435
|
}
|
|
19436
|
+
if (object.gracefulReconnection != null) {
|
|
19437
|
+
if (typeof object.gracefulReconnection !== "object")
|
|
19438
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.gracefulReconnection: object expected");
|
|
19439
|
+
message.gracefulReconnection = $root.vertexvis.protobuf.stream.GracefulReconnectionResult.fromObject(object.gracefulReconnection);
|
|
19440
|
+
}
|
|
18809
19441
|
if (object.reconnect != null) {
|
|
18810
19442
|
if (typeof object.reconnect !== "object")
|
|
18811
19443
|
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.reconnect: object expected");
|
|
@@ -18871,6 +19503,11 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18871
19503
|
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.refreshToken: object expected");
|
|
18872
19504
|
message.refreshToken = $root.vertexvis.protobuf.stream.RefreshTokenResult.fromObject(object.refreshToken);
|
|
18873
19505
|
}
|
|
19506
|
+
if (object.updateInteraction != null) {
|
|
19507
|
+
if (typeof object.updateInteraction !== "object")
|
|
19508
|
+
throw TypeError(".vertexvis.protobuf.stream.StreamResponse.updateInteraction: object expected");
|
|
19509
|
+
message.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionResult.fromObject(object.updateInteraction);
|
|
19510
|
+
}
|
|
18874
19511
|
return message;
|
|
18875
19512
|
};
|
|
18876
19513
|
|
|
@@ -18980,6 +19617,16 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
18980
19617
|
if (options.oneofs)
|
|
18981
19618
|
object.result = "refreshToken";
|
|
18982
19619
|
}
|
|
19620
|
+
if (message.gracefulReconnection != null && message.hasOwnProperty("gracefulReconnection")) {
|
|
19621
|
+
object.gracefulReconnection = $root.vertexvis.protobuf.stream.GracefulReconnectionResult.toObject(message.gracefulReconnection, options);
|
|
19622
|
+
if (options.oneofs)
|
|
19623
|
+
object.result = "gracefulReconnection";
|
|
19624
|
+
}
|
|
19625
|
+
if (message.updateInteraction != null && message.hasOwnProperty("updateInteraction")) {
|
|
19626
|
+
object.updateInteraction = $root.vertexvis.protobuf.stream.UpdateInteractionResult.toObject(message.updateInteraction, options);
|
|
19627
|
+
if (options.oneofs)
|
|
19628
|
+
object.result = "updateInteraction";
|
|
19629
|
+
}
|
|
18983
19630
|
return object;
|
|
18984
19631
|
};
|
|
18985
19632
|
|
|
@@ -19864,6 +20511,166 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
19864
20511
|
return BeginInteractionResult;
|
|
19865
20512
|
})();
|
|
19866
20513
|
|
|
20514
|
+
stream.UpdateInteractionResult = (function() {
|
|
20515
|
+
|
|
20516
|
+
/**
|
|
20517
|
+
* Properties of an UpdateInteractionResult.
|
|
20518
|
+
* @memberof vertexvis.protobuf.stream
|
|
20519
|
+
* @interface IUpdateInteractionResult
|
|
20520
|
+
*/
|
|
20521
|
+
|
|
20522
|
+
/**
|
|
20523
|
+
* Constructs a new UpdateInteractionResult.
|
|
20524
|
+
* @memberof vertexvis.protobuf.stream
|
|
20525
|
+
* @classdesc Represents an UpdateInteractionResult.
|
|
20526
|
+
* @implements IUpdateInteractionResult
|
|
20527
|
+
* @constructor
|
|
20528
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionResult=} [properties] Properties to set
|
|
20529
|
+
*/
|
|
20530
|
+
function UpdateInteractionResult(properties) {
|
|
20531
|
+
if (properties)
|
|
20532
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
20533
|
+
if (properties[keys[i]] != null)
|
|
20534
|
+
this[keys[i]] = properties[keys[i]];
|
|
20535
|
+
}
|
|
20536
|
+
|
|
20537
|
+
/**
|
|
20538
|
+
* Creates a new UpdateInteractionResult instance using the specified properties.
|
|
20539
|
+
* @function create
|
|
20540
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20541
|
+
* @static
|
|
20542
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionResult=} [properties] Properties to set
|
|
20543
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionResult} UpdateInteractionResult instance
|
|
20544
|
+
*/
|
|
20545
|
+
UpdateInteractionResult.create = function create(properties) {
|
|
20546
|
+
return new UpdateInteractionResult(properties);
|
|
20547
|
+
};
|
|
20548
|
+
|
|
20549
|
+
/**
|
|
20550
|
+
* Encodes the specified UpdateInteractionResult message. Does not implicitly {@link vertexvis.protobuf.stream.UpdateInteractionResult.verify|verify} messages.
|
|
20551
|
+
* @function encode
|
|
20552
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20553
|
+
* @static
|
|
20554
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionResult} message UpdateInteractionResult message or plain object to encode
|
|
20555
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
20556
|
+
* @returns {$protobuf.Writer} Writer
|
|
20557
|
+
*/
|
|
20558
|
+
UpdateInteractionResult.encode = function encode(message, writer) {
|
|
20559
|
+
if (!writer)
|
|
20560
|
+
writer = $Writer.create();
|
|
20561
|
+
return writer;
|
|
20562
|
+
};
|
|
20563
|
+
|
|
20564
|
+
/**
|
|
20565
|
+
* Encodes the specified UpdateInteractionResult message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.UpdateInteractionResult.verify|verify} messages.
|
|
20566
|
+
* @function encodeDelimited
|
|
20567
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20568
|
+
* @static
|
|
20569
|
+
* @param {vertexvis.protobuf.stream.IUpdateInteractionResult} message UpdateInteractionResult message or plain object to encode
|
|
20570
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
20571
|
+
* @returns {$protobuf.Writer} Writer
|
|
20572
|
+
*/
|
|
20573
|
+
UpdateInteractionResult.encodeDelimited = function encodeDelimited(message, writer) {
|
|
20574
|
+
return this.encode(message, writer).ldelim();
|
|
20575
|
+
};
|
|
20576
|
+
|
|
20577
|
+
/**
|
|
20578
|
+
* Decodes an UpdateInteractionResult message from the specified reader or buffer.
|
|
20579
|
+
* @function decode
|
|
20580
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20581
|
+
* @static
|
|
20582
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
20583
|
+
* @param {number} [length] Message length if known beforehand
|
|
20584
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionResult} UpdateInteractionResult
|
|
20585
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20586
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20587
|
+
*/
|
|
20588
|
+
UpdateInteractionResult.decode = function decode(reader, length) {
|
|
20589
|
+
if (!(reader instanceof $Reader))
|
|
20590
|
+
reader = $Reader.create(reader);
|
|
20591
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.UpdateInteractionResult();
|
|
20592
|
+
while (reader.pos < end) {
|
|
20593
|
+
let tag = reader.uint32();
|
|
20594
|
+
switch (tag >>> 3) {
|
|
20595
|
+
default:
|
|
20596
|
+
reader.skipType(tag & 7);
|
|
20597
|
+
break;
|
|
20598
|
+
}
|
|
20599
|
+
}
|
|
20600
|
+
return message;
|
|
20601
|
+
};
|
|
20602
|
+
|
|
20603
|
+
/**
|
|
20604
|
+
* Decodes an UpdateInteractionResult message from the specified reader or buffer, length delimited.
|
|
20605
|
+
* @function decodeDelimited
|
|
20606
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20607
|
+
* @static
|
|
20608
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
20609
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionResult} UpdateInteractionResult
|
|
20610
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20611
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20612
|
+
*/
|
|
20613
|
+
UpdateInteractionResult.decodeDelimited = function decodeDelimited(reader) {
|
|
20614
|
+
if (!(reader instanceof $Reader))
|
|
20615
|
+
reader = new $Reader(reader);
|
|
20616
|
+
return this.decode(reader, reader.uint32());
|
|
20617
|
+
};
|
|
20618
|
+
|
|
20619
|
+
/**
|
|
20620
|
+
* Verifies an UpdateInteractionResult message.
|
|
20621
|
+
* @function verify
|
|
20622
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20623
|
+
* @static
|
|
20624
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
20625
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
20626
|
+
*/
|
|
20627
|
+
UpdateInteractionResult.verify = function verify(message) {
|
|
20628
|
+
if (typeof message !== "object" || message === null)
|
|
20629
|
+
return "object expected";
|
|
20630
|
+
return null;
|
|
20631
|
+
};
|
|
20632
|
+
|
|
20633
|
+
/**
|
|
20634
|
+
* Creates an UpdateInteractionResult message from a plain object. Also converts values to their respective internal types.
|
|
20635
|
+
* @function fromObject
|
|
20636
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20637
|
+
* @static
|
|
20638
|
+
* @param {Object.<string,*>} object Plain object
|
|
20639
|
+
* @returns {vertexvis.protobuf.stream.UpdateInteractionResult} UpdateInteractionResult
|
|
20640
|
+
*/
|
|
20641
|
+
UpdateInteractionResult.fromObject = function fromObject(object) {
|
|
20642
|
+
if (object instanceof $root.vertexvis.protobuf.stream.UpdateInteractionResult)
|
|
20643
|
+
return object;
|
|
20644
|
+
return new $root.vertexvis.protobuf.stream.UpdateInteractionResult();
|
|
20645
|
+
};
|
|
20646
|
+
|
|
20647
|
+
/**
|
|
20648
|
+
* Creates a plain object from an UpdateInteractionResult message. Also converts values to other types if specified.
|
|
20649
|
+
* @function toObject
|
|
20650
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20651
|
+
* @static
|
|
20652
|
+
* @param {vertexvis.protobuf.stream.UpdateInteractionResult} message UpdateInteractionResult
|
|
20653
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
20654
|
+
* @returns {Object.<string,*>} Plain object
|
|
20655
|
+
*/
|
|
20656
|
+
UpdateInteractionResult.toObject = function toObject() {
|
|
20657
|
+
return {};
|
|
20658
|
+
};
|
|
20659
|
+
|
|
20660
|
+
/**
|
|
20661
|
+
* Converts this UpdateInteractionResult to JSON.
|
|
20662
|
+
* @function toJSON
|
|
20663
|
+
* @memberof vertexvis.protobuf.stream.UpdateInteractionResult
|
|
20664
|
+
* @instance
|
|
20665
|
+
* @returns {Object.<string,*>} JSON object
|
|
20666
|
+
*/
|
|
20667
|
+
UpdateInteractionResult.prototype.toJSON = function toJSON() {
|
|
20668
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
20669
|
+
};
|
|
20670
|
+
|
|
20671
|
+
return UpdateInteractionResult;
|
|
20672
|
+
})();
|
|
20673
|
+
|
|
19867
20674
|
stream.EndInteractionResult = (function() {
|
|
19868
20675
|
|
|
19869
20676
|
/**
|
|
@@ -22699,6 +23506,166 @@ const vertexvis = $root.vertexvis = (() => {
|
|
|
22699
23506
|
return UpdateCrossSectioningResult;
|
|
22700
23507
|
})();
|
|
22701
23508
|
|
|
23509
|
+
stream.GracefulReconnectionResult = (function() {
|
|
23510
|
+
|
|
23511
|
+
/**
|
|
23512
|
+
* Properties of a GracefulReconnectionResult.
|
|
23513
|
+
* @memberof vertexvis.protobuf.stream
|
|
23514
|
+
* @interface IGracefulReconnectionResult
|
|
23515
|
+
*/
|
|
23516
|
+
|
|
23517
|
+
/**
|
|
23518
|
+
* Constructs a new GracefulReconnectionResult.
|
|
23519
|
+
* @memberof vertexvis.protobuf.stream
|
|
23520
|
+
* @classdesc Represents a GracefulReconnectionResult.
|
|
23521
|
+
* @implements IGracefulReconnectionResult
|
|
23522
|
+
* @constructor
|
|
23523
|
+
* @param {vertexvis.protobuf.stream.IGracefulReconnectionResult=} [properties] Properties to set
|
|
23524
|
+
*/
|
|
23525
|
+
function GracefulReconnectionResult(properties) {
|
|
23526
|
+
if (properties)
|
|
23527
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
23528
|
+
if (properties[keys[i]] != null)
|
|
23529
|
+
this[keys[i]] = properties[keys[i]];
|
|
23530
|
+
}
|
|
23531
|
+
|
|
23532
|
+
/**
|
|
23533
|
+
* Creates a new GracefulReconnectionResult instance using the specified properties.
|
|
23534
|
+
* @function create
|
|
23535
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23536
|
+
* @static
|
|
23537
|
+
* @param {vertexvis.protobuf.stream.IGracefulReconnectionResult=} [properties] Properties to set
|
|
23538
|
+
* @returns {vertexvis.protobuf.stream.GracefulReconnectionResult} GracefulReconnectionResult instance
|
|
23539
|
+
*/
|
|
23540
|
+
GracefulReconnectionResult.create = function create(properties) {
|
|
23541
|
+
return new GracefulReconnectionResult(properties);
|
|
23542
|
+
};
|
|
23543
|
+
|
|
23544
|
+
/**
|
|
23545
|
+
* Encodes the specified GracefulReconnectionResult message. Does not implicitly {@link vertexvis.protobuf.stream.GracefulReconnectionResult.verify|verify} messages.
|
|
23546
|
+
* @function encode
|
|
23547
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23548
|
+
* @static
|
|
23549
|
+
* @param {vertexvis.protobuf.stream.IGracefulReconnectionResult} message GracefulReconnectionResult message or plain object to encode
|
|
23550
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
23551
|
+
* @returns {$protobuf.Writer} Writer
|
|
23552
|
+
*/
|
|
23553
|
+
GracefulReconnectionResult.encode = function encode(message, writer) {
|
|
23554
|
+
if (!writer)
|
|
23555
|
+
writer = $Writer.create();
|
|
23556
|
+
return writer;
|
|
23557
|
+
};
|
|
23558
|
+
|
|
23559
|
+
/**
|
|
23560
|
+
* Encodes the specified GracefulReconnectionResult message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.GracefulReconnectionResult.verify|verify} messages.
|
|
23561
|
+
* @function encodeDelimited
|
|
23562
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23563
|
+
* @static
|
|
23564
|
+
* @param {vertexvis.protobuf.stream.IGracefulReconnectionResult} message GracefulReconnectionResult message or plain object to encode
|
|
23565
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
23566
|
+
* @returns {$protobuf.Writer} Writer
|
|
23567
|
+
*/
|
|
23568
|
+
GracefulReconnectionResult.encodeDelimited = function encodeDelimited(message, writer) {
|
|
23569
|
+
return this.encode(message, writer).ldelim();
|
|
23570
|
+
};
|
|
23571
|
+
|
|
23572
|
+
/**
|
|
23573
|
+
* Decodes a GracefulReconnectionResult message from the specified reader or buffer.
|
|
23574
|
+
* @function decode
|
|
23575
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23576
|
+
* @static
|
|
23577
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
23578
|
+
* @param {number} [length] Message length if known beforehand
|
|
23579
|
+
* @returns {vertexvis.protobuf.stream.GracefulReconnectionResult} GracefulReconnectionResult
|
|
23580
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23581
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23582
|
+
*/
|
|
23583
|
+
GracefulReconnectionResult.decode = function decode(reader, length) {
|
|
23584
|
+
if (!(reader instanceof $Reader))
|
|
23585
|
+
reader = $Reader.create(reader);
|
|
23586
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.GracefulReconnectionResult();
|
|
23587
|
+
while (reader.pos < end) {
|
|
23588
|
+
let tag = reader.uint32();
|
|
23589
|
+
switch (tag >>> 3) {
|
|
23590
|
+
default:
|
|
23591
|
+
reader.skipType(tag & 7);
|
|
23592
|
+
break;
|
|
23593
|
+
}
|
|
23594
|
+
}
|
|
23595
|
+
return message;
|
|
23596
|
+
};
|
|
23597
|
+
|
|
23598
|
+
/**
|
|
23599
|
+
* Decodes a GracefulReconnectionResult message from the specified reader or buffer, length delimited.
|
|
23600
|
+
* @function decodeDelimited
|
|
23601
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23602
|
+
* @static
|
|
23603
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
23604
|
+
* @returns {vertexvis.protobuf.stream.GracefulReconnectionResult} GracefulReconnectionResult
|
|
23605
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23606
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23607
|
+
*/
|
|
23608
|
+
GracefulReconnectionResult.decodeDelimited = function decodeDelimited(reader) {
|
|
23609
|
+
if (!(reader instanceof $Reader))
|
|
23610
|
+
reader = new $Reader(reader);
|
|
23611
|
+
return this.decode(reader, reader.uint32());
|
|
23612
|
+
};
|
|
23613
|
+
|
|
23614
|
+
/**
|
|
23615
|
+
* Verifies a GracefulReconnectionResult message.
|
|
23616
|
+
* @function verify
|
|
23617
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23618
|
+
* @static
|
|
23619
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
23620
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
23621
|
+
*/
|
|
23622
|
+
GracefulReconnectionResult.verify = function verify(message) {
|
|
23623
|
+
if (typeof message !== "object" || message === null)
|
|
23624
|
+
return "object expected";
|
|
23625
|
+
return null;
|
|
23626
|
+
};
|
|
23627
|
+
|
|
23628
|
+
/**
|
|
23629
|
+
* Creates a GracefulReconnectionResult message from a plain object. Also converts values to their respective internal types.
|
|
23630
|
+
* @function fromObject
|
|
23631
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23632
|
+
* @static
|
|
23633
|
+
* @param {Object.<string,*>} object Plain object
|
|
23634
|
+
* @returns {vertexvis.protobuf.stream.GracefulReconnectionResult} GracefulReconnectionResult
|
|
23635
|
+
*/
|
|
23636
|
+
GracefulReconnectionResult.fromObject = function fromObject(object) {
|
|
23637
|
+
if (object instanceof $root.vertexvis.protobuf.stream.GracefulReconnectionResult)
|
|
23638
|
+
return object;
|
|
23639
|
+
return new $root.vertexvis.protobuf.stream.GracefulReconnectionResult();
|
|
23640
|
+
};
|
|
23641
|
+
|
|
23642
|
+
/**
|
|
23643
|
+
* Creates a plain object from a GracefulReconnectionResult message. Also converts values to other types if specified.
|
|
23644
|
+
* @function toObject
|
|
23645
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23646
|
+
* @static
|
|
23647
|
+
* @param {vertexvis.protobuf.stream.GracefulReconnectionResult} message GracefulReconnectionResult
|
|
23648
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
23649
|
+
* @returns {Object.<string,*>} Plain object
|
|
23650
|
+
*/
|
|
23651
|
+
GracefulReconnectionResult.toObject = function toObject() {
|
|
23652
|
+
return {};
|
|
23653
|
+
};
|
|
23654
|
+
|
|
23655
|
+
/**
|
|
23656
|
+
* Converts this GracefulReconnectionResult to JSON.
|
|
23657
|
+
* @function toJSON
|
|
23658
|
+
* @memberof vertexvis.protobuf.stream.GracefulReconnectionResult
|
|
23659
|
+
* @instance
|
|
23660
|
+
* @returns {Object.<string,*>} JSON object
|
|
23661
|
+
*/
|
|
23662
|
+
GracefulReconnectionResult.prototype.toJSON = function toJSON() {
|
|
23663
|
+
return this.constructor.toObject(this, minimal.util.toJSONOptions);
|
|
23664
|
+
};
|
|
23665
|
+
|
|
23666
|
+
return GracefulReconnectionResult;
|
|
23667
|
+
})();
|
|
23668
|
+
|
|
22702
23669
|
return stream;
|
|
22703
23670
|
})();
|
|
22704
23671
|
|
|
@@ -35694,9 +36661,10 @@ var StreamApi = /** @class */ (function () {
|
|
|
35694
36661
|
* @param withResponse Indicates if the server should reply with a response.
|
|
35695
36662
|
* Defaults to `true`.
|
|
35696
36663
|
*/
|
|
35697
|
-
StreamApi.prototype.beginInteraction = function (withResponse) {
|
|
36664
|
+
StreamApi.prototype.beginInteraction = function (payload, withResponse) {
|
|
36665
|
+
if (payload === void 0) { payload = {}; }
|
|
35698
36666
|
if (withResponse === void 0) { withResponse = true; }
|
|
35699
|
-
return this.sendRequest({ beginInteraction:
|
|
36667
|
+
return this.sendRequest({ beginInteraction: payload }, withResponse);
|
|
35700
36668
|
};
|
|
35701
36669
|
/**
|
|
35702
36670
|
* Sends a request to update the position of the scene's camera.
|
|
@@ -35737,6 +36705,21 @@ var StreamApi = /** @class */ (function () {
|
|
|
35737
36705
|
if (withResponse === void 0) { withResponse = true; }
|
|
35738
36706
|
return this.sendRequest({ flyTo: payload }, withResponse);
|
|
35739
36707
|
};
|
|
36708
|
+
/**
|
|
36709
|
+
* Sends a request to update the specified interaction.
|
|
36710
|
+
*
|
|
36711
|
+
* Use `withResponse` to indicate if the server should reply with a response.
|
|
36712
|
+
* If `false`, the returned promise will complete immediately. Otherwise,
|
|
36713
|
+
* it'll complete when a response is received.
|
|
36714
|
+
*
|
|
36715
|
+
* @param payload The payload of the request.
|
|
36716
|
+
* @param withResponse Indicates if the server should reply with a response.
|
|
36717
|
+
* Defaults to `true`.
|
|
36718
|
+
*/
|
|
36719
|
+
StreamApi.prototype.updateInteraction = function (payload, withResponse) {
|
|
36720
|
+
if (withResponse === void 0) { withResponse = true; }
|
|
36721
|
+
return this.sendRequest({ updateInteraction: payload }, withResponse);
|
|
36722
|
+
};
|
|
35740
36723
|
/**
|
|
35741
36724
|
* Sends a request to update the dimensions of the frame.
|
|
35742
36725
|
*
|
|
@@ -35835,9 +36818,10 @@ var StreamApi = /** @class */ (function () {
|
|
|
35835
36818
|
* @param withResponse Indicates if the server should reply with a response.
|
|
35836
36819
|
* Defaults to `true`.
|
|
35837
36820
|
*/
|
|
35838
|
-
StreamApi.prototype.endInteraction = function (withResponse) {
|
|
36821
|
+
StreamApi.prototype.endInteraction = function (payload, withResponse) {
|
|
36822
|
+
if (payload === void 0) { payload = {}; }
|
|
35839
36823
|
if (withResponse === void 0) { withResponse = true; }
|
|
35840
|
-
return this.sendRequest({ endInteraction:
|
|
36824
|
+
return this.sendRequest({ endInteraction: payload }, withResponse);
|
|
35841
36825
|
};
|
|
35842
36826
|
/**
|
|
35843
36827
|
* Sends a request to sync the clocks between the client and server.
|