@aceplus/smartace-api 2.1.0-drumtracker.7 → 2.1.0-drumtracker.9

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 (217) hide show
  1. package/package.json +1 -1
  2. package/auth.account_events_pb.d.ts +0 -5
  3. package/auth.account_events_pb.js +0 -23
  4. package/auth.account_events_pb_service.d.ts +0 -3
  5. package/auth.account_events_pb_service.js +0 -3
  6. package/auth.account_pb.d.ts +0 -525
  7. package/auth.account_pb.js +0 -3983
  8. package/auth.account_pb_service.d.ts +0 -454
  9. package/auth.account_pb_service.js +0 -877
  10. package/auth.app_account_pb.d.ts +0 -156
  11. package/auth.app_account_pb.js +0 -1153
  12. package/auth.app_account_pb_service.d.ts +0 -160
  13. package/auth.app_account_pb_service.js +0 -263
  14. package/auth.app_authn_pb.d.ts +0 -172
  15. package/auth.app_authn_pb.js +0 -1233
  16. package/auth.app_authn_pb_service.d.ts +0 -140
  17. package/auth.app_authn_pb_service.js +0 -222
  18. package/auth.app_distribution_pb.d.ts +0 -174
  19. package/auth.app_distribution_pb.js +0 -1338
  20. package/auth.app_distribution_pb_service.d.ts +0 -120
  21. package/auth.app_distribution_pb_service.js +0 -181
  22. package/auth.authn_pb.d.ts +0 -85
  23. package/auth.authn_pb.js +0 -625
  24. package/auth.authn_pb_service.d.ts +0 -82
  25. package/auth.authn_pb_service.js +0 -101
  26. package/auth.cluster_pb.d.ts +0 -258
  27. package/auth.cluster_pb.js +0 -1929
  28. package/auth.cluster_pb_service.d.ts +0 -139
  29. package/auth.cluster_pb_service.js +0 -221
  30. package/auth.distribution_pb.d.ts +0 -233
  31. package/auth.distribution_pb.js +0 -1785
  32. package/auth.distribution_pb_service.d.ts +0 -82
  33. package/auth.distribution_pb_service.js +0 -101
  34. package/auth.email_pb.d.ts +0 -277
  35. package/auth.email_pb.js +0 -1960
  36. package/auth.email_pb_service.d.ts +0 -121
  37. package/auth.email_pb_service.js +0 -182
  38. package/auth.push_notification_pb.d.ts +0 -187
  39. package/auth.push_notification_pb.js +0 -1289
  40. package/auth.push_notification_pb_service.d.ts +0 -121
  41. package/auth.push_notification_pb_service.js +0 -182
  42. package/auth.sms_pb.d.ts +0 -79
  43. package/auth.sms_pb.js +0 -575
  44. package/auth.sms_pb_service.d.ts +0 -83
  45. package/auth.sms_pb_service.js +0 -102
  46. package/drumtracker.drum_pb.d.ts +0 -499
  47. package/drumtracker.drum_pb.js +0 -3785
  48. package/drumtracker.drum_pb_service.d.ts +0 -158
  49. package/drumtracker.drum_pb_service.js +0 -261
  50. package/drumtracker.tracker_pb.d.ts +0 -244
  51. package/drumtracker.tracker_pb.js +0 -1864
  52. package/drumtracker.tracker_pb_service.d.ts +0 -139
  53. package/drumtracker.tracker_pb_service.js +0 -221
  54. package/google/api/annotations_pb.d.ts +0 -9
  55. package/google/api/annotations_pb.js +0 -54
  56. package/google/api/annotations_pb_service.d.ts +0 -3
  57. package/google/api/annotations_pb_service.js +0 -3
  58. package/google/api/auth_pb.d.ts +0 -150
  59. package/google/api/auth_pb.js +0 -1160
  60. package/google/api/auth_pb_service.d.ts +0 -3
  61. package/google/api/auth_pb_service.js +0 -3
  62. package/google/api/backend_pb.d.ts +0 -59
  63. package/google/api/backend_pb.js +0 -448
  64. package/google/api/backend_pb_service.d.ts +0 -3
  65. package/google/api/backend_pb_service.js +0 -3
  66. package/google/api/billing_pb.d.ts +0 -54
  67. package/google/api/billing_pb.js +0 -416
  68. package/google/api/billing_pb_service.d.ts +0 -3
  69. package/google/api/billing_pb_service.js +0 -3
  70. package/google/api/client_pb.d.ts +0 -12
  71. package/google/api/client_pb.js +0 -104
  72. package/google/api/client_pb_service.d.ts +0 -3
  73. package/google/api/client_pb_service.js +0 -3
  74. package/google/api/config_change_pb.d.ts +0 -72
  75. package/google/api/config_change_pb.js +0 -489
  76. package/google/api/config_change_pb_service.d.ts +0 -3
  77. package/google/api/config_change_pb_service.js +0 -3
  78. package/google/api/consumer_pb.d.ts +0 -65
  79. package/google/api/consumer_pb.js +0 -430
  80. package/google/api/consumer_pb_service.d.ts +0 -3
  81. package/google/api/consumer_pb_service.js +0 -3
  82. package/google/api/context_pb.d.ts +0 -59
  83. package/google/api/context_pb.js +0 -463
  84. package/google/api/context_pb_service.d.ts +0 -3
  85. package/google/api/context_pb_service.js +0 -3
  86. package/google/api/control_pb.d.ts +0 -25
  87. package/google/api/control_pb.js +0 -176
  88. package/google/api/control_pb_service.d.ts +0 -3
  89. package/google/api/control_pb_service.js +0 -3
  90. package/google/api/distribution_pb.d.ts +0 -235
  91. package/google/api/distribution_pb.js +0 -1805
  92. package/google/api/distribution_pb_service.d.ts +0 -3
  93. package/google/api/distribution_pb_service.js +0 -3
  94. package/google/api/documentation_pb.d.ts +0 -103
  95. package/google/api/documentation_pb.js +0 -803
  96. package/google/api/documentation_pb_service.d.ts +0 -3
  97. package/google/api/documentation_pb_service.js +0 -3
  98. package/google/api/endpoint_pb.d.ts +0 -46
  99. package/google/api/endpoint_pb.js +0 -343
  100. package/google/api/endpoint_pb_service.d.ts +0 -3
  101. package/google/api/endpoint_pb_service.js +0 -3
  102. package/google/api/error_reason_pb.d.ts +0 -40
  103. package/google/api/error_reason_pb.js +0 -61
  104. package/google/api/error_reason_pb_service.d.ts +0 -3
  105. package/google/api/error_reason_pb_service.js +0 -3
  106. package/google/api/field_behavior_pb.d.ts +0 -20
  107. package/google/api/field_behavior_pb.js +0 -66
  108. package/google/api/field_behavior_pb_service.d.ts +0 -3
  109. package/google/api/field_behavior_pb_service.js +0 -3
  110. package/google/api/http_pb.d.ts +0 -136
  111. package/google/api/http_pb.js +0 -1012
  112. package/google/api/http_pb_service.d.ts +0 -3
  113. package/google/api/http_pb_service.js +0 -3
  114. package/google/api/httpbody_pb.d.ts +0 -38
  115. package/google/api/httpbody_pb.js +0 -292
  116. package/google/api/httpbody_pb_service.d.ts +0 -3
  117. package/google/api/httpbody_pb_service.js +0 -3
  118. package/google/api/label_pb.d.ts +0 -41
  119. package/google/api/label_pb.js +0 -246
  120. package/google/api/label_pb_service.d.ts +0 -3
  121. package/google/api/label_pb_service.js +0 -3
  122. package/google/api/launch_stage_pb.d.ts +0 -16
  123. package/google/api/launch_stage_pb.js +0 -37
  124. package/google/api/launch_stage_pb_service.d.ts +0 -3
  125. package/google/api/launch_stage_pb_service.js +0 -3
  126. package/google/api/log_pb.d.ts +0 -40
  127. package/google/api/log_pb.js +0 -298
  128. package/google/api/log_pb_service.d.ts +0 -3
  129. package/google/api/log_pb_service.js +0 -3
  130. package/google/api/logging_pb.d.ts +0 -60
  131. package/google/api/logging_pb.js +0 -469
  132. package/google/api/logging_pb_service.d.ts +0 -3
  133. package/google/api/logging_pb_service.js +0 -3
  134. package/google/api/metric_pb.d.ts +0 -100
  135. package/google/api/metric_pb.js +0 -629
  136. package/google/api/metric_pb_service.d.ts +0 -3
  137. package/google/api/metric_pb_service.js +0 -3
  138. package/google/api/monitored_resource_pb.d.ts +0 -93
  139. package/google/api/monitored_resource_pb.js +0 -723
  140. package/google/api/monitored_resource_pb_service.d.ts +0 -3
  141. package/google/api/monitored_resource_pb_service.js +0 -3
  142. package/google/api/monitoring_pb.d.ts +0 -60
  143. package/google/api/monitoring_pb.js +0 -469
  144. package/google/api/monitoring_pb_service.d.ts +0 -3
  145. package/google/api/monitoring_pb_service.js +0 -3
  146. package/google/api/policy_pb.d.ts +0 -64
  147. package/google/api/policy_pb.js +0 -502
  148. package/google/api/policy_pb_service.d.ts +0 -3
  149. package/google/api/policy_pb_service.js +0 -3
  150. package/google/api/quota_pb.d.ts +0 -112
  151. package/google/api/quota_pb.js +0 -873
  152. package/google/api/quota_pb_service.d.ts +0 -3
  153. package/google/api/quota_pb_service.js +0 -3
  154. package/google/api/resource_pb.d.ts +0 -99
  155. package/google/api/resource_pb.js +0 -684
  156. package/google/api/resource_pb_service.d.ts +0 -3
  157. package/google/api/resource_pb_service.js +0 -3
  158. package/google/api/routing_pb.d.ts +0 -54
  159. package/google/api/routing_pb.js +0 -416
  160. package/google/api/routing_pb_service.d.ts +0 -3
  161. package/google/api/routing_pb_service.js +0 -3
  162. package/google/api/service_pb.d.ts +0 -184
  163. package/google/api/service_pb.js +0 -1400
  164. package/google/api/service_pb_service.d.ts +0 -3
  165. package/google/api/service_pb_service.js +0 -3
  166. package/google/api/source_info_pb.d.ts +0 -28
  167. package/google/api/source_info_pb.js +0 -208
  168. package/google/api/source_info_pb_service.d.ts +0 -3
  169. package/google/api/source_info_pb_service.js +0 -3
  170. package/google/api/system_parameter_pb.d.ts +0 -81
  171. package/google/api/system_parameter_pb.js +0 -630
  172. package/google/api/system_parameter_pb_service.d.ts +0 -3
  173. package/google/api/system_parameter_pb_service.js +0 -3
  174. package/google/api/usage_pb.d.ts +0 -66
  175. package/google/api/usage_pb.js +0 -499
  176. package/google/api/usage_pb_service.d.ts +0 -3
  177. package/google/api/usage_pb_service.js +0 -3
  178. package/google/api/visibility_pb.d.ts +0 -64
  179. package/google/api/visibility_pb.js +0 -546
  180. package/google/api/visibility_pb_service.d.ts +0 -3
  181. package/google/api/visibility_pb_service.js +0 -3
  182. package/platform.activity_log_pb.d.ts +0 -177
  183. package/platform.activity_log_pb.js +0 -1294
  184. package/platform.activity_log_pb_service.d.ts +0 -82
  185. package/platform.activity_log_pb_service.js +0 -101
  186. package/platform.client_pb.d.ts +0 -316
  187. package/platform.client_pb.js +0 -2399
  188. package/platform.client_pb_service.d.ts +0 -158
  189. package/platform.client_pb_service.js +0 -261
  190. package/platform.group_pb.d.ts +0 -195
  191. package/platform.group_pb.js +0 -1476
  192. package/platform.group_pb_service.d.ts +0 -139
  193. package/platform.group_pb_service.js +0 -221
  194. package/platform.local_account_pb.d.ts +0 -392
  195. package/platform.local_account_pb.js +0 -2962
  196. package/platform.local_account_pb_service.d.ts +0 -350
  197. package/platform.local_account_pb_service.js +0 -663
  198. package/platform.local_distribution_pb.d.ts +0 -69
  199. package/platform.local_distribution_pb.js +0 -506
  200. package/platform.local_distribution_pb_service.d.ts +0 -63
  201. package/platform.local_distribution_pb_service.js +0 -61
  202. package/platform.location_pb.d.ts +0 -271
  203. package/platform.location_pb.js +0 -2046
  204. package/platform.location_pb_service.d.ts +0 -139
  205. package/platform.location_pb_service.js +0 -221
  206. package/platform.pagination_pb.d.ts +0 -37
  207. package/platform.pagination_pb.js +0 -266
  208. package/platform.pagination_pb_service.d.ts +0 -3
  209. package/platform.pagination_pb_service.js +0 -3
  210. package/spic.cabinet_pb.d.ts +0 -1304
  211. package/spic.cabinet_pb.js +0 -9727
  212. package/spic.cabinet_pb_service.d.ts +0 -359
  213. package/spic.cabinet_pb_service.js +0 -677
  214. package/spic.contractor_pb.d.ts +0 -195
  215. package/spic.contractor_pb.js +0 -1476
  216. package/spic.contractor_pb_service.d.ts +0 -139
  217. package/spic.contractor_pb_service.js +0 -221
