@aceplus/smartace-api 3.7.0-alpha.1 → 3.7.0-alpha.11

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 (249) hide show
  1. package/auth.account_pb.d.ts +433 -0
  2. package/auth.account_pb.js +3141 -0
  3. package/auth.account_pb_service.d.ts +216 -0
  4. package/auth.account_pb_service.js +382 -0
  5. package/auth.account_two_factor_pb.d.ts +135 -0
  6. package/auth.account_two_factor_pb.js +1002 -0
  7. package/auth.account_two_factor_pb_service.d.ts +102 -0
  8. package/auth.account_two_factor_pb_service.js +142 -0
  9. package/auth.app_account_pb.d.ts +186 -0
  10. package/auth.app_account_pb.js +1343 -0
  11. package/auth.app_account_pb_service.d.ts +179 -0
  12. package/auth.app_account_pb_service.js +303 -0
  13. package/auth.app_authn_pb.d.ts +172 -0
  14. package/auth.app_authn_pb.js +1233 -0
  15. package/auth.app_authn_pb_service.d.ts +140 -0
  16. package/auth.app_authn_pb_service.js +222 -0
  17. package/auth.app_distribution_pb.d.ts +416 -0
  18. package/auth.app_distribution_pb.js +3214 -0
  19. package/auth.app_distribution_pb_service.d.ts +196 -0
  20. package/auth.app_distribution_pb_service.js +341 -0
  21. package/auth.authn_pb.d.ts +95 -0
  22. package/auth.authn_pb.js +637 -0
  23. package/auth.authn_pb_service.d.ts +82 -0
  24. package/auth.authn_pb_service.js +101 -0
  25. package/auth.cluster_pb.d.ts +142 -0
  26. package/auth.cluster_pb.js +1050 -0
  27. package/auth.cluster_pb_service.d.ts +82 -0
  28. package/auth.cluster_pb_service.js +101 -0
  29. package/auth.distribution_pb.d.ts +233 -0
  30. package/auth.distribution_pb.js +1785 -0
  31. package/auth.distribution_pb_service.d.ts +82 -0
  32. package/auth.distribution_pb_service.js +101 -0
  33. package/auth.email_pb.d.ts +217 -0
  34. package/auth.email_pb.js +1508 -0
  35. package/auth.email_pb_service.d.ts +102 -0
  36. package/auth.email_pb_service.js +142 -0
  37. package/auth.firmware_pb.d.ts +256 -0
  38. package/auth.firmware_pb.js +1997 -0
  39. package/auth.firmware_pb_service.d.ts +120 -0
  40. package/auth.firmware_pb_service.js +181 -0
  41. package/auth.passkey_pb.d.ts +239 -0
  42. package/auth.passkey_pb.js +1842 -0
  43. package/auth.passkey_pb_service.d.ts +160 -0
  44. package/auth.passkey_pb_service.js +263 -0
  45. package/auth.push_notification_pb.d.ts +69 -0
  46. package/auth.push_notification_pb.js +411 -0
  47. package/auth.push_notification_pb_service.d.ts +64 -0
  48. package/auth.push_notification_pb_service.js +62 -0
  49. package/auth.sms_pb.d.ts +79 -0
  50. package/auth.sms_pb.js +575 -0
  51. package/auth.sms_pb_service.d.ts +83 -0
  52. package/auth.sms_pb_service.js +102 -0
  53. package/google/api/annotations_pb.d.ts +9 -0
  54. package/google/api/annotations_pb.js +54 -0
  55. package/google/api/annotations_pb_service.d.ts +3 -0
  56. package/google/api/annotations_pb_service.js +3 -0
  57. package/google/api/auth_pb.d.ts +150 -0
  58. package/google/api/auth_pb.js +1160 -0
  59. package/google/api/auth_pb_service.d.ts +3 -0
  60. package/google/api/auth_pb_service.js +3 -0
  61. package/google/api/backend_pb.d.ts +59 -0
  62. package/google/api/backend_pb.js +448 -0
  63. package/google/api/backend_pb_service.d.ts +3 -0
  64. package/google/api/backend_pb_service.js +3 -0
  65. package/google/api/billing_pb.d.ts +54 -0
  66. package/google/api/billing_pb.js +416 -0
  67. package/google/api/billing_pb_service.d.ts +3 -0
  68. package/google/api/billing_pb_service.js +3 -0
  69. package/google/api/client_pb.d.ts +12 -0
  70. package/google/api/client_pb.js +104 -0
  71. package/google/api/client_pb_service.d.ts +3 -0
  72. package/google/api/client_pb_service.js +3 -0
  73. package/google/api/config_change_pb.d.ts +72 -0
  74. package/google/api/config_change_pb.js +489 -0
  75. package/google/api/config_change_pb_service.d.ts +3 -0
  76. package/google/api/config_change_pb_service.js +3 -0
  77. package/google/api/consumer_pb.d.ts +65 -0
  78. package/google/api/consumer_pb.js +430 -0
  79. package/google/api/consumer_pb_service.d.ts +3 -0
  80. package/google/api/consumer_pb_service.js +3 -0
  81. package/google/api/context_pb.d.ts +59 -0
  82. package/google/api/context_pb.js +463 -0
  83. package/google/api/context_pb_service.d.ts +3 -0
  84. package/google/api/context_pb_service.js +3 -0
  85. package/google/api/control_pb.d.ts +25 -0
  86. package/google/api/control_pb.js +176 -0
  87. package/google/api/control_pb_service.d.ts +3 -0
  88. package/google/api/control_pb_service.js +3 -0
  89. package/google/api/distribution_pb.d.ts +235 -0
  90. package/google/api/distribution_pb.js +1805 -0
  91. package/google/api/distribution_pb_service.d.ts +3 -0
  92. package/google/api/distribution_pb_service.js +3 -0
  93. package/google/api/documentation_pb.d.ts +103 -0
  94. package/google/api/documentation_pb.js +803 -0
  95. package/google/api/documentation_pb_service.d.ts +3 -0
  96. package/google/api/documentation_pb_service.js +3 -0
  97. package/google/api/endpoint_pb.d.ts +46 -0
  98. package/google/api/endpoint_pb.js +343 -0
  99. package/google/api/endpoint_pb_service.d.ts +3 -0
  100. package/google/api/endpoint_pb_service.js +3 -0
  101. package/google/api/error_reason_pb.d.ts +40 -0
  102. package/google/api/error_reason_pb.js +61 -0
  103. package/google/api/error_reason_pb_service.d.ts +3 -0
  104. package/google/api/error_reason_pb_service.js +3 -0
  105. package/google/api/field_behavior_pb.d.ts +20 -0
  106. package/google/api/field_behavior_pb.js +66 -0
  107. package/google/api/field_behavior_pb_service.d.ts +3 -0
  108. package/google/api/field_behavior_pb_service.js +3 -0
  109. package/google/api/http_pb.d.ts +136 -0
  110. package/google/api/http_pb.js +1012 -0
  111. package/google/api/http_pb_service.d.ts +3 -0
  112. package/google/api/http_pb_service.js +3 -0
  113. package/google/api/httpbody_pb.d.ts +38 -0
  114. package/google/api/httpbody_pb.js +292 -0
  115. package/google/api/httpbody_pb_service.d.ts +3 -0
  116. package/google/api/httpbody_pb_service.js +3 -0
  117. package/google/api/label_pb.d.ts +41 -0
  118. package/google/api/label_pb.js +246 -0
  119. package/google/api/label_pb_service.d.ts +3 -0
  120. package/google/api/label_pb_service.js +3 -0
  121. package/google/api/launch_stage_pb.d.ts +16 -0
  122. package/google/api/launch_stage_pb.js +37 -0
  123. package/google/api/launch_stage_pb_service.d.ts +3 -0
  124. package/google/api/launch_stage_pb_service.js +3 -0
  125. package/google/api/log_pb.d.ts +40 -0
  126. package/google/api/log_pb.js +298 -0
  127. package/google/api/log_pb_service.d.ts +3 -0
  128. package/google/api/log_pb_service.js +3 -0
  129. package/google/api/logging_pb.d.ts +60 -0
  130. package/google/api/logging_pb.js +469 -0
  131. package/google/api/logging_pb_service.d.ts +3 -0
  132. package/google/api/logging_pb_service.js +3 -0
  133. package/google/api/metric_pb.d.ts +100 -0
  134. package/google/api/metric_pb.js +629 -0
  135. package/google/api/metric_pb_service.d.ts +3 -0
  136. package/google/api/metric_pb_service.js +3 -0
  137. package/google/api/monitored_resource_pb.d.ts +93 -0
  138. package/google/api/monitored_resource_pb.js +723 -0
  139. package/google/api/monitored_resource_pb_service.d.ts +3 -0
  140. package/google/api/monitored_resource_pb_service.js +3 -0
  141. package/google/api/monitoring_pb.d.ts +60 -0
  142. package/google/api/monitoring_pb.js +469 -0
  143. package/google/api/monitoring_pb_service.d.ts +3 -0
  144. package/google/api/monitoring_pb_service.js +3 -0
  145. package/google/api/policy_pb.d.ts +64 -0
  146. package/google/api/policy_pb.js +502 -0
  147. package/google/api/policy_pb_service.d.ts +3 -0
  148. package/google/api/policy_pb_service.js +3 -0
  149. package/google/api/quota_pb.d.ts +112 -0
  150. package/google/api/quota_pb.js +873 -0
  151. package/google/api/quota_pb_service.d.ts +3 -0
  152. package/google/api/quota_pb_service.js +3 -0
  153. package/google/api/resource_pb.d.ts +99 -0
  154. package/google/api/resource_pb.js +684 -0
  155. package/google/api/resource_pb_service.d.ts +3 -0
  156. package/google/api/resource_pb_service.js +3 -0
  157. package/google/api/routing_pb.d.ts +54 -0
  158. package/google/api/routing_pb.js +416 -0
  159. package/google/api/routing_pb_service.d.ts +3 -0
  160. package/google/api/routing_pb_service.js +3 -0
  161. package/google/api/service_pb.d.ts +184 -0
  162. package/google/api/service_pb.js +1400 -0
  163. package/google/api/service_pb_service.d.ts +3 -0
  164. package/google/api/service_pb_service.js +3 -0
  165. package/google/api/source_info_pb.d.ts +28 -0
  166. package/google/api/source_info_pb.js +208 -0
  167. package/google/api/source_info_pb_service.d.ts +3 -0
  168. package/google/api/source_info_pb_service.js +3 -0
  169. package/google/api/system_parameter_pb.d.ts +81 -0
  170. package/google/api/system_parameter_pb.js +630 -0
  171. package/google/api/system_parameter_pb_service.d.ts +3 -0
  172. package/google/api/system_parameter_pb_service.js +3 -0
  173. package/google/api/usage_pb.d.ts +66 -0
  174. package/google/api/usage_pb.js +499 -0
  175. package/google/api/usage_pb_service.d.ts +3 -0
  176. package/google/api/usage_pb_service.js +3 -0
  177. package/google/api/visibility_pb.d.ts +64 -0
  178. package/google/api/visibility_pb.js +546 -0
  179. package/google/api/visibility_pb_service.d.ts +3 -0
  180. package/google/api/visibility_pb_service.js +3 -0
  181. package/meta.client_pb.d.ts +167 -0
  182. package/meta.client_pb.js +1266 -0
  183. package/meta.client_pb_service.d.ts +122 -0
  184. package/meta.client_pb_service.js +183 -0
  185. package/meta.spic_config_pb.d.ts +184 -0
  186. package/meta.spic_config_pb.js +1382 -0
  187. package/meta.spic_config_pb_service.d.ts +122 -0
  188. package/meta.spic_config_pb_service.js +183 -0
  189. package/package.json +1 -1
  190. package/platform.activity_log_pb.d.ts +177 -0
  191. package/platform.activity_log_pb.js +1294 -0
  192. package/platform.activity_log_pb_service.d.ts +82 -0
  193. package/platform.activity_log_pb_service.js +101 -0
  194. package/platform.client_pb.d.ts +350 -0
  195. package/platform.client_pb.js +2663 -0
  196. package/platform.client_pb_service.d.ts +158 -0
  197. package/platform.client_pb_service.js +261 -0
  198. package/platform.group_pb.d.ts +195 -0
  199. package/platform.group_pb.js +1476 -0
  200. package/platform.group_pb_service.d.ts +139 -0
  201. package/platform.group_pb_service.js +221 -0
  202. package/platform.local_account_internal_pb.d.ts +125 -0
  203. package/platform.local_account_internal_pb.js +933 -0
  204. package/platform.local_account_internal_pb_service.d.ts +121 -0
  205. package/platform.local_account_internal_pb_service.js +182 -0
  206. package/platform.local_account_pb.d.ts +466 -0
  207. package/platform.local_account_pb.js +3489 -0
  208. package/platform.local_account_pb_service.d.ts +331 -0
  209. package/platform.local_account_pb_service.js +623 -0
  210. package/platform.local_distribution_pb.d.ts +73 -0
  211. package/platform.local_distribution_pb.js +536 -0
  212. package/platform.local_distribution_pb_service.d.ts +63 -0
  213. package/platform.local_distribution_pb_service.js +61 -0
  214. package/platform.location_pb.d.ts +271 -0
  215. package/platform.location_pb.js +2046 -0
  216. package/platform.location_pb_service.d.ts +139 -0
  217. package/platform.location_pb_service.js +221 -0
  218. package/platform.pagination_pb.d.ts +45 -0
  219. package/platform.pagination_pb.js +276 -0
  220. package/platform.pagination_pb_service.d.ts +3 -0
  221. package/platform.pagination_pb_service.js +3 -0
  222. package/spic.alarm_pb.d.ts +382 -0
  223. package/spic.alarm_pb.js +2915 -0
  224. package/spic.alarm_pb_service.d.ts +101 -0
  225. package/spic.alarm_pb_service.js +141 -0
  226. package/spic.asset_pb.d.ts +697 -0
  227. package/spic.asset_pb.js +4995 -0
  228. package/spic.asset_pb_service.d.ts +197 -0
  229. package/spic.asset_pb_service.js +342 -0
  230. package/spic.cabinet_pb.d.ts +1062 -0
  231. package/spic.cabinet_pb.js +7723 -0
  232. package/spic.cabinet_pb_service.d.ts +245 -0
  233. package/spic.cabinet_pb_service.js +437 -0
  234. package/spic.config_pb.d.ts +249 -0
  235. package/spic.config_pb.js +1891 -0
  236. package/spic.config_pb_service.d.ts +120 -0
  237. package/spic.config_pb_service.js +181 -0
  238. package/spic.contractor_pb.d.ts +195 -0
  239. package/spic.contractor_pb.js +1476 -0
  240. package/spic.contractor_pb_service.d.ts +139 -0
  241. package/spic.contractor_pb_service.js +221 -0
  242. package/spic.history_pb.d.ts +142 -0
  243. package/spic.history_pb.js +1130 -0
  244. package/spic.history_pb_service.d.ts +63 -0
  245. package/spic.history_pb_service.js +61 -0
  246. package/spic.open_request_pb.d.ts +237 -0
  247. package/spic.open_request_pb.js +1784 -0
  248. package/spic.open_request_pb_service.d.ts +101 -0
  249. package/spic.open_request_pb_service.js +141 -0
