android-emulator-webrtc 1.0.18 → 2.0.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 (69) hide show
  1. package/README.md +93 -204
  2. package/dist/components/emulator/emulator.d.ts +64 -0
  3. package/dist/components/emulator/emulator.js +161 -173
  4. package/dist/components/emulator/net/emulator_status.d.ts +45 -0
  5. package/dist/components/emulator/net/emulator_status.js +35 -42
  6. package/dist/components/emulator/net/logcat.js +37 -54
  7. package/dist/components/emulator/net/logger.d.ts +7 -0
  8. package/dist/components/emulator/net/logger.js +20 -0
  9. package/dist/components/emulator/net/ws_jsep_protocol_driver.d.ts +213 -0
  10. package/dist/components/emulator/net/ws_jsep_protocol_driver.js +640 -0
  11. package/dist/components/emulator/views/event_handler.d.ts +37 -0
  12. package/dist/components/emulator/views/event_handler.js +274 -260
  13. package/dist/components/emulator/views/webrtc_view.d.ts +27 -0
  14. package/dist/components/emulator/views/webrtc_view.js +42 -20
  15. package/dist/index.d.ts +8 -0
  16. package/dist/index.js +0 -7
  17. package/dist/proto/emulator_controller_pb.d.ts +1 -0
  18. package/dist/proto/emulator_controller_pb.js +146 -287
  19. package/dist/src/components/emulator/emulator.d.ts +64 -0
  20. package/dist/src/components/emulator/net/emulator_status.d.ts +45 -0
  21. package/dist/src/components/emulator/net/logger.d.ts +7 -0
  22. package/dist/src/components/emulator/net/ws_jsep_protocol_driver.d.ts +213 -0
  23. package/dist/src/components/emulator/views/event_handler.d.ts +37 -0
  24. package/dist/src/components/emulator/views/webrtc_view.d.ts +27 -0
  25. package/dist/src/index.d.ts +8 -0
  26. package/dist/src/proto/emulator_controller_pb.d.ts +1 -0
  27. package/package.json +17 -17
  28. package/proto/emulator_controller.proto +746 -181
  29. package/.vscode/launch.json +0 -21
  30. package/.vscode/settings.json +0 -3
  31. package/CONTRIBUTING.md +0 -28
  32. package/Makefile +0 -123
  33. package/android-emulator-webrtc.code-workspace +0 -7
  34. package/api_descriptor.pb +0 -0
  35. package/babel.config.js +0 -16
  36. package/cloudbuild.yaml +0 -41
  37. package/cloudbuilders/.gcloudignore +0 -1
  38. package/cloudbuilders/Dockerfile +0 -20
  39. package/cloudbuilders/README.md +0 -29
  40. package/cloudbuilders/cloudbuild.yaml +0 -19
  41. package/dist/components/emulator/net/jsep_protocol_driver.js +0 -365
  42. package/dist/components/emulator/views/simple_png_view.js +0 -110
  43. package/dist/proto/emulator_controller_grpc_web_pb.js +0 -1601
  44. package/dist/proto/emulator_web_client.js +0 -176
  45. package/dist/proto/rtc_service_grpc_web_pb.js +0 -231
  46. package/dist/proto/rtc_service_pb.js +0 -338
  47. package/emulator/index.js +0 -1
  48. package/eslint_prefix.py +0 -37
  49. package/gen_md_doc.js +0 -40
  50. package/npmrc.enc +0 -0
  51. package/proto/rtc_service.proto +0 -117
  52. package/protoc-plugin/Makefile +0 -31
  53. package/protoc-plugin/grpc_generator.cc +0 -1755
  54. package/src/components/emulator/emulator.js +0 -217
  55. package/src/components/emulator/net/emulator_status.js +0 -94
  56. package/src/components/emulator/net/jsep_protocol_driver.js +0 -364
  57. package/src/components/emulator/net/logcat.js +0 -155
  58. package/src/components/emulator/views/event_handler.js +0 -268
  59. package/src/components/emulator/views/simple_png_view.js +0 -105
  60. package/src/components/emulator/views/webrtc_view.js +0 -142
  61. package/src/index.js +0 -20
  62. package/src/proto/emulator_web_client.js +0 -140
  63. package/test/cloudbuild.yaml +0 -41
  64. package/test/emulator.test.js +0 -125
  65. package/test/event_handler.test.js +0 -91
  66. package/test/fake_events.js +0 -50
  67. package/test/jsep_protocol_driver.test.js +0 -228
  68. package/test/simple_png_view.test.js +0 -145
  69. package/test/touch_event_handler.test.js +0 -118
@@ -1,18 +1,24 @@
1
1
  "use strict";
2
2
 
3
+ /* eslint-disable */
3
4
  // source: emulator_controller.proto
4
5
  /**
5
6
  * @fileoverview
6
7
  * @enhanceable
8
+ * @suppress {missingRequire} reports error on implicit type usages.
7
9
  * @suppress {messageConventions} JS Compiler reports an error if a variable or
8
10
  * field starts with 'MSG_' and isn't a translatable message.
9
11
  * @public
10
12
  */
11
13
  // GENERATED CODE -- DO NOT EDIT!
14
+ /* eslint-disable */
15
+ // @ts-nocheck
12
16
 
13
17
  var jspb = require('google-protobuf');
14
18
  var goog = jspb;
15
- var global = Function('return this')();
19
+ var global = typeof globalThis !== 'undefined' && globalThis || typeof window !== 'undefined' && window || typeof global !== 'undefined' && global || typeof self !== 'undefined' && self || function () {
20
+ return this;
21
+ }.call(null) || Function('return this')();
16
22
  var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
17
23
  goog.object.extend(proto, google_protobuf_empty_pb);
18
24
  goog.exportSymbol('proto.android.emulation.control.AudioFormat', null, global);
@@ -1043,8 +1049,7 @@ proto.android.emulation.control.VmRunState.RunState = {
1043
1049
  * @return {!proto.android.emulation.control.VmRunState.RunState}
1044
1050
  */
1045
1051
  proto.android.emulation.control.VmRunState.prototype.getState = function () {
1046
- return (/** @type {!proto.android.emulation.control.VmRunState.RunState} */jspb.Message.getFieldWithDefault(this, 1, 0)
1047
- );
1052
+ return /** @type {!proto.android.emulation.control.VmRunState.RunState} */jspb.Message.getFieldWithDefault(this, 1, 0);
1048
1053
  };
1049
1054
 
1050
1055
  /**
@@ -1125,8 +1130,10 @@ proto.android.emulation.control.ParameterValue.deserializeBinaryFromReader = fun
1125
1130
  var field = reader.getFieldNumber();
1126
1131
  switch (field) {
1127
1132
  case 1:
1128
- var value = /** @type {!Array<number>} */reader.readPackedFloat();
1129
- msg.setDataList(value);
1133
+ var values = /** @type {!Array<number>} */reader.isDelimited() ? reader.readPackedFloat() : [reader.readFloat()];
1134
+ for (var i = 0; i < values.length; i++) {
1135
+ msg.addData(values[i]);
1136
+ }
1130
1137
  break;
1131
1138
  default:
1132
1139
  reader.skipField();
@@ -1166,8 +1173,7 @@ proto.android.emulation.control.ParameterValue.serializeBinaryToWriter = functio
1166
1173
  * @return {!Array<number>}
1167
1174
  */
1168
1175
  proto.android.emulation.control.ParameterValue.prototype.getDataList = function () {
1169
- return (/** @type {!Array<number>} */jspb.Message.getRepeatedFloatingPointField(this, 1)
1170
- );
1176
+ return /** @type {!Array<number>} */jspb.Message.getRepeatedFloatingPointField(this, 1);
1171
1177
  };
1172
1178
 
1173
1179
  /**
@@ -1354,8 +1360,7 @@ proto.android.emulation.control.PhysicalModelValue.PhysicalType = {
1354
1360
  * @return {!proto.android.emulation.control.PhysicalModelValue.PhysicalType}
1355
1361
  */
1356
1362
  proto.android.emulation.control.PhysicalModelValue.prototype.getTarget = function () {
1357
- return (/** @type {!proto.android.emulation.control.PhysicalModelValue.PhysicalType} */jspb.Message.getFieldWithDefault(this, 1, 0)
1358
- );
1363
+ return /** @type {!proto.android.emulation.control.PhysicalModelValue.PhysicalType} */jspb.Message.getFieldWithDefault(this, 1, 0);
1359
1364
  };
1360
1365
 
1361
1366
  /**
@@ -1371,8 +1376,7 @@ proto.android.emulation.control.PhysicalModelValue.prototype.setTarget = functio
1371
1376
  * @return {!proto.android.emulation.control.PhysicalModelValue.State}
1372
1377
  */
1373
1378
  proto.android.emulation.control.PhysicalModelValue.prototype.getStatus = function () {
1374
- return (/** @type {!proto.android.emulation.control.PhysicalModelValue.State} */jspb.Message.getFieldWithDefault(this, 2, 0)
1375
- );
1379
+ return /** @type {!proto.android.emulation.control.PhysicalModelValue.State} */jspb.Message.getFieldWithDefault(this, 2, 0);
1376
1380
  };
1377
1381
 
1378
1382
  /**
@@ -1388,9 +1392,7 @@ proto.android.emulation.control.PhysicalModelValue.prototype.setStatus = functio
1388
1392
  * @return {?proto.android.emulation.control.ParameterValue}
1389
1393
  */
1390
1394
  proto.android.emulation.control.PhysicalModelValue.prototype.getValue = function () {
1391
- return (/** @type{?proto.android.emulation.control.ParameterValue} */
1392
- jspb.Message.getWrapperField(this, proto.android.emulation.control.ParameterValue, 3)
1393
- );
1395
+ return /** @type{?proto.android.emulation.control.ParameterValue} */jspb.Message.getWrapperField(this, proto.android.emulation.control.ParameterValue, 3);
1394
1396
  };
1395
1397
 
1396
1398
  /**
@@ -1570,8 +1572,7 @@ proto.android.emulation.control.SensorValue.SensorType = {
1570
1572
  * @return {!proto.android.emulation.control.SensorValue.SensorType}
1571
1573
  */
1572
1574
  proto.android.emulation.control.SensorValue.prototype.getTarget = function () {
1573
- return (/** @type {!proto.android.emulation.control.SensorValue.SensorType} */jspb.Message.getFieldWithDefault(this, 1, 0)
1574
- );
1575
+ return /** @type {!proto.android.emulation.control.SensorValue.SensorType} */jspb.Message.getFieldWithDefault(this, 1, 0);
1575
1576
  };
1576
1577
 
1577
1578
  /**
@@ -1587,8 +1588,7 @@ proto.android.emulation.control.SensorValue.prototype.setTarget = function (valu
1587
1588
  * @return {!proto.android.emulation.control.SensorValue.State}
1588
1589
  */
1589
1590
  proto.android.emulation.control.SensorValue.prototype.getStatus = function () {
1590
- return (/** @type {!proto.android.emulation.control.SensorValue.State} */jspb.Message.getFieldWithDefault(this, 2, 0)
1591
- );
1591
+ return /** @type {!proto.android.emulation.control.SensorValue.State} */jspb.Message.getFieldWithDefault(this, 2, 0);
1592
1592
  };
1593
1593
 
1594
1594
  /**
@@ -1604,9 +1604,7 @@ proto.android.emulation.control.SensorValue.prototype.setStatus = function (valu
1604
1604
  * @return {?proto.android.emulation.control.ParameterValue}
1605
1605
  */
1606
1606
  proto.android.emulation.control.SensorValue.prototype.getValue = function () {
1607
- return (/** @type{?proto.android.emulation.control.ParameterValue} */
1608
- jspb.Message.getWrapperField(this, proto.android.emulation.control.ParameterValue, 3)
1609
- );
1607
+ return /** @type{?proto.android.emulation.control.ParameterValue} */jspb.Message.getWrapperField(this, proto.android.emulation.control.ParameterValue, 3);
1610
1608
  };
1611
1609
 
1612
1610
  /**
@@ -1755,8 +1753,7 @@ proto.android.emulation.control.BrightnessValue.LightType = {
1755
1753
  * @return {!proto.android.emulation.control.BrightnessValue.LightType}
1756
1754
  */
1757
1755
  proto.android.emulation.control.BrightnessValue.prototype.getTarget = function () {
1758
- return (/** @type {!proto.android.emulation.control.BrightnessValue.LightType} */jspb.Message.getFieldWithDefault(this, 1, 0)
1759
- );
1756
+ return /** @type {!proto.android.emulation.control.BrightnessValue.LightType} */jspb.Message.getFieldWithDefault(this, 1, 0);
1760
1757
  };
1761
1758
 
1762
1759
  /**
@@ -1772,8 +1769,7 @@ proto.android.emulation.control.BrightnessValue.prototype.setTarget = function (
1772
1769
  * @return {number}
1773
1770
  */
1774
1771
  proto.android.emulation.control.BrightnessValue.prototype.getValue = function () {
1775
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0)
1776
- );
1772
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0);
1777
1773
  };
