@vertexvis/viewer 0.22.1-testing.0 → 0.22.1-testing.1

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.
Files changed (119) hide show
  1. package/dist/cjs/{entities-a0db2d78.js → entities-9fad8808.js} +2 -2
  2. package/dist/cjs/{entities-a0db2d78.js.map → entities-9fad8808.js.map} +1 -1
  3. package/dist/cjs/index.cjs.js +5 -4
  4. package/dist/cjs/index.cjs.js.map +1 -1
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/mapper-ac34f608.js +27 -0
  7. package/dist/cjs/mapper-ac34f608.js.map +1 -0
  8. package/dist/cjs/{queries-d31d23d4.js → queries-ea895dd6.js} +34 -3
  9. package/dist/cjs/queries-ea895dd6.js.map +1 -0
  10. package/dist/cjs/{scene_view_api_pb-0c5fdc13.js → scene_view_api_pb-61f663af.js} +605 -1
  11. package/dist/cjs/scene_view_api_pb-61f663af.js.map +1 -0
  12. package/dist/cjs/{scene_view_api_pb_service-4f9e3f90.js → scene_view_api_pb_service-bd6f25d0.js} +42 -2
  13. package/dist/cjs/scene_view_api_pb_service-bd6f25d0.js.map +1 -0
  14. package/dist/cjs/vertex-viewer-measurement-distance.cjs.entry.js +1 -1
  15. package/dist/cjs/vertex-viewer-measurement-line_2.cjs.entry.js +1 -1
  16. package/dist/cjs/vertex-viewer-measurement-precise.cjs.entry.js +3 -3
  17. package/dist/cjs/vertex-viewer-pin-group.cjs.entry.js +2 -2
  18. package/dist/cjs/vertex-viewer.cjs.entry.js +5 -4
  19. package/dist/cjs/vertex-viewer.cjs.entry.js.map +1 -1
  20. package/dist/cjs/viewer.cjs.js +1 -1
  21. package/dist/collection/components/viewer/viewer.js +25 -0
  22. package/dist/collection/components/viewer/viewer.js.map +1 -1
  23. package/dist/collection/index.js +1 -0
  24. package/dist/collection/index.js.map +1 -1
  25. package/dist/collection/lib/pmi/controller.js +39 -0
  26. package/dist/collection/lib/pmi/controller.js.map +1 -0
  27. package/dist/collection/lib/pmi/index.js +6 -0
  28. package/dist/collection/lib/pmi/index.js.map +1 -0
  29. package/dist/collection/lib/pmi/mapper.js +9 -0
  30. package/dist/collection/lib/pmi/mapper.js.map +1 -0
  31. package/dist/collection/lib/pmi/types.js +5 -0
  32. package/dist/collection/lib/pmi/types.js.map +1 -0
  33. package/dist/collection/testing/pmi.js +20 -0
  34. package/dist/collection/testing/pmi.js.map +1 -0
  35. package/dist/components/index.js +1 -1
  36. package/dist/components/mapper2.js +7 -3
  37. package/dist/components/mapper2.js.map +1 -1
  38. package/dist/components/queries.js +32 -2
  39. package/dist/components/queries.js.map +1 -1
  40. package/dist/components/scene_view_api_pb.js +604 -0
  41. package/dist/components/scene_view_api_pb.js.map +1 -1
  42. package/dist/components/scene_view_api_pb_service.js +40 -0
  43. package/dist/components/scene_view_api_pb_service.js.map +1 -1
  44. package/dist/components/vertex-viewer.js +3 -1
  45. package/dist/components/vertex-viewer.js.map +1 -1
  46. package/dist/esm/{entities-632f31f3.js → entities-9d4e336b.js} +2 -2
  47. package/dist/esm/{entities-632f31f3.js.map → entities-9d4e336b.js.map} +1 -1
  48. package/dist/esm/index.js +4 -4
  49. package/dist/esm/index.mjs +4 -4
  50. package/dist/esm/loader.js +1 -1
  51. package/dist/esm/loader.mjs +1 -1
  52. package/dist/esm/mapper-b3a6eca5.js +23 -0
  53. package/dist/esm/mapper-b3a6eca5.js.map +1 -0
  54. package/dist/esm/{queries-40a25625.js → queries-f2b5a440.js} +34 -4
  55. package/dist/esm/queries-f2b5a440.js.map +1 -0
  56. package/dist/esm/{scene_view_api_pb-1d91cc93.js → scene_view_api_pb-c030fd23.js} +605 -1
  57. package/dist/esm/scene_view_api_pb-c030fd23.js.map +1 -0
  58. package/dist/esm/{scene_view_api_pb_service-9f20d437.js → scene_view_api_pb_service-65caee11.js} +42 -2
  59. package/dist/esm/scene_view_api_pb_service-65caee11.js.map +1 -0
  60. package/dist/esm/vertex-viewer-measurement-distance.entry.js +1 -1
  61. package/dist/esm/vertex-viewer-measurement-line_2.entry.js +1 -1
  62. package/dist/esm/vertex-viewer-measurement-precise.entry.js +3 -3
  63. package/dist/esm/vertex-viewer-pin-group.entry.js +2 -2
  64. package/dist/esm/vertex-viewer.entry.js +5 -4
  65. package/dist/esm/vertex-viewer.entry.js.map +1 -1
  66. package/dist/esm/viewer.js +1 -1
  67. package/dist/types/components/viewer/viewer.d.ts +7 -0
  68. package/dist/types/components.d.ts +11 -0
  69. package/dist/types/index.d.ts +1 -0
  70. package/dist/types/lib/pmi/controller.d.ts +16 -0
  71. package/dist/types/lib/pmi/index.d.ts +2 -0
  72. package/dist/types/lib/pmi/mapper.d.ts +4 -0
  73. package/dist/types/lib/pmi/types.d.ts +10 -0
  74. package/dist/types/testing/pmi.d.ts +5 -0
  75. package/dist/viewer/index.esm.js +1 -1
  76. package/dist/viewer/index.esm.js.map +1 -1
  77. package/dist/viewer/p-187f783f.entry.js +5 -0
  78. package/dist/viewer/p-187f783f.entry.js.map +1 -0
  79. package/dist/viewer/p-32bff740.js +5 -0
  80. package/dist/viewer/p-32bff740.js.map +1 -0
  81. package/dist/viewer/{p-9d0c84ab.entry.js → p-4b7b629a.entry.js} +2 -2
  82. package/dist/viewer/p-8af6917b.js +5 -0
  83. package/dist/viewer/p-8af6917b.js.map +1 -0
  84. package/dist/viewer/{p-34dce39f.js → p-90bbb5f6.js} +2 -2
  85. package/dist/viewer/{p-9094c563.entry.js → p-9de90d0e.entry.js} +2 -2
  86. package/dist/viewer/{p-b9965b9b.entry.js → p-b3257f48.entry.js} +2 -2
  87. package/dist/viewer/{p-076e9e65.entry.js → p-d10f7459.entry.js} +2 -2
  88. package/dist/viewer/p-d36d5971.js +5 -0
  89. package/dist/viewer/p-d36d5971.js.map +1 -0
  90. package/dist/viewer/p-f0c0cf0b.js +5 -0
  91. package/dist/viewer/p-f0c0cf0b.js.map +1 -0
  92. package/dist/viewer/viewer.esm.js +1 -1
  93. package/dist/viewer/viewer.esm.js.map +1 -1
  94. package/package.json +8 -8
  95. package/dist/cjs/mapper-f168a1a5.js +0 -22
  96. package/dist/cjs/mapper-f168a1a5.js.map +0 -1
  97. package/dist/cjs/queries-d31d23d4.js.map +0 -1
  98. package/dist/cjs/scene_view_api_pb-0c5fdc13.js.map +0 -1
  99. package/dist/cjs/scene_view_api_pb_service-4f9e3f90.js.map +0 -1
  100. package/dist/esm/mapper-826430a2.js +0 -19
  101. package/dist/esm/mapper-826430a2.js.map +0 -1
  102. package/dist/esm/queries-40a25625.js.map +0 -1
  103. package/dist/esm/scene_view_api_pb-1d91cc93.js.map +0 -1
  104. package/dist/esm/scene_view_api_pb_service-9f20d437.js.map +0 -1
  105. package/dist/viewer/p-2800111a.js +0 -5
  106. package/dist/viewer/p-2800111a.js.map +0 -1
  107. package/dist/viewer/p-2924ed4a.entry.js +0 -5
  108. package/dist/viewer/p-2924ed4a.entry.js.map +0 -1
  109. package/dist/viewer/p-9f190847.js +0 -5
  110. package/dist/viewer/p-9f190847.js.map +0 -1
  111. package/dist/viewer/p-a297836a.js +0 -5
  112. package/dist/viewer/p-a297836a.js.map +0 -1
  113. package/dist/viewer/p-aeaafe7f.js +0 -5
  114. package/dist/viewer/p-aeaafe7f.js.map +0 -1
  115. /package/dist/viewer/{p-9d0c84ab.entry.js.map → p-4b7b629a.entry.js.map} +0 -0
  116. /package/dist/viewer/{p-34dce39f.js.map → p-90bbb5f6.js.map} +0 -0
  117. /package/dist/viewer/{p-9094c563.entry.js.map → p-9de90d0e.entry.js.map} +0 -0
  118. /package/dist/viewer/{p-b9965b9b.entry.js.map → p-b3257f48.entry.js.map} +0 -0
  119. /package/dist/viewer/{p-076e9e65.entry.js.map → p-d10f7459.entry.js.map} +0 -0
