@aceplus/smartace-api 1.3.0-alpha.124 → 1.3.0-alpha.125

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 (209) 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 -521
  7. package/auth.account_pb.js +0 -3953
  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 -157
  11. package/auth.app_account_pb.js +0 -1155
  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 -165
  15. package/auth.app_authn_pb.js +0 -1180
  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 -235
  35. package/auth.email_pb.js +0 -1632
  36. package/auth.email_pb_service.d.ts +0 -102
  37. package/auth.email_pb_service.js +0 -142
  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 -80
  43. package/auth.sms_pb.js +0 -577
  44. package/auth.sms_pb_service.d.ts +0 -83
  45. package/auth.sms_pb_service.js +0 -102
  46. package/google/api/annotations_pb.d.ts +0 -9
  47. package/google/api/annotations_pb.js +0 -54
  48. package/google/api/annotations_pb_service.d.ts +0 -3
  49. package/google/api/annotations_pb_service.js +0 -3
  50. package/google/api/auth_pb.d.ts +0 -150
  51. package/google/api/auth_pb.js +0 -1160
  52. package/google/api/auth_pb_service.d.ts +0 -3
  53. package/google/api/auth_pb_service.js +0 -3
  54. package/google/api/backend_pb.d.ts +0 -59
  55. package/google/api/backend_pb.js +0 -448
  56. package/google/api/backend_pb_service.d.ts +0 -3
  57. package/google/api/backend_pb_service.js +0 -3
  58. package/google/api/billing_pb.d.ts +0 -54
  59. package/google/api/billing_pb.js +0 -416
  60. package/google/api/billing_pb_service.d.ts +0 -3
  61. package/google/api/billing_pb_service.js +0 -3
  62. package/google/api/client_pb.d.ts +0 -12
  63. package/google/api/client_pb.js +0 -104
  64. package/google/api/client_pb_service.d.ts +0 -3
  65. package/google/api/client_pb_service.js +0 -3
  66. package/google/api/config_change_pb.d.ts +0 -72
  67. package/google/api/config_change_pb.js +0 -489
  68. package/google/api/config_change_pb_service.d.ts +0 -3
  69. package/google/api/config_change_pb_service.js +0 -3
  70. package/google/api/consumer_pb.d.ts +0 -65
  71. package/google/api/consumer_pb.js +0 -430
  72. package/google/api/consumer_pb_service.d.ts +0 -3
  73. package/google/api/consumer_pb_service.js +0 -3
  74. package/google/api/context_pb.d.ts +0 -59
  75. package/google/api/context_pb.js +0 -463
  76. package/google/api/context_pb_service.d.ts +0 -3
  77. package/google/api/context_pb_service.js +0 -3
  78. package/google/api/control_pb.d.ts +0 -25
  79. package/google/api/control_pb.js +0 -176
  80. package/google/api/control_pb_service.d.ts +0 -3
  81. package/google/api/control_pb_service.js +0 -3
  82. package/google/api/distribution_pb.d.ts +0 -235
  83. package/google/api/distribution_pb.js +0 -1805
  84. package/google/api/distribution_pb_service.d.ts +0 -3
  85. package/google/api/distribution_pb_service.js +0 -3
  86. package/google/api/documentation_pb.d.ts +0 -103
  87. package/google/api/documentation_pb.js +0 -803
  88. package/google/api/documentation_pb_service.d.ts +0 -3
  89. package/google/api/documentation_pb_service.js +0 -3
  90. package/google/api/endpoint_pb.d.ts +0 -46
  91. package/google/api/endpoint_pb.js +0 -343
  92. package/google/api/endpoint_pb_service.d.ts +0 -3
  93. package/google/api/endpoint_pb_service.js +0 -3
  94. package/google/api/error_reason_pb.d.ts +0 -40
  95. package/google/api/error_reason_pb.js +0 -61
  96. package/google/api/error_reason_pb_service.d.ts +0 -3
  97. package/google/api/error_reason_pb_service.js +0 -3
  98. package/google/api/field_behavior_pb.d.ts +0 -20
  99. package/google/api/field_behavior_pb.js +0 -66
  100. package/google/api/field_behavior_pb_service.d.ts +0 -3
  101. package/google/api/field_behavior_pb_service.js +0 -3
  102. package/google/api/http_pb.d.ts +0 -136
  103. package/google/api/http_pb.js +0 -1012
  104. package/google/api/http_pb_service.d.ts +0 -3
  105. package/google/api/http_pb_service.js +0 -3
  106. package/google/api/httpbody_pb.d.ts +0 -38
  107. package/google/api/httpbody_pb.js +0 -292
  108. package/google/api/httpbody_pb_service.d.ts +0 -3
  109. package/google/api/httpbody_pb_service.js +0 -3
  110. package/google/api/label_pb.d.ts +0 -41
  111. package/google/api/label_pb.js +0 -246
  112. package/google/api/label_pb_service.d.ts +0 -3
  113. package/google/api/label_pb_service.js +0 -3
  114. package/google/api/launch_stage_pb.d.ts +0 -16
  115. package/google/api/launch_stage_pb.js +0 -37
  116. package/google/api/launch_stage_pb_service.d.ts +0 -3
  117. package/google/api/launch_stage_pb_service.js +0 -3
  118. package/google/api/log_pb.d.ts +0 -40
  119. package/google/api/log_pb.js +0 -298
  120. package/google/api/log_pb_service.d.ts +0 -3
  121. package/google/api/log_pb_service.js +0 -3
  122. package/google/api/logging_pb.d.ts +0 -60
  123. package/google/api/logging_pb.js +0 -469
  124. package/google/api/logging_pb_service.d.ts +0 -3
  125. package/google/api/logging_pb_service.js +0 -3
  126. package/google/api/metric_pb.d.ts +0 -100
  127. package/google/api/metric_pb.js +0 -629
  128. package/google/api/metric_pb_service.d.ts +0 -3
  129. package/google/api/metric_pb_service.js +0 -3
  130. package/google/api/monitored_resource_pb.d.ts +0 -93
  131. package/google/api/monitored_resource_pb.js +0 -723
  132. package/google/api/monitored_resource_pb_service.d.ts +0 -3
  133. package/google/api/monitored_resource_pb_service.js +0 -3
  134. package/google/api/monitoring_pb.d.ts +0 -60
  135. package/google/api/monitoring_pb.js +0 -469
  136. package/google/api/monitoring_pb_service.d.ts +0 -3
  137. package/google/api/monitoring_pb_service.js +0 -3
  138. package/google/api/policy_pb.d.ts +0 -64
  139. package/google/api/policy_pb.js +0 -502
  140. package/google/api/policy_pb_service.d.ts +0 -3
  141. package/google/api/policy_pb_service.js +0 -3
  142. package/google/api/quota_pb.d.ts +0 -112
  143. package/google/api/quota_pb.js +0 -873
  144. package/google/api/quota_pb_service.d.ts +0 -3
  145. package/google/api/quota_pb_service.js +0 -3
  146. package/google/api/resource_pb.d.ts +0 -99
  147. package/google/api/resource_pb.js +0 -684
  148. package/google/api/resource_pb_service.d.ts +0 -3
  149. package/google/api/resource_pb_service.js +0 -3
  150. package/google/api/routing_pb.d.ts +0 -54
  151. package/google/api/routing_pb.js +0 -416
  152. package/google/api/routing_pb_service.d.ts +0 -3
  153. package/google/api/routing_pb_service.js +0 -3
  154. package/google/api/service_pb.d.ts +0 -184
  155. package/google/api/service_pb.js +0 -1400
  156. package/google/api/service_pb_service.d.ts +0 -3
  157. package/google/api/service_pb_service.js +0 -3
  158. package/google/api/source_info_pb.d.ts +0 -28
  159. package/google/api/source_info_pb.js +0 -208
  160. package/google/api/source_info_pb_service.d.ts +0 -3
  161. package/google/api/source_info_pb_service.js +0 -3
  162. package/google/api/system_parameter_pb.d.ts +0 -81
  163. package/google/api/system_parameter_pb.js +0 -630
  164. package/google/api/system_parameter_pb_service.d.ts +0 -3
  165. package/google/api/system_parameter_pb_service.js +0 -3
  166. package/google/api/usage_pb.d.ts +0 -66
  167. package/google/api/usage_pb.js +0 -499
  168. package/google/api/usage_pb_service.d.ts +0 -3
  169. package/google/api/usage_pb_service.js +0 -3
  170. package/google/api/visibility_pb.d.ts +0 -64
  171. package/google/api/visibility_pb.js +0 -546
  172. package/google/api/visibility_pb_service.d.ts +0 -3
  173. package/google/api/visibility_pb_service.js +0 -3
  174. package/platform.activity_log_pb.d.ts +0 -177
  175. package/platform.activity_log_pb.js +0 -1294
  176. package/platform.activity_log_pb_service.d.ts +0 -82
  177. package/platform.activity_log_pb_service.js +0 -101
  178. package/platform.client_pb.d.ts +0 -308
  179. package/platform.client_pb.js +0 -2339
  180. package/platform.client_pb_service.d.ts +0 -158
  181. package/platform.client_pb_service.js +0 -261
  182. package/platform.group_pb.d.ts +0 -195
  183. package/platform.group_pb.js +0 -1476
  184. package/platform.group_pb_service.d.ts +0 -139
  185. package/platform.group_pb_service.js +0 -221
  186. package/platform.local_account_pb.d.ts +0 -315
  187. package/platform.local_account_pb.js +0 -2372
  188. package/platform.local_account_pb_service.d.ts +0 -293
  189. package/platform.local_account_pb_service.js +0 -543
  190. package/platform.local_distribution_pb.d.ts +0 -69
  191. package/platform.local_distribution_pb.js +0 -506
  192. package/platform.local_distribution_pb_service.d.ts +0 -63
  193. package/platform.local_distribution_pb_service.js +0 -61
  194. package/platform.location_pb.d.ts +0 -271
  195. package/platform.location_pb.js +0 -2046
  196. package/platform.location_pb_service.d.ts +0 -139
  197. package/platform.location_pb_service.js +0 -221
  198. package/platform.pagination_pb.d.ts +0 -37
  199. package/platform.pagination_pb.js +0 -266
  200. package/platform.pagination_pb_service.d.ts +0 -3
  201. package/platform.pagination_pb_service.js +0 -3
  202. package/spic.cabinet_pb.d.ts +0 -1296
  203. package/spic.cabinet_pb.js +0 -9667
  204. package/spic.cabinet_pb_service.d.ts +0 -359
  205. package/spic.cabinet_pb_service.js +0 -677
  206. package/spic.contractor_pb.d.ts +0 -195
  207. package/spic.contractor_pb.js +0 -1476
  208. package/spic.contractor_pb_service.d.ts +0 -139
  209. package/spic.contractor_pb_service.js +0 -221
