@aldiokta/protocgen 1.0.0

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