@@ -7896,6 +7896,7 @@ var global = Function('return this')();
7896
7896
 
7897
7897
  goog.exportSymbol('proto.vertexvis.protobuf.core.ItemModelView', null, global);
7898
7898
  goog.exportSymbol('proto.vertexvis.protobuf.core.ModelView', null, global);
7899
+ goog.exportSymbol('proto.vertexvis.protobuf.core.PmiAnnotation', null, global);
7899
7900
 
7900
7901
  /**
7901
7902
  * Generated by JsPbCodeGenerator.
@@ -8329,6 +8330,192 @@ proto.vertexvis.protobuf.core.ItemModelView.prototype.hasSceneItemId = function(
8329
8330
  };
8330
8331
 
8331
8332
 
8333
+
8334
+ /**
8335
+ * Generated by JsPbCodeGenerator.
8336
+ * @param {Array=} opt_data Optional initial data array, typically from a
8337
+ * server response, or constructed directly in Javascript. The array is used
8338
+ * in place and becomes part of the constructed object. It is not cloned.
8339
+ * If no data is provided, the constructed object will be empty, but still
8340
+ * valid.
8341
+ * @extends {jspb.Message}
8342
+ * @constructor
8343
+ */
8344
+ proto.vertexvis.protobuf.core.PmiAnnotation = function(opt_data) {
8345
+ googleProtobuf.Message.initialize(this, opt_data, 0, -1, null, null);
8346
+ };
8347
+ goog.inherits(proto.vertexvis.protobuf.core.PmiAnnotation, googleProtobuf.Message);
8348
+ if (goog.DEBUG && !COMPILED) {
8349
+ proto.vertexvis.protobuf.core.PmiAnnotation.displayName = 'proto.vertexvis.protobuf.core.PmiAnnotation';
8350
+ }
8351
+
8352
+
8353
+ if (googleProtobuf.Message.GENERATE_TO_OBJECT) {
8354
+ /**
8355
+ * Creates an object representation of this proto suitable for use in Soy templates.
8356
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
8357
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
8358
+ * For the list of reserved names please see:
8359
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
8360
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
8361
+ * for transitional soy proto support: http://goto/soy-param-migration
8362
+ * @return {!Object}
8363
+ */
8364
+ proto.vertexvis.protobuf.core.PmiAnnotation.prototype.toObject = function(opt_includeInstance) {
8365
+ return proto.vertexvis.protobuf.core.PmiAnnotation.toObject(opt_includeInstance, this);
8366
+ };
8367
+
8368
+
8369
+ /**
8370
+ * Static version of the {@see toObject} method.
8371
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
8372
+ * instance for transitional soy proto support:
8373
+ * http://goto/soy-param-migration
8374
+ * @param {!proto.vertexvis.protobuf.core.PmiAnnotation} msg The msg instance to transform.
8375
+ * @return {!Object}
8376
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8377
+ */
8378
+ proto.vertexvis.protobuf.core.PmiAnnotation.toObject = function(includeInstance, msg) {
8379
+ var f, obj = {
8380
+ id: (f = msg.getId()) && uuid_pb.Uuid2l.toObject(includeInstance, f),
8381
+ displayName: googleProtobuf.Message.getFieldWithDefault(msg, 2, "")
8382
+ };
8383
+
8384
+ if (includeInstance) {
8385
+ obj.$jspbMessageInstance = msg;
8386
+ }
8387
+ return obj;
8388
+ };
8389
+ }
8390
+
8391
+
8392
+ /**
8393
+ * Deserializes binary data (in protobuf wire format).
8394
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
8395
+ * @return {!proto.vertexvis.protobuf.core.PmiAnnotation}
8396
+ */
8397
+ proto.vertexvis.protobuf.core.PmiAnnotation.deserializeBinary = function(bytes) {
8398
+ var reader = new googleProtobuf.BinaryReader(bytes);
8399
+ var msg = new proto.vertexvis.protobuf.core.PmiAnnotation;
8400
+ return proto.vertexvis.protobuf.core.PmiAnnotation.deserializeBinaryFromReader(msg, reader);
8401
+ };
8402
+
8403
+
8404
+ /**
8405
+ * Deserializes binary data (in protobuf wire format) from the
8406
+ * given reader into the given message object.
8407
+ * @param {!proto.vertexvis.protobuf.core.PmiAnnotation} msg The message object to deserialize into.
8408
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
8409
+ * @return {!proto.vertexvis.protobuf.core.PmiAnnotation}
8410
+ */
8411
+ proto.vertexvis.protobuf.core.PmiAnnotation.deserializeBinaryFromReader = function(msg, reader) {
8412
+ while (reader.nextField()) {
8413
+ if (reader.isEndGroup()) {
8414
+ break;
8415
+ }
8416
+ var field = reader.getFieldNumber();
8417
+ switch (field) {
8418
+ case 1:
8419
+ var value = new uuid_pb.Uuid2l;
8420
+ reader.readMessage(value,uuid_pb.Uuid2l.deserializeBinaryFromReader);
8421
+ msg.setId(value);
8422
+ break;
8423
+ case 2:
8424
+ var value = /** @type {string} */ (reader.readString());
8425
+ msg.setDisplayName(value);
8426
+ break;
8427
+ default:
8428
+ reader.skipField();
8429
+ break;
8430
+ }
8431
+ }
8432
+ return msg;
8433
+ };
8434
+
8435
+
8436
+ /**
8437
+ * Serializes the message to binary data (in protobuf wire format).
8438
+ * @return {!Uint8Array}
8439
+ */
8440
+ proto.vertexvis.protobuf.core.PmiAnnotation.prototype.serializeBinary = function() {
8441
+ var writer = new googleProtobuf.BinaryWriter();
8442
+ proto.vertexvis.protobuf.core.PmiAnnotation.serializeBinaryToWriter(this, writer);
8443
+ return writer.getResultBuffer();
8444
+ };
8445
+
8446
+
8447
+ /**
8448
+ * Serializes the given message to binary data (in protobuf wire
8449
+ * format), writing to the given BinaryWriter.
8450
+ * @param {!proto.vertexvis.protobuf.core.PmiAnnotation} message
8451
+ * @param {!jspb.BinaryWriter} writer
8452
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8453
+ */
8454
+ proto.vertexvis.protobuf.core.PmiAnnotation.serializeBinaryToWriter = function(message, writer) {
8455
+ var f = undefined;
8456
+ f = message.getId();
8457
+ if (f != null) {
8458
+ writer.writeMessage(
8459
+ 1,
8460
+ f,
8461
+ uuid_pb.Uuid2l.serializeBinaryToWriter
8462
+ );
8463
+ }
8464
+ f = message.getDisplayName();
8465
+ if (f.length > 0) {
8466
+ writer.writeString(
8467
+ 2,
8468
+ f
8469
+ );
8470
+ }
8471
+ };
8472
+
8473
+
8474
+ /**
8475
+ * optional Uuid2l id = 1;
8476
+ * @return {?proto.vertexvis.protobuf.core.Uuid2l}
8477
+ */
8478
+ proto.vertexvis.protobuf.core.PmiAnnotation.prototype.getId = function() {
8479
+ return /** @type{?proto.vertexvis.protobuf.core.Uuid2l} */ (
8480
+ googleProtobuf.Message.getWrapperField(this, uuid_pb.Uuid2l, 1));
8481
+ };
8482
+
8483
+
8484
+ /** @param {?proto.vertexvis.protobuf.core.Uuid2l|undefined} value */
8485
+ proto.vertexvis.protobuf.core.PmiAnnotation.prototype.setId = function(value) {
8486
+ googleProtobuf.Message.setWrapperField(this, 1, value);
8487
+ };
8488
+
8489
+
8490
+ proto.vertexvis.protobuf.core.PmiAnnotation.prototype.clearId = function() {
8491
+ this.setId(undefined);
8492
+ };
8493
+
8494
+
8495
+ /**
8496
+ * Returns whether this field is set.
8497
+ * @return {!boolean}
8498
+ */
8499
+ proto.vertexvis.protobuf.core.PmiAnnotation.prototype.hasId = function() {
8500
+ return googleProtobuf.Message.getField(this, 1) != null;
8501
+ };
8502
+
8503
+
8504
+ /**
8505
+ * optional string display_name = 2;
8506
+ * @return {string}
8507
+ */
8508
+ proto.vertexvis.protobuf.core.PmiAnnotation.prototype.getDisplayName = function() {
8509
+ return /** @type {string} */ (googleProtobuf.Message.getFieldWithDefault(this, 2, ""));
8510
+ };
8511
+
8512
+
8513
+ /** @param {string} value */
8514
+ proto.vertexvis.protobuf.core.PmiAnnotation.prototype.setDisplayName = function(value) {
8515
+ googleProtobuf.Message.setProto3StringField(this, 2, value);
8516
+ };
8517
+
8518
+
8332
8519
  goog.object.extend(exports, proto.vertexvis.protobuf.core);
