@aldiokta/protocgen 1.0.101 → 1.1.1

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