@@ -0,0 +1,3214 @@
1
+ // source: auth.app_distribution.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
+
24
+ var google_api_annotations_pb = require('./google/api/annotations_pb.js');
25
+ goog.object.extend(proto, google_api_annotations_pb);
26
+ var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
27
+ goog.object.extend(proto, google_protobuf_timestamp_pb);
28
+ var auth_cluster_pb = require('./auth.cluster_pb.js');
29
+ goog.object.extend(proto, auth_cluster_pb);
30
+ var platform_client_pb = require('./platform.client_pb.js');
31
+ goog.object.extend(proto, platform_client_pb);
32
+ var platform_pagination_pb = require('./platform.pagination_pb.js');
33
+ goog.object.extend(proto, platform_pagination_pb);
34
+ goog.exportSymbol('proto.Auth.AppDistributionProto', null, global);
35
+ goog.exportSymbol('proto.Auth.AppDistributionProto.ActiveQr', null, global);
36
+ goog.exportSymbol('proto.Auth.AppDistributionProto.ActiveQrRequest', null, global);
37
+ goog.exportSymbol('proto.Auth.AppDistributionProto.ActiveQrResponse', null, global);
38
+ goog.exportSymbol('proto.Auth.AppDistributionProto.CheckQrRequest', null, global);
39
+ goog.exportSymbol('proto.Auth.AppDistributionProto.CheckQrResponse', null, global);
40
+ goog.exportSymbol('proto.Auth.AppDistributionProto.CheckQrResponseV2', null, global);
41
+ goog.exportSymbol('proto.Auth.AppDistributionProto.ClientWithClusterProto', null, global);
42
+ goog.exportSymbol('proto.Auth.AppDistributionProto.ConnectQrRequest', null, global);
43
+ goog.exportSymbol('proto.Auth.AppDistributionProto.ConnectQrResponse', null, global);
44
+ goog.exportSymbol('proto.Auth.AppDistributionProto.GetClientsRequest', null, global);
45
+ goog.exportSymbol('proto.Auth.AppDistributionProto.GetClientsResponse', null, global);
46
+ goog.exportSymbol('proto.Auth.AppDistributionProto.PhonePrefixesRequest', null, global);
47
+ goog.exportSymbol('proto.Auth.AppDistributionProto.PhonePrefixesResponse', null, global);
48
+ goog.exportSymbol('proto.Auth.AppDistributionProto.QrHistory', null, global);
49
+ goog.exportSymbol('proto.Auth.AppDistributionProto.QrHistoryRequest', null, global);
50
+ goog.exportSymbol('proto.Auth.AppDistributionProto.QrHistoryResponse', null, global);
51
+ /**
52
+ * Generated by JsPbCodeGenerator.
53
+ * @param {Array=} opt_data Optional initial data array, typically from a
54
+ * server response, or constructed directly in Javascript. The array is used
55
+ * in place and becomes part of the constructed object. It is not cloned.
56
+ * If no data is provided, the constructed object will be empty, but still
57
+ * valid.
58
+ * @extends {jspb.Message}
59
+ * @constructor
60
+ */
61
+ proto.Auth.AppDistributionProto = function(opt_data) {
62
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
63
+ };
64
+ goog.inherits(proto.Auth.AppDistributionProto, jspb.Message);
65
+ if (goog.DEBUG && !COMPILED) {
66
+ /**
67
+ * @public
68
+ * @override
69
+ */
70
+ proto.Auth.AppDistributionProto.displayName = 'proto.Auth.AppDistributionProto';
71
+ }
72
+ /**
73
+ * Generated by JsPbCodeGenerator.
74
+ * @param {Array=} opt_data Optional initial data array, typically from a
75
+ * server response, or constructed directly in Javascript. The array is used
76
+ * in place and becomes part of the constructed object. It is not cloned.
77
+ * If no data is provided, the constructed object will be empty, but still
78
+ * valid.
79
+ * @extends {jspb.Message}
80
+ * @constructor
81
+ */
82
+ proto.Auth.AppDistributionProto.ClientWithClusterProto = function(opt_data) {
83
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
84
+ };
85
+ goog.inherits(proto.Auth.AppDistributionProto.ClientWithClusterProto, jspb.Message);
86
+ if (goog.DEBUG && !COMPILED) {
87
+ /**
88
+ * @public
89
+ * @override
90
+ */
91
+ proto.Auth.AppDistributionProto.ClientWithClusterProto.displayName = 'proto.Auth.AppDistributionProto.ClientWithClusterProto';
92
+ }
93
+ /**
94
+ * Generated by JsPbCodeGenerator.
95
+ * @param {Array=} opt_data Optional initial data array, typically from a
96
+ * server response, or constructed directly in Javascript. The array is used
97
+ * in place and becomes part of the constructed object. It is not cloned.
98
+ * If no data is provided, the constructed object will be empty, but still
99
+ * valid.
100
+ * @extends {jspb.Message}
101
+ * @constructor
102
+ */
103
+ proto.Auth.AppDistributionProto.GetClientsRequest = function(opt_data) {
104
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
105
+ };
106
+ goog.inherits(proto.Auth.AppDistributionProto.GetClientsRequest, jspb.Message);
107
+ if (goog.DEBUG && !COMPILED) {
108
+ /**
109
+ * @public
110
+ * @override
111
+ */
112
+ proto.Auth.AppDistributionProto.GetClientsRequest.displayName = 'proto.Auth.AppDistributionProto.GetClientsRequest';
113
+ }
114
+ /**
115
+ * Generated by JsPbCodeGenerator.
116
+ * @param {Array=} opt_data Optional initial data array, typically from a
117
+ * server response, or constructed directly in Javascript. The array is used
118
+ * in place and becomes part of the constructed object. It is not cloned.
119
+ * If no data is provided, the constructed object will be empty, but still
120
+ * valid.
121
+ * @extends {jspb.Message}
122
+ * @constructor
123
+ */
124
+ proto.Auth.AppDistributionProto.GetClientsResponse = function(opt_data) {
125
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.Auth.AppDistributionProto.GetClientsResponse.repeatedFields_, null);
126
+ };
127
+ goog.inherits(proto.Auth.AppDistributionProto.GetClientsResponse, jspb.Message);
128
+ if (goog.DEBUG && !COMPILED) {
129
+ /**
130
+ * @public
131
+ * @override
132
+ */
133
+ proto.Auth.AppDistributionProto.GetClientsResponse.displayName = 'proto.Auth.AppDistributionProto.GetClientsResponse';
134
+ }
135
+ /**
136
+ * Generated by JsPbCodeGenerator.
137
+ * @param {Array=} opt_data Optional initial data array, typically from a
138
+ * server response, or constructed directly in Javascript. The array is used
139
+ * in place and becomes part of the constructed object. It is not cloned.
140
+ * If no data is provided, the constructed object will be empty, but still
141
+ * valid.
142
+ * @extends {jspb.Message}
143
+ * @constructor
144
+ */
145
+ proto.Auth.AppDistributionProto.PhonePrefixesRequest = function(opt_data) {
146
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
147
+ };
148
+ goog.inherits(proto.Auth.AppDistributionProto.PhonePrefixesRequest, jspb.Message);
149
+ if (goog.DEBUG && !COMPILED) {
150
+ /**
151
+ * @public
152
+ * @override
153
+ */
154
+ proto.Auth.AppDistributionProto.PhonePrefixesRequest.displayName = 'proto.Auth.AppDistributionProto.PhonePrefixesRequest';
155
+ }
156
+ /**
157
+ * Generated by JsPbCodeGenerator.
158
+ * @param {Array=} opt_data Optional initial data array, typically from a
159
+ * server response, or constructed directly in Javascript. The array is used
160
+ * in place and becomes part of the constructed object. It is not cloned.
161
+ * If no data is provided, the constructed object will be empty, but still
162
+ * valid.
163
+ * @extends {jspb.Message}
164
+ * @constructor
165
+ */
166
+ proto.Auth.AppDistributionProto.PhonePrefixesResponse = function(opt_data) {
167
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.Auth.AppDistributionProto.PhonePrefixesResponse.repeatedFields_, null);
168
+ };
169
+ goog.inherits(proto.Auth.AppDistributionProto.PhonePrefixesResponse, jspb.Message);
170
+ if (goog.DEBUG && !COMPILED) {
171
+ /**
172
+ * @public
173
+ * @override
174
+ */
175
+ proto.Auth.AppDistributionProto.PhonePrefixesResponse.displayName = 'proto.Auth.AppDistributionProto.PhonePrefixesResponse';
176
+ }
177
+ /**
178
+ * Generated by JsPbCodeGenerator.
179
+ * @param {Array=} opt_data Optional initial data array, typically from a
180
+ * server response, or constructed directly in Javascript. The array is used
181
+ * in place and becomes part of the constructed object. It is not cloned.
182
+ * If no data is provided, the constructed object will be empty, but still
183
+ * valid.
184
+ * @extends {jspb.Message}
185
+ * @constructor
186
+ */
187
+ proto.Auth.AppDistributionProto.CheckQrRequest = function(opt_data) {
188
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
189
+ };
190
+ goog.inherits(proto.Auth.AppDistributionProto.CheckQrRequest, jspb.Message);
191
+ if (goog.DEBUG && !COMPILED) {
192
+ /**
193
+ * @public
194
+ * @override
195
+ */
196
+ proto.Auth.AppDistributionProto.CheckQrRequest.displayName = 'proto.Auth.AppDistributionProto.CheckQrRequest';
197
+ }
198
+ /**
199
+ * Generated by JsPbCodeGenerator.
200
+ * @param {Array=} opt_data Optional initial data array, typically from a
201
+ * server response, or constructed directly in Javascript. The array is used
202
+ * in place and becomes part of the constructed object. It is not cloned.
203
+ * If no data is provided, the constructed object will be empty, but still
204
+ * valid.
205
+ * @extends {jspb.Message}
206
+ * @constructor
207
+ */
208
+ proto.Auth.AppDistributionProto.CheckQrResponse = function(opt_data) {
209
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
210
+ };
211
+ goog.inherits(proto.Auth.AppDistributionProto.CheckQrResponse, jspb.Message);
212
+ if (goog.DEBUG && !COMPILED) {
213
+ /**
214
+ * @public
215
+ * @override
216
+ */
217
+ proto.Auth.AppDistributionProto.CheckQrResponse.displayName = 'proto.Auth.AppDistributionProto.CheckQrResponse';
218
+ }
219
+ /**
220
+ * Generated by JsPbCodeGenerator.
221
+ * @param {Array=} opt_data Optional initial data array, typically from a
222
+ * server response, or constructed directly in Javascript. The array is used
223
+ * in place and becomes part of the constructed object. It is not cloned.
224
+ * If no data is provided, the constructed object will be empty, but still
225
+ * valid.
226
+ * @extends {jspb.Message}
227
+ * @constructor
228
+ */
229
+ proto.Auth.AppDistributionProto.CheckQrResponseV2 = function(opt_data) {
230
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
231
+ };
232
+ goog.inherits(proto.Auth.AppDistributionProto.CheckQrResponseV2, jspb.Message);
233
+ if (goog.DEBUG && !COMPILED) {
234
+ /**
235
+ * @public
236
+ * @override
237
+ */
238
+ proto.Auth.AppDistributionProto.CheckQrResponseV2.displayName = 'proto.Auth.AppDistributionProto.CheckQrResponseV2';
239
+ }
240
+ /**
241
+ * Generated by JsPbCodeGenerator.
242
+ * @param {Array=} opt_data Optional initial data array, typically from a
243
+ * server response, or constructed directly in Javascript. The array is used
244
+ * in place and becomes part of the constructed object. It is not cloned.
245
+ * If no data is provided, the constructed object will be empty, but still
246
+ * valid.
247
+ * @extends {jspb.Message}
248
+ * @constructor
249
+ */
250
+ proto.Auth.AppDistributionProto.ConnectQrRequest = function(opt_data) {
251
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
252
+ };
253
+ goog.inherits(proto.Auth.AppDistributionProto.ConnectQrRequest, jspb.Message);
254
+ if (goog.DEBUG && !COMPILED) {
255
+ /**
256
+ * @public
257
+ * @override
258
+ */
259
+ proto.Auth.AppDistributionProto.ConnectQrRequest.displayName = 'proto.Auth.AppDistributionProto.ConnectQrRequest';
260
+ }
261
+ /**
262
+ * Generated by JsPbCodeGenerator.
263
+ * @param {Array=} opt_data Optional initial data array, typically from a
264
+ * server response, or constructed directly in Javascript. The array is used
265
+ * in place and becomes part of the constructed object. It is not cloned.
266
+ * If no data is provided, the constructed object will be empty, but still
267
+ * valid.
268
+ * @extends {jspb.Message}
269
+ * @constructor
270
+ */
271
+ proto.Auth.AppDistributionProto.ConnectQrResponse = function(opt_data) {
272
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
273
+ };
274
+ goog.inherits(proto.Auth.AppDistributionProto.ConnectQrResponse, jspb.Message);
275
+ if (goog.DEBUG && !COMPILED) {
276
+ /**
277
+ * @public
278
+ * @override
279
+ */
280
+ proto.Auth.AppDistributionProto.ConnectQrResponse.displayName = 'proto.Auth.AppDistributionProto.ConnectQrResponse';
281
+ }
282
+ /**
283
+ * Generated by JsPbCodeGenerator.
284
+ * @param {Array=} opt_data Optional initial data array, typically from a
285
+ * server response, or constructed directly in Javascript. The array is used
286
+ * in place and becomes part of the constructed object. It is not cloned.
287
+ * If no data is provided, the constructed object will be empty, but still
288
+ * valid.
289
+ * @extends {jspb.Message}
290
+ * @constructor
291
+ */
292
+ proto.Auth.AppDistributionProto.QrHistory = function(opt_data) {
293
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
294
+ };
295
+ goog.inherits(proto.Auth.AppDistributionProto.QrHistory, jspb.Message);
296
+ if (goog.DEBUG && !COMPILED) {
297
+ /**
298
+ * @public
299
+ * @override
300
+ */
301
+ proto.Auth.AppDistributionProto.QrHistory.displayName = 'proto.Auth.AppDistributionProto.QrHistory';
302
+ }
303
+ /**
304
+ * Generated by JsPbCodeGenerator.
305
+ * @param {Array=} opt_data Optional initial data array, typically from a
306
+ * server response, or constructed directly in Javascript. The array is used
307
+ * in place and becomes part of the constructed object. It is not cloned.
308
+ * If no data is provided, the constructed object will be empty, but still
309
+ * valid.
310
+ * @extends {jspb.Message}
311
+ * @constructor
312
+ */
313
+ proto.Auth.AppDistributionProto.QrHistoryRequest = function(opt_data) {
314
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
315
+ };
316
+ goog.inherits(proto.Auth.AppDistributionProto.QrHistoryRequest, jspb.Message);
317
+ if (goog.DEBUG && !COMPILED) {
318
+ /**
319
+ * @public
320
+ * @override
321
+ */
322
+ proto.Auth.AppDistributionProto.QrHistoryRequest.displayName = 'proto.Auth.AppDistributionProto.QrHistoryRequest';
323
+ }
324
+ /**
325
+ * Generated by JsPbCodeGenerator.
326
+ * @param {Array=} opt_data Optional initial data array, typically from a
327
+ * server response, or constructed directly in Javascript. The array is used
328
+ * in place and becomes part of the constructed object. It is not cloned.
329
+ * If no data is provided, the constructed object will be empty, but still
330
+ * valid.
331
+ * @extends {jspb.Message}
332
+ * @constructor
333
+ */
334
+ proto.Auth.AppDistributionProto.QrHistoryResponse = function(opt_data) {
335
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.Auth.AppDistributionProto.QrHistoryResponse.repeatedFields_, null);
336
+ };
337
+ goog.inherits(proto.Auth.AppDistributionProto.QrHistoryResponse, jspb.Message);
338
+ if (goog.DEBUG && !COMPILED) {
339
+ /**
340
+ * @public
341
+ * @override
342
+ */
343
+ proto.Auth.AppDistributionProto.QrHistoryResponse.displayName = 'proto.Auth.AppDistributionProto.QrHistoryResponse';
344
+ }
345
+ /**
346
+ * Generated by JsPbCodeGenerator.
347
+ * @param {Array=} opt_data Optional initial data array, typically from a
348
+ * server response, or constructed directly in Javascript. The array is used
349
+ * in place and becomes part of the constructed object. It is not cloned.
350
+ * If no data is provided, the constructed object will be empty, but still
351
+ * valid.
352
+ * @extends {jspb.Message}
353
+ * @constructor
354
+ */
355
+ proto.Auth.AppDistributionProto.ActiveQr = function(opt_data) {
356
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
357
+ };
358
+ goog.inherits(proto.Auth.AppDistributionProto.ActiveQr, jspb.Message);
359
+ if (goog.DEBUG && !COMPILED) {
360
+ /**
361
+ * @public
362
+ * @override
363
+ */
364
+ proto.Auth.AppDistributionProto.ActiveQr.displayName = 'proto.Auth.AppDistributionProto.ActiveQr';
365
+ }
366
+ /**
367
+ * Generated by JsPbCodeGenerator.
368
+ * @param {Array=} opt_data Optional initial data array, typically from a
369
+ * server response, or constructed directly in Javascript. The array is used
370
+ * in place and becomes part of the constructed object. It is not cloned.
371
+ * If no data is provided, the constructed object will be empty, but still
372
+ * valid.
373
+ * @extends {jspb.Message}
374
+ * @constructor
375
+ */
376
+ proto.Auth.AppDistributionProto.ActiveQrRequest = function(opt_data) {
377
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
378
+ };
379
+ goog.inherits(proto.Auth.AppDistributionProto.ActiveQrRequest, jspb.Message);
380
+ if (goog.DEBUG && !COMPILED) {
381
+ /**
382
+ * @public
383
+ * @override
384
+ */
385
+ proto.Auth.AppDistributionProto.ActiveQrRequest.displayName = 'proto.Auth.AppDistributionProto.ActiveQrRequest';
386
+ }
387
+ /**
388
+ * Generated by JsPbCodeGenerator.
389
+ * @param {Array=} opt_data Optional initial data array, typically from a
390
+ * server response, or constructed directly in Javascript. The array is used
391
+ * in place and becomes part of the constructed object. It is not cloned.
392
+ * If no data is provided, the constructed object will be empty, but still
393
+ * valid.
394
+ * @extends {jspb.Message}
395
+ * @constructor
396
+ */
397
+ proto.Auth.AppDistributionProto.ActiveQrResponse = function(opt_data) {
398
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.Auth.AppDistributionProto.ActiveQrResponse.repeatedFields_, null);
399
+ };
400
+ goog.inherits(proto.Auth.AppDistributionProto.ActiveQrResponse, jspb.Message);
401
+ if (goog.DEBUG && !COMPILED) {
402
+ /**
403
+ * @public
404
+ * @override
405
+ */
406
+ proto.Auth.AppDistributionProto.ActiveQrResponse.displayName = 'proto.Auth.AppDistributionProto.ActiveQrResponse';
407
+ }
408
+
409
+
410
+
411
+ if (jspb.Message.GENERATE_TO_OBJECT) {
412
+ /**
413
+ * Creates an object representation of this proto.
414
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
415
+ * Optional fields that are not set will be set to undefined.
416
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
417
+ * For the list of reserved names please see:
418
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
419
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
420
+ * JSPB instance for transitional soy proto support:
421
+ * http://goto/soy-param-migration
422
+ * @return {!Object}
423
+ */
424
+ proto.Auth.AppDistributionProto.prototype.toObject = function(opt_includeInstance) {
425
+ return proto.Auth.AppDistributionProto.toObject(opt_includeInstance, this);
426
+ };
427
+
428
+
429
+ /**
430
+ * Static version of the {@see toObject} method.
431
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
432
+ * the JSPB instance for transitional soy proto support:
433
+ * http://goto/soy-param-migration
434
+ * @param {!proto.Auth.AppDistributionProto} msg The msg instance to transform.
435
+ * @return {!Object}
436
+ * @suppress {unusedLocalVariables} f is only used for nested messages
437
+ */
438
+ proto.Auth.AppDistributionProto.toObject = function(includeInstance, msg) {
439
+ var f, obj = {
440
+
441
+ };
442
+
443
+ if (includeInstance) {
444
+ obj.$jspbMessageInstance = msg;
445
+ }
446
+ return obj;
447
+ };
448
+ }
449
+
450
+
451
+ /**
452
+ * Deserializes binary data (in protobuf wire format).
453
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
454
+ * @return {!proto.Auth.AppDistributionProto}
455
+ */
456
+ proto.Auth.AppDistributionProto.deserializeBinary = function(bytes) {
457
+ var reader = new jspb.BinaryReader(bytes);
458
+ var msg = new proto.Auth.AppDistributionProto;
459
+ return proto.Auth.AppDistributionProto.deserializeBinaryFromReader(msg, reader);
460
+ };
461
+
462
+
463
+ /**
464
+ * Deserializes binary data (in protobuf wire format) from the
465
+ * given reader into the given message object.
466
+ * @param {!proto.Auth.AppDistributionProto} msg The message object to deserialize into.
467
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
468
+ * @return {!proto.Auth.AppDistributionProto}
469
+ */
470
+ proto.Auth.AppDistributionProto.deserializeBinaryFromReader = function(msg, reader) {
471
+ while (reader.nextField()) {
472
+ if (reader.isEndGroup()) {
473
+ break;
474
+ }
475
+ var field = reader.getFieldNumber();
476
+ switch (field) {
477
+ default:
478
+ reader.skipField();
479
+ break;
480
+ }
481
+ }
482
+ return msg;
483
+ };
484
+
485
+
486
+ /**
487
+ * Serializes the message to binary data (in protobuf wire format).
488
+ * @return {!Uint8Array}
489
+ */
490
+ proto.Auth.AppDistributionProto.prototype.serializeBinary = function() {
491
+ var writer = new jspb.BinaryWriter();
492
+ proto.Auth.AppDistributionProto.serializeBinaryToWriter(this, writer);
493
+ return writer.getResultBuffer();
494
+ };
495
+
496
+
497
+ /**
498
+ * Serializes the given message to binary data (in protobuf wire
499
+ * format), writing to the given BinaryWriter.
500
+ * @param {!proto.Auth.AppDistributionProto} message
501
+ * @param {!jspb.BinaryWriter} writer
502
+ * @suppress {unusedLocalVariables} f is only used for nested messages
503
+ */
504
+ proto.Auth.AppDistributionProto.serializeBinaryToWriter = function(message, writer) {
505
+ var f = undefined;
506
+ };
507
+
508
+
509
+
510
+
511
+
512
+ if (jspb.Message.GENERATE_TO_OBJECT) {
513
+ /**
514
+ * Creates an object representation of this proto.
515
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
516
+ * Optional fields that are not set will be set to undefined.
517
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
518
+ * For the list of reserved names please see:
519
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
520
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
521
+ * JSPB instance for transitional soy proto support:
522
+ * http://goto/soy-param-migration
523
+ * @return {!Object}
524
+ */
525
+ proto.Auth.AppDistributionProto.ClientWithClusterProto.prototype.toObject = function(opt_includeInstance) {
526
+ return proto.Auth.AppDistributionProto.ClientWithClusterProto.toObject(opt_includeInstance, this);
527
+ };
528
+
529
+
530
+ /**
531
+ * Static version of the {@see toObject} method.
532
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
533
+ * the JSPB instance for transitional soy proto support:
534
+ * http://goto/soy-param-migration
535
+ * @param {!proto.Auth.AppDistributionProto.ClientWithClusterProto} msg The msg instance to transform.
536
+ * @return {!Object}
537
+ * @suppress {unusedLocalVariables} f is only used for nested messages
538
+ */
539
+ proto.Auth.AppDistributionProto.ClientWithClusterProto.toObject = function(includeInstance, msg) {
540
+ var f, obj = {
541
+ client: (f = msg.getClient()) && platform_client_pb.ClientProto.toObject(includeInstance, f),
542
+ cluster: (f = msg.getCluster()) && auth_cluster_pb.ClusterProto.toObject(includeInstance, f)
543
+ };
544
+
545
+ if (includeInstance) {
546
+ obj.$jspbMessageInstance = msg;
547
+ }
548
+ return obj;
549
+ };
550
+ }
551
+
552
+
553
+ /**
554
+ * Deserializes binary data (in protobuf wire format).
555
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
556
+ * @return {!proto.Auth.AppDistributionProto.ClientWithClusterProto}
557
+ */
558
+ proto.Auth.AppDistributionProto.ClientWithClusterProto.deserializeBinary = function(bytes) {
559
+ var reader = new jspb.BinaryReader(bytes);
560
+ var msg = new proto.Auth.AppDistributionProto.ClientWithClusterProto;
561
+ return proto.Auth.AppDistributionProto.ClientWithClusterProto.deserializeBinaryFromReader(msg, reader);
562
+ };
563
+
564
+
565
+ /**
566
+ * Deserializes binary data (in protobuf wire format) from the
567
+ * given reader into the given message object.
568
+ * @param {!proto.Auth.AppDistributionProto.ClientWithClusterProto} msg The message object to deserialize into.
569
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
570
+ * @return {!proto.Auth.AppDistributionProto.ClientWithClusterProto}
571
+ */
572
+ proto.Auth.AppDistributionProto.ClientWithClusterProto.deserializeBinaryFromReader = function(msg, reader) {
573
+ while (reader.nextField()) {
574
+ if (reader.isEndGroup()) {
575
+ break;
576
+ }
577
+ var field = reader.getFieldNumber();
578
+ switch (field) {
579
+ case 1:
580
+ var value = new platform_client_pb.ClientProto;
581
+ reader.readMessage(value,platform_client_pb.ClientProto.deserializeBinaryFromReader);
582
+ msg.setClient(value);
583
+ break;
584
+ case 2:
585
+ var value = new auth_cluster_pb.ClusterProto;
586
+ reader.readMessage(value,auth_cluster_pb.ClusterProto.deserializeBinaryFromReader);
587
+ msg.setCluster(value);
588
+ break;
589
+ default:
590
+ reader.skipField();
591
+ break;
592
+ }
593
+ }
594
+ return msg;
595
+ };
596
+
597
+
598
+ /**
599
+ * Serializes the message to binary data (in protobuf wire format).
600
+ * @return {!Uint8Array}
601
+ */
602
+ proto.Auth.AppDistributionProto.ClientWithClusterProto.prototype.serializeBinary = function() {
603
+ var writer = new jspb.BinaryWriter();
604
+ proto.Auth.AppDistributionProto.ClientWithClusterProto.serializeBinaryToWriter(this, writer);
605
+ return writer.getResultBuffer();
606
+ };
607
+
608
+
609
+ /**
610
+ * Serializes the given message to binary data (in protobuf wire
611
+ * format), writing to the given BinaryWriter.
612
+ * @param {!proto.Auth.AppDistributionProto.ClientWithClusterProto} message
613
+ * @param {!jspb.BinaryWriter} writer
614
+ * @suppress {unusedLocalVariables} f is only used for nested messages
615
+ */
616
+ proto.Auth.AppDistributionProto.ClientWithClusterProto.serializeBinaryToWriter = function(message, writer) {
617
+ var f = undefined;
618
+ f = message.getClient();
619
+ if (f != null) {
620
+ writer.writeMessage(
621
+ 1,
622
+ f,
623
+ platform_client_pb.ClientProto.serializeBinaryToWriter
624
+ );
625
+ }
626
+ f = message.getCluster();
627
+ if (f != null) {
628
+ writer.writeMessage(
629
+ 2,
630
+ f,
631
+ auth_cluster_pb.ClusterProto.serializeBinaryToWriter
632
+ );
633
+ }
634
+ };
635
+
636
+
637
+ /**
638
+ * optional Platform.ClientProto client = 1;
639
+ * @return {?proto.Platform.ClientProto}
640
+ */
641
+ proto.Auth.AppDistributionProto.ClientWithClusterProto.prototype.getClient = function() {
642
+ return /** @type{?proto.Platform.ClientProto} */ (
643
+ jspb.Message.getWrapperField(this, platform_client_pb.ClientProto, 1));
644
+ };
645
+
646
+
647
+ /**
648
+ * @param {?proto.Platform.ClientProto|undefined} value
649
+ * @return {!proto.Auth.AppDistributionProto.ClientWithClusterProto} returns this
650
+ */
651
+ proto.Auth.AppDistributionProto.ClientWithClusterProto.prototype.setClient = function(value) {
652
+ return jspb.Message.setWrapperField(this, 1, value);
653
+ };
654
+
655
+
656
+ /**
657
+ * Clears the message field making it undefined.
658
+ * @return {!proto.Auth.AppDistributionProto.ClientWithClusterProto} returns this
659
+ */
660
+ proto.Auth.AppDistributionProto.ClientWithClusterProto.prototype.clearClient = function() {
661
+ return this.setClient(undefined);
662
+ };
663
+
664
+
665
+ /**
666
+ * Returns whether this field is set.
667
+ * @return {boolean}
668
+ */
669
+ proto.Auth.AppDistributionProto.ClientWithClusterProto.prototype.hasClient = function() {
670
+ return jspb.Message.getField(this, 1) != null;
671
+ };
672
+
673
+
674
+ /**
675
+ * optional ClusterProto cluster = 2;
676
+ * @return {?proto.Auth.ClusterProto}
677
+ */
678
+ proto.Auth.AppDistributionProto.ClientWithClusterProto.prototype.getCluster = function() {
679
+ return /** @type{?proto.Auth.ClusterProto} */ (
680
+ jspb.Message.getWrapperField(this, auth_cluster_pb.ClusterProto, 2));
681
+ };
682
+
683
+
684
+ /**
685
+ * @param {?proto.Auth.ClusterProto|undefined} value
686
+ * @return {!proto.Auth.AppDistributionProto.ClientWithClusterProto} returns this
687
+ */
688
+ proto.Auth.AppDistributionProto.ClientWithClusterProto.prototype.setCluster = function(value) {
689
+ return jspb.Message.setWrapperField(this, 2, value);
690
+ };
691
+
692
+
693
+ /**
694
+ * Clears the message field making it undefined.
695
+ * @return {!proto.Auth.AppDistributionProto.ClientWithClusterProto} returns this
696
+ */
697
+ proto.Auth.AppDistributionProto.ClientWithClusterProto.prototype.clearCluster = function() {
698
+ return this.setCluster(undefined);
699
+ };
700
+
701
+
702
+ /**
703
+ * Returns whether this field is set.
704
+ * @return {boolean}
705
+ */
706
+ proto.Auth.AppDistributionProto.ClientWithClusterProto.prototype.hasCluster = function() {
707
+ return jspb.Message.getField(this, 2) != null;
708
+ };
709
+
710
+
711
+
712
+
713
+
714
+ if (jspb.Message.GENERATE_TO_OBJECT) {
715
+ /**
716
+ * Creates an object representation of this proto.
717
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
718
+ * Optional fields that are not set will be set to undefined.
719
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
720
+ * For the list of reserved names please see:
721
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
722
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
723
+ * JSPB instance for transitional soy proto support:
724
+ * http://goto/soy-param-migration
725
+ * @return {!Object}
726
+ */
727
+ proto.Auth.AppDistributionProto.GetClientsRequest.prototype.toObject = function(opt_includeInstance) {
728
+ return proto.Auth.AppDistributionProto.GetClientsRequest.toObject(opt_includeInstance, this);
729
+ };
730
+
731
+
732
+ /**
733
+ * Static version of the {@see toObject} method.
734
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
735
+ * the JSPB instance for transitional soy proto support:
736
+ * http://goto/soy-param-migration
737
+ * @param {!proto.Auth.AppDistributionProto.GetClientsRequest} msg The msg instance to transform.
738
+ * @return {!Object}
739
+ * @suppress {unusedLocalVariables} f is only used for nested messages
740
+ */
741
+ proto.Auth.AppDistributionProto.GetClientsRequest.toObject = function(includeInstance, msg) {
742
+ var f, obj = {
743
+
744
+ };
745
+
746
+ if (includeInstance) {
747
+ obj.$jspbMessageInstance = msg;
748
+ }
749
+ return obj;
750
+ };
751
+ }
752
+
753
+
754
+ /**
755
+ * Deserializes binary data (in protobuf wire format).
756
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
757
+ * @return {!proto.Auth.AppDistributionProto.GetClientsRequest}
758
+ */
759
+ proto.Auth.AppDistributionProto.GetClientsRequest.deserializeBinary = function(bytes) {
760
+ var reader = new jspb.BinaryReader(bytes);
761
+ var msg = new proto.Auth.AppDistributionProto.GetClientsRequest;
762
+ return proto.Auth.AppDistributionProto.GetClientsRequest.deserializeBinaryFromReader(msg, reader);
763
+ };
764
+
765
+
766
+ /**
767
+ * Deserializes binary data (in protobuf wire format) from the
768
+ * given reader into the given message object.
769
+ * @param {!proto.Auth.AppDistributionProto.GetClientsRequest} msg The message object to deserialize into.
770
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
771
+ * @return {!proto.Auth.AppDistributionProto.GetClientsRequest}
772
+ */
773
+ proto.Auth.AppDistributionProto.GetClientsRequest.deserializeBinaryFromReader = function(msg, reader) {
774
+ while (reader.nextField()) {
775
+ if (reader.isEndGroup()) {
776
+ break;
777
+ }
778
+ var field = reader.getFieldNumber();
779
+ switch (field) {
780
+ default:
781
+ reader.skipField();
782
+ break;
783
+ }
784
+ }
785
+ return msg;
786
+ };
787
+
788
+
789
+ /**
790
+ * Serializes the message to binary data (in protobuf wire format).
791
+ * @return {!Uint8Array}
792
+ */
793
+ proto.Auth.AppDistributionProto.GetClientsRequest.prototype.serializeBinary = function() {
794
+ var writer = new jspb.BinaryWriter();
795
+ proto.Auth.AppDistributionProto.GetClientsRequest.serializeBinaryToWriter(this, writer);
796
+ return writer.getResultBuffer();
797
+ };
798
+
799
+
800
+ /**
801
+ * Serializes the given message to binary data (in protobuf wire
802
+ * format), writing to the given BinaryWriter.
803
+ * @param {!proto.Auth.AppDistributionProto.GetClientsRequest} message
804
+ * @param {!jspb.BinaryWriter} writer
805
+ * @suppress {unusedLocalVariables} f is only used for nested messages
806
+ */
807
+ proto.Auth.AppDistributionProto.GetClientsRequest.serializeBinaryToWriter = function(message, writer) {
808
+ var f = undefined;
809
+ };
810
+
811
+
812
+
813
+ /**
814
+ * List of repeated fields within this message type.
815
+ * @private {!Array<number>}
816
+ * @const
817
+ */
818
+ proto.Auth.AppDistributionProto.GetClientsResponse.repeatedFields_ = [1];
819
+
820
+
821
+
822
+ if (jspb.Message.GENERATE_TO_OBJECT) {
823
+ /**
824
+ * Creates an object representation of this proto.
825
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
826
+ * Optional fields that are not set will be set to undefined.
827
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
828
+ * For the list of reserved names please see:
829
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
830
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
831
+ * JSPB instance for transitional soy proto support:
832
+ * http://goto/soy-param-migration
833
+ * @return {!Object}
834
+ */
835
+ proto.Auth.AppDistributionProto.GetClientsResponse.prototype.toObject = function(opt_includeInstance) {
836
+ return proto.Auth.AppDistributionProto.GetClientsResponse.toObject(opt_includeInstance, this);
837
+ };
838
+
839
+
840
+ /**
841
+ * Static version of the {@see toObject} method.
842
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
843
+ * the JSPB instance for transitional soy proto support:
844
+ * http://goto/soy-param-migration
845
+ * @param {!proto.Auth.AppDistributionProto.GetClientsResponse} msg The msg instance to transform.
846
+ * @return {!Object}
847
+ * @suppress {unusedLocalVariables} f is only used for nested messages
848
+ */
849
+ proto.Auth.AppDistributionProto.GetClientsResponse.toObject = function(includeInstance, msg) {
850
+ var f, obj = {
851
+ clientsList: jspb.Message.toObjectList(msg.getClientsList(),
852
+ proto.Auth.AppDistributionProto.ClientWithClusterProto.toObject, includeInstance)
853
+ };
854
+
855
+ if (includeInstance) {
856
+ obj.$jspbMessageInstance = msg;
857
+ }
858
+ return obj;
859
+ };
860
+ }
861
+
862
+
863
+ /**
864
+ * Deserializes binary data (in protobuf wire format).
865
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
866
+ * @return {!proto.Auth.AppDistributionProto.GetClientsResponse}
867
+ */
868
+ proto.Auth.AppDistributionProto.GetClientsResponse.deserializeBinary = function(bytes) {
869
+ var reader = new jspb.BinaryReader(bytes);
870
+ var msg = new proto.Auth.AppDistributionProto.GetClientsResponse;
871
+ return proto.Auth.AppDistributionProto.GetClientsResponse.deserializeBinaryFromReader(msg, reader);
872
+ };
873
+
874
+
875
+ /**
876
+ * Deserializes binary data (in protobuf wire format) from the
877
+ * given reader into the given message object.
878
+ * @param {!proto.Auth.AppDistributionProto.GetClientsResponse} msg The message object to deserialize into.
879
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
880
+ * @return {!proto.Auth.AppDistributionProto.GetClientsResponse}
881
+ */
882
+ proto.Auth.AppDistributionProto.GetClientsResponse.deserializeBinaryFromReader = function(msg, reader) {
883
+ while (reader.nextField()) {
884
+ if (reader.isEndGroup()) {
885
+ break;
886
+ }
887
+ var field = reader.getFieldNumber();
888
+ switch (field) {
889
+ case 1:
890
+ var value = new proto.Auth.AppDistributionProto.ClientWithClusterProto;
891
+ reader.readMessage(value,proto.Auth.AppDistributionProto.ClientWithClusterProto.deserializeBinaryFromReader);
892
+ msg.addClients(value);
893
+ break;
894
+ default:
895
+ reader.skipField();
896
+ break;
897
+ }
898
+ }
899
+ return msg;
900
+ };
901
+
902
+
903
+ /**
904
+ * Serializes the message to binary data (in protobuf wire format).
905
+ * @return {!Uint8Array}
906
+ */
907
+ proto.Auth.AppDistributionProto.GetClientsResponse.prototype.serializeBinary = function() {
908
+ var writer = new jspb.BinaryWriter();
909
+ proto.Auth.AppDistributionProto.GetClientsResponse.serializeBinaryToWriter(this, writer);
910
+ return writer.getResultBuffer();
911
+ };
912
+
913
+
914
+ /**
915
+ * Serializes the given message to binary data (in protobuf wire
916
+ * format), writing to the given BinaryWriter.
917
+ * @param {!proto.Auth.AppDistributionProto.GetClientsResponse} message
918
+ * @param {!jspb.BinaryWriter} writer
919
+ * @suppress {unusedLocalVariables} f is only used for nested messages
920
+ */
921
+ proto.Auth.AppDistributionProto.GetClientsResponse.serializeBinaryToWriter = function(message, writer) {
922
+ var f = undefined;
923
+ f = message.getClientsList();
924
+ if (f.length > 0) {
925
+ writer.writeRepeatedMessage(
926
+ 1,
927
+ f,
928
+ proto.Auth.AppDistributionProto.ClientWithClusterProto.serializeBinaryToWriter
929
+ );
930
+ }
931
+ };
932
+
933
+
934
+ /**
935
+ * repeated ClientWithClusterProto clients = 1;
936
+ * @return {!Array<!proto.Auth.AppDistributionProto.ClientWithClusterProto>}
937
+ */
938
+ proto.Auth.AppDistributionProto.GetClientsResponse.prototype.getClientsList = function() {
939
+ return /** @type{!Array<!proto.Auth.AppDistributionProto.ClientWithClusterProto>} */ (
940
+ jspb.Message.getRepeatedWrapperField(this, proto.Auth.AppDistributionProto.ClientWithClusterProto, 1));
941
+ };
942
+
943
+
944
+ /**
945
+ * @param {!Array<!proto.Auth.AppDistributionProto.ClientWithClusterProto>} value
946
+ * @return {!proto.Auth.AppDistributionProto.GetClientsResponse} returns this
947
+ */
948
+ proto.Auth.AppDistributionProto.GetClientsResponse.prototype.setClientsList = function(value) {
949
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
950
+ };
951
+
952
+
953
+ /**
954
+ * @param {!proto.Auth.AppDistributionProto.ClientWithClusterProto=} opt_value
955
+ * @param {number=} opt_index
956
+ * @return {!proto.Auth.AppDistributionProto.ClientWithClusterProto}
957
+ */
958
+ proto.Auth.AppDistributionProto.GetClientsResponse.prototype.addClients = function(opt_value, opt_index) {
959
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Auth.AppDistributionProto.ClientWithClusterProto, opt_index);
960
+ };
961
+
962
+
963
+ /**
964
+ * Clears the list making it empty but non-null.
965
+ * @return {!proto.Auth.AppDistributionProto.GetClientsResponse} returns this
966
+ */
967
+ proto.Auth.AppDistributionProto.GetClientsResponse.prototype.clearClientsList = function() {
968
+ return this.setClientsList([]);
969
+ };
970
+
971
+
972
+
973
+
974
+
975
+ if (jspb.Message.GENERATE_TO_OBJECT) {
976
+ /**
977
+ * Creates an object representation of this proto.
978
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
979
+ * Optional fields that are not set will be set to undefined.
980
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
981
+ * For the list of reserved names please see:
982
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
983
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
984
+ * JSPB instance for transitional soy proto support:
985
+ * http://goto/soy-param-migration
986
+ * @return {!Object}
987
+ */
988
+ proto.Auth.AppDistributionProto.PhonePrefixesRequest.prototype.toObject = function(opt_includeInstance) {
989
+ return proto.Auth.AppDistributionProto.PhonePrefixesRequest.toObject(opt_includeInstance, this);
990
+ };
991
+
992
+
993
+ /**
994
+ * Static version of the {@see toObject} method.
995
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
996
+ * the JSPB instance for transitional soy proto support:
997
+ * http://goto/soy-param-migration
998
+ * @param {!proto.Auth.AppDistributionProto.PhonePrefixesRequest} msg The msg instance to transform.
999
+ * @return {!Object}
1000
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1001
+ */
1002
+ proto.Auth.AppDistributionProto.PhonePrefixesRequest.toObject = function(includeInstance, msg) {
1003
+ var f, obj = {
1004
+
1005
+ };
1006
+
1007
+ if (includeInstance) {
1008
+ obj.$jspbMessageInstance = msg;
1009
+ }
1010
+ return obj;
1011
+ };
1012
+ }
1013
+
1014
+
1015
+ /**
1016
+ * Deserializes binary data (in protobuf wire format).
1017
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1018
+ * @return {!proto.Auth.AppDistributionProto.PhonePrefixesRequest}
1019
+ */
1020
+ proto.Auth.AppDistributionProto.PhonePrefixesRequest.deserializeBinary = function(bytes) {
1021
+ var reader = new jspb.BinaryReader(bytes);
1022
+ var msg = new proto.Auth.AppDistributionProto.PhonePrefixesRequest;
1023
+ return proto.Auth.AppDistributionProto.PhonePrefixesRequest.deserializeBinaryFromReader(msg, reader);
1024
+ };
1025
+
1026
+
1027
+ /**
1028
+ * Deserializes binary data (in protobuf wire format) from the
1029
+ * given reader into the given message object.
1030
+ * @param {!proto.Auth.AppDistributionProto.PhonePrefixesRequest} msg The message object to deserialize into.
1031
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1032
+ * @return {!proto.Auth.AppDistributionProto.PhonePrefixesRequest}
1033
+ */
1034
+ proto.Auth.AppDistributionProto.PhonePrefixesRequest.deserializeBinaryFromReader = function(msg, reader) {
1035
+ while (reader.nextField()) {
1036
+ if (reader.isEndGroup()) {
1037
+ break;
1038
+ }
1039
+ var field = reader.getFieldNumber();
1040
+ switch (field) {
1041
+ default:
1042
+ reader.skipField();
1043
+ break;
1044
+ }
1045
+ }
1046
+ return msg;
1047
+ };
1048
+
1049
+
1050
+ /**
1051
+ * Serializes the message to binary data (in protobuf wire format).
1052
+ * @return {!Uint8Array}
1053
+ */
1054
+ proto.Auth.AppDistributionProto.PhonePrefixesRequest.prototype.serializeBinary = function() {
1055
+ var writer = new jspb.BinaryWriter();
1056
+ proto.Auth.AppDistributionProto.PhonePrefixesRequest.serializeBinaryToWriter(this, writer);
1057
+ return writer.getResultBuffer();
1058
+ };
1059
+
1060
+
1061
+ /**
1062
+ * Serializes the given message to binary data (in protobuf wire
1063
+ * format), writing to the given BinaryWriter.
1064
+ * @param {!proto.Auth.AppDistributionProto.PhonePrefixesRequest} message
1065
+ * @param {!jspb.BinaryWriter} writer
1066
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1067
+ */
1068
+ proto.Auth.AppDistributionProto.PhonePrefixesRequest.serializeBinaryToWriter = function(message, writer) {
1069
+ var f = undefined;
1070
+ };
1071
+
1072
+
1073
+
1074
+ /**
1075
+ * List of repeated fields within this message type.
1076
+ * @private {!Array<number>}
1077
+ * @const
1078
+ */
1079
+ proto.Auth.AppDistributionProto.PhonePrefixesResponse.repeatedFields_ = [1];
1080
+
1081
+
1082
+
1083
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1084
+ /**
1085
+ * Creates an object representation of this proto.
1086
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1087
+ * Optional fields that are not set will be set to undefined.
1088
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1089
+ * For the list of reserved names please see:
1090
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1091
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1092
+ * JSPB instance for transitional soy proto support:
1093
+ * http://goto/soy-param-migration
1094
+ * @return {!Object}
1095
+ */
1096
+ proto.Auth.AppDistributionProto.PhonePrefixesResponse.prototype.toObject = function(opt_includeInstance) {
1097
+ return proto.Auth.AppDistributionProto.PhonePrefixesResponse.toObject(opt_includeInstance, this);
1098
+ };
1099
+
1100
+
1101
+ /**
1102
+ * Static version of the {@see toObject} method.
1103
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1104
+ * the JSPB instance for transitional soy proto support:
1105
+ * http://goto/soy-param-migration
1106
+ * @param {!proto.Auth.AppDistributionProto.PhonePrefixesResponse} msg The msg instance to transform.
1107
+ * @return {!Object}
1108
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1109
+ */
1110
+ proto.Auth.AppDistributionProto.PhonePrefixesResponse.toObject = function(includeInstance, msg) {
1111
+ var f, obj = {
1112
+ prefixesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
1113
+ };
1114
+
1115
+ if (includeInstance) {
1116
+ obj.$jspbMessageInstance = msg;
1117
+ }
1118
+ return obj;
1119
+ };
1120
+ }
1121
+
1122
+
1123
+ /**
1124
+ * Deserializes binary data (in protobuf wire format).
1125
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1126
+ * @return {!proto.Auth.AppDistributionProto.PhonePrefixesResponse}
1127
+ */
1128
+ proto.Auth.AppDistributionProto.PhonePrefixesResponse.deserializeBinary = function(bytes) {
1129
+ var reader = new jspb.BinaryReader(bytes);
1130
+ var msg = new proto.Auth.AppDistributionProto.PhonePrefixesResponse;
1131
+ return proto.Auth.AppDistributionProto.PhonePrefixesResponse.deserializeBinaryFromReader(msg, reader);
1132
+ };
1133
+
1134
+
1135
+ /**
1136
+ * Deserializes binary data (in protobuf wire format) from the
1137
+ * given reader into the given message object.
1138
+ * @param {!proto.Auth.AppDistributionProto.PhonePrefixesResponse} msg The message object to deserialize into.
1139
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1140
+ * @return {!proto.Auth.AppDistributionProto.PhonePrefixesResponse}
1141
+ */
1142
+ proto.Auth.AppDistributionProto.PhonePrefixesResponse.deserializeBinaryFromReader = function(msg, reader) {
1143
+ while (reader.nextField()) {
1144
+ if (reader.isEndGroup()) {
1145
+ break;
1146
+ }
1147
+ var field = reader.getFieldNumber();
1148
+ switch (field) {
1149
+ case 1:
1150
+ var value = /** @type {string} */ (reader.readString());
1151
+ msg.addPrefixes(value);
1152
+ break;
1153
+ default:
1154
+ reader.skipField();
1155
+ break;
1156
+ }
1157
+ }
1158
+ return msg;
1159
+ };
1160
+
1161
+
1162
+ /**
1163
+ * Serializes the message to binary data (in protobuf wire format).
1164
+ * @return {!Uint8Array}
1165
+ */
1166
+ proto.Auth.AppDistributionProto.PhonePrefixesResponse.prototype.serializeBinary = function() {
1167
+ var writer = new jspb.BinaryWriter();
1168
+ proto.Auth.AppDistributionProto.PhonePrefixesResponse.serializeBinaryToWriter(this, writer);
1169
+ return writer.getResultBuffer();
1170
+ };
1171
+
1172
+
1173
+ /**
1174
+ * Serializes the given message to binary data (in protobuf wire
1175
+ * format), writing to the given BinaryWriter.
1176
+ * @param {!proto.Auth.AppDistributionProto.PhonePrefixesResponse} message
1177
+ * @param {!jspb.BinaryWriter} writer
1178
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1179
+ */
1180
+ proto.Auth.AppDistributionProto.PhonePrefixesResponse.serializeBinaryToWriter = function(message, writer) {
1181
+ var f = undefined;
1182
+ f = message.getPrefixesList();
1183
+ if (f.length > 0) {
1184
+ writer.writeRepeatedString(
1185
+ 1,
1186
+ f
1187
+ );
1188
+ }
1189
+ };
1190
+
1191
+
1192
+ /**
1193
+ * repeated string prefixes = 1;
1194
+ * @return {!Array<string>}
1195
+ */
1196
+ proto.Auth.AppDistributionProto.PhonePrefixesResponse.prototype.getPrefixesList = function() {
1197
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
1198
+ };
1199
+
1200
+
1201
+ /**
1202
+ * @param {!Array<string>} value
1203
+ * @return {!proto.Auth.AppDistributionProto.PhonePrefixesResponse} returns this
1204
+ */
1205
+ proto.Auth.AppDistributionProto.PhonePrefixesResponse.prototype.setPrefixesList = function(value) {
1206
+ return jspb.Message.setField(this, 1, value || []);
1207
+ };
1208
+
1209
+
1210
+ /**
1211
+ * @param {string} value
1212
+ * @param {number=} opt_index
1213
+ * @return {!proto.Auth.AppDistributionProto.PhonePrefixesResponse} returns this
1214
+ */
1215
+ proto.Auth.AppDistributionProto.PhonePrefixesResponse.prototype.addPrefixes = function(value, opt_index) {
1216
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
1217
+ };
1218
+
1219
+
1220
+ /**
1221
+ * Clears the list making it empty but non-null.
1222
+ * @return {!proto.Auth.AppDistributionProto.PhonePrefixesResponse} returns this
1223
+ */
1224
+ proto.Auth.AppDistributionProto.PhonePrefixesResponse.prototype.clearPrefixesList = function() {
1225
+ return this.setPrefixesList([]);
1226
+ };
1227
+
1228
+
1229
+
1230
+
1231
+
1232
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1233
+ /**
1234
+ * Creates an object representation of this proto.
1235
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1236
+ * Optional fields that are not set will be set to undefined.
1237
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1238
+ * For the list of reserved names please see:
1239
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1240
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1241
+ * JSPB instance for transitional soy proto support:
1242
+ * http://goto/soy-param-migration
1243
+ * @return {!Object}
1244
+ */
1245
+ proto.Auth.AppDistributionProto.CheckQrRequest.prototype.toObject = function(opt_includeInstance) {
1246
+ return proto.Auth.AppDistributionProto.CheckQrRequest.toObject(opt_includeInstance, this);
1247
+ };
1248
+
1249
+
1250
+ /**
1251
+ * Static version of the {@see toObject} method.
1252
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1253
+ * the JSPB instance for transitional soy proto support:
1254
+ * http://goto/soy-param-migration
1255
+ * @param {!proto.Auth.AppDistributionProto.CheckQrRequest} msg The msg instance to transform.
1256
+ * @return {!Object}
1257
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1258
+ */
1259
+ proto.Auth.AppDistributionProto.CheckQrRequest.toObject = function(includeInstance, msg) {
1260
+ var f, obj = {
1261
+ qr: jspb.Message.getFieldWithDefault(msg, 1, "")
1262
+ };
1263
+
1264
+ if (includeInstance) {
1265
+ obj.$jspbMessageInstance = msg;
1266
+ }
1267
+ return obj;
1268
+ };
1269
+ }
1270
+
1271
+
1272
+ /**
1273
+ * Deserializes binary data (in protobuf wire format).
1274
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1275
+ * @return {!proto.Auth.AppDistributionProto.CheckQrRequest}
1276
+ */
1277
+ proto.Auth.AppDistributionProto.CheckQrRequest.deserializeBinary = function(bytes) {
1278
+ var reader = new jspb.BinaryReader(bytes);
1279
+ var msg = new proto.Auth.AppDistributionProto.CheckQrRequest;
1280
+ return proto.Auth.AppDistributionProto.CheckQrRequest.deserializeBinaryFromReader(msg, reader);
1281
+ };
1282
+
1283
+
1284
+ /**
1285
+ * Deserializes binary data (in protobuf wire format) from the
1286
+ * given reader into the given message object.
1287
+ * @param {!proto.Auth.AppDistributionProto.CheckQrRequest} msg The message object to deserialize into.
1288
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1289
+ * @return {!proto.Auth.AppDistributionProto.CheckQrRequest}
1290
+ */
1291
+ proto.Auth.AppDistributionProto.CheckQrRequest.deserializeBinaryFromReader = function(msg, reader) {
1292
+ while (reader.nextField()) {
1293
+ if (reader.isEndGroup()) {
1294
+ break;
1295
+ }
1296
+ var field = reader.getFieldNumber();
1297
+ switch (field) {
1298
+ case 1:
1299
+ var value = /** @type {string} */ (reader.readString());
1300
+ msg.setQr(value);
1301
+ break;
1302
+ default:
1303
+ reader.skipField();
1304
+ break;
1305
+ }
1306
+ }
1307
+ return msg;
1308
+ };
1309
+
1310
+
1311
+ /**
1312
+ * Serializes the message to binary data (in protobuf wire format).
1313
+ * @return {!Uint8Array}
1314
+ */
1315
+ proto.Auth.AppDistributionProto.CheckQrRequest.prototype.serializeBinary = function() {
1316
+ var writer = new jspb.BinaryWriter();
1317
+ proto.Auth.AppDistributionProto.CheckQrRequest.serializeBinaryToWriter(this, writer);
1318
+ return writer.getResultBuffer();
1319
+ };
1320
+
1321
+
1322
+ /**
1323
+ * Serializes the given message to binary data (in protobuf wire
1324
+ * format), writing to the given BinaryWriter.
1325
+ * @param {!proto.Auth.AppDistributionProto.CheckQrRequest} message
1326
+ * @param {!jspb.BinaryWriter} writer
1327
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1328
+ */
1329
+ proto.Auth.AppDistributionProto.CheckQrRequest.serializeBinaryToWriter = function(message, writer) {
1330
+ var f = undefined;
1331
+ f = message.getQr();
1332
+ if (f.length > 0) {
1333
+ writer.writeString(
1334
+ 1,
1335
+ f
1336
+ );
1337
+ }
1338
+ };
1339
+
1340
+
1341
+ /**
1342
+ * optional string qr = 1;
1343
+ * @return {string}
1344
+ */
1345
+ proto.Auth.AppDistributionProto.CheckQrRequest.prototype.getQr = function() {
1346
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1347
+ };
1348
+
1349
+
1350
+ /**
1351
+ * @param {string} value
1352
+ * @return {!proto.Auth.AppDistributionProto.CheckQrRequest} returns this
1353
+ */
1354
+ proto.Auth.AppDistributionProto.CheckQrRequest.prototype.setQr = function(value) {
1355
+ return jspb.Message.setProto3StringField(this, 1, value);
1356
+ };
1357
+
1358
+
1359
+
1360
+
1361
+
1362
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1363
+ /**
1364
+ * Creates an object representation of this proto.
1365
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1366
+ * Optional fields that are not set will be set to undefined.
1367
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1368
+ * For the list of reserved names please see:
1369
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1370
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1371
+ * JSPB instance for transitional soy proto support:
1372
+ * http://goto/soy-param-migration
1373
+ * @return {!Object}
1374
+ */
1375
+ proto.Auth.AppDistributionProto.CheckQrResponse.prototype.toObject = function(opt_includeInstance) {
1376
+ return proto.Auth.AppDistributionProto.CheckQrResponse.toObject(opt_includeInstance, this);
1377
+ };
1378
+
1379
+
1380
+ /**
1381
+ * Static version of the {@see toObject} method.
1382
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1383
+ * the JSPB instance for transitional soy proto support:
1384
+ * http://goto/soy-param-migration
1385
+ * @param {!proto.Auth.AppDistributionProto.CheckQrResponse} msg The msg instance to transform.
1386
+ * @return {!Object}
1387
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1388
+ */
1389
+ proto.Auth.AppDistributionProto.CheckQrResponse.toObject = function(includeInstance, msg) {
1390
+ var f, obj = {
1391
+ uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
1392
+ client: (f = msg.getClient()) && proto.Auth.AppDistributionProto.ClientWithClusterProto.toObject(includeInstance, f)
1393
+ };
1394
+
1395
+ if (includeInstance) {
1396
+ obj.$jspbMessageInstance = msg;
1397
+ }
1398
+ return obj;
1399
+ };
1400
+ }
1401
+
1402
+
1403
+ /**
1404
+ * Deserializes binary data (in protobuf wire format).
1405
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1406
+ * @return {!proto.Auth.AppDistributionProto.CheckQrResponse}
1407
+ */
1408
+ proto.Auth.AppDistributionProto.CheckQrResponse.deserializeBinary = function(bytes) {
1409
+ var reader = new jspb.BinaryReader(bytes);
1410
+ var msg = new proto.Auth.AppDistributionProto.CheckQrResponse;
1411
+ return proto.Auth.AppDistributionProto.CheckQrResponse.deserializeBinaryFromReader(msg, reader);
1412
+ };
1413
+
1414
+
1415
+ /**
1416
+ * Deserializes binary data (in protobuf wire format) from the
1417
+ * given reader into the given message object.
1418
+ * @param {!proto.Auth.AppDistributionProto.CheckQrResponse} msg The message object to deserialize into.
1419
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1420
+ * @return {!proto.Auth.AppDistributionProto.CheckQrResponse}
1421
+ */
1422
+ proto.Auth.AppDistributionProto.CheckQrResponse.deserializeBinaryFromReader = function(msg, reader) {
1423
+ while (reader.nextField()) {
1424
+ if (reader.isEndGroup()) {
1425
+ break;
1426
+ }
1427
+ var field = reader.getFieldNumber();
1428
+ switch (field) {
1429
+ case 1:
1430
+ var value = /** @type {string} */ (reader.readString());
1431
+ msg.setUid(value);
1432
+ break;
1433
+ case 2:
1434
+ var value = new proto.Auth.AppDistributionProto.ClientWithClusterProto;
1435
+ reader.readMessage(value,proto.Auth.AppDistributionProto.ClientWithClusterProto.deserializeBinaryFromReader);
1436
+ msg.setClient(value);
1437
+ break;
1438
+ default:
1439
+ reader.skipField();
1440
+ break;
1441
+ }
1442
+ }
1443
+ return msg;
1444
+ };
1445
+
1446
+
1447
+ /**
1448
+ * Serializes the message to binary data (in protobuf wire format).
1449
+ * @return {!Uint8Array}
1450
+ */
1451
+ proto.Auth.AppDistributionProto.CheckQrResponse.prototype.serializeBinary = function() {
1452
+ var writer = new jspb.BinaryWriter();
1453
+ proto.Auth.AppDistributionProto.CheckQrResponse.serializeBinaryToWriter(this, writer);
1454
+ return writer.getResultBuffer();
1455
+ };
1456
+
1457
+
1458
+ /**
1459
+ * Serializes the given message to binary data (in protobuf wire
1460
+ * format), writing to the given BinaryWriter.
1461
+ * @param {!proto.Auth.AppDistributionProto.CheckQrResponse} message
1462
+ * @param {!jspb.BinaryWriter} writer
1463
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1464
+ */
1465
+ proto.Auth.AppDistributionProto.CheckQrResponse.serializeBinaryToWriter = function(message, writer) {
1466
+ var f = undefined;
1467
+ f = message.getUid();
1468
+ if (f.length > 0) {
1469
+ writer.writeString(
1470
+ 1,
1471
+ f
1472
+ );
1473
+ }
1474
+ f = message.getClient();
1475
+ if (f != null) {
1476
+ writer.writeMessage(
1477
+ 2,
1478
+ f,
1479
+ proto.Auth.AppDistributionProto.ClientWithClusterProto.serializeBinaryToWriter
1480
+ );
1481
+ }
1482
+ };
1483
+
1484
+
1485
+ /**
1486
+ * optional string uid = 1;
1487
+ * @return {string}
1488
+ */
1489
+ proto.Auth.AppDistributionProto.CheckQrResponse.prototype.getUid = function() {
1490
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1491
+ };
1492
+
1493
+
1494
+ /**
1495
+ * @param {string} value
1496
+ * @return {!proto.Auth.AppDistributionProto.CheckQrResponse} returns this
1497
+ */
1498
+ proto.Auth.AppDistributionProto.CheckQrResponse.prototype.setUid = function(value) {
1499
+ return jspb.Message.setProto3StringField(this, 1, value);
1500
+ };
1501
+
1502
+
1503
+ /**
1504
+ * optional ClientWithClusterProto client = 2;
1505
+ * @return {?proto.Auth.AppDistributionProto.ClientWithClusterProto}
1506
+ */
1507
+ proto.Auth.AppDistributionProto.CheckQrResponse.prototype.getClient = function() {
1508
+ return /** @type{?proto.Auth.AppDistributionProto.ClientWithClusterProto} */ (
1509
+ jspb.Message.getWrapperField(this, proto.Auth.AppDistributionProto.ClientWithClusterProto, 2));
1510
+ };
1511
+
1512
+
1513
+ /**
1514
+ * @param {?proto.Auth.AppDistributionProto.ClientWithClusterProto|undefined} value
1515
+ * @return {!proto.Auth.AppDistributionProto.CheckQrResponse} returns this
1516
+ */
1517
+ proto.Auth.AppDistributionProto.CheckQrResponse.prototype.setClient = function(value) {
1518
+ return jspb.Message.setWrapperField(this, 2, value);
1519
+ };
1520
+
1521
+
1522
+ /**
1523
+ * Clears the message field making it undefined.
1524
+ * @return {!proto.Auth.AppDistributionProto.CheckQrResponse} returns this
1525
+ */
1526
+ proto.Auth.AppDistributionProto.CheckQrResponse.prototype.clearClient = function() {
1527
+ return this.setClient(undefined);
1528
+ };
1529
+
1530
+
1531
+ /**
1532
+ * Returns whether this field is set.
1533
+ * @return {boolean}
1534
+ */
1535
+ proto.Auth.AppDistributionProto.CheckQrResponse.prototype.hasClient = function() {
1536
+ return jspb.Message.getField(this, 2) != null;
1537
+ };
1538
+
1539
+
1540
+
1541
+
1542
+
1543
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1544
+ /**
1545
+ * Creates an object representation of this proto.
1546
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1547
+ * Optional fields that are not set will be set to undefined.
1548
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1549
+ * For the list of reserved names please see:
1550
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1551
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1552
+ * JSPB instance for transitional soy proto support:
1553
+ * http://goto/soy-param-migration
1554
+ * @return {!Object}
1555
+ */
1556
+ proto.Auth.AppDistributionProto.CheckQrResponseV2.prototype.toObject = function(opt_includeInstance) {
1557
+ return proto.Auth.AppDistributionProto.CheckQrResponseV2.toObject(opt_includeInstance, this);
1558
+ };
1559
+
1560
+
1561
+ /**
1562
+ * Static version of the {@see toObject} method.
1563
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1564
+ * the JSPB instance for transitional soy proto support:
1565
+ * http://goto/soy-param-migration
1566
+ * @param {!proto.Auth.AppDistributionProto.CheckQrResponseV2} msg The msg instance to transform.
1567
+ * @return {!Object}
1568
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1569
+ */
1570
+ proto.Auth.AppDistributionProto.CheckQrResponseV2.toObject = function(includeInstance, msg) {
1571
+ var f, obj = {
1572
+ uid: jspb.Message.getFieldWithDefault(msg, 1, "")
1573
+ };
1574
+
1575
+ if (includeInstance) {
1576
+ obj.$jspbMessageInstance = msg;
1577
+ }
1578
+ return obj;
1579
+ };
1580
+ }
1581
+
1582
+
1583
+ /**
1584
+ * Deserializes binary data (in protobuf wire format).
1585
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1586
+ * @return {!proto.Auth.AppDistributionProto.CheckQrResponseV2}
1587
+ */
1588
+ proto.Auth.AppDistributionProto.CheckQrResponseV2.deserializeBinary = function(bytes) {
1589
+ var reader = new jspb.BinaryReader(bytes);
1590
+ var msg = new proto.Auth.AppDistributionProto.CheckQrResponseV2;
1591
+ return proto.Auth.AppDistributionProto.CheckQrResponseV2.deserializeBinaryFromReader(msg, reader);
1592
+ };
1593
+
1594
+
1595
+ /**
1596
+ * Deserializes binary data (in protobuf wire format) from the
1597
+ * given reader into the given message object.
1598
+ * @param {!proto.Auth.AppDistributionProto.CheckQrResponseV2} msg The message object to deserialize into.
1599
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1600
+ * @return {!proto.Auth.AppDistributionProto.CheckQrResponseV2}
1601
+ */
1602
+ proto.Auth.AppDistributionProto.CheckQrResponseV2.deserializeBinaryFromReader = function(msg, reader) {
1603
+ while (reader.nextField()) {
1604
+ if (reader.isEndGroup()) {
1605
+ break;
1606
+ }
1607
+ var field = reader.getFieldNumber();
1608
+ switch (field) {
1609
+ case 1:
1610
+ var value = /** @type {string} */ (reader.readString());
1611
+ msg.setUid(value);
1612
+ break;
1613
+ default:
1614
+ reader.skipField();
1615
+ break;
1616
+ }
1617
+ }
1618
+ return msg;
1619
+ };
1620
+
1621
+
1622
+ /**
1623
+ * Serializes the message to binary data (in protobuf wire format).
1624
+ * @return {!Uint8Array}
1625
+ */
1626
+ proto.Auth.AppDistributionProto.CheckQrResponseV2.prototype.serializeBinary = function() {
1627
+ var writer = new jspb.BinaryWriter();
1628
+ proto.Auth.AppDistributionProto.CheckQrResponseV2.serializeBinaryToWriter(this, writer);
1629
+ return writer.getResultBuffer();
1630
+ };
1631
+
1632
+
1633
+ /**
1634
+ * Serializes the given message to binary data (in protobuf wire
1635
+ * format), writing to the given BinaryWriter.
1636
+ * @param {!proto.Auth.AppDistributionProto.CheckQrResponseV2} message
1637
+ * @param {!jspb.BinaryWriter} writer
1638
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1639
+ */
1640
+ proto.Auth.AppDistributionProto.CheckQrResponseV2.serializeBinaryToWriter = function(message, writer) {
1641
+ var f = undefined;
1642
+ f = message.getUid();
1643
+ if (f.length > 0) {
1644
+ writer.writeString(
1645
+ 1,
1646
+ f
1647
+ );
1648
+ }
1649
+ };
1650
+
1651
+
1652
+ /**
1653
+ * optional string uid = 1;
1654
+ * @return {string}
1655
+ */
1656
+ proto.Auth.AppDistributionProto.CheckQrResponseV2.prototype.getUid = function() {
1657
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1658
+ };
1659
+
1660
+
1661
+ /**
1662
+ * @param {string} value
1663
+ * @return {!proto.Auth.AppDistributionProto.CheckQrResponseV2} returns this
1664
+ */
1665
+ proto.Auth.AppDistributionProto.CheckQrResponseV2.prototype.setUid = function(value) {
1666
+ return jspb.Message.setProto3StringField(this, 1, value);
1667
+ };
1668
+
1669
+
1670
+
1671
+
1672
+
1673
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1674
+ /**
1675
+ * Creates an object representation of this proto.
1676
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1677
+ * Optional fields that are not set will be set to undefined.
1678
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1679
+ * For the list of reserved names please see:
1680
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1681
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1682
+ * JSPB instance for transitional soy proto support:
1683
+ * http://goto/soy-param-migration
1684
+ * @return {!Object}
1685
+ */
1686
+ proto.Auth.AppDistributionProto.ConnectQrRequest.prototype.toObject = function(opt_includeInstance) {
1687
+ return proto.Auth.AppDistributionProto.ConnectQrRequest.toObject(opt_includeInstance, this);
1688
+ };
1689
+
1690
+
1691
+ /**
1692
+ * Static version of the {@see toObject} method.
1693
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1694
+ * the JSPB instance for transitional soy proto support:
1695
+ * http://goto/soy-param-migration
1696
+ * @param {!proto.Auth.AppDistributionProto.ConnectQrRequest} msg The msg instance to transform.
1697
+ * @return {!Object}
1698
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1699
+ */
1700
+ proto.Auth.AppDistributionProto.ConnectQrRequest.toObject = function(includeInstance, msg) {
1701
+ var f, obj = {
1702
+ code1: jspb.Message.getFieldWithDefault(msg, 1, ""),
1703
+ code2: jspb.Message.getFieldWithDefault(msg, 2, "")
1704
+ };
1705
+
1706
+ if (includeInstance) {
1707
+ obj.$jspbMessageInstance = msg;
1708
+ }
1709
+ return obj;
1710
+ };
1711
+ }
1712
+
1713
+
1714
+ /**
1715
+ * Deserializes binary data (in protobuf wire format).
1716
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1717
+ * @return {!proto.Auth.AppDistributionProto.ConnectQrRequest}
1718
+ */
1719
+ proto.Auth.AppDistributionProto.ConnectQrRequest.deserializeBinary = function(bytes) {
1720
+ var reader = new jspb.BinaryReader(bytes);
1721
+ var msg = new proto.Auth.AppDistributionProto.ConnectQrRequest;
1722
+ return proto.Auth.AppDistributionProto.ConnectQrRequest.deserializeBinaryFromReader(msg, reader);
1723
+ };
1724
+
1725
+
1726
+ /**
1727
+ * Deserializes binary data (in protobuf wire format) from the
1728
+ * given reader into the given message object.
1729
+ * @param {!proto.Auth.AppDistributionProto.ConnectQrRequest} msg The message object to deserialize into.
1730
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1731
+ * @return {!proto.Auth.AppDistributionProto.ConnectQrRequest}
1732
+ */
1733
+ proto.Auth.AppDistributionProto.ConnectQrRequest.deserializeBinaryFromReader = function(msg, reader) {
1734
+ while (reader.nextField()) {
1735
+ if (reader.isEndGroup()) {
1736
+ break;
1737
+ }
1738
+ var field = reader.getFieldNumber();
1739
+ switch (field) {
1740
+ case 1:
1741
+ var value = /** @type {string} */ (reader.readString());
1742
+ msg.setCode1(value);
1743
+ break;
1744
+ case 2:
1745
+ var value = /** @type {string} */ (reader.readString());
1746
+ msg.setCode2(value);
1747
+ break;
1748
+ default:
1749
+ reader.skipField();
1750
+ break;
1751
+ }
1752
+ }
1753
+ return msg;
1754
+ };
1755
+
1756
+
1757
+ /**
1758
+ * Serializes the message to binary data (in protobuf wire format).
1759
+ * @return {!Uint8Array}
1760
+ */
1761
+ proto.Auth.AppDistributionProto.ConnectQrRequest.prototype.serializeBinary = function() {
1762
+ var writer = new jspb.BinaryWriter();
1763
+ proto.Auth.AppDistributionProto.ConnectQrRequest.serializeBinaryToWriter(this, writer);
1764
+ return writer.getResultBuffer();
1765
+ };
1766
+
1767
+
1768
+ /**
1769
+ * Serializes the given message to binary data (in protobuf wire
1770
+ * format), writing to the given BinaryWriter.
1771
+ * @param {!proto.Auth.AppDistributionProto.ConnectQrRequest} message
1772
+ * @param {!jspb.BinaryWriter} writer
1773
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1774
+ */
1775
+ proto.Auth.AppDistributionProto.ConnectQrRequest.serializeBinaryToWriter = function(message, writer) {
1776
+ var f = undefined;
1777
+ f = message.getCode1();
1778
+ if (f.length > 0) {
1779
+ writer.writeString(
1780
+ 1,
1781
+ f
1782
+ );
1783
+ }
1784
+ f = message.getCode2();
1785
+ if (f.length > 0) {
1786
+ writer.writeString(
1787
+ 2,
1788
+ f
1789
+ );
1790
+ }
1791
+ };
1792
+
1793
+
1794
+ /**
1795
+ * optional string code1 = 1;
1796
+ * @return {string}
1797
+ */
1798
+ proto.Auth.AppDistributionProto.ConnectQrRequest.prototype.getCode1 = function() {
1799
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1800
+ };
1801
+
1802
+
1803
+ /**
1804
+ * @param {string} value
1805
+ * @return {!proto.Auth.AppDistributionProto.ConnectQrRequest} returns this
1806
+ */
1807
+ proto.Auth.AppDistributionProto.ConnectQrRequest.prototype.setCode1 = function(value) {
1808
+ return jspb.Message.setProto3StringField(this, 1, value);
1809
+ };
1810
+
1811
+
1812
+ /**
1813
+ * optional string code2 = 2;
1814
+ * @return {string}
1815
+ */
1816
+ proto.Auth.AppDistributionProto.ConnectQrRequest.prototype.getCode2 = function() {
1817
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1818
+ };
1819
+
1820
+
1821
+ /**
1822
+ * @param {string} value
1823
+ * @return {!proto.Auth.AppDistributionProto.ConnectQrRequest} returns this
1824
+ */
1825
+ proto.Auth.AppDistributionProto.ConnectQrRequest.prototype.setCode2 = function(value) {
1826
+ return jspb.Message.setProto3StringField(this, 2, value);
1827
+ };
1828
+
1829
+
1830
+
1831
+
1832
+
1833
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1834
+ /**
1835
+ * Creates an object representation of this proto.
1836
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1837
+ * Optional fields that are not set will be set to undefined.
1838
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1839
+ * For the list of reserved names please see:
1840
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1841
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1842
+ * JSPB instance for transitional soy proto support:
1843
+ * http://goto/soy-param-migration
1844
+ * @return {!Object}
1845
+ */
1846
+ proto.Auth.AppDistributionProto.ConnectQrResponse.prototype.toObject = function(opt_includeInstance) {
1847
+ return proto.Auth.AppDistributionProto.ConnectQrResponse.toObject(opt_includeInstance, this);
1848
+ };
1849
+
1850
+
1851
+ /**
1852
+ * Static version of the {@see toObject} method.
1853
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1854
+ * the JSPB instance for transitional soy proto support:
1855
+ * http://goto/soy-param-migration
1856
+ * @param {!proto.Auth.AppDistributionProto.ConnectQrResponse} msg The msg instance to transform.
1857
+ * @return {!Object}
1858
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1859
+ */
1860
+ proto.Auth.AppDistributionProto.ConnectQrResponse.toObject = function(includeInstance, msg) {
1861
+ var f, obj = {
1862
+ message: jspb.Message.getFieldWithDefault(msg, 1, ""),
1863
+ uid: jspb.Message.getFieldWithDefault(msg, 2, "")
1864
+ };
1865
+
1866
+ if (includeInstance) {
1867
+ obj.$jspbMessageInstance = msg;
1868
+ }
1869
+ return obj;
1870
+ };
1871
+ }
1872
+
1873
+
1874
+ /**
1875
+ * Deserializes binary data (in protobuf wire format).
1876
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1877
+ * @return {!proto.Auth.AppDistributionProto.ConnectQrResponse}
1878
+ */
1879
+ proto.Auth.AppDistributionProto.ConnectQrResponse.deserializeBinary = function(bytes) {
1880
+ var reader = new jspb.BinaryReader(bytes);
1881
+ var msg = new proto.Auth.AppDistributionProto.ConnectQrResponse;
1882
+ return proto.Auth.AppDistributionProto.ConnectQrResponse.deserializeBinaryFromReader(msg, reader);
1883
+ };
1884
+
1885
+
1886
+ /**
1887
+ * Deserializes binary data (in protobuf wire format) from the
1888
+ * given reader into the given message object.
1889
+ * @param {!proto.Auth.AppDistributionProto.ConnectQrResponse} msg The message object to deserialize into.
1890
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1891
+ * @return {!proto.Auth.AppDistributionProto.ConnectQrResponse}
1892
+ */
1893
+ proto.Auth.AppDistributionProto.ConnectQrResponse.deserializeBinaryFromReader = function(msg, reader) {
1894
+ while (reader.nextField()) {
1895
+ if (reader.isEndGroup()) {
1896
+ break;
1897
+ }
1898
+ var field = reader.getFieldNumber();
1899
+ switch (field) {
1900
+ case 1:
1901
+ var value = /** @type {string} */ (reader.readString());
1902
+ msg.setMessage(value);
1903
+ break;
1904
+ case 2:
1905
+ var value = /** @type {string} */ (reader.readString());
1906
+ msg.setUid(value);
1907
+ break;
1908
+ default:
1909
+ reader.skipField();
1910
+ break;
1911
+ }
1912
+ }
1913
+ return msg;
1914
+ };
1915
+
1916
+
1917
+ /**
1918
+ * Serializes the message to binary data (in protobuf wire format).
1919
+ * @return {!Uint8Array}
1920
+ */
1921
+ proto.Auth.AppDistributionProto.ConnectQrResponse.prototype.serializeBinary = function() {
1922
+ var writer = new jspb.BinaryWriter();
1923
+ proto.Auth.AppDistributionProto.ConnectQrResponse.serializeBinaryToWriter(this, writer);
1924
+ return writer.getResultBuffer();
1925
+ };
1926
+
1927
+
1928
+ /**
1929
+ * Serializes the given message to binary data (in protobuf wire
1930
+ * format), writing to the given BinaryWriter.
1931
+ * @param {!proto.Auth.AppDistributionProto.ConnectQrResponse} message
1932
+ * @param {!jspb.BinaryWriter} writer
1933
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1934
+ */
1935
+ proto.Auth.AppDistributionProto.ConnectQrResponse.serializeBinaryToWriter = function(message, writer) {
1936
+ var f = undefined;
1937
+ f = message.getMessage();
1938
+ if (f.length > 0) {
1939
+ writer.writeString(
1940
+ 1,
1941
+ f
1942
+ );
1943
+ }
1944
+ f = message.getUid();
1945
+ if (f.length > 0) {
1946
+ writer.writeString(
1947
+ 2,
1948
+ f
1949
+ );
1950
+ }
1951
+ };
1952
+
1953
+
1954
+ /**
1955
+ * optional string message = 1;
1956
+ * @return {string}
1957
+ */
1958
+ proto.Auth.AppDistributionProto.ConnectQrResponse.prototype.getMessage = function() {
1959
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1960
+ };
1961
+
1962
+
1963
+ /**
1964
+ * @param {string} value
1965
+ * @return {!proto.Auth.AppDistributionProto.ConnectQrResponse} returns this
1966
+ */
1967
+ proto.Auth.AppDistributionProto.ConnectQrResponse.prototype.setMessage = function(value) {
1968
+ return jspb.Message.setProto3StringField(this, 1, value);
1969
+ };
1970
+
1971
+
1972
+ /**
1973
+ * optional string uid = 2;
1974
+ * @return {string}
1975
+ */
1976
+ proto.Auth.AppDistributionProto.ConnectQrResponse.prototype.getUid = function() {
1977
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1978
+ };
1979
+
1980
+
1981
+ /**
1982
+ * @param {string} value
1983
+ * @return {!proto.Auth.AppDistributionProto.ConnectQrResponse} returns this
1984
+ */
1985
+ proto.Auth.AppDistributionProto.ConnectQrResponse.prototype.setUid = function(value) {
1986
+ return jspb.Message.setProto3StringField(this, 2, value);
1987
+ };
1988
+
1989
+
1990
+
1991
+
1992
+
1993
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1994
+ /**
1995
+ * Creates an object representation of this proto.
1996
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1997
+ * Optional fields that are not set will be set to undefined.
1998
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1999
+ * For the list of reserved names please see:
2000
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2001
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2002
+ * JSPB instance for transitional soy proto support:
2003
+ * http://goto/soy-param-migration
2004
+ * @return {!Object}
2005
+ */
2006
+ proto.Auth.AppDistributionProto.QrHistory.prototype.toObject = function(opt_includeInstance) {
2007
+ return proto.Auth.AppDistributionProto.QrHistory.toObject(opt_includeInstance, this);
2008
+ };
2009
+
2010
+
2011
+ /**
2012
+ * Static version of the {@see toObject} method.
2013
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2014
+ * the JSPB instance for transitional soy proto support:
2015
+ * http://goto/soy-param-migration
2016
+ * @param {!proto.Auth.AppDistributionProto.QrHistory} msg The msg instance to transform.
2017
+ * @return {!Object}
2018
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2019
+ */
2020
+ proto.Auth.AppDistributionProto.QrHistory.toObject = function(includeInstance, msg) {
2021
+ var f, obj = {
2022
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
2023
+ qrCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
2024
+ fromDate: (f = msg.getFromDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
2025
+ toDate: (f = msg.getToDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
2026
+ };
2027
+
2028
+ if (includeInstance) {
2029
+ obj.$jspbMessageInstance = msg;
2030
+ }
2031
+ return obj;
2032
+ };
2033
+ }
2034
+
2035
+
2036
+ /**
2037
+ * Deserializes binary data (in protobuf wire format).
2038
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2039
+ * @return {!proto.Auth.AppDistributionProto.QrHistory}
2040
+ */
2041
+ proto.Auth.AppDistributionProto.QrHistory.deserializeBinary = function(bytes) {
2042
+ var reader = new jspb.BinaryReader(bytes);
2043
+ var msg = new proto.Auth.AppDistributionProto.QrHistory;
2044
+ return proto.Auth.AppDistributionProto.QrHistory.deserializeBinaryFromReader(msg, reader);
2045
+ };
2046
+
2047
+
2048
+ /**
2049
+ * Deserializes binary data (in protobuf wire format) from the
2050
+ * given reader into the given message object.
2051
+ * @param {!proto.Auth.AppDistributionProto.QrHistory} msg The message object to deserialize into.
2052
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2053
+ * @return {!proto.Auth.AppDistributionProto.QrHistory}
2054
+ */
2055
+ proto.Auth.AppDistributionProto.QrHistory.deserializeBinaryFromReader = function(msg, reader) {
2056
+ while (reader.nextField()) {
2057
+ if (reader.isEndGroup()) {
2058
+ break;
2059
+ }
2060
+ var field = reader.getFieldNumber();
2061
+ switch (field) {
2062
+ case 1:
2063
+ var value = /** @type {number} */ (reader.readInt64());
2064
+ msg.setId(value);
2065
+ break;
2066
+ case 2:
2067
+ var value = /** @type {string} */ (reader.readString());
2068
+ msg.setQrCode(value);
2069
+ break;
2070
+ case 3:
2071
+ var value = new google_protobuf_timestamp_pb.Timestamp;
2072
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
2073
+ msg.setFromDate(value);
2074
+ break;
2075
+ case 4:
2076
+ var value = new google_protobuf_timestamp_pb.Timestamp;
2077
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
2078
+ msg.setToDate(value);
2079
+ break;
2080
+ default:
2081
+ reader.skipField();
2082
+ break;
2083
+ }
2084
+ }
2085
+ return msg;
2086
+ };
2087
+
2088
+
2089
+ /**
2090
+ * Serializes the message to binary data (in protobuf wire format).
2091
+ * @return {!Uint8Array}
2092
+ */
2093
+ proto.Auth.AppDistributionProto.QrHistory.prototype.serializeBinary = function() {
2094
+ var writer = new jspb.BinaryWriter();
2095
+ proto.Auth.AppDistributionProto.QrHistory.serializeBinaryToWriter(this, writer);
2096
+ return writer.getResultBuffer();
2097
+ };
2098
+
2099
+
2100
+ /**
2101
+ * Serializes the given message to binary data (in protobuf wire
2102
+ * format), writing to the given BinaryWriter.
2103
+ * @param {!proto.Auth.AppDistributionProto.QrHistory} message
2104
+ * @param {!jspb.BinaryWriter} writer
2105
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2106
+ */
2107
+ proto.Auth.AppDistributionProto.QrHistory.serializeBinaryToWriter = function(message, writer) {
2108
+ var f = undefined;
2109
+ f = message.getId();
2110
+ if (f !== 0) {
2111
+ writer.writeInt64(
2112
+ 1,
2113
+ f
2114
+ );
2115
+ }
2116
+ f = message.getQrCode();
2117
+ if (f.length > 0) {
2118
+ writer.writeString(
2119
+ 2,
2120
+ f
2121
+ );
2122
+ }
2123
+ f = message.getFromDate();
2124
+ if (f != null) {
2125
+ writer.writeMessage(
2126
+ 3,
2127
+ f,
2128
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
2129
+ );
2130
+ }
2131
+ f = message.getToDate();
2132
+ if (f != null) {
2133
+ writer.writeMessage(
2134
+ 4,
2135
+ f,
2136
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
2137
+ );
2138
+ }
2139
+ };
2140
+
2141
+
2142
+ /**
2143
+ * optional int64 id = 1;
2144
+ * @return {number}
2145
+ */
2146
+ proto.Auth.AppDistributionProto.QrHistory.prototype.getId = function() {
2147
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2148
+ };
2149
+
2150
+
2151
+ /**
2152
+ * @param {number} value
2153
+ * @return {!proto.Auth.AppDistributionProto.QrHistory} returns this
2154
+ */
2155
+ proto.Auth.AppDistributionProto.QrHistory.prototype.setId = function(value) {
2156
+ return jspb.Message.setProto3IntField(this, 1, value);
2157
+ };
2158
+
2159
+
2160
+ /**
2161
+ * optional string qr_code = 2;
2162
+ * @return {string}
2163
+ */
2164
+ proto.Auth.AppDistributionProto.QrHistory.prototype.getQrCode = function() {
2165
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2166
+ };
2167
+
2168
+
2169
+ /**
2170
+ * @param {string} value
2171
+ * @return {!proto.Auth.AppDistributionProto.QrHistory} returns this
2172
+ */
2173
+ proto.Auth.AppDistributionProto.QrHistory.prototype.setQrCode = function(value) {
2174
+ return jspb.Message.setProto3StringField(this, 2, value);
2175
+ };
2176
+
2177
+
2178
+ /**
2179
+ * optional google.protobuf.Timestamp from_date = 3;
2180
+ * @return {?proto.google.protobuf.Timestamp}
2181
+ */
2182
+ proto.Auth.AppDistributionProto.QrHistory.prototype.getFromDate = function() {
2183
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
2184
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
2185
+ };
2186
+
2187
+
2188
+ /**
2189
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
2190
+ * @return {!proto.Auth.AppDistributionProto.QrHistory} returns this
2191
+ */
2192
+ proto.Auth.AppDistributionProto.QrHistory.prototype.setFromDate = function(value) {
2193
+ return jspb.Message.setWrapperField(this, 3, value);
2194
+ };
2195
+
2196
+
2197
+ /**
2198
+ * Clears the message field making it undefined.
2199
+ * @return {!proto.Auth.AppDistributionProto.QrHistory} returns this
2200
+ */
2201
+ proto.Auth.AppDistributionProto.QrHistory.prototype.clearFromDate = function() {
2202
+ return this.setFromDate(undefined);
2203
+ };
2204
+
2205
+
2206
+ /**
2207
+ * Returns whether this field is set.
2208
+ * @return {boolean}
2209
+ */
2210
+ proto.Auth.AppDistributionProto.QrHistory.prototype.hasFromDate = function() {
2211
+ return jspb.Message.getField(this, 3) != null;
2212
+ };
2213
+
2214
+
2215
+ /**
2216
+ * optional google.protobuf.Timestamp to_date = 4;
2217
+ * @return {?proto.google.protobuf.Timestamp}
2218
+ */
2219
+ proto.Auth.AppDistributionProto.QrHistory.prototype.getToDate = function() {
2220
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
2221
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
2222
+ };
2223
+
2224
+
2225
+ /**
2226
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
2227
+ * @return {!proto.Auth.AppDistributionProto.QrHistory} returns this
2228
+ */
2229
+ proto.Auth.AppDistributionProto.QrHistory.prototype.setToDate = function(value) {
2230
+ return jspb.Message.setWrapperField(this, 4, value);
2231
+ };
2232
+
2233
+
2234
+ /**
2235
+ * Clears the message field making it undefined.
2236
+ * @return {!proto.Auth.AppDistributionProto.QrHistory} returns this
2237
+ */
2238
+ proto.Auth.AppDistributionProto.QrHistory.prototype.clearToDate = function() {
2239
+ return this.setToDate(undefined);
2240
+ };
2241
+
2242
+
2243
+ /**
2244
+ * Returns whether this field is set.
2245
+ * @return {boolean}
2246
+ */
2247
+ proto.Auth.AppDistributionProto.QrHistory.prototype.hasToDate = function() {
2248
+ return jspb.Message.getField(this, 4) != null;
2249
+ };
2250
+
2251
+
2252
+
2253
+
2254
+
2255
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2256
+ /**
2257
+ * Creates an object representation of this proto.
2258
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2259
+ * Optional fields that are not set will be set to undefined.
2260
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2261
+ * For the list of reserved names please see:
2262
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2263
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2264
+ * JSPB instance for transitional soy proto support:
2265
+ * http://goto/soy-param-migration
2266
+ * @return {!Object}
2267
+ */
2268
+ proto.Auth.AppDistributionProto.QrHistoryRequest.prototype.toObject = function(opt_includeInstance) {
2269
+ return proto.Auth.AppDistributionProto.QrHistoryRequest.toObject(opt_includeInstance, this);
2270
+ };
2271
+
2272
+
2273
+ /**
2274
+ * Static version of the {@see toObject} method.
2275
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2276
+ * the JSPB instance for transitional soy proto support:
2277
+ * http://goto/soy-param-migration
2278
+ * @param {!proto.Auth.AppDistributionProto.QrHistoryRequest} msg The msg instance to transform.
2279
+ * @return {!Object}
2280
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2281
+ */
2282
+ proto.Auth.AppDistributionProto.QrHistoryRequest.toObject = function(includeInstance, msg) {
2283
+ var f, obj = {
2284
+ uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
2285
+ page: jspb.Message.getFieldWithDefault(msg, 2, 0),
2286
+ count: jspb.Message.getFieldWithDefault(msg, 3, 0)
2287
+ };
2288
+
2289
+ if (includeInstance) {
2290
+ obj.$jspbMessageInstance = msg;
2291
+ }
2292
+ return obj;
2293
+ };
2294
+ }
2295
+
2296
+
2297
+ /**
2298
+ * Deserializes binary data (in protobuf wire format).
2299
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2300
+ * @return {!proto.Auth.AppDistributionProto.QrHistoryRequest}
2301
+ */
2302
+ proto.Auth.AppDistributionProto.QrHistoryRequest.deserializeBinary = function(bytes) {
2303
+ var reader = new jspb.BinaryReader(bytes);
2304
+ var msg = new proto.Auth.AppDistributionProto.QrHistoryRequest;
2305
+ return proto.Auth.AppDistributionProto.QrHistoryRequest.deserializeBinaryFromReader(msg, reader);
2306
+ };
2307
+
2308
+
2309
+ /**
2310
+ * Deserializes binary data (in protobuf wire format) from the
2311
+ * given reader into the given message object.
2312
+ * @param {!proto.Auth.AppDistributionProto.QrHistoryRequest} msg The message object to deserialize into.
2313
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2314
+ * @return {!proto.Auth.AppDistributionProto.QrHistoryRequest}
2315
+ */
2316
+ proto.Auth.AppDistributionProto.QrHistoryRequest.deserializeBinaryFromReader = function(msg, reader) {
2317
+ while (reader.nextField()) {
2318
+ if (reader.isEndGroup()) {
2319
+ break;
2320
+ }
2321
+ var field = reader.getFieldNumber();
2322
+ switch (field) {
2323
+ case 1:
2324
+ var value = /** @type {string} */ (reader.readString());
2325
+ msg.setUid(value);
2326
+ break;
2327
+ case 2:
2328
+ var value = /** @type {number} */ (reader.readInt32());
2329
+ msg.setPage(value);
2330
+ break;
2331
+ case 3:
2332
+ var value = /** @type {number} */ (reader.readInt32());
2333
+ msg.setCount(value);
2334
+ break;
2335
+ default:
2336
+ reader.skipField();
2337
+ break;
2338
+ }
2339
+ }
2340
+ return msg;
2341
+ };
2342
+
2343
+
2344
+ /**
2345
+ * Serializes the message to binary data (in protobuf wire format).
2346
+ * @return {!Uint8Array}
2347
+ */
2348
+ proto.Auth.AppDistributionProto.QrHistoryRequest.prototype.serializeBinary = function() {
2349
+ var writer = new jspb.BinaryWriter();
2350
+ proto.Auth.AppDistributionProto.QrHistoryRequest.serializeBinaryToWriter(this, writer);
2351
+ return writer.getResultBuffer();
2352
+ };
2353
+
2354
+
2355
+ /**
2356
+ * Serializes the given message to binary data (in protobuf wire
2357
+ * format), writing to the given BinaryWriter.
2358
+ * @param {!proto.Auth.AppDistributionProto.QrHistoryRequest} message
2359
+ * @param {!jspb.BinaryWriter} writer
2360
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2361
+ */
2362
+ proto.Auth.AppDistributionProto.QrHistoryRequest.serializeBinaryToWriter = function(message, writer) {
2363
+ var f = undefined;
2364
+ f = message.getUid();
2365
+ if (f.length > 0) {
2366
+ writer.writeString(
2367
+ 1,
2368
+ f
2369
+ );
2370
+ }
2371
+ f = message.getPage();
2372
+ if (f !== 0) {
2373
+ writer.writeInt32(
2374
+ 2,
2375
+ f
2376
+ );
2377
+ }
2378
+ f = message.getCount();
2379
+ if (f !== 0) {
2380
+ writer.writeInt32(
2381
+ 3,
2382
+ f
2383
+ );
2384
+ }
2385
+ };
2386
+
2387
+
2388
+ /**
2389
+ * optional string uid = 1;
2390
+ * @return {string}
2391
+ */
2392
+ proto.Auth.AppDistributionProto.QrHistoryRequest.prototype.getUid = function() {
2393
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2394
+ };
2395
+
2396
+
2397
+ /**
2398
+ * @param {string} value
2399
+ * @return {!proto.Auth.AppDistributionProto.QrHistoryRequest} returns this
2400
+ */
2401
+ proto.Auth.AppDistributionProto.QrHistoryRequest.prototype.setUid = function(value) {
2402
+ return jspb.Message.setProto3StringField(this, 1, value);
2403
+ };
2404
+
2405
+
2406
+ /**
2407
+ * optional int32 page = 2;
2408
+ * @return {number}
2409
+ */
2410
+ proto.Auth.AppDistributionProto.QrHistoryRequest.prototype.getPage = function() {
2411
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2412
+ };
2413
+
2414
+
2415
+ /**
2416
+ * @param {number} value
2417
+ * @return {!proto.Auth.AppDistributionProto.QrHistoryRequest} returns this
2418
+ */
2419
+ proto.Auth.AppDistributionProto.QrHistoryRequest.prototype.setPage = function(value) {
2420
+ return jspb.Message.setProto3IntField(this, 2, value);
2421
+ };
2422
+
2423
+
2424
+ /**
2425
+ * optional int32 count = 3;
2426
+ * @return {number}
2427
+ */
2428
+ proto.Auth.AppDistributionProto.QrHistoryRequest.prototype.getCount = function() {
2429
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
2430
+ };
2431
+
2432
+
2433
+ /**
2434
+ * @param {number} value
2435
+ * @return {!proto.Auth.AppDistributionProto.QrHistoryRequest} returns this
2436
+ */
2437
+ proto.Auth.AppDistributionProto.QrHistoryRequest.prototype.setCount = function(value) {
2438
+ return jspb.Message.setProto3IntField(this, 3, value);
2439
+ };
2440
+
2441
+
2442
+
2443
+ /**
2444
+ * List of repeated fields within this message type.
2445
+ * @private {!Array<number>}
2446
+ * @const
2447
+ */
2448
+ proto.Auth.AppDistributionProto.QrHistoryResponse.repeatedFields_ = [2];
2449
+
2450
+
2451
+
2452
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2453
+ /**
2454
+ * Creates an object representation of this proto.
2455
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2456
+ * Optional fields that are not set will be set to undefined.
2457
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2458
+ * For the list of reserved names please see:
2459
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2460
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2461
+ * JSPB instance for transitional soy proto support:
2462
+ * http://goto/soy-param-migration
2463
+ * @return {!Object}
2464
+ */
2465
+ proto.Auth.AppDistributionProto.QrHistoryResponse.prototype.toObject = function(opt_includeInstance) {
2466
+ return proto.Auth.AppDistributionProto.QrHistoryResponse.toObject(opt_includeInstance, this);
2467
+ };
2468
+
2469
+
2470
+ /**
2471
+ * Static version of the {@see toObject} method.
2472
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2473
+ * the JSPB instance for transitional soy proto support:
2474
+ * http://goto/soy-param-migration
2475
+ * @param {!proto.Auth.AppDistributionProto.QrHistoryResponse} msg The msg instance to transform.
2476
+ * @return {!Object}
2477
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2478
+ */
2479
+ proto.Auth.AppDistributionProto.QrHistoryResponse.toObject = function(includeInstance, msg) {
2480
+ var f, obj = {
2481
+ pagination: (f = msg.getPagination()) && platform_pagination_pb.PaginationProto.toObject(includeInstance, f),
2482
+ historyList: jspb.Message.toObjectList(msg.getHistoryList(),
2483
+ proto.Auth.AppDistributionProto.QrHistory.toObject, includeInstance)
2484
+ };
2485
+
2486
+ if (includeInstance) {
2487
+ obj.$jspbMessageInstance = msg;
2488
+ }
2489
+ return obj;
2490
+ };
2491
+ }
2492
+
2493
+
2494
+ /**
2495
+ * Deserializes binary data (in protobuf wire format).
2496
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2497
+ * @return {!proto.Auth.AppDistributionProto.QrHistoryResponse}
2498
+ */
2499
+ proto.Auth.AppDistributionProto.QrHistoryResponse.deserializeBinary = function(bytes) {
2500
+ var reader = new jspb.BinaryReader(bytes);
2501
+ var msg = new proto.Auth.AppDistributionProto.QrHistoryResponse;
2502
+ return proto.Auth.AppDistributionProto.QrHistoryResponse.deserializeBinaryFromReader(msg, reader);
2503
+ };
2504
+
2505
+
2506
+ /**
2507
+ * Deserializes binary data (in protobuf wire format) from the
2508
+ * given reader into the given message object.
2509
+ * @param {!proto.Auth.AppDistributionProto.QrHistoryResponse} msg The message object to deserialize into.
2510
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2511
+ * @return {!proto.Auth.AppDistributionProto.QrHistoryResponse}
2512
+ */
2513
+ proto.Auth.AppDistributionProto.QrHistoryResponse.deserializeBinaryFromReader = function(msg, reader) {
2514
+ while (reader.nextField()) {
2515
+ if (reader.isEndGroup()) {
2516
+ break;
2517
+ }
2518
+ var field = reader.getFieldNumber();
2519
+ switch (field) {
2520
+ case 1:
2521
+ var value = new platform_pagination_pb.PaginationProto;
2522
+ reader.readMessage(value,platform_pagination_pb.PaginationProto.deserializeBinaryFromReader);
2523
+ msg.setPagination(value);
2524
+ break;
2525
+ case 2:
2526
+ var value = new proto.Auth.AppDistributionProto.QrHistory;
2527
+ reader.readMessage(value,proto.Auth.AppDistributionProto.QrHistory.deserializeBinaryFromReader);
2528
+ msg.addHistory(value);
2529
+ break;
2530
+ default:
2531
+ reader.skipField();
2532
+ break;
2533
+ }
2534
+ }
2535
+ return msg;
2536
+ };
2537
+
2538
+
2539
+ /**
2540
+ * Serializes the message to binary data (in protobuf wire format).
2541
+ * @return {!Uint8Array}
2542
+ */
2543
+ proto.Auth.AppDistributionProto.QrHistoryResponse.prototype.serializeBinary = function() {
2544
+ var writer = new jspb.BinaryWriter();
2545
+ proto.Auth.AppDistributionProto.QrHistoryResponse.serializeBinaryToWriter(this, writer);
2546
+ return writer.getResultBuffer();
2547
+ };
2548
+
2549
+
2550
+ /**
2551
+ * Serializes the given message to binary data (in protobuf wire
2552
+ * format), writing to the given BinaryWriter.
2553
+ * @param {!proto.Auth.AppDistributionProto.QrHistoryResponse} message
2554
+ * @param {!jspb.BinaryWriter} writer
2555
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2556
+ */
2557
+ proto.Auth.AppDistributionProto.QrHistoryResponse.serializeBinaryToWriter = function(message, writer) {
2558
+ var f = undefined;
2559
+ f = message.getPagination();
2560
+ if (f != null) {
2561
+ writer.writeMessage(
2562
+ 1,
2563
+ f,
2564
+ platform_pagination_pb.PaginationProto.serializeBinaryToWriter
2565
+ );
2566
+ }
2567
+ f = message.getHistoryList();
2568
+ if (f.length > 0) {
2569
+ writer.writeRepeatedMessage(
2570
+ 2,
2571
+ f,
2572
+ proto.Auth.AppDistributionProto.QrHistory.serializeBinaryToWriter
2573
+ );
2574
+ }
2575
+ };
2576
+
2577
+
2578
+ /**
2579
+ * optional Platform.PaginationProto pagination = 1;
2580
+ * @return {?proto.Platform.PaginationProto}
2581
+ */
2582
+ proto.Auth.AppDistributionProto.QrHistoryResponse.prototype.getPagination = function() {
2583
+ return /** @type{?proto.Platform.PaginationProto} */ (
2584
+ jspb.Message.getWrapperField(this, platform_pagination_pb.PaginationProto, 1));
2585
+ };
2586
+
2587
+
2588
+ /**
2589
+ * @param {?proto.Platform.PaginationProto|undefined} value
2590
+ * @return {!proto.Auth.AppDistributionProto.QrHistoryResponse} returns this
2591
+ */
2592
+ proto.Auth.AppDistributionProto.QrHistoryResponse.prototype.setPagination = function(value) {
2593
+ return jspb.Message.setWrapperField(this, 1, value);
2594
+ };
2595
+
2596
+
2597
+ /**
2598
+ * Clears the message field making it undefined.
2599
+ * @return {!proto.Auth.AppDistributionProto.QrHistoryResponse} returns this
2600
+ */
2601
+ proto.Auth.AppDistributionProto.QrHistoryResponse.prototype.clearPagination = function() {
2602
+ return this.setPagination(undefined);
2603
+ };
2604
+
2605
+
2606
+ /**
2607
+ * Returns whether this field is set.
2608
+ * @return {boolean}
2609
+ */
2610
+ proto.Auth.AppDistributionProto.QrHistoryResponse.prototype.hasPagination = function() {
2611
+ return jspb.Message.getField(this, 1) != null;
2612
+ };
2613
+
2614
+
2615
+ /**
2616
+ * repeated QrHistory history = 2;
2617
+ * @return {!Array<!proto.Auth.AppDistributionProto.QrHistory>}
2618
+ */
2619
+ proto.Auth.AppDistributionProto.QrHistoryResponse.prototype.getHistoryList = function() {
2620
+ return /** @type{!Array<!proto.Auth.AppDistributionProto.QrHistory>} */ (
2621
+ jspb.Message.getRepeatedWrapperField(this, proto.Auth.AppDistributionProto.QrHistory, 2));
2622
+ };
2623
+
2624
+
2625
+ /**
2626
+ * @param {!Array<!proto.Auth.AppDistributionProto.QrHistory>} value
2627
+ * @return {!proto.Auth.AppDistributionProto.QrHistoryResponse} returns this
2628
+ */
2629
+ proto.Auth.AppDistributionProto.QrHistoryResponse.prototype.setHistoryList = function(value) {
2630
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
2631
+ };
2632
+
2633
+
2634
+ /**
2635
+ * @param {!proto.Auth.AppDistributionProto.QrHistory=} opt_value
2636
+ * @param {number=} opt_index
2637
+ * @return {!proto.Auth.AppDistributionProto.QrHistory}
2638
+ */
2639
+ proto.Auth.AppDistributionProto.QrHistoryResponse.prototype.addHistory = function(opt_value, opt_index) {
2640
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.Auth.AppDistributionProto.QrHistory, opt_index);
2641
+ };
2642
+
2643
+
2644
+ /**
2645
+ * Clears the list making it empty but non-null.
2646
+ * @return {!proto.Auth.AppDistributionProto.QrHistoryResponse} returns this
2647
+ */
2648
+ proto.Auth.AppDistributionProto.QrHistoryResponse.prototype.clearHistoryList = function() {
2649
+ return this.setHistoryList([]);
2650
+ };
2651
+
2652
+
2653
+
2654
+
2655
+
2656
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2657
+ /**
2658
+ * Creates an object representation of this proto.
2659
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2660
+ * Optional fields that are not set will be set to undefined.
2661
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2662
+ * For the list of reserved names please see:
2663
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2664
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2665
+ * JSPB instance for transitional soy proto support:
2666
+ * http://goto/soy-param-migration
2667
+ * @return {!Object}
2668
+ */
2669
+ proto.Auth.AppDistributionProto.ActiveQr.prototype.toObject = function(opt_includeInstance) {
2670
+ return proto.Auth.AppDistributionProto.ActiveQr.toObject(opt_includeInstance, this);
2671
+ };
2672
+
2673
+
2674
+ /**
2675
+ * Static version of the {@see toObject} method.
2676
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2677
+ * the JSPB instance for transitional soy proto support:
2678
+ * http://goto/soy-param-migration
2679
+ * @param {!proto.Auth.AppDistributionProto.ActiveQr} msg The msg instance to transform.
2680
+ * @return {!Object}
2681
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2682
+ */
2683
+ proto.Auth.AppDistributionProto.ActiveQr.toObject = function(includeInstance, msg) {
2684
+ var f, obj = {
2685
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
2686
+ uid: jspb.Message.getFieldWithDefault(msg, 2, ""),
2687
+ qrCode: jspb.Message.getFieldWithDefault(msg, 3, "")
2688
+ };
2689
+
2690
+ if (includeInstance) {
2691
+ obj.$jspbMessageInstance = msg;
2692
+ }
2693
+ return obj;
2694
+ };
2695
+ }
2696
+
2697
+
2698
+ /**
2699
+ * Deserializes binary data (in protobuf wire format).
2700
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2701
+ * @return {!proto.Auth.AppDistributionProto.ActiveQr}
2702
+ */
2703
+ proto.Auth.AppDistributionProto.ActiveQr.deserializeBinary = function(bytes) {
2704
+ var reader = new jspb.BinaryReader(bytes);
2705
+ var msg = new proto.Auth.AppDistributionProto.ActiveQr;
2706
+ return proto.Auth.AppDistributionProto.ActiveQr.deserializeBinaryFromReader(msg, reader);
2707
+ };
2708
+
2709
+
2710
+ /**
2711
+ * Deserializes binary data (in protobuf wire format) from the
2712
+ * given reader into the given message object.
2713
+ * @param {!proto.Auth.AppDistributionProto.ActiveQr} msg The message object to deserialize into.
2714
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2715
+ * @return {!proto.Auth.AppDistributionProto.ActiveQr}
2716
+ */
2717
+ proto.Auth.AppDistributionProto.ActiveQr.deserializeBinaryFromReader = function(msg, reader) {
2718
+ while (reader.nextField()) {
2719
+ if (reader.isEndGroup()) {
2720
+ break;
2721
+ }
2722
+ var field = reader.getFieldNumber();
2723
+ switch (field) {
2724
+ case 1:
2725
+ var value = /** @type {number} */ (reader.readInt64());
2726
+ msg.setId(value);
2727
+ break;
2728
+ case 2:
2729
+ var value = /** @type {string} */ (reader.readString());
2730
+ msg.setUid(value);
2731
+ break;
2732
+ case 3:
2733
+ var value = /** @type {string} */ (reader.readString());
2734
+ msg.setQrCode(value);
2735
+ break;
2736
+ default:
2737
+ reader.skipField();
2738
+ break;
2739
+ }
2740
+ }
2741
+ return msg;
2742
+ };
2743
+
2744
+
2745
+ /**
2746
+ * Serializes the message to binary data (in protobuf wire format).
2747
+ * @return {!Uint8Array}
2748
+ */
2749
+ proto.Auth.AppDistributionProto.ActiveQr.prototype.serializeBinary = function() {
2750
+ var writer = new jspb.BinaryWriter();
2751
+ proto.Auth.AppDistributionProto.ActiveQr.serializeBinaryToWriter(this, writer);
2752
+ return writer.getResultBuffer();
2753
+ };
2754
+
2755
+
2756
+ /**
2757
+ * Serializes the given message to binary data (in protobuf wire
2758
+ * format), writing to the given BinaryWriter.
2759
+ * @param {!proto.Auth.AppDistributionProto.ActiveQr} message
2760
+ * @param {!jspb.BinaryWriter} writer
2761
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2762
+ */
2763
+ proto.Auth.AppDistributionProto.ActiveQr.serializeBinaryToWriter = function(message, writer) {
2764
+ var f = undefined;
2765
+ f = message.getId();
2766
+ if (f !== 0) {
2767
+ writer.writeInt64(
2768
+ 1,
2769
+ f
2770
+ );
2771
+ }
2772
+ f = message.getUid();
2773
+ if (f.length > 0) {
2774
+ writer.writeString(
2775
+ 2,
2776
+ f
2777
+ );
2778
+ }
2779
+ f = message.getQrCode();
2780
+ if (f.length > 0) {
2781
+ writer.writeString(
2782
+ 3,
2783
+ f
2784
+ );
2785
+ }
2786
+ };
2787
+
2788
+
2789
+ /**
2790
+ * optional int64 id = 1;
2791
+ * @return {number}
2792
+ */
2793
+ proto.Auth.AppDistributionProto.ActiveQr.prototype.getId = function() {
2794
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2795
+ };
2796
+
2797
+
2798
+ /**
2799
+ * @param {number} value
2800
+ * @return {!proto.Auth.AppDistributionProto.ActiveQr} returns this
2801
+ */
2802
+ proto.Auth.AppDistributionProto.ActiveQr.prototype.setId = function(value) {
2803
+ return jspb.Message.setProto3IntField(this, 1, value);
2804
+ };
2805
+
2806
+
2807
+ /**
2808
+ * optional string uid = 2;
2809
+ * @return {string}
2810
+ */
2811
+ proto.Auth.AppDistributionProto.ActiveQr.prototype.getUid = function() {
2812
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2813
+ };
2814
+
2815
+
2816
+ /**
2817
+ * @param {string} value
2818
+ * @return {!proto.Auth.AppDistributionProto.ActiveQr} returns this
2819
+ */
2820
+ proto.Auth.AppDistributionProto.ActiveQr.prototype.setUid = function(value) {
2821
+ return jspb.Message.setProto3StringField(this, 2, value);
2822
+ };
2823
+
2824
+
2825
+ /**
2826
+ * optional string qr_code = 3;
2827
+ * @return {string}
2828
+ */
2829
+ proto.Auth.AppDistributionProto.ActiveQr.prototype.getQrCode = function() {
2830
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2831
+ };
2832
+
2833
+
2834
+ /**
2835
+ * @param {string} value
2836
+ * @return {!proto.Auth.AppDistributionProto.ActiveQr} returns this
2837
+ */
2838
+ proto.Auth.AppDistributionProto.ActiveQr.prototype.setQrCode = function(value) {
2839
+ return jspb.Message.setProto3StringField(this, 3, value);
2840
+ };
2841
+
2842
+
2843
+
2844
+
2845
+
2846
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2847
+ /**
2848
+ * Creates an object representation of this proto.
2849
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2850
+ * Optional fields that are not set will be set to undefined.
2851
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2852
+ * For the list of reserved names please see:
2853
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2854
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2855
+ * JSPB instance for transitional soy proto support:
2856
+ * http://goto/soy-param-migration
2857
+ * @return {!Object}
2858
+ */
2859
+ proto.Auth.AppDistributionProto.ActiveQrRequest.prototype.toObject = function(opt_includeInstance) {
2860
+ return proto.Auth.AppDistributionProto.ActiveQrRequest.toObject(opt_includeInstance, this);
2861
+ };
2862
+
2863
+
2864
+ /**
2865
+ * Static version of the {@see toObject} method.
2866
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2867
+ * the JSPB instance for transitional soy proto support:
2868
+ * http://goto/soy-param-migration
2869
+ * @param {!proto.Auth.AppDistributionProto.ActiveQrRequest} msg The msg instance to transform.
2870
+ * @return {!Object}
2871
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2872
+ */
2873
+ proto.Auth.AppDistributionProto.ActiveQrRequest.toObject = function(includeInstance, msg) {
2874
+ var f, obj = {
2875
+ page: jspb.Message.getFieldWithDefault(msg, 1, 0),
2876
+ count: jspb.Message.getFieldWithDefault(msg, 3, 0)
2877
+ };
2878
+
2879
+ if (includeInstance) {
2880
+ obj.$jspbMessageInstance = msg;
2881
+ }
2882
+ return obj;
2883
+ };
2884
+ }
2885
+
2886
+
2887
+ /**
2888
+ * Deserializes binary data (in protobuf wire format).
2889
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2890
+ * @return {!proto.Auth.AppDistributionProto.ActiveQrRequest}
2891
+ */
2892
+ proto.Auth.AppDistributionProto.ActiveQrRequest.deserializeBinary = function(bytes) {
2893
+ var reader = new jspb.BinaryReader(bytes);
2894
+ var msg = new proto.Auth.AppDistributionProto.ActiveQrRequest;
2895
+ return proto.Auth.AppDistributionProto.ActiveQrRequest.deserializeBinaryFromReader(msg, reader);
2896
+ };
2897
+
2898
+
2899
+ /**
2900
+ * Deserializes binary data (in protobuf wire format) from the
2901
+ * given reader into the given message object.
2902
+ * @param {!proto.Auth.AppDistributionProto.ActiveQrRequest} msg The message object to deserialize into.
2903
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2904
+ * @return {!proto.Auth.AppDistributionProto.ActiveQrRequest}
2905
+ */
2906
+ proto.Auth.AppDistributionProto.ActiveQrRequest.deserializeBinaryFromReader = function(msg, reader) {
2907
+ while (reader.nextField()) {
2908
+ if (reader.isEndGroup()) {
2909
+ break;
2910
+ }
2911
+ var field = reader.getFieldNumber();
2912
+ switch (field) {
2913
+ case 1:
2914
+ var value = /** @type {number} */ (reader.readInt32());
2915
+ msg.setPage(value);
2916
+ break;
2917
+ case 3:
2918
+ var value = /** @type {number} */ (reader.readInt32());
2919
+ msg.setCount(value);
2920
+ break;
2921
+ default:
2922
+ reader.skipField();
2923
+ break;
2924
+ }
2925
+ }
2926
+ return msg;
2927
+ };
2928
+
2929
+
2930
+ /**
2931
+ * Serializes the message to binary data (in protobuf wire format).
2932
+ * @return {!Uint8Array}
2933
+ */
2934
+ proto.Auth.AppDistributionProto.ActiveQrRequest.prototype.serializeBinary = function() {
2935
+ var writer = new jspb.BinaryWriter();
2936
+ proto.Auth.AppDistributionProto.ActiveQrRequest.serializeBinaryToWriter(this, writer);
2937
+ return writer.getResultBuffer();
2938
+ };
2939
+
2940
+
2941
+ /**
2942
+ * Serializes the given message to binary data (in protobuf wire
2943
+ * format), writing to the given BinaryWriter.
2944
+ * @param {!proto.Auth.AppDistributionProto.ActiveQrRequest} message
2945
+ * @param {!jspb.BinaryWriter} writer
2946
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2947
+ */
2948
+ proto.Auth.AppDistributionProto.ActiveQrRequest.serializeBinaryToWriter = function(message, writer) {
2949
+ var f = undefined;
2950
+ f = message.getPage();
2951
+ if (f !== 0) {
2952
+ writer.writeInt32(
2953
+ 1,
2954
+ f
2955
+ );
2956
+ }
2957
+ f = message.getCount();
2958
+ if (f !== 0) {
2959
+ writer.writeInt32(
2960
+ 3,
2961
+ f
2962
+ );
2963
+ }
2964
+ };
2965
+
2966
+
2967
+ /**
2968
+ * optional int32 page = 1;
2969
+ * @return {number}
2970
+ */
2971
+ proto.Auth.AppDistributionProto.ActiveQrRequest.prototype.getPage = function() {
2972
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2973
+ };
2974
+
2975
+
2976
+ /**
2977
+ * @param {number} value
2978
+ * @return {!proto.Auth.AppDistributionProto.ActiveQrRequest} returns this
2979
+ */
2980
+ proto.Auth.AppDistributionProto.ActiveQrRequest.prototype.setPage = function(value) {
2981
+ return jspb.Message.setProto3IntField(this, 1, value);
2982
+ };
2983
+
2984
+
2985
+ /**
2986
+ * optional int32 count = 3;
2987
+ * @return {number}
2988
+ */
2989
+ proto.Auth.AppDistributionProto.ActiveQrRequest.prototype.getCount = function() {
2990
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
2991
+ };
2992
+
2993
+
2994
+ /**
2995
+ * @param {number} value
2996
+ * @return {!proto.Auth.AppDistributionProto.ActiveQrRequest} returns this
2997
+ */
2998
+ proto.Auth.AppDistributionProto.ActiveQrRequest.prototype.setCount = function(value) {
2999
+ return jspb.Message.setProto3IntField(this, 3, value);
3000
+ };
3001
+
3002
+
3003
+
3004
+ /**
3005
+ * List of repeated fields within this message type.
3006
+ * @private {!Array<number>}
3007
+ * @const
3008
+ */
3009
+ proto.Auth.AppDistributionProto.ActiveQrResponse.repeatedFields_ = [2];
3010
+
3011
+
3012
+
3013
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3014
+ /**
3015
+ * Creates an object representation of this proto.
3016
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3017
+ * Optional fields that are not set will be set to undefined.
3018
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3019
+ * For the list of reserved names please see:
3020
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3021
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3022
+ * JSPB instance for transitional soy proto support:
3023
+ * http://goto/soy-param-migration
3024
+ * @return {!Object}
3025
+ */
3026
+ proto.Auth.AppDistributionProto.ActiveQrResponse.prototype.toObject = function(opt_includeInstance) {
3027
+ return proto.Auth.AppDistributionProto.ActiveQrResponse.toObject(opt_includeInstance, this);
3028
+ };
3029
+
3030
+
3031
+ /**
3032
+ * Static version of the {@see toObject} method.
3033
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3034
+ * the JSPB instance for transitional soy proto support:
3035
+ * http://goto/soy-param-migration
3036
+ * @param {!proto.Auth.AppDistributionProto.ActiveQrResponse} msg The msg instance to transform.
3037
+ * @return {!Object}
3038
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3039
+ */
3040
+ proto.Auth.AppDistributionProto.ActiveQrResponse.toObject = function(includeInstance, msg) {
3041
+ var f, obj = {
3042
+ pagination: (f = msg.getPagination()) && platform_pagination_pb.PaginationProto.toObject(includeInstance, f),
3043
+ activeqrsList: jspb.Message.toObjectList(msg.getActiveqrsList(),
3044
+ proto.Auth.AppDistributionProto.ActiveQr.toObject, includeInstance)
3045
+ };
3046
+
3047
+ if (includeInstance) {
3048
+ obj.$jspbMessageInstance = msg;
3049
+ }
3050
+ return obj;
3051
+ };
3052
+ }
3053
+
3054
+
3055
+ /**
3056
+ * Deserializes binary data (in protobuf wire format).
3057
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3058
+ * @return {!proto.Auth.AppDistributionProto.ActiveQrResponse}
3059
+ */
3060
+ proto.Auth.AppDistributionProto.ActiveQrResponse.deserializeBinary = function(bytes) {
3061
+ var reader = new jspb.BinaryReader(bytes);
3062
+ var msg = new proto.Auth.AppDistributionProto.ActiveQrResponse;
3063
+ return proto.Auth.AppDistributionProto.ActiveQrResponse.deserializeBinaryFromReader(msg, reader);
3064
+ };
3065
+
3066
+
3067
+ /**
3068
+ * Deserializes binary data (in protobuf wire format) from the
3069
+ * given reader into the given message object.
3070
+ * @param {!proto.Auth.AppDistributionProto.ActiveQrResponse} msg The message object to deserialize into.
3071
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3072
+ * @return {!proto.Auth.AppDistributionProto.ActiveQrResponse}
3073
+ */
3074
+ proto.Auth.AppDistributionProto.ActiveQrResponse.deserializeBinaryFromReader = function(msg, reader) {
3075
+ while (reader.nextField()) {
3076
+ if (reader.isEndGroup()) {
3077
+ break;
3078
+ }
3079
+ var field = reader.getFieldNumber();
3080
+ switch (field) {
3081
+ case 1:
3082
+ var value = new platform_pagination_pb.PaginationProto;
3083
+ reader.readMessage(value,platform_pagination_pb.PaginationProto.deserializeBinaryFromReader);
3084
+ msg.setPagination(value);
3085
+ break;
3086
+ case 2:
3087
+ var value = new proto.Auth.AppDistributionProto.ActiveQr;
3088
+ reader.readMessage(value,proto.Auth.AppDistributionProto.ActiveQr.deserializeBinaryFromReader);
3089
+ msg.addActiveqrs(value);
3090
+ break;
3091
+ default:
3092
+ reader.skipField();
3093
+ break;
3094
+ }
3095
+ }
3096
+ return msg;
3097
+ };
3098
+
3099
+
3100
+ /**
3101
+ * Serializes the message to binary data (in protobuf wire format).
3102
+ * @return {!Uint8Array}
3103
+ */
3104
+ proto.Auth.AppDistributionProto.ActiveQrResponse.prototype.serializeBinary = function() {
3105
+ var writer = new jspb.BinaryWriter();
3106
+ proto.Auth.AppDistributionProto.ActiveQrResponse.serializeBinaryToWriter(this, writer);
3107
+ return writer.getResultBuffer();
3108
+ };
3109
+
3110
+
3111
+ /**
3112
+ * Serializes the given message to binary data (in protobuf wire
3113
+ * format), writing to the given BinaryWriter.
3114
+ * @param {!proto.Auth.AppDistributionProto.ActiveQrResponse} message
3115
+ * @param {!jspb.BinaryWriter} writer
3116
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3117
+ */
3118
+ proto.Auth.AppDistributionProto.ActiveQrResponse.serializeBinaryToWriter = function(message, writer) {
3119
+ var f = undefined;
3120
+ f = message.getPagination();
3121
+ if (f != null) {
3122
+ writer.writeMessage(
3123
+ 1,
3124
+ f,
3125
+ platform_pagination_pb.PaginationProto.serializeBinaryToWriter
3126
+ );
3127
+ }
3128
+ f = message.getActiveqrsList();
3129
+ if (f.length > 0) {
3130
+ writer.writeRepeatedMessage(
3131
+ 2,
3132
+ f,
3133
+ proto.Auth.AppDistributionProto.ActiveQr.serializeBinaryToWriter
3134
+ );
3135
+ }
3136
+ };
3137
+
3138
+
3139
+ /**
3140
+ * optional Platform.PaginationProto pagination = 1;
3141
+ * @return {?proto.Platform.PaginationProto}
3142
+ */
3143
+ proto.Auth.AppDistributionProto.ActiveQrResponse.prototype.getPagination = function() {
3144
+ return /** @type{?proto.Platform.PaginationProto} */ (
3145
+ jspb.Message.getWrapperField(this, platform_pagination_pb.PaginationProto, 1));
3146
+ };
3147
+
3148
+
3149
+ /**
3150
+ * @param {?proto.Platform.PaginationProto|undefined} value
3151
+ * @return {!proto.Auth.AppDistributionProto.ActiveQrResponse} returns this
3152
+ */
3153
+ proto.Auth.AppDistributionProto.ActiveQrResponse.prototype.setPagination = function(value) {
3154
+ return jspb.Message.setWrapperField(this, 1, value);
3155
+ };
3156
+
3157
+
3158
+ /**
3159
+ * Clears the message field making it undefined.
3160
+ * @return {!proto.Auth.AppDistributionProto.ActiveQrResponse} returns this
3161
+ */
3162
+ proto.Auth.AppDistributionProto.ActiveQrResponse.prototype.clearPagination = function() {
3163
+ return this.setPagination(undefined);
3164
+ };
3165
+
3166
+
3167
+ /**
3168
+ * Returns whether this field is set.
3169
+ * @return {boolean}
3170
+ */
3171
+ proto.Auth.AppDistributionProto.ActiveQrResponse.prototype.hasPagination = function() {
3172
+ return jspb.Message.getField(this, 1) != null;
3173
+ };
3174
+
3175
+
3176
+ /**
3177
+ * repeated ActiveQr activeQrs = 2;
3178
+ * @return {!Array<!proto.Auth.AppDistributionProto.ActiveQr>}
3179
+ */
3180
+ proto.Auth.AppDistributionProto.ActiveQrResponse.prototype.getActiveqrsList = function() {
3181
+ return /** @type{!Array<!proto.Auth.AppDistributionProto.ActiveQr>} */ (
3182
+ jspb.Message.getRepeatedWrapperField(this, proto.Auth.AppDistributionProto.ActiveQr, 2));
3183
+ };
3184
+
3185
+
3186
+ /**
3187
+ * @param {!Array<!proto.Auth.AppDistributionProto.ActiveQr>} value
3188
+ * @return {!proto.Auth.AppDistributionProto.ActiveQrResponse} returns this
3189
+ */
3190
+ proto.Auth.AppDistributionProto.ActiveQrResponse.prototype.setActiveqrsList = function(value) {
3191
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
3192
+ };
3193
+
3194
+
3195
+ /**
3196
+ * @param {!proto.Auth.AppDistributionProto.ActiveQr=} opt_value
3197
+ * @param {number=} opt_index
3198
+ * @return {!proto.Auth.AppDistributionProto.ActiveQr}
3199
+ */
3200
+ proto.Auth.AppDistributionProto.ActiveQrResponse.prototype.addActiveqrs = function(opt_value, opt_index) {
3201
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.Auth.AppDistributionProto.ActiveQr, opt_index);
3202
+ };
3203
+
3204
+
3205
+ /**
3206
+ * Clears the list making it empty but non-null.
3207
+ * @return {!proto.Auth.AppDistributionProto.ActiveQrResponse} returns this
3208
+ */
3209
+ proto.Auth.AppDistributionProto.ActiveQrResponse.prototype.clearActiveqrsList = function() {
3210
+ return this.setActiveqrsList([]);
3211
+ };
3212
+
3213
+
3214
+ goog.object.extend(exports, proto.Auth);