1778
1774
 
1779
1775
  /**
@@ -1888,8 +1884,7 @@ proto.android.emulation.control.DisplayMode.serializeBinaryToWriter = function (
1888
1884
  * @return {!proto.android.emulation.control.DisplayModeValue}
1889
1885
  */
1890
1886
  proto.android.emulation.control.DisplayMode.prototype.getValue = function () {
1891
- return (/** @type {!proto.android.emulation.control.DisplayModeValue} */jspb.Message.getFieldWithDefault(this, 1, 0)
1892
- );
1887
+ return /** @type {!proto.android.emulation.control.DisplayModeValue} */jspb.Message.getFieldWithDefault(this, 1, 0);
1893
1888
  };
1894
1889
 
1895
1890
  /**
@@ -2056,8 +2051,7 @@ proto.android.emulation.control.LogMessage.LogType = {
2056
2051
  * @return {string}
2057
2052
  */
2058
2053
  proto.android.emulation.control.LogMessage.prototype.getContents = function () {
2059
- return (/** @type {string} */jspb.Message.getFieldWithDefault(this, 1, "")
2060
- );
2054
+ return /** @type {string} */jspb.Message.getFieldWithDefault(this, 1, "");
2061
2055
  };
2062
2056
 
2063
2057
  /**
@@ -2073,8 +2067,7 @@ proto.android.emulation.control.LogMessage.prototype.setContents = function (val
2073
2067
  * @return {number}
2074
2068
  */
2075
2069
  proto.android.emulation.control.LogMessage.prototype.getStart = function () {
2076
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0)
2077
- );
2070
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0);
2078
2071
  };
2079
2072
 
2080
2073
  /**
@@ -2090,8 +2083,7 @@ proto.android.emulation.control.LogMessage.prototype.setStart = function (value)
2090
2083
  * @return {number}
2091
2084
  */
2092
2085
  proto.android.emulation.control.LogMessage.prototype.getNext = function () {
2093
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0)
2094
- );
2086
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0);
2095
2087
  };
2096
2088
 
2097
2089
  /**
@@ -2107,8 +2099,7 @@ proto.android.emulation.control.LogMessage.prototype.setNext = function (value)
2107
2099
  * @return {!proto.android.emulation.control.LogMessage.LogType}
2108
2100
  */
2109
2101
  proto.android.emulation.control.LogMessage.prototype.getSort = function () {
2110
- return (/** @type {!proto.android.emulation.control.LogMessage.LogType} */jspb.Message.getFieldWithDefault(this, 4, 0)
2111
- );
2102
+ return /** @type {!proto.android.emulation.control.LogMessage.LogType} */jspb.Message.getFieldWithDefault(this, 4, 0);
2112
2103
  };
2113
2104
 
2114
2105
  /**
@@ -2124,9 +2115,7 @@ proto.android.emulation.control.LogMessage.prototype.setSort = function (value)
2124
2115
  * @return {!Array<!proto.android.emulation.control.LogcatEntry>}
2125
2116
  */
2126
2117
  proto.android.emulation.control.LogMessage.prototype.getEntriesList = function () {
2127
- return (/** @type{!Array<!proto.android.emulation.control.LogcatEntry>} */
2128
- jspb.Message.getRepeatedWrapperField(this, proto.android.emulation.control.LogcatEntry, 5)
2129
- );
2118
+ return /** @type{!Array<!proto.android.emulation.control.LogcatEntry>} */jspb.Message.getRepeatedWrapperField(this, proto.android.emulation.control.LogcatEntry, 5);
2130
2119
  };
2131
2120
 
2132
2121
  /**
@@ -2318,8 +2307,7 @@ proto.android.emulation.control.LogcatEntry.LogLevel = {
2318
2307
  * @return {number}
2319
2308
  */
2320
2309
  proto.android.emulation.control.LogcatEntry.prototype.getTimestamp = function () {
2321
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 1, 0)
2322
- );
2310
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 1, 0);
2323
2311
  };
2324
2312
 
2325
2313
  /**
@@ -2335,8 +2323,7 @@ proto.android.emulation.control.LogcatEntry.prototype.setTimestamp = function (v
2335
2323
  * @return {number}
2336
2324
  */
2337
2325
  proto.android.emulation.control.LogcatEntry.prototype.getPid = function () {
2338
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0)
2339
- );
2326
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0);
2340
2327
  };
2341
2328
 
2342
2329
  /**
@@ -2352,8 +2339,7 @@ proto.android.emulation.control.LogcatEntry.prototype.setPid = function (value)
2352
2339
  * @return {number}
2353
2340
  */
2354
2341
  proto.android.emulation.control.LogcatEntry.prototype.getTid = function () {
2355
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0)
2356
- );
2342
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0);
2357
2343
  };
2358
2344
 
2359
2345
  /**
@@ -2369,8 +2355,7 @@ proto.android.emulation.control.LogcatEntry.prototype.setTid = function (value)
2369
2355
  * @return {!proto.android.emulation.control.LogcatEntry.LogLevel}
2370
2356
  */
2371
2357
  proto.android.emulation.control.LogcatEntry.prototype.getLevel = function () {
2372
- return (/** @type {!proto.android.emulation.control.LogcatEntry.LogLevel} */jspb.Message.getFieldWithDefault(this, 4, 0)
2373
- );
2358
+ return /** @type {!proto.android.emulation.control.LogcatEntry.LogLevel} */jspb.Message.getFieldWithDefault(this, 4, 0);
2374
2359
  };
2375
2360
 
2376
2361
  /**
@@ -2386,8 +2371,7 @@ proto.android.emulation.control.LogcatEntry.prototype.setLevel = function (value
2386
2371
  * @return {string}
2387
2372
  */
2388
2373
  proto.android.emulation.control.LogcatEntry.prototype.getTag = function () {
2389
- return (/** @type {string} */jspb.Message.getFieldWithDefault(this, 5, "")
2390
- );
2374
+ return /** @type {string} */jspb.Message.getFieldWithDefault(this, 5, "");
2391
2375
  };
2392
2376
 
2393
2377
  /**
@@ -2403,8 +2387,7 @@ proto.android.emulation.control.LogcatEntry.prototype.setTag = function (value)
2403
2387
  * @return {string}
2404
2388
  */
2405
2389
  proto.android.emulation.control.LogcatEntry.prototype.getMsg = function () {
2406
- return (/** @type {string} */jspb.Message.getFieldWithDefault(this, 6, "")
2407
- );
2390
+ return /** @type {string} */jspb.Message.getFieldWithDefault(this, 6, "");
2408
2391
  };
2409
2392
 
2410
2393
  /**
@@ -2550,8 +2533,7 @@ proto.android.emulation.control.VmConfiguration.VmHypervisorType = {
2550
2533
  * @return {!proto.android.emulation.control.VmConfiguration.VmHypervisorType}
2551
2534
  */
