@vertexvis/stream-api 0.19.2-canary.0 → 0.19.2-canary.2

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.
@@ -9392,6 +9392,565 @@ const vertexvis = $root.vertexvis = (() => {
9392
9392
  return ChangeEndItemOperation;
9393
9393
  })();
9394
9394
 
9395
+ stream.ViewRenditionOperation = (function() {
9396
+
9397
+ /**
9398
+ * Properties of a ViewRenditionOperation.
9399
+ * @memberof vertexvis.protobuf.stream
9400
+ * @interface IViewRenditionOperation
9401
+ * @property {vertexvis.protobuf.core.IUuid|null} [id] ViewRenditionOperation id
9402
+ * @property {string|null} [suppliedId] ViewRenditionOperation suppliedId
9403
+ */
9404
+
9405
+ /**
9406
+ * Constructs a new ViewRenditionOperation.
9407
+ * @memberof vertexvis.protobuf.stream
9408
+ * @classdesc Represents a ViewRenditionOperation.
9409
+ * @implements IViewRenditionOperation
9410
+ * @constructor
9411
+ * @param {vertexvis.protobuf.stream.IViewRenditionOperation=} [properties] Properties to set
9412
+ */
9413
+ function ViewRenditionOperation(properties) {
9414
+ if (properties)
9415
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
9416
+ if (properties[keys[i]] != null)
9417
+ this[keys[i]] = properties[keys[i]];
9418
+ }
9419
+
9420
+ /**
9421
+ * ViewRenditionOperation id.
9422
+ * @member {vertexvis.protobuf.core.IUuid|null|undefined} id
9423
+ * @memberof vertexvis.protobuf.stream.ViewRenditionOperation
9424
+ * @instance
9425
+ */
9426
+ ViewRenditionOperation.prototype.id = null;
9427
+
9428
+ /**
9429
+ * ViewRenditionOperation suppliedId.
9430
+ * @member {string|null|undefined} suppliedId
9431
+ * @memberof vertexvis.protobuf.stream.ViewRenditionOperation
9432
+ * @instance
9433
+ */
9434
+ ViewRenditionOperation.prototype.suppliedId = null;
9435
+
9436
+ // OneOf field names bound to virtual getters and setters
9437
+ let $oneOfFields;
9438
+
9439
+ /**
9440
+ * ViewRenditionOperation rendition.
9441
+ * @member {"id"|"suppliedId"|undefined} rendition
9442
+ * @memberof vertexvis.protobuf.stream.ViewRenditionOperation
9443
+ * @instance
9444
+ */
9445
+ Object.defineProperty(ViewRenditionOperation.prototype, "rendition", {
9446
+ get: $util.oneOfGetter($oneOfFields = ["id", "suppliedId"]),
9447
+ set: $util.oneOfSetter($oneOfFields)
9448
+ });
9449
+
9450
+ /**
9451
+ * Creates a new ViewRenditionOperation instance using the specified properties.
9452
+ * @function create
9453
+ * @memberof vertexvis.protobuf.stream.ViewRenditionOperation
9454
+ * @static
9455
+ * @param {vertexvis.protobuf.stream.IViewRenditionOperation=} [properties] Properties to set
9456
+ * @returns {vertexvis.protobuf.stream.ViewRenditionOperation} ViewRenditionOperation instance
9457
+ */
9458
+ ViewRenditionOperation.create = function create(properties) {
9459
+ return new ViewRenditionOperation(properties);
9460
+ };
9461
+
9462
+ /**
9463
+ * Encodes the specified ViewRenditionOperation message. Does not implicitly {@link vertexvis.protobuf.stream.ViewRenditionOperation.verify|verify} messages.
9464
+ * @function encode
9465
+ * @memberof vertexvis.protobuf.stream.ViewRenditionOperation
9466
+ * @static
9467
+ * @param {vertexvis.protobuf.stream.IViewRenditionOperation} message ViewRenditionOperation message or plain object to encode
9468
+ * @param {$protobuf.Writer} [writer] Writer to encode to
9469
+ * @returns {$protobuf.Writer} Writer
9470
+ */
9471
+ ViewRenditionOperation.encode = function encode(message, writer) {
9472
+ if (!writer)
9473
+ writer = $Writer.create();
9474
+ if (message.id != null && Object.hasOwnProperty.call(message, "id"))
9475
+ $root.vertexvis.protobuf.core.Uuid.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
9476
+ if (message.suppliedId != null && Object.hasOwnProperty.call(message, "suppliedId"))
9477
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.suppliedId);
9478
+ return writer;
9479
+ };
9480
+
9481
+ /**
9482
+ * Encodes the specified ViewRenditionOperation message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.ViewRenditionOperation.verify|verify} messages.
9483
+ * @function encodeDelimited
9484
+ * @memberof vertexvis.protobuf.stream.ViewRenditionOperation
9485
+ * @static
9486
+ * @param {vertexvis.protobuf.stream.IViewRenditionOperation} message ViewRenditionOperation message or plain object to encode
9487
+ * @param {$protobuf.Writer} [writer] Writer to encode to
9488
+ * @returns {$protobuf.Writer} Writer
9489
+ */
9490
+ ViewRenditionOperation.encodeDelimited = function encodeDelimited(message, writer) {
9491
+ return this.encode(message, writer).ldelim();
9492
+ };
9493
+
9494
+ /**
9495
+ * Decodes a ViewRenditionOperation message from the specified reader or buffer.
9496
+ * @function decode
9497
+ * @memberof vertexvis.protobuf.stream.ViewRenditionOperation
9498
+ * @static
9499
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
9500
+ * @param {number} [length] Message length if known beforehand
9501
+ * @returns {vertexvis.protobuf.stream.ViewRenditionOperation} ViewRenditionOperation
9502
+ * @throws {Error} If the payload is not a reader or valid buffer
9503
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9504
+ */
9505
+ ViewRenditionOperation.decode = function decode(reader, length) {
9506
+ if (!(reader instanceof $Reader))
9507
+ reader = $Reader.create(reader);
9508
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.ViewRenditionOperation();
9509
+ while (reader.pos < end) {
9510
+ let tag = reader.uint32();
9511
+ switch (tag >>> 3) {
9512
+ case 1:
9513
+ message.id = $root.vertexvis.protobuf.core.Uuid.decode(reader, reader.uint32());
9514
+ break;
9515
+ case 2:
9516
+ message.suppliedId = reader.string();
9517
+ break;
9518
+ default:
9519
+ reader.skipType(tag & 7);
9520
+ break;
9521
+ }
9522
+ }
9523
+ return message;
9524
+ };
9525
+
9526
+ /**
9527
+ * Decodes a ViewRenditionOperation message from the specified reader or buffer, length delimited.
9528
+ * @function decodeDelimited
9529
+ * @memberof vertexvis.protobuf.stream.ViewRenditionOperation
9530
+ * @static
9531
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
9532
+ * @returns {vertexvis.protobuf.stream.ViewRenditionOperation} ViewRenditionOperation
9533
+ * @throws {Error} If the payload is not a reader or valid buffer
9534
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9535
+ */
9536
+ ViewRenditionOperation.decodeDelimited = function decodeDelimited(reader) {
9537
+ if (!(reader instanceof $Reader))
9538
+ reader = new $Reader(reader);
9539
+ return this.decode(reader, reader.uint32());
9540
+ };
9541
+
9542
+ /**
9543
+ * Verifies a ViewRenditionOperation message.
9544
+ * @function verify
9545
+ * @memberof vertexvis.protobuf.stream.ViewRenditionOperation
9546
+ * @static
9547
+ * @param {Object.<string,*>} message Plain object to verify
9548
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
9549
+ */
9550
+ ViewRenditionOperation.verify = function verify(message) {
9551
+ if (typeof message !== "object" || message === null)
9552
+ return "object expected";
9553
+ let properties = {};
9554
+ if (message.id != null && message.hasOwnProperty("id")) {
9555
+ properties.rendition = 1;
9556
+ {
9557
+ let error = $root.vertexvis.protobuf.core.Uuid.verify(message.id);
9558
+ if (error)
9559
+ return "id." + error;
9560
+ }
9561
+ }
9562
+ if (message.suppliedId != null && message.hasOwnProperty("suppliedId")) {
9563
+ if (properties.rendition === 1)
9564
+ return "rendition: multiple values";
9565
+ properties.rendition = 1;
9566
+ if (!$util.isString(message.suppliedId))
9567
+ return "suppliedId: string expected";
9568
+ }
9569
+ return null;
9570
+ };
9571
+
9572
+ /**
9573
+ * Creates a ViewRenditionOperation message from a plain object. Also converts values to their respective internal types.
9574
+ * @function fromObject
9575
+ * @memberof vertexvis.protobuf.stream.ViewRenditionOperation
9576
+ * @static
9577
+ * @param {Object.<string,*>} object Plain object
9578
+ * @returns {vertexvis.protobuf.stream.ViewRenditionOperation} ViewRenditionOperation
9579
+ */
9580
+ ViewRenditionOperation.fromObject = function fromObject(object) {
9581
+ if (object instanceof $root.vertexvis.protobuf.stream.ViewRenditionOperation)
9582
+ return object;
9583
+ let message = new $root.vertexvis.protobuf.stream.ViewRenditionOperation();
9584
+ if (object.id != null) {
9585
+ if (typeof object.id !== "object")
9586
+ throw TypeError(".vertexvis.protobuf.stream.ViewRenditionOperation.id: object expected");
9587
+ message.id = $root.vertexvis.protobuf.core.Uuid.fromObject(object.id);
9588
+ }
9589
+ if (object.suppliedId != null)
9590
+ message.suppliedId = String(object.suppliedId);
9591
+ return message;
9592
+ };
9593
+
9594
+ /**
9595
+ * Creates a plain object from a ViewRenditionOperation message. Also converts values to other types if specified.
9596
+ * @function toObject
9597
+ * @memberof vertexvis.protobuf.stream.ViewRenditionOperation
9598
+ * @static
9599
+ * @param {vertexvis.protobuf.stream.ViewRenditionOperation} message ViewRenditionOperation
9600
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
9601
+ * @returns {Object.<string,*>} Plain object
9602
+ */
9603
+ ViewRenditionOperation.toObject = function toObject(message, options) {
9604
+ if (!options)
9605
+ options = {};
9606
+ let object = {};
9607
+ if (message.id != null && message.hasOwnProperty("id")) {
9608
+ object.id = $root.vertexvis.protobuf.core.Uuid.toObject(message.id, options);
9609
+ if (options.oneofs)
9610
+ object.rendition = "id";
9611
+ }
9612
+ if (message.suppliedId != null && message.hasOwnProperty("suppliedId")) {
9613
+ object.suppliedId = message.suppliedId;
9614
+ if (options.oneofs)
9615
+ object.rendition = "suppliedId";
9616
+ }
9617
+ return object;
9618
+ };
9619
+
9620
+ /**
9621
+ * Converts this ViewRenditionOperation to JSON.
9622
+ * @function toJSON
9623
+ * @memberof vertexvis.protobuf.stream.ViewRenditionOperation
9624
+ * @instance
9625
+ * @returns {Object.<string,*>} JSON object
9626
+ */
9627
+ ViewRenditionOperation.prototype.toJSON = function toJSON() {
9628
+ return this.constructor.toObject(this, minimal.util.toJSONOptions);
9629
+ };
9630
+
9631
+ return ViewRenditionOperation;
9632
+ })();
9633
+
9634
+ stream.ViewDefaultRenditionOperation = (function() {
9635
+
9636
+ /**
9637
+ * Properties of a ViewDefaultRenditionOperation.
9638
+ * @memberof vertexvis.protobuf.stream
9639
+ * @interface IViewDefaultRenditionOperation
9640
+ */
9641
+
9642
+ /**
9643
+ * Constructs a new ViewDefaultRenditionOperation.
9644
+ * @memberof vertexvis.protobuf.stream
9645
+ * @classdesc Represents a ViewDefaultRenditionOperation.
9646
+ * @implements IViewDefaultRenditionOperation
9647
+ * @constructor
9648
+ * @param {vertexvis.protobuf.stream.IViewDefaultRenditionOperation=} [properties] Properties to set
9649
+ */
9650
+ function ViewDefaultRenditionOperation(properties) {
9651
+ if (properties)
9652
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
9653
+ if (properties[keys[i]] != null)
9654
+ this[keys[i]] = properties[keys[i]];
9655
+ }
9656
+
9657
+ /**
9658
+ * Creates a new ViewDefaultRenditionOperation instance using the specified properties.
9659
+ * @function create
9660
+ * @memberof vertexvis.protobuf.stream.ViewDefaultRenditionOperation
9661
+ * @static
9662
+ * @param {vertexvis.protobuf.stream.IViewDefaultRenditionOperation=} [properties] Properties to set
9663
+ * @returns {vertexvis.protobuf.stream.ViewDefaultRenditionOperation} ViewDefaultRenditionOperation instance
9664
+ */
9665
+ ViewDefaultRenditionOperation.create = function create(properties) {
9666
+ return new ViewDefaultRenditionOperation(properties);
9667
+ };
9668
+
9669
+ /**
9670
+ * Encodes the specified ViewDefaultRenditionOperation message. Does not implicitly {@link vertexvis.protobuf.stream.ViewDefaultRenditionOperation.verify|verify} messages.
9671
+ * @function encode
9672
+ * @memberof vertexvis.protobuf.stream.ViewDefaultRenditionOperation
9673
+ * @static
9674
+ * @param {vertexvis.protobuf.stream.IViewDefaultRenditionOperation} message ViewDefaultRenditionOperation message or plain object to encode
9675
+ * @param {$protobuf.Writer} [writer] Writer to encode to
9676
+ * @returns {$protobuf.Writer} Writer
9677
+ */
9678
+ ViewDefaultRenditionOperation.encode = function encode(message, writer) {
9679
+ if (!writer)
9680
+ writer = $Writer.create();
9681
+ return writer;
9682
+ };
9683
+
9684
+ /**
9685
+ * Encodes the specified ViewDefaultRenditionOperation message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.ViewDefaultRenditionOperation.verify|verify} messages.
9686
+ * @function encodeDelimited
9687
+ * @memberof vertexvis.protobuf.stream.ViewDefaultRenditionOperation
9688
+ * @static
9689
+ * @param {vertexvis.protobuf.stream.IViewDefaultRenditionOperation} message ViewDefaultRenditionOperation message or plain object to encode
9690
+ * @param {$protobuf.Writer} [writer] Writer to encode to
9691
+ * @returns {$protobuf.Writer} Writer
9692
+ */
9693
+ ViewDefaultRenditionOperation.encodeDelimited = function encodeDelimited(message, writer) {
9694
+ return this.encode(message, writer).ldelim();
9695
+ };
9696
+
9697
+ /**
9698
+ * Decodes a ViewDefaultRenditionOperation message from the specified reader or buffer.
9699
+ * @function decode
9700
+ * @memberof vertexvis.protobuf.stream.ViewDefaultRenditionOperation
9701
+ * @static
9702
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
9703
+ * @param {number} [length] Message length if known beforehand
9704
+ * @returns {vertexvis.protobuf.stream.ViewDefaultRenditionOperation} ViewDefaultRenditionOperation
9705
+ * @throws {Error} If the payload is not a reader or valid buffer
9706
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9707
+ */
9708
+ ViewDefaultRenditionOperation.decode = function decode(reader, length) {
9709
+ if (!(reader instanceof $Reader))
9710
+ reader = $Reader.create(reader);
9711
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.ViewDefaultRenditionOperation();
9712
+ while (reader.pos < end) {
9713
+ let tag = reader.uint32();
9714
+ switch (tag >>> 3) {
9715
+ default:
9716
+ reader.skipType(tag & 7);
9717
+ break;
9718
+ }
9719
+ }
9720
+ return message;
9721
+ };
9722
+
9723
+ /**
9724
+ * Decodes a ViewDefaultRenditionOperation message from the specified reader or buffer, length delimited.
9725
+ * @function decodeDelimited
9726
+ * @memberof vertexvis.protobuf.stream.ViewDefaultRenditionOperation
9727
+ * @static
9728
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
9729
+ * @returns {vertexvis.protobuf.stream.ViewDefaultRenditionOperation} ViewDefaultRenditionOperation
9730
+ * @throws {Error} If the payload is not a reader or valid buffer
9731
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9732
+ */
9733
+ ViewDefaultRenditionOperation.decodeDelimited = function decodeDelimited(reader) {
9734
+ if (!(reader instanceof $Reader))
9735
+ reader = new $Reader(reader);
9736
+ return this.decode(reader, reader.uint32());
9737
+ };
9738
+
9739
+ /**
9740
+ * Verifies a ViewDefaultRenditionOperation message.
9741
+ * @function verify
9742
+ * @memberof vertexvis.protobuf.stream.ViewDefaultRenditionOperation
9743
+ * @static
9744
+ * @param {Object.<string,*>} message Plain object to verify
9745
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
9746
+ */
9747
+ ViewDefaultRenditionOperation.verify = function verify(message) {
9748
+ if (typeof message !== "object" || message === null)
9749
+ return "object expected";
9750
+ return null;
9751
+ };
9752
+
9753
+ /**
9754
+ * Creates a ViewDefaultRenditionOperation message from a plain object. Also converts values to their respective internal types.
9755
+ * @function fromObject
9756
+ * @memberof vertexvis.protobuf.stream.ViewDefaultRenditionOperation
9757
+ * @static
9758
+ * @param {Object.<string,*>} object Plain object
9759
+ * @returns {vertexvis.protobuf.stream.ViewDefaultRenditionOperation} ViewDefaultRenditionOperation
9760
+ */
9761
+ ViewDefaultRenditionOperation.fromObject = function fromObject(object) {
9762
+ if (object instanceof $root.vertexvis.protobuf.stream.ViewDefaultRenditionOperation)
9763
+ return object;
9764
+ return new $root.vertexvis.protobuf.stream.ViewDefaultRenditionOperation();
9765
+ };
9766
+
9767
+ /**
9768
+ * Creates a plain object from a ViewDefaultRenditionOperation message. Also converts values to other types if specified.
9769
+ * @function toObject
9770
+ * @memberof vertexvis.protobuf.stream.ViewDefaultRenditionOperation
9771
+ * @static
9772
+ * @param {vertexvis.protobuf.stream.ViewDefaultRenditionOperation} message ViewDefaultRenditionOperation
9773
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
9774
+ * @returns {Object.<string,*>} Plain object
9775
+ */
9776
+ ViewDefaultRenditionOperation.toObject = function toObject() {
9777
+ return {};
9778
+ };
9779
+
9780
+ /**
9781
+ * Converts this ViewDefaultRenditionOperation to JSON.
9782
+ * @function toJSON
9783
+ * @memberof vertexvis.protobuf.stream.ViewDefaultRenditionOperation
9784
+ * @instance
9785
+ * @returns {Object.<string,*>} JSON object
9786
+ */
9787
+ ViewDefaultRenditionOperation.prototype.toJSON = function toJSON() {
9788
+ return this.constructor.toObject(this, minimal.util.toJSONOptions);
9789
+ };
9790
+
9791
+ return ViewDefaultRenditionOperation;
9792
+ })();
9793
+
9794
+ stream.ClearRenditionOperation = (function() {
9795
+
9796
+ /**
9797
+ * Properties of a ClearRenditionOperation.
9798
+ * @memberof vertexvis.protobuf.stream
9799
+ * @interface IClearRenditionOperation
9800
+ */
9801
+
9802
+ /**
9803
+ * Constructs a new ClearRenditionOperation.
9804
+ * @memberof vertexvis.protobuf.stream
9805
+ * @classdesc Represents a ClearRenditionOperation.
9806
+ * @implements IClearRenditionOperation
9807
+ * @constructor
9808
+ * @param {vertexvis.protobuf.stream.IClearRenditionOperation=} [properties] Properties to set
9809
+ */
9810
+ function ClearRenditionOperation(properties) {
9811
+ if (properties)
9812
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
9813
+ if (properties[keys[i]] != null)
9814
+ this[keys[i]] = properties[keys[i]];
9815
+ }
9816
+
9817
+ /**
9818
+ * Creates a new ClearRenditionOperation instance using the specified properties.
9819
+ * @function create
9820
+ * @memberof vertexvis.protobuf.stream.ClearRenditionOperation
9821
+ * @static
9822
+ * @param {vertexvis.protobuf.stream.IClearRenditionOperation=} [properties] Properties to set
9823
+ * @returns {vertexvis.protobuf.stream.ClearRenditionOperation} ClearRenditionOperation instance
9824
+ */
9825
+ ClearRenditionOperation.create = function create(properties) {
9826
+ return new ClearRenditionOperation(properties);
9827
+ };
9828
+
9829
+ /**
9830
+ * Encodes the specified ClearRenditionOperation message. Does not implicitly {@link vertexvis.protobuf.stream.ClearRenditionOperation.verify|verify} messages.
9831
+ * @function encode
9832
+ * @memberof vertexvis.protobuf.stream.ClearRenditionOperation
9833
+ * @static
9834
+ * @param {vertexvis.protobuf.stream.IClearRenditionOperation} message ClearRenditionOperation message or plain object to encode
9835
+ * @param {$protobuf.Writer} [writer] Writer to encode to
9836
+ * @returns {$protobuf.Writer} Writer
9837
+ */
9838
+ ClearRenditionOperation.encode = function encode(message, writer) {
9839
+ if (!writer)
9840
+ writer = $Writer.create();
9841
+ return writer;
9842
+ };
9843
+
9844
+ /**
9845
+ * Encodes the specified ClearRenditionOperation message, length delimited. Does not implicitly {@link vertexvis.protobuf.stream.ClearRenditionOperation.verify|verify} messages.
9846
+ * @function encodeDelimited
9847
+ * @memberof vertexvis.protobuf.stream.ClearRenditionOperation
9848
+ * @static
9849
+ * @param {vertexvis.protobuf.stream.IClearRenditionOperation} message ClearRenditionOperation message or plain object to encode
9850
+ * @param {$protobuf.Writer} [writer] Writer to encode to
9851
+ * @returns {$protobuf.Writer} Writer
9852
+ */
9853
+ ClearRenditionOperation.encodeDelimited = function encodeDelimited(message, writer) {
9854
+ return this.encode(message, writer).ldelim();
9855
+ };
9856
+
9857
+ /**
9858
+ * Decodes a ClearRenditionOperation message from the specified reader or buffer.
9859
+ * @function decode
9860
+ * @memberof vertexvis.protobuf.stream.ClearRenditionOperation
9861
+ * @static
9862
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
9863
+ * @param {number} [length] Message length if known beforehand
9864
+ * @returns {vertexvis.protobuf.stream.ClearRenditionOperation} ClearRenditionOperation
9865
+ * @throws {Error} If the payload is not a reader or valid buffer
9866
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9867
+ */
9868
+ ClearRenditionOperation.decode = function decode(reader, length) {
9869
+ if (!(reader instanceof $Reader))
9870
+ reader = $Reader.create(reader);
9871
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.vertexvis.protobuf.stream.ClearRenditionOperation();
9872
+ while (reader.pos < end) {
9873
+ let tag = reader.uint32();
9874
+ switch (tag >>> 3) {
9875
+ default:
9876
+ reader.skipType(tag & 7);
9877
+ break;
9878
+ }
9879
+ }
9880
+ return message;
9881
+ };
9882
+
9883
+ /**
9884
+ * Decodes a ClearRenditionOperation message from the specified reader or buffer, length delimited.
9885
+ * @function decodeDelimited
9886
+ * @memberof vertexvis.protobuf.stream.ClearRenditionOperation
9887
+ * @static
9888
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
9889
+ * @returns {vertexvis.protobuf.stream.ClearRenditionOperation} ClearRenditionOperation
9890
+ * @throws {Error} If the payload is not a reader or valid buffer
9891
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9892
+ */
9893
+ ClearRenditionOperation.decodeDelimited = function decodeDelimited(reader) {
9894
+ if (!(reader instanceof $Reader))
9895
+ reader = new $Reader(reader);
9896
+ return this.decode(reader, reader.uint32());
9897
+ };
9898
+
9899
+ /**
9900
+ * Verifies a ClearRenditionOperation message.
9901
+ * @function verify
9902
+ * @memberof vertexvis.protobuf.stream.ClearRenditionOperation
9903
+ * @static
9904
+ * @param {Object.<string,*>} message Plain object to verify
9905
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
9906
+ */
9907
+ ClearRenditionOperation.verify = function verify(message) {
9908
+ if (typeof message !== "object" || message === null)
9909
+ return "object expected";
9910
+ return null;
9911
+ };
9912
+
9913
+ /**
9914
+ * Creates a ClearRenditionOperation message from a plain object. Also converts values to their respective internal types.
9915
+ * @function fromObject
9916
+ * @memberof vertexvis.protobuf.stream.ClearRenditionOperation
9917
+ * @static
9918
+ * @param {Object.<string,*>} object Plain object
9919
+ * @returns {vertexvis.protobuf.stream.ClearRenditionOperation} ClearRenditionOperation
9920
+ */
9921
+ ClearRenditionOperation.fromObject = function fromObject(object) {
9922
+ if (object instanceof $root.vertexvis.protobuf.stream.ClearRenditionOperation)
9923
+ return object;
9924
+ return new $root.vertexvis.protobuf.stream.ClearRenditionOperation();
9925
+ };
9926
+
9927
+ /**
9928
+ * Creates a plain object from a ClearRenditionOperation message. Also converts values to other types if specified.
9929
+ * @function toObject
9930
+ * @memberof vertexvis.protobuf.stream.ClearRenditionOperation
9931
+ * @static
9932
+ * @param {vertexvis.protobuf.stream.ClearRenditionOperation} message ClearRenditionOperation
9933
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
9934
+ * @returns {Object.<string,*>} Plain object
9935
+ */
9936
+ ClearRenditionOperation.toObject = function toObject() {
9937
+ return {};
9938
+ };
9939
+
9940
+ /**
9941
+ * Converts this ClearRenditionOperation to JSON.
9942
+ * @function toJSON
9943
+ * @memberof vertexvis.protobuf.stream.ClearRenditionOperation
9944
+ * @instance
9945
+ * @returns {Object.<string,*>} JSON object
9946
+ */
9947
+ ClearRenditionOperation.prototype.toJSON = function toJSON() {
9948
+ return this.constructor.toObject(this, minimal.util.toJSONOptions);
9949
+ };
9950
+
9951
+ return ClearRenditionOperation;
9952
+ })();
9953
+
9395
9954
  stream.OperationType = (function() {
9396
9955
 
9397
9956
  /**
@@ -9405,6 +9964,9 @@ const vertexvis = $root.vertexvis = (() => {
9405
9964
  * @property {vertexvis.protobuf.stream.IClearTransformOperation|null} [clearTransform] OperationType clearTransform
9406
9965
  * @property {vertexvis.protobuf.stream.IChangePhantomOperation|null} [changePhantom] OperationType changePhantom
9407
9966
  * @property {vertexvis.protobuf.stream.IChangeEndItemOperation|null} [changeEndItem] OperationType changeEndItem
9967
+ * @property {vertexvis.protobuf.stream.IViewRenditionOperation|null} [viewRendition] OperationType viewRendition
9968
+ * @property {vertexvis.protobuf.stream.IViewDefaultRenditionOperation|null} [viewDefaultRendition] OperationType viewDefaultRendition
9969
+ * @property {vertexvis.protobuf.stream.IClearRenditionOperation|null} [clearRendition] OperationType clearRendition
9408
9970
  */
9409
9971
 
9410
9972
  /**
@@ -9478,17 +10040,41 @@ const vertexvis = $root.vertexvis = (() => {
9478
10040
  */
9479
10041
  OperationType.prototype.changeEndItem = null;
9480
10042
 
10043
+ /**
10044
+ * OperationType viewRendition.
10045
+ * @member {vertexvis.protobuf.stream.IViewRenditionOperation|null|undefined} viewRendition
10046
+ * @memberof vertexvis.protobuf.stream.OperationType
10047
+ * @instance
10048
+ */
10049
+ OperationType.prototype.viewRendition = null;
10050
+
10051
+ /**
10052
+ * OperationType viewDefaultRendition.
10053
+ * @member {vertexvis.protobuf.stream.IViewDefaultRenditionOperation|null|undefined} viewDefaultRendition
10054
+ * @memberof vertexvis.protobuf.stream.OperationType
10055
+ * @instance
10056
+ */
10057
+ OperationType.prototype.viewDefaultRendition = null;
10058
+
10059
+ /**
10060
+ * OperationType clearRendition.
10061
+ * @member {vertexvis.protobuf.stream.IClearRenditionOperation|null|undefined} clearRendition
10062
+ * @memberof vertexvis.protobuf.stream.OperationType
10063
+ * @instance
10064
+ */
10065
+ OperationType.prototype.clearRendition = null;
10066
+
9481
10067
  // OneOf field names bound to virtual getters and setters
9482
10068
  let $oneOfFields;
9483
10069
 
9484
10070
  /**
9485
10071
  * OperationType value.
9486
- * @member {"changeMaterial"|"changeVisibility"|"changeTransform"|"changeSelection"|"clearTransform"|"changePhantom"|"changeEndItem"|undefined} value
10072
+ * @member {"changeMaterial"|"changeVisibility"|"changeTransform"|"changeSelection"|"clearTransform"|"changePhantom"|"changeEndItem"|"viewRendition"|"viewDefaultRendition"|"clearRendition"|undefined} value
9487
10073
  * @memberof vertexvis.protobuf.stream.OperationType
9488
10074
  * @instance
9489
10075
  */
9490
10076
  Object.defineProperty(OperationType.prototype, "value", {
9491
- get: $util.oneOfGetter($oneOfFields = ["changeMaterial", "changeVisibility", "changeTransform", "changeSelection", "clearTransform", "changePhantom", "changeEndItem"]),
10077
+ get: $util.oneOfGetter($oneOfFields = ["changeMaterial", "changeVisibility", "changeTransform", "changeSelection", "clearTransform", "changePhantom", "changeEndItem", "viewRendition", "viewDefaultRendition", "clearRendition"]),
9492
10078
  set: $util.oneOfSetter($oneOfFields)
9493
10079
  });
9494
10080
 
@@ -9530,6 +10116,12 @@ const vertexvis = $root.vertexvis = (() => {
9530
10116
  $root.vertexvis.protobuf.stream.ChangePhantomOperation.encode(message.changePhantom, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
9531
10117
  if (message.changeEndItem != null && Object.hasOwnProperty.call(message, "changeEndItem"))
9532
10118
  $root.vertexvis.protobuf.stream.ChangeEndItemOperation.encode(message.changeEndItem, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
10119
+ if (message.viewRendition != null && Object.hasOwnProperty.call(message, "viewRendition"))
10120
+ $root.vertexvis.protobuf.stream.ViewRenditionOperation.encode(message.viewRendition, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
10121
+ if (message.viewDefaultRendition != null && Object.hasOwnProperty.call(message, "viewDefaultRendition"))
10122
+ $root.vertexvis.protobuf.stream.ViewDefaultRenditionOperation.encode(message.viewDefaultRendition, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
10123
+ if (message.clearRendition != null && Object.hasOwnProperty.call(message, "clearRendition"))
10124
+ $root.vertexvis.protobuf.stream.ClearRenditionOperation.encode(message.clearRendition, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
9533
10125
  return writer;
9534
10126
  };
9535
10127
 
@@ -9585,6 +10177,15 @@ const vertexvis = $root.vertexvis = (() => {
9585
10177
  case 7:
9586
10178
  message.changeEndItem = $root.vertexvis.protobuf.stream.ChangeEndItemOperation.decode(reader, reader.uint32());
9587
10179
  break;
10180
+ case 8:
10181
+ message.viewRendition = $root.vertexvis.protobuf.stream.ViewRenditionOperation.decode(reader, reader.uint32());
10182
+ break;
10183
+ case 9:
10184
+ message.viewDefaultRendition = $root.vertexvis.protobuf.stream.ViewDefaultRenditionOperation.decode(reader, reader.uint32());
10185
+ break;
10186
+ case 10:
10187
+ message.clearRendition = $root.vertexvis.protobuf.stream.ClearRenditionOperation.decode(reader, reader.uint32());
10188
+ break;
9588
10189
  default:
9589
10190
  reader.skipType(tag & 7);
9590
10191
  break;
@@ -9689,6 +10290,36 @@ const vertexvis = $root.vertexvis = (() => {
9689
10290
  return "changeEndItem." + error;
9690
10291
  }
9691
10292
  }
10293
+ if (message.viewRendition != null && message.hasOwnProperty("viewRendition")) {
10294
+ if (properties.value === 1)
10295
+ return "value: multiple values";
10296
+ properties.value = 1;
10297
+ {
10298
+ let error = $root.vertexvis.protobuf.stream.ViewRenditionOperation.verify(message.viewRendition);
10299
+ if (error)
10300
+ return "viewRendition." + error;
10301
+ }
10302
+ }
10303
+ if (message.viewDefaultRendition != null && message.hasOwnProperty("viewDefaultRendition")) {
10304
+ if (properties.value === 1)
10305
+ return "value: multiple values";
10306
+ properties.value = 1;
10307
+ {
10308
+ let error = $root.vertexvis.protobuf.stream.ViewDefaultRenditionOperation.verify(message.viewDefaultRendition);
10309
+ if (error)
10310
+ return "viewDefaultRendition." + error;
10311
+ }
10312
+ }
10313
+ if (message.clearRendition != null && message.hasOwnProperty("clearRendition")) {
10314
+ if (properties.value === 1)
10315
+ return "value: multiple values";
10316
+ properties.value = 1;
10317
+ {
10318
+ let error = $root.vertexvis.protobuf.stream.ClearRenditionOperation.verify(message.clearRendition);
10319
+ if (error)
10320
+ return "clearRendition." + error;
10321
+ }
10322
+ }
9692
10323
  return null;
9693
10324
  };
9694
10325
 
@@ -9739,6 +10370,21 @@ const vertexvis = $root.vertexvis = (() => {
9739
10370
  throw TypeError(".vertexvis.protobuf.stream.OperationType.changeEndItem: object expected");
9740
10371
  message.changeEndItem = $root.vertexvis.protobuf.stream.ChangeEndItemOperation.fromObject(object.changeEndItem);
9741
10372
  }
10373
+ if (object.viewRendition != null) {
10374
+ if (typeof object.viewRendition !== "object")
10375
+ throw TypeError(".vertexvis.protobuf.stream.OperationType.viewRendition: object expected");
10376
+ message.viewRendition = $root.vertexvis.protobuf.stream.ViewRenditionOperation.fromObject(object.viewRendition);
10377
+ }
10378
+ if (object.viewDefaultRendition != null) {
10379
+ if (typeof object.viewDefaultRendition !== "object")
10380
+ throw TypeError(".vertexvis.protobuf.stream.OperationType.viewDefaultRendition: object expected");
10381
+ message.viewDefaultRendition = $root.vertexvis.protobuf.stream.ViewDefaultRenditionOperation.fromObject(object.viewDefaultRendition);
10382
+ }
10383
+ if (object.clearRendition != null) {
10384
+ if (typeof object.clearRendition !== "object")
10385
+ throw TypeError(".vertexvis.protobuf.stream.OperationType.clearRendition: object expected");
10386
+ message.clearRendition = $root.vertexvis.protobuf.stream.ClearRenditionOperation.fromObject(object.clearRendition);
10387
+ }
9742
10388
  return message;
9743
10389
  };
9744
10390
 
@@ -9790,6 +10436,21 @@ const vertexvis = $root.vertexvis = (() => {
9790
10436
  if (options.oneofs)
9791
10437
  object.value = "changeEndItem";
9792
10438
  }
10439
+ if (message.viewRendition != null && message.hasOwnProperty("viewRendition")) {
10440
+ object.viewRendition = $root.vertexvis.protobuf.stream.ViewRenditionOperation.toObject(message.viewRendition, options);
10441
+ if (options.oneofs)
10442
+ object.value = "viewRendition";
10443
+ }
10444
+ if (message.viewDefaultRendition != null && message.hasOwnProperty("viewDefaultRendition")) {
10445
+ object.viewDefaultRendition = $root.vertexvis.protobuf.stream.ViewDefaultRenditionOperation.toObject(message.viewDefaultRendition, options);
10446
+ if (options.oneofs)
10447
+ object.value = "viewDefaultRendition";
10448
+ }
10449
+ if (message.clearRendition != null && message.hasOwnProperty("clearRendition")) {
10450
+ object.clearRendition = $root.vertexvis.protobuf.stream.ClearRenditionOperation.toObject(message.clearRendition, options);
10451
+ if (options.oneofs)
10452
+ object.value = "clearRendition";
10453
+ }
9793
10454
  return object;
9794
10455
  };
9795
10456
 
@@ -21518,6 +22179,7 @@ const vertexvis = $root.vertexvis = (() => {
21518
22179
  * @property {string|null} [itemSuppliedId] FlyToPayload itemSuppliedId
21519
22180
  * @property {vertexvis.protobuf.core.IBoundingBox3f|null} [boundingBox] FlyToPayload boundingBox
21520
22181
  * @property {vertexvis.protobuf.stream.ICamera|null} [camera] FlyToPayload camera
22182
+ * @property {vertexvis.protobuf.stream.ICamera|null} [baseCamera] FlyToPayload baseCamera
21521
22183
  */
21522
22184
 
21523
22185
  /**
@@ -21583,6 +22245,14 @@ const vertexvis = $root.vertexvis = (() => {
21583
22245
  */
21584
22246
  FlyToPayload.prototype.camera = null;
21585
22247
 
22248
+ /**
22249
+ * FlyToPayload baseCamera.
22250
+ * @member {vertexvis.protobuf.stream.ICamera|null|undefined} baseCamera
22251
+ * @memberof vertexvis.protobuf.stream.FlyToPayload
22252
+ * @instance
22253
+ */
22254
+ FlyToPayload.prototype.baseCamera = null;
22255
+
21586
22256
  // OneOf field names bound to virtual getters and setters
21587
22257
  let $oneOfFields;
21588
22258
 
@@ -21633,6 +22303,8 @@ const vertexvis = $root.vertexvis = (() => {
21633
22303
  $root.vertexvis.protobuf.core.BoundingBox3f.encode(message.boundingBox, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
21634
22304
  if (message.camera != null && Object.hasOwnProperty.call(message, "camera"))
21635
22305
  $root.vertexvis.protobuf.stream.Camera.encode(message.camera, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
22306
+ if (message.baseCamera != null && Object.hasOwnProperty.call(message, "baseCamera"))
22307
+ $root.vertexvis.protobuf.stream.Camera.encode(message.baseCamera, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
21636
22308
  return writer;
21637
22309
  };
21638
22310
 
@@ -21685,6 +22357,9 @@ const vertexvis = $root.vertexvis = (() => {
21685
22357
  case 6:
21686
22358
  message.camera = $root.vertexvis.protobuf.stream.Camera.decode(reader, reader.uint32());
21687
22359
  break;
22360
+ case 7:
22361
+ message.baseCamera = $root.vertexvis.protobuf.stream.Camera.decode(reader, reader.uint32());
22362
+ break;
21688
22363
  default:
21689
22364
  reader.skipType(tag & 7);
21690
22365
  break;
@@ -21766,6 +22441,11 @@ const vertexvis = $root.vertexvis = (() => {
21766
22441
  return "camera." + error;
21767
22442
  }
21768
22443
  }
22444
+ if (message.baseCamera != null && message.hasOwnProperty("baseCamera")) {
22445
+ let error = $root.vertexvis.protobuf.stream.Camera.verify(message.baseCamera);
22446
+ if (error)
22447
+ return "baseCamera." + error;
22448
+ }
21769
22449
  return null;
21770
22450
  };
21771
22451
 
@@ -21808,6 +22488,11 @@ const vertexvis = $root.vertexvis = (() => {
21808
22488
  throw TypeError(".vertexvis.protobuf.stream.FlyToPayload.camera: object expected");
21809
22489
  message.camera = $root.vertexvis.protobuf.stream.Camera.fromObject(object.camera);
21810
22490
  }
22491
+ if (object.baseCamera != null) {
22492
+ if (typeof object.baseCamera !== "object")
22493
+ throw TypeError(".vertexvis.protobuf.stream.FlyToPayload.baseCamera: object expected");
22494
+ message.baseCamera = $root.vertexvis.protobuf.stream.Camera.fromObject(object.baseCamera);
22495
+ }
21811
22496
  return message;
21812
22497
  };
21813
22498
 
@@ -21827,6 +22512,7 @@ const vertexvis = $root.vertexvis = (() => {
21827
22512
  if (options.defaults) {
21828
22513
  object.frameCorrelationId = null;
21829
22514
  object.animation = null;
22515
+ object.baseCamera = null;
21830
22516
  }
21831
22517
  if (message.frameCorrelationId != null && message.hasOwnProperty("frameCorrelationId"))
21832
22518
  object.frameCorrelationId = $root.google.protobuf.StringValue.toObject(message.frameCorrelationId, options);
@@ -21852,6 +22538,8 @@ const vertexvis = $root.vertexvis = (() => {
21852
22538
  if (options.oneofs)
21853
22539
  object.flyToType = "camera";
21854
22540
  }
22541
+ if (message.baseCamera != null && message.hasOwnProperty("baseCamera"))
22542
+ object.baseCamera = $root.vertexvis.protobuf.stream.Camera.toObject(message.baseCamera, options);
21855
22543
  return object;
21856
22544
  };
21857
22545