@@ -1,3983 +0,0 @@
1
- // source: auth.account.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 auth_push_notification_pb = require('./auth.push_notification_pb.js');
25
- goog.object.extend(proto, auth_push_notification_pb);
26
- var google_api_annotations_pb = require('./google/api/annotations_pb.js');
27
- goog.object.extend(proto, google_api_annotations_pb);
28
- var platform_pagination_pb = require('./platform.pagination_pb.js');
29
- goog.object.extend(proto, platform_pagination_pb);
30
- var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
31
- goog.object.extend(proto, google_protobuf_empty_pb);
32
- goog.exportSymbol('proto.Auth.AccountProto', null, global);
33
- goog.exportSymbol('proto.Auth.AccountProto.AccountClusterRoleRequest', null, global);
34
- goog.exportSymbol('proto.Auth.AccountProto.ActivateAccountRequest', null, global);
35
- goog.exportSymbol('proto.Auth.AccountProto.ChangePasswordReply', null, global);
36
- goog.exportSymbol('proto.Auth.AccountProto.ChangePasswordRequest', null, global);
37
- goog.exportSymbol('proto.Auth.AccountProto.CreateAdminRequest', null, global);
38
- goog.exportSymbol('proto.Auth.AccountProto.CreateAppRequest', null, global);
39
- goog.exportSymbol('proto.Auth.AccountProto.DeleteReply', null, global);
40
- goog.exportSymbol('proto.Auth.AccountProto.DeleteRequest', null, global);
41
- goog.exportSymbol('proto.Auth.AccountProto.ForgotPasswordRequest', null, global);
42
- goog.exportSymbol('proto.Auth.AccountProto.RetrievePushInfoReply', null, global);
43
- goog.exportSymbol('proto.Auth.AccountProto.RetrievePushInfoRequest', null, global);
44
- goog.exportSymbol('proto.Auth.AccountProto.RetrieveRequest', null, global);
45
- goog.exportSymbol('proto.Auth.AccountProto.Scope', null, global);
46
- goog.exportSymbol('proto.Auth.AccountProto.SearchReply', null, global);
47
- goog.exportSymbol('proto.Auth.AccountProto.SearchRequest', null, global);
48
- goog.exportSymbol('proto.Auth.AccountProto.SetAccountScopeReply', null, global);
49
- goog.exportSymbol('proto.Auth.AccountProto.SetAccountScopeRequest', null, global);
50
- goog.exportSymbol('proto.Auth.AccountProto.UpdateRequest', 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.AccountProto = function(opt_data) {
62
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
63
- };
64
- goog.inherits(proto.Auth.AccountProto, jspb.Message);
65
- if (goog.DEBUG && !COMPILED) {
66
- /**
67
- * @public
68
- * @override
69
- */
70
- proto.Auth.AccountProto.displayName = 'proto.Auth.AccountProto';
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.AccountProto.CreateAdminRequest = function(opt_data) {
83
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
84
- };
85
- goog.inherits(proto.Auth.AccountProto.CreateAdminRequest, jspb.Message);
86
- if (goog.DEBUG && !COMPILED) {
87
- /**
88
- * @public
89
- * @override
90
- */
91
- proto.Auth.AccountProto.CreateAdminRequest.displayName = 'proto.Auth.AccountProto.CreateAdminRequest';
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.AccountProto.CreateAppRequest = function(opt_data) {
104
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
105
- };
106
- goog.inherits(proto.Auth.AccountProto.CreateAppRequest, jspb.Message);
107
- if (goog.DEBUG && !COMPILED) {
108
- /**
109
- * @public
110
- * @override
111
- */
112
- proto.Auth.AccountProto.CreateAppRequest.displayName = 'proto.Auth.AccountProto.CreateAppRequest';
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.AccountProto.RetrieveRequest = function(opt_data) {
125
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
126
- };
127
- goog.inherits(proto.Auth.AccountProto.RetrieveRequest, jspb.Message);
128
- if (goog.DEBUG && !COMPILED) {
129
- /**
130
- * @public
131
- * @override
132
- */
133
- proto.Auth.AccountProto.RetrieveRequest.displayName = 'proto.Auth.AccountProto.RetrieveRequest';
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.AccountProto.SearchReply = function(opt_data) {
146
- jspb.Message.initialize(this, opt_data, 0, -1, proto.Auth.AccountProto.SearchReply.repeatedFields_, null);
147
- };
148
- goog.inherits(proto.Auth.AccountProto.SearchReply, jspb.Message);
149
- if (goog.DEBUG && !COMPILED) {
150
- /**
151
- * @public
152
- * @override
153
- */
154
- proto.Auth.AccountProto.SearchReply.displayName = 'proto.Auth.AccountProto.SearchReply';
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.AccountProto.SearchRequest = function(opt_data) {
167
- jspb.Message.initialize(this, opt_data, 0, -1, proto.Auth.AccountProto.SearchRequest.repeatedFields_, null);
168
- };
169
- goog.inherits(proto.Auth.AccountProto.SearchRequest, jspb.Message);
170
- if (goog.DEBUG && !COMPILED) {
171
- /**
172
- * @public
173
- * @override
174
- */
175
- proto.Auth.AccountProto.SearchRequest.displayName = 'proto.Auth.AccountProto.SearchRequest';
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.AccountProto.UpdateRequest = function(opt_data) {
188
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
189
- };
190
- goog.inherits(proto.Auth.AccountProto.UpdateRequest, jspb.Message);
191
- if (goog.DEBUG && !COMPILED) {
192
- /**
193
- * @public
194
- * @override
195
- */
196
- proto.Auth.AccountProto.UpdateRequest.displayName = 'proto.Auth.AccountProto.UpdateRequest';
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.AccountProto.ActivateAccountRequest = function(opt_data) {
209
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
210
- };
211
- goog.inherits(proto.Auth.AccountProto.ActivateAccountRequest, jspb.Message);
212
- if (goog.DEBUG && !COMPILED) {
213
- /**
214
- * @public
215
- * @override
216
- */
217
- proto.Auth.AccountProto.ActivateAccountRequest.displayName = 'proto.Auth.AccountProto.ActivateAccountRequest';
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.AccountProto.ForgotPasswordRequest = function(opt_data) {
230
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
231
- };
232
- goog.inherits(proto.Auth.AccountProto.ForgotPasswordRequest, jspb.Message);
233
- if (goog.DEBUG && !COMPILED) {
234
- /**
235
- * @public
236
- * @override
237
- */
238
- proto.Auth.AccountProto.ForgotPasswordRequest.displayName = 'proto.Auth.AccountProto.ForgotPasswordRequest';
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.AccountProto.ChangePasswordRequest = function(opt_data) {
251
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
252
- };
253
- goog.inherits(proto.Auth.AccountProto.ChangePasswordRequest, jspb.Message);
254
- if (goog.DEBUG && !COMPILED) {
255
- /**
256
- * @public
257
- * @override
258
- */
259
- proto.Auth.AccountProto.ChangePasswordRequest.displayName = 'proto.Auth.AccountProto.ChangePasswordRequest';
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.AccountProto.ChangePasswordReply = function(opt_data) {
272
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
273
- };
274
- goog.inherits(proto.Auth.AccountProto.ChangePasswordReply, jspb.Message);
275
- if (goog.DEBUG && !COMPILED) {
276
- /**
277
- * @public
278
- * @override
279
- */
280
- proto.Auth.AccountProto.ChangePasswordReply.displayName = 'proto.Auth.AccountProto.ChangePasswordReply';
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.AccountProto.DeleteRequest = function(opt_data) {
293
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
294
- };
295
- goog.inherits(proto.Auth.AccountProto.DeleteRequest, jspb.Message);
296
- if (goog.DEBUG && !COMPILED) {
297
- /**
298
- * @public
299
- * @override
300
- */
301
- proto.Auth.AccountProto.DeleteRequest.displayName = 'proto.Auth.AccountProto.DeleteRequest';
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.AccountProto.DeleteReply = function(opt_data) {
314
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
315
- };
316
- goog.inherits(proto.Auth.AccountProto.DeleteReply, jspb.Message);
317
- if (goog.DEBUG && !COMPILED) {
318
- /**
319
- * @public
320
- * @override
321
- */
322
- proto.Auth.AccountProto.DeleteReply.displayName = 'proto.Auth.AccountProto.DeleteReply';
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.AccountProto.Scope = function(opt_data) {
335
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
336
- };
337
- goog.inherits(proto.Auth.AccountProto.Scope, jspb.Message);
338
- if (goog.DEBUG && !COMPILED) {
339
- /**
340
- * @public
341
- * @override
342
- */
343
- proto.Auth.AccountProto.Scope.displayName = 'proto.Auth.AccountProto.Scope';
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.AccountProto.SetAccountScopeRequest = function(opt_data) {
356
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
357
- };
358
- goog.inherits(proto.Auth.AccountProto.SetAccountScopeRequest, jspb.Message);
359
- if (goog.DEBUG && !COMPILED) {
360
- /**
361
- * @public
362
- * @override
363
- */
364
- proto.Auth.AccountProto.SetAccountScopeRequest.displayName = 'proto.Auth.AccountProto.SetAccountScopeRequest';
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.AccountProto.SetAccountScopeReply = function(opt_data) {
377
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
378
- };
379
- goog.inherits(proto.Auth.AccountProto.SetAccountScopeReply, jspb.Message);
380
- if (goog.DEBUG && !COMPILED) {
381
- /**
382
- * @public
383
- * @override
384
- */
385
- proto.Auth.AccountProto.SetAccountScopeReply.displayName = 'proto.Auth.AccountProto.SetAccountScopeReply';
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.AccountProto.RetrievePushInfoRequest = function(opt_data) {
398
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
399
- };
400
- goog.inherits(proto.Auth.AccountProto.RetrievePushInfoRequest, jspb.Message);
401
- if (goog.DEBUG && !COMPILED) {
402
- /**
403
- * @public
404
- * @override
405
- */
406
- proto.Auth.AccountProto.RetrievePushInfoRequest.displayName = 'proto.Auth.AccountProto.RetrievePushInfoRequest';
407
- }
408
- /**
409
- * Generated by JsPbCodeGenerator.
410
- * @param {Array=} opt_data Optional initial data array, typically from a
411
- * server response, or constructed directly in Javascript. The array is used
412
- * in place and becomes part of the constructed object. It is not cloned.
413
- * If no data is provided, the constructed object will be empty, but still
414
- * valid.
415
- * @extends {jspb.Message}
416
- * @constructor
417
- */
418
- proto.Auth.AccountProto.RetrievePushInfoReply = function(opt_data) {
419
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
420
- };
421
- goog.inherits(proto.Auth.AccountProto.RetrievePushInfoReply, jspb.Message);
422
- if (goog.DEBUG && !COMPILED) {
423
- /**
424
- * @public
425
- * @override
426
- */
427
- proto.Auth.AccountProto.RetrievePushInfoReply.displayName = 'proto.Auth.AccountProto.RetrievePushInfoReply';
428
- }
429
- /**
430
- * Generated by JsPbCodeGenerator.
431
- * @param {Array=} opt_data Optional initial data array, typically from a
432
- * server response, or constructed directly in Javascript. The array is used
433
- * in place and becomes part of the constructed object. It is not cloned.
434
- * If no data is provided, the constructed object will be empty, but still
435
- * valid.
436
- * @extends {jspb.Message}
437
- * @constructor
438
- */
439
- proto.Auth.AccountProto.AccountClusterRoleRequest = function(opt_data) {
440
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
441
- };
442
- goog.inherits(proto.Auth.AccountProto.AccountClusterRoleRequest, jspb.Message);
443
- if (goog.DEBUG && !COMPILED) {
444
- /**
445
- * @public
446
- * @override
447
- */
448
- proto.Auth.AccountProto.AccountClusterRoleRequest.displayName = 'proto.Auth.AccountProto.AccountClusterRoleRequest';
449
- }
450
-
451
-
452
-
453
- if (jspb.Message.GENERATE_TO_OBJECT) {
454
- /**
455
- * Creates an object representation of this proto.
456
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
457
- * Optional fields that are not set will be set to undefined.
458
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
459
- * For the list of reserved names please see:
460
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
461
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
462
- * JSPB instance for transitional soy proto support:
463
- * http://goto/soy-param-migration
464
- * @return {!Object}
465
- */
466
- proto.Auth.AccountProto.prototype.toObject = function(opt_includeInstance) {
467
- return proto.Auth.AccountProto.toObject(opt_includeInstance, this);
468
- };
469
-
470
-
471
- /**
472
- * Static version of the {@see toObject} method.
473
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
474
- * the JSPB instance for transitional soy proto support:
475
- * http://goto/soy-param-migration
476
- * @param {!proto.Auth.AccountProto} msg The msg instance to transform.
477
- * @return {!Object}
478
- * @suppress {unusedLocalVariables} f is only used for nested messages
479
- */
480
- proto.Auth.AccountProto.toObject = function(includeInstance, msg) {
481
- var f, obj = {
482
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
483
- email: jspb.Message.getFieldWithDefault(msg, 2, ""),
484
- phone: jspb.Message.getFieldWithDefault(msg, 3, ""),
485
- firstName: jspb.Message.getFieldWithDefault(msg, 4, ""),
486
- lastName: jspb.Message.getFieldWithDefault(msg, 5, ""),
487
- locale: jspb.Message.getFieldWithDefault(msg, 6, ""),
488
- company: jspb.Message.getFieldWithDefault(msg, 7, "")
489
- };
490
-
491
- if (includeInstance) {
492
- obj.$jspbMessageInstance = msg;
493
- }
494
- return obj;
495
- };
496
- }
497
-
498
-
499
- /**
500
- * Deserializes binary data (in protobuf wire format).
501
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
502
- * @return {!proto.Auth.AccountProto}
503
- */
504
- proto.Auth.AccountProto.deserializeBinary = function(bytes) {
505
- var reader = new jspb.BinaryReader(bytes);
506
- var msg = new proto.Auth.AccountProto;
507
- return proto.Auth.AccountProto.deserializeBinaryFromReader(msg, reader);
508
- };
509
-
510
-
511
- /**
512
- * Deserializes binary data (in protobuf wire format) from the
513
- * given reader into the given message object.
514
- * @param {!proto.Auth.AccountProto} msg The message object to deserialize into.
515
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
516
- * @return {!proto.Auth.AccountProto}
517
- */
518
- proto.Auth.AccountProto.deserializeBinaryFromReader = function(msg, reader) {
519
- while (reader.nextField()) {
520
- if (reader.isEndGroup()) {
521
- break;
522
- }
523
- var field = reader.getFieldNumber();
524
- switch (field) {
525
- case 1:
526
- var value = /** @type {number} */ (reader.readInt64());
527
- msg.setId(value);
528
- break;
529
- case 2:
530
- var value = /** @type {string} */ (reader.readString());
531
- msg.setEmail(value);
532
- break;
533
- case 3:
534
- var value = /** @type {string} */ (reader.readString());
535
- msg.setPhone(value);
536
- break;
537
- case 4:
538
- var value = /** @type {string} */ (reader.readString());
539
- msg.setFirstName(value);
540
- break;
541
- case 5:
542
- var value = /** @type {string} */ (reader.readString());
543
- msg.setLastName(value);
544
- break;
545
- case 6:
546
- var value = /** @type {string} */ (reader.readString());
547
- msg.setLocale(value);
548
- break;
549
- case 7:
550
- var value = /** @type {string} */ (reader.readString());
551
- msg.setCompany(value);
552
- break;
553
- default:
554
- reader.skipField();
555
- break;
556
- }
557
- }
558
- return msg;
559
- };
560
-
561
-
562
- /**
563
- * Serializes the message to binary data (in protobuf wire format).
564
- * @return {!Uint8Array}
565
- */
566
- proto.Auth.AccountProto.prototype.serializeBinary = function() {
567
- var writer = new jspb.BinaryWriter();
568
- proto.Auth.AccountProto.serializeBinaryToWriter(this, writer);
569
- return writer.getResultBuffer();
570
- };
571
-
572
-
573
- /**
574
- * Serializes the given message to binary data (in protobuf wire
575
- * format), writing to the given BinaryWriter.
576
- * @param {!proto.Auth.AccountProto} message
577
- * @param {!jspb.BinaryWriter} writer
578
- * @suppress {unusedLocalVariables} f is only used for nested messages
579
- */
580
- proto.Auth.AccountProto.serializeBinaryToWriter = function(message, writer) {
581
- var f = undefined;
582
- f = message.getId();
583
- if (f !== 0) {
584
- writer.writeInt64(
585
- 1,
586
- f
587
- );
588
- }
589
- f = message.getEmail();
590
- if (f.length > 0) {
591
- writer.writeString(
592
- 2,
593
- f
594
- );
595
- }
596
- f = message.getPhone();
597
- if (f.length > 0) {
598
- writer.writeString(
599
- 3,
600
- f
601
- );
602
- }
603
- f = message.getFirstName();
604
- if (f.length > 0) {
605
- writer.writeString(
606
- 4,
607
- f
608
- );
609
- }
610
- f = message.getLastName();
611
- if (f.length > 0) {
612
- writer.writeString(
613
- 5,
614
- f
615
- );
616
- }
617
- f = message.getLocale();
618
- if (f.length > 0) {
619
- writer.writeString(
620
- 6,
621
- f
622
- );
623
- }
624
- f = message.getCompany();
625
- if (f.length > 0) {
626
- writer.writeString(
627
- 7,
628
- f
629
- );
630
- }
631
- };
632
-
633
-
634
-
635
-
636
-
637
- if (jspb.Message.GENERATE_TO_OBJECT) {
638
- /**
639
- * Creates an object representation of this proto.
640
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
641
- * Optional fields that are not set will be set to undefined.
642
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
643
- * For the list of reserved names please see:
644
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
645
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
646
- * JSPB instance for transitional soy proto support:
647
- * http://goto/soy-param-migration
648
- * @return {!Object}
649
- */
650
- proto.Auth.AccountProto.CreateAdminRequest.prototype.toObject = function(opt_includeInstance) {
651
- return proto.Auth.AccountProto.CreateAdminRequest.toObject(opt_includeInstance, this);
652
- };
653
-
654
-
655
- /**
656
- * Static version of the {@see toObject} method.
657
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
658
- * the JSPB instance for transitional soy proto support:
659
- * http://goto/soy-param-migration
660
- * @param {!proto.Auth.AccountProto.CreateAdminRequest} msg The msg instance to transform.
661
- * @return {!Object}
662
- * @suppress {unusedLocalVariables} f is only used for nested messages
663
- */
664
- proto.Auth.AccountProto.CreateAdminRequest.toObject = function(includeInstance, msg) {
665
- var f, obj = {
666
- email: jspb.Message.getFieldWithDefault(msg, 1, ""),
667
- firstName: jspb.Message.getFieldWithDefault(msg, 2, ""),
668
- lastName: jspb.Message.getFieldWithDefault(msg, 3, ""),
669
- locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
670
- company: jspb.Message.getFieldWithDefault(msg, 5, "")
671
- };
672
-
673
- if (includeInstance) {
674
- obj.$jspbMessageInstance = msg;
675
- }
676
- return obj;
677
- };
678
- }
679
-
680
-
681
- /**
682
- * Deserializes binary data (in protobuf wire format).
683
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
684
- * @return {!proto.Auth.AccountProto.CreateAdminRequest}
685
- */
686
- proto.Auth.AccountProto.CreateAdminRequest.deserializeBinary = function(bytes) {
687
- var reader = new jspb.BinaryReader(bytes);
688
- var msg = new proto.Auth.AccountProto.CreateAdminRequest;
689
- return proto.Auth.AccountProto.CreateAdminRequest.deserializeBinaryFromReader(msg, reader);
690
- };
691
-
692
-
693
- /**
694
- * Deserializes binary data (in protobuf wire format) from the
695
- * given reader into the given message object.
696
- * @param {!proto.Auth.AccountProto.CreateAdminRequest} msg The message object to deserialize into.
697
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
698
- * @return {!proto.Auth.AccountProto.CreateAdminRequest}
699
- */
700
- proto.Auth.AccountProto.CreateAdminRequest.deserializeBinaryFromReader = function(msg, reader) {
701
- while (reader.nextField()) {
702
- if (reader.isEndGroup()) {
703
- break;
704
- }
705
- var field = reader.getFieldNumber();
706
- switch (field) {
707
- case 1:
708
- var value = /** @type {string} */ (reader.readString());
709
- msg.setEmail(value);
710
- break;
711
- case 2:
712
- var value = /** @type {string} */ (reader.readString());
713
- msg.setFirstName(value);
714
- break;
715
- case 3:
716
- var value = /** @type {string} */ (reader.readString());
717
- msg.setLastName(value);
718
- break;
719
- case 4:
720
- var value = /** @type {string} */ (reader.readString());
721
- msg.setLocale(value);
722
- break;
723
- case 5:
724
- var value = /** @type {string} */ (reader.readString());
725
- msg.setCompany(value);
726
- break;
727
- default:
728
- reader.skipField();
729
- break;
730
- }
731
- }
732
- return msg;
733
- };
734
-
735
-
736
- /**
737
- * Serializes the message to binary data (in protobuf wire format).
738
- * @return {!Uint8Array}
739
- */
740
- proto.Auth.AccountProto.CreateAdminRequest.prototype.serializeBinary = function() {
741
- var writer = new jspb.BinaryWriter();
742
- proto.Auth.AccountProto.CreateAdminRequest.serializeBinaryToWriter(this, writer);
743
- return writer.getResultBuffer();
744
- };
745
-
746
-
747
- /**
748
- * Serializes the given message to binary data (in protobuf wire
749
- * format), writing to the given BinaryWriter.
750
- * @param {!proto.Auth.AccountProto.CreateAdminRequest} message
751
- * @param {!jspb.BinaryWriter} writer
752
- * @suppress {unusedLocalVariables} f is only used for nested messages
753
- */
754
- proto.Auth.AccountProto.CreateAdminRequest.serializeBinaryToWriter = function(message, writer) {
755
- var f = undefined;
756
- f = message.getEmail();
757
- if (f.length > 0) {
758
- writer.writeString(
759
- 1,
760
- f
761
- );
762
- }
763
- f = message.getFirstName();
764
- if (f.length > 0) {
765
- writer.writeString(
766
- 2,
767
- f
768
- );
769
- }
770
- f = message.getLastName();
771
- if (f.length > 0) {
772
- writer.writeString(
773
- 3,
774
- f
775
- );
776
- }
777
- f = message.getLocale();
778
- if (f.length > 0) {
779
- writer.writeString(
780
- 4,
781
- f
782
- );
783
- }
784
- f = message.getCompany();
785
- if (f.length > 0) {
786
- writer.writeString(
787
- 5,
788
- f
789
- );
790
- }
791
- };
792
-
793
-
794
- /**
795
- * optional string email = 1;
796
- * @return {string}
797
- */
798
- proto.Auth.AccountProto.CreateAdminRequest.prototype.getEmail = function() {
799
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
800
- };
801
-
802
-
803
- /**
804
- * @param {string} value
805
- * @return {!proto.Auth.AccountProto.CreateAdminRequest} returns this
806
- */
807
- proto.Auth.AccountProto.CreateAdminRequest.prototype.setEmail = function(value) {
808
- return jspb.Message.setProto3StringField(this, 1, value);
809
- };
810
-
811
-
812
- /**
813
- * optional string first_name = 2;
814
- * @return {string}
815
- */
816
- proto.Auth.AccountProto.CreateAdminRequest.prototype.getFirstName = function() {
817
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
818
- };
819
-
820
-
821
- /**
822
- * @param {string} value
823
- * @return {!proto.Auth.AccountProto.CreateAdminRequest} returns this
824
- */
825
- proto.Auth.AccountProto.CreateAdminRequest.prototype.setFirstName = function(value) {
826
- return jspb.Message.setProto3StringField(this, 2, value);
827
- };
828
-
829
-
830
- /**
831
- * optional string last_name = 3;
832
- * @return {string}
833
- */
834
- proto.Auth.AccountProto.CreateAdminRequest.prototype.getLastName = function() {
835
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
836
- };
837
-
838
-
839
- /**
840
- * @param {string} value
841
- * @return {!proto.Auth.AccountProto.CreateAdminRequest} returns this
842
- */
843
- proto.Auth.AccountProto.CreateAdminRequest.prototype.setLastName = function(value) {
844
- return jspb.Message.setProto3StringField(this, 3, value);
845
- };
846
-
847
-
848
- /**
849
- * optional string locale = 4;
850
- * @return {string}
851
- */
852
- proto.Auth.AccountProto.CreateAdminRequest.prototype.getLocale = function() {
853
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
854
- };
855
-
856
-
857
- /**
858
- * @param {string} value
859
- * @return {!proto.Auth.AccountProto.CreateAdminRequest} returns this
860
- */
861
- proto.Auth.AccountProto.CreateAdminRequest.prototype.setLocale = function(value) {
862
- return jspb.Message.setProto3StringField(this, 4, value);
863
- };
864
-
865
-
866
- /**
867
- * optional string company = 5;
868
- * @return {string}
869
- */
870
- proto.Auth.AccountProto.CreateAdminRequest.prototype.getCompany = function() {
871
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
872
- };
873
-
874
-
875
- /**
876
- * @param {string} value
877
- * @return {!proto.Auth.AccountProto.CreateAdminRequest} returns this
878
- */
879
- proto.Auth.AccountProto.CreateAdminRequest.prototype.setCompany = function(value) {
880
- return jspb.Message.setProto3StringField(this, 5, value);
881
- };
882
-
883
-
884
-
885
-
886
-
887
- if (jspb.Message.GENERATE_TO_OBJECT) {
888
- /**
889
- * Creates an object representation of this proto.
890
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
891
- * Optional fields that are not set will be set to undefined.
892
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
893
- * For the list of reserved names please see:
894
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
895
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
896
- * JSPB instance for transitional soy proto support:
897
- * http://goto/soy-param-migration
898
- * @return {!Object}
899
- */
900
- proto.Auth.AccountProto.CreateAppRequest.prototype.toObject = function(opt_includeInstance) {
901
- return proto.Auth.AccountProto.CreateAppRequest.toObject(opt_includeInstance, this);
902
- };
903
-
904
-
905
- /**
906
- * Static version of the {@see toObject} method.
907
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
908
- * the JSPB instance for transitional soy proto support:
909
- * http://goto/soy-param-migration
910
- * @param {!proto.Auth.AccountProto.CreateAppRequest} msg The msg instance to transform.
911
- * @return {!Object}
912
- * @suppress {unusedLocalVariables} f is only used for nested messages
913
- */
914
- proto.Auth.AccountProto.CreateAppRequest.toObject = function(includeInstance, msg) {
915
- var f, obj = {
916
- phone: jspb.Message.getFieldWithDefault(msg, 1, ""),
917
- firstName: jspb.Message.getFieldWithDefault(msg, 2, ""),
918
- lastName: jspb.Message.getFieldWithDefault(msg, 3, ""),
919
- locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
920
- company: jspb.Message.getFieldWithDefault(msg, 5, "")
921
- };
922
-
923
- if (includeInstance) {
924
- obj.$jspbMessageInstance = msg;
925
- }
926
- return obj;
927
- };
928
- }
929
-
930
-
931
- /**
932
- * Deserializes binary data (in protobuf wire format).
933
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
934
- * @return {!proto.Auth.AccountProto.CreateAppRequest}
935
- */
936
- proto.Auth.AccountProto.CreateAppRequest.deserializeBinary = function(bytes) {
937
- var reader = new jspb.BinaryReader(bytes);
938
- var msg = new proto.Auth.AccountProto.CreateAppRequest;
939
- return proto.Auth.AccountProto.CreateAppRequest.deserializeBinaryFromReader(msg, reader);
940
- };
941
-
942
-
943
- /**
944
- * Deserializes binary data (in protobuf wire format) from the
945
- * given reader into the given message object.
946
- * @param {!proto.Auth.AccountProto.CreateAppRequest} msg The message object to deserialize into.
947
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
948
- * @return {!proto.Auth.AccountProto.CreateAppRequest}
949
- */
950
- proto.Auth.AccountProto.CreateAppRequest.deserializeBinaryFromReader = function(msg, reader) {
951
- while (reader.nextField()) {
952
- if (reader.isEndGroup()) {
953
- break;
954
- }
955
- var field = reader.getFieldNumber();
956
- switch (field) {
957
- case 1:
958
- var value = /** @type {string} */ (reader.readString());
959
- msg.setPhone(value);
960
- break;
961
- case 2:
962
- var value = /** @type {string} */ (reader.readString());
963
- msg.setFirstName(value);
964
- break;
965
- case 3:
966
- var value = /** @type {string} */ (reader.readString());
967
- msg.setLastName(value);
968
- break;
969
- case 4:
970
- var value = /** @type {string} */ (reader.readString());
971
- msg.setLocale(value);
972
- break;
973
- case 5:
974
- var value = /** @type {string} */ (reader.readString());
975
- msg.setCompany(value);
976
- break;
977
- default:
978
- reader.skipField();
979
- break;
980
- }
981
- }
982
- return msg;
983
- };
984
-
985
-
986
- /**
987
- * Serializes the message to binary data (in protobuf wire format).
988
- * @return {!Uint8Array}
989
- */
990
- proto.Auth.AccountProto.CreateAppRequest.prototype.serializeBinary = function() {
991
- var writer = new jspb.BinaryWriter();
992
- proto.Auth.AccountProto.CreateAppRequest.serializeBinaryToWriter(this, writer);
993
- return writer.getResultBuffer();
994
- };
995
-
996
-
997
- /**
998
- * Serializes the given message to binary data (in protobuf wire
999
- * format), writing to the given BinaryWriter.
1000
- * @param {!proto.Auth.AccountProto.CreateAppRequest} message
1001
- * @param {!jspb.BinaryWriter} writer
1002
- * @suppress {unusedLocalVariables} f is only used for nested messages
1003
- */
1004
- proto.Auth.AccountProto.CreateAppRequest.serializeBinaryToWriter = function(message, writer) {
1005
- var f = undefined;
1006
- f = message.getPhone();
1007
- if (f.length > 0) {
1008
- writer.writeString(
1009
- 1,
1010
- f
1011
- );
1012
- }
1013
- f = message.getFirstName();
1014
- if (f.length > 0) {
1015
- writer.writeString(
1016
- 2,
1017
- f
1018
- );
1019
- }
1020
- f = message.getLastName();
1021
- if (f.length > 0) {
1022
- writer.writeString(
1023
- 3,
1024
- f
1025
- );
1026
- }
1027
- f = message.getLocale();
1028
- if (f.length > 0) {
1029
- writer.writeString(
1030
- 4,
1031
- f
1032
- );
1033
- }
1034
- f = message.getCompany();
1035
- if (f.length > 0) {
1036
- writer.writeString(
1037
- 5,
1038
- f
1039
- );
1040
- }
1041
- };
1042
-
1043
-
1044
- /**
1045
- * optional string phone = 1;
1046
- * @return {string}
1047
- */
1048
- proto.Auth.AccountProto.CreateAppRequest.prototype.getPhone = function() {
1049
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1050
- };
1051
-
1052
-
1053
- /**
1054
- * @param {string} value
1055
- * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1056
- */
1057
- proto.Auth.AccountProto.CreateAppRequest.prototype.setPhone = function(value) {
1058
- return jspb.Message.setProto3StringField(this, 1, value);
1059
- };
1060
-
1061
-
1062
- /**
1063
- * optional string first_name = 2;
1064
- * @return {string}
1065
- */
1066
- proto.Auth.AccountProto.CreateAppRequest.prototype.getFirstName = function() {
1067
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1068
- };
1069
-
1070
-
1071
- /**
1072
- * @param {string} value
1073
- * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1074
- */
1075
- proto.Auth.AccountProto.CreateAppRequest.prototype.setFirstName = function(value) {
1076
- return jspb.Message.setProto3StringField(this, 2, value);
1077
- };
1078
-
1079
-
1080
- /**
1081
- * optional string last_name = 3;
1082
- * @return {string}
1083
- */
1084
- proto.Auth.AccountProto.CreateAppRequest.prototype.getLastName = function() {
1085
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1086
- };
1087
-
1088
-
1089
- /**
1090
- * @param {string} value
1091
- * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1092
- */
1093
- proto.Auth.AccountProto.CreateAppRequest.prototype.setLastName = function(value) {
1094
- return jspb.Message.setProto3StringField(this, 3, value);
1095
- };
1096
-
1097
-
1098
- /**
1099
- * optional string locale = 4;
1100
- * @return {string}
1101
- */
1102
- proto.Auth.AccountProto.CreateAppRequest.prototype.getLocale = function() {
1103
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1104
- };
1105
-
1106
-
1107
- /**
1108
- * @param {string} value
1109
- * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1110
- */
1111
- proto.Auth.AccountProto.CreateAppRequest.prototype.setLocale = function(value) {
1112
- return jspb.Message.setProto3StringField(this, 4, value);
1113
- };
1114
-
1115
-
1116
- /**
1117
- * optional string company = 5;
1118
- * @return {string}
1119
- */
1120
- proto.Auth.AccountProto.CreateAppRequest.prototype.getCompany = function() {
1121
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1122
- };
1123
-
1124
-
1125
- /**
1126
- * @param {string} value
1127
- * @return {!proto.Auth.AccountProto.CreateAppRequest} returns this
1128
- */
1129
- proto.Auth.AccountProto.CreateAppRequest.prototype.setCompany = function(value) {
1130
- return jspb.Message.setProto3StringField(this, 5, value);
1131
- };
1132
-
1133
-
1134
-
1135
-
1136
-
1137
- if (jspb.Message.GENERATE_TO_OBJECT) {
1138
- /**
1139
- * Creates an object representation of this proto.
1140
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1141
- * Optional fields that are not set will be set to undefined.
1142
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1143
- * For the list of reserved names please see:
1144
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1145
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1146
- * JSPB instance for transitional soy proto support:
1147
- * http://goto/soy-param-migration
1148
- * @return {!Object}
1149
- */
1150
- proto.Auth.AccountProto.RetrieveRequest.prototype.toObject = function(opt_includeInstance) {
1151
- return proto.Auth.AccountProto.RetrieveRequest.toObject(opt_includeInstance, this);
1152
- };
1153
-
1154
-
1155
- /**
1156
- * Static version of the {@see toObject} method.
1157
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1158
- * the JSPB instance for transitional soy proto support:
1159
- * http://goto/soy-param-migration
1160
- * @param {!proto.Auth.AccountProto.RetrieveRequest} msg The msg instance to transform.
1161
- * @return {!Object}
1162
- * @suppress {unusedLocalVariables} f is only used for nested messages
1163
- */
1164
- proto.Auth.AccountProto.RetrieveRequest.toObject = function(includeInstance, msg) {
1165
- var f, obj = {
1166
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
1167
- clientid: jspb.Message.getFieldWithDefault(msg, 2, 0)
1168
- };
1169
-
1170
- if (includeInstance) {
1171
- obj.$jspbMessageInstance = msg;
1172
- }
1173
- return obj;
1174
- };
1175
- }
1176
-
1177
-
1178
- /**
1179
- * Deserializes binary data (in protobuf wire format).
1180
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1181
- * @return {!proto.Auth.AccountProto.RetrieveRequest}
1182
- */
1183
- proto.Auth.AccountProto.RetrieveRequest.deserializeBinary = function(bytes) {
1184
- var reader = new jspb.BinaryReader(bytes);
1185
- var msg = new proto.Auth.AccountProto.RetrieveRequest;
1186
- return proto.Auth.AccountProto.RetrieveRequest.deserializeBinaryFromReader(msg, reader);
1187
- };
1188
-
1189
-
1190
- /**
1191
- * Deserializes binary data (in protobuf wire format) from the
1192
- * given reader into the given message object.
1193
- * @param {!proto.Auth.AccountProto.RetrieveRequest} msg The message object to deserialize into.
1194
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1195
- * @return {!proto.Auth.AccountProto.RetrieveRequest}
1196
- */
1197
- proto.Auth.AccountProto.RetrieveRequest.deserializeBinaryFromReader = function(msg, reader) {
1198
- while (reader.nextField()) {
1199
- if (reader.isEndGroup()) {
1200
- break;
1201
- }
1202
- var field = reader.getFieldNumber();
1203
- switch (field) {
1204
- case 1:
1205
- var value = /** @type {number} */ (reader.readInt64());
1206
- msg.setId(value);
1207
- break;
1208
- case 2:
1209
- var value = /** @type {number} */ (reader.readInt64());
1210
- msg.setClientid(value);
1211
- break;
1212
- default:
1213
- reader.skipField();
1214
- break;
1215
- }
1216
- }
1217
- return msg;
1218
- };
1219
-
1220
-
1221
- /**
1222
- * Serializes the message to binary data (in protobuf wire format).
1223
- * @return {!Uint8Array}
1224
- */
1225
- proto.Auth.AccountProto.RetrieveRequest.prototype.serializeBinary = function() {
1226
- var writer = new jspb.BinaryWriter();
1227
- proto.Auth.AccountProto.RetrieveRequest.serializeBinaryToWriter(this, writer);
1228
- return writer.getResultBuffer();
1229
- };
1230
-
1231
-
1232
- /**
1233
- * Serializes the given message to binary data (in protobuf wire
1234
- * format), writing to the given BinaryWriter.
1235
- * @param {!proto.Auth.AccountProto.RetrieveRequest} message
1236
- * @param {!jspb.BinaryWriter} writer
1237
- * @suppress {unusedLocalVariables} f is only used for nested messages
1238
- */
1239
- proto.Auth.AccountProto.RetrieveRequest.serializeBinaryToWriter = function(message, writer) {
1240
- var f = undefined;
1241
- f = message.getId();
1242
- if (f !== 0) {
1243
- writer.writeInt64(
1244
- 1,
1245
- f
1246
- );
1247
- }
1248
- f = message.getClientid();
1249
- if (f !== 0) {
1250
- writer.writeInt64(
1251
- 2,
1252
- f
1253
- );
1254
- }
1255
- };
1256
-
1257
-
1258
- /**
1259
- * optional int64 id = 1;
1260
- * @return {number}
1261
- */
1262
- proto.Auth.AccountProto.RetrieveRequest.prototype.getId = function() {
1263
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1264
- };
1265
-
1266
-
1267
- /**
1268
- * @param {number} value
1269
- * @return {!proto.Auth.AccountProto.RetrieveRequest} returns this
1270
- */
1271
- proto.Auth.AccountProto.RetrieveRequest.prototype.setId = function(value) {
1272
- return jspb.Message.setProto3IntField(this, 1, value);
1273
- };
1274
-
1275
-
1276
- /**
1277
- * optional int64 clientId = 2;
1278
- * @return {number}
1279
- */
1280
- proto.Auth.AccountProto.RetrieveRequest.prototype.getClientid = function() {
1281
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1282
- };
1283
-
1284
-
1285
- /**
1286
- * @param {number} value
1287
- * @return {!proto.Auth.AccountProto.RetrieveRequest} returns this
1288
- */
1289
- proto.Auth.AccountProto.RetrieveRequest.prototype.setClientid = function(value) {
1290
- return jspb.Message.setProto3IntField(this, 2, value);
1291
- };
1292
-
1293
-
1294
-
1295
- /**
1296
- * List of repeated fields within this message type.
1297
- * @private {!Array<number>}
1298
- * @const
1299
- */
1300
- proto.Auth.AccountProto.SearchReply.repeatedFields_ = [1];
1301
-
1302
-
1303
-
1304
- if (jspb.Message.GENERATE_TO_OBJECT) {
1305
- /**
1306
- * Creates an object representation of this proto.
1307
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1308
- * Optional fields that are not set will be set to undefined.
1309
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1310
- * For the list of reserved names please see:
1311
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1312
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1313
- * JSPB instance for transitional soy proto support:
1314
- * http://goto/soy-param-migration
1315
- * @return {!Object}
1316
- */
1317
- proto.Auth.AccountProto.SearchReply.prototype.toObject = function(opt_includeInstance) {
1318
- return proto.Auth.AccountProto.SearchReply.toObject(opt_includeInstance, this);
1319
- };
1320
-
1321
-
1322
- /**
1323
- * Static version of the {@see toObject} method.
1324
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1325
- * the JSPB instance for transitional soy proto support:
1326
- * http://goto/soy-param-migration
1327
- * @param {!proto.Auth.AccountProto.SearchReply} msg The msg instance to transform.
1328
- * @return {!Object}
1329
- * @suppress {unusedLocalVariables} f is only used for nested messages
1330
- */
1331
- proto.Auth.AccountProto.SearchReply.toObject = function(includeInstance, msg) {
1332
- var f, obj = {
1333
- accountsList: jspb.Message.toObjectList(msg.getAccountsList(),
1334
- proto.Auth.AccountProto.toObject, includeInstance),
1335
- pagination: (f = msg.getPagination()) && platform_pagination_pb.PaginationProto.toObject(includeInstance, f)
1336
- };
1337
-
1338
- if (includeInstance) {
1339
- obj.$jspbMessageInstance = msg;
1340
- }
1341
- return obj;
1342
- };
1343
- }
1344
-
1345
-
1346
- /**
1347
- * Deserializes binary data (in protobuf wire format).
1348
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1349
- * @return {!proto.Auth.AccountProto.SearchReply}
1350
- */
1351
- proto.Auth.AccountProto.SearchReply.deserializeBinary = function(bytes) {
1352
- var reader = new jspb.BinaryReader(bytes);
1353
- var msg = new proto.Auth.AccountProto.SearchReply;
1354
- return proto.Auth.AccountProto.SearchReply.deserializeBinaryFromReader(msg, reader);
1355
- };
1356
-
1357
-
1358
- /**
1359
- * Deserializes binary data (in protobuf wire format) from the
1360
- * given reader into the given message object.
1361
- * @param {!proto.Auth.AccountProto.SearchReply} msg The message object to deserialize into.
1362
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1363
- * @return {!proto.Auth.AccountProto.SearchReply}
1364
- */
1365
- proto.Auth.AccountProto.SearchReply.deserializeBinaryFromReader = function(msg, reader) {
1366
- while (reader.nextField()) {
1367
- if (reader.isEndGroup()) {
1368
- break;
1369
- }
1370
- var field = reader.getFieldNumber();
1371
- switch (field) {
1372
- case 1:
1373
- var value = new proto.Auth.AccountProto;
1374
- reader.readMessage(value,proto.Auth.AccountProto.deserializeBinaryFromReader);
1375
- msg.addAccounts(value);
1376
- break;
1377
- case 2:
1378
- var value = new platform_pagination_pb.PaginationProto;
1379
- reader.readMessage(value,platform_pagination_pb.PaginationProto.deserializeBinaryFromReader);
1380
- msg.setPagination(value);
1381
- break;
1382
- default:
1383
- reader.skipField();
1384
- break;
1385
- }
1386
- }
1387
- return msg;
1388
- };
1389
-
1390
-
1391
- /**
1392
- * Serializes the message to binary data (in protobuf wire format).
1393
- * @return {!Uint8Array}
1394
- */
1395
- proto.Auth.AccountProto.SearchReply.prototype.serializeBinary = function() {
1396
- var writer = new jspb.BinaryWriter();
1397
- proto.Auth.AccountProto.SearchReply.serializeBinaryToWriter(this, writer);
1398
- return writer.getResultBuffer();
1399
- };
1400
-
1401
-
1402
- /**
1403
- * Serializes the given message to binary data (in protobuf wire
1404
- * format), writing to the given BinaryWriter.
1405
- * @param {!proto.Auth.AccountProto.SearchReply} message
1406
- * @param {!jspb.BinaryWriter} writer
1407
- * @suppress {unusedLocalVariables} f is only used for nested messages
1408
- */
1409
- proto.Auth.AccountProto.SearchReply.serializeBinaryToWriter = function(message, writer) {
1410
- var f = undefined;
1411
- f = message.getAccountsList();
1412
- if (f.length > 0) {
1413
- writer.writeRepeatedMessage(
1414
- 1,
1415
- f,
1416
- proto.Auth.AccountProto.serializeBinaryToWriter
1417
- );
1418
- }
1419
- f = message.getPagination();
1420
- if (f != null) {
1421
- writer.writeMessage(
1422
- 2,
1423
- f,
1424
- platform_pagination_pb.PaginationProto.serializeBinaryToWriter
1425
- );
1426
- }
1427
- };
1428
-
1429
-
1430
- /**
1431
- * repeated AccountProto accounts = 1;
1432
- * @return {!Array<!proto.Auth.AccountProto>}
1433
- */
1434
- proto.Auth.AccountProto.SearchReply.prototype.getAccountsList = function() {
1435
- return /** @type{!Array<!proto.Auth.AccountProto>} */ (
1436
- jspb.Message.getRepeatedWrapperField(this, proto.Auth.AccountProto, 1));
1437
- };
1438
-
1439
-
1440
- /**
1441
- * @param {!Array<!proto.Auth.AccountProto>} value
1442
- * @return {!proto.Auth.AccountProto.SearchReply} returns this
1443
- */
1444
- proto.Auth.AccountProto.SearchReply.prototype.setAccountsList = function(value) {
1445
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
1446
- };
1447
-
1448
-
1449
- /**
1450
- * @param {!proto.Auth.AccountProto=} opt_value
1451
- * @param {number=} opt_index
1452
- * @return {!proto.Auth.AccountProto}
1453
- */
1454
- proto.Auth.AccountProto.SearchReply.prototype.addAccounts = function(opt_value, opt_index) {
1455
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Auth.AccountProto, opt_index);
1456
- };
1457
-
1458
-
1459
- /**
1460
- * Clears the list making it empty but non-null.
1461
- * @return {!proto.Auth.AccountProto.SearchReply} returns this
1462
- */
1463
- proto.Auth.AccountProto.SearchReply.prototype.clearAccountsList = function() {
1464
- return this.setAccountsList([]);
1465
- };
1466
-
1467
-
1468
- /**
1469
- * optional Platform.PaginationProto pagination = 2;
1470
- * @return {?proto.Platform.PaginationProto}
1471
- */
1472
- proto.Auth.AccountProto.SearchReply.prototype.getPagination = function() {
1473
- return /** @type{?proto.Platform.PaginationProto} */ (
1474
- jspb.Message.getWrapperField(this, platform_pagination_pb.PaginationProto, 2));
1475
- };
1476
-
1477
-
1478
- /**
1479
- * @param {?proto.Platform.PaginationProto|undefined} value
1480
- * @return {!proto.Auth.AccountProto.SearchReply} returns this
1481
- */
1482
- proto.Auth.AccountProto.SearchReply.prototype.setPagination = function(value) {
1483
- return jspb.Message.setWrapperField(this, 2, value);
1484
- };
1485
-
1486
-
1487
- /**
1488
- * Clears the message field making it undefined.
1489
- * @return {!proto.Auth.AccountProto.SearchReply} returns this
1490
- */
1491
- proto.Auth.AccountProto.SearchReply.prototype.clearPagination = function() {
1492
- return this.setPagination(undefined);
1493
- };
1494
-
1495
-
1496
- /**
1497
- * Returns whether this field is set.
1498
- * @return {boolean}
1499
- */
1500
- proto.Auth.AccountProto.SearchReply.prototype.hasPagination = function() {
1501
- return jspb.Message.getField(this, 2) != null;
1502
- };
1503
-
1504
-
1505
-
1506
- /**
1507
- * List of repeated fields within this message type.
1508
- * @private {!Array<number>}
1509
- * @const
1510
- */
1511
- proto.Auth.AccountProto.SearchRequest.repeatedFields_ = [4];
1512
-
1513
-
1514
-
1515
- if (jspb.Message.GENERATE_TO_OBJECT) {
1516
- /**
1517
- * Creates an object representation of this proto.
1518
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1519
- * Optional fields that are not set will be set to undefined.
1520
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1521
- * For the list of reserved names please see:
1522
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1523
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1524
- * JSPB instance for transitional soy proto support:
1525
- * http://goto/soy-param-migration
1526
- * @return {!Object}
1527
- */
1528
- proto.Auth.AccountProto.SearchRequest.prototype.toObject = function(opt_includeInstance) {
1529
- return proto.Auth.AccountProto.SearchRequest.toObject(opt_includeInstance, this);
1530
- };
1531
-
1532
-
1533
- /**
1534
- * Static version of the {@see toObject} method.
1535
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1536
- * the JSPB instance for transitional soy proto support:
1537
- * http://goto/soy-param-migration
1538
- * @param {!proto.Auth.AccountProto.SearchRequest} msg The msg instance to transform.
1539
- * @return {!Object}
1540
- * @suppress {unusedLocalVariables} f is only used for nested messages
1541
- */
1542
- proto.Auth.AccountProto.SearchRequest.toObject = function(includeInstance, msg) {
1543
- var f, obj = {
1544
- search: jspb.Message.getFieldWithDefault(msg, 1, ""),
1545
- page: jspb.Message.getFieldWithDefault(msg, 2, 0),
1546
- count: jspb.Message.getFieldWithDefault(msg, 3, 0),
1547
- scopeFiltersList: jspb.Message.toObjectList(msg.getScopeFiltersList(),
1548
- proto.Auth.AccountProto.Scope.toObject, includeInstance)
1549
- };
1550
-
1551
- if (includeInstance) {
1552
- obj.$jspbMessageInstance = msg;
1553
- }
1554
- return obj;
1555
- };
1556
- }
1557
-
1558
-
1559
- /**
1560
- * Deserializes binary data (in protobuf wire format).
1561
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1562
- * @return {!proto.Auth.AccountProto.SearchRequest}
1563
- */
1564
- proto.Auth.AccountProto.SearchRequest.deserializeBinary = function(bytes) {
1565
- var reader = new jspb.BinaryReader(bytes);
1566
- var msg = new proto.Auth.AccountProto.SearchRequest;
1567
- return proto.Auth.AccountProto.SearchRequest.deserializeBinaryFromReader(msg, reader);
1568
- };
1569
-
1570
-
1571
- /**
1572
- * Deserializes binary data (in protobuf wire format) from the
1573
- * given reader into the given message object.
1574
- * @param {!proto.Auth.AccountProto.SearchRequest} msg The message object to deserialize into.
1575
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1576
- * @return {!proto.Auth.AccountProto.SearchRequest}
1577
- */
1578
- proto.Auth.AccountProto.SearchRequest.deserializeBinaryFromReader = function(msg, reader) {
1579
- while (reader.nextField()) {
1580
- if (reader.isEndGroup()) {
1581
- break;
1582
- }
1583
- var field = reader.getFieldNumber();
1584
- switch (field) {
1585
- case 1:
1586
- var value = /** @type {string} */ (reader.readString());
1587
- msg.setSearch(value);
1588
- break;
1589
- case 2:
1590
- var value = /** @type {number} */ (reader.readInt32());
1591
- msg.setPage(value);
1592
- break;
1593
- case 3:
1594
- var value = /** @type {number} */ (reader.readInt32());
1595
- msg.setCount(value);
1596
- break;
1597
- case 4:
1598
- var value = new proto.Auth.AccountProto.Scope;
1599
- reader.readMessage(value,proto.Auth.AccountProto.Scope.deserializeBinaryFromReader);
1600
- msg.addScopeFilters(value);
1601
- break;
1602
- default:
1603
- reader.skipField();
1604
- break;
1605
- }
1606
- }
1607
- return msg;
1608
- };
1609
-
1610
-
1611
- /**
1612
- * Serializes the message to binary data (in protobuf wire format).
1613
- * @return {!Uint8Array}
1614
- */
1615
- proto.Auth.AccountProto.SearchRequest.prototype.serializeBinary = function() {
1616
- var writer = new jspb.BinaryWriter();
1617
- proto.Auth.AccountProto.SearchRequest.serializeBinaryToWriter(this, writer);
1618
- return writer.getResultBuffer();
1619
- };
1620
-
1621
-
1622
- /**
1623
- * Serializes the given message to binary data (in protobuf wire
1624
- * format), writing to the given BinaryWriter.
1625
- * @param {!proto.Auth.AccountProto.SearchRequest} message
1626
- * @param {!jspb.BinaryWriter} writer
1627
- * @suppress {unusedLocalVariables} f is only used for nested messages
1628
- */
1629
- proto.Auth.AccountProto.SearchRequest.serializeBinaryToWriter = function(message, writer) {
1630
- var f = undefined;
1631
- f = message.getSearch();
1632
- if (f.length > 0) {
1633
- writer.writeString(
1634
- 1,
1635
- f
1636
- );
1637
- }
1638
- f = message.getPage();
1639
- if (f !== 0) {
1640
- writer.writeInt32(
1641
- 2,
1642
- f
1643
- );
1644
- }
1645
- f = message.getCount();
1646
- if (f !== 0) {
1647
- writer.writeInt32(
1648
- 3,
1649
- f
1650
- );
1651
- }
1652
- f = message.getScopeFiltersList();
1653
- if (f.length > 0) {
1654
- writer.writeRepeatedMessage(
1655
- 4,
1656
- f,
1657
- proto.Auth.AccountProto.Scope.serializeBinaryToWriter
1658
- );
1659
- }
1660
- };
1661
-
1662
-
1663
- /**
1664
- * optional string search = 1;
1665
- * @return {string}
1666
- */
1667
- proto.Auth.AccountProto.SearchRequest.prototype.getSearch = function() {
1668
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1669
- };
1670
-
1671
-
1672
- /**
1673
- * @param {string} value
1674
- * @return {!proto.Auth.AccountProto.SearchRequest} returns this
1675
- */
1676
- proto.Auth.AccountProto.SearchRequest.prototype.setSearch = function(value) {
1677
- return jspb.Message.setProto3StringField(this, 1, value);
1678
- };
1679
-
1680
-
1681
- /**
1682
- * optional int32 page = 2;
1683
- * @return {number}
1684
- */
1685
- proto.Auth.AccountProto.SearchRequest.prototype.getPage = function() {
1686
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1687
- };
1688
-
1689
-
1690
- /**
1691
- * @param {number} value
1692
- * @return {!proto.Auth.AccountProto.SearchRequest} returns this
1693
- */
1694
- proto.Auth.AccountProto.SearchRequest.prototype.setPage = function(value) {
1695
- return jspb.Message.setProto3IntField(this, 2, value);
1696
- };
1697
-
1698
-
1699
- /**
1700
- * optional int32 count = 3;
1701
- * @return {number}
1702
- */
1703
- proto.Auth.AccountProto.SearchRequest.prototype.getCount = function() {
1704
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
1705
- };
1706
-
1707
-
1708
- /**
1709
- * @param {number} value
1710
- * @return {!proto.Auth.AccountProto.SearchRequest} returns this
1711
- */
1712
- proto.Auth.AccountProto.SearchRequest.prototype.setCount = function(value) {
1713
- return jspb.Message.setProto3IntField(this, 3, value);
1714
- };
1715
-
1716
-
1717
- /**
1718
- * repeated Scope scope_filters = 4;
1719
- * @return {!Array<!proto.Auth.AccountProto.Scope>}
1720
- */
1721
- proto.Auth.AccountProto.SearchRequest.prototype.getScopeFiltersList = function() {
1722
- return /** @type{!Array<!proto.Auth.AccountProto.Scope>} */ (
1723
- jspb.Message.getRepeatedWrapperField(this, proto.Auth.AccountProto.Scope, 4));
1724
- };
1725
-
1726
-
1727
- /**
1728
- * @param {!Array<!proto.Auth.AccountProto.Scope>} value
1729
- * @return {!proto.Auth.AccountProto.SearchRequest} returns this
1730
- */
1731
- proto.Auth.AccountProto.SearchRequest.prototype.setScopeFiltersList = function(value) {
1732
- return jspb.Message.setRepeatedWrapperField(this, 4, value);
1733
- };
1734
-
1735
-
1736
- /**
1737
- * @param {!proto.Auth.AccountProto.Scope=} opt_value
1738
- * @param {number=} opt_index
1739
- * @return {!proto.Auth.AccountProto.Scope}
1740
- */
1741
- proto.Auth.AccountProto.SearchRequest.prototype.addScopeFilters = function(opt_value, opt_index) {
1742
- return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.Auth.AccountProto.Scope, opt_index);
1743
- };
1744
-
1745
-
1746
- /**
1747
- * Clears the list making it empty but non-null.
1748
- * @return {!proto.Auth.AccountProto.SearchRequest} returns this
1749
- */
1750
- proto.Auth.AccountProto.SearchRequest.prototype.clearScopeFiltersList = function() {
1751
- return this.setScopeFiltersList([]);
1752
- };
1753
-
1754
-
1755
-
1756
-
1757
-
1758
- if (jspb.Message.GENERATE_TO_OBJECT) {
1759
- /**
1760
- * Creates an object representation of this proto.
1761
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1762
- * Optional fields that are not set will be set to undefined.
1763
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1764
- * For the list of reserved names please see:
1765
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1766
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1767
- * JSPB instance for transitional soy proto support:
1768
- * http://goto/soy-param-migration
1769
- * @return {!Object}
1770
- */
1771
- proto.Auth.AccountProto.UpdateRequest.prototype.toObject = function(opt_includeInstance) {
1772
- return proto.Auth.AccountProto.UpdateRequest.toObject(opt_includeInstance, this);
1773
- };
1774
-
1775
-
1776
- /**
1777
- * Static version of the {@see toObject} method.
1778
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1779
- * the JSPB instance for transitional soy proto support:
1780
- * http://goto/soy-param-migration
1781
- * @param {!proto.Auth.AccountProto.UpdateRequest} msg The msg instance to transform.
1782
- * @return {!Object}
1783
- * @suppress {unusedLocalVariables} f is only used for nested messages
1784
- */
1785
- proto.Auth.AccountProto.UpdateRequest.toObject = function(includeInstance, msg) {
1786
- var f, obj = {
1787
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
1788
- firstName: jspb.Message.getFieldWithDefault(msg, 2, ""),
1789
- lastName: jspb.Message.getFieldWithDefault(msg, 3, ""),
1790
- locale: jspb.Message.getFieldWithDefault(msg, 4, ""),
1791
- company: jspb.Message.getFieldWithDefault(msg, 5, "")
1792
- };
1793
-
1794
- if (includeInstance) {
1795
- obj.$jspbMessageInstance = msg;
1796
- }
1797
- return obj;
1798
- };
1799
- }
1800
-
1801
-
1802
- /**
1803
- * Deserializes binary data (in protobuf wire format).
1804
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1805
- * @return {!proto.Auth.AccountProto.UpdateRequest}
1806
- */
1807
- proto.Auth.AccountProto.UpdateRequest.deserializeBinary = function(bytes) {
1808
- var reader = new jspb.BinaryReader(bytes);
1809
- var msg = new proto.Auth.AccountProto.UpdateRequest;
1810
- return proto.Auth.AccountProto.UpdateRequest.deserializeBinaryFromReader(msg, reader);
1811
- };
1812
-
1813
-
1814
- /**
1815
- * Deserializes binary data (in protobuf wire format) from the
1816
- * given reader into the given message object.
1817
- * @param {!proto.Auth.AccountProto.UpdateRequest} msg The message object to deserialize into.
1818
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1819
- * @return {!proto.Auth.AccountProto.UpdateRequest}
1820
- */
1821
- proto.Auth.AccountProto.UpdateRequest.deserializeBinaryFromReader = function(msg, reader) {
1822
- while (reader.nextField()) {
1823
- if (reader.isEndGroup()) {
1824
- break;
1825
- }
1826
- var field = reader.getFieldNumber();
1827
- switch (field) {
1828
- case 1:
1829
- var value = /** @type {number} */ (reader.readInt64());
1830
- msg.setId(value);
1831
- break;
1832
- case 2:
1833
- var value = /** @type {string} */ (reader.readString());
1834
- msg.setFirstName(value);
1835
- break;
1836
- case 3:
1837
- var value = /** @type {string} */ (reader.readString());
1838
- msg.setLastName(value);
1839
- break;
1840
- case 4:
1841
- var value = /** @type {string} */ (reader.readString());
1842
- msg.setLocale(value);
1843
- break;
1844
- case 5:
1845
- var value = /** @type {string} */ (reader.readString());
1846
- msg.setCompany(value);
1847
- break;
1848
- default:
1849
- reader.skipField();
1850
- break;
1851
- }
1852
- }
1853
- return msg;
1854
- };
1855
-
1856
-
1857
- /**
1858
- * Serializes the message to binary data (in protobuf wire format).
1859
- * @return {!Uint8Array}
1860
- */
1861
- proto.Auth.AccountProto.UpdateRequest.prototype.serializeBinary = function() {
1862
- var writer = new jspb.BinaryWriter();
1863
- proto.Auth.AccountProto.UpdateRequest.serializeBinaryToWriter(this, writer);
1864
- return writer.getResultBuffer();
1865
- };
1866
-
1867
-
1868
- /**
1869
- * Serializes the given message to binary data (in protobuf wire
1870
- * format), writing to the given BinaryWriter.
1871
- * @param {!proto.Auth.AccountProto.UpdateRequest} message
1872
- * @param {!jspb.BinaryWriter} writer
1873
- * @suppress {unusedLocalVariables} f is only used for nested messages
1874
- */
1875
- proto.Auth.AccountProto.UpdateRequest.serializeBinaryToWriter = function(message, writer) {
1876
- var f = undefined;
1877
- f = message.getId();
1878
- if (f !== 0) {
1879
- writer.writeInt64(
1880
- 1,
1881
- f
1882
- );
1883
- }
1884
- f = message.getFirstName();
1885
- if (f.length > 0) {
1886
- writer.writeString(
1887
- 2,
1888
- f
1889
- );
1890
- }
1891
- f = message.getLastName();
1892
- if (f.length > 0) {
1893
- writer.writeString(
1894
- 3,
1895
- f
1896
- );
1897
- }
1898
- f = message.getLocale();
1899
- if (f.length > 0) {
1900
- writer.writeString(
1901
- 4,
1902
- f
1903
- );
1904
- }
1905
- f = message.getCompany();
1906
- if (f.length > 0) {
1907
- writer.writeString(
1908
- 5,
1909
- f
1910
- );
1911
- }
1912
- };
1913
-
1914
-
1915
- /**
1916
- * optional int64 id = 1;
1917
- * @return {number}
1918
- */
1919
- proto.Auth.AccountProto.UpdateRequest.prototype.getId = function() {
1920
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1921
- };
1922
-
1923
-
1924
- /**
1925
- * @param {number} value
1926
- * @return {!proto.Auth.AccountProto.UpdateRequest} returns this
1927
- */
1928
- proto.Auth.AccountProto.UpdateRequest.prototype.setId = function(value) {
1929
- return jspb.Message.setProto3IntField(this, 1, value);
1930
- };
1931
-
1932
-
1933
- /**
1934
- * optional string first_name = 2;
1935
- * @return {string}
1936
- */
1937
- proto.Auth.AccountProto.UpdateRequest.prototype.getFirstName = function() {
1938
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1939
- };
1940
-
1941
-
1942
- /**
1943
- * @param {string} value
1944
- * @return {!proto.Auth.AccountProto.UpdateRequest} returns this
1945
- */
1946
- proto.Auth.AccountProto.UpdateRequest.prototype.setFirstName = function(value) {
1947
- return jspb.Message.setProto3StringField(this, 2, value);
1948
- };
1949
-
1950
-
1951
- /**
1952
- * optional string last_name = 3;
1953
- * @return {string}
1954
- */
1955
- proto.Auth.AccountProto.UpdateRequest.prototype.getLastName = function() {
1956
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1957
- };
1958
-
1959
-
1960
- /**
1961
- * @param {string} value
1962
- * @return {!proto.Auth.AccountProto.UpdateRequest} returns this
1963
- */
1964
- proto.Auth.AccountProto.UpdateRequest.prototype.setLastName = function(value) {
1965
- return jspb.Message.setProto3StringField(this, 3, value);
1966
- };
1967
-
1968
-
1969
- /**
1970
- * optional string locale = 4;
1971
- * @return {string}
1972
- */
1973
- proto.Auth.AccountProto.UpdateRequest.prototype.getLocale = function() {
1974
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1975
- };
1976
-
1977
-
1978
- /**
1979
- * @param {string} value
1980
- * @return {!proto.Auth.AccountProto.UpdateRequest} returns this
1981
- */
1982
- proto.Auth.AccountProto.UpdateRequest.prototype.setLocale = function(value) {
1983
- return jspb.Message.setProto3StringField(this, 4, value);
1984
- };
1985
-
1986
-
1987
- /**
1988
- * optional string company = 5;
1989
- * @return {string}
1990
- */
1991
- proto.Auth.AccountProto.UpdateRequest.prototype.getCompany = function() {
1992
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1993
- };
1994
-
1995
-
1996
- /**
1997
- * @param {string} value
1998
- * @return {!proto.Auth.AccountProto.UpdateRequest} returns this
1999
- */
2000
- proto.Auth.AccountProto.UpdateRequest.prototype.setCompany = function(value) {
2001
- return jspb.Message.setProto3StringField(this, 5, value);
2002
- };
2003
-
2004
-
2005
-
2006
-
2007
-
2008
- if (jspb.Message.GENERATE_TO_OBJECT) {
2009
- /**
2010
- * Creates an object representation of this proto.
2011
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2012
- * Optional fields that are not set will be set to undefined.
2013
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2014
- * For the list of reserved names please see:
2015
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2016
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2017
- * JSPB instance for transitional soy proto support:
2018
- * http://goto/soy-param-migration
2019
- * @return {!Object}
2020
- */
2021
- proto.Auth.AccountProto.ActivateAccountRequest.prototype.toObject = function(opt_includeInstance) {
2022
- return proto.Auth.AccountProto.ActivateAccountRequest.toObject(opt_includeInstance, this);
2023
- };
2024
-
2025
-
2026
- /**
2027
- * Static version of the {@see toObject} method.
2028
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2029
- * the JSPB instance for transitional soy proto support:
2030
- * http://goto/soy-param-migration
2031
- * @param {!proto.Auth.AccountProto.ActivateAccountRequest} msg The msg instance to transform.
2032
- * @return {!Object}
2033
- * @suppress {unusedLocalVariables} f is only used for nested messages
2034
- */
2035
- proto.Auth.AccountProto.ActivateAccountRequest.toObject = function(includeInstance, msg) {
2036
- var f, obj = {
2037
- accountconfirmationtoken: jspb.Message.getFieldWithDefault(msg, 1, 0),
2038
- password: jspb.Message.getFieldWithDefault(msg, 2, ""),
2039
- confirmpassword: jspb.Message.getFieldWithDefault(msg, 3, "")
2040
- };
2041
-
2042
- if (includeInstance) {
2043
- obj.$jspbMessageInstance = msg;
2044
- }
2045
- return obj;
2046
- };
2047
- }
2048
-
2049
-
2050
- /**
2051
- * Deserializes binary data (in protobuf wire format).
2052
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2053
- * @return {!proto.Auth.AccountProto.ActivateAccountRequest}
2054
- */
2055
- proto.Auth.AccountProto.ActivateAccountRequest.deserializeBinary = function(bytes) {
2056
- var reader = new jspb.BinaryReader(bytes);
2057
- var msg = new proto.Auth.AccountProto.ActivateAccountRequest;
2058
- return proto.Auth.AccountProto.ActivateAccountRequest.deserializeBinaryFromReader(msg, reader);
2059
- };
2060
-
2061
-
2062
- /**
2063
- * Deserializes binary data (in protobuf wire format) from the
2064
- * given reader into the given message object.
2065
- * @param {!proto.Auth.AccountProto.ActivateAccountRequest} msg The message object to deserialize into.
2066
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2067
- * @return {!proto.Auth.AccountProto.ActivateAccountRequest}
2068
- */
2069
- proto.Auth.AccountProto.ActivateAccountRequest.deserializeBinaryFromReader = function(msg, reader) {
2070
- while (reader.nextField()) {
2071
- if (reader.isEndGroup()) {
2072
- break;
2073
- }
2074
- var field = reader.getFieldNumber();
2075
- switch (field) {
2076
- case 1:
2077
- var value = /** @type {number} */ (reader.readInt32());
2078
- msg.setAccountconfirmationtoken(value);
2079
- break;
2080
- case 2:
2081
- var value = /** @type {string} */ (reader.readString());
2082
- msg.setPassword(value);
2083
- break;
2084
- case 3:
2085
- var value = /** @type {string} */ (reader.readString());
2086
- msg.setConfirmpassword(value);
2087
- break;
2088
- default:
2089
- reader.skipField();
2090
- break;
2091
- }
2092
- }
2093
- return msg;
2094
- };
2095
-
2096
-
2097
- /**
2098
- * Serializes the message to binary data (in protobuf wire format).
2099
- * @return {!Uint8Array}
2100
- */
2101
- proto.Auth.AccountProto.ActivateAccountRequest.prototype.serializeBinary = function() {
2102
- var writer = new jspb.BinaryWriter();
2103
- proto.Auth.AccountProto.ActivateAccountRequest.serializeBinaryToWriter(this, writer);
2104
- return writer.getResultBuffer();
2105
- };
2106
-
2107
-
2108
- /**
2109
- * Serializes the given message to binary data (in protobuf wire
2110
- * format), writing to the given BinaryWriter.
2111
- * @param {!proto.Auth.AccountProto.ActivateAccountRequest} message
2112
- * @param {!jspb.BinaryWriter} writer
2113
- * @suppress {unusedLocalVariables} f is only used for nested messages
2114
- */
2115
- proto.Auth.AccountProto.ActivateAccountRequest.serializeBinaryToWriter = function(message, writer) {
2116
- var f = undefined;
2117
- f = message.getAccountconfirmationtoken();
2118
- if (f !== 0) {
2119
- writer.writeInt32(
2120
- 1,
2121
- f
2122
- );
2123
- }
2124
- f = message.getPassword();
2125
- if (f.length > 0) {
2126
- writer.writeString(
2127
- 2,
2128
- f
2129
- );
2130
- }
2131
- f = message.getConfirmpassword();
2132
- if (f.length > 0) {
2133
- writer.writeString(
2134
- 3,
2135
- f
2136
- );
2137
- }
2138
- };
2139
-
2140
-
2141
- /**
2142
- * optional int32 accountConfirmationToken = 1;
2143
- * @return {number}
2144
- */
2145
- proto.Auth.AccountProto.ActivateAccountRequest.prototype.getAccountconfirmationtoken = function() {
2146
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2147
- };
2148
-
2149
-
2150
- /**
2151
- * @param {number} value
2152
- * @return {!proto.Auth.AccountProto.ActivateAccountRequest} returns this
2153
- */
2154
- proto.Auth.AccountProto.ActivateAccountRequest.prototype.setAccountconfirmationtoken = function(value) {
2155
- return jspb.Message.setProto3IntField(this, 1, value);
2156
- };
2157
-
2158
-
2159
- /**
2160
- * optional string password = 2;
2161
- * @return {string}
2162
- */
2163
- proto.Auth.AccountProto.ActivateAccountRequest.prototype.getPassword = function() {
2164
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2165
- };
2166
-
2167
-
2168
- /**
2169
- * @param {string} value
2170
- * @return {!proto.Auth.AccountProto.ActivateAccountRequest} returns this
2171
- */
2172
- proto.Auth.AccountProto.ActivateAccountRequest.prototype.setPassword = function(value) {
2173
- return jspb.Message.setProto3StringField(this, 2, value);
2174
- };
2175
-
2176
-
2177
- /**
2178
- * optional string confirmPassword = 3;
2179
- * @return {string}
2180
- */
2181
- proto.Auth.AccountProto.ActivateAccountRequest.prototype.getConfirmpassword = function() {
2182
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2183
- };
2184
-
2185
-
2186
- /**
2187
- * @param {string} value
2188
- * @return {!proto.Auth.AccountProto.ActivateAccountRequest} returns this
2189
- */
2190
- proto.Auth.AccountProto.ActivateAccountRequest.prototype.setConfirmpassword = function(value) {
2191
- return jspb.Message.setProto3StringField(this, 3, value);
2192
- };
2193
-
2194
-
2195
-
2196
-
2197
-
2198
- if (jspb.Message.GENERATE_TO_OBJECT) {
2199
- /**
2200
- * Creates an object representation of this proto.
2201
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2202
- * Optional fields that are not set will be set to undefined.
2203
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2204
- * For the list of reserved names please see:
2205
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2206
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2207
- * JSPB instance for transitional soy proto support:
2208
- * http://goto/soy-param-migration
2209
- * @return {!Object}
2210
- */
2211
- proto.Auth.AccountProto.ForgotPasswordRequest.prototype.toObject = function(opt_includeInstance) {
2212
- return proto.Auth.AccountProto.ForgotPasswordRequest.toObject(opt_includeInstance, this);
2213
- };
2214
-
2215
-
2216
- /**
2217
- * Static version of the {@see toObject} method.
2218
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2219
- * the JSPB instance for transitional soy proto support:
2220
- * http://goto/soy-param-migration
2221
- * @param {!proto.Auth.AccountProto.ForgotPasswordRequest} msg The msg instance to transform.
2222
- * @return {!Object}
2223
- * @suppress {unusedLocalVariables} f is only used for nested messages
2224
- */
2225
- proto.Auth.AccountProto.ForgotPasswordRequest.toObject = function(includeInstance, msg) {
2226
- var f, obj = {
2227
- email: jspb.Message.getFieldWithDefault(msg, 1, "")
2228
- };
2229
-
2230
- if (includeInstance) {
2231
- obj.$jspbMessageInstance = msg;
2232
- }
2233
- return obj;
2234
- };
2235
- }
2236
-
2237
-
2238
- /**
2239
- * Deserializes binary data (in protobuf wire format).
2240
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2241
- * @return {!proto.Auth.AccountProto.ForgotPasswordRequest}
2242
- */
2243
- proto.Auth.AccountProto.ForgotPasswordRequest.deserializeBinary = function(bytes) {
2244
- var reader = new jspb.BinaryReader(bytes);
2245
- var msg = new proto.Auth.AccountProto.ForgotPasswordRequest;
2246
- return proto.Auth.AccountProto.ForgotPasswordRequest.deserializeBinaryFromReader(msg, reader);
2247
- };
2248
-
2249
-
2250
- /**
2251
- * Deserializes binary data (in protobuf wire format) from the
2252
- * given reader into the given message object.
2253
- * @param {!proto.Auth.AccountProto.ForgotPasswordRequest} msg The message object to deserialize into.
2254
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2255
- * @return {!proto.Auth.AccountProto.ForgotPasswordRequest}
2256
- */
2257
- proto.Auth.AccountProto.ForgotPasswordRequest.deserializeBinaryFromReader = function(msg, reader) {
2258
- while (reader.nextField()) {
2259
- if (reader.isEndGroup()) {
2260
- break;
2261
- }
2262
- var field = reader.getFieldNumber();
2263
- switch (field) {
2264
- case 1:
2265
- var value = /** @type {string} */ (reader.readString());
2266
- msg.setEmail(value);
2267
- break;
2268
- default:
2269
- reader.skipField();
2270
- break;
2271
- }
2272
- }
2273
- return msg;
2274
- };
2275
-
2276
-
2277
- /**
2278
- * Serializes the message to binary data (in protobuf wire format).
2279
- * @return {!Uint8Array}
2280
- */
2281
- proto.Auth.AccountProto.ForgotPasswordRequest.prototype.serializeBinary = function() {
2282
- var writer = new jspb.BinaryWriter();
2283
- proto.Auth.AccountProto.ForgotPasswordRequest.serializeBinaryToWriter(this, writer);
2284
- return writer.getResultBuffer();
2285
- };
2286
-
2287
-
2288
- /**
2289
- * Serializes the given message to binary data (in protobuf wire
2290
- * format), writing to the given BinaryWriter.
2291
- * @param {!proto.Auth.AccountProto.ForgotPasswordRequest} message
2292
- * @param {!jspb.BinaryWriter} writer
2293
- * @suppress {unusedLocalVariables} f is only used for nested messages
2294
- */
2295
- proto.Auth.AccountProto.ForgotPasswordRequest.serializeBinaryToWriter = function(message, writer) {
2296
- var f = undefined;
2297
- f = message.getEmail();
2298
- if (f.length > 0) {
2299
- writer.writeString(
2300
- 1,
2301
- f
2302
- );
2303
- }
2304
- };
2305
-
2306
-
2307
- /**
2308
- * optional string email = 1;
2309
- * @return {string}
2310
- */
2311
- proto.Auth.AccountProto.ForgotPasswordRequest.prototype.getEmail = function() {
2312
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2313
- };
2314
-
2315
-
2316
- /**
2317
- * @param {string} value
2318
- * @return {!proto.Auth.AccountProto.ForgotPasswordRequest} returns this
2319
- */
2320
- proto.Auth.AccountProto.ForgotPasswordRequest.prototype.setEmail = function(value) {
2321
- return jspb.Message.setProto3StringField(this, 1, value);
2322
- };
2323
-
2324
-
2325
-
2326
-
2327
-
2328
- if (jspb.Message.GENERATE_TO_OBJECT) {
2329
- /**
2330
- * Creates an object representation of this proto.
2331
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2332
- * Optional fields that are not set will be set to undefined.
2333
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2334
- * For the list of reserved names please see:
2335
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2336
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2337
- * JSPB instance for transitional soy proto support:
2338
- * http://goto/soy-param-migration
2339
- * @return {!Object}
2340
- */
2341
- proto.Auth.AccountProto.ChangePasswordRequest.prototype.toObject = function(opt_includeInstance) {
2342
- return proto.Auth.AccountProto.ChangePasswordRequest.toObject(opt_includeInstance, this);
2343
- };
2344
-
2345
-
2346
- /**
2347
- * Static version of the {@see toObject} method.
2348
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2349
- * the JSPB instance for transitional soy proto support:
2350
- * http://goto/soy-param-migration
2351
- * @param {!proto.Auth.AccountProto.ChangePasswordRequest} msg The msg instance to transform.
2352
- * @return {!Object}
2353
- * @suppress {unusedLocalVariables} f is only used for nested messages
2354
- */
2355
- proto.Auth.AccountProto.ChangePasswordRequest.toObject = function(includeInstance, msg) {
2356
- var f, obj = {
2357
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
2358
- password: jspb.Message.getFieldWithDefault(msg, 2, ""),
2359
- confirmpassword: jspb.Message.getFieldWithDefault(msg, 3, ""),
2360
- oldpassword: jspb.Message.getFieldWithDefault(msg, 4, "")
2361
- };
2362
-
2363
- if (includeInstance) {
2364
- obj.$jspbMessageInstance = msg;
2365
- }
2366
- return obj;
2367
- };
2368
- }
2369
-
2370
-
2371
- /**
2372
- * Deserializes binary data (in protobuf wire format).
2373
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2374
- * @return {!proto.Auth.AccountProto.ChangePasswordRequest}
2375
- */
2376
- proto.Auth.AccountProto.ChangePasswordRequest.deserializeBinary = function(bytes) {
2377
- var reader = new jspb.BinaryReader(bytes);
2378
- var msg = new proto.Auth.AccountProto.ChangePasswordRequest;
2379
- return proto.Auth.AccountProto.ChangePasswordRequest.deserializeBinaryFromReader(msg, reader);
2380
- };
2381
-
2382
-
2383
- /**
2384
- * Deserializes binary data (in protobuf wire format) from the
2385
- * given reader into the given message object.
2386
- * @param {!proto.Auth.AccountProto.ChangePasswordRequest} msg The message object to deserialize into.
2387
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2388
- * @return {!proto.Auth.AccountProto.ChangePasswordRequest}
2389
- */
2390
- proto.Auth.AccountProto.ChangePasswordRequest.deserializeBinaryFromReader = function(msg, reader) {
2391
- while (reader.nextField()) {
2392
- if (reader.isEndGroup()) {
2393
- break;
2394
- }
2395
- var field = reader.getFieldNumber();
2396
- switch (field) {
2397
- case 1:
2398
- var value = /** @type {number} */ (reader.readInt64());
2399
- msg.setId(value);
2400
- break;
2401
- case 2:
2402
- var value = /** @type {string} */ (reader.readString());
2403
- msg.setPassword(value);
2404
- break;
2405
- case 3:
2406
- var value = /** @type {string} */ (reader.readString());
2407
- msg.setConfirmpassword(value);
2408
- break;
2409
- case 4:
2410
- var value = /** @type {string} */ (reader.readString());
2411
- msg.setOldpassword(value);
2412
- break;
2413
- default:
2414
- reader.skipField();
2415
- break;
2416
- }
2417
- }
2418
- return msg;
2419
- };
2420
-
2421
-
2422
- /**
2423
- * Serializes the message to binary data (in protobuf wire format).
2424
- * @return {!Uint8Array}
2425
- */
2426
- proto.Auth.AccountProto.ChangePasswordRequest.prototype.serializeBinary = function() {
2427
- var writer = new jspb.BinaryWriter();
2428
- proto.Auth.AccountProto.ChangePasswordRequest.serializeBinaryToWriter(this, writer);
2429
- return writer.getResultBuffer();
2430
- };
2431
-
2432
-
2433
- /**
2434
- * Serializes the given message to binary data (in protobuf wire
2435
- * format), writing to the given BinaryWriter.
2436
- * @param {!proto.Auth.AccountProto.ChangePasswordRequest} message
2437
- * @param {!jspb.BinaryWriter} writer
2438
- * @suppress {unusedLocalVariables} f is only used for nested messages
2439
- */
2440
- proto.Auth.AccountProto.ChangePasswordRequest.serializeBinaryToWriter = function(message, writer) {
2441
- var f = undefined;
2442
- f = message.getId();
2443
- if (f !== 0) {
2444
- writer.writeInt64(
2445
- 1,
2446
- f
2447
- );
2448
- }
2449
- f = message.getPassword();
2450
- if (f.length > 0) {
2451
- writer.writeString(
2452
- 2,
2453
- f
2454
- );
2455
- }
2456
- f = message.getConfirmpassword();
2457
- if (f.length > 0) {
2458
- writer.writeString(
2459
- 3,
2460
- f
2461
- );
2462
- }
2463
- f = message.getOldpassword();
2464
- if (f.length > 0) {
2465
- writer.writeString(
2466
- 4,
2467
- f
2468
- );
2469
- }
2470
- };
2471
-
2472
-
2473
- /**
2474
- * optional int64 id = 1;
2475
- * @return {number}
2476
- */
2477
- proto.Auth.AccountProto.ChangePasswordRequest.prototype.getId = function() {
2478
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2479
- };
2480
-
2481
-
2482
- /**
2483
- * @param {number} value
2484
- * @return {!proto.Auth.AccountProto.ChangePasswordRequest} returns this
2485
- */
2486
- proto.Auth.AccountProto.ChangePasswordRequest.prototype.setId = function(value) {
2487
- return jspb.Message.setProto3IntField(this, 1, value);
2488
- };
2489
-
2490
-
2491
- /**
2492
- * optional string password = 2;
2493
- * @return {string}
2494
- */
2495
- proto.Auth.AccountProto.ChangePasswordRequest.prototype.getPassword = function() {
2496
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2497
- };
2498
-
2499
-
2500
- /**
2501
- * @param {string} value
2502
- * @return {!proto.Auth.AccountProto.ChangePasswordRequest} returns this
2503
- */
2504
- proto.Auth.AccountProto.ChangePasswordRequest.prototype.setPassword = function(value) {
2505
- return jspb.Message.setProto3StringField(this, 2, value);
2506
- };
2507
-
2508
-
2509
- /**
2510
- * optional string confirmPassword = 3;
2511
- * @return {string}
2512
- */
2513
- proto.Auth.AccountProto.ChangePasswordRequest.prototype.getConfirmpassword = function() {
2514
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2515
- };
2516
-
2517
-
2518
- /**
2519
- * @param {string} value
2520
- * @return {!proto.Auth.AccountProto.ChangePasswordRequest} returns this
2521
- */
2522
- proto.Auth.AccountProto.ChangePasswordRequest.prototype.setConfirmpassword = function(value) {
2523
- return jspb.Message.setProto3StringField(this, 3, value);
2524
- };
2525
-
2526
-
2527
- /**
2528
- * optional string oldPassword = 4;
2529
- * @return {string}
2530
- */
2531
- proto.Auth.AccountProto.ChangePasswordRequest.prototype.getOldpassword = function() {
2532
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2533
- };
2534
-
2535
-
2536
- /**
2537
- * @param {string} value
2538
- * @return {!proto.Auth.AccountProto.ChangePasswordRequest} returns this
2539
- */
2540
- proto.Auth.AccountProto.ChangePasswordRequest.prototype.setOldpassword = function(value) {
2541
- return jspb.Message.setProto3StringField(this, 4, value);
2542
- };
2543
-
2544
-
2545
-
2546
-
2547
-
2548
- if (jspb.Message.GENERATE_TO_OBJECT) {
2549
- /**
2550
- * Creates an object representation of this proto.
2551
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2552
- * Optional fields that are not set will be set to undefined.
2553
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2554
- * For the list of reserved names please see:
2555
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2556
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2557
- * JSPB instance for transitional soy proto support:
2558
- * http://goto/soy-param-migration
2559
- * @return {!Object}
2560
- */
2561
- proto.Auth.AccountProto.ChangePasswordReply.prototype.toObject = function(opt_includeInstance) {
2562
- return proto.Auth.AccountProto.ChangePasswordReply.toObject(opt_includeInstance, this);
2563
- };
2564
-
2565
-
2566
- /**
2567
- * Static version of the {@see toObject} method.
2568
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2569
- * the JSPB instance for transitional soy proto support:
2570
- * http://goto/soy-param-migration
2571
- * @param {!proto.Auth.AccountProto.ChangePasswordReply} msg The msg instance to transform.
2572
- * @return {!Object}
2573
- * @suppress {unusedLocalVariables} f is only used for nested messages
2574
- */
2575
- proto.Auth.AccountProto.ChangePasswordReply.toObject = function(includeInstance, msg) {
2576
- var f, obj = {
2577
- id: jspb.Message.getFieldWithDefault(msg, 1, 0)
2578
- };
2579
-
2580
- if (includeInstance) {
2581
- obj.$jspbMessageInstance = msg;
2582
- }
2583
- return obj;
2584
- };
2585
- }
2586
-
2587
-
2588
- /**
2589
- * Deserializes binary data (in protobuf wire format).
2590
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2591
- * @return {!proto.Auth.AccountProto.ChangePasswordReply}
2592
- */
2593
- proto.Auth.AccountProto.ChangePasswordReply.deserializeBinary = function(bytes) {
2594
- var reader = new jspb.BinaryReader(bytes);
2595
- var msg = new proto.Auth.AccountProto.ChangePasswordReply;
2596
- return proto.Auth.AccountProto.ChangePasswordReply.deserializeBinaryFromReader(msg, reader);
2597
- };
2598
-
2599
-
2600
- /**
2601
- * Deserializes binary data (in protobuf wire format) from the
2602
- * given reader into the given message object.
2603
- * @param {!proto.Auth.AccountProto.ChangePasswordReply} msg The message object to deserialize into.
2604
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2605
- * @return {!proto.Auth.AccountProto.ChangePasswordReply}
2606
- */
2607
- proto.Auth.AccountProto.ChangePasswordReply.deserializeBinaryFromReader = function(msg, reader) {
2608
- while (reader.nextField()) {
2609
- if (reader.isEndGroup()) {
2610
- break;
2611
- }
2612
- var field = reader.getFieldNumber();
2613
- switch (field) {
2614
- case 1:
2615
- var value = /** @type {number} */ (reader.readInt64());
2616
- msg.setId(value);
2617
- break;
2618
- default:
2619
- reader.skipField();
2620
- break;
2621
- }
2622
- }
2623
- return msg;
2624
- };
2625
-
2626
-
2627
- /**
2628
- * Serializes the message to binary data (in protobuf wire format).
2629
- * @return {!Uint8Array}
2630
- */
2631
- proto.Auth.AccountProto.ChangePasswordReply.prototype.serializeBinary = function() {
2632
- var writer = new jspb.BinaryWriter();
2633
- proto.Auth.AccountProto.ChangePasswordReply.serializeBinaryToWriter(this, writer);
2634
- return writer.getResultBuffer();
2635
- };
2636
-
2637
-
2638
- /**
2639
- * Serializes the given message to binary data (in protobuf wire
2640
- * format), writing to the given BinaryWriter.
2641
- * @param {!proto.Auth.AccountProto.ChangePasswordReply} message
2642
- * @param {!jspb.BinaryWriter} writer
2643
- * @suppress {unusedLocalVariables} f is only used for nested messages
2644
- */
2645
- proto.Auth.AccountProto.ChangePasswordReply.serializeBinaryToWriter = function(message, writer) {
2646
- var f = undefined;
2647
- f = message.getId();
2648
- if (f !== 0) {
2649
- writer.writeInt64(
2650
- 1,
2651
- f
2652
- );
2653
- }
2654
- };
2655
-
2656
-
2657
- /**
2658
- * optional int64 id = 1;
2659
- * @return {number}
2660
- */
2661
- proto.Auth.AccountProto.ChangePasswordReply.prototype.getId = function() {
2662
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2663
- };
2664
-
2665
-
2666
- /**
2667
- * @param {number} value
2668
- * @return {!proto.Auth.AccountProto.ChangePasswordReply} returns this
2669
- */
2670
- proto.Auth.AccountProto.ChangePasswordReply.prototype.setId = function(value) {
2671
- return jspb.Message.setProto3IntField(this, 1, value);
2672
- };
2673
-
2674
-
2675
-
2676
-
2677
-
2678
- if (jspb.Message.GENERATE_TO_OBJECT) {
2679
- /**
2680
- * Creates an object representation of this proto.
2681
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2682
- * Optional fields that are not set will be set to undefined.
2683
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2684
- * For the list of reserved names please see:
2685
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2686
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2687
- * JSPB instance for transitional soy proto support:
2688
- * http://goto/soy-param-migration
2689
- * @return {!Object}
2690
- */
2691
- proto.Auth.AccountProto.DeleteRequest.prototype.toObject = function(opt_includeInstance) {
2692
- return proto.Auth.AccountProto.DeleteRequest.toObject(opt_includeInstance, this);
2693
- };
2694
-
2695
-
2696
- /**
2697
- * Static version of the {@see toObject} method.
2698
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2699
- * the JSPB instance for transitional soy proto support:
2700
- * http://goto/soy-param-migration
2701
- * @param {!proto.Auth.AccountProto.DeleteRequest} msg The msg instance to transform.
2702
- * @return {!Object}
2703
- * @suppress {unusedLocalVariables} f is only used for nested messages
2704
- */
2705
- proto.Auth.AccountProto.DeleteRequest.toObject = function(includeInstance, msg) {
2706
- var f, obj = {
2707
- id: jspb.Message.getFieldWithDefault(msg, 1, 0)
2708
- };
2709
-
2710
- if (includeInstance) {
2711
- obj.$jspbMessageInstance = msg;
2712
- }
2713
- return obj;
2714
- };
2715
- }
2716
-
2717
-
2718
- /**
2719
- * Deserializes binary data (in protobuf wire format).
2720
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2721
- * @return {!proto.Auth.AccountProto.DeleteRequest}
2722
- */
2723
- proto.Auth.AccountProto.DeleteRequest.deserializeBinary = function(bytes) {
2724
- var reader = new jspb.BinaryReader(bytes);
2725
- var msg = new proto.Auth.AccountProto.DeleteRequest;
2726
- return proto.Auth.AccountProto.DeleteRequest.deserializeBinaryFromReader(msg, reader);
2727
- };
2728
-
2729
-
2730
- /**
2731
- * Deserializes binary data (in protobuf wire format) from the
2732
- * given reader into the given message object.
2733
- * @param {!proto.Auth.AccountProto.DeleteRequest} msg The message object to deserialize into.
2734
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2735
- * @return {!proto.Auth.AccountProto.DeleteRequest}
2736
- */
2737
- proto.Auth.AccountProto.DeleteRequest.deserializeBinaryFromReader = function(msg, reader) {
2738
- while (reader.nextField()) {
2739
- if (reader.isEndGroup()) {
2740
- break;
2741
- }
2742
- var field = reader.getFieldNumber();
2743
- switch (field) {
2744
- case 1:
2745
- var value = /** @type {number} */ (reader.readInt64());
2746
- msg.setId(value);
2747
- break;
2748
- default:
2749
- reader.skipField();
2750
- break;
2751
- }
2752
- }
2753
- return msg;
2754
- };
2755
-
2756
-
2757
- /**
2758
- * Serializes the message to binary data (in protobuf wire format).
2759
- * @return {!Uint8Array}
2760
- */
2761
- proto.Auth.AccountProto.DeleteRequest.prototype.serializeBinary = function() {
2762
- var writer = new jspb.BinaryWriter();
2763
- proto.Auth.AccountProto.DeleteRequest.serializeBinaryToWriter(this, writer);
2764
- return writer.getResultBuffer();
2765
- };
2766
-
2767
-
2768
- /**
2769
- * Serializes the given message to binary data (in protobuf wire
2770
- * format), writing to the given BinaryWriter.
2771
- * @param {!proto.Auth.AccountProto.DeleteRequest} message
2772
- * @param {!jspb.BinaryWriter} writer
2773
- * @suppress {unusedLocalVariables} f is only used for nested messages
2774
- */
2775
- proto.Auth.AccountProto.DeleteRequest.serializeBinaryToWriter = function(message, writer) {
2776
- var f = undefined;
2777
- f = message.getId();
2778
- if (f !== 0) {
2779
- writer.writeInt64(
2780
- 1,
2781
- f
2782
- );
2783
- }
2784
- };
2785
-
2786
-
2787
- /**
2788
- * optional int64 id = 1;
2789
- * @return {number}
2790
- */
2791
- proto.Auth.AccountProto.DeleteRequest.prototype.getId = function() {
2792
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2793
- };
2794
-
2795
-
2796
- /**
2797
- * @param {number} value
2798
- * @return {!proto.Auth.AccountProto.DeleteRequest} returns this
2799
- */
2800
- proto.Auth.AccountProto.DeleteRequest.prototype.setId = function(value) {
2801
- return jspb.Message.setProto3IntField(this, 1, value);
2802
- };
2803
-
2804
-
2805
-
2806
-
2807
-
2808
- if (jspb.Message.GENERATE_TO_OBJECT) {
2809
- /**
2810
- * Creates an object representation of this proto.
2811
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2812
- * Optional fields that are not set will be set to undefined.
2813
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2814
- * For the list of reserved names please see:
2815
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2816
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2817
- * JSPB instance for transitional soy proto support:
2818
- * http://goto/soy-param-migration
2819
- * @return {!Object}
2820
- */
2821
- proto.Auth.AccountProto.DeleteReply.prototype.toObject = function(opt_includeInstance) {
2822
- return proto.Auth.AccountProto.DeleteReply.toObject(opt_includeInstance, this);
2823
- };
2824
-
2825
-
2826
- /**
2827
- * Static version of the {@see toObject} method.
2828
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2829
- * the JSPB instance for transitional soy proto support:
2830
- * http://goto/soy-param-migration
2831
- * @param {!proto.Auth.AccountProto.DeleteReply} msg The msg instance to transform.
2832
- * @return {!Object}
2833
- * @suppress {unusedLocalVariables} f is only used for nested messages
2834
- */
2835
- proto.Auth.AccountProto.DeleteReply.toObject = function(includeInstance, msg) {
2836
- var f, obj = {
2837
-
2838
- };
2839
-
2840
- if (includeInstance) {
2841
- obj.$jspbMessageInstance = msg;
2842
- }
2843
- return obj;
2844
- };
2845
- }
2846
-
2847
-
2848
- /**
2849
- * Deserializes binary data (in protobuf wire format).
2850
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2851
- * @return {!proto.Auth.AccountProto.DeleteReply}
2852
- */
2853
- proto.Auth.AccountProto.DeleteReply.deserializeBinary = function(bytes) {
2854
- var reader = new jspb.BinaryReader(bytes);
2855
- var msg = new proto.Auth.AccountProto.DeleteReply;
2856
- return proto.Auth.AccountProto.DeleteReply.deserializeBinaryFromReader(msg, reader);
2857
- };
2858
-
2859
-
2860
- /**
2861
- * Deserializes binary data (in protobuf wire format) from the
2862
- * given reader into the given message object.
2863
- * @param {!proto.Auth.AccountProto.DeleteReply} msg The message object to deserialize into.
2864
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2865
- * @return {!proto.Auth.AccountProto.DeleteReply}
2866
- */
2867
- proto.Auth.AccountProto.DeleteReply.deserializeBinaryFromReader = function(msg, reader) {
2868
- while (reader.nextField()) {
2869
- if (reader.isEndGroup()) {
2870
- break;
2871
- }
2872
- var field = reader.getFieldNumber();
2873
- switch (field) {
2874
- default:
2875
- reader.skipField();
2876
- break;
2877
- }
2878
- }
2879
- return msg;
2880
- };
2881
-
2882
-
2883
- /**
2884
- * Serializes the message to binary data (in protobuf wire format).
2885
- * @return {!Uint8Array}
2886
- */
2887
- proto.Auth.AccountProto.DeleteReply.prototype.serializeBinary = function() {
2888
- var writer = new jspb.BinaryWriter();
2889
- proto.Auth.AccountProto.DeleteReply.serializeBinaryToWriter(this, writer);
2890
- return writer.getResultBuffer();
2891
- };
2892
-
2893
-
2894
- /**
2895
- * Serializes the given message to binary data (in protobuf wire
2896
- * format), writing to the given BinaryWriter.
2897
- * @param {!proto.Auth.AccountProto.DeleteReply} message
2898
- * @param {!jspb.BinaryWriter} writer
2899
- * @suppress {unusedLocalVariables} f is only used for nested messages
2900
- */
2901
- proto.Auth.AccountProto.DeleteReply.serializeBinaryToWriter = function(message, writer) {
2902
- var f = undefined;
2903
- };
2904
-
2905
-
2906
-
2907
-
2908
-
2909
- if (jspb.Message.GENERATE_TO_OBJECT) {
2910
- /**
2911
- * Creates an object representation of this proto.
2912
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2913
- * Optional fields that are not set will be set to undefined.
2914
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2915
- * For the list of reserved names please see:
2916
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2917
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2918
- * JSPB instance for transitional soy proto support:
2919
- * http://goto/soy-param-migration
2920
- * @return {!Object}
2921
- */
2922
- proto.Auth.AccountProto.Scope.prototype.toObject = function(opt_includeInstance) {
2923
- return proto.Auth.AccountProto.Scope.toObject(opt_includeInstance, this);
2924
- };
2925
-
2926
-
2927
- /**
2928
- * Static version of the {@see toObject} method.
2929
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2930
- * the JSPB instance for transitional soy proto support:
2931
- * http://goto/soy-param-migration
2932
- * @param {!proto.Auth.AccountProto.Scope} msg The msg instance to transform.
2933
- * @return {!Object}
2934
- * @suppress {unusedLocalVariables} f is only used for nested messages
2935
- */
2936
- proto.Auth.AccountProto.Scope.toObject = function(includeInstance, msg) {
2937
- var f, obj = {
2938
- scopeName: jspb.Message.getFieldWithDefault(msg, 1, ""),
2939
- scopeValue: jspb.Message.getFieldWithDefault(msg, 2, "")
2940
- };
2941
-
2942
- if (includeInstance) {
2943
- obj.$jspbMessageInstance = msg;
2944
- }
2945
- return obj;
2946
- };
2947
- }
2948
-
2949
-
2950
- /**
2951
- * Deserializes binary data (in protobuf wire format).
2952
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2953
- * @return {!proto.Auth.AccountProto.Scope}
2954
- */
2955
- proto.Auth.AccountProto.Scope.deserializeBinary = function(bytes) {
2956
- var reader = new jspb.BinaryReader(bytes);
2957
- var msg = new proto.Auth.AccountProto.Scope;
2958
- return proto.Auth.AccountProto.Scope.deserializeBinaryFromReader(msg, reader);
2959
- };
2960
-
2961
-
2962
- /**
2963
- * Deserializes binary data (in protobuf wire format) from the
2964
- * given reader into the given message object.
2965
- * @param {!proto.Auth.AccountProto.Scope} msg The message object to deserialize into.
2966
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2967
- * @return {!proto.Auth.AccountProto.Scope}
2968
- */
2969
- proto.Auth.AccountProto.Scope.deserializeBinaryFromReader = function(msg, reader) {
2970
- while (reader.nextField()) {
2971
- if (reader.isEndGroup()) {
2972
- break;
2973
- }
2974
- var field = reader.getFieldNumber();
2975
- switch (field) {
2976
- case 1:
2977
- var value = /** @type {string} */ (reader.readString());
2978
- msg.setScopeName(value);
2979
- break;
2980
- case 2:
2981
- var value = /** @type {string} */ (reader.readString());
2982
- msg.setScopeValue(value);
2983
- break;
2984
- default:
2985
- reader.skipField();
2986
- break;
2987
- }
2988
- }
2989
- return msg;
2990
- };
2991
-
2992
-
2993
- /**
2994
- * Serializes the message to binary data (in protobuf wire format).
2995
- * @return {!Uint8Array}
2996
- */
2997
- proto.Auth.AccountProto.Scope.prototype.serializeBinary = function() {
2998
- var writer = new jspb.BinaryWriter();
2999
- proto.Auth.AccountProto.Scope.serializeBinaryToWriter(this, writer);
3000
- return writer.getResultBuffer();
3001
- };
3002
-
3003
-
3004
- /**
3005
- * Serializes the given message to binary data (in protobuf wire
3006
- * format), writing to the given BinaryWriter.
3007
- * @param {!proto.Auth.AccountProto.Scope} message
3008
- * @param {!jspb.BinaryWriter} writer
3009
- * @suppress {unusedLocalVariables} f is only used for nested messages
3010
- */
3011
- proto.Auth.AccountProto.Scope.serializeBinaryToWriter = function(message, writer) {
3012
- var f = undefined;
3013
- f = message.getScopeName();
3014
- if (f.length > 0) {
3015
- writer.writeString(
3016
- 1,
3017
- f
3018
- );
3019
- }
3020
- f = message.getScopeValue();
3021
- if (f.length > 0) {
3022
- writer.writeString(
3023
- 2,
3024
- f
3025
- );
3026
- }
3027
- };
3028
-
3029
-
3030
- /**
3031
- * optional string scope_name = 1;
3032
- * @return {string}
3033
- */
3034
- proto.Auth.AccountProto.Scope.prototype.getScopeName = function() {
3035
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3036
- };
3037
-
3038
-
3039
- /**
3040
- * @param {string} value
3041
- * @return {!proto.Auth.AccountProto.Scope} returns this
3042
- */
3043
- proto.Auth.AccountProto.Scope.prototype.setScopeName = function(value) {
3044
- return jspb.Message.setProto3StringField(this, 1, value);
3045
- };
3046
-
3047
-
3048
- /**
3049
- * optional string scope_value = 2;
3050
- * @return {string}
3051
- */
3052
- proto.Auth.AccountProto.Scope.prototype.getScopeValue = function() {
3053
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3054
- };
3055
-
3056
-
3057
- /**
3058
- * @param {string} value
3059
- * @return {!proto.Auth.AccountProto.Scope} returns this
3060
- */
3061
- proto.Auth.AccountProto.Scope.prototype.setScopeValue = function(value) {
3062
- return jspb.Message.setProto3StringField(this, 2, value);
3063
- };
3064
-
3065
-
3066
-
3067
-
3068
-
3069
- if (jspb.Message.GENERATE_TO_OBJECT) {
3070
- /**
3071
- * Creates an object representation of this proto.
3072
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3073
- * Optional fields that are not set will be set to undefined.
3074
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3075
- * For the list of reserved names please see:
3076
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3077
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3078
- * JSPB instance for transitional soy proto support:
3079
- * http://goto/soy-param-migration
3080
- * @return {!Object}
3081
- */
3082
- proto.Auth.AccountProto.SetAccountScopeRequest.prototype.toObject = function(opt_includeInstance) {
3083
- return proto.Auth.AccountProto.SetAccountScopeRequest.toObject(opt_includeInstance, this);
3084
- };
3085
-
3086
-
3087
- /**
3088
- * Static version of the {@see toObject} method.
3089
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3090
- * the JSPB instance for transitional soy proto support:
3091
- * http://goto/soy-param-migration
3092
- * @param {!proto.Auth.AccountProto.SetAccountScopeRequest} msg The msg instance to transform.
3093
- * @return {!Object}
3094
- * @suppress {unusedLocalVariables} f is only used for nested messages
3095
- */
3096
- proto.Auth.AccountProto.SetAccountScopeRequest.toObject = function(includeInstance, msg) {
3097
- var f, obj = {
3098
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
3099
- scope: (f = msg.getScope()) && proto.Auth.AccountProto.Scope.toObject(includeInstance, f)
3100
- };
3101
-
3102
- if (includeInstance) {
3103
- obj.$jspbMessageInstance = msg;
3104
- }
3105
- return obj;
3106
- };
3107
- }
3108
-
3109
-
3110
- /**
3111
- * Deserializes binary data (in protobuf wire format).
3112
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3113
- * @return {!proto.Auth.AccountProto.SetAccountScopeRequest}
3114
- */
3115
- proto.Auth.AccountProto.SetAccountScopeRequest.deserializeBinary = function(bytes) {
3116
- var reader = new jspb.BinaryReader(bytes);
3117
- var msg = new proto.Auth.AccountProto.SetAccountScopeRequest;
3118
- return proto.Auth.AccountProto.SetAccountScopeRequest.deserializeBinaryFromReader(msg, reader);
3119
- };
3120
-
3121
-
3122
- /**
3123
- * Deserializes binary data (in protobuf wire format) from the
3124
- * given reader into the given message object.
3125
- * @param {!proto.Auth.AccountProto.SetAccountScopeRequest} msg The message object to deserialize into.
3126
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3127
- * @return {!proto.Auth.AccountProto.SetAccountScopeRequest}
3128
- */
3129
- proto.Auth.AccountProto.SetAccountScopeRequest.deserializeBinaryFromReader = function(msg, reader) {
3130
- while (reader.nextField()) {
3131
- if (reader.isEndGroup()) {
3132
- break;
3133
- }
3134
- var field = reader.getFieldNumber();
3135
- switch (field) {
3136
- case 1:
3137
- var value = /** @type {number} */ (reader.readInt64());
3138
- msg.setId(value);
3139
- break;
3140
- case 2:
3141
- var value = new proto.Auth.AccountProto.Scope;
3142
- reader.readMessage(value,proto.Auth.AccountProto.Scope.deserializeBinaryFromReader);
3143
- msg.setScope(value);
3144
- break;
3145
- default:
3146
- reader.skipField();
3147
- break;
3148
- }
3149
- }
3150
- return msg;
3151
- };
3152
-
3153
-
3154
- /**
3155
- * Serializes the message to binary data (in protobuf wire format).
3156
- * @return {!Uint8Array}
3157
- */
3158
- proto.Auth.AccountProto.SetAccountScopeRequest.prototype.serializeBinary = function() {
3159
- var writer = new jspb.BinaryWriter();
3160
- proto.Auth.AccountProto.SetAccountScopeRequest.serializeBinaryToWriter(this, writer);
3161
- return writer.getResultBuffer();
3162
- };
3163
-
3164
-
3165
- /**
3166
- * Serializes the given message to binary data (in protobuf wire
3167
- * format), writing to the given BinaryWriter.
3168
- * @param {!proto.Auth.AccountProto.SetAccountScopeRequest} message
3169
- * @param {!jspb.BinaryWriter} writer
3170
- * @suppress {unusedLocalVariables} f is only used for nested messages
3171
- */
3172
- proto.Auth.AccountProto.SetAccountScopeRequest.serializeBinaryToWriter = function(message, writer) {
3173
- var f = undefined;
3174
- f = message.getId();
3175
- if (f !== 0) {
3176
- writer.writeInt64(
3177
- 1,
3178
- f
3179
- );
3180
- }
3181
- f = message.getScope();
3182
- if (f != null) {
3183
- writer.writeMessage(
3184
- 2,
3185
- f,
3186
- proto.Auth.AccountProto.Scope.serializeBinaryToWriter
3187
- );
3188
- }
3189
- };
3190
-
3191
-
3192
- /**
3193
- * optional int64 id = 1;
3194
- * @return {number}
3195
- */
3196
- proto.Auth.AccountProto.SetAccountScopeRequest.prototype.getId = function() {
3197
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3198
- };
3199
-
3200
-
3201
- /**
3202
- * @param {number} value
3203
- * @return {!proto.Auth.AccountProto.SetAccountScopeRequest} returns this
3204
- */
3205
- proto.Auth.AccountProto.SetAccountScopeRequest.prototype.setId = function(value) {
3206
- return jspb.Message.setProto3IntField(this, 1, value);
3207
- };
3208
-
3209
-
3210
- /**
3211
- * optional Scope scope = 2;
3212
- * @return {?proto.Auth.AccountProto.Scope}
3213
- */
3214
- proto.Auth.AccountProto.SetAccountScopeRequest.prototype.getScope = function() {
3215
- return /** @type{?proto.Auth.AccountProto.Scope} */ (
3216
- jspb.Message.getWrapperField(this, proto.Auth.AccountProto.Scope, 2));
3217
- };
3218
-
3219
-
3220
- /**
3221
- * @param {?proto.Auth.AccountProto.Scope|undefined} value
3222
- * @return {!proto.Auth.AccountProto.SetAccountScopeRequest} returns this
3223
- */
3224
- proto.Auth.AccountProto.SetAccountScopeRequest.prototype.setScope = function(value) {
3225
- return jspb.Message.setWrapperField(this, 2, value);
3226
- };
3227
-
3228
-
3229
- /**
3230
- * Clears the message field making it undefined.
3231
- * @return {!proto.Auth.AccountProto.SetAccountScopeRequest} returns this
3232
- */
3233
- proto.Auth.AccountProto.SetAccountScopeRequest.prototype.clearScope = function() {
3234
- return this.setScope(undefined);
3235
- };
3236
-
3237
-
3238
- /**
3239
- * Returns whether this field is set.
3240
- * @return {boolean}
3241
- */
3242
- proto.Auth.AccountProto.SetAccountScopeRequest.prototype.hasScope = function() {
3243
- return jspb.Message.getField(this, 2) != null;
3244
- };
3245
-
3246
-
3247
-
3248
-
3249
-
3250
- if (jspb.Message.GENERATE_TO_OBJECT) {
3251
- /**
3252
- * Creates an object representation of this proto.
3253
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3254
- * Optional fields that are not set will be set to undefined.
3255
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3256
- * For the list of reserved names please see:
3257
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3258
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3259
- * JSPB instance for transitional soy proto support:
3260
- * http://goto/soy-param-migration
3261
- * @return {!Object}
3262
- */
3263
- proto.Auth.AccountProto.SetAccountScopeReply.prototype.toObject = function(opt_includeInstance) {
3264
- return proto.Auth.AccountProto.SetAccountScopeReply.toObject(opt_includeInstance, this);
3265
- };
3266
-
3267
-
3268
- /**
3269
- * Static version of the {@see toObject} method.
3270
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3271
- * the JSPB instance for transitional soy proto support:
3272
- * http://goto/soy-param-migration
3273
- * @param {!proto.Auth.AccountProto.SetAccountScopeReply} msg The msg instance to transform.
3274
- * @return {!Object}
3275
- * @suppress {unusedLocalVariables} f is only used for nested messages
3276
- */
3277
- proto.Auth.AccountProto.SetAccountScopeReply.toObject = function(includeInstance, msg) {
3278
- var f, obj = {
3279
- id: jspb.Message.getFieldWithDefault(msg, 1, 0)
3280
- };
3281
-
3282
- if (includeInstance) {
3283
- obj.$jspbMessageInstance = msg;
3284
- }
3285
- return obj;
3286
- };
3287
- }
3288
-
3289
-
3290
- /**
3291
- * Deserializes binary data (in protobuf wire format).
3292
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3293
- * @return {!proto.Auth.AccountProto.SetAccountScopeReply}
3294
- */
3295
- proto.Auth.AccountProto.SetAccountScopeReply.deserializeBinary = function(bytes) {
3296
- var reader = new jspb.BinaryReader(bytes);
3297
- var msg = new proto.Auth.AccountProto.SetAccountScopeReply;
3298
- return proto.Auth.AccountProto.SetAccountScopeReply.deserializeBinaryFromReader(msg, reader);
3299
- };
3300
-
3301
-
3302
- /**
3303
- * Deserializes binary data (in protobuf wire format) from the
3304
- * given reader into the given message object.
3305
- * @param {!proto.Auth.AccountProto.SetAccountScopeReply} msg The message object to deserialize into.
3306
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3307
- * @return {!proto.Auth.AccountProto.SetAccountScopeReply}
3308
- */
3309
- proto.Auth.AccountProto.SetAccountScopeReply.deserializeBinaryFromReader = function(msg, reader) {
3310
- while (reader.nextField()) {
3311
- if (reader.isEndGroup()) {
3312
- break;
3313
- }
3314
- var field = reader.getFieldNumber();
3315
- switch (field) {
3316
- case 1:
3317
- var value = /** @type {number} */ (reader.readInt64());
3318
- msg.setId(value);
3319
- break;
3320
- default:
3321
- reader.skipField();
3322
- break;
3323
- }
3324
- }
3325
- return msg;
3326
- };
3327
-
3328
-
3329
- /**
3330
- * Serializes the message to binary data (in protobuf wire format).
3331
- * @return {!Uint8Array}
3332
- */
3333
- proto.Auth.AccountProto.SetAccountScopeReply.prototype.serializeBinary = function() {
3334
- var writer = new jspb.BinaryWriter();
3335
- proto.Auth.AccountProto.SetAccountScopeReply.serializeBinaryToWriter(this, writer);
3336
- return writer.getResultBuffer();
3337
- };
3338
-
3339
-
3340
- /**
3341
- * Serializes the given message to binary data (in protobuf wire
3342
- * format), writing to the given BinaryWriter.
3343
- * @param {!proto.Auth.AccountProto.SetAccountScopeReply} message
3344
- * @param {!jspb.BinaryWriter} writer
3345
- * @suppress {unusedLocalVariables} f is only used for nested messages
3346
- */
3347
- proto.Auth.AccountProto.SetAccountScopeReply.serializeBinaryToWriter = function(message, writer) {
3348
- var f = undefined;
3349
- f = message.getId();
3350
- if (f !== 0) {
3351
- writer.writeInt64(
3352
- 1,
3353
- f
3354
- );
3355
- }
3356
- };
3357
-
3358
-
3359
- /**
3360
- * optional int64 id = 1;
3361
- * @return {number}
3362
- */
3363
- proto.Auth.AccountProto.SetAccountScopeReply.prototype.getId = function() {
3364
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3365
- };
3366
-
3367
-
3368
- /**
3369
- * @param {number} value
3370
- * @return {!proto.Auth.AccountProto.SetAccountScopeReply} returns this
3371
- */
3372
- proto.Auth.AccountProto.SetAccountScopeReply.prototype.setId = function(value) {
3373
- return jspb.Message.setProto3IntField(this, 1, value);
3374
- };
3375
-
3376
-
3377
-
3378
-
3379
-
3380
- if (jspb.Message.GENERATE_TO_OBJECT) {
3381
- /**
3382
- * Creates an object representation of this proto.
3383
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3384
- * Optional fields that are not set will be set to undefined.
3385
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3386
- * For the list of reserved names please see:
3387
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3388
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3389
- * JSPB instance for transitional soy proto support:
3390
- * http://goto/soy-param-migration
3391
- * @return {!Object}
3392
- */
3393
- proto.Auth.AccountProto.RetrievePushInfoRequest.prototype.toObject = function(opt_includeInstance) {
3394
- return proto.Auth.AccountProto.RetrievePushInfoRequest.toObject(opt_includeInstance, this);
3395
- };
3396
-
3397
-
3398
- /**
3399
- * Static version of the {@see toObject} method.
3400
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3401
- * the JSPB instance for transitional soy proto support:
3402
- * http://goto/soy-param-migration
3403
- * @param {!proto.Auth.AccountProto.RetrievePushInfoRequest} msg The msg instance to transform.
3404
- * @return {!Object}
3405
- * @suppress {unusedLocalVariables} f is only used for nested messages
3406
- */
3407
- proto.Auth.AccountProto.RetrievePushInfoRequest.toObject = function(includeInstance, msg) {
3408
- var f, obj = {
3409
- id: jspb.Message.getFieldWithDefault(msg, 1, 0)
3410
- };
3411
-
3412
- if (includeInstance) {
3413
- obj.$jspbMessageInstance = msg;
3414
- }
3415
- return obj;
3416
- };
3417
- }
3418
-
3419
-
3420
- /**
3421
- * Deserializes binary data (in protobuf wire format).
3422
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3423
- * @return {!proto.Auth.AccountProto.RetrievePushInfoRequest}
3424
- */
3425
- proto.Auth.AccountProto.RetrievePushInfoRequest.deserializeBinary = function(bytes) {
3426
- var reader = new jspb.BinaryReader(bytes);
3427
- var msg = new proto.Auth.AccountProto.RetrievePushInfoRequest;
3428
- return proto.Auth.AccountProto.RetrievePushInfoRequest.deserializeBinaryFromReader(msg, reader);
3429
- };
3430
-
3431
-
3432
- /**
3433
- * Deserializes binary data (in protobuf wire format) from the
3434
- * given reader into the given message object.
3435
- * @param {!proto.Auth.AccountProto.RetrievePushInfoRequest} msg The message object to deserialize into.
3436
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3437
- * @return {!proto.Auth.AccountProto.RetrievePushInfoRequest}
3438
- */
3439
- proto.Auth.AccountProto.RetrievePushInfoRequest.deserializeBinaryFromReader = function(msg, reader) {
3440
- while (reader.nextField()) {
3441
- if (reader.isEndGroup()) {
3442
- break;
3443
- }
3444
- var field = reader.getFieldNumber();
3445
- switch (field) {
3446
- case 1:
3447
- var value = /** @type {number} */ (reader.readInt64());
3448
- msg.setId(value);
3449
- break;
3450
- default:
3451
- reader.skipField();
3452
- break;
3453
- }
3454
- }
3455
- return msg;
3456
- };
3457
-
3458
-
3459
- /**
3460
- * Serializes the message to binary data (in protobuf wire format).
3461
- * @return {!Uint8Array}
3462
- */
3463
- proto.Auth.AccountProto.RetrievePushInfoRequest.prototype.serializeBinary = function() {
3464
- var writer = new jspb.BinaryWriter();
3465
- proto.Auth.AccountProto.RetrievePushInfoRequest.serializeBinaryToWriter(this, writer);
3466
- return writer.getResultBuffer();
3467
- };
3468
-
3469
-
3470
- /**
3471
- * Serializes the given message to binary data (in protobuf wire
3472
- * format), writing to the given BinaryWriter.
3473
- * @param {!proto.Auth.AccountProto.RetrievePushInfoRequest} message
3474
- * @param {!jspb.BinaryWriter} writer
3475
- * @suppress {unusedLocalVariables} f is only used for nested messages
3476
- */
3477
- proto.Auth.AccountProto.RetrievePushInfoRequest.serializeBinaryToWriter = function(message, writer) {
3478
- var f = undefined;
3479
- f = message.getId();
3480
- if (f !== 0) {
3481
- writer.writeInt64(
3482
- 1,
3483
- f
3484
- );
3485
- }
3486
- };
3487
-
3488
-
3489
- /**
3490
- * optional int64 id = 1;
3491
- * @return {number}
3492
- */
3493
- proto.Auth.AccountProto.RetrievePushInfoRequest.prototype.getId = function() {
3494
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3495
- };
3496
-
3497
-
3498
- /**
3499
- * @param {number} value
3500
- * @return {!proto.Auth.AccountProto.RetrievePushInfoRequest} returns this
3501
- */
3502
- proto.Auth.AccountProto.RetrievePushInfoRequest.prototype.setId = function(value) {
3503
- return jspb.Message.setProto3IntField(this, 1, value);
3504
- };
3505
-
3506
-
3507
-
3508
-
3509
-
3510
- if (jspb.Message.GENERATE_TO_OBJECT) {
3511
- /**
3512
- * Creates an object representation of this proto.
3513
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3514
- * Optional fields that are not set will be set to undefined.
3515
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3516
- * For the list of reserved names please see:
3517
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3518
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3519
- * JSPB instance for transitional soy proto support:
3520
- * http://goto/soy-param-migration
3521
- * @return {!Object}
3522
- */
3523
- proto.Auth.AccountProto.RetrievePushInfoReply.prototype.toObject = function(opt_includeInstance) {
3524
- return proto.Auth.AccountProto.RetrievePushInfoReply.toObject(opt_includeInstance, this);
3525
- };
3526
-
3527
-
3528
- /**
3529
- * Static version of the {@see toObject} method.
3530
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3531
- * the JSPB instance for transitional soy proto support:
3532
- * http://goto/soy-param-migration
3533
- * @param {!proto.Auth.AccountProto.RetrievePushInfoReply} msg The msg instance to transform.
3534
- * @return {!Object}
3535
- * @suppress {unusedLocalVariables} f is only used for nested messages
3536
- */
3537
- proto.Auth.AccountProto.RetrievePushInfoReply.toObject = function(includeInstance, msg) {
3538
- var f, obj = {
3539
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
3540
- pushToken: jspb.Message.getFieldWithDefault(msg, 2, ""),
3541
- pushtype: jspb.Message.getFieldWithDefault(msg, 3, 0)
3542
- };
3543
-
3544
- if (includeInstance) {
3545
- obj.$jspbMessageInstance = msg;
3546
- }
3547
- return obj;
3548
- };
3549
- }
3550
-
3551
-
3552
- /**
3553
- * Deserializes binary data (in protobuf wire format).
3554
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3555
- * @return {!proto.Auth.AccountProto.RetrievePushInfoReply}
3556
- */
3557
- proto.Auth.AccountProto.RetrievePushInfoReply.deserializeBinary = function(bytes) {
3558
- var reader = new jspb.BinaryReader(bytes);
3559
- var msg = new proto.Auth.AccountProto.RetrievePushInfoReply;
3560
- return proto.Auth.AccountProto.RetrievePushInfoReply.deserializeBinaryFromReader(msg, reader);
3561
- };
3562
-
3563
-
3564
- /**
3565
- * Deserializes binary data (in protobuf wire format) from the
3566
- * given reader into the given message object.
3567
- * @param {!proto.Auth.AccountProto.RetrievePushInfoReply} msg The message object to deserialize into.
3568
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3569
- * @return {!proto.Auth.AccountProto.RetrievePushInfoReply}
3570
- */
3571
- proto.Auth.AccountProto.RetrievePushInfoReply.deserializeBinaryFromReader = function(msg, reader) {
3572
- while (reader.nextField()) {
3573
- if (reader.isEndGroup()) {
3574
- break;
3575
- }
3576
- var field = reader.getFieldNumber();
3577
- switch (field) {
3578
- case 1:
3579
- var value = /** @type {number} */ (reader.readInt64());
3580
- msg.setId(value);
3581
- break;
3582
- case 2:
3583
- var value = /** @type {string} */ (reader.readString());
3584
- msg.setPushToken(value);
3585
- break;
3586
- case 3:
3587
- var value = /** @type {!proto.Auth.PushNotificationProto.PushType} */ (reader.readEnum());
3588
- msg.setPushtype(value);
3589
- break;
3590
- default:
3591
- reader.skipField();
3592
- break;
3593
- }
3594
- }
3595
- return msg;
3596
- };
3597
-
3598
-
3599
- /**
3600
- * Serializes the message to binary data (in protobuf wire format).
3601
- * @return {!Uint8Array}
3602
- */
3603
- proto.Auth.AccountProto.RetrievePushInfoReply.prototype.serializeBinary = function() {
3604
- var writer = new jspb.BinaryWriter();
3605
- proto.Auth.AccountProto.RetrievePushInfoReply.serializeBinaryToWriter(this, writer);
3606
- return writer.getResultBuffer();
3607
- };
3608
-
3609
-
3610
- /**
3611
- * Serializes the given message to binary data (in protobuf wire
3612
- * format), writing to the given BinaryWriter.
3613
- * @param {!proto.Auth.AccountProto.RetrievePushInfoReply} message
3614
- * @param {!jspb.BinaryWriter} writer
3615
- * @suppress {unusedLocalVariables} f is only used for nested messages
3616
- */
3617
- proto.Auth.AccountProto.RetrievePushInfoReply.serializeBinaryToWriter = function(message, writer) {
3618
- var f = undefined;
3619
- f = message.getId();
3620
- if (f !== 0) {
3621
- writer.writeInt64(
3622
- 1,
3623
- f
3624
- );
3625
- }
3626
- f = message.getPushToken();
3627
- if (f.length > 0) {
3628
- writer.writeString(
3629
- 2,
3630
- f
3631
- );
3632
- }
3633
- f = message.getPushtype();
3634
- if (f !== 0.0) {
3635
- writer.writeEnum(
3636
- 3,
3637
- f
3638
- );
3639
- }
3640
- };
3641
-
3642
-
3643
- /**
3644
- * optional int64 id = 1;
3645
- * @return {number}
3646
- */
3647
- proto.Auth.AccountProto.RetrievePushInfoReply.prototype.getId = function() {
3648
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3649
- };
3650
-
3651
-
3652
- /**
3653
- * @param {number} value
3654
- * @return {!proto.Auth.AccountProto.RetrievePushInfoReply} returns this
3655
- */
3656
- proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setId = function(value) {
3657
- return jspb.Message.setProto3IntField(this, 1, value);
3658
- };
3659
-
3660
-
3661
- /**
3662
- * optional string push_token = 2;
3663
- * @return {string}
3664
- */
3665
- proto.Auth.AccountProto.RetrievePushInfoReply.prototype.getPushToken = function() {
3666
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3667
- };
3668
-
3669
-
3670
- /**
3671
- * @param {string} value
3672
- * @return {!proto.Auth.AccountProto.RetrievePushInfoReply} returns this
3673
- */
3674
- proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setPushToken = function(value) {
3675
- return jspb.Message.setProto3StringField(this, 2, value);
3676
- };
3677
-
3678
-
3679
- /**
3680
- * optional PushNotificationProto.PushType pushType = 3;
3681
- * @return {!proto.Auth.PushNotificationProto.PushType}
3682
- */
3683
- proto.Auth.AccountProto.RetrievePushInfoReply.prototype.getPushtype = function() {
3684
- return /** @type {!proto.Auth.PushNotificationProto.PushType} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
3685
- };
3686
-
3687
-
3688
- /**
3689
- * @param {!proto.Auth.PushNotificationProto.PushType} value
3690
- * @return {!proto.Auth.AccountProto.RetrievePushInfoReply} returns this
3691
- */
3692
- proto.Auth.AccountProto.RetrievePushInfoReply.prototype.setPushtype = function(value) {
3693
- return jspb.Message.setProto3EnumField(this, 3, value);
3694
- };
3695
-
3696
-
3697
-
3698
-
3699
-
3700
- if (jspb.Message.GENERATE_TO_OBJECT) {
3701
- /**
3702
- * Creates an object representation of this proto.
3703
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3704
- * Optional fields that are not set will be set to undefined.
3705
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3706
- * For the list of reserved names please see:
3707
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3708
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3709
- * JSPB instance for transitional soy proto support:
3710
- * http://goto/soy-param-migration
3711
- * @return {!Object}
3712
- */
3713
- proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.toObject = function(opt_includeInstance) {
3714
- return proto.Auth.AccountProto.AccountClusterRoleRequest.toObject(opt_includeInstance, this);
3715
- };
3716
-
3717
-
3718
- /**
3719
- * Static version of the {@see toObject} method.
3720
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3721
- * the JSPB instance for transitional soy proto support:
3722
- * http://goto/soy-param-migration
3723
- * @param {!proto.Auth.AccountProto.AccountClusterRoleRequest} msg The msg instance to transform.
3724
- * @return {!Object}
3725
- * @suppress {unusedLocalVariables} f is only used for nested messages
3726
- */
3727
- proto.Auth.AccountProto.AccountClusterRoleRequest.toObject = function(includeInstance, msg) {
3728
- var f, obj = {
3729
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
3730
- roleId: jspb.Message.getFieldWithDefault(msg, 2, 0)
3731
- };
3732
-
3733
- if (includeInstance) {
3734
- obj.$jspbMessageInstance = msg;
3735
- }
3736
- return obj;
3737
- };
3738
- }
3739
-
3740
-
3741
- /**
3742
- * Deserializes binary data (in protobuf wire format).
3743
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3744
- * @return {!proto.Auth.AccountProto.AccountClusterRoleRequest}
3745
- */
3746
- proto.Auth.AccountProto.AccountClusterRoleRequest.deserializeBinary = function(bytes) {
3747
- var reader = new jspb.BinaryReader(bytes);
3748
- var msg = new proto.Auth.AccountProto.AccountClusterRoleRequest;
3749
- return proto.Auth.AccountProto.AccountClusterRoleRequest.deserializeBinaryFromReader(msg, reader);
3750
- };
3751
-
3752
-
3753
- /**
3754
- * Deserializes binary data (in protobuf wire format) from the
3755
- * given reader into the given message object.
3756
- * @param {!proto.Auth.AccountProto.AccountClusterRoleRequest} msg The message object to deserialize into.
3757
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3758
- * @return {!proto.Auth.AccountProto.AccountClusterRoleRequest}
3759
- */
3760
- proto.Auth.AccountProto.AccountClusterRoleRequest.deserializeBinaryFromReader = function(msg, reader) {
3761
- while (reader.nextField()) {
3762
- if (reader.isEndGroup()) {
3763
- break;
3764
- }
3765
- var field = reader.getFieldNumber();
3766
- switch (field) {
3767
- case 1:
3768
- var value = /** @type {number} */ (reader.readInt64());
3769
- msg.setId(value);
3770
- break;
3771
- case 2:
3772
- var value = /** @type {number} */ (reader.readInt32());
3773
- msg.setRoleId(value);
3774
- break;
3775
- default:
3776
- reader.skipField();
3777
- break;
3778
- }
3779
- }
3780
- return msg;
3781
- };
3782
-
3783
-
3784
- /**
3785
- * Serializes the message to binary data (in protobuf wire format).
3786
- * @return {!Uint8Array}
3787
- */
3788
- proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.serializeBinary = function() {
3789
- var writer = new jspb.BinaryWriter();
3790
- proto.Auth.AccountProto.AccountClusterRoleRequest.serializeBinaryToWriter(this, writer);
3791
- return writer.getResultBuffer();
3792
- };
3793
-
3794
-
3795
- /**
3796
- * Serializes the given message to binary data (in protobuf wire
3797
- * format), writing to the given BinaryWriter.
3798
- * @param {!proto.Auth.AccountProto.AccountClusterRoleRequest} message
3799
- * @param {!jspb.BinaryWriter} writer
3800
- * @suppress {unusedLocalVariables} f is only used for nested messages
3801
- */
3802
- proto.Auth.AccountProto.AccountClusterRoleRequest.serializeBinaryToWriter = function(message, writer) {
3803
- var f = undefined;
3804
- f = message.getId();
3805
- if (f !== 0) {
3806
- writer.writeInt64(
3807
- 1,
3808
- f
3809
- );
3810
- }
3811
- f = message.getRoleId();
3812
- if (f !== 0) {
3813
- writer.writeInt32(
3814
- 2,
3815
- f
3816
- );
3817
- }
3818
- };
3819
-
3820
-
3821
- /**
3822
- * optional int64 id = 1;
3823
- * @return {number}
3824
- */
3825
- proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.getId = function() {
3826
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3827
- };
3828
-
3829
-
3830
- /**
3831
- * @param {number} value
3832
- * @return {!proto.Auth.AccountProto.AccountClusterRoleRequest} returns this
3833
- */
3834
- proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.setId = function(value) {
3835
- return jspb.Message.setProto3IntField(this, 1, value);
3836
- };
3837
-
3838
-
3839
- /**
3840
- * optional int32 role_id = 2;
3841
- * @return {number}
3842
- */
3843
- proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.getRoleId = function() {
3844
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3845
- };
3846
-
3847
-
3848
- /**
3849
- * @param {number} value
3850
- * @return {!proto.Auth.AccountProto.AccountClusterRoleRequest} returns this
3851
- */
3852
- proto.Auth.AccountProto.AccountClusterRoleRequest.prototype.setRoleId = function(value) {
3853
- return jspb.Message.setProto3IntField(this, 2, value);
3854
- };
3855
-
3856
-
3857
- /**
3858
- * optional int64 id = 1;
3859
- * @return {number}
3860
- */
3861
- proto.Auth.AccountProto.prototype.getId = function() {
3862
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3863
- };
3864
-
3865
-
3866
- /**
3867
- * @param {number} value
3868
- * @return {!proto.Auth.AccountProto} returns this
3869
- */
3870
- proto.Auth.AccountProto.prototype.setId = function(value) {
3871
- return jspb.Message.setProto3IntField(this, 1, value);
3872
- };
3873
-
3874
-
3875
- /**
3876
- * optional string email = 2;
3877
- * @return {string}
3878
- */
3879
- proto.Auth.AccountProto.prototype.getEmail = function() {
3880
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3881
- };
3882
-
3883
-
3884
- /**
3885
- * @param {string} value
3886
- * @return {!proto.Auth.AccountProto} returns this
3887
- */
3888
- proto.Auth.AccountProto.prototype.setEmail = function(value) {
3889
- return jspb.Message.setProto3StringField(this, 2, value);
3890
- };
3891
-
3892
-
3893
- /**
3894
- * optional string phone = 3;
3895
- * @return {string}
3896
- */
3897
- proto.Auth.AccountProto.prototype.getPhone = function() {
3898
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3899
- };
3900
-
3901
-
3902
- /**
3903
- * @param {string} value
3904
- * @return {!proto.Auth.AccountProto} returns this
3905
- */
3906
- proto.Auth.AccountProto.prototype.setPhone = function(value) {
3907
- return jspb.Message.setProto3StringField(this, 3, value);
3908
- };
3909
-
3910
-
3911
- /**
3912
- * optional string first_name = 4;
3913
- * @return {string}
3914
- */
3915
- proto.Auth.AccountProto.prototype.getFirstName = function() {
3916
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3917
- };
3918
-
3919
-
3920
- /**
3921
- * @param {string} value
3922
- * @return {!proto.Auth.AccountProto} returns this
3923
- */
3924
- proto.Auth.AccountProto.prototype.setFirstName = function(value) {
3925
- return jspb.Message.setProto3StringField(this, 4, value);
3926
- };
3927
-
3928
-
3929
- /**
3930
- * optional string last_name = 5;
3931
- * @return {string}
3932
- */
3933
- proto.Auth.AccountProto.prototype.getLastName = function() {
3934
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
3935
- };
3936
-
3937
-
3938
- /**
3939
- * @param {string} value
3940
- * @return {!proto.Auth.AccountProto} returns this
3941
- */
3942
- proto.Auth.AccountProto.prototype.setLastName = function(value) {
3943
- return jspb.Message.setProto3StringField(this, 5, value);
3944
- };
3945
-
3946
-
3947
- /**
3948
- * optional string locale = 6;
3949
- * @return {string}
3950
- */
3951
- proto.Auth.AccountProto.prototype.getLocale = function() {
3952
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
3953
- };
3954
-
3955
-
3956
- /**
3957
- * @param {string} value
3958
- * @return {!proto.Auth.AccountProto} returns this
3959
- */
3960
- proto.Auth.AccountProto.prototype.setLocale = function(value) {
3961
- return jspb.Message.setProto3StringField(this, 6, value);
3962
- };
3963
-
3964
-
3965
- /**
3966
- * optional string company = 7;
3967
- * @return {string}
3968
- */
3969
- proto.Auth.AccountProto.prototype.getCompany = function() {
3970
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
3971
- };
3972
-
3973
-
3974
- /**
3975
- * @param {string} value
3976
- * @return {!proto.Auth.AccountProto} returns this
3977
- */
3978
- proto.Auth.AccountProto.prototype.setCompany = function(value) {
3979
- return jspb.Message.setProto3StringField(this, 7, value);
3980
- };
3981
-
3982
-
3983
- goog.object.extend(exports, proto.Auth);