2552
2535
  proto.android.emulation.control.VmConfiguration.prototype.getHypervisortype = function () {
2553
- return (/** @type {!proto.android.emulation.control.VmConfiguration.VmHypervisorType} */jspb.Message.getFieldWithDefault(this, 1, 0)
2554
- );
2536
+ return /** @type {!proto.android.emulation.control.VmConfiguration.VmHypervisorType} */jspb.Message.getFieldWithDefault(this, 1, 0);
2555
2537
  };
2556
2538
 
2557
2539
  /**
@@ -2567,8 +2549,7 @@ proto.android.emulation.control.VmConfiguration.prototype.setHypervisortype = fu
2567
2549
  * @return {number}
2568
2550
  */
2569
2551
  proto.android.emulation.control.VmConfiguration.prototype.getNumberofcpucores = function () {
2570
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0)
2571
- );
2552
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0);
2572
2553
  };
2573
2554
 
2574
2555
  /**
@@ -2584,8 +2565,7 @@ proto.android.emulation.control.VmConfiguration.prototype.setNumberofcpucores =
2584
2565
  * @return {number}
2585
2566
  */
2586
2567
  proto.android.emulation.control.VmConfiguration.prototype.getRamsizebytes = function () {
2587
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0)
2588
- );
2568
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0);
2589
2569
  };
2590
2570
 
2591
2571
  /**
@@ -2700,8 +2680,7 @@ proto.android.emulation.control.ClipData.serializeBinaryToWriter = function (mes
2700
2680
  * @return {string}
2701
2681
  */
2702
2682
  proto.android.emulation.control.ClipData.prototype.getText = function () {
2703
- return (/** @type {string} */jspb.Message.getFieldWithDefault(this, 1, "")
2704
- );
2683
+ return /** @type {string} */jspb.Message.getFieldWithDefault(this, 1, "");
2705
2684
  };
2706
2685
 
2707
2686
  /**
@@ -2878,8 +2857,7 @@ proto.android.emulation.control.Touch.EventExpiration = {
2878
2857
  * @return {number}
2879
2858
  */
2880
2859
  proto.android.emulation.control.Touch.prototype.getX = function () {
2881
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 1, 0)
2882
- );
2860
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 1, 0);
2883
2861
  };
2884
2862
 
2885
2863
  /**
@@ -2895,8 +2873,7 @@ proto.android.emulation.control.Touch.prototype.setX = function (value) {
2895
2873
  * @return {number}
2896
2874
  */
2897
2875
  proto.android.emulation.control.Touch.prototype.getY = function () {
2898
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0)
2899
- );
2876
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0);
2900
2877
  };
2901
2878
 
2902
2879
  /**
@@ -2912,8 +2889,7 @@ proto.android.emulation.control.Touch.prototype.setY = function (value) {
2912
2889
  * @return {number}
2913
2890
  */
2914
2891
  proto.android.emulation.control.Touch.prototype.getIdentifier = function () {
2915
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0)
2916
- );
2892
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0);
2917
2893
  };
2918
2894
 
2919
2895
  /**
@@ -2929,8 +2905,7 @@ proto.android.emulation.control.Touch.prototype.setIdentifier = function (value)
2929
2905
  * @return {number}
2930
2906
  */
2931
2907
  proto.android.emulation.control.Touch.prototype.getPressure = function () {
2932
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 4, 0)
2933
- );
2908
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 4, 0);
2934
2909
  };
2935
2910
 
2936
2911
  /**
@@ -2946,8 +2921,7 @@ proto.android.emulation.control.Touch.prototype.setPressure = function (value) {
2946
2921
  * @return {number}
2947
2922
  */
2948
2923
  proto.android.emulation.control.Touch.prototype.getTouchMajor = function () {
2949
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 5, 0)
2950
- );
2924
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 5, 0);
2951
2925
  };
2952
2926
 
2953
2927
  /**
@@ -2963,8 +2937,7 @@ proto.android.emulation.control.Touch.prototype.setTouchMajor = function (value)
2963
2937
  * @return {number}
2964
2938
  */
2965
2939
  proto.android.emulation.control.Touch.prototype.getTouchMinor = function () {
2966
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 6, 0)
2967
- );
2940
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 6, 0);
2968
2941
  };
2969
2942
 
2970
2943
  /**
@@ -2980,8 +2953,7 @@ proto.android.emulation.control.Touch.prototype.setTouchMinor = function (value)
2980
2953
  * @return {!proto.android.emulation.control.Touch.EventExpiration}
2981
2954
  */
2982
2955
  proto.android.emulation.control.Touch.prototype.getExpiration = function () {
2983
- return (/** @type {!proto.android.emulation.control.Touch.EventExpiration} */jspb.Message.getFieldWithDefault(this, 7, 0)
2984
- );
2956
+ return /** @type {!proto.android.emulation.control.Touch.EventExpiration} */jspb.Message.getFieldWithDefault(this, 7, 0);
2985
2957
  };
2986
2958
 
2987
2959
  /**
@@ -3113,9 +3085,7 @@ proto.android.emulation.control.TouchEvent.serializeBinaryToWriter = function (m
3113
3085
  * @return {!Array<!proto.android.emulation.control.Touch>}
3114
3086
  */
3115
3087
  proto.android.emulation.control.TouchEvent.prototype.getTouchesList = function () {
3116
- return (/** @type{!Array<!proto.android.emulation.control.Touch>} */
3117
- jspb.Message.getRepeatedWrapperField(this, proto.android.emulation.control.Touch, 1)
3118
- );
3088
+ return /** @type{!Array<!proto.android.emulation.control.Touch>} */jspb.Message.getRepeatedWrapperField(this, proto.android.emulation.control.Touch, 1);
3119
3089
  };
3120
3090
 
3121
3091
  /**
@@ -3148,8 +3118,7 @@ proto.android.emulation.control.TouchEvent.prototype.clearTouchesList = function
3148
3118
  * @return {number}
3149
3119
  */
3150
3120
  proto.android.emulation.control.TouchEvent.prototype.getDisplay = function () {
3151
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0)
3152
- );
3121
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0);
3153
3122
  };
3154
3123
 
3155
3124
  /**
@@ -3291,8 +3260,7 @@ proto.android.emulation.control.MouseEvent.serializeBinaryToWriter = function (m
3291
3260
  * @return {number}
3292
3261
  */
3293
3262
  proto.android.emulation.control.MouseEvent.prototype.getX = function () {
3294
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 1, 0)
3295
- );
3263
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 1, 0);
3296
3264
  };
3297
3265
 
3298
3266
  /**
@@ -3308,8 +3276,7 @@ proto.android.emulation.control.MouseEvent.prototype.setX = function (value) {
3308
3276
  * @return {number}
3309
3277
  */
3310
3278
  proto.android.emulation.control.MouseEvent.prototype.getY = function () {
3311
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0)
3312
- );
3279
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0);
3313
3280
  };
3314
3281
 
3315
3282
  /**
@@ -3325,8 +3292,7 @@ proto.android.emulation.control.MouseEvent.prototype.setY = function (value) {
3325
3292
  * @return {number}
3326
3293
  */
3327
3294
  proto.android.emulation.control.MouseEvent.prototype.getButtons = function () {
3328
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0)
3329
- );
3295
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0);
3330
3296
  };
3331
3297
 
3332
3298
  /**
@@ -3342,8 +3308,7 @@ proto.android.emulation.control.MouseEvent.prototype.setButtons = function (valu
3342
3308
  * @return {number}
3343
3309
  */
3344
3310
  proto.android.emulation.control.MouseEvent.prototype.getDisplay = function () {
3345
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 4, 0)
3346
- );
3311
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 4, 0);
3347
3312
  };
3348
3313
 
3349
3314
  /**
@@ -3476,8 +3441,7 @@ proto.android.emulation.control.WheelEvent.serializeBinaryToWriter = function (m
3476
3441
  * @return {number}
3477
3442
  */
3478
3443
  proto.android.emulation.control.WheelEvent.prototype.getDx = function () {
3479
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 1, 0)
3480
- );
3444
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 1, 0);
3481
3445
  };
3482
3446
 
3483
3447
  /**
@@ -3493,8 +3457,7 @@ proto.android.emulation.control.WheelEvent.prototype.setDx = function (value) {
3493
3457
  * @return {number}
3494
3458
  */
3495
3459
  proto.android.emulation.control.WheelEvent.prototype.getDy = function () {
3496
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0)
3497
- );
3460
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0);
3498
3461
  };
3499
3462
 
3500
3463
  /**
@@ -3510,8 +3473,7 @@ proto.android.emulation.control.WheelEvent.prototype.setDy = function (value) {
3510
3473
  * @return {number}
3511
3474
  */
3512
3475
  proto.android.emulation.control.WheelEvent.prototype.getDisplay = function () {
3513
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0)
3514
- );
3476
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0);
3515
3477
  };
3516
3478
 
3517
3479
  /**
@@ -3682,8 +3644,7 @@ proto.android.emulation.control.KeyboardEvent.KeyEventType = {
3682
3644
  * @return {!proto.android.emulation.control.KeyboardEvent.KeyCodeType}
3683
3645
  */
3684
3646
  proto.android.emulation.control.KeyboardEvent.prototype.getCodetype = function () {
3685
- return (/** @type {!proto.android.emulation.control.KeyboardEvent.KeyCodeType} */jspb.Message.getFieldWithDefault(this, 1, 0)
3686
- );
3647
+ return /** @type {!proto.android.emulation.control.KeyboardEvent.KeyCodeType} */jspb.Message.getFieldWithDefault(this, 1, 0);
3687
3648
  };
3688
3649
 
3689
3650
  /**
@@ -3699,8 +3660,7 @@ proto.android.emulation.control.KeyboardEvent.prototype.setCodetype = function (
3699
3660
  * @return {!proto.android.emulation.control.KeyboardEvent.KeyEventType}
3700
3661
  */