8333
8520
  });
8334
8521
 
@@ -13475,6 +13662,8 @@ goog.exportSymbol('proto.vertexvis.protobuf.sceneview.v1.ListItemModelViewsReque
13475
13662
  goog.exportSymbol('proto.vertexvis.protobuf.sceneview.v1.ListItemModelViewsResponse', null, global);
13476
13663
  goog.exportSymbol('proto.vertexvis.protobuf.sceneview.v1.ListItemRepresentationsRequest', null, global);
13477
13664
  goog.exportSymbol('proto.vertexvis.protobuf.sceneview.v1.ListItemRepresentationsResponse', null, global);
13665
+ goog.exportSymbol('proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest', null, global);
13666
+ goog.exportSymbol('proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse', null, global);
13478
13667
  goog.exportSymbol('proto.vertexvis.protobuf.sceneview.v1.ListSceneAnnotationsRequest', null, global);
13479
13668
  goog.exportSymbol('proto.vertexvis.protobuf.sceneview.v1.ListSceneAnnotationsResponse', null, global);
13480
13669
  goog.exportSymbol('proto.vertexvis.protobuf.sceneview.v1.ListSceneViewAnnotationSetsRequest', null, global);
@@ -14954,6 +15143,421 @@ proto.vertexvis.protobuf.sceneview.v1.ListItemModelViewsResponse.prototype.hasNe
14954
15143
 
14955
15144
 
14956
15145
 
15146
+ /**
15147
+ * Generated by JsPbCodeGenerator.
15148
+ * @param {Array=} opt_data Optional initial data array, typically from a
15149
+ * server response, or constructed directly in Javascript. The array is used
15150
+ * in place and becomes part of the constructed object. It is not cloned.
15151
+ * If no data is provided, the constructed object will be empty, but still
15152
+ * valid.
15153
+ * @extends {jspb.Message}
15154
+ * @constructor
15155
+ */
15156
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest = function(opt_data) {
15157
+ googleProtobuf.Message.initialize(this, opt_data, 0, -1, null, null);
15158
+ };
15159
+ goog.inherits(proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest, googleProtobuf.Message);
15160
+ if (goog.DEBUG && !COMPILED) {
15161
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest.displayName = 'proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest';
15162
+ }
15163
+
15164
+
15165
+ if (googleProtobuf.Message.GENERATE_TO_OBJECT) {
15166
+ /**
15167
+ * Creates an object representation of this proto suitable for use in Soy templates.
15168
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15169
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15170
+ * For the list of reserved names please see:
15171
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
15172
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
15173
+ * for transitional soy proto support: http://goto/soy-param-migration
15174
+ * @return {!Object}
15175
+ */
15176
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest.prototype.toObject = function(opt_includeInstance) {
15177
+ return proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest.toObject(opt_includeInstance, this);
15178
+ };
15179
+
15180
+
15181
+ /**
15182
+ * Static version of the {@see toObject} method.
15183
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
15184
+ * instance for transitional soy proto support:
15185
+ * http://goto/soy-param-migration
15186
+ * @param {!proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest} msg The msg instance to transform.
15187
+ * @return {!Object}
15188
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15189
+ */
15190
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest.toObject = function(includeInstance, msg) {
15191
+ var f, obj = {
15192
+ modelViewId: (f = msg.getModelViewId()) && uuid_pb.Uuid2l.toObject(includeInstance, f),
15193
+ page: (f = msg.getPage()) && paging_pb.Pager.toObject(includeInstance, f)
15194
+ };
15195
+
15196
+ if (includeInstance) {
15197
+ obj.$jspbMessageInstance = msg;
15198
+ }
15199
+ return obj;
15200
+ };
15201
+ }
15202
+
15203
+
15204
+ /**
15205
+ * Deserializes binary data (in protobuf wire format).
15206
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15207
+ * @return {!proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest}
15208
+ */
15209
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest.deserializeBinary = function(bytes) {
15210
+ var reader = new googleProtobuf.BinaryReader(bytes);
15211
+ var msg = new proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest;
15212
+ return proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest.deserializeBinaryFromReader(msg, reader);
15213
+ };
15214
+
15215
+
15216
+ /**
15217
+ * Deserializes binary data (in protobuf wire format) from the
15218
+ * given reader into the given message object.
15219
+ * @param {!proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest} msg The message object to deserialize into.
15220
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15221
+ * @return {!proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest}
15222
+ */
15223
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest.deserializeBinaryFromReader = function(msg, reader) {
15224
+ while (reader.nextField()) {
15225
+ if (reader.isEndGroup()) {
15226
+ break;
15227
+ }
15228
+ var field = reader.getFieldNumber();
15229
+ switch (field) {
15230
+ case 1:
15231
+ var value = new uuid_pb.Uuid2l;
15232
+ reader.readMessage(value,uuid_pb.Uuid2l.deserializeBinaryFromReader);
15233
+ msg.setModelViewId(value);
15234
+ break;
15235
+ case 2:
15236
+ var value = new paging_pb.Pager;
15237
+ reader.readMessage(value,paging_pb.Pager.deserializeBinaryFromReader);
15238
+ msg.setPage(value);
15239
+ break;
15240
+ default:
15241
+ reader.skipField();
15242
+ break;
15243
+ }
15244
+ }
15245
+ return msg;
15246
+ };
15247
+
15248
+
15249
+ /**
15250
+ * Serializes the message to binary data (in protobuf wire format).
15251
+ * @return {!Uint8Array}
15252
+ */
15253
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest.prototype.serializeBinary = function() {
15254
+ var writer = new googleProtobuf.BinaryWriter();
15255
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest.serializeBinaryToWriter(this, writer);
15256
+ return writer.getResultBuffer();
15257
+ };
15258
+
15259
+
15260
+ /**
15261
+ * Serializes the given message to binary data (in protobuf wire
15262
+ * format), writing to the given BinaryWriter.
15263
+ * @param {!proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest} message
15264
+ * @param {!jspb.BinaryWriter} writer
15265
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15266
+ */
15267
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest.serializeBinaryToWriter = function(message, writer) {
15268
+ var f = undefined;
15269
+ f = message.getModelViewId();
15270
+ if (f != null) {
15271
+ writer.writeMessage(
15272
+ 1,
15273
+ f,
15274
+ uuid_pb.Uuid2l.serializeBinaryToWriter
15275
+ );
15276
+ }
15277
+ f = message.getPage();
15278
+ if (f != null) {
15279
+ writer.writeMessage(
15280
+ 2,
15281
+ f,
15282
+ paging_pb.Pager.serializeBinaryToWriter
15283
+ );
15284
+ }
15285
+ };
15286
+
15287
+
15288
+ /**
15289
+ * optional vertexvis.protobuf.core.Uuid2l model_view_id = 1;
15290
+ * @return {?proto.vertexvis.protobuf.core.Uuid2l}
15291
+ */
15292
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest.prototype.getModelViewId = function() {
15293
+ return /** @type{?proto.vertexvis.protobuf.core.Uuid2l} */ (
15294
+ googleProtobuf.Message.getWrapperField(this, uuid_pb.Uuid2l, 1));
15295
+ };
15296
+
15297
+
15298
+ /** @param {?proto.vertexvis.protobuf.core.Uuid2l|undefined} value */
15299
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest.prototype.setModelViewId = function(value) {
15300
+ googleProtobuf.Message.setWrapperField(this, 1, value);
15301
+ };
15302
+
15303
+
15304
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest.prototype.clearModelViewId = function() {
15305
+ this.setModelViewId(undefined);
15306
+ };
15307
+
15308
+
15309
+ /**
15310
+ * Returns whether this field is set.
15311
+ * @return {!boolean}
15312
+ */
15313
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest.prototype.hasModelViewId = function() {
15314
+ return googleProtobuf.Message.getField(this, 1) != null;
15315
+ };
15316
+
15317
+
15318
+ /**
15319
+ * optional vertexvis.protobuf.core.Pager page = 2;
15320
+ * @return {?proto.vertexvis.protobuf.core.Pager}
15321
+ */
15322
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest.prototype.getPage = function() {
15323
+ return /** @type{?proto.vertexvis.protobuf.core.Pager} */ (
15324
+ googleProtobuf.Message.getWrapperField(this, paging_pb.Pager, 2));
15325
+ };
15326
+
15327
+
15328
+ /** @param {?proto.vertexvis.protobuf.core.Pager|undefined} value */
15329
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest.prototype.setPage = function(value) {
15330
+ googleProtobuf.Message.setWrapperField(this, 2, value);
15331
+ };
15332
+
15333
+
15334
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest.prototype.clearPage = function() {
15335
+ this.setPage(undefined);
15336
+ };
15337
+
15338
+
15339
+ /**
15340
+ * Returns whether this field is set.
15341
+ * @return {!boolean}
15342
+ */
15343
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsRequest.prototype.hasPage = function() {
15344
+ return googleProtobuf.Message.getField(this, 2) != null;
15345
+ };
15346
+
15347
+
15348
+
15349
+ /**
15350
+ * Generated by JsPbCodeGenerator.
15351
+ * @param {Array=} opt_data Optional initial data array, typically from a
15352
+ * server response, or constructed directly in Javascript. The array is used
15353
+ * in place and becomes part of the constructed object. It is not cloned.
15354
+ * If no data is provided, the constructed object will be empty, but still
15355
+ * valid.
15356
+ * @extends {jspb.Message}
15357
+ * @constructor
15358
+ */
15359
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse = function(opt_data) {
15360
+ googleProtobuf.Message.initialize(this, opt_data, 0, -1, proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse.repeatedFields_, null);
15361
+ };
15362
+ goog.inherits(proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse, googleProtobuf.Message);
15363
+ if (goog.DEBUG && !COMPILED) {
15364
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse.displayName = 'proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse';
15365
+ }
15366
+ /**
15367
+ * List of repeated fields within this message type.
15368
+ * @private {!Array<number>}
15369
+ * @const
15370
+ */
15371
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse.repeatedFields_ = [1];
15372
+
15373
+
15374
+
15375
+ if (googleProtobuf.Message.GENERATE_TO_OBJECT) {
15376
+ /**
15377
+ * Creates an object representation of this proto suitable for use in Soy templates.
15378
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15379
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15380
+ * For the list of reserved names please see:
15381
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
15382
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
15383
+ * for transitional soy proto support: http://goto/soy-param-migration
15384
+ * @return {!Object}
15385
+ */
15386
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse.prototype.toObject = function(opt_includeInstance) {
15387
+ return proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse.toObject(opt_includeInstance, this);
15388
+ };
15389
+
15390
+
15391
+ /**
15392
+ * Static version of the {@see toObject} method.
15393
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
15394
+ * instance for transitional soy proto support:
15395
+ * http://goto/soy-param-migration
15396
+ * @param {!proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse} msg The msg instance to transform.
15397
+ * @return {!Object}
15398
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15399
+ */
15400
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse.toObject = function(includeInstance, msg) {
15401
+ var f, obj = {
15402
+ annotationsList: googleProtobuf.Message.toObjectList(msg.getAnnotationsList(),
15403
+ model_views_pb.PmiAnnotation.toObject, includeInstance),
15404
+ nextPageCursor: (f = msg.getNextPageCursor()) && paging_pb.Cursor.toObject(includeInstance, f)
15405
+ };
15406
+
15407
+ if (includeInstance) {
15408
+ obj.$jspbMessageInstance = msg;
15409
+ }
15410
+ return obj;
15411
+ };
15412
+ }
15413
+
15414
+
15415
+ /**
15416
+ * Deserializes binary data (in protobuf wire format).
15417
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15418
+ * @return {!proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse}
15419
+ */
15420
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse.deserializeBinary = function(bytes) {
15421
+ var reader = new googleProtobuf.BinaryReader(bytes);
15422
+ var msg = new proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse;
15423
+ return proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse.deserializeBinaryFromReader(msg, reader);
15424
+ };
15425
+
15426
+
15427
+ /**
15428
+ * Deserializes binary data (in protobuf wire format) from the
15429
+ * given reader into the given message object.
15430
+ * @param {!proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse} msg The message object to deserialize into.
15431
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15432
+ * @return {!proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse}
15433
+ */
15434
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse.deserializeBinaryFromReader = function(msg, reader) {
15435
+ while (reader.nextField()) {
15436
+ if (reader.isEndGroup()) {
15437
+ break;
15438
+ }
15439
+ var field = reader.getFieldNumber();
15440
+ switch (field) {
15441
+ case 1:
15442
+ var value = new model_views_pb.PmiAnnotation;
15443
+ reader.readMessage(value,model_views_pb.PmiAnnotation.deserializeBinaryFromReader);
15444
+ msg.addAnnotations(value);
15445
+ break;
15446
+ case 2:
15447
+ var value = new paging_pb.Cursor;
15448
+ reader.readMessage(value,paging_pb.Cursor.deserializeBinaryFromReader);
15449
+ msg.setNextPageCursor(value);
15450
+ break;
15451
+ default:
15452
+ reader.skipField();
15453
+ break;
15454
+ }
15455
+ }
15456
+ return msg;
15457
+ };
15458
+
15459
+
15460
+ /**
15461
+ * Serializes the message to binary data (in protobuf wire format).
15462
+ * @return {!Uint8Array}
15463
+ */
15464
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse.prototype.serializeBinary = function() {
15465
+ var writer = new googleProtobuf.BinaryWriter();
15466
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse.serializeBinaryToWriter(this, writer);
15467
+ return writer.getResultBuffer();
15468
+ };
15469
+
15470
+
15471
+ /**
15472
+ * Serializes the given message to binary data (in protobuf wire
15473
+ * format), writing to the given BinaryWriter.
15474
+ * @param {!proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse} message
15475
+ * @param {!jspb.BinaryWriter} writer
15476
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15477
+ */
15478
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse.serializeBinaryToWriter = function(message, writer) {
15479
+ var f = undefined;
15480
+ f = message.getAnnotationsList();
15481
+ if (f.length > 0) {
15482
+ writer.writeRepeatedMessage(
15483
+ 1,
15484
+ f,
15485
+ model_views_pb.PmiAnnotation.serializeBinaryToWriter
15486
+ );
15487
+ }
15488
+ f = message.getNextPageCursor();
15489
+ if (f != null) {
15490
+ writer.writeMessage(
15491
+ 2,
15492
+ f,
15493
+ paging_pb.Cursor.serializeBinaryToWriter
15494
+ );
15495
+ }
15496
+ };
15497
+
15498
+
15499
+ /**
15500
+ * repeated vertexvis.protobuf.core.PmiAnnotation annotations = 1;
15501
+ * @return {!Array<!proto.vertexvis.protobuf.core.PmiAnnotation>}
15502
+ */
15503
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse.prototype.getAnnotationsList = function() {
15504
+ return /** @type{!Array<!proto.vertexvis.protobuf.core.PmiAnnotation>} */ (
15505
+ googleProtobuf.Message.getRepeatedWrapperField(this, model_views_pb.PmiAnnotation, 1));
15506
+ };
15507
+
15508
+
15509
+ /** @param {!Array<!proto.vertexvis.protobuf.core.PmiAnnotation>} value */
15510
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse.prototype.setAnnotationsList = function(value) {
15511
+ googleProtobuf.Message.setRepeatedWrapperField(this, 1, value);
15512
+ };
15513
+
15514
+
15515
+ /**
15516
+ * @param {!proto.vertexvis.protobuf.core.PmiAnnotation=} opt_value
15517
+ * @param {number=} opt_index
15518
+ * @return {!proto.vertexvis.protobuf.core.PmiAnnotation}
15519
+ */
15520
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse.prototype.addAnnotations = function(opt_value, opt_index) {
15521
+ return googleProtobuf.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.vertexvis.protobuf.core.PmiAnnotation, opt_index);
15522
+ };
15523
+
15524
+
15525
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse.prototype.clearAnnotationsList = function() {
15526
+ this.setAnnotationsList([]);
15527
+ };
15528
+
15529
+
15530
+ /**
15531
+ * optional vertexvis.protobuf.core.Cursor next_page_cursor = 2;
15532
+ * @return {?proto.vertexvis.protobuf.core.Cursor}
15533
+ */
15534
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse.prototype.getNextPageCursor = function() {
15535
+ return /** @type{?proto.vertexvis.protobuf.core.Cursor} */ (
15536
+ googleProtobuf.Message.getWrapperField(this, paging_pb.Cursor, 2));
15537
+ };
15538
+
15539
+
15540
+ /** @param {?proto.vertexvis.protobuf.core.Cursor|undefined} value */
15541
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse.prototype.setNextPageCursor = function(value) {
15542
+ googleProtobuf.Message.setWrapperField(this, 2, value);
15543
+ };
15544
+
15545
+
15546
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse.prototype.clearNextPageCursor = function() {
15547
+ this.setNextPageCursor(undefined);
15548
+ };
15549
+
15550
+
15551
+ /**
15552
+ * Returns whether this field is set.
15553
+ * @return {!boolean}
15554
+ */
15555
+ proto.vertexvis.protobuf.sceneview.v1.ListPmiAnnotationsResponse.prototype.hasNextPageCursor = function() {
15556
+ return googleProtobuf.Message.getField(this, 2) != null;
15557
+ };
15558
+
15559
+
15560
+
14957
15561
  /**
14958
15562
  * Generated by JsPbCodeGenerator.
14959
15563
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -16760,4 +17364,4 @@ goog.object.extend(exports, proto.vertexvis.protobuf.sceneview.v1);
16760
17364
 
16761
17365
  export { geometry_pb as g, model_entity_pb as m, paging_pb as p, representation_pb as r, scene_view_api_pb as s, uuid_pb as u };
16762
17366
 
16763
- //# sourceMappingURL=scene_view_api_pb-1d91cc93.js.map
17367
+ //# sourceMappingURL=scene_view_api_pb-c030fd23.js.map