@aceplus/smartace-api 2.3.1 → 2.3.3

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