3701
3662
  proto.android.emulation.control.KeyboardEvent.prototype.getEventtype = function () {
3702
- return (/** @type {!proto.android.emulation.control.KeyboardEvent.KeyEventType} */jspb.Message.getFieldWithDefault(this, 2, 0)
3703
- );
3663
+ return /** @type {!proto.android.emulation.control.KeyboardEvent.KeyEventType} */jspb.Message.getFieldWithDefault(this, 2, 0);
3704
3664
  };
3705
3665
 
3706
3666
  /**
@@ -3716,8 +3676,7 @@ proto.android.emulation.control.KeyboardEvent.prototype.setEventtype = function
3716
3676
  * @return {number}
3717
3677
  */
3718
3678
  proto.android.emulation.control.KeyboardEvent.prototype.getKeycode = function () {
3719
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0)
3720
- );
3679
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0);
3721
3680
  };
3722
3681
 
3723
3682
  /**
@@ -3733,8 +3692,7 @@ proto.android.emulation.control.KeyboardEvent.prototype.setKeycode = function (v
3733
3692
  * @return {string}
3734
3693
  */
3735
3694
  proto.android.emulation.control.KeyboardEvent.prototype.getKey = function () {
3736
- return (/** @type {string} */jspb.Message.getFieldWithDefault(this, 4, "")
3737
- );
3695
+ return /** @type {string} */jspb.Message.getFieldWithDefault(this, 4, "");
3738
3696
  };
3739
3697
 
3740
3698
  /**
@@ -3750,8 +3708,7 @@ proto.android.emulation.control.KeyboardEvent.prototype.setKey = function (value
3750
3708
  * @return {string}
3751
3709
  */
3752
3710
  proto.android.emulation.control.KeyboardEvent.prototype.getText = function () {
3753
- return (/** @type {string} */jspb.Message.getFieldWithDefault(this, 5, "")
3754
- );
3711
+ return /** @type {string} */jspb.Message.getFieldWithDefault(this, 5, "");
3755
3712
  };
3756
3713
 
3757
3714
  /**
@@ -3875,8 +3832,7 @@ proto.android.emulation.control.Fingerprint.serializeBinaryToWriter = function (
3875
3832
  * @return {boolean}
3876
3833
  */
3877
3834
  proto.android.emulation.control.Fingerprint.prototype.getIstouching = function () {
3878
- return (/** @type {boolean} */jspb.Message.getBooleanFieldWithDefault(this, 1, false)
3879
- );
3835
+ return /** @type {boolean} */jspb.Message.getBooleanFieldWithDefault(this, 1, false);
3880
3836
  };
3881
3837
 
3882
3838
  /**
@@ -3892,8 +3848,7 @@ proto.android.emulation.control.Fingerprint.prototype.setIstouching = function (
3892
3848
  * @return {number}
3893
3849
  */
3894
3850
  proto.android.emulation.control.Fingerprint.prototype.getTouchid = function () {
3895
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0)
3896
- );
3851
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0);
3897
3852
  };
3898
3853
 
3899
3854
  /**
@@ -4062,8 +4017,7 @@ proto.android.emulation.control.GpsState.serializeBinaryToWriter = function (mes
4062
4017
  * @return {boolean}
4063
4018
  */
4064
4019
  proto.android.emulation.control.GpsState.prototype.getPassiveupdate = function () {
4065
- return (/** @type {boolean} */jspb.Message.getBooleanFieldWithDefault(this, 1, false)
4066
- );
4020
+ return /** @type {boolean} */jspb.Message.getBooleanFieldWithDefault(this, 1, false);
4067
4021
  };
4068
4022
 
4069
4023
  /**
@@ -4079,8 +4033,7 @@ proto.android.emulation.control.GpsState.prototype.setPassiveupdate = function (
4079
4033
  * @return {number}
4080
4034
  */
4081
4035
  proto.android.emulation.control.GpsState.prototype.getLatitude = function () {
4082
- return (/** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0)
4083
- );
4036
+ return /** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0);
4084
4037
  };
4085
4038
 
4086
4039
  /**
@@ -4096,8 +4049,7 @@ proto.android.emulation.control.GpsState.prototype.setLatitude = function (value
4096
4049
  * @return {number}
4097
4050
  */
4098
4051
  proto.android.emulation.control.GpsState.prototype.getLongitude = function () {
4099
- return (/** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)
4100
- );
4052
+ return /** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0);
4101
4053
  };
4102
4054
 
4103
4055
  /**
@@ -4113,8 +4065,7 @@ proto.android.emulation.control.GpsState.prototype.setLongitude = function (valu
4113
4065
  * @return {number}
4114
4066
  */
4115
4067
  proto.android.emulation.control.GpsState.prototype.getSpeed = function () {
4116
- return (/** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0)
4117
- );
4068
+ return /** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0);
4118
4069
  };
4119
4070
 
4120
4071
  /**
@@ -4130,8 +4081,7 @@ proto.android.emulation.control.GpsState.prototype.setSpeed = function (value) {
4130
4081
  * @return {number}
4131
4082
  */
4132
4083
  proto.android.emulation.control.GpsState.prototype.getBearing = function () {
4133
- return (/** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0)
4134
- );
4084
+ return /** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0);
4135
4085
  };
4136
4086
 
4137
4087
  /**
@@ -4147,8 +4097,7 @@ proto.android.emulation.control.GpsState.prototype.setBearing = function (value)
4147
4097
  * @return {number}
4148
4098
  */
4149
4099
  proto.android.emulation.control.GpsState.prototype.getAltitude = function () {
4150
- return (/** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0)
4151
- );
4100
+ return /** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0);
4152
4101
  };
4153
4102
 
4154
4103
  /**
@@ -4164,8 +4113,7 @@ proto.android.emulation.control.GpsState.prototype.setAltitude = function (value
4164
4113
  * @return {number}
4165
4114
  */
4166
4115
  proto.android.emulation.control.GpsState.prototype.getSatellites = function () {
4167
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 7, 0)
4168
- );
4116
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 7, 0);
4169
4117
  };
4170
4118
 
4171
4119
  /**
@@ -4357,8 +4305,7 @@ proto.android.emulation.control.BatteryState.BatteryHealth = {
4357
4305
  * @return {boolean}
4358
4306
  */
4359
4307
  proto.android.emulation.control.BatteryState.prototype.getHasbattery = function () {
4360
- return (/** @type {boolean} */jspb.Message.getBooleanFieldWithDefault(this, 1, false)
4361
- );
4308
+ return /** @type {boolean} */jspb.Message.getBooleanFieldWithDefault(this, 1, false);
4362
4309
  };
4363
4310
 
4364
4311
  /**
@@ -4374,8 +4321,7 @@ proto.android.emulation.control.BatteryState.prototype.setHasbattery = function
4374
4321
  * @return {boolean}
4375
4322
  */
4376
4323
  proto.android.emulation.control.BatteryState.prototype.getIspresent = function () {
4377
- return (/** @type {boolean} */jspb.Message.getBooleanFieldWithDefault(this, 2, false)
4378
- );
4324
+ return /** @type {boolean} */jspb.Message.getBooleanFieldWithDefault(this, 2, false);
4379
4325
  };
4380
4326
 
4381
4327
  /**
@@ -4391,8 +4337,7 @@ proto.android.emulation.control.BatteryState.prototype.setIspresent = function (
4391
4337
  * @return {!proto.android.emulation.control.BatteryState.BatteryCharger}
4392
4338
  */
4393
4339
  proto.android.emulation.control.BatteryState.prototype.getCharger = function () {
4394
- return (/** @type {!proto.android.emulation.control.BatteryState.BatteryCharger} */jspb.Message.getFieldWithDefault(this, 3, 0)
4395
- );
4340
+ return /** @type {!proto.android.emulation.control.BatteryState.BatteryCharger} */jspb.Message.getFieldWithDefault(this, 3, 0);
4396
4341
  };
4397
4342
 
4398
4343
  /**
@@ -4408,8 +4353,7 @@ proto.android.emulation.control.BatteryState.prototype.setCharger = function (va
4408
4353
  * @return {number}
4409
4354
  */
4410
4355
  proto.android.emulation.control.BatteryState.prototype.getChargelevel = function () {
4411
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 4, 0)
4412
- );
4356
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 4, 0);
4413
4357
  };
4414
4358
 
4415
4359
  /**
@@ -4425,8 +4369,7 @@ proto.android.emulation.control.BatteryState.prototype.setChargelevel = function
4425
4369
  * @return {!proto.android.emulation.control.BatteryState.BatteryHealth}
4426
4370
  */
4427
4371
  proto.android.emulation.control.BatteryState.prototype.getHealth = function () {
4428
- return (/** @type {!proto.android.emulation.control.BatteryState.BatteryHealth} */jspb.Message.getFieldWithDefault(this, 5, 0)
4429
- );
4372
+ return /** @type {!proto.android.emulation.control.BatteryState.BatteryHealth} */jspb.Message.getFieldWithDefault(this, 5, 0);
4430
4373
  };
4431
4374
 
4432
4375
  /**
@@ -4442,8 +4385,7 @@ proto.android.emulation.control.BatteryState.prototype.setHealth = function (val
4442
4385
  * @return {!proto.android.emulation.control.BatteryState.BatteryStatus}
4443
4386
  */
4444
4387
  proto.android.emulation.control.BatteryState.prototype.getStatus = function () {
4445
- return (/** @type {!proto.android.emulation.control.BatteryState.BatteryStatus} */jspb.Message.getFieldWithDefault(this, 6, 0)
4446
- );
4388
+ return /** @type {!proto.android.emulation.control.BatteryState.BatteryStatus} */jspb.Message.getFieldWithDefault(this, 6, 0);
4447
4389
  };
4448
4390
 
4449
4391
  /**
@@ -4575,8 +4517,7 @@ proto.android.emulation.control.ImageTransport.TransportChannel = {
4575
4517
  * @return {!proto.android.emulation.control.ImageTransport.TransportChannel}
4576
4518
  */
4577
4519
  proto.android.emulation.control.ImageTransport.prototype.getChannel = function () {
4578
- return (/** @type {!proto.android.emulation.control.ImageTransport.TransportChannel} */jspb.Message.getFieldWithDefault(this, 1, 0)
4579
- );
4520
+ return /** @type {!proto.android.emulation.control.ImageTransport.TransportChannel} */jspb.Message.getFieldWithDefault(this, 1, 0);
4580
4521
  };
4581
4522
 
4582
4523
  /**
@@ -4592,8 +4533,7 @@ proto.android.emulation.control.ImageTransport.prototype.setChannel = function (
4592
4533
  * @return {string}
4593
4534
  */
4594
4535
  proto.android.emulation.control.ImageTransport.prototype.getHandle = function () {
4595
- return (/** @type {string} */jspb.Message.getFieldWithDefault(this, 2, "")
4596
- );
4536
+ return /** @type {string} */jspb.Message.getFieldWithDefault(this, 2, "");
4597
4537
  };
4598
4538
 
4599
4539
  /**
@@ -4735,8 +4675,7 @@ proto.android.emulation.control.FoldedDisplay.serializeBinaryToWriter = function
4735
4675
  * @return {number}
4736
4676
  */
4737
4677
  proto.android.emulation.control.FoldedDisplay.prototype.getWidth = function () {
4738
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 1, 0)
4739
- );
4678
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 1, 0);
4740
4679
  };
4741
4680
 
4742
4681
  /**
@@ -4752,8 +4691,7 @@ proto.android.emulation.control.FoldedDisplay.prototype.setWidth = function (val
4752
4691
  * @return {number}
4753
4692
  */
4754
4693
  proto.android.emulation.control.FoldedDisplay.prototype.getHeight = function () {
4755
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0)
4756
- );
4694
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0);
4757
4695
  };
