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