@@ -1,1180 +0,0 @@
1
- // source: auth.app_authn.proto
2
- /**
3
- * @fileoverview
4
- * @enhanceable
5
- * @suppress {missingRequire} reports error on implicit type usages.
6
- * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
- * field starts with 'MSG_' and isn't a translatable message.
8
- * @public
9
- */
10
- // GENERATED CODE -- DO NOT EDIT!
11
- /* eslint-disable */
12
- // @ts-nocheck
13
-
14
- var jspb = require('google-protobuf');
15
- var goog = jspb;
16
- var global =
17
- (typeof globalThis !== 'undefined' && globalThis) ||
18
- (typeof window !== 'undefined' && window) ||
19
- (typeof global !== 'undefined' && global) ||
20
- (typeof self !== 'undefined' && self) ||
21
- (function () { return this; }).call(null) ||
22
- Function('return this')();
23
-
24
- var google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js');
25
- goog.object.extend(proto, google_protobuf_duration_pb);
26
- var google_api_annotations_pb = require('./google/api/annotations_pb.js');
27
- goog.object.extend(proto, google_api_annotations_pb);
28
- var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
29
- goog.object.extend(proto, google_protobuf_empty_pb);
30
- goog.exportSymbol('proto.Auth.AppAuthnProto', null, global);
31
- goog.exportSymbol('proto.Auth.AppAuthnProto.AppType', null, global);
32
- goog.exportSymbol('proto.Auth.AppAuthnProto.SmsLoginRequest', null, global);
33
- goog.exportSymbol('proto.Auth.AppAuthnProto.SmsRefreshRequest', null, global);
34
- goog.exportSymbol('proto.Auth.AppAuthnProto.SmsVerifyTokenRequest', null, global);
35
- goog.exportSymbol('proto.Auth.AppAuthnProto.VerifySecretRequest', null, global);
36
- /**
37
- * Generated by JsPbCodeGenerator.
38
- * @param {Array=} opt_data Optional initial data array, typically from a
39
- * server response, or constructed directly in Javascript. The array is used
40
- * in place and becomes part of the constructed object. It is not cloned.
41
- * If no data is provided, the constructed object will be empty, but still
42
- * valid.
43
- * @extends {jspb.Message}
44
- * @constructor
45
- */
46
- proto.Auth.AppAuthnProto = function(opt_data) {
47
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
48
- };
49
- goog.inherits(proto.Auth.AppAuthnProto, jspb.Message);
50
- if (goog.DEBUG && !COMPILED) {
51
- /**
52
- * @public
53
- * @override
54
- */
55
- proto.Auth.AppAuthnProto.displayName = 'proto.Auth.AppAuthnProto';
56
- }
57
- /**
58
- * Generated by JsPbCodeGenerator.
59
- * @param {Array=} opt_data Optional initial data array, typically from a
60
- * server response, or constructed directly in Javascript. The array is used
61
- * in place and becomes part of the constructed object. It is not cloned.
62
- * If no data is provided, the constructed object will be empty, but still
63
- * valid.
64
- * @extends {jspb.Message}
65
- * @constructor
66
- */
67
- proto.Auth.AppAuthnProto.SmsLoginRequest = function(opt_data) {
68
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
69
- };
70
- goog.inherits(proto.Auth.AppAuthnProto.SmsLoginRequest, jspb.Message);
71
- if (goog.DEBUG && !COMPILED) {
72
- /**
73
- * @public
74
- * @override
75
- */
76
- proto.Auth.AppAuthnProto.SmsLoginRequest.displayName = 'proto.Auth.AppAuthnProto.SmsLoginRequest';
77
- }
78
- /**
79
- * Generated by JsPbCodeGenerator.
80
- * @param {Array=} opt_data Optional initial data array, typically from a
81
- * server response, or constructed directly in Javascript. The array is used
82
- * in place and becomes part of the constructed object. It is not cloned.
83
- * If no data is provided, the constructed object will be empty, but still
84
- * valid.
85
- * @extends {jspb.Message}
86
- * @constructor
87
- */
88
- proto.Auth.AppAuthnProto.SmsRefreshRequest = function(opt_data) {
89
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
90
- };
91
- goog.inherits(proto.Auth.AppAuthnProto.SmsRefreshRequest, jspb.Message);
92
- if (goog.DEBUG && !COMPILED) {
93
- /**
94
- * @public
95
- * @override
96
- */
97
- proto.Auth.AppAuthnProto.SmsRefreshRequest.displayName = 'proto.Auth.AppAuthnProto.SmsRefreshRequest';
98
- }
99
- /**
100
- * Generated by JsPbCodeGenerator.
101
- * @param {Array=} opt_data Optional initial data array, typically from a
102
- * server response, or constructed directly in Javascript. The array is used
103
- * in place and becomes part of the constructed object. It is not cloned.
104
- * If no data is provided, the constructed object will be empty, but still
105
- * valid.
106
- * @extends {jspb.Message}
107
- * @constructor
108
- */
109
- proto.Auth.AppAuthnProto.SmsVerifyTokenRequest = function(opt_data) {
110
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
111
- };
112
- goog.inherits(proto.Auth.AppAuthnProto.SmsVerifyTokenRequest, jspb.Message);
113
- if (goog.DEBUG && !COMPILED) {
114
- /**
115
- * @public
116
- * @override
117
- */
118
- proto.Auth.AppAuthnProto.SmsVerifyTokenRequest.displayName = 'proto.Auth.AppAuthnProto.SmsVerifyTokenRequest';
119
- }
120
- /**
121
- * Generated by JsPbCodeGenerator.
122
- * @param {Array=} opt_data Optional initial data array, typically from a
123
- * server response, or constructed directly in Javascript. The array is used
124
- * in place and becomes part of the constructed object. It is not cloned.
125
- * If no data is provided, the constructed object will be empty, but still
126
- * valid.
127
- * @extends {jspb.Message}
128
- * @constructor
129
- */
130
- proto.Auth.AppAuthnProto.VerifySecretRequest = function(opt_data) {
131
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
132
- };
133
- goog.inherits(proto.Auth.AppAuthnProto.VerifySecretRequest, jspb.Message);
134
- if (goog.DEBUG && !COMPILED) {
135
- /**
136
- * @public
137
- * @override
138
- */
139
- proto.Auth.AppAuthnProto.VerifySecretRequest.displayName = 'proto.Auth.AppAuthnProto.VerifySecretRequest';
140
- }
141
-
142
-
143
-
144
- if (jspb.Message.GENERATE_TO_OBJECT) {
145
- /**
146
- * Creates an object representation of this proto.
147
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
148
- * Optional fields that are not set will be set to undefined.
149
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
150
- * For the list of reserved names please see:
151
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
152
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
153
- * JSPB instance for transitional soy proto support:
154
- * http://goto/soy-param-migration
155
- * @return {!Object}
156
- */
157
- proto.Auth.AppAuthnProto.prototype.toObject = function(opt_includeInstance) {
158
- return proto.Auth.AppAuthnProto.toObject(opt_includeInstance, this);
159
- };
160
-
161
-
162
- /**
163
- * Static version of the {@see toObject} method.
164
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
165
- * the JSPB instance for transitional soy proto support:
166
- * http://goto/soy-param-migration
167
- * @param {!proto.Auth.AppAuthnProto} msg The msg instance to transform.
168
- * @return {!Object}
169
- * @suppress {unusedLocalVariables} f is only used for nested messages
170
- */
171
- proto.Auth.AppAuthnProto.toObject = function(includeInstance, msg) {
172
- var f, obj = {
173
- accessToken: jspb.Message.getFieldWithDefault(msg, 1, ""),
174
- refreshToken: jspb.Message.getFieldWithDefault(msg, 2, ""),
175
- expiresIn: (f = msg.getExpiresIn()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f)
176
- };
177
-
178
- if (includeInstance) {
179
- obj.$jspbMessageInstance = msg;
180
- }
181
- return obj;
182
- };
183
- }
184
-
185
-
186
- /**
187
- * Deserializes binary data (in protobuf wire format).
188
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
189
- * @return {!proto.Auth.AppAuthnProto}
190
- */
191
- proto.Auth.AppAuthnProto.deserializeBinary = function(bytes) {
192
- var reader = new jspb.BinaryReader(bytes);
193
- var msg = new proto.Auth.AppAuthnProto;
194
- return proto.Auth.AppAuthnProto.deserializeBinaryFromReader(msg, reader);
195
- };
196
-
197
-
198
- /**
199
- * Deserializes binary data (in protobuf wire format) from the
200
- * given reader into the given message object.
201
- * @param {!proto.Auth.AppAuthnProto} msg The message object to deserialize into.
202
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
203
- * @return {!proto.Auth.AppAuthnProto}
204
- */
205
- proto.Auth.AppAuthnProto.deserializeBinaryFromReader = function(msg, reader) {
206
- while (reader.nextField()) {
207
- if (reader.isEndGroup()) {
208
- break;
209
- }
210
- var field = reader.getFieldNumber();
211
- switch (field) {
212
- case 1:
213
- var value = /** @type {string} */ (reader.readString());
214
- msg.setAccessToken(value);
215
- break;
216
- case 2:
217
- var value = /** @type {string} */ (reader.readString());
218
- msg.setRefreshToken(value);
219
- break;
220
- case 3:
221
- var value = new google_protobuf_duration_pb.Duration;
222
- reader.readMessage(value,google_protobuf_duration_pb.Duration.deserializeBinaryFromReader);
223
- msg.setExpiresIn(value);
224
- break;
225
- default:
226
- reader.skipField();
227
- break;
228
- }
229
- }
230
- return msg;
231
- };
232
-
233
-
234
- /**
235
- * Serializes the message to binary data (in protobuf wire format).
236
- * @return {!Uint8Array}
237
- */
238
- proto.Auth.AppAuthnProto.prototype.serializeBinary = function() {
239
- var writer = new jspb.BinaryWriter();
240
- proto.Auth.AppAuthnProto.serializeBinaryToWriter(this, writer);
241
- return writer.getResultBuffer();
242
- };
243
-
244
-
245
- /**
246
- * Serializes the given message to binary data (in protobuf wire
247
- * format), writing to the given BinaryWriter.
248
- * @param {!proto.Auth.AppAuthnProto} message
249
- * @param {!jspb.BinaryWriter} writer
250
- * @suppress {unusedLocalVariables} f is only used for nested messages
251
- */
252
- proto.Auth.AppAuthnProto.serializeBinaryToWriter = function(message, writer) {
253
- var f = undefined;
254
- f = message.getAccessToken();
255
- if (f.length > 0) {
256
- writer.writeString(
257
- 1,
258
- f
259
- );
260
- }
261
- f = message.getRefreshToken();
262
- if (f.length > 0) {
263
- writer.writeString(
264
- 2,
265
- f
266
- );
267
- }
268
- f = message.getExpiresIn();
269
- if (f != null) {
270
- writer.writeMessage(
271
- 3,
272
- f,
273
- google_protobuf_duration_pb.Duration.serializeBinaryToWriter
274
- );
275
- }
276
- };
277
-
278
-
279
- /**
280
- * @enum {number}
281
- */
282
- proto.Auth.AppAuthnProto.AppType = {
283
- APP_TYPE_ACEPLUSKEY: 0,
284
- APP_TYPE_ACEFIT: 1
285
- };
286
-
287
-
288
-
289
-
290
- if (jspb.Message.GENERATE_TO_OBJECT) {
291
- /**
292
- * Creates an object representation of this proto.
293
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
294
- * Optional fields that are not set will be set to undefined.
295
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
296
- * For the list of reserved names please see:
297
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
298
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
299
- * JSPB instance for transitional soy proto support:
300
- * http://goto/soy-param-migration
301
- * @return {!Object}
302
- */
303
- proto.Auth.AppAuthnProto.SmsLoginRequest.prototype.toObject = function(opt_includeInstance) {
304
- return proto.Auth.AppAuthnProto.SmsLoginRequest.toObject(opt_includeInstance, this);
305
- };
306
-
307
-
308
- /**
309
- * Static version of the {@see toObject} method.
310
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
311
- * the JSPB instance for transitional soy proto support:
312
- * http://goto/soy-param-migration
313
- * @param {!proto.Auth.AppAuthnProto.SmsLoginRequest} msg The msg instance to transform.
314
- * @return {!Object}
315
- * @suppress {unusedLocalVariables} f is only used for nested messages
316
- */
317
- proto.Auth.AppAuthnProto.SmsLoginRequest.toObject = function(includeInstance, msg) {
318
- var f, obj = {
319
- phone: jspb.Message.getFieldWithDefault(msg, 1, ""),
320
- locale: jspb.Message.getFieldWithDefault(msg, 2, "")
321
- };
322
-
323
- if (includeInstance) {
324
- obj.$jspbMessageInstance = msg;
325
- }
326
- return obj;
327
- };
328
- }
329
-
330
-
331
- /**
332
- * Deserializes binary data (in protobuf wire format).
333
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
334
- * @return {!proto.Auth.AppAuthnProto.SmsLoginRequest}
335
- */
336
- proto.Auth.AppAuthnProto.SmsLoginRequest.deserializeBinary = function(bytes) {
337
- var reader = new jspb.BinaryReader(bytes);
338
- var msg = new proto.Auth.AppAuthnProto.SmsLoginRequest;
339
- return proto.Auth.AppAuthnProto.SmsLoginRequest.deserializeBinaryFromReader(msg, reader);
340
- };
341
-
342
-
343
- /**
344
- * Deserializes binary data (in protobuf wire format) from the
345
- * given reader into the given message object.
346
- * @param {!proto.Auth.AppAuthnProto.SmsLoginRequest} msg The message object to deserialize into.
347
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
348
- * @return {!proto.Auth.AppAuthnProto.SmsLoginRequest}
349
- */
350
- proto.Auth.AppAuthnProto.SmsLoginRequest.deserializeBinaryFromReader = function(msg, reader) {
351
- while (reader.nextField()) {
352
- if (reader.isEndGroup()) {
353
- break;
354
- }
355
- var field = reader.getFieldNumber();
356
- switch (field) {
357
- case 1:
358
- var value = /** @type {string} */ (reader.readString());
359
- msg.setPhone(value);
360
- break;
361
- case 2:
362
- var value = /** @type {string} */ (reader.readString());
363
- msg.setLocale(value);
364
- break;
365
- default:
366
- reader.skipField();
367
- break;
368
- }
369
- }
370
- return msg;
371
- };
372
-
373
-
374
- /**
375
- * Serializes the message to binary data (in protobuf wire format).
376
- * @return {!Uint8Array}
377
- */
378
- proto.Auth.AppAuthnProto.SmsLoginRequest.prototype.serializeBinary = function() {
379
- var writer = new jspb.BinaryWriter();
380
- proto.Auth.AppAuthnProto.SmsLoginRequest.serializeBinaryToWriter(this, writer);
381
- return writer.getResultBuffer();
382
- };
383
-
384
-
385
- /**
386
- * Serializes the given message to binary data (in protobuf wire
387
- * format), writing to the given BinaryWriter.
388
- * @param {!proto.Auth.AppAuthnProto.SmsLoginRequest} message
389
- * @param {!jspb.BinaryWriter} writer
390
- * @suppress {unusedLocalVariables} f is only used for nested messages
391
- */
392
- proto.Auth.AppAuthnProto.SmsLoginRequest.serializeBinaryToWriter = function(message, writer) {
393
- var f = undefined;
394
- f = message.getPhone();
395
- if (f.length > 0) {
396
- writer.writeString(
397
- 1,
398
- f
399
- );
400
- }
401
- f = message.getLocale();
402
- if (f.length > 0) {
403
- writer.writeString(
404
- 2,
405
- f
406
- );
407
- }
408
- };
409
-
410
-
411
- /**
412
- * optional string phone = 1;
413
- * @return {string}
414
- */
415
- proto.Auth.AppAuthnProto.SmsLoginRequest.prototype.getPhone = function() {
416
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
417
- };
418
-
419
-
420
- /**
421
- * @param {string} value
422
- * @return {!proto.Auth.AppAuthnProto.SmsLoginRequest} returns this
423
- */
424
- proto.Auth.AppAuthnProto.SmsLoginRequest.prototype.setPhone = function(value) {
425
- return jspb.Message.setProto3StringField(this, 1, value);
426
- };
427
-
428
-
429
- /**
430
- * optional string locale = 2;
431
- * @return {string}
432
- */
433
- proto.Auth.AppAuthnProto.SmsLoginRequest.prototype.getLocale = function() {
434
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
435
- };
436
-
437
-
438
- /**
439
- * @param {string} value
440
- * @return {!proto.Auth.AppAuthnProto.SmsLoginRequest} returns this
441
- */
442
- proto.Auth.AppAuthnProto.SmsLoginRequest.prototype.setLocale = function(value) {
443
- return jspb.Message.setProto3StringField(this, 2, value);
444
- };
445
-
446
-
447
-
448
-
449
-
450
- if (jspb.Message.GENERATE_TO_OBJECT) {
451
- /**
452
- * Creates an object representation of this proto.
453
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
454
- * Optional fields that are not set will be set to undefined.
455
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
456
- * For the list of reserved names please see:
457
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
458
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
459
- * JSPB instance for transitional soy proto support:
460
- * http://goto/soy-param-migration
461
- * @return {!Object}
462
- */
463
- proto.Auth.AppAuthnProto.SmsRefreshRequest.prototype.toObject = function(opt_includeInstance) {
464
- return proto.Auth.AppAuthnProto.SmsRefreshRequest.toObject(opt_includeInstance, this);
465
- };
466
-
467
-
468
- /**
469
- * Static version of the {@see toObject} method.
470
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
471
- * the JSPB instance for transitional soy proto support:
472
- * http://goto/soy-param-migration
473
- * @param {!proto.Auth.AppAuthnProto.SmsRefreshRequest} msg The msg instance to transform.
474
- * @return {!Object}
475
- * @suppress {unusedLocalVariables} f is only used for nested messages
476
- */
477
- proto.Auth.AppAuthnProto.SmsRefreshRequest.toObject = function(includeInstance, msg) {
478
- var f, obj = {
479
- phone: jspb.Message.getFieldWithDefault(msg, 1, ""),
480
- locale: jspb.Message.getFieldWithDefault(msg, 2, "")
481
- };
482
-
483
- if (includeInstance) {
484
- obj.$jspbMessageInstance = msg;
485
- }
486
- return obj;
487
- };
488
- }
489
-
490
-
491
- /**
492
- * Deserializes binary data (in protobuf wire format).
493
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
494
- * @return {!proto.Auth.AppAuthnProto.SmsRefreshRequest}
495
- */
496
- proto.Auth.AppAuthnProto.SmsRefreshRequest.deserializeBinary = function(bytes) {
497
- var reader = new jspb.BinaryReader(bytes);
498
- var msg = new proto.Auth.AppAuthnProto.SmsRefreshRequest;
499
- return proto.Auth.AppAuthnProto.SmsRefreshRequest.deserializeBinaryFromReader(msg, reader);
500
- };
501
-
502
-
503
- /**
504
- * Deserializes binary data (in protobuf wire format) from the
505
- * given reader into the given message object.
506
- * @param {!proto.Auth.AppAuthnProto.SmsRefreshRequest} msg The message object to deserialize into.
507
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
508
- * @return {!proto.Auth.AppAuthnProto.SmsRefreshRequest}
509
- */
510
- proto.Auth.AppAuthnProto.SmsRefreshRequest.deserializeBinaryFromReader = function(msg, reader) {
511
- while (reader.nextField()) {
512
- if (reader.isEndGroup()) {
513
- break;
514
- }
515
- var field = reader.getFieldNumber();
516
- switch (field) {
517
- case 1:
518
- var value = /** @type {string} */ (reader.readString());
519
- msg.setPhone(value);
520
- break;
521
- case 2:
522
- var value = /** @type {string} */ (reader.readString());
523
- msg.setLocale(value);
524
- break;
525
- default:
526
- reader.skipField();
527
- break;
528
- }
529
- }
530
- return msg;
531
- };
532
-
533
-
534
- /**
535
- * Serializes the message to binary data (in protobuf wire format).
536
- * @return {!Uint8Array}
537
- */
538
- proto.Auth.AppAuthnProto.SmsRefreshRequest.prototype.serializeBinary = function() {
539
- var writer = new jspb.BinaryWriter();
540
- proto.Auth.AppAuthnProto.SmsRefreshRequest.serializeBinaryToWriter(this, writer);
541
- return writer.getResultBuffer();
542
- };
543
-
544
-
545
- /**
546
- * Serializes the given message to binary data (in protobuf wire
547
- * format), writing to the given BinaryWriter.
548
- * @param {!proto.Auth.AppAuthnProto.SmsRefreshRequest} message
549
- * @param {!jspb.BinaryWriter} writer
550
- * @suppress {unusedLocalVariables} f is only used for nested messages
551
- */
552
- proto.Auth.AppAuthnProto.SmsRefreshRequest.serializeBinaryToWriter = function(message, writer) {
553
- var f = undefined;
554
- f = message.getPhone();
555
- if (f.length > 0) {
556
- writer.writeString(
557
- 1,
558
- f
559
- );
560
- }
561
- f = message.getLocale();
562
- if (f.length > 0) {
563
- writer.writeString(
564
- 2,
565
- f
566
- );
567
- }
568
- };
569
-
570
-
571
- /**
572
- * optional string phone = 1;
573
- * @return {string}
574
- */
575
- proto.Auth.AppAuthnProto.SmsRefreshRequest.prototype.getPhone = function() {
576
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
577
- };
578
-
579
-
580
- /**
581
- * @param {string} value
582
- * @return {!proto.Auth.AppAuthnProto.SmsRefreshRequest} returns this
583
- */
584
- proto.Auth.AppAuthnProto.SmsRefreshRequest.prototype.setPhone = function(value) {
585
- return jspb.Message.setProto3StringField(this, 1, value);
586
- };
587
-
588
-
589
- /**
590
- * optional string locale = 2;
591
- * @return {string}
592
- */
593
- proto.Auth.AppAuthnProto.SmsRefreshRequest.prototype.getLocale = function() {
594
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
595
- };
596
-
597
-
598
- /**
599
- * @param {string} value
600
- * @return {!proto.Auth.AppAuthnProto.SmsRefreshRequest} returns this
601
- */
602
- proto.Auth.AppAuthnProto.SmsRefreshRequest.prototype.setLocale = function(value) {
603
- return jspb.Message.setProto3StringField(this, 2, value);
604
- };
605
-
606
-
607
-
608
-
609
-
610
- if (jspb.Message.GENERATE_TO_OBJECT) {
611
- /**
612
- * Creates an object representation of this proto.
613
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
614
- * Optional fields that are not set will be set to undefined.
615
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
616
- * For the list of reserved names please see:
617
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
618
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
619
- * JSPB instance for transitional soy proto support:
620
- * http://goto/soy-param-migration
621
- * @return {!Object}
622
- */
623
- proto.Auth.AppAuthnProto.SmsVerifyTokenRequest.prototype.toObject = function(opt_includeInstance) {
624
- return proto.Auth.AppAuthnProto.SmsVerifyTokenRequest.toObject(opt_includeInstance, this);
625
- };
626
-
627
-
628
- /**
629
- * Static version of the {@see toObject} method.
630
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
631
- * the JSPB instance for transitional soy proto support:
632
- * http://goto/soy-param-migration
633
- * @param {!proto.Auth.AppAuthnProto.SmsVerifyTokenRequest} msg The msg instance to transform.
634
- * @return {!Object}
635
- * @suppress {unusedLocalVariables} f is only used for nested messages
636
- */
637
- proto.Auth.AppAuthnProto.SmsVerifyTokenRequest.toObject = function(includeInstance, msg) {
638
- var f, obj = {
639
- phone: jspb.Message.getFieldWithDefault(msg, 1, ""),
640
- token: jspb.Message.getFieldWithDefault(msg, 2, ""),
641
- pushToken: jspb.Message.getFieldWithDefault(msg, 3, ""),
642
- uid: jspb.Message.getFieldWithDefault(msg, 4, ""),
643
- appType: jspb.Message.getFieldWithDefault(msg, 5, 0)
644
- };
645
-
646
- if (includeInstance) {
647
- obj.$jspbMessageInstance = msg;
648
- }
649
- return obj;
650
- };
651
- }
652
-
653
-
654
- /**
655
- * Deserializes binary data (in protobuf wire format).
656
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
657
- * @return {!proto.Auth.AppAuthnProto.SmsVerifyTokenRequest}
658
- */
659
- proto.Auth.AppAuthnProto.SmsVerifyTokenRequest.deserializeBinary = function(bytes) {
660
- var reader = new jspb.BinaryReader(bytes);
661
- var msg = new proto.Auth.AppAuthnProto.SmsVerifyTokenRequest;
662
- return proto.Auth.AppAuthnProto.SmsVerifyTokenRequest.deserializeBinaryFromReader(msg, reader);
663
- };
664
-
665
-
666
- /**
667
- * Deserializes binary data (in protobuf wire format) from the
668
- * given reader into the given message object.
669
- * @param {!proto.Auth.AppAuthnProto.SmsVerifyTokenRequest} msg The message object to deserialize into.
670
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
671
- * @return {!proto.Auth.AppAuthnProto.SmsVerifyTokenRequest}
672
- */
673
- proto.Auth.AppAuthnProto.SmsVerifyTokenRequest.deserializeBinaryFromReader = function(msg, reader) {
674
- while (reader.nextField()) {
675
- if (reader.isEndGroup()) {
676
- break;
677
- }
678
- var field = reader.getFieldNumber();
679
- switch (field) {
680
- case 1:
681
- var value = /** @type {string} */ (reader.readString());
682
- msg.setPhone(value);
683
- break;
684
- case 2:
685
- var value = /** @type {string} */ (reader.readString());
686
- msg.setToken(value);
687
- break;
688
- case 3:
689
- var value = /** @type {string} */ (reader.readString());
690
- msg.setPushToken(value);
691
- break;
692
- case 4:
693
- var value = /** @type {string} */ (reader.readString());
694
- msg.setUid(value);
695
- break;
696
- case 5:
697
- var value = /** @type {!proto.Auth.AppAuthnProto.AppType} */ (reader.readEnum());
698
- msg.setAppType(value);
699
- break;
700
- default:
701
- reader.skipField();
702
- break;
703
- }
704
- }
705
- return msg;
706
- };
707
-
708
-
709
- /**
710
- * Serializes the message to binary data (in protobuf wire format).
711
- * @return {!Uint8Array}
712
- */
713
- proto.Auth.AppAuthnProto.SmsVerifyTokenRequest.prototype.serializeBinary = function() {
714
- var writer = new jspb.BinaryWriter();
715
- proto.Auth.AppAuthnProto.SmsVerifyTokenRequest.serializeBinaryToWriter(this, writer);
716
- return writer.getResultBuffer();
717
- };
718
-
719
-
720
- /**
721
- * Serializes the given message to binary data (in protobuf wire
722
- * format), writing to the given BinaryWriter.
723
- * @param {!proto.Auth.AppAuthnProto.SmsVerifyTokenRequest} message
724
- * @param {!jspb.BinaryWriter} writer
725
- * @suppress {unusedLocalVariables} f is only used for nested messages
726
- */
727
- proto.Auth.AppAuthnProto.SmsVerifyTokenRequest.serializeBinaryToWriter = function(message, writer) {
728
- var f = undefined;
729
- f = message.getPhone();
730
- if (f.length > 0) {
731
- writer.writeString(
732
- 1,
733
- f
734
- );
735
- }
736
- f = message.getToken();
737
- if (f.length > 0) {
738
- writer.writeString(
739
- 2,
740
- f
741
- );
742
- }
743
- f = message.getPushToken();
744
- if (f.length > 0) {
745
- writer.writeString(
746
- 3,
747
- f
748
- );
749
- }
750
- f = message.getUid();
751
- if (f.length > 0) {
752
- writer.writeString(
753
- 4,
754
- f
755
- );
756
- }
757
- f = message.getAppType();
758
- if (f !== 0.0) {
759
- writer.writeEnum(
760
- 5,
761
- f
762
- );
763
- }
764
- };
765
-
766
-
767
- /**
768
- * optional string phone = 1;
769
- * @return {string}
770
- */
771
- proto.Auth.AppAuthnProto.SmsVerifyTokenRequest.prototype.getPhone = function() {
772
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
773
- };
774
-
775
-
776
- /**
777
- * @param {string} value
778
- * @return {!proto.Auth.AppAuthnProto.SmsVerifyTokenRequest} returns this
779
- */
780
- proto.Auth.AppAuthnProto.SmsVerifyTokenRequest.prototype.setPhone = function(value) {
781
- return jspb.Message.setProto3StringField(this, 1, value);
782
- };
783
-
784
-
785
- /**
786
- * optional string token = 2;
787
- * @return {string}
788
- */
789
- proto.Auth.AppAuthnProto.SmsVerifyTokenRequest.prototype.getToken = function() {
790
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
791
- };
792
-
793
-
794
- /**
795
- * @param {string} value
796
- * @return {!proto.Auth.AppAuthnProto.SmsVerifyTokenRequest} returns this
797
- */
798
- proto.Auth.AppAuthnProto.SmsVerifyTokenRequest.prototype.setToken = function(value) {
799
- return jspb.Message.setProto3StringField(this, 2, value);
800
- };
801
-
802
-
803
- /**
804
- * optional string push_token = 3;
805
- * @return {string}
806
- */
807
- proto.Auth.AppAuthnProto.SmsVerifyTokenRequest.prototype.getPushToken = function() {
808
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
809
- };
810
-
811
-
812
- /**
813
- * @param {string} value
814
- * @return {!proto.Auth.AppAuthnProto.SmsVerifyTokenRequest} returns this
815
- */
816
- proto.Auth.AppAuthnProto.SmsVerifyTokenRequest.prototype.setPushToken = function(value) {
817
- return jspb.Message.setProto3StringField(this, 3, value);
818
- };
819
-
820
-
821
- /**
822
- * optional string uid = 4;
823
- * @return {string}
824
- */
825
- proto.Auth.AppAuthnProto.SmsVerifyTokenRequest.prototype.getUid = function() {
826
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
827
- };
828
-
829
-
830
- /**
831
- * @param {string} value
832
- * @return {!proto.Auth.AppAuthnProto.SmsVerifyTokenRequest} returns this
833
- */
834
- proto.Auth.AppAuthnProto.SmsVerifyTokenRequest.prototype.setUid = function(value) {
835
- return jspb.Message.setProto3StringField(this, 4, value);
836
- };
837
-
838
-
839
- /**
840
- * optional AppType app_type = 5;
841
- * @return {!proto.Auth.AppAuthnProto.AppType}
842
- */
843
- proto.Auth.AppAuthnProto.SmsVerifyTokenRequest.prototype.getAppType = function() {
844
- return /** @type {!proto.Auth.AppAuthnProto.AppType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
845
- };
846
-
847
-
848
- /**
849
- * @param {!proto.Auth.AppAuthnProto.AppType} value
850
- * @return {!proto.Auth.AppAuthnProto.SmsVerifyTokenRequest} returns this
851
- */
852
- proto.Auth.AppAuthnProto.SmsVerifyTokenRequest.prototype.setAppType = function(value) {
853
- return jspb.Message.setProto3EnumField(this, 5, value);
854
- };
855
-
856
-
857
-
858
-
859
-
860
- if (jspb.Message.GENERATE_TO_OBJECT) {
861
- /**
862
- * Creates an object representation of this proto.
863
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
864
- * Optional fields that are not set will be set to undefined.
865
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
866
- * For the list of reserved names please see:
867
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
868
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
869
- * JSPB instance for transitional soy proto support:
870
- * http://goto/soy-param-migration
871
- * @return {!Object}
872
- */
873
- proto.Auth.AppAuthnProto.VerifySecretRequest.prototype.toObject = function(opt_includeInstance) {
874
- return proto.Auth.AppAuthnProto.VerifySecretRequest.toObject(opt_includeInstance, this);
875
- };
876
-
877
-
878
- /**
879
- * Static version of the {@see toObject} method.
880
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
881
- * the JSPB instance for transitional soy proto support:
882
- * http://goto/soy-param-migration
883
- * @param {!proto.Auth.AppAuthnProto.VerifySecretRequest} msg The msg instance to transform.
884
- * @return {!Object}
885
- * @suppress {unusedLocalVariables} f is only used for nested messages
886
- */
887
- proto.Auth.AppAuthnProto.VerifySecretRequest.toObject = function(includeInstance, msg) {
888
- var f, obj = {
889
- phone: jspb.Message.getFieldWithDefault(msg, 1, ""),
890
- secret: jspb.Message.getFieldWithDefault(msg, 2, ""),
891
- pushToken: jspb.Message.getFieldWithDefault(msg, 3, ""),
892
- uid: jspb.Message.getFieldWithDefault(msg, 4, ""),
893
- appType: jspb.Message.getFieldWithDefault(msg, 5, 0)
894
- };
895
-
896
- if (includeInstance) {
897
- obj.$jspbMessageInstance = msg;
898
- }
899
- return obj;
900
- };
901
- }
902
-
903
-
904
- /**
905
- * Deserializes binary data (in protobuf wire format).
906
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
907
- * @return {!proto.Auth.AppAuthnProto.VerifySecretRequest}
908
- */
909
- proto.Auth.AppAuthnProto.VerifySecretRequest.deserializeBinary = function(bytes) {
910
- var reader = new jspb.BinaryReader(bytes);
911
- var msg = new proto.Auth.AppAuthnProto.VerifySecretRequest;
912
- return proto.Auth.AppAuthnProto.VerifySecretRequest.deserializeBinaryFromReader(msg, reader);
913
- };
914
-
915
-
916
- /**
917
- * Deserializes binary data (in protobuf wire format) from the
918
- * given reader into the given message object.
919
- * @param {!proto.Auth.AppAuthnProto.VerifySecretRequest} msg The message object to deserialize into.
920
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
921
- * @return {!proto.Auth.AppAuthnProto.VerifySecretRequest}
922
- */
923
- proto.Auth.AppAuthnProto.VerifySecretRequest.deserializeBinaryFromReader = function(msg, reader) {
924
- while (reader.nextField()) {
925
- if (reader.isEndGroup()) {
926
- break;
927
- }
928
- var field = reader.getFieldNumber();
929
- switch (field) {
930
- case 1:
931
- var value = /** @type {string} */ (reader.readString());
932
- msg.setPhone(value);
933
- break;
934
- case 2:
935
- var value = /** @type {string} */ (reader.readString());
936
- msg.setSecret(value);
937
- break;
938
- case 3:
939
- var value = /** @type {string} */ (reader.readString());
940
- msg.setPushToken(value);
941
- break;
942
- case 4:
943
- var value = /** @type {string} */ (reader.readString());
944
- msg.setUid(value);
945
- break;
946
- case 5:
947
- var value = /** @type {!proto.Auth.AppAuthnProto.AppType} */ (reader.readEnum());
948
- msg.setAppType(value);
949
- break;
950
- default:
951
- reader.skipField();
952
- break;
953
- }
954
- }
955
- return msg;
956
- };
957
-
958
-
959
- /**
960
- * Serializes the message to binary data (in protobuf wire format).
961
- * @return {!Uint8Array}
962
- */
963
- proto.Auth.AppAuthnProto.VerifySecretRequest.prototype.serializeBinary = function() {
964
- var writer = new jspb.BinaryWriter();
965
- proto.Auth.AppAuthnProto.VerifySecretRequest.serializeBinaryToWriter(this, writer);
966
- return writer.getResultBuffer();
967
- };
968
-
969
-
970
- /**
971
- * Serializes the given message to binary data (in protobuf wire
972
- * format), writing to the given BinaryWriter.
973
- * @param {!proto.Auth.AppAuthnProto.VerifySecretRequest} message
974
- * @param {!jspb.BinaryWriter} writer
975
- * @suppress {unusedLocalVariables} f is only used for nested messages
976
- */
977
- proto.Auth.AppAuthnProto.VerifySecretRequest.serializeBinaryToWriter = function(message, writer) {
978
- var f = undefined;
979
- f = message.getPhone();
980
- if (f.length > 0) {
981
- writer.writeString(
982
- 1,
983
- f
984
- );
985
- }
986
- f = message.getSecret();
987
- if (f.length > 0) {
988
- writer.writeString(
989
- 2,
990
- f
991
- );
992
- }
993
- f = message.getPushToken();
994
- if (f.length > 0) {
995
- writer.writeString(
996
- 3,
997
- f
998
- );
999
- }
1000
- f = message.getUid();
1001
- if (f.length > 0) {
1002
- writer.writeString(
1003
- 4,
1004
- f
1005
- );
1006
- }
1007
- f = message.getAppType();
1008
- if (f !== 0.0) {
1009
- writer.writeEnum(
1010
- 5,
1011
- f
1012
- );
1013
- }
1014
- };
1015
-
1016
-
1017
- /**
1018
- * optional string phone = 1;
1019
- * @return {string}
1020
- */
1021
- proto.Auth.AppAuthnProto.VerifySecretRequest.prototype.getPhone = function() {
1022
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1023
- };
1024
-
1025
-
1026
- /**
1027
- * @param {string} value
1028
- * @return {!proto.Auth.AppAuthnProto.VerifySecretRequest} returns this
1029
- */
1030
- proto.Auth.AppAuthnProto.VerifySecretRequest.prototype.setPhone = function(value) {
1031
- return jspb.Message.setProto3StringField(this, 1, value);
1032
- };
1033
-
1034
-
1035
- /**
1036
- * optional string secret = 2;
1037
- * @return {string}
1038
- */
1039
- proto.Auth.AppAuthnProto.VerifySecretRequest.prototype.getSecret = function() {
1040
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1041
- };
1042
-
1043
-
1044
- /**
1045
- * @param {string} value
1046
- * @return {!proto.Auth.AppAuthnProto.VerifySecretRequest} returns this
1047
- */
1048
- proto.Auth.AppAuthnProto.VerifySecretRequest.prototype.setSecret = function(value) {
1049
- return jspb.Message.setProto3StringField(this, 2, value);
1050
- };
1051
-
1052
-
1053
- /**
1054
- * optional string push_token = 3;
1055
- * @return {string}
1056
- */
1057
- proto.Auth.AppAuthnProto.VerifySecretRequest.prototype.getPushToken = function() {
1058
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1059
- };
1060
-
1061
-
1062
- /**
1063
- * @param {string} value
1064
- * @return {!proto.Auth.AppAuthnProto.VerifySecretRequest} returns this
1065
- */
1066
- proto.Auth.AppAuthnProto.VerifySecretRequest.prototype.setPushToken = function(value) {
1067
- return jspb.Message.setProto3StringField(this, 3, value);
1068
- };
1069
-
1070
-
1071
- /**
1072
- * optional string uid = 4;
1073
- * @return {string}
1074
- */
1075
- proto.Auth.AppAuthnProto.VerifySecretRequest.prototype.getUid = function() {
1076
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1077
- };
1078
-
1079
-
1080
- /**
1081
- * @param {string} value
1082
- * @return {!proto.Auth.AppAuthnProto.VerifySecretRequest} returns this
1083
- */
1084
- proto.Auth.AppAuthnProto.VerifySecretRequest.prototype.setUid = function(value) {
1085
- return jspb.Message.setProto3StringField(this, 4, value);
1086
- };
1087
-
1088
-
1089
- /**
1090
- * optional AppType app_type = 5;
1091
- * @return {!proto.Auth.AppAuthnProto.AppType}
1092
- */
1093
- proto.Auth.AppAuthnProto.VerifySecretRequest.prototype.getAppType = function() {
1094
- return /** @type {!proto.Auth.AppAuthnProto.AppType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
1095
- };
1096
-
1097
-
1098
- /**
1099
- * @param {!proto.Auth.AppAuthnProto.AppType} value
1100
- * @return {!proto.Auth.AppAuthnProto.VerifySecretRequest} returns this
1101
- */
1102
- proto.Auth.AppAuthnProto.VerifySecretRequest.prototype.setAppType = function(value) {
1103
- return jspb.Message.setProto3EnumField(this, 5, value);
1104
- };
1105
-
1106
-
1107
- /**
1108
- * optional string access_token = 1;
1109
- * @return {string}
1110
- */
1111
- proto.Auth.AppAuthnProto.prototype.getAccessToken = function() {
1112
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1113
- };
1114
-
1115
-
1116
- /**
1117
- * @param {string} value
1118
- * @return {!proto.Auth.AppAuthnProto} returns this
1119
- */
1120
- proto.Auth.AppAuthnProto.prototype.setAccessToken = function(value) {
1121
- return jspb.Message.setProto3StringField(this, 1, value);
1122
- };
1123
-
1124
-
1125
- /**
1126
- * optional string refresh_token = 2;
1127
- * @return {string}
1128
- */
1129
- proto.Auth.AppAuthnProto.prototype.getRefreshToken = function() {
1130
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1131
- };
1132
-
1133
-
1134
- /**
1135
- * @param {string} value
1136
- * @return {!proto.Auth.AppAuthnProto} returns this
1137
- */
1138
- proto.Auth.AppAuthnProto.prototype.setRefreshToken = function(value) {
1139
- return jspb.Message.setProto3StringField(this, 2, value);
1140
- };
1141
-
1142
-
1143
- /**
1144
- * optional google.protobuf.Duration expires_in = 3;
1145
- * @return {?proto.google.protobuf.Duration}
1146
- */
1147
- proto.Auth.AppAuthnProto.prototype.getExpiresIn = function() {
1148
- return /** @type{?proto.google.protobuf.Duration} */ (
1149
- jspb.Message.getWrapperField(this, google_protobuf_duration_pb.Duration, 3));
1150
- };
1151
-
1152
-
1153
- /**
1154
- * @param {?proto.google.protobuf.Duration|undefined} value
1155
- * @return {!proto.Auth.AppAuthnProto} returns this
1156
- */
1157
- proto.Auth.AppAuthnProto.prototype.setExpiresIn = function(value) {
1158
- return jspb.Message.setWrapperField(this, 3, value);
1159
- };
1160
-
1161
-
1162
- /**
1163
- * Clears the message field making it undefined.
1164
- * @return {!proto.Auth.AppAuthnProto} returns this
1165
- */
1166
- proto.Auth.AppAuthnProto.prototype.clearExpiresIn = function() {
1167
- return this.setExpiresIn(undefined);
1168
- };
1169
-
1170
-
1171
- /**
1172
- * Returns whether this field is set.
1173
- * @return {boolean}
1174
- */
1175
- proto.Auth.AppAuthnProto.prototype.hasExpiresIn = function() {
1176
- return jspb.Message.getField(this, 3) != null;
1177
- };
1178
-
1179
-
1180
- goog.object.extend(exports, proto.Auth);