4758
4696
 
4759
4697
  /**
@@ -4769,8 +4707,7 @@ proto.android.emulation.control.FoldedDisplay.prototype.setHeight = function (va
4769
4707
  * @return {number}
4770
4708
  */
4771
4709
  proto.android.emulation.control.FoldedDisplay.prototype.getXoffset = function () {
4772
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0)
4773
- );
4710
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0);
4774
4711
  };
4775
4712
 
4776
4713
  /**
@@ -4786,8 +4723,7 @@ proto.android.emulation.control.FoldedDisplay.prototype.setXoffset = function (v
4786
4723
  * @return {number}
4787
4724
  */
4788
4725
  proto.android.emulation.control.FoldedDisplay.prototype.getYoffset = function () {
4789
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 4, 0)
4790
- );
4726
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 4, 0);
4791
4727
  };
4792
4728
 
4793
4729
  /**
@@ -4977,8 +4913,7 @@ proto.android.emulation.control.ImageFormat.ImgFormat = {
4977
4913
  * @return {!proto.android.emulation.control.ImageFormat.ImgFormat}
4978
4914
  */
4979
4915
  proto.android.emulation.control.ImageFormat.prototype.getFormat = function () {
4980
- return (/** @type {!proto.android.emulation.control.ImageFormat.ImgFormat} */jspb.Message.getFieldWithDefault(this, 1, 0)
4981
- );
4916
+ return /** @type {!proto.android.emulation.control.ImageFormat.ImgFormat} */jspb.Message.getFieldWithDefault(this, 1, 0);
4982
4917
  };
4983
4918
 
4984
4919
  /**
@@ -4994,9 +4929,7 @@ proto.android.emulation.control.ImageFormat.prototype.setFormat = function (valu
4994
4929
  * @return {?proto.android.emulation.control.Rotation}
4995
4930
  */
4996
4931
  proto.android.emulation.control.ImageFormat.prototype.getRotation = function () {
4997
- return (/** @type{?proto.android.emulation.control.Rotation} */
4998
- jspb.Message.getWrapperField(this, proto.android.emulation.control.Rotation, 2)
4999
- );
4932
+ return /** @type{?proto.android.emulation.control.Rotation} */jspb.Message.getWrapperField(this, proto.android.emulation.control.Rotation, 2);
5000
4933
  };
5001
4934
 
5002
4935
  /**
@@ -5028,8 +4961,7 @@ proto.android.emulation.control.ImageFormat.prototype.hasRotation = function ()
5028
4961
  * @return {number}
5029
4962
  */
5030
4963
  proto.android.emulation.control.ImageFormat.prototype.getWidth = function () {
5031
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0)
5032
- );
4964
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0);
5033
4965
  };
5034
4966
 
5035
4967
  /**
@@ -5045,8 +4977,7 @@ proto.android.emulation.control.ImageFormat.prototype.setWidth = function (value
5045
4977
  * @return {number}
5046
4978
  */
5047
4979
  proto.android.emulation.control.ImageFormat.prototype.getHeight = function () {
5048
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 4, 0)
5049
- );
4980
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 4, 0);
5050
4981
  };
5051
4982
 
5052
4983
  /**
@@ -5062,8 +4993,7 @@ proto.android.emulation.control.ImageFormat.prototype.setHeight = function (valu
5062
4993
  * @return {number}
5063
4994
  */
5064
4995
  proto.android.emulation.control.ImageFormat.prototype.getDisplay = function () {
5065
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 5, 0)
5066
- );
4996
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 5, 0);
5067
4997
  };
5068
4998
 
5069
4999
  /**
@@ -5079,9 +5009,7 @@ proto.android.emulation.control.ImageFormat.prototype.setDisplay = function (val
5079
5009
  * @return {?proto.android.emulation.control.ImageTransport}
5080
5010
  */
5081
5011
  proto.android.emulation.control.ImageFormat.prototype.getTransport = function () {
5082
- return (/** @type{?proto.android.emulation.control.ImageTransport} */
5083
- jspb.Message.getWrapperField(this, proto.android.emulation.control.ImageTransport, 6)
5084
- );
5012
+ return /** @type{?proto.android.emulation.control.ImageTransport} */jspb.Message.getWrapperField(this, proto.android.emulation.control.ImageTransport, 6);
5085
5013
  };
5086
5014
 
5087
5015
  /**
@@ -5113,9 +5041,7 @@ proto.android.emulation.control.ImageFormat.prototype.hasTransport = function ()
5113
5041
  * @return {?proto.android.emulation.control.FoldedDisplay}
5114
5042
  */
5115
5043
  proto.android.emulation.control.ImageFormat.prototype.getFoldeddisplay = function () {
5116
- return (/** @type{?proto.android.emulation.control.FoldedDisplay} */
5117
- jspb.Message.getWrapperField(this, proto.android.emulation.control.FoldedDisplay, 7)
5118
- );
5044
+ return /** @type{?proto.android.emulation.control.FoldedDisplay} */jspb.Message.getWrapperField(this, proto.android.emulation.control.FoldedDisplay, 7);
5119
5045
  };
5120
5046
 
5121
5047
  /**
@@ -5147,8 +5073,7 @@ proto.android.emulation.control.ImageFormat.prototype.hasFoldeddisplay = functio
5147
5073
  * @return {!proto.android.emulation.control.DisplayModeValue}
5148
5074
  */
5149
5075
  proto.android.emulation.control.ImageFormat.prototype.getDisplaymode = function () {
5150
- return (/** @type {!proto.android.emulation.control.DisplayModeValue} */jspb.Message.getFieldWithDefault(this, 8, 0)
5151
- );
5076
+ return /** @type {!proto.android.emulation.control.DisplayModeValue} */jspb.Message.getFieldWithDefault(this, 8, 0);
5152
5077
  };
5153
5078
 
5154
5079
  /**
@@ -5309,9 +5234,7 @@ proto.android.emulation.control.Image.serializeBinaryToWriter = function (messag
5309
5234
  * @return {?proto.android.emulation.control.ImageFormat}
5310
5235
  */
5311
5236
  proto.android.emulation.control.Image.prototype.getFormat = function () {
5312
- return (/** @type{?proto.android.emulation.control.ImageFormat} */
5313
- jspb.Message.getWrapperField(this, proto.android.emulation.control.ImageFormat, 1)
5314
- );
5237
+ return /** @type{?proto.android.emulation.control.ImageFormat} */jspb.Message.getWrapperField(this, proto.android.emulation.control.ImageFormat, 1);
5315
5238
  };
5316
5239
 
5317
5240
  /**
@@ -5343,8 +5266,7 @@ proto.android.emulation.control.Image.prototype.hasFormat = function () {
5343
5266
  * @return {number}
5344
5267
  */
5345
5268
  proto.android.emulation.control.Image.prototype.getWidth = function () {
5346
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0)
5347
- );
5269
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0);
5348
5270
  };
5349
5271
 
5350
5272
  /**
@@ -5360,8 +5282,7 @@ proto.android.emulation.control.Image.prototype.setWidth = function (value) {
5360
5282
  * @return {number}
5361
5283
  */
5362
5284
  proto.android.emulation.control.Image.prototype.getHeight = function () {
5363
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0)
5364
- );
5285
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0);
5365
5286
  };
5366
5287
 
5367
5288
  /**
@@ -5374,11 +5295,10 @@ proto.android.emulation.control.Image.prototype.setHeight = function (value) {
5374
5295
 
5375
5296
  /**
5376
5297
  * optional bytes image = 4;
5377
- * @return {string}
5298
+ * @return {!(string|Uint8Array)}
5378
5299
  */
5379
5300
  proto.android.emulation.control.Image.prototype.getImage = function () {
5380
- return (/** @type {string} */jspb.Message.getFieldWithDefault(this, 4, "")
5381
- );
5301
+ return /** @type {!(string|Uint8Array)} */jspb.Message.getFieldWithDefault(this, 4, "");
5382
5302
  };
5383
5303
 
