@aceplus/smartace-api 2.13.0-alpha.2 → 2.13.0-alpha.7

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