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