5384
5304
  /**
@@ -5387,8 +5307,7 @@ proto.android.emulation.control.Image.prototype.getImage = function () {
5387
5307
  * @return {string}
5388
5308
  */
5389
5309
  proto.android.emulation.control.Image.prototype.getImage_asB64 = function () {
5390
- return (/** @type {string} */jspb.Message.bytesAsB64(this.getImage())
5391
- );
5310
+ return /** @type {string} */jspb.Message.bytesAsB64(this.getImage());
5392
5311
  };
5393
5312
 
5394
5313
  /**
@@ -5399,8 +5318,7 @@ proto.android.emulation.control.Image.prototype.getImage_asB64 = function () {
5399
5318
  * @return {!Uint8Array}
5400
5319
  */
5401
5320
  proto.android.emulation.control.Image.prototype.getImage_asU8 = function () {
5402
- return (/** @type {!Uint8Array} */jspb.Message.bytesAsU8(this.getImage())
5403
- );
5321
+ return /** @type {!Uint8Array} */jspb.Message.bytesAsU8(this.getImage());
5404
5322
  };
5405
5323
 
5406
5324
  /**
@@ -5416,8 +5334,7 @@ proto.android.emulation.control.Image.prototype.setImage = function (value) {
5416
5334
  * @return {number}
5417
5335
  */
5418
5336
  proto.android.emulation.control.Image.prototype.getSeq = function () {
5419
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 5, 0)
5420
- );
5337
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 5, 0);
5421
5338
  };
5422
5339
 
5423
5340
  /**
@@ -5433,8 +5350,7 @@ proto.android.emulation.control.Image.prototype.setSeq = function (value) {
5433
5350
  * @return {number}
5434
5351
  */
5435
5352
  proto.android.emulation.control.Image.prototype.getTimestampus = function () {
5436
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 6, 0)
5437
- );
5353
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 6, 0);
5438
5354
  };
5439
5355
 
5440
5356
  /**
@@ -5586,8 +5502,7 @@ proto.android.emulation.control.Rotation.SkinRotation = {
5586
5502
  * @return {!proto.android.emulation.control.Rotation.SkinRotation}
5587
5503
  */
5588
5504
  proto.android.emulation.control.Rotation.prototype.getRotation = function () {
5589
- return (/** @type {!proto.android.emulation.control.Rotation.SkinRotation} */jspb.Message.getFieldWithDefault(this, 1, 0)
5590
- );
5505
+ return /** @type {!proto.android.emulation.control.Rotation.SkinRotation} */jspb.Message.getFieldWithDefault(this, 1, 0);
5591
5506
  };
5592
5507
 
5593
5508
  /**
@@ -5603,8 +5518,7 @@ proto.android.emulation.control.Rotation.prototype.setRotation = function (value
5603
5518
  * @return {number}
5604
5519
  */
5605
5520
  proto.android.emulation.control.Rotation.prototype.getXaxis = function () {
5606
- return (/** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0)
5607
- );
5521
+ return /** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0);
5608
5522
  };
5609
5523
 
5610
5524
  /**
@@ -5620,8 +5534,7 @@ proto.android.emulation.control.Rotation.prototype.setXaxis = function (value) {
5620
5534
  * @return {number}
5621
5535
  */
5622
5536
  proto.android.emulation.control.Rotation.prototype.getYaxis = function () {
5623
- return (/** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)
5624
- );
5537
+ return /** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0);
5625
5538
  };
5626
5539
 
5627
5540
  /**
@@ -5637,8 +5550,7 @@ proto.android.emulation.control.Rotation.prototype.setYaxis = function (value) {
5637
5550
  * @return {number}
5638
5551
  */
5639
5552
  proto.android.emulation.control.Rotation.prototype.getZaxis = function () {
5640
- return (/** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0)
5641
- );
5553
+ return /** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0);
5642
5554
  };
5643
5555
 
5644
5556
  /**
@@ -5775,8 +5687,7 @@ proto.android.emulation.control.PhoneCall.Operation = {
5775
5687
  * @return {!proto.android.emulation.control.PhoneCall.Operation}
5776
5688
  */
5777
5689
  proto.android.emulation.control.PhoneCall.prototype.getOperation = function () {
5778
- return (/** @type {!proto.android.emulation.control.PhoneCall.Operation} */jspb.Message.getFieldWithDefault(this, 1, 0)
5779
- );
5690
+ return /** @type {!proto.android.emulation.control.PhoneCall.Operation} */jspb.Message.getFieldWithDefault(this, 1, 0);
5780
5691
  };
5781
5692
 
5782
5693
  /**
@@ -5792,8 +5703,7 @@ proto.android.emulation.control.PhoneCall.prototype.setOperation = function (val
5792
5703
  * @return {string}
5793
5704
  */
5794
5705
  proto.android.emulation.control.PhoneCall.prototype.getNumber = function () {
5795
- return (/** @type {string} */jspb.Message.getFieldWithDefault(this, 2, "")
5796
- );
5706
+ return /** @type {string} */jspb.Message.getFieldWithDefault(this, 2, "");
5797
5707
  };
5798
5708
 
5799
5709
  /**
@@ -5920,8 +5830,7 @@ proto.android.emulation.control.PhoneResponse.Response = {
5920
5830
  * @return {!proto.android.emulation.control.PhoneResponse.Response}
5921
5831
  */
5922
5832
  proto.android.emulation.control.PhoneResponse.prototype.getResponse = function () {
5923
- return (/** @type {!proto.android.emulation.control.PhoneResponse.Response} */jspb.Message.getFieldWithDefault(this, 1, 0)
5924
- );
5833
+ return /** @type {!proto.android.emulation.control.PhoneResponse.Response} */jspb.Message.getFieldWithDefault(this, 1, 0);
5925
5834
  };
5926
5835
 
5927
5836
  /**
@@ -6045,8 +5954,7 @@ proto.android.emulation.control.Entry.serializeBinaryToWriter = function (messag
6045
5954
  * @return {string}
6046
5955
  */
6047
5956
  proto.android.emulation.control.Entry.prototype.getKey = function () {
6048
- return (/** @type {string} */jspb.Message.getFieldWithDefault(this, 1, "")
6049
- );
5957
+ return /** @type {string} */jspb.Message.getFieldWithDefault(this, 1, "");
6050
5958
  };
6051
5959
 
6052
5960
  /**
@@ -6062,8 +5970,7 @@ proto.android.emulation.control.Entry.prototype.setKey = function (value) {
6062
5970
  * @return {string}
6063
5971
  */
6064
5972
  proto.android.emulation.control.Entry.prototype.getValue = function () {
6065
- return (/** @type {string} */jspb.Message.getFieldWithDefault(this, 2, "")
6066
- );
5973
+ return /** @type {string} */jspb.Message.getFieldWithDefault(this, 2, "");
6067
5974
  };
6068
5975
 
6069
5976
  /**
@@ -6186,9 +6093,7 @@ proto.android.emulation.control.EntryList.serializeBinaryToWriter = function (me
6186
6093
  * @return {!Array<!proto.android.emulation.control.Entry>}
6187
6094
  */
6188
6095
  proto.android.emulation.control.EntryList.prototype.getEntryList = function () {
6189
- return (/** @type{!Array<!proto.android.emulation.control.Entry>} */
6190
- jspb.Message.getRepeatedWrapperField(this, proto.android.emulation.control.Entry, 1)
6191
- );
6096
+ return /** @type{!Array<!proto.android.emulation.control.Entry>} */jspb.Message.getRepeatedWrapperField(this, proto.android.emulation.control.Entry, 1);
6192
6097
  };
6193
6098
 
6194
6099
  /**
@@ -6358,8 +6263,7 @@ proto.android.emulation.control.EmulatorStatus.serializeBinaryToWriter = functio
6358
6263
  * @return {string}
6359
6264
  */
6360
6265
  proto.android.emulation.control.EmulatorStatus.prototype.getVersion = function () {
6361
- return (/** @type {string} */jspb.Message.getFieldWithDefault(this, 1, "")
6362
- );
6266
+ return /** @type {string} */jspb.Message.getFieldWithDefault(this, 1, "");
6363
6267
  };
6364
6268
 
6365
6269
  /**
@@ -6375,8 +6279,7 @@ proto.android.emulation.control.EmulatorStatus.prototype.setVersion = function (
6375
6279
  * @return {number}
6376
6280
  */
6377
6281
  proto.android.emulation.control.EmulatorStatus.prototype.getUptime = function () {
6378
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0)
6379
- );
6282
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0);
6380
6283
  };
6381
6284
 
6382
6285
  /**
@@ -6392,8 +6295,7 @@ proto.android.emulation.control.EmulatorStatus.prototype.setUptime = function (v
6392
6295
  * @return {boolean}
6393
6296
  */
6394
6297
  proto.android.emulation.control.EmulatorStatus.prototype.getBooted = function () {
6395
- return (/** @type {boolean} */jspb.Message.getBooleanFieldWithDefault(this, 3, false)
6396
- );
6298
+ return /** @type {boolean} */jspb.Message.getBooleanFieldWithDefault(this, 3, false);
6397
6299
  };
6398
6300
 
6399
6301
  /**
@@ -6409,9 +6311,7 @@ proto.android.emulation.control.EmulatorStatus.prototype.setBooted = function (v
6409
6311
  * @return {?proto.android.emulation.control.VmConfiguration}
6410
6312
  */
6411
6313
  proto.android.emulation.control.EmulatorStatus.prototype.getVmconfig = function () {
6412
- return (/** @type{?proto.android.emulation.control.VmConfiguration} */
6413
- jspb.Message.getWrapperField(this, proto.android.emulation.control.VmConfiguration, 4)
6414
- );
6314
+ return /** @type{?proto.android.emulation.control.VmConfiguration} */jspb.Message.getWrapperField(this, proto.android.emulation.control.VmConfiguration, 4);
6415
6315
  };
6416
6316
 
6417
6317
  /**
@@ -6443,9 +6343,7 @@ proto.android.emulation.control.EmulatorStatus.prototype.hasVmconfig = function
6443
6343
  * @return {?proto.android.emulation.control.EntryList}
6444
6344
  */
6445
6345
  proto.android.emulation.control.EmulatorStatus.prototype.getHardwareconfig = function () {
6446
- return (/** @type{?proto.android.emulation.control.EntryList} */
6447
- jspb.Message.getWrapperField(this, proto.android.emulation.control.EntryList, 5)
6448
- );
6346
+ return /** @type{?proto.android.emulation.control.EntryList} */jspb.Message.getWrapperField(this, proto.android.emulation.control.EntryList, 5);
6449
6347
  };
6450
6348
 
6451
6349
  /**
@@ -6627,8 +6525,7 @@ proto.android.emulation.control.AudioFormat.DeliveryMode = {
6627
6525
  * @return {number}
6628
6526
  */
6629
6527
  proto.android.emulation.control.AudioFormat.prototype.getSamplingrate = function () {
6630
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 1, 0)
6631
- );
6528
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 1, 0);
6632
6529
  };
