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

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