6633
6530
 
6634
6531
  /**
@@ -6644,8 +6541,7 @@ proto.android.emulation.control.AudioFormat.prototype.setSamplingrate = function
6644
6541
  * @return {!proto.android.emulation.control.AudioFormat.Channels}
6645
6542
  */
6646
6543
  proto.android.emulation.control.AudioFormat.prototype.getChannels = function () {
6647
- return (/** @type {!proto.android.emulation.control.AudioFormat.Channels} */jspb.Message.getFieldWithDefault(this, 2, 0)
6648
- );
6544
+ return /** @type {!proto.android.emulation.control.AudioFormat.Channels} */jspb.Message.getFieldWithDefault(this, 2, 0);
6649
6545
  };
6650
6546
 
6651
6547
  /**
@@ -6661,8 +6557,7 @@ proto.android.emulation.control.AudioFormat.prototype.setChannels = function (va
6661
6557
  * @return {!proto.android.emulation.control.AudioFormat.SampleFormat}
6662
6558
  */
6663
6559
  proto.android.emulation.control.AudioFormat.prototype.getFormat = function () {
6664
- return (/** @type {!proto.android.emulation.control.AudioFormat.SampleFormat} */jspb.Message.getFieldWithDefault(this, 3, 0)
6665
- );
6560
+ return /** @type {!proto.android.emulation.control.AudioFormat.SampleFormat} */jspb.Message.getFieldWithDefault(this, 3, 0);
6666
6561
  };
6667
6562
 
6668
6563
  /**
@@ -6678,8 +6573,7 @@ proto.android.emulation.control.AudioFormat.prototype.setFormat = function (valu
6678
6573
  * @return {!proto.android.emulation.control.AudioFormat.DeliveryMode}
6679
6574
  */
6680
6575
  proto.android.emulation.control.AudioFormat.prototype.getMode = function () {
6681
- return (/** @type {!proto.android.emulation.control.AudioFormat.DeliveryMode} */jspb.Message.getFieldWithDefault(this, 4, 0)
6682
- );
6576
+ return /** @type {!proto.android.emulation.control.AudioFormat.DeliveryMode} */jspb.Message.getFieldWithDefault(this, 4, 0);
6683
6577
  };
6684
6578
 
6685
6579
  /**
@@ -6813,9 +6707,7 @@ proto.android.emulation.control.AudioPacket.serializeBinaryToWriter = function (
6813
6707
  * @return {?proto.android.emulation.control.AudioFormat}
6814
6708
  */
6815
6709
  proto.android.emulation.control.AudioPacket.prototype.getFormat = function () {
6816
- return (/** @type{?proto.android.emulation.control.AudioFormat} */
6817
- jspb.Message.getWrapperField(this, proto.android.emulation.control.AudioFormat, 1)
6818
- );
6710
+ return /** @type{?proto.android.emulation.control.AudioFormat} */jspb.Message.getWrapperField(this, proto.android.emulation.control.AudioFormat, 1);
6819
6711
  };
6820
6712
 
6821
6713
  /**
@@ -6847,8 +6739,7 @@ proto.android.emulation.control.AudioPacket.prototype.hasFormat = function () {
6847
6739
  * @return {number}
6848
6740
  */
6849
6741
  proto.android.emulation.control.AudioPacket.prototype.getTimestamp = function () {
6850
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0)
6851
- );
6742
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0);
6852
6743
  };
6853
6744
 
6854
6745
  /**
@@ -6861,11 +6752,10 @@ proto.android.emulation.control.AudioPacket.prototype.setTimestamp = function (v
6861
6752
 
6862
6753
  /**
6863
6754
  * optional bytes audio = 3;
6864
- * @return {string}
6755
+ * @return {!(string|Uint8Array)}
6865
6756
  */
6866
6757
  proto.android.emulation.control.AudioPacket.prototype.getAudio = function () {
6867
- return (/** @type {string} */jspb.Message.getFieldWithDefault(this, 3, "")
6868
- );
6758
+ return /** @type {!(string|Uint8Array)} */jspb.Message.getFieldWithDefault(this, 3, "");
6869
6759
  };
6870
6760
 
6871
6761
  /**
@@ -6874,8 +6764,7 @@ proto.android.emulation.control.AudioPacket.prototype.getAudio = function () {
6874
6764
  * @return {string}
6875
6765
  */
6876
6766
  proto.android.emulation.control.AudioPacket.prototype.getAudio_asB64 = function () {
6877
- return (/** @type {string} */jspb.Message.bytesAsB64(this.getAudio())
6878
- );
6767
+ return /** @type {string} */jspb.Message.bytesAsB64(this.getAudio());
6879
6768
  };
6880
6769
 
6881
6770
  /**
@@ -6886,8 +6775,7 @@ proto.android.emulation.control.AudioPacket.prototype.getAudio_asB64 = function
6886
6775
  * @return {!Uint8Array}
6887
6776
  */
6888
6777
  proto.android.emulation.control.AudioPacket.prototype.getAudio_asU8 = function () {
6889
- return (/** @type {!Uint8Array} */jspb.Message.bytesAsU8(this.getAudio())
6890
- );
6778
+ return /** @type {!Uint8Array} */jspb.Message.bytesAsU8(this.getAudio());
6891
6779
  };
6892
6780
 
6893
6781
  /**
@@ -7011,8 +6899,7 @@ proto.android.emulation.control.SmsMessage.serializeBinaryToWriter = function (m
7011
6899
  * @return {string}
7012
6900
  */
7013
6901
  proto.android.emulation.control.SmsMessage.prototype.getSrcaddress = function () {
7014
- return (/** @type {string} */jspb.Message.getFieldWithDefault(this, 1, "")
7015
- );
6902
+ return /** @type {string} */jspb.Message.getFieldWithDefault(this, 1, "");
7016
6903
  };
7017
6904
 
7018
6905
  /**
@@ -7028,8 +6915,7 @@ proto.android.emulation.control.SmsMessage.prototype.setSrcaddress = function (v
7028
6915
  * @return {string}
7029
6916
  */
7030
6917
  proto.android.emulation.control.SmsMessage.prototype.getText = function () {
7031
- return (/** @type {string} */jspb.Message.getFieldWithDefault(this, 2, "")
7032
- );
6918
+ return /** @type {string} */jspb.Message.getFieldWithDefault(this, 2, "");
7033
6919
  };
7034
6920
 
7035
6921
  /**
@@ -7192,8 +7078,7 @@ proto.android.emulation.control.DisplayConfiguration.DisplayFlags = {
7192
7078
  * @return {number}
7193
7079
  */
7194
7080
  proto.android.emulation.control.DisplayConfiguration.prototype.getWidth = function () {
7195
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 1, 0)
7196
- );
7081
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 1, 0);
7197
7082
  };
7198
7083
 
7199
7084
  /**
@@ -7209,8 +7094,7 @@ proto.android.emulation.control.DisplayConfiguration.prototype.setWidth = functi
7209
7094
  * @return {number}
7210
7095
  */
7211
7096
  proto.android.emulation.control.DisplayConfiguration.prototype.getHeight = function () {
7212
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0)
7213
- );
7097
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0);
7214
7098
  };
7215
7099
 
7216
7100
  /**
@@ -7226,8 +7110,7 @@ proto.android.emulation.control.DisplayConfiguration.prototype.setHeight = funct
7226
7110
  * @return {number}
7227
7111
  */
7228
7112
  proto.android.emulation.control.DisplayConfiguration.prototype.getDpi = function () {
7229
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0)
7230
- );
7113
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0);
7231
7114
  };
7232
7115
 
7233
7116
  /**
@@ -7243,8 +7126,7 @@ proto.android.emulation.control.DisplayConfiguration.prototype.setDpi = function
7243
7126
  * @return {number}
7244
7127
  */
7245
7128
  proto.android.emulation.control.DisplayConfiguration.prototype.getFlags = function () {
7246
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 4, 0)
7247
- );
7129
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 4, 0);
7248
7130
  };
7249
7131
 
7250
7132
  /**
@@ -7260,8 +7142,7 @@ proto.android.emulation.control.DisplayConfiguration.prototype.setFlags = functi
7260
7142
  * @return {number}
7261
7143
  */
7262
7144
  proto.android.emulation.control.DisplayConfiguration.prototype.getDisplay = function () {
7263
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 5, 0)
7264
- );
7145
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 5, 0);
7265
7146
  };
7266
7147
 
7267
7148
  /**
@@ -7402,9 +7283,7 @@ proto.android.emulation.control.DisplayConfigurations.serializeBinaryToWriter =
7402
7283
  * @return {!Array<!proto.android.emulation.control.DisplayConfiguration>}
7403
7284
  */
7404
7285
  proto.android.emulation.control.DisplayConfigurations.prototype.getDisplaysList = function () {
7405
- return (/** @type{!Array<!proto.android.emulation.control.DisplayConfiguration>} */
7406
- jspb.Message.getRepeatedWrapperField(this, proto.android.emulation.control.DisplayConfiguration, 1)
7407
- );
7286
+ return /** @type{!Array<!proto.android.emulation.control.DisplayConfiguration>} */jspb.Message.getRepeatedWrapperField(this, proto.android.emulation.control.DisplayConfiguration, 1);
7408
7287
  };
7409
7288
 
7410
7289
  /**
@@ -7437,8 +7316,7 @@ proto.android.emulation.control.DisplayConfigurations.prototype.clearDisplaysLis
7437
7316
  * @return {number}
7438
7317
  */
7439
7318
  proto.android.emulation.control.DisplayConfigurations.prototype.getUserconfigurable = function () {
7440
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0)
7441
- );
7319
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0);
7442
7320
  };
7443
7321
 
7444
7322
  /**
@@ -7454,8 +7332,7 @@ proto.android.emulation.control.DisplayConfigurations.prototype.setUserconfigura
7454
7332
  * @return {number}
7455
7333
  */
7456
7334
  proto.android.emulation.control.DisplayConfigurations.prototype.getMaxdisplays = function () {
7457
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0)
7458
- );
7335
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 3, 0);
7459
7336
  };
7460
7337
 
7461
7338
  /**
@@ -7489,8 +7366,7 @@ proto.android.emulation.control.Notification.TypeCase = {
7489
7366
  * @return {proto.android.emulation.control.Notification.TypeCase}
7490
7367
  */
7491
7368
  proto.android.emulation.control.Notification.prototype.getTypeCase = function () {
7492
- return (/** @type {proto.android.emulation.control.Notification.TypeCase} */jspb.Message.computeOneofCase(this, proto.android.emulation.control.Notification.oneofGroups_[0])
7493
- );
7369
+ return /** @type {proto.android.emulation.control.Notification.TypeCase} */jspb.Message.computeOneofCase(this, proto.android.emulation.control.Notification.oneofGroups_[0]);
7494
7370
  };
7495
7371
  if (jspb.Message.GENERATE_TO_OBJECT) {
7496
7372
  /**
@@ -7626,8 +7502,7 @@ proto.android.emulation.control.Notification.EventType = {
7626
7502
  * @return {!proto.android.emulation.control.Notification.EventType}
7627
7503
  */
7628
7504
  proto.android.emulation.control.Notification.prototype.getEvent = function () {
7629
- return (/** @type {!proto.android.emulation.control.Notification.EventType} */jspb.Message.getFieldWithDefault(this, 1, 0)
7630
- );
7505
+ return /** @type {!proto.android.emulation.control.Notification.EventType} */jspb.Message.getFieldWithDefault(this, 1, 0);
7631
7506
  };
7632
7507
 
7633
7508
  /**
@@ -7643,9 +7518,7 @@ proto.android.emulation.control.Notification.prototype.setEvent = function (valu
7643
7518
  * @return {?proto.android.emulation.control.CameraNotification}
7644
7519
  */
7645
7520
  proto.android.emulation.control.Notification.prototype.getCameranotification = function () {
7646
- return (/** @type{?proto.android.emulation.control.CameraNotification} */
7647
- jspb.Message.getWrapperField(this, proto.android.emulation.control.CameraNotification, 2)
7648
- );
7521
+ return /** @type{?proto.android.emulation.control.CameraNotification} */jspb.Message.getWrapperField(this, proto.android.emulation.control.CameraNotification, 2);
7649
7522
  };
7650
7523
 
7651
7524
  /**
@@ -7677,9 +7550,7 @@ proto.android.emulation.control.Notification.prototype.hasCameranotification = f
7677
7550
  * @return {?proto.android.emulation.control.DisplayConfigurationsChangedNotification}
7678
7551
  */
7679
7552
  proto.android.emulation.control.Notification.prototype.getDisplayconfigurationschangednotification = function () {
7680
- return (/** @type{?proto.android.emulation.control.DisplayConfigurationsChangedNotification} */
7681
- jspb.Message.getWrapperField(this, proto.android.emulation.control.DisplayConfigurationsChangedNotification, 3)
7682
- );
7553
+ return /** @type{?proto.android.emulation.control.DisplayConfigurationsChangedNotification} */jspb.Message.getWrapperField(this, proto.android.emulation.control.DisplayConfigurationsChangedNotification, 3);
7683
7554
  };
7684
7555
 
7685
7556
  /**
@@ -7819,8 +7690,7 @@ proto.android.emulation.control.CameraNotification.serializeBinaryToWriter = fun
7819
7690
  * @return {boolean}
7820
7691
  */
7821
7692
  proto.android.emulation.control.CameraNotification.prototype.getActive = function () {
7822
- return (/** @type {boolean} */jspb.Message.getBooleanFieldWithDefault(this, 1, false)
7823
- );
7693
+ return /** @type {boolean} */jspb.Message.getBooleanFieldWithDefault(this, 1, false);
7824
7694
  };
7825
7695
 
7826
7696
  /**
@@ -7836,8 +7706,7 @@ proto.android.emulation.control.CameraNotification.prototype.setActive = functio
7836
7706
  * @return {number}
7837
7707
  */
7838
7708
  proto.android.emulation.control.CameraNotification.prototype.getDisplay = function () {
7839
- return (/** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0)
7840
- );
7709
+ return /** @type {number} */jspb.Message.getFieldWithDefault(this, 2, 0);
7841
7710
  };
7842
7711
 
7843
7712
  /**
@@ -7953,9 +7822,7 @@ proto.android.emulation.control.DisplayConfigurationsChangedNotification.seriali
7953
7822
  * @return {?proto.android.emulation.control.DisplayConfigurations}
7954
7823
  */
7955
7824
  proto.android.emulation.control.DisplayConfigurationsChangedNotification.prototype.getDisplayconfigurations = function () {
7956
- return (/** @type{?proto.android.emulation.control.DisplayConfigurations} */
7957
- jspb.Message.getWrapperField(this, proto.android.emulation.control.DisplayConfigurations, 1)
7958
- );
7825
+ return /** @type{?proto.android.emulation.control.DisplayConfigurations} */jspb.Message.getWrapperField(this, proto.android.emulation.control.DisplayConfigurations, 1);
7959
7826
  };
7960
7827
 
7961
7828
  /**
@@ -8104,8 +7971,7 @@ proto.android.emulation.control.RotationRadian.serializeBinaryToWriter = functio
8104
7971
  * @return {number}
8105
7972
  */
8106
7973
  proto.android.emulation.control.RotationRadian.prototype.getX = function () {
8107
- return (/** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0)
8108
- );
7974
+ return /** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0);
8109
7975
  };
8110
7976
 
8111
7977
  /**
@@ -8121,8 +7987,7 @@ proto.android.emulation.control.RotationRadian.prototype.setX = function (value)
8121
7987
  * @return {number}
8122
7988
  */
8123
7989
  proto.android.emulation.control.RotationRadian.prototype.getY = function () {
8124
- return (/** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0)
8125
- );
7990
+ return /** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0);
8126
7991
  };
8127
7992
 
8128
7993
  /**
@@ -8138,8 +8003,7 @@ proto.android.emulation.control.RotationRadian.prototype.setY = function (value)
8138
8003
  * @return {number}
8139
8004
  */
8140
8005
  proto.android.emulation.control.RotationRadian.prototype.getZ = function () {
8141
- return (/** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)
8142
- );
8006
+ return /** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0);
8143
8007
  };
8144
8008
 
8145
8009
  /**
@@ -8272,8 +8136,7 @@ proto.android.emulation.control.Velocity.serializeBinaryToWriter = function (mes
8272
8136
  * @return {number}
8273
8137
  */
8274
8138
  proto.android.emulation.control.Velocity.prototype.getX = function () {
8275
- return (/** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0)
8276
- );
8139
+ return /** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0);
8277
8140
  };
8278
8141
 
8279
8142
  /**
@@ -8289,8 +8152,7 @@ proto.android.emulation.control.Velocity.prototype.setX = function (value) {
8289
8152
  * @return {number}
8290
8153
  */
8291
8154
  proto.android.emulation.control.Velocity.prototype.getY = function () {
8292
- return (/** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0)
8293
- );
8155
+ return /** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0);
8294
8156
  };
8295
8157
 
8296
8158
  /**
@@ -8306,8 +8168,7 @@ proto.android.emulation.control.Velocity.prototype.setY = function (value) {
8306
8168
  * @return {number}
8307
8169
  */
8308
8170
  proto.android.emulation.control.Velocity.prototype.getZ = function () {
8309
- return (/** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)
8310
- );
8171
+ return /** @type {number} */jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0);
8311
8172
  };
8312
8173
 
8313
8174
  /**
@@ -8435,8 +8296,7 @@ proto.android.emulation.control.Posture.PostureValue = {
8435
8296
  * @return {!proto.android.emulation.control.Posture.PostureValue}
8436
8297
  */
8437
8298
  proto.android.emulation.control.Posture.prototype.getValue = function () {
8438
- return (/** @type {!proto.android.emulation.control.Posture.PostureValue} */jspb.Message.getFieldWithDefault(this, 3, 0)
8439
- );
8299
+ return /** @type {!proto.android.emulation.control.Posture.PostureValue} */jspb.Message.getFieldWithDefault(this, 3, 0);
8440
8300
  };
8441
8301
 
8442
8302
  /**
@@ -8551,8 +8411,7 @@ proto.android.emulation.control.PhoneNumber.serializeBinaryToWriter = function (
8551
8411
  * @return {string}
8552
8412
  */
8553
8413
  proto.android.emulation.control.PhoneNumber.prototype.getNumber = function () {
8554
- return (/** @type {string} */jspb.Message.getFieldWithDefault(this, 1, "")
8555
- );
8414
+ return /** @type {string} */jspb.Message.getFieldWithDefault(this, 1, "");
8556
8415
  };
8557
8416
 
8558
8417
  /**