@aldiokta/protocgen 1.1.19 → 1.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/account_assignment/account_assignment_grpc_pb.js +199 -0
  3. package/prisca/v1/account_assignment/account_assignment_pb.js +2674 -0
  4. package/prisca/v1/account_group/account_group_grpc_pb.js +200 -0
  5. package/prisca/v1/account_group/account_group_pb.js +2937 -0
  6. package/prisca/v1/bidding/bidding_grpc_pb.js +173 -0
  7. package/prisca/v1/bidding/bidding_pb.js +5616 -0
  8. package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +199 -0
  9. package/prisca/v1/chart_of_account/chart_of_account_pb.js +2907 -0
  10. package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +544 -0
  11. package/prisca/v1/core/access_manager/access_manager_pb.js +9383 -0
  12. package/prisca/v1/core/auth/auth_grpc_pb.js +423 -0
  13. package/prisca/v1/core/auth/auth_pb.js +4497 -0
  14. package/prisca/v1/core/chat_messaging/chat_messaging_grpc_pb.js +111 -0
  15. package/prisca/v1/core/chat_messaging/chat_messaging_pb.js +1531 -0
  16. package/prisca/v1/core/company/company_grpc_pb.js +178 -0
  17. package/prisca/v1/core/company/company_pb.js +3048 -0
  18. package/prisca/v1/core/currency/currency_grpc_pb.js +177 -0
  19. package/prisca/v1/core/currency/currency_pb.js +2522 -0
  20. package/prisca/v1/core/department_material/department_material_grpc_pb.js +144 -0
  21. package/prisca/v1/core/department_material/department_material_pb.js +2167 -0
  22. package/prisca/v1/core/employee/employee_grpc_pb.js +206 -0
  23. package/prisca/v1/core/employee/employee_pb.js +4283 -0
  24. package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +44 -0
  25. package/prisca/v1/core/file_upload/file_upload_pb.js +872 -0
  26. package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +144 -0
  27. package/prisca/v1/core/incoterm/incoterm_pb.js +2497 -0
  28. package/prisca/v1/core/item_transaction/item_transaction_grpc_pb.js +1 -0
  29. package/prisca/v1/core/item_transaction/item_transaction_pb.js +3880 -0
  30. package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +178 -0
  31. package/prisca/v1/core/job_grade/job_grade_pb.js +2605 -0
  32. package/prisca/v1/core/job_position/job_position_grpc_pb.js +181 -0
  33. package/prisca/v1/core/job_position/job_position_pb.js +3762 -0
  34. package/prisca/v1/core/job_title/job_title_grpc_pb.js +178 -0
  35. package/prisca/v1/core/job_title/job_title_pb.js +2958 -0
  36. package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +45 -0
  37. package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +1188 -0
  38. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +200 -0
  39. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +3191 -0
  40. package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +177 -0
  41. package/prisca/v1/core/link_data_source/link_data_source_pb.js +2612 -0
  42. package/prisca/v1/core/location/location_grpc_pb.js +837 -0
  43. package/prisca/v1/core/location/location_pb.js +10879 -0
  44. package/prisca/v1/core/material/material_grpc_pb.js +182 -0
  45. package/prisca/v1/core/material/material_pb.js +4180 -0
  46. package/prisca/v1/core/material_group/material_group_grpc_pb.js +178 -0
  47. package/prisca/v1/core/material_group/material_group_pb.js +2776 -0
  48. package/prisca/v1/core/material_type/material_type_grpc_pb.js +149 -0
  49. package/prisca/v1/core/material_type/material_type_pb.js +2697 -0
  50. package/prisca/v1/core/messaging/email_template_grpc_pb.js +177 -0
  51. package/prisca/v1/core/messaging/email_template_pb.js +2552 -0
  52. package/prisca/v1/core/messaging/messaging_grpc_pb.js +56 -0
  53. package/prisca/v1/core/messaging/messaging_pb.js +896 -0
  54. package/prisca/v1/core/number_range/number_range_grpc_pb.js +178 -0
  55. package/prisca/v1/core/number_range/number_range_pb.js +2926 -0
  56. package/prisca/v1/core/organization/organization_grpc_pb.js +180 -0
  57. package/prisca/v1/core/organization/organization_pb.js +3032 -0
  58. package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +178 -0
  59. package/prisca/v1/core/organization_level/organization_level_pb.js +2545 -0
  60. package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +146 -0
  61. package/prisca/v1/core/price_condition/price_condition_pb.js +2654 -0
  62. package/prisca/v1/core/procurement/procurement_grpc_pb.js +146 -0
  63. package/prisca/v1/core/procurement/procurement_pb.js +1681 -0
  64. package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +1 -0
  65. package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +206 -0
  66. package/prisca/v1/core/report/report_grpc_pb.js +200 -0
  67. package/prisca/v1/core/report/report_pb.js +2822 -0
  68. package/prisca/v1/core/report/user_report_grpc_pb.js +179 -0
  69. package/prisca/v1/core/report/user_report_pb.js +2452 -0
  70. package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +177 -0
  71. package/prisca/v1/core/tax_code/tax_code_pb.js +2582 -0
  72. package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +144 -0
  73. package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +2105 -0
  74. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +498 -0
  75. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +10976 -0
  76. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +180 -0
  77. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +2798 -0
  78. package/prisca/v1/core/users/users_grpc_pb.js +45 -0
  79. package/prisca/v1/core/users/users_pb.js +1246 -0
  80. package/prisca/v1/core/work_location/work_location_grpc_pb.js +179 -0
  81. package/prisca/v1/core/work_location/work_location_pb.js +3972 -0
  82. package/prisca/v1/core/workflow/workflow_grpc_pb.js +203 -0
  83. package/prisca/v1/core/workflow/workflow_pb.js +7525 -0
  84. package/prisca/v1/document_type/document_type_grpc_pb.js +178 -0
  85. package/prisca/v1/document_type/document_type_pb.js +2746 -0
  86. package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +181 -0
  87. package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +3276 -0
  88. package/prisca/v1/global/meta/meta_grpc_pb.js +1 -0
  89. package/prisca/v1/global/meta/meta_pb.js +1179 -0
  90. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +228 -0
  91. package/prisca/v1/purchase_order/purchase_order_pb.js +4989 -0
  92. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +512 -0
  93. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +9917 -0
  94. package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +178 -0
  95. package/prisca/v1/purchasing_group/purchasing_group_pb.js +2875 -0
  96. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +145 -0
  97. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +2139 -0
  98. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +146 -0
  99. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +2183 -0
  100. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +145 -0
  101. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +2543 -0
  102. package/prisca/v1/quotation/quotation_grpc_pb.js +152 -0
  103. package/prisca/v1/quotation/quotation_pb.js +2319 -0
  104. package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +192 -0
  105. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +5703 -0
  106. package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +224 -0
  107. package/prisca/v1/vendor_domain/vendor_domain_pb.js +6333 -0
  108. package/prisca/v1/account_assignment/account_assignment.proto +0 -79
  109. package/prisca/v1/account_group/account_group.proto +0 -86
  110. package/prisca/v1/bidding/bidding.proto +0 -159
  111. package/prisca/v1/chart_of_account/chart_of_account.proto +0 -87
  112. package/prisca/v1/core/access_manager/access_manager.proto +0 -281
  113. package/prisca/v1/core/auth/auth.proto +0 -150
  114. package/prisca/v1/core/chat_messaging/chat_messaging.proto +0 -55
  115. package/prisca/v1/core/company/company.proto +0 -92
  116. package/prisca/v1/core/currency/currency.proto +0 -76
  117. package/prisca/v1/core/department_material/department_material.proto +0 -69
  118. package/prisca/v1/core/employee/employee.proto +0 -129
  119. package/prisca/v1/core/file_upload/file_upload.proto +0 -31
  120. package/prisca/v1/core/incoterm/incoterm.proto +0 -76
  121. package/prisca/v1/core/item_transaction/item_transaction.proto +0 -120
  122. package/prisca/v1/core/job_grade/job_grade.proto +0 -79
  123. package/prisca/v1/core/job_position/job_position.proto +0 -113
  124. package/prisca/v1/core/job_title/job_title.proto +0 -89
  125. package/prisca/v1/core/line_of_activity/line_of_activity.proto +0 -42
  126. package/prisca/v1/core/line_of_approval/line_of_approval.proto +0 -94
  127. package/prisca/v1/core/link_data_source/link_data_source.proto +0 -78
  128. package/prisca/v1/core/location/location.proto +0 -289
  129. package/prisca/v1/core/material/material.proto +0 -131
  130. package/prisca/v1/core/material_group/material_group.proto +0 -85
  131. package/prisca/v1/core/material_type/material_type.proto +0 -86
  132. package/prisca/v1/core/messaging/email_template.proto +0 -75
  133. package/prisca/v1/core/messaging/messaging.proto +0 -29
  134. package/prisca/v1/core/number_range/number_range.proto +0 -89
  135. package/prisca/v1/core/organization/organization.proto +0 -94
  136. package/prisca/v1/core/organization_level/organization_level.proto +0 -77
  137. package/prisca/v1/core/price_condition/price_condition.proto +0 -83
  138. package/prisca/v1/core/procurement/procurement.proto +0 -54
  139. package/prisca/v1/core/recipient_roles/recipient_roles.proto +0 -10
  140. package/prisca/v1/core/report/report.proto +0 -90
  141. package/prisca/v1/core/report/user_report.proto +0 -74
  142. package/prisca/v1/core/tax_code/tax_code.proto +0 -77
  143. package/prisca/v1/core/term_of_payment/term_of_payment.proto +0 -64
  144. package/prisca/v1/core/transaction_builder/transaction_builder.proto +0 -325
  145. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +0 -88
  146. package/prisca/v1/core/users/users.proto +0 -45
  147. package/prisca/v1/core/work_location/work_location.proto +0 -122
  148. package/prisca/v1/core/workflow/workflow.proto +0 -216
  149. package/prisca/v1/document_type/document_type.proto +0 -80
  150. package/prisca/v1/general_ledger_account/general_ledger_account.proto +0 -98
  151. package/prisca/v1/global/meta/meta.proto +0 -57
  152. package/prisca/v1/purchase_order/purchase_order.proto +0 -155
  153. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto +0 -304
  154. package/prisca/v1/purchasing_group/purchasing_group.proto +0 -87
  155. package/prisca/v1/purchasing_organization/purchasing_organization.proto +0 -68
  156. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.proto +0 -70
  157. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.proto +0 -80
  158. package/prisca/v1/quotation/quotation.proto +0 -82
  159. package/prisca/v1/request_for_quotation/request_for_quotation.proto +0 -166
  160. package/prisca/v1/vendor_domain/vendor_domain.proto +0 -225
@@ -0,0 +1,3191 @@
1
+ // source: prisca/v1/core/line_of_approval/line_of_approval.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
+
24
+ var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
25
+ goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
26
+ var prisca_v1_core_employee_employee_pb = require('../../../../prisca/v1/core/employee/employee_pb.js');
27
+ goog.object.extend(proto, prisca_v1_core_employee_employee_pb);
28
+ goog.exportSymbol('proto.BaseLineOfApprovalRequest', null, global);
29
+ goog.exportSymbol('proto.BaseListAllLineOfApproval', null, global);
30
+ goog.exportSymbol('proto.CreateLineOfApprovalRequest', null, global);
31
+ goog.exportSymbol('proto.CreateLineOfApprovalResponse', null, global);
32
+ goog.exportSymbol('proto.DeleteLineOfApprovalRequest', null, global);
33
+ goog.exportSymbol('proto.DeleteLineOfApprovalResponse', null, global);
34
+ goog.exportSymbol('proto.GetLineOfApprovalByIdRequest', null, global);
35
+ goog.exportSymbol('proto.GetLineOfApprovalByIdResponse', null, global);
36
+ goog.exportSymbol('proto.GetListAllLineOfApprovalResponse', null, global);
37
+ goog.exportSymbol('proto.GetListLineOfApprovalRequest', null, global);
38
+ goog.exportSymbol('proto.GetListLineOfApprovalResponse', null, global);
39
+ goog.exportSymbol('proto.LineOfApproval', null, global);
40
+ goog.exportSymbol('proto.UpdateLineOfApprovalRequest', null, global);
41
+ goog.exportSymbol('proto.UpdateLineOfApprovalResponse', null, global);
42
+ /**
43
+ * Generated by JsPbCodeGenerator.
44
+ * @param {Array=} opt_data Optional initial data array, typically from a
45
+ * server response, or constructed directly in Javascript. The array is used
46
+ * in place and becomes part of the constructed object. It is not cloned.
47
+ * If no data is provided, the constructed object will be empty, but still
48
+ * valid.
49
+ * @extends {jspb.Message}
50
+ * @constructor
51
+ */
52
+ proto.LineOfApproval = function(opt_data) {
53
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
54
+ };
55
+ goog.inherits(proto.LineOfApproval, jspb.Message);
56
+ if (goog.DEBUG && !COMPILED) {
57
+ /**
58
+ * @public
59
+ * @override
60
+ */
61
+ proto.LineOfApproval.displayName = 'proto.LineOfApproval';
62
+ }
63
+ /**
64
+ * Generated by JsPbCodeGenerator.
65
+ * @param {Array=} opt_data Optional initial data array, typically from a
66
+ * server response, or constructed directly in Javascript. The array is used
67
+ * in place and becomes part of the constructed object. It is not cloned.
68
+ * If no data is provided, the constructed object will be empty, but still
69
+ * valid.
70
+ * @extends {jspb.Message}
71
+ * @constructor
72
+ */
73
+ proto.BaseLineOfApprovalRequest = function(opt_data) {
74
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
75
+ };
76
+ goog.inherits(proto.BaseLineOfApprovalRequest, jspb.Message);
77
+ if (goog.DEBUG && !COMPILED) {
78
+ /**
79
+ * @public
80
+ * @override
81
+ */
82
+ proto.BaseLineOfApprovalRequest.displayName = 'proto.BaseLineOfApprovalRequest';
83
+ }
84
+ /**
85
+ * Generated by JsPbCodeGenerator.
86
+ * @param {Array=} opt_data Optional initial data array, typically from a
87
+ * server response, or constructed directly in Javascript. The array is used
88
+ * in place and becomes part of the constructed object. It is not cloned.
89
+ * If no data is provided, the constructed object will be empty, but still
90
+ * valid.
91
+ * @extends {jspb.Message}
92
+ * @constructor
93
+ */
94
+ proto.CreateLineOfApprovalRequest = function(opt_data) {
95
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
96
+ };
97
+ goog.inherits(proto.CreateLineOfApprovalRequest, jspb.Message);
98
+ if (goog.DEBUG && !COMPILED) {
99
+ /**
100
+ * @public
101
+ * @override
102
+ */
103
+ proto.CreateLineOfApprovalRequest.displayName = 'proto.CreateLineOfApprovalRequest';
104
+ }
105
+ /**
106
+ * Generated by JsPbCodeGenerator.
107
+ * @param {Array=} opt_data Optional initial data array, typically from a
108
+ * server response, or constructed directly in Javascript. The array is used
109
+ * in place and becomes part of the constructed object. It is not cloned.
110
+ * If no data is provided, the constructed object will be empty, but still
111
+ * valid.
112
+ * @extends {jspb.Message}
113
+ * @constructor
114
+ */
115
+ proto.UpdateLineOfApprovalRequest = function(opt_data) {
116
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
117
+ };
118
+ goog.inherits(proto.UpdateLineOfApprovalRequest, jspb.Message);
119
+ if (goog.DEBUG && !COMPILED) {
120
+ /**
121
+ * @public
122
+ * @override
123
+ */
124
+ proto.UpdateLineOfApprovalRequest.displayName = 'proto.UpdateLineOfApprovalRequest';
125
+ }
126
+ /**
127
+ * Generated by JsPbCodeGenerator.
128
+ * @param {Array=} opt_data Optional initial data array, typically from a
129
+ * server response, or constructed directly in Javascript. The array is used
130
+ * in place and becomes part of the constructed object. It is not cloned.
131
+ * If no data is provided, the constructed object will be empty, but still
132
+ * valid.
133
+ * @extends {jspb.Message}
134
+ * @constructor
135
+ */
136
+ proto.DeleteLineOfApprovalRequest = function(opt_data) {
137
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
138
+ };
139
+ goog.inherits(proto.DeleteLineOfApprovalRequest, jspb.Message);
140
+ if (goog.DEBUG && !COMPILED) {
141
+ /**
142
+ * @public
143
+ * @override
144
+ */
145
+ proto.DeleteLineOfApprovalRequest.displayName = 'proto.DeleteLineOfApprovalRequest';
146
+ }
147
+ /**
148
+ * Generated by JsPbCodeGenerator.
149
+ * @param {Array=} opt_data Optional initial data array, typically from a
150
+ * server response, or constructed directly in Javascript. The array is used
151
+ * in place and becomes part of the constructed object. It is not cloned.
152
+ * If no data is provided, the constructed object will be empty, but still
153
+ * valid.
154
+ * @extends {jspb.Message}
155
+ * @constructor
156
+ */
157
+ proto.GetLineOfApprovalByIdRequest = function(opt_data) {
158
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
159
+ };
160
+ goog.inherits(proto.GetLineOfApprovalByIdRequest, jspb.Message);
161
+ if (goog.DEBUG && !COMPILED) {
162
+ /**
163
+ * @public
164
+ * @override
165
+ */
166
+ proto.GetLineOfApprovalByIdRequest.displayName = 'proto.GetLineOfApprovalByIdRequest';
167
+ }
168
+ /**
169
+ * Generated by JsPbCodeGenerator.
170
+ * @param {Array=} opt_data Optional initial data array, typically from a
171
+ * server response, or constructed directly in Javascript. The array is used
172
+ * in place and becomes part of the constructed object. It is not cloned.
173
+ * If no data is provided, the constructed object will be empty, but still
174
+ * valid.
175
+ * @extends {jspb.Message}
176
+ * @constructor
177
+ */
178
+ proto.GetListLineOfApprovalRequest = function(opt_data) {
179
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
180
+ };
181
+ goog.inherits(proto.GetListLineOfApprovalRequest, jspb.Message);
182
+ if (goog.DEBUG && !COMPILED) {
183
+ /**
184
+ * @public
185
+ * @override
186
+ */
187
+ proto.GetListLineOfApprovalRequest.displayName = 'proto.GetListLineOfApprovalRequest';
188
+ }
189
+ /**
190
+ * Generated by JsPbCodeGenerator.
191
+ * @param {Array=} opt_data Optional initial data array, typically from a
192
+ * server response, or constructed directly in Javascript. The array is used
193
+ * in place and becomes part of the constructed object. It is not cloned.
194
+ * If no data is provided, the constructed object will be empty, but still
195
+ * valid.
196
+ * @extends {jspb.Message}
197
+ * @constructor
198
+ */
199
+ proto.CreateLineOfApprovalResponse = function(opt_data) {
200
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
201
+ };
202
+ goog.inherits(proto.CreateLineOfApprovalResponse, jspb.Message);
203
+ if (goog.DEBUG && !COMPILED) {
204
+ /**
205
+ * @public
206
+ * @override
207
+ */
208
+ proto.CreateLineOfApprovalResponse.displayName = 'proto.CreateLineOfApprovalResponse';
209
+ }
210
+ /**
211
+ * Generated by JsPbCodeGenerator.
212
+ * @param {Array=} opt_data Optional initial data array, typically from a
213
+ * server response, or constructed directly in Javascript. The array is used
214
+ * in place and becomes part of the constructed object. It is not cloned.
215
+ * If no data is provided, the constructed object will be empty, but still
216
+ * valid.
217
+ * @extends {jspb.Message}
218
+ * @constructor
219
+ */
220
+ proto.UpdateLineOfApprovalResponse = function(opt_data) {
221
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
222
+ };
223
+ goog.inherits(proto.UpdateLineOfApprovalResponse, jspb.Message);
224
+ if (goog.DEBUG && !COMPILED) {
225
+ /**
226
+ * @public
227
+ * @override
228
+ */
229
+ proto.UpdateLineOfApprovalResponse.displayName = 'proto.UpdateLineOfApprovalResponse';
230
+ }
231
+ /**
232
+ * Generated by JsPbCodeGenerator.
233
+ * @param {Array=} opt_data Optional initial data array, typically from a
234
+ * server response, or constructed directly in Javascript. The array is used
235
+ * in place and becomes part of the constructed object. It is not cloned.
236
+ * If no data is provided, the constructed object will be empty, but still
237
+ * valid.
238
+ * @extends {jspb.Message}
239
+ * @constructor
240
+ */
241
+ proto.DeleteLineOfApprovalResponse = function(opt_data) {
242
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
243
+ };
244
+ goog.inherits(proto.DeleteLineOfApprovalResponse, jspb.Message);
245
+ if (goog.DEBUG && !COMPILED) {
246
+ /**
247
+ * @public
248
+ * @override
249
+ */
250
+ proto.DeleteLineOfApprovalResponse.displayName = 'proto.DeleteLineOfApprovalResponse';
251
+ }
252
+ /**
253
+ * Generated by JsPbCodeGenerator.
254
+ * @param {Array=} opt_data Optional initial data array, typically from a
255
+ * server response, or constructed directly in Javascript. The array is used
256
+ * in place and becomes part of the constructed object. It is not cloned.
257
+ * If no data is provided, the constructed object will be empty, but still
258
+ * valid.
259
+ * @extends {jspb.Message}
260
+ * @constructor
261
+ */
262
+ proto.GetLineOfApprovalByIdResponse = function(opt_data) {
263
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
264
+ };
265
+ goog.inherits(proto.GetLineOfApprovalByIdResponse, jspb.Message);
266
+ if (goog.DEBUG && !COMPILED) {
267
+ /**
268
+ * @public
269
+ * @override
270
+ */
271
+ proto.GetLineOfApprovalByIdResponse.displayName = 'proto.GetLineOfApprovalByIdResponse';
272
+ }
273
+ /**
274
+ * Generated by JsPbCodeGenerator.
275
+ * @param {Array=} opt_data Optional initial data array, typically from a
276
+ * server response, or constructed directly in Javascript. The array is used
277
+ * in place and becomes part of the constructed object. It is not cloned.
278
+ * If no data is provided, the constructed object will be empty, but still
279
+ * valid.
280
+ * @extends {jspb.Message}
281
+ * @constructor
282
+ */
283
+ proto.GetListLineOfApprovalResponse = function(opt_data) {
284
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.GetListLineOfApprovalResponse.repeatedFields_, null);
285
+ };
286
+ goog.inherits(proto.GetListLineOfApprovalResponse, jspb.Message);
287
+ if (goog.DEBUG && !COMPILED) {
288
+ /**
289
+ * @public
290
+ * @override
291
+ */
292
+ proto.GetListLineOfApprovalResponse.displayName = 'proto.GetListLineOfApprovalResponse';
293
+ }
294
+ /**
295
+ * Generated by JsPbCodeGenerator.
296
+ * @param {Array=} opt_data Optional initial data array, typically from a
297
+ * server response, or constructed directly in Javascript. The array is used
298
+ * in place and becomes part of the constructed object. It is not cloned.
299
+ * If no data is provided, the constructed object will be empty, but still
300
+ * valid.
301
+ * @extends {jspb.Message}
302
+ * @constructor
303
+ */
304
+ proto.BaseListAllLineOfApproval = function(opt_data) {
305
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
306
+ };
307
+ goog.inherits(proto.BaseListAllLineOfApproval, jspb.Message);
308
+ if (goog.DEBUG && !COMPILED) {
309
+ /**
310
+ * @public
311
+ * @override
312
+ */
313
+ proto.BaseListAllLineOfApproval.displayName = 'proto.BaseListAllLineOfApproval';
314
+ }
315
+ /**
316
+ * Generated by JsPbCodeGenerator.
317
+ * @param {Array=} opt_data Optional initial data array, typically from a
318
+ * server response, or constructed directly in Javascript. The array is used
319
+ * in place and becomes part of the constructed object. It is not cloned.
320
+ * If no data is provided, the constructed object will be empty, but still
321
+ * valid.
322
+ * @extends {jspb.Message}
323
+ * @constructor
324
+ */
325
+ proto.GetListAllLineOfApprovalResponse = function(opt_data) {
326
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.GetListAllLineOfApprovalResponse.repeatedFields_, null);
327
+ };
328
+ goog.inherits(proto.GetListAllLineOfApprovalResponse, jspb.Message);
329
+ if (goog.DEBUG && !COMPILED) {
330
+ /**
331
+ * @public
332
+ * @override
333
+ */
334
+ proto.GetListAllLineOfApprovalResponse.displayName = 'proto.GetListAllLineOfApprovalResponse';
335
+ }
336
+
337
+
338
+
339
+ if (jspb.Message.GENERATE_TO_OBJECT) {
340
+ /**
341
+ * Creates an object representation of this proto.
342
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
343
+ * Optional fields that are not set will be set to undefined.
344
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
345
+ * For the list of reserved names please see:
346
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
347
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
348
+ * JSPB instance for transitional soy proto support:
349
+ * http://goto/soy-param-migration
350
+ * @return {!Object}
351
+ */
352
+ proto.LineOfApproval.prototype.toObject = function(opt_includeInstance) {
353
+ return proto.LineOfApproval.toObject(opt_includeInstance, this);
354
+ };
355
+
356
+
357
+ /**
358
+ * Static version of the {@see toObject} method.
359
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
360
+ * the JSPB instance for transitional soy proto support:
361
+ * http://goto/soy-param-migration
362
+ * @param {!proto.LineOfApproval} msg The msg instance to transform.
363
+ * @return {!Object}
364
+ * @suppress {unusedLocalVariables} f is only used for nested messages
365
+ */
366
+ proto.LineOfApproval.toObject = function(includeInstance, msg) {
367
+ var f, obj = {
368
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
369
+ workflowRef: jspb.Message.getFieldWithDefault(msg, 2, ""),
370
+ documentRef: jspb.Message.getFieldWithDefault(msg, 3, ""),
371
+ employeesRefId: jspb.Message.getFieldWithDefault(msg, 4, ""),
372
+ status: jspb.Message.getFieldWithDefault(msg, 5, ""),
373
+ referencesId: jspb.Message.getFieldWithDefault(msg, 6, ""),
374
+ createdAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
375
+ updatedAt: jspb.Message.getFieldWithDefault(msg, 8, ""),
376
+ documentType: jspb.Message.getFieldWithDefault(msg, 9, ""),
377
+ employees: (f = msg.getEmployees()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
378
+ approvalNote: jspb.Message.getFieldWithDefault(msg, 11, "")
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.LineOfApproval}
393
+ */
394
+ proto.LineOfApproval.deserializeBinary = function(bytes) {
395
+ var reader = new jspb.BinaryReader(bytes);
396
+ var msg = new proto.LineOfApproval;
397
+ return proto.LineOfApproval.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.LineOfApproval} msg The message object to deserialize into.
405
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
406
+ * @return {!proto.LineOfApproval}
407
+ */
408
+ proto.LineOfApproval.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 {number} */ (reader.readInt32());
417
+ msg.setId(value);
418
+ break;
419
+ case 2:
420
+ var value = /** @type {string} */ (reader.readString());
421
+ msg.setWorkflowRef(value);
422
+ break;
423
+ case 3:
424
+ var value = /** @type {string} */ (reader.readString());
425
+ msg.setDocumentRef(value);
426
+ break;
427
+ case 4:
428
+ var value = /** @type {string} */ (reader.readString());
429
+ msg.setEmployeesRefId(value);
430
+ break;
431
+ case 5:
432
+ var value = /** @type {string} */ (reader.readString());
433
+ msg.setStatus(value);
434
+ break;
435
+ case 6:
436
+ var value = /** @type {string} */ (reader.readString());
437
+ msg.setReferencesId(value);
438
+ break;
439
+ case 7:
440
+ var value = /** @type {string} */ (reader.readString());
441
+ msg.setCreatedAt(value);
442
+ break;
443
+ case 8:
444
+ var value = /** @type {string} */ (reader.readString());
445
+ msg.setUpdatedAt(value);
446
+ break;
447
+ case 9:
448
+ var value = /** @type {string} */ (reader.readString());
449
+ msg.setDocumentType(value);
450
+ break;
451
+ case 10:
452
+ var value = new prisca_v1_core_employee_employee_pb.Employee;
453
+ reader.readMessage(value,prisca_v1_core_employee_employee_pb.Employee.deserializeBinaryFromReader);
454
+ msg.setEmployees(value);
455
+ break;
456
+ case 11:
457
+ var value = /** @type {string} */ (reader.readString());
458
+ msg.setApprovalNote(value);
459
+ break;
460
+ default:
461
+ reader.skipField();
462
+ break;
463
+ }
464
+ }
465
+ return msg;
466
+ };
467
+
468
+
469
+ /**
470
+ * Serializes the message to binary data (in protobuf wire format).
471
+ * @return {!Uint8Array}
472
+ */
473
+ proto.LineOfApproval.prototype.serializeBinary = function() {
474
+ var writer = new jspb.BinaryWriter();
475
+ proto.LineOfApproval.serializeBinaryToWriter(this, writer);
476
+ return writer.getResultBuffer();
477
+ };
478
+
479
+
480
+ /**
481
+ * Serializes the given message to binary data (in protobuf wire
482
+ * format), writing to the given BinaryWriter.
483
+ * @param {!proto.LineOfApproval} message
484
+ * @param {!jspb.BinaryWriter} writer
485
+ * @suppress {unusedLocalVariables} f is only used for nested messages
486
+ */
487
+ proto.LineOfApproval.serializeBinaryToWriter = function(message, writer) {
488
+ var f = undefined;
489
+ f = message.getId();
490
+ if (f !== 0) {
491
+ writer.writeInt32(
492
+ 1,
493
+ f
494
+ );
495
+ }
496
+ f = message.getWorkflowRef();
497
+ if (f.length > 0) {
498
+ writer.writeString(
499
+ 2,
500
+ f
501
+ );
502
+ }
503
+ f = message.getDocumentRef();
504
+ if (f.length > 0) {
505
+ writer.writeString(
506
+ 3,
507
+ f
508
+ );
509
+ }
510
+ f = message.getEmployeesRefId();
511
+ if (f.length > 0) {
512
+ writer.writeString(
513
+ 4,
514
+ f
515
+ );
516
+ }
517
+ f = message.getStatus();
518
+ if (f.length > 0) {
519
+ writer.writeString(
520
+ 5,
521
+ f
522
+ );
523
+ }
524
+ f = message.getReferencesId();
525
+ if (f.length > 0) {
526
+ writer.writeString(
527
+ 6,
528
+ f
529
+ );
530
+ }
531
+ f = message.getCreatedAt();
532
+ if (f.length > 0) {
533
+ writer.writeString(
534
+ 7,
535
+ f
536
+ );
537
+ }
538
+ f = message.getUpdatedAt();
539
+ if (f.length > 0) {
540
+ writer.writeString(
541
+ 8,
542
+ f
543
+ );
544
+ }
545
+ f = message.getDocumentType();
546
+ if (f.length > 0) {
547
+ writer.writeString(
548
+ 9,
549
+ f
550
+ );
551
+ }
552
+ f = message.getEmployees();
553
+ if (f != null) {
554
+ writer.writeMessage(
555
+ 10,
556
+ f,
557
+ prisca_v1_core_employee_employee_pb.Employee.serializeBinaryToWriter
558
+ );
559
+ }
560
+ f = message.getApprovalNote();
561
+ if (f.length > 0) {
562
+ writer.writeString(
563
+ 11,
564
+ f
565
+ );
566
+ }
567
+ };
568
+
569
+
570
+ /**
571
+ * optional int32 id = 1;
572
+ * @return {number}
573
+ */
574
+ proto.LineOfApproval.prototype.getId = function() {
575
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
576
+ };
577
+
578
+
579
+ /**
580
+ * @param {number} value
581
+ * @return {!proto.LineOfApproval} returns this
582
+ */
583
+ proto.LineOfApproval.prototype.setId = function(value) {
584
+ return jspb.Message.setProto3IntField(this, 1, value);
585
+ };
586
+
587
+
588
+ /**
589
+ * optional string workflow_ref = 2;
590
+ * @return {string}
591
+ */
592
+ proto.LineOfApproval.prototype.getWorkflowRef = function() {
593
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
594
+ };
595
+
596
+
597
+ /**
598
+ * @param {string} value
599
+ * @return {!proto.LineOfApproval} returns this
600
+ */
601
+ proto.LineOfApproval.prototype.setWorkflowRef = function(value) {
602
+ return jspb.Message.setProto3StringField(this, 2, value);
603
+ };
604
+
605
+
606
+ /**
607
+ * optional string document_ref = 3;
608
+ * @return {string}
609
+ */
610
+ proto.LineOfApproval.prototype.getDocumentRef = function() {
611
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
612
+ };
613
+
614
+
615
+ /**
616
+ * @param {string} value
617
+ * @return {!proto.LineOfApproval} returns this
618
+ */
619
+ proto.LineOfApproval.prototype.setDocumentRef = function(value) {
620
+ return jspb.Message.setProto3StringField(this, 3, value);
621
+ };
622
+
623
+
624
+ /**
625
+ * optional string employees_ref_id = 4;
626
+ * @return {string}
627
+ */
628
+ proto.LineOfApproval.prototype.getEmployeesRefId = function() {
629
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
630
+ };
631
+
632
+
633
+ /**
634
+ * @param {string} value
635
+ * @return {!proto.LineOfApproval} returns this
636
+ */
637
+ proto.LineOfApproval.prototype.setEmployeesRefId = function(value) {
638
+ return jspb.Message.setProto3StringField(this, 4, value);
639
+ };
640
+
641
+
642
+ /**
643
+ * optional string status = 5;
644
+ * @return {string}
645
+ */
646
+ proto.LineOfApproval.prototype.getStatus = function() {
647
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
648
+ };
649
+
650
+
651
+ /**
652
+ * @param {string} value
653
+ * @return {!proto.LineOfApproval} returns this
654
+ */
655
+ proto.LineOfApproval.prototype.setStatus = function(value) {
656
+ return jspb.Message.setProto3StringField(this, 5, value);
657
+ };
658
+
659
+
660
+ /**
661
+ * optional string references_id = 6;
662
+ * @return {string}
663
+ */
664
+ proto.LineOfApproval.prototype.getReferencesId = function() {
665
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
666
+ };
667
+
668
+
669
+ /**
670
+ * @param {string} value
671
+ * @return {!proto.LineOfApproval} returns this
672
+ */
673
+ proto.LineOfApproval.prototype.setReferencesId = function(value) {
674
+ return jspb.Message.setProto3StringField(this, 6, value);
675
+ };
676
+
677
+
678
+ /**
679
+ * optional string created_at = 7;
680
+ * @return {string}
681
+ */
682
+ proto.LineOfApproval.prototype.getCreatedAt = function() {
683
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
684
+ };
685
+
686
+
687
+ /**
688
+ * @param {string} value
689
+ * @return {!proto.LineOfApproval} returns this
690
+ */
691
+ proto.LineOfApproval.prototype.setCreatedAt = function(value) {
692
+ return jspb.Message.setProto3StringField(this, 7, value);
693
+ };
694
+
695
+
696
+ /**
697
+ * optional string updated_at = 8;
698
+ * @return {string}
699
+ */
700
+ proto.LineOfApproval.prototype.getUpdatedAt = function() {
701
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
702
+ };
703
+
704
+
705
+ /**
706
+ * @param {string} value
707
+ * @return {!proto.LineOfApproval} returns this
708
+ */
709
+ proto.LineOfApproval.prototype.setUpdatedAt = function(value) {
710
+ return jspb.Message.setProto3StringField(this, 8, value);
711
+ };
712
+
713
+
714
+ /**
715
+ * optional string document_type = 9;
716
+ * @return {string}
717
+ */
718
+ proto.LineOfApproval.prototype.getDocumentType = function() {
719
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
720
+ };
721
+
722
+
723
+ /**
724
+ * @param {string} value
725
+ * @return {!proto.LineOfApproval} returns this
726
+ */
727
+ proto.LineOfApproval.prototype.setDocumentType = function(value) {
728
+ return jspb.Message.setProto3StringField(this, 9, value);
729
+ };
730
+
731
+
732
+ /**
733
+ * optional Employee employees = 10;
734
+ * @return {?proto.Employee}
735
+ */
736
+ proto.LineOfApproval.prototype.getEmployees = function() {
737
+ return /** @type{?proto.Employee} */ (
738
+ jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 10));
739
+ };
740
+
741
+
742
+ /**
743
+ * @param {?proto.Employee|undefined} value
744
+ * @return {!proto.LineOfApproval} returns this
745
+ */
746
+ proto.LineOfApproval.prototype.setEmployees = function(value) {
747
+ return jspb.Message.setWrapperField(this, 10, value);
748
+ };
749
+
750
+
751
+ /**
752
+ * Clears the message field making it undefined.
753
+ * @return {!proto.LineOfApproval} returns this
754
+ */
755
+ proto.LineOfApproval.prototype.clearEmployees = function() {
756
+ return this.setEmployees(undefined);
757
+ };
758
+
759
+
760
+ /**
761
+ * Returns whether this field is set.
762
+ * @return {boolean}
763
+ */
764
+ proto.LineOfApproval.prototype.hasEmployees = function() {
765
+ return jspb.Message.getField(this, 10) != null;
766
+ };
767
+
768
+
769
+ /**
770
+ * optional string approval_note = 11;
771
+ * @return {string}
772
+ */
773
+ proto.LineOfApproval.prototype.getApprovalNote = function() {
774
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
775
+ };
776
+
777
+
778
+ /**
779
+ * @param {string} value
780
+ * @return {!proto.LineOfApproval} returns this
781
+ */
782
+ proto.LineOfApproval.prototype.setApprovalNote = function(value) {
783
+ return jspb.Message.setProto3StringField(this, 11, value);
784
+ };
785
+
786
+
787
+
788
+
789
+
790
+ if (jspb.Message.GENERATE_TO_OBJECT) {
791
+ /**
792
+ * Creates an object representation of this proto.
793
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
794
+ * Optional fields that are not set will be set to undefined.
795
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
796
+ * For the list of reserved names please see:
797
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
798
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
799
+ * JSPB instance for transitional soy proto support:
800
+ * http://goto/soy-param-migration
801
+ * @return {!Object}
802
+ */
803
+ proto.BaseLineOfApprovalRequest.prototype.toObject = function(opt_includeInstance) {
804
+ return proto.BaseLineOfApprovalRequest.toObject(opt_includeInstance, this);
805
+ };
806
+
807
+
808
+ /**
809
+ * Static version of the {@see toObject} method.
810
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
811
+ * the JSPB instance for transitional soy proto support:
812
+ * http://goto/soy-param-migration
813
+ * @param {!proto.BaseLineOfApprovalRequest} msg The msg instance to transform.
814
+ * @return {!Object}
815
+ * @suppress {unusedLocalVariables} f is only used for nested messages
816
+ */
817
+ proto.BaseLineOfApprovalRequest.toObject = function(includeInstance, msg) {
818
+ var f, obj = {
819
+ status: jspb.Message.getFieldWithDefault(msg, 1, ""),
820
+ approvalNote: jspb.Message.getFieldWithDefault(msg, 2, "")
821
+ };
822
+
823
+ if (includeInstance) {
824
+ obj.$jspbMessageInstance = msg;
825
+ }
826
+ return obj;
827
+ };
828
+ }
829
+
830
+
831
+ /**
832
+ * Deserializes binary data (in protobuf wire format).
833
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
834
+ * @return {!proto.BaseLineOfApprovalRequest}
835
+ */
836
+ proto.BaseLineOfApprovalRequest.deserializeBinary = function(bytes) {
837
+ var reader = new jspb.BinaryReader(bytes);
838
+ var msg = new proto.BaseLineOfApprovalRequest;
839
+ return proto.BaseLineOfApprovalRequest.deserializeBinaryFromReader(msg, reader);
840
+ };
841
+
842
+
843
+ /**
844
+ * Deserializes binary data (in protobuf wire format) from the
845
+ * given reader into the given message object.
846
+ * @param {!proto.BaseLineOfApprovalRequest} msg The message object to deserialize into.
847
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
848
+ * @return {!proto.BaseLineOfApprovalRequest}
849
+ */
850
+ proto.BaseLineOfApprovalRequest.deserializeBinaryFromReader = function(msg, reader) {
851
+ while (reader.nextField()) {
852
+ if (reader.isEndGroup()) {
853
+ break;
854
+ }
855
+ var field = reader.getFieldNumber();
856
+ switch (field) {
857
+ case 1:
858
+ var value = /** @type {string} */ (reader.readString());
859
+ msg.setStatus(value);
860
+ break;
861
+ case 2:
862
+ var value = /** @type {string} */ (reader.readString());
863
+ msg.setApprovalNote(value);
864
+ break;
865
+ default:
866
+ reader.skipField();
867
+ break;
868
+ }
869
+ }
870
+ return msg;
871
+ };
872
+
873
+
874
+ /**
875
+ * Serializes the message to binary data (in protobuf wire format).
876
+ * @return {!Uint8Array}
877
+ */
878
+ proto.BaseLineOfApprovalRequest.prototype.serializeBinary = function() {
879
+ var writer = new jspb.BinaryWriter();
880
+ proto.BaseLineOfApprovalRequest.serializeBinaryToWriter(this, writer);
881
+ return writer.getResultBuffer();
882
+ };
883
+
884
+
885
+ /**
886
+ * Serializes the given message to binary data (in protobuf wire
887
+ * format), writing to the given BinaryWriter.
888
+ * @param {!proto.BaseLineOfApprovalRequest} message
889
+ * @param {!jspb.BinaryWriter} writer
890
+ * @suppress {unusedLocalVariables} f is only used for nested messages
891
+ */
892
+ proto.BaseLineOfApprovalRequest.serializeBinaryToWriter = function(message, writer) {
893
+ var f = undefined;
894
+ f = message.getStatus();
895
+ if (f.length > 0) {
896
+ writer.writeString(
897
+ 1,
898
+ f
899
+ );
900
+ }
901
+ f = message.getApprovalNote();
902
+ if (f.length > 0) {
903
+ writer.writeString(
904
+ 2,
905
+ f
906
+ );
907
+ }
908
+ };
909
+
910
+
911
+ /**
912
+ * optional string status = 1;
913
+ * @return {string}
914
+ */
915
+ proto.BaseLineOfApprovalRequest.prototype.getStatus = function() {
916
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
917
+ };
918
+
919
+
920
+ /**
921
+ * @param {string} value
922
+ * @return {!proto.BaseLineOfApprovalRequest} returns this
923
+ */
924
+ proto.BaseLineOfApprovalRequest.prototype.setStatus = function(value) {
925
+ return jspb.Message.setProto3StringField(this, 1, value);
926
+ };
927
+
928
+
929
+ /**
930
+ * optional string approval_note = 2;
931
+ * @return {string}
932
+ */
933
+ proto.BaseLineOfApprovalRequest.prototype.getApprovalNote = function() {
934
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
935
+ };
936
+
937
+
938
+ /**
939
+ * @param {string} value
940
+ * @return {!proto.BaseLineOfApprovalRequest} returns this
941
+ */
942
+ proto.BaseLineOfApprovalRequest.prototype.setApprovalNote = function(value) {
943
+ return jspb.Message.setProto3StringField(this, 2, value);
944
+ };
945
+
946
+
947
+
948
+
949
+
950
+ if (jspb.Message.GENERATE_TO_OBJECT) {
951
+ /**
952
+ * Creates an object representation of this proto.
953
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
954
+ * Optional fields that are not set will be set to undefined.
955
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
956
+ * For the list of reserved names please see:
957
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
958
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
959
+ * JSPB instance for transitional soy proto support:
960
+ * http://goto/soy-param-migration
961
+ * @return {!Object}
962
+ */
963
+ proto.CreateLineOfApprovalRequest.prototype.toObject = function(opt_includeInstance) {
964
+ return proto.CreateLineOfApprovalRequest.toObject(opt_includeInstance, this);
965
+ };
966
+
967
+
968
+ /**
969
+ * Static version of the {@see toObject} method.
970
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
971
+ * the JSPB instance for transitional soy proto support:
972
+ * http://goto/soy-param-migration
973
+ * @param {!proto.CreateLineOfApprovalRequest} msg The msg instance to transform.
974
+ * @return {!Object}
975
+ * @suppress {unusedLocalVariables} f is only used for nested messages
976
+ */
977
+ proto.CreateLineOfApprovalRequest.toObject = function(includeInstance, msg) {
978
+ var f, obj = {
979
+ baseLineOfApproval: (f = msg.getBaseLineOfApproval()) && proto.BaseLineOfApprovalRequest.toObject(includeInstance, f)
980
+ };
981
+
982
+ if (includeInstance) {
983
+ obj.$jspbMessageInstance = msg;
984
+ }
985
+ return obj;
986
+ };
987
+ }
988
+
989
+
990
+ /**
991
+ * Deserializes binary data (in protobuf wire format).
992
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
993
+ * @return {!proto.CreateLineOfApprovalRequest}
994
+ */
995
+ proto.CreateLineOfApprovalRequest.deserializeBinary = function(bytes) {
996
+ var reader = new jspb.BinaryReader(bytes);
997
+ var msg = new proto.CreateLineOfApprovalRequest;
998
+ return proto.CreateLineOfApprovalRequest.deserializeBinaryFromReader(msg, reader);
999
+ };
1000
+
1001
+
1002
+ /**
1003
+ * Deserializes binary data (in protobuf wire format) from the
1004
+ * given reader into the given message object.
1005
+ * @param {!proto.CreateLineOfApprovalRequest} msg The message object to deserialize into.
1006
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1007
+ * @return {!proto.CreateLineOfApprovalRequest}
1008
+ */
1009
+ proto.CreateLineOfApprovalRequest.deserializeBinaryFromReader = function(msg, reader) {
1010
+ while (reader.nextField()) {
1011
+ if (reader.isEndGroup()) {
1012
+ break;
1013
+ }
1014
+ var field = reader.getFieldNumber();
1015
+ switch (field) {
1016
+ case 1:
1017
+ var value = new proto.BaseLineOfApprovalRequest;
1018
+ reader.readMessage(value,proto.BaseLineOfApprovalRequest.deserializeBinaryFromReader);
1019
+ msg.setBaseLineOfApproval(value);
1020
+ break;
1021
+ default:
1022
+ reader.skipField();
1023
+ break;
1024
+ }
1025
+ }
1026
+ return msg;
1027
+ };
1028
+
1029
+
1030
+ /**
1031
+ * Serializes the message to binary data (in protobuf wire format).
1032
+ * @return {!Uint8Array}
1033
+ */
1034
+ proto.CreateLineOfApprovalRequest.prototype.serializeBinary = function() {
1035
+ var writer = new jspb.BinaryWriter();
1036
+ proto.CreateLineOfApprovalRequest.serializeBinaryToWriter(this, writer);
1037
+ return writer.getResultBuffer();
1038
+ };
1039
+
1040
+
1041
+ /**
1042
+ * Serializes the given message to binary data (in protobuf wire
1043
+ * format), writing to the given BinaryWriter.
1044
+ * @param {!proto.CreateLineOfApprovalRequest} message
1045
+ * @param {!jspb.BinaryWriter} writer
1046
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1047
+ */
1048
+ proto.CreateLineOfApprovalRequest.serializeBinaryToWriter = function(message, writer) {
1049
+ var f = undefined;
1050
+ f = message.getBaseLineOfApproval();
1051
+ if (f != null) {
1052
+ writer.writeMessage(
1053
+ 1,
1054
+ f,
1055
+ proto.BaseLineOfApprovalRequest.serializeBinaryToWriter
1056
+ );
1057
+ }
1058
+ };
1059
+
1060
+
1061
+ /**
1062
+ * optional BaseLineOfApprovalRequest base_line_of_approval = 1;
1063
+ * @return {?proto.BaseLineOfApprovalRequest}
1064
+ */
1065
+ proto.CreateLineOfApprovalRequest.prototype.getBaseLineOfApproval = function() {
1066
+ return /** @type{?proto.BaseLineOfApprovalRequest} */ (
1067
+ jspb.Message.getWrapperField(this, proto.BaseLineOfApprovalRequest, 1));
1068
+ };
1069
+
1070
+
1071
+ /**
1072
+ * @param {?proto.BaseLineOfApprovalRequest|undefined} value
1073
+ * @return {!proto.CreateLineOfApprovalRequest} returns this
1074
+ */
1075
+ proto.CreateLineOfApprovalRequest.prototype.setBaseLineOfApproval = function(value) {
1076
+ return jspb.Message.setWrapperField(this, 1, value);
1077
+ };
1078
+
1079
+
1080
+ /**
1081
+ * Clears the message field making it undefined.
1082
+ * @return {!proto.CreateLineOfApprovalRequest} returns this
1083
+ */
1084
+ proto.CreateLineOfApprovalRequest.prototype.clearBaseLineOfApproval = function() {
1085
+ return this.setBaseLineOfApproval(undefined);
1086
+ };
1087
+
1088
+
1089
+ /**
1090
+ * Returns whether this field is set.
1091
+ * @return {boolean}
1092
+ */
1093
+ proto.CreateLineOfApprovalRequest.prototype.hasBaseLineOfApproval = function() {
1094
+ return jspb.Message.getField(this, 1) != null;
1095
+ };
1096
+
1097
+
1098
+
1099
+
1100
+
1101
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1102
+ /**
1103
+ * Creates an object representation of this proto.
1104
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1105
+ * Optional fields that are not set will be set to undefined.
1106
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1107
+ * For the list of reserved names please see:
1108
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1109
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1110
+ * JSPB instance for transitional soy proto support:
1111
+ * http://goto/soy-param-migration
1112
+ * @return {!Object}
1113
+ */
1114
+ proto.UpdateLineOfApprovalRequest.prototype.toObject = function(opt_includeInstance) {
1115
+ return proto.UpdateLineOfApprovalRequest.toObject(opt_includeInstance, this);
1116
+ };
1117
+
1118
+
1119
+ /**
1120
+ * Static version of the {@see toObject} method.
1121
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1122
+ * the JSPB instance for transitional soy proto support:
1123
+ * http://goto/soy-param-migration
1124
+ * @param {!proto.UpdateLineOfApprovalRequest} msg The msg instance to transform.
1125
+ * @return {!Object}
1126
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1127
+ */
1128
+ proto.UpdateLineOfApprovalRequest.toObject = function(includeInstance, msg) {
1129
+ var f, obj = {
1130
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
1131
+ baseLineOfApproval: (f = msg.getBaseLineOfApproval()) && proto.BaseLineOfApprovalRequest.toObject(includeInstance, f)
1132
+ };
1133
+
1134
+ if (includeInstance) {
1135
+ obj.$jspbMessageInstance = msg;
1136
+ }
1137
+ return obj;
1138
+ };
1139
+ }
1140
+
1141
+
1142
+ /**
1143
+ * Deserializes binary data (in protobuf wire format).
1144
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1145
+ * @return {!proto.UpdateLineOfApprovalRequest}
1146
+ */
1147
+ proto.UpdateLineOfApprovalRequest.deserializeBinary = function(bytes) {
1148
+ var reader = new jspb.BinaryReader(bytes);
1149
+ var msg = new proto.UpdateLineOfApprovalRequest;
1150
+ return proto.UpdateLineOfApprovalRequest.deserializeBinaryFromReader(msg, reader);
1151
+ };
1152
+
1153
+
1154
+ /**
1155
+ * Deserializes binary data (in protobuf wire format) from the
1156
+ * given reader into the given message object.
1157
+ * @param {!proto.UpdateLineOfApprovalRequest} msg The message object to deserialize into.
1158
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1159
+ * @return {!proto.UpdateLineOfApprovalRequest}
1160
+ */
1161
+ proto.UpdateLineOfApprovalRequest.deserializeBinaryFromReader = function(msg, reader) {
1162
+ while (reader.nextField()) {
1163
+ if (reader.isEndGroup()) {
1164
+ break;
1165
+ }
1166
+ var field = reader.getFieldNumber();
1167
+ switch (field) {
1168
+ case 1:
1169
+ var value = /** @type {string} */ (reader.readString());
1170
+ msg.setReferencesId(value);
1171
+ break;
1172
+ case 2:
1173
+ var value = new proto.BaseLineOfApprovalRequest;
1174
+ reader.readMessage(value,proto.BaseLineOfApprovalRequest.deserializeBinaryFromReader);
1175
+ msg.setBaseLineOfApproval(value);
1176
+ break;
1177
+ default:
1178
+ reader.skipField();
1179
+ break;
1180
+ }
1181
+ }
1182
+ return msg;
1183
+ };
1184
+
1185
+
1186
+ /**
1187
+ * Serializes the message to binary data (in protobuf wire format).
1188
+ * @return {!Uint8Array}
1189
+ */
1190
+ proto.UpdateLineOfApprovalRequest.prototype.serializeBinary = function() {
1191
+ var writer = new jspb.BinaryWriter();
1192
+ proto.UpdateLineOfApprovalRequest.serializeBinaryToWriter(this, writer);
1193
+ return writer.getResultBuffer();
1194
+ };
1195
+
1196
+
1197
+ /**
1198
+ * Serializes the given message to binary data (in protobuf wire
1199
+ * format), writing to the given BinaryWriter.
1200
+ * @param {!proto.UpdateLineOfApprovalRequest} message
1201
+ * @param {!jspb.BinaryWriter} writer
1202
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1203
+ */
1204
+ proto.UpdateLineOfApprovalRequest.serializeBinaryToWriter = function(message, writer) {
1205
+ var f = undefined;
1206
+ f = message.getReferencesId();
1207
+ if (f.length > 0) {
1208
+ writer.writeString(
1209
+ 1,
1210
+ f
1211
+ );
1212
+ }
1213
+ f = message.getBaseLineOfApproval();
1214
+ if (f != null) {
1215
+ writer.writeMessage(
1216
+ 2,
1217
+ f,
1218
+ proto.BaseLineOfApprovalRequest.serializeBinaryToWriter
1219
+ );
1220
+ }
1221
+ };
1222
+
1223
+
1224
+ /**
1225
+ * optional string references_id = 1;
1226
+ * @return {string}
1227
+ */
1228
+ proto.UpdateLineOfApprovalRequest.prototype.getReferencesId = function() {
1229
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1230
+ };
1231
+
1232
+
1233
+ /**
1234
+ * @param {string} value
1235
+ * @return {!proto.UpdateLineOfApprovalRequest} returns this
1236
+ */
1237
+ proto.UpdateLineOfApprovalRequest.prototype.setReferencesId = function(value) {
1238
+ return jspb.Message.setProto3StringField(this, 1, value);
1239
+ };
1240
+
1241
+
1242
+ /**
1243
+ * optional BaseLineOfApprovalRequest base_line_of_approval = 2;
1244
+ * @return {?proto.BaseLineOfApprovalRequest}
1245
+ */
1246
+ proto.UpdateLineOfApprovalRequest.prototype.getBaseLineOfApproval = function() {
1247
+ return /** @type{?proto.BaseLineOfApprovalRequest} */ (
1248
+ jspb.Message.getWrapperField(this, proto.BaseLineOfApprovalRequest, 2));
1249
+ };
1250
+
1251
+
1252
+ /**
1253
+ * @param {?proto.BaseLineOfApprovalRequest|undefined} value
1254
+ * @return {!proto.UpdateLineOfApprovalRequest} returns this
1255
+ */
1256
+ proto.UpdateLineOfApprovalRequest.prototype.setBaseLineOfApproval = function(value) {
1257
+ return jspb.Message.setWrapperField(this, 2, value);
1258
+ };
1259
+
1260
+
1261
+ /**
1262
+ * Clears the message field making it undefined.
1263
+ * @return {!proto.UpdateLineOfApprovalRequest} returns this
1264
+ */
1265
+ proto.UpdateLineOfApprovalRequest.prototype.clearBaseLineOfApproval = function() {
1266
+ return this.setBaseLineOfApproval(undefined);
1267
+ };
1268
+
1269
+
1270
+ /**
1271
+ * Returns whether this field is set.
1272
+ * @return {boolean}
1273
+ */
1274
+ proto.UpdateLineOfApprovalRequest.prototype.hasBaseLineOfApproval = function() {
1275
+ return jspb.Message.getField(this, 2) != null;
1276
+ };
1277
+
1278
+
1279
+
1280
+
1281
+
1282
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1283
+ /**
1284
+ * Creates an object representation of this proto.
1285
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1286
+ * Optional fields that are not set will be set to undefined.
1287
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1288
+ * For the list of reserved names please see:
1289
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1290
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1291
+ * JSPB instance for transitional soy proto support:
1292
+ * http://goto/soy-param-migration
1293
+ * @return {!Object}
1294
+ */
1295
+ proto.DeleteLineOfApprovalRequest.prototype.toObject = function(opt_includeInstance) {
1296
+ return proto.DeleteLineOfApprovalRequest.toObject(opt_includeInstance, this);
1297
+ };
1298
+
1299
+
1300
+ /**
1301
+ * Static version of the {@see toObject} method.
1302
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1303
+ * the JSPB instance for transitional soy proto support:
1304
+ * http://goto/soy-param-migration
1305
+ * @param {!proto.DeleteLineOfApprovalRequest} msg The msg instance to transform.
1306
+ * @return {!Object}
1307
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1308
+ */
1309
+ proto.DeleteLineOfApprovalRequest.toObject = function(includeInstance, msg) {
1310
+ var f, obj = {
1311
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
1312
+ };
1313
+
1314
+ if (includeInstance) {
1315
+ obj.$jspbMessageInstance = msg;
1316
+ }
1317
+ return obj;
1318
+ };
1319
+ }
1320
+
1321
+
1322
+ /**
1323
+ * Deserializes binary data (in protobuf wire format).
1324
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1325
+ * @return {!proto.DeleteLineOfApprovalRequest}
1326
+ */
1327
+ proto.DeleteLineOfApprovalRequest.deserializeBinary = function(bytes) {
1328
+ var reader = new jspb.BinaryReader(bytes);
1329
+ var msg = new proto.DeleteLineOfApprovalRequest;
1330
+ return proto.DeleteLineOfApprovalRequest.deserializeBinaryFromReader(msg, reader);
1331
+ };
1332
+
1333
+
1334
+ /**
1335
+ * Deserializes binary data (in protobuf wire format) from the
1336
+ * given reader into the given message object.
1337
+ * @param {!proto.DeleteLineOfApprovalRequest} msg The message object to deserialize into.
1338
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1339
+ * @return {!proto.DeleteLineOfApprovalRequest}
1340
+ */
1341
+ proto.DeleteLineOfApprovalRequest.deserializeBinaryFromReader = function(msg, reader) {
1342
+ while (reader.nextField()) {
1343
+ if (reader.isEndGroup()) {
1344
+ break;
1345
+ }
1346
+ var field = reader.getFieldNumber();
1347
+ switch (field) {
1348
+ case 1:
1349
+ var value = /** @type {string} */ (reader.readString());
1350
+ msg.setReferencesId(value);
1351
+ break;
1352
+ default:
1353
+ reader.skipField();
1354
+ break;
1355
+ }
1356
+ }
1357
+ return msg;
1358
+ };
1359
+
1360
+
1361
+ /**
1362
+ * Serializes the message to binary data (in protobuf wire format).
1363
+ * @return {!Uint8Array}
1364
+ */
1365
+ proto.DeleteLineOfApprovalRequest.prototype.serializeBinary = function() {
1366
+ var writer = new jspb.BinaryWriter();
1367
+ proto.DeleteLineOfApprovalRequest.serializeBinaryToWriter(this, writer);
1368
+ return writer.getResultBuffer();
1369
+ };
1370
+
1371
+
1372
+ /**
1373
+ * Serializes the given message to binary data (in protobuf wire
1374
+ * format), writing to the given BinaryWriter.
1375
+ * @param {!proto.DeleteLineOfApprovalRequest} message
1376
+ * @param {!jspb.BinaryWriter} writer
1377
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1378
+ */
1379
+ proto.DeleteLineOfApprovalRequest.serializeBinaryToWriter = function(message, writer) {
1380
+ var f = undefined;
1381
+ f = message.getReferencesId();
1382
+ if (f.length > 0) {
1383
+ writer.writeString(
1384
+ 1,
1385
+ f
1386
+ );
1387
+ }
1388
+ };
1389
+
1390
+
1391
+ /**
1392
+ * optional string references_id = 1;
1393
+ * @return {string}
1394
+ */
1395
+ proto.DeleteLineOfApprovalRequest.prototype.getReferencesId = function() {
1396
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1397
+ };
1398
+
1399
+
1400
+ /**
1401
+ * @param {string} value
1402
+ * @return {!proto.DeleteLineOfApprovalRequest} returns this
1403
+ */
1404
+ proto.DeleteLineOfApprovalRequest.prototype.setReferencesId = function(value) {
1405
+ return jspb.Message.setProto3StringField(this, 1, value);
1406
+ };
1407
+
1408
+
1409
+
1410
+
1411
+
1412
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1413
+ /**
1414
+ * Creates an object representation of this proto.
1415
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1416
+ * Optional fields that are not set will be set to undefined.
1417
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1418
+ * For the list of reserved names please see:
1419
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1420
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1421
+ * JSPB instance for transitional soy proto support:
1422
+ * http://goto/soy-param-migration
1423
+ * @return {!Object}
1424
+ */
1425
+ proto.GetLineOfApprovalByIdRequest.prototype.toObject = function(opt_includeInstance) {
1426
+ return proto.GetLineOfApprovalByIdRequest.toObject(opt_includeInstance, this);
1427
+ };
1428
+
1429
+
1430
+ /**
1431
+ * Static version of the {@see toObject} method.
1432
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1433
+ * the JSPB instance for transitional soy proto support:
1434
+ * http://goto/soy-param-migration
1435
+ * @param {!proto.GetLineOfApprovalByIdRequest} msg The msg instance to transform.
1436
+ * @return {!Object}
1437
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1438
+ */
1439
+ proto.GetLineOfApprovalByIdRequest.toObject = function(includeInstance, msg) {
1440
+ var f, obj = {
1441
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
1442
+ };
1443
+
1444
+ if (includeInstance) {
1445
+ obj.$jspbMessageInstance = msg;
1446
+ }
1447
+ return obj;
1448
+ };
1449
+ }
1450
+
1451
+
1452
+ /**
1453
+ * Deserializes binary data (in protobuf wire format).
1454
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1455
+ * @return {!proto.GetLineOfApprovalByIdRequest}
1456
+ */
1457
+ proto.GetLineOfApprovalByIdRequest.deserializeBinary = function(bytes) {
1458
+ var reader = new jspb.BinaryReader(bytes);
1459
+ var msg = new proto.GetLineOfApprovalByIdRequest;
1460
+ return proto.GetLineOfApprovalByIdRequest.deserializeBinaryFromReader(msg, reader);
1461
+ };
1462
+
1463
+
1464
+ /**
1465
+ * Deserializes binary data (in protobuf wire format) from the
1466
+ * given reader into the given message object.
1467
+ * @param {!proto.GetLineOfApprovalByIdRequest} msg The message object to deserialize into.
1468
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1469
+ * @return {!proto.GetLineOfApprovalByIdRequest}
1470
+ */
1471
+ proto.GetLineOfApprovalByIdRequest.deserializeBinaryFromReader = function(msg, reader) {
1472
+ while (reader.nextField()) {
1473
+ if (reader.isEndGroup()) {
1474
+ break;
1475
+ }
1476
+ var field = reader.getFieldNumber();
1477
+ switch (field) {
1478
+ case 1:
1479
+ var value = /** @type {string} */ (reader.readString());
1480
+ msg.setReferencesId(value);
1481
+ break;
1482
+ default:
1483
+ reader.skipField();
1484
+ break;
1485
+ }
1486
+ }
1487
+ return msg;
1488
+ };
1489
+
1490
+
1491
+ /**
1492
+ * Serializes the message to binary data (in protobuf wire format).
1493
+ * @return {!Uint8Array}
1494
+ */
1495
+ proto.GetLineOfApprovalByIdRequest.prototype.serializeBinary = function() {
1496
+ var writer = new jspb.BinaryWriter();
1497
+ proto.GetLineOfApprovalByIdRequest.serializeBinaryToWriter(this, writer);
1498
+ return writer.getResultBuffer();
1499
+ };
1500
+
1501
+
1502
+ /**
1503
+ * Serializes the given message to binary data (in protobuf wire
1504
+ * format), writing to the given BinaryWriter.
1505
+ * @param {!proto.GetLineOfApprovalByIdRequest} message
1506
+ * @param {!jspb.BinaryWriter} writer
1507
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1508
+ */
1509
+ proto.GetLineOfApprovalByIdRequest.serializeBinaryToWriter = function(message, writer) {
1510
+ var f = undefined;
1511
+ f = message.getReferencesId();
1512
+ if (f.length > 0) {
1513
+ writer.writeString(
1514
+ 1,
1515
+ f
1516
+ );
1517
+ }
1518
+ };
1519
+
1520
+
1521
+ /**
1522
+ * optional string references_id = 1;
1523
+ * @return {string}
1524
+ */
1525
+ proto.GetLineOfApprovalByIdRequest.prototype.getReferencesId = function() {
1526
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1527
+ };
1528
+
1529
+
1530
+ /**
1531
+ * @param {string} value
1532
+ * @return {!proto.GetLineOfApprovalByIdRequest} returns this
1533
+ */
1534
+ proto.GetLineOfApprovalByIdRequest.prototype.setReferencesId = function(value) {
1535
+ return jspb.Message.setProto3StringField(this, 1, value);
1536
+ };
1537
+
1538
+
1539
+
1540
+
1541
+
1542
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1543
+ /**
1544
+ * Creates an object representation of this proto.
1545
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1546
+ * Optional fields that are not set will be set to undefined.
1547
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1548
+ * For the list of reserved names please see:
1549
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1550
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1551
+ * JSPB instance for transitional soy proto support:
1552
+ * http://goto/soy-param-migration
1553
+ * @return {!Object}
1554
+ */
1555
+ proto.GetListLineOfApprovalRequest.prototype.toObject = function(opt_includeInstance) {
1556
+ return proto.GetListLineOfApprovalRequest.toObject(opt_includeInstance, this);
1557
+ };
1558
+
1559
+
1560
+ /**
1561
+ * Static version of the {@see toObject} method.
1562
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1563
+ * the JSPB instance for transitional soy proto support:
1564
+ * http://goto/soy-param-migration
1565
+ * @param {!proto.GetListLineOfApprovalRequest} msg The msg instance to transform.
1566
+ * @return {!Object}
1567
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1568
+ */
1569
+ proto.GetListLineOfApprovalRequest.toObject = function(includeInstance, msg) {
1570
+ var f, obj = {
1571
+ pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
1572
+ query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
1573
+ };
1574
+
1575
+ if (includeInstance) {
1576
+ obj.$jspbMessageInstance = msg;
1577
+ }
1578
+ return obj;
1579
+ };
1580
+ }
1581
+
1582
+
1583
+ /**
1584
+ * Deserializes binary data (in protobuf wire format).
1585
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1586
+ * @return {!proto.GetListLineOfApprovalRequest}
1587
+ */
1588
+ proto.GetListLineOfApprovalRequest.deserializeBinary = function(bytes) {
1589
+ var reader = new jspb.BinaryReader(bytes);
1590
+ var msg = new proto.GetListLineOfApprovalRequest;
1591
+ return proto.GetListLineOfApprovalRequest.deserializeBinaryFromReader(msg, reader);
1592
+ };
1593
+
1594
+
1595
+ /**
1596
+ * Deserializes binary data (in protobuf wire format) from the
1597
+ * given reader into the given message object.
1598
+ * @param {!proto.GetListLineOfApprovalRequest} msg The message object to deserialize into.
1599
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1600
+ * @return {!proto.GetListLineOfApprovalRequest}
1601
+ */
1602
+ proto.GetListLineOfApprovalRequest.deserializeBinaryFromReader = function(msg, reader) {
1603
+ while (reader.nextField()) {
1604
+ if (reader.isEndGroup()) {
1605
+ break;
1606
+ }
1607
+ var field = reader.getFieldNumber();
1608
+ switch (field) {
1609
+ case 1:
1610
+ var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
1611
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
1612
+ msg.setPagination(value);
1613
+ break;
1614
+ case 2:
1615
+ var value = new prisca_v1_global_meta_meta_pb.FilterRequest;
1616
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.FilterRequest.deserializeBinaryFromReader);
1617
+ msg.setQuery(value);
1618
+ break;
1619
+ default:
1620
+ reader.skipField();
1621
+ break;
1622
+ }
1623
+ }
1624
+ return msg;
1625
+ };
1626
+
1627
+
1628
+ /**
1629
+ * Serializes the message to binary data (in protobuf wire format).
1630
+ * @return {!Uint8Array}
1631
+ */
1632
+ proto.GetListLineOfApprovalRequest.prototype.serializeBinary = function() {
1633
+ var writer = new jspb.BinaryWriter();
1634
+ proto.GetListLineOfApprovalRequest.serializeBinaryToWriter(this, writer);
1635
+ return writer.getResultBuffer();
1636
+ };
1637
+
1638
+
1639
+ /**
1640
+ * Serializes the given message to binary data (in protobuf wire
1641
+ * format), writing to the given BinaryWriter.
1642
+ * @param {!proto.GetListLineOfApprovalRequest} message
1643
+ * @param {!jspb.BinaryWriter} writer
1644
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1645
+ */
1646
+ proto.GetListLineOfApprovalRequest.serializeBinaryToWriter = function(message, writer) {
1647
+ var f = undefined;
1648
+ f = message.getPagination();
1649
+ if (f != null) {
1650
+ writer.writeMessage(
1651
+ 1,
1652
+ f,
1653
+ prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
1654
+ );
1655
+ }
1656
+ f = message.getQuery();
1657
+ if (f != null) {
1658
+ writer.writeMessage(
1659
+ 2,
1660
+ f,
1661
+ prisca_v1_global_meta_meta_pb.FilterRequest.serializeBinaryToWriter
1662
+ );
1663
+ }
1664
+ };
1665
+
1666
+
1667
+ /**
1668
+ * optional prisca.v1.global.meta.PaginationRequest pagination = 1;
1669
+ * @return {?proto.prisca.v1.global.meta.PaginationRequest}
1670
+ */
1671
+ proto.GetListLineOfApprovalRequest.prototype.getPagination = function() {
1672
+ return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
1673
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
1674
+ };
1675
+
1676
+
1677
+ /**
1678
+ * @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
1679
+ * @return {!proto.GetListLineOfApprovalRequest} returns this
1680
+ */
1681
+ proto.GetListLineOfApprovalRequest.prototype.setPagination = function(value) {
1682
+ return jspb.Message.setWrapperField(this, 1, value);
1683
+ };
1684
+
1685
+
1686
+ /**
1687
+ * Clears the message field making it undefined.
1688
+ * @return {!proto.GetListLineOfApprovalRequest} returns this
1689
+ */
1690
+ proto.GetListLineOfApprovalRequest.prototype.clearPagination = function() {
1691
+ return this.setPagination(undefined);
1692
+ };
1693
+
1694
+
1695
+ /**
1696
+ * Returns whether this field is set.
1697
+ * @return {boolean}
1698
+ */
1699
+ proto.GetListLineOfApprovalRequest.prototype.hasPagination = function() {
1700
+ return jspb.Message.getField(this, 1) != null;
1701
+ };
1702
+
1703
+
1704
+ /**
1705
+ * optional prisca.v1.global.meta.FilterRequest query = 2;
1706
+ * @return {?proto.prisca.v1.global.meta.FilterRequest}
1707
+ */
1708
+ proto.GetListLineOfApprovalRequest.prototype.getQuery = function() {
1709
+ return /** @type{?proto.prisca.v1.global.meta.FilterRequest} */ (
1710
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.FilterRequest, 2));
1711
+ };
1712
+
1713
+
1714
+ /**
1715
+ * @param {?proto.prisca.v1.global.meta.FilterRequest|undefined} value
1716
+ * @return {!proto.GetListLineOfApprovalRequest} returns this
1717
+ */
1718
+ proto.GetListLineOfApprovalRequest.prototype.setQuery = function(value) {
1719
+ return jspb.Message.setWrapperField(this, 2, value);
1720
+ };
1721
+
1722
+
1723
+ /**
1724
+ * Clears the message field making it undefined.
1725
+ * @return {!proto.GetListLineOfApprovalRequest} returns this
1726
+ */
1727
+ proto.GetListLineOfApprovalRequest.prototype.clearQuery = function() {
1728
+ return this.setQuery(undefined);
1729
+ };
1730
+
1731
+
1732
+ /**
1733
+ * Returns whether this field is set.
1734
+ * @return {boolean}
1735
+ */
1736
+ proto.GetListLineOfApprovalRequest.prototype.hasQuery = function() {
1737
+ return jspb.Message.getField(this, 2) != null;
1738
+ };
1739
+
1740
+
1741
+
1742
+
1743
+
1744
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1745
+ /**
1746
+ * Creates an object representation of this proto.
1747
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1748
+ * Optional fields that are not set will be set to undefined.
1749
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1750
+ * For the list of reserved names please see:
1751
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1752
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1753
+ * JSPB instance for transitional soy proto support:
1754
+ * http://goto/soy-param-migration
1755
+ * @return {!Object}
1756
+ */
1757
+ proto.CreateLineOfApprovalResponse.prototype.toObject = function(opt_includeInstance) {
1758
+ return proto.CreateLineOfApprovalResponse.toObject(opt_includeInstance, this);
1759
+ };
1760
+
1761
+
1762
+ /**
1763
+ * Static version of the {@see toObject} method.
1764
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1765
+ * the JSPB instance for transitional soy proto support:
1766
+ * http://goto/soy-param-migration
1767
+ * @param {!proto.CreateLineOfApprovalResponse} msg The msg instance to transform.
1768
+ * @return {!Object}
1769
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1770
+ */
1771
+ proto.CreateLineOfApprovalResponse.toObject = function(includeInstance, msg) {
1772
+ var f, obj = {
1773
+ lineOfApproval: (f = msg.getLineOfApproval()) && proto.LineOfApproval.toObject(includeInstance, f),
1774
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
1775
+ };
1776
+
1777
+ if (includeInstance) {
1778
+ obj.$jspbMessageInstance = msg;
1779
+ }
1780
+ return obj;
1781
+ };
1782
+ }
1783
+
1784
+
1785
+ /**
1786
+ * Deserializes binary data (in protobuf wire format).
1787
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1788
+ * @return {!proto.CreateLineOfApprovalResponse}
1789
+ */
1790
+ proto.CreateLineOfApprovalResponse.deserializeBinary = function(bytes) {
1791
+ var reader = new jspb.BinaryReader(bytes);
1792
+ var msg = new proto.CreateLineOfApprovalResponse;
1793
+ return proto.CreateLineOfApprovalResponse.deserializeBinaryFromReader(msg, reader);
1794
+ };
1795
+
1796
+
1797
+ /**
1798
+ * Deserializes binary data (in protobuf wire format) from the
1799
+ * given reader into the given message object.
1800
+ * @param {!proto.CreateLineOfApprovalResponse} msg The message object to deserialize into.
1801
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1802
+ * @return {!proto.CreateLineOfApprovalResponse}
1803
+ */
1804
+ proto.CreateLineOfApprovalResponse.deserializeBinaryFromReader = function(msg, reader) {
1805
+ while (reader.nextField()) {
1806
+ if (reader.isEndGroup()) {
1807
+ break;
1808
+ }
1809
+ var field = reader.getFieldNumber();
1810
+ switch (field) {
1811
+ case 1:
1812
+ var value = new proto.LineOfApproval;
1813
+ reader.readMessage(value,proto.LineOfApproval.deserializeBinaryFromReader);
1814
+ msg.setLineOfApproval(value);
1815
+ break;
1816
+ case 2:
1817
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
1818
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
1819
+ msg.setMeta(value);
1820
+ break;
1821
+ default:
1822
+ reader.skipField();
1823
+ break;
1824
+ }
1825
+ }
1826
+ return msg;
1827
+ };
1828
+
1829
+
1830
+ /**
1831
+ * Serializes the message to binary data (in protobuf wire format).
1832
+ * @return {!Uint8Array}
1833
+ */
1834
+ proto.CreateLineOfApprovalResponse.prototype.serializeBinary = function() {
1835
+ var writer = new jspb.BinaryWriter();
1836
+ proto.CreateLineOfApprovalResponse.serializeBinaryToWriter(this, writer);
1837
+ return writer.getResultBuffer();
1838
+ };
1839
+
1840
+
1841
+ /**
1842
+ * Serializes the given message to binary data (in protobuf wire
1843
+ * format), writing to the given BinaryWriter.
1844
+ * @param {!proto.CreateLineOfApprovalResponse} message
1845
+ * @param {!jspb.BinaryWriter} writer
1846
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1847
+ */
1848
+ proto.CreateLineOfApprovalResponse.serializeBinaryToWriter = function(message, writer) {
1849
+ var f = undefined;
1850
+ f = message.getLineOfApproval();
1851
+ if (f != null) {
1852
+ writer.writeMessage(
1853
+ 1,
1854
+ f,
1855
+ proto.LineOfApproval.serializeBinaryToWriter
1856
+ );
1857
+ }
1858
+ f = message.getMeta();
1859
+ if (f != null) {
1860
+ writer.writeMessage(
1861
+ 2,
1862
+ f,
1863
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
1864
+ );
1865
+ }
1866
+ };
1867
+
1868
+
1869
+ /**
1870
+ * optional LineOfApproval line_of_approval = 1;
1871
+ * @return {?proto.LineOfApproval}
1872
+ */
1873
+ proto.CreateLineOfApprovalResponse.prototype.getLineOfApproval = function() {
1874
+ return /** @type{?proto.LineOfApproval} */ (
1875
+ jspb.Message.getWrapperField(this, proto.LineOfApproval, 1));
1876
+ };
1877
+
1878
+
1879
+ /**
1880
+ * @param {?proto.LineOfApproval|undefined} value
1881
+ * @return {!proto.CreateLineOfApprovalResponse} returns this
1882
+ */
1883
+ proto.CreateLineOfApprovalResponse.prototype.setLineOfApproval = function(value) {
1884
+ return jspb.Message.setWrapperField(this, 1, value);
1885
+ };
1886
+
1887
+
1888
+ /**
1889
+ * Clears the message field making it undefined.
1890
+ * @return {!proto.CreateLineOfApprovalResponse} returns this
1891
+ */
1892
+ proto.CreateLineOfApprovalResponse.prototype.clearLineOfApproval = function() {
1893
+ return this.setLineOfApproval(undefined);
1894
+ };
1895
+
1896
+
1897
+ /**
1898
+ * Returns whether this field is set.
1899
+ * @return {boolean}
1900
+ */
1901
+ proto.CreateLineOfApprovalResponse.prototype.hasLineOfApproval = function() {
1902
+ return jspb.Message.getField(this, 1) != null;
1903
+ };
1904
+
1905
+
1906
+ /**
1907
+ * optional prisca.v1.global.meta.Meta meta = 2;
1908
+ * @return {?proto.prisca.v1.global.meta.Meta}
1909
+ */
1910
+ proto.CreateLineOfApprovalResponse.prototype.getMeta = function() {
1911
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
1912
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
1913
+ };
1914
+
1915
+
1916
+ /**
1917
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
1918
+ * @return {!proto.CreateLineOfApprovalResponse} returns this
1919
+ */
1920
+ proto.CreateLineOfApprovalResponse.prototype.setMeta = function(value) {
1921
+ return jspb.Message.setWrapperField(this, 2, value);
1922
+ };
1923
+
1924
+
1925
+ /**
1926
+ * Clears the message field making it undefined.
1927
+ * @return {!proto.CreateLineOfApprovalResponse} returns this
1928
+ */
1929
+ proto.CreateLineOfApprovalResponse.prototype.clearMeta = function() {
1930
+ return this.setMeta(undefined);
1931
+ };
1932
+
1933
+
1934
+ /**
1935
+ * Returns whether this field is set.
1936
+ * @return {boolean}
1937
+ */
1938
+ proto.CreateLineOfApprovalResponse.prototype.hasMeta = function() {
1939
+ return jspb.Message.getField(this, 2) != null;
1940
+ };
1941
+
1942
+
1943
+
1944
+
1945
+
1946
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1947
+ /**
1948
+ * Creates an object representation of this proto.
1949
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1950
+ * Optional fields that are not set will be set to undefined.
1951
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1952
+ * For the list of reserved names please see:
1953
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1954
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1955
+ * JSPB instance for transitional soy proto support:
1956
+ * http://goto/soy-param-migration
1957
+ * @return {!Object}
1958
+ */
1959
+ proto.UpdateLineOfApprovalResponse.prototype.toObject = function(opt_includeInstance) {
1960
+ return proto.UpdateLineOfApprovalResponse.toObject(opt_includeInstance, this);
1961
+ };
1962
+
1963
+
1964
+ /**
1965
+ * Static version of the {@see toObject} method.
1966
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1967
+ * the JSPB instance for transitional soy proto support:
1968
+ * http://goto/soy-param-migration
1969
+ * @param {!proto.UpdateLineOfApprovalResponse} msg The msg instance to transform.
1970
+ * @return {!Object}
1971
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1972
+ */
1973
+ proto.UpdateLineOfApprovalResponse.toObject = function(includeInstance, msg) {
1974
+ var f, obj = {
1975
+ lineOfApproval: (f = msg.getLineOfApproval()) && proto.LineOfApproval.toObject(includeInstance, f),
1976
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
1977
+ };
1978
+
1979
+ if (includeInstance) {
1980
+ obj.$jspbMessageInstance = msg;
1981
+ }
1982
+ return obj;
1983
+ };
1984
+ }
1985
+
1986
+
1987
+ /**
1988
+ * Deserializes binary data (in protobuf wire format).
1989
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1990
+ * @return {!proto.UpdateLineOfApprovalResponse}
1991
+ */
1992
+ proto.UpdateLineOfApprovalResponse.deserializeBinary = function(bytes) {
1993
+ var reader = new jspb.BinaryReader(bytes);
1994
+ var msg = new proto.UpdateLineOfApprovalResponse;
1995
+ return proto.UpdateLineOfApprovalResponse.deserializeBinaryFromReader(msg, reader);
1996
+ };
1997
+
1998
+
1999
+ /**
2000
+ * Deserializes binary data (in protobuf wire format) from the
2001
+ * given reader into the given message object.
2002
+ * @param {!proto.UpdateLineOfApprovalResponse} msg The message object to deserialize into.
2003
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2004
+ * @return {!proto.UpdateLineOfApprovalResponse}
2005
+ */
2006
+ proto.UpdateLineOfApprovalResponse.deserializeBinaryFromReader = function(msg, reader) {
2007
+ while (reader.nextField()) {
2008
+ if (reader.isEndGroup()) {
2009
+ break;
2010
+ }
2011
+ var field = reader.getFieldNumber();
2012
+ switch (field) {
2013
+ case 1:
2014
+ var value = new proto.LineOfApproval;
2015
+ reader.readMessage(value,proto.LineOfApproval.deserializeBinaryFromReader);
2016
+ msg.setLineOfApproval(value);
2017
+ break;
2018
+ case 2:
2019
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
2020
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2021
+ msg.setMeta(value);
2022
+ break;
2023
+ default:
2024
+ reader.skipField();
2025
+ break;
2026
+ }
2027
+ }
2028
+ return msg;
2029
+ };
2030
+
2031
+
2032
+ /**
2033
+ * Serializes the message to binary data (in protobuf wire format).
2034
+ * @return {!Uint8Array}
2035
+ */
2036
+ proto.UpdateLineOfApprovalResponse.prototype.serializeBinary = function() {
2037
+ var writer = new jspb.BinaryWriter();
2038
+ proto.UpdateLineOfApprovalResponse.serializeBinaryToWriter(this, writer);
2039
+ return writer.getResultBuffer();
2040
+ };
2041
+
2042
+
2043
+ /**
2044
+ * Serializes the given message to binary data (in protobuf wire
2045
+ * format), writing to the given BinaryWriter.
2046
+ * @param {!proto.UpdateLineOfApprovalResponse} message
2047
+ * @param {!jspb.BinaryWriter} writer
2048
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2049
+ */
2050
+ proto.UpdateLineOfApprovalResponse.serializeBinaryToWriter = function(message, writer) {
2051
+ var f = undefined;
2052
+ f = message.getLineOfApproval();
2053
+ if (f != null) {
2054
+ writer.writeMessage(
2055
+ 1,
2056
+ f,
2057
+ proto.LineOfApproval.serializeBinaryToWriter
2058
+ );
2059
+ }
2060
+ f = message.getMeta();
2061
+ if (f != null) {
2062
+ writer.writeMessage(
2063
+ 2,
2064
+ f,
2065
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2066
+ );
2067
+ }
2068
+ };
2069
+
2070
+
2071
+ /**
2072
+ * optional LineOfApproval line_of_approval = 1;
2073
+ * @return {?proto.LineOfApproval}
2074
+ */
2075
+ proto.UpdateLineOfApprovalResponse.prototype.getLineOfApproval = function() {
2076
+ return /** @type{?proto.LineOfApproval} */ (
2077
+ jspb.Message.getWrapperField(this, proto.LineOfApproval, 1));
2078
+ };
2079
+
2080
+
2081
+ /**
2082
+ * @param {?proto.LineOfApproval|undefined} value
2083
+ * @return {!proto.UpdateLineOfApprovalResponse} returns this
2084
+ */
2085
+ proto.UpdateLineOfApprovalResponse.prototype.setLineOfApproval = function(value) {
2086
+ return jspb.Message.setWrapperField(this, 1, value);
2087
+ };
2088
+
2089
+
2090
+ /**
2091
+ * Clears the message field making it undefined.
2092
+ * @return {!proto.UpdateLineOfApprovalResponse} returns this
2093
+ */
2094
+ proto.UpdateLineOfApprovalResponse.prototype.clearLineOfApproval = function() {
2095
+ return this.setLineOfApproval(undefined);
2096
+ };
2097
+
2098
+
2099
+ /**
2100
+ * Returns whether this field is set.
2101
+ * @return {boolean}
2102
+ */
2103
+ proto.UpdateLineOfApprovalResponse.prototype.hasLineOfApproval = function() {
2104
+ return jspb.Message.getField(this, 1) != null;
2105
+ };
2106
+
2107
+
2108
+ /**
2109
+ * optional prisca.v1.global.meta.Meta meta = 2;
2110
+ * @return {?proto.prisca.v1.global.meta.Meta}
2111
+ */
2112
+ proto.UpdateLineOfApprovalResponse.prototype.getMeta = function() {
2113
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2114
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2115
+ };
2116
+
2117
+
2118
+ /**
2119
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2120
+ * @return {!proto.UpdateLineOfApprovalResponse} returns this
2121
+ */
2122
+ proto.UpdateLineOfApprovalResponse.prototype.setMeta = function(value) {
2123
+ return jspb.Message.setWrapperField(this, 2, value);
2124
+ };
2125
+
2126
+
2127
+ /**
2128
+ * Clears the message field making it undefined.
2129
+ * @return {!proto.UpdateLineOfApprovalResponse} returns this
2130
+ */
2131
+ proto.UpdateLineOfApprovalResponse.prototype.clearMeta = function() {
2132
+ return this.setMeta(undefined);
2133
+ };
2134
+
2135
+
2136
+ /**
2137
+ * Returns whether this field is set.
2138
+ * @return {boolean}
2139
+ */
2140
+ proto.UpdateLineOfApprovalResponse.prototype.hasMeta = function() {
2141
+ return jspb.Message.getField(this, 2) != null;
2142
+ };
2143
+
2144
+
2145
+
2146
+
2147
+
2148
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2149
+ /**
2150
+ * Creates an object representation of this proto.
2151
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2152
+ * Optional fields that are not set will be set to undefined.
2153
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2154
+ * For the list of reserved names please see:
2155
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2156
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2157
+ * JSPB instance for transitional soy proto support:
2158
+ * http://goto/soy-param-migration
2159
+ * @return {!Object}
2160
+ */
2161
+ proto.DeleteLineOfApprovalResponse.prototype.toObject = function(opt_includeInstance) {
2162
+ return proto.DeleteLineOfApprovalResponse.toObject(opt_includeInstance, this);
2163
+ };
2164
+
2165
+
2166
+ /**
2167
+ * Static version of the {@see toObject} method.
2168
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2169
+ * the JSPB instance for transitional soy proto support:
2170
+ * http://goto/soy-param-migration
2171
+ * @param {!proto.DeleteLineOfApprovalResponse} msg The msg instance to transform.
2172
+ * @return {!Object}
2173
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2174
+ */
2175
+ proto.DeleteLineOfApprovalResponse.toObject = function(includeInstance, msg) {
2176
+ var f, obj = {
2177
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2178
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2179
+ };
2180
+
2181
+ if (includeInstance) {
2182
+ obj.$jspbMessageInstance = msg;
2183
+ }
2184
+ return obj;
2185
+ };
2186
+ }
2187
+
2188
+
2189
+ /**
2190
+ * Deserializes binary data (in protobuf wire format).
2191
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2192
+ * @return {!proto.DeleteLineOfApprovalResponse}
2193
+ */
2194
+ proto.DeleteLineOfApprovalResponse.deserializeBinary = function(bytes) {
2195
+ var reader = new jspb.BinaryReader(bytes);
2196
+ var msg = new proto.DeleteLineOfApprovalResponse;
2197
+ return proto.DeleteLineOfApprovalResponse.deserializeBinaryFromReader(msg, reader);
2198
+ };
2199
+
2200
+
2201
+ /**
2202
+ * Deserializes binary data (in protobuf wire format) from the
2203
+ * given reader into the given message object.
2204
+ * @param {!proto.DeleteLineOfApprovalResponse} msg The message object to deserialize into.
2205
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2206
+ * @return {!proto.DeleteLineOfApprovalResponse}
2207
+ */
2208
+ proto.DeleteLineOfApprovalResponse.deserializeBinaryFromReader = function(msg, reader) {
2209
+ while (reader.nextField()) {
2210
+ if (reader.isEndGroup()) {
2211
+ break;
2212
+ }
2213
+ var field = reader.getFieldNumber();
2214
+ switch (field) {
2215
+ case 1:
2216
+ var value = /** @type {string} */ (reader.readString());
2217
+ msg.setReferencesId(value);
2218
+ break;
2219
+ case 2:
2220
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
2221
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2222
+ msg.setMeta(value);
2223
+ break;
2224
+ default:
2225
+ reader.skipField();
2226
+ break;
2227
+ }
2228
+ }
2229
+ return msg;
2230
+ };
2231
+
2232
+
2233
+ /**
2234
+ * Serializes the message to binary data (in protobuf wire format).
2235
+ * @return {!Uint8Array}
2236
+ */
2237
+ proto.DeleteLineOfApprovalResponse.prototype.serializeBinary = function() {
2238
+ var writer = new jspb.BinaryWriter();
2239
+ proto.DeleteLineOfApprovalResponse.serializeBinaryToWriter(this, writer);
2240
+ return writer.getResultBuffer();
2241
+ };
2242
+
2243
+
2244
+ /**
2245
+ * Serializes the given message to binary data (in protobuf wire
2246
+ * format), writing to the given BinaryWriter.
2247
+ * @param {!proto.DeleteLineOfApprovalResponse} message
2248
+ * @param {!jspb.BinaryWriter} writer
2249
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2250
+ */
2251
+ proto.DeleteLineOfApprovalResponse.serializeBinaryToWriter = function(message, writer) {
2252
+ var f = undefined;
2253
+ f = message.getReferencesId();
2254
+ if (f.length > 0) {
2255
+ writer.writeString(
2256
+ 1,
2257
+ f
2258
+ );
2259
+ }
2260
+ f = message.getMeta();
2261
+ if (f != null) {
2262
+ writer.writeMessage(
2263
+ 2,
2264
+ f,
2265
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2266
+ );
2267
+ }
2268
+ };
2269
+
2270
+
2271
+ /**
2272
+ * optional string references_id = 1;
2273
+ * @return {string}
2274
+ */
2275
+ proto.DeleteLineOfApprovalResponse.prototype.getReferencesId = function() {
2276
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2277
+ };
2278
+
2279
+
2280
+ /**
2281
+ * @param {string} value
2282
+ * @return {!proto.DeleteLineOfApprovalResponse} returns this
2283
+ */
2284
+ proto.DeleteLineOfApprovalResponse.prototype.setReferencesId = function(value) {
2285
+ return jspb.Message.setProto3StringField(this, 1, value);
2286
+ };
2287
+
2288
+
2289
+ /**
2290
+ * optional prisca.v1.global.meta.Meta meta = 2;
2291
+ * @return {?proto.prisca.v1.global.meta.Meta}
2292
+ */
2293
+ proto.DeleteLineOfApprovalResponse.prototype.getMeta = function() {
2294
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2295
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2296
+ };
2297
+
2298
+
2299
+ /**
2300
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2301
+ * @return {!proto.DeleteLineOfApprovalResponse} returns this
2302
+ */
2303
+ proto.DeleteLineOfApprovalResponse.prototype.setMeta = function(value) {
2304
+ return jspb.Message.setWrapperField(this, 2, value);
2305
+ };
2306
+
2307
+
2308
+ /**
2309
+ * Clears the message field making it undefined.
2310
+ * @return {!proto.DeleteLineOfApprovalResponse} returns this
2311
+ */
2312
+ proto.DeleteLineOfApprovalResponse.prototype.clearMeta = function() {
2313
+ return this.setMeta(undefined);
2314
+ };
2315
+
2316
+
2317
+ /**
2318
+ * Returns whether this field is set.
2319
+ * @return {boolean}
2320
+ */
2321
+ proto.DeleteLineOfApprovalResponse.prototype.hasMeta = function() {
2322
+ return jspb.Message.getField(this, 2) != null;
2323
+ };
2324
+
2325
+
2326
+
2327
+
2328
+
2329
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2330
+ /**
2331
+ * Creates an object representation of this proto.
2332
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2333
+ * Optional fields that are not set will be set to undefined.
2334
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2335
+ * For the list of reserved names please see:
2336
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2337
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2338
+ * JSPB instance for transitional soy proto support:
2339
+ * http://goto/soy-param-migration
2340
+ * @return {!Object}
2341
+ */
2342
+ proto.GetLineOfApprovalByIdResponse.prototype.toObject = function(opt_includeInstance) {
2343
+ return proto.GetLineOfApprovalByIdResponse.toObject(opt_includeInstance, this);
2344
+ };
2345
+
2346
+
2347
+ /**
2348
+ * Static version of the {@see toObject} method.
2349
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2350
+ * the JSPB instance for transitional soy proto support:
2351
+ * http://goto/soy-param-migration
2352
+ * @param {!proto.GetLineOfApprovalByIdResponse} msg The msg instance to transform.
2353
+ * @return {!Object}
2354
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2355
+ */
2356
+ proto.GetLineOfApprovalByIdResponse.toObject = function(includeInstance, msg) {
2357
+ var f, obj = {
2358
+ lineOfApproval: (f = msg.getLineOfApproval()) && proto.LineOfApproval.toObject(includeInstance, f),
2359
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2360
+ };
2361
+
2362
+ if (includeInstance) {
2363
+ obj.$jspbMessageInstance = msg;
2364
+ }
2365
+ return obj;
2366
+ };
2367
+ }
2368
+
2369
+
2370
+ /**
2371
+ * Deserializes binary data (in protobuf wire format).
2372
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2373
+ * @return {!proto.GetLineOfApprovalByIdResponse}
2374
+ */
2375
+ proto.GetLineOfApprovalByIdResponse.deserializeBinary = function(bytes) {
2376
+ var reader = new jspb.BinaryReader(bytes);
2377
+ var msg = new proto.GetLineOfApprovalByIdResponse;
2378
+ return proto.GetLineOfApprovalByIdResponse.deserializeBinaryFromReader(msg, reader);
2379
+ };
2380
+
2381
+
2382
+ /**
2383
+ * Deserializes binary data (in protobuf wire format) from the
2384
+ * given reader into the given message object.
2385
+ * @param {!proto.GetLineOfApprovalByIdResponse} msg The message object to deserialize into.
2386
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2387
+ * @return {!proto.GetLineOfApprovalByIdResponse}
2388
+ */
2389
+ proto.GetLineOfApprovalByIdResponse.deserializeBinaryFromReader = function(msg, reader) {
2390
+ while (reader.nextField()) {
2391
+ if (reader.isEndGroup()) {
2392
+ break;
2393
+ }
2394
+ var field = reader.getFieldNumber();
2395
+ switch (field) {
2396
+ case 1:
2397
+ var value = new proto.LineOfApproval;
2398
+ reader.readMessage(value,proto.LineOfApproval.deserializeBinaryFromReader);
2399
+ msg.setLineOfApproval(value);
2400
+ break;
2401
+ case 2:
2402
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
2403
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2404
+ msg.setMeta(value);
2405
+ break;
2406
+ default:
2407
+ reader.skipField();
2408
+ break;
2409
+ }
2410
+ }
2411
+ return msg;
2412
+ };
2413
+
2414
+
2415
+ /**
2416
+ * Serializes the message to binary data (in protobuf wire format).
2417
+ * @return {!Uint8Array}
2418
+ */
2419
+ proto.GetLineOfApprovalByIdResponse.prototype.serializeBinary = function() {
2420
+ var writer = new jspb.BinaryWriter();
2421
+ proto.GetLineOfApprovalByIdResponse.serializeBinaryToWriter(this, writer);
2422
+ return writer.getResultBuffer();
2423
+ };
2424
+
2425
+
2426
+ /**
2427
+ * Serializes the given message to binary data (in protobuf wire
2428
+ * format), writing to the given BinaryWriter.
2429
+ * @param {!proto.GetLineOfApprovalByIdResponse} message
2430
+ * @param {!jspb.BinaryWriter} writer
2431
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2432
+ */
2433
+ proto.GetLineOfApprovalByIdResponse.serializeBinaryToWriter = function(message, writer) {
2434
+ var f = undefined;
2435
+ f = message.getLineOfApproval();
2436
+ if (f != null) {
2437
+ writer.writeMessage(
2438
+ 1,
2439
+ f,
2440
+ proto.LineOfApproval.serializeBinaryToWriter
2441
+ );
2442
+ }
2443
+ f = message.getMeta();
2444
+ if (f != null) {
2445
+ writer.writeMessage(
2446
+ 2,
2447
+ f,
2448
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2449
+ );
2450
+ }
2451
+ };
2452
+
2453
+
2454
+ /**
2455
+ * optional LineOfApproval line_of_approval = 1;
2456
+ * @return {?proto.LineOfApproval}
2457
+ */
2458
+ proto.GetLineOfApprovalByIdResponse.prototype.getLineOfApproval = function() {
2459
+ return /** @type{?proto.LineOfApproval} */ (
2460
+ jspb.Message.getWrapperField(this, proto.LineOfApproval, 1));
2461
+ };
2462
+
2463
+
2464
+ /**
2465
+ * @param {?proto.LineOfApproval|undefined} value
2466
+ * @return {!proto.GetLineOfApprovalByIdResponse} returns this
2467
+ */
2468
+ proto.GetLineOfApprovalByIdResponse.prototype.setLineOfApproval = function(value) {
2469
+ return jspb.Message.setWrapperField(this, 1, value);
2470
+ };
2471
+
2472
+
2473
+ /**
2474
+ * Clears the message field making it undefined.
2475
+ * @return {!proto.GetLineOfApprovalByIdResponse} returns this
2476
+ */
2477
+ proto.GetLineOfApprovalByIdResponse.prototype.clearLineOfApproval = function() {
2478
+ return this.setLineOfApproval(undefined);
2479
+ };
2480
+
2481
+
2482
+ /**
2483
+ * Returns whether this field is set.
2484
+ * @return {boolean}
2485
+ */
2486
+ proto.GetLineOfApprovalByIdResponse.prototype.hasLineOfApproval = function() {
2487
+ return jspb.Message.getField(this, 1) != null;
2488
+ };
2489
+
2490
+
2491
+ /**
2492
+ * optional prisca.v1.global.meta.Meta meta = 2;
2493
+ * @return {?proto.prisca.v1.global.meta.Meta}
2494
+ */
2495
+ proto.GetLineOfApprovalByIdResponse.prototype.getMeta = function() {
2496
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2497
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2498
+ };
2499
+
2500
+
2501
+ /**
2502
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2503
+ * @return {!proto.GetLineOfApprovalByIdResponse} returns this
2504
+ */
2505
+ proto.GetLineOfApprovalByIdResponse.prototype.setMeta = function(value) {
2506
+ return jspb.Message.setWrapperField(this, 2, value);
2507
+ };
2508
+
2509
+
2510
+ /**
2511
+ * Clears the message field making it undefined.
2512
+ * @return {!proto.GetLineOfApprovalByIdResponse} returns this
2513
+ */
2514
+ proto.GetLineOfApprovalByIdResponse.prototype.clearMeta = function() {
2515
+ return this.setMeta(undefined);
2516
+ };
2517
+
2518
+
2519
+ /**
2520
+ * Returns whether this field is set.
2521
+ * @return {boolean}
2522
+ */
2523
+ proto.GetLineOfApprovalByIdResponse.prototype.hasMeta = function() {
2524
+ return jspb.Message.getField(this, 2) != null;
2525
+ };
2526
+
2527
+
2528
+
2529
+ /**
2530
+ * List of repeated fields within this message type.
2531
+ * @private {!Array<number>}
2532
+ * @const
2533
+ */
2534
+ proto.GetListLineOfApprovalResponse.repeatedFields_ = [1];
2535
+
2536
+
2537
+
2538
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2539
+ /**
2540
+ * Creates an object representation of this proto.
2541
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2542
+ * Optional fields that are not set will be set to undefined.
2543
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2544
+ * For the list of reserved names please see:
2545
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2546
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2547
+ * JSPB instance for transitional soy proto support:
2548
+ * http://goto/soy-param-migration
2549
+ * @return {!Object}
2550
+ */
2551
+ proto.GetListLineOfApprovalResponse.prototype.toObject = function(opt_includeInstance) {
2552
+ return proto.GetListLineOfApprovalResponse.toObject(opt_includeInstance, this);
2553
+ };
2554
+
2555
+
2556
+ /**
2557
+ * Static version of the {@see toObject} method.
2558
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2559
+ * the JSPB instance for transitional soy proto support:
2560
+ * http://goto/soy-param-migration
2561
+ * @param {!proto.GetListLineOfApprovalResponse} msg The msg instance to transform.
2562
+ * @return {!Object}
2563
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2564
+ */
2565
+ proto.GetListLineOfApprovalResponse.toObject = function(includeInstance, msg) {
2566
+ var f, obj = {
2567
+ lineOfApprovalsList: jspb.Message.toObjectList(msg.getLineOfApprovalsList(),
2568
+ proto.LineOfApproval.toObject, includeInstance),
2569
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2570
+ };
2571
+
2572
+ if (includeInstance) {
2573
+ obj.$jspbMessageInstance = msg;
2574
+ }
2575
+ return obj;
2576
+ };
2577
+ }
2578
+
2579
+
2580
+ /**
2581
+ * Deserializes binary data (in protobuf wire format).
2582
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2583
+ * @return {!proto.GetListLineOfApprovalResponse}
2584
+ */
2585
+ proto.GetListLineOfApprovalResponse.deserializeBinary = function(bytes) {
2586
+ var reader = new jspb.BinaryReader(bytes);
2587
+ var msg = new proto.GetListLineOfApprovalResponse;
2588
+ return proto.GetListLineOfApprovalResponse.deserializeBinaryFromReader(msg, reader);
2589
+ };
2590
+
2591
+
2592
+ /**
2593
+ * Deserializes binary data (in protobuf wire format) from the
2594
+ * given reader into the given message object.
2595
+ * @param {!proto.GetListLineOfApprovalResponse} msg The message object to deserialize into.
2596
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2597
+ * @return {!proto.GetListLineOfApprovalResponse}
2598
+ */
2599
+ proto.GetListLineOfApprovalResponse.deserializeBinaryFromReader = function(msg, reader) {
2600
+ while (reader.nextField()) {
2601
+ if (reader.isEndGroup()) {
2602
+ break;
2603
+ }
2604
+ var field = reader.getFieldNumber();
2605
+ switch (field) {
2606
+ case 1:
2607
+ var value = new proto.LineOfApproval;
2608
+ reader.readMessage(value,proto.LineOfApproval.deserializeBinaryFromReader);
2609
+ msg.addLineOfApprovals(value);
2610
+ break;
2611
+ case 2:
2612
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
2613
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2614
+ msg.setMeta(value);
2615
+ break;
2616
+ default:
2617
+ reader.skipField();
2618
+ break;
2619
+ }
2620
+ }
2621
+ return msg;
2622
+ };
2623
+
2624
+
2625
+ /**
2626
+ * Serializes the message to binary data (in protobuf wire format).
2627
+ * @return {!Uint8Array}
2628
+ */
2629
+ proto.GetListLineOfApprovalResponse.prototype.serializeBinary = function() {
2630
+ var writer = new jspb.BinaryWriter();
2631
+ proto.GetListLineOfApprovalResponse.serializeBinaryToWriter(this, writer);
2632
+ return writer.getResultBuffer();
2633
+ };
2634
+
2635
+
2636
+ /**
2637
+ * Serializes the given message to binary data (in protobuf wire
2638
+ * format), writing to the given BinaryWriter.
2639
+ * @param {!proto.GetListLineOfApprovalResponse} message
2640
+ * @param {!jspb.BinaryWriter} writer
2641
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2642
+ */
2643
+ proto.GetListLineOfApprovalResponse.serializeBinaryToWriter = function(message, writer) {
2644
+ var f = undefined;
2645
+ f = message.getLineOfApprovalsList();
2646
+ if (f.length > 0) {
2647
+ writer.writeRepeatedMessage(
2648
+ 1,
2649
+ f,
2650
+ proto.LineOfApproval.serializeBinaryToWriter
2651
+ );
2652
+ }
2653
+ f = message.getMeta();
2654
+ if (f != null) {
2655
+ writer.writeMessage(
2656
+ 2,
2657
+ f,
2658
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2659
+ );
2660
+ }
2661
+ };
2662
+
2663
+
2664
+ /**
2665
+ * repeated LineOfApproval line_of_approvals = 1;
2666
+ * @return {!Array<!proto.LineOfApproval>}
2667
+ */
2668
+ proto.GetListLineOfApprovalResponse.prototype.getLineOfApprovalsList = function() {
2669
+ return /** @type{!Array<!proto.LineOfApproval>} */ (
2670
+ jspb.Message.getRepeatedWrapperField(this, proto.LineOfApproval, 1));
2671
+ };
2672
+
2673
+
2674
+ /**
2675
+ * @param {!Array<!proto.LineOfApproval>} value
2676
+ * @return {!proto.GetListLineOfApprovalResponse} returns this
2677
+ */
2678
+ proto.GetListLineOfApprovalResponse.prototype.setLineOfApprovalsList = function(value) {
2679
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
2680
+ };
2681
+
2682
+
2683
+ /**
2684
+ * @param {!proto.LineOfApproval=} opt_value
2685
+ * @param {number=} opt_index
2686
+ * @return {!proto.LineOfApproval}
2687
+ */
2688
+ proto.GetListLineOfApprovalResponse.prototype.addLineOfApprovals = function(opt_value, opt_index) {
2689
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.LineOfApproval, opt_index);
2690
+ };
2691
+
2692
+
2693
+ /**
2694
+ * Clears the list making it empty but non-null.
2695
+ * @return {!proto.GetListLineOfApprovalResponse} returns this
2696
+ */
2697
+ proto.GetListLineOfApprovalResponse.prototype.clearLineOfApprovalsList = function() {
2698
+ return this.setLineOfApprovalsList([]);
2699
+ };
2700
+
2701
+
2702
+ /**
2703
+ * optional prisca.v1.global.meta.Meta meta = 2;
2704
+ * @return {?proto.prisca.v1.global.meta.Meta}
2705
+ */
2706
+ proto.GetListLineOfApprovalResponse.prototype.getMeta = function() {
2707
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2708
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2709
+ };
2710
+
2711
+
2712
+ /**
2713
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2714
+ * @return {!proto.GetListLineOfApprovalResponse} returns this
2715
+ */
2716
+ proto.GetListLineOfApprovalResponse.prototype.setMeta = function(value) {
2717
+ return jspb.Message.setWrapperField(this, 2, value);
2718
+ };
2719
+
2720
+
2721
+ /**
2722
+ * Clears the message field making it undefined.
2723
+ * @return {!proto.GetListLineOfApprovalResponse} returns this
2724
+ */
2725
+ proto.GetListLineOfApprovalResponse.prototype.clearMeta = function() {
2726
+ return this.setMeta(undefined);
2727
+ };
2728
+
2729
+
2730
+ /**
2731
+ * Returns whether this field is set.
2732
+ * @return {boolean}
2733
+ */
2734
+ proto.GetListLineOfApprovalResponse.prototype.hasMeta = function() {
2735
+ return jspb.Message.getField(this, 2) != null;
2736
+ };
2737
+
2738
+
2739
+
2740
+
2741
+
2742
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2743
+ /**
2744
+ * Creates an object representation of this proto.
2745
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2746
+ * Optional fields that are not set will be set to undefined.
2747
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2748
+ * For the list of reserved names please see:
2749
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2750
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2751
+ * JSPB instance for transitional soy proto support:
2752
+ * http://goto/soy-param-migration
2753
+ * @return {!Object}
2754
+ */
2755
+ proto.BaseListAllLineOfApproval.prototype.toObject = function(opt_includeInstance) {
2756
+ return proto.BaseListAllLineOfApproval.toObject(opt_includeInstance, this);
2757
+ };
2758
+
2759
+
2760
+ /**
2761
+ * Static version of the {@see toObject} method.
2762
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2763
+ * the JSPB instance for transitional soy proto support:
2764
+ * http://goto/soy-param-migration
2765
+ * @param {!proto.BaseListAllLineOfApproval} msg The msg instance to transform.
2766
+ * @return {!Object}
2767
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2768
+ */
2769
+ proto.BaseListAllLineOfApproval.toObject = function(includeInstance, msg) {
2770
+ var f, obj = {
2771
+ lineOfApproval: (f = msg.getLineOfApproval()) && proto.LineOfApproval.toObject(includeInstance, f),
2772
+ documentNumber: jspb.Message.getFieldWithDefault(msg, 2, ""),
2773
+ title: jspb.Message.getFieldWithDefault(msg, 3, ""),
2774
+ department: jspb.Message.getFieldWithDefault(msg, 4, "")
2775
+ };
2776
+
2777
+ if (includeInstance) {
2778
+ obj.$jspbMessageInstance = msg;
2779
+ }
2780
+ return obj;
2781
+ };
2782
+ }
2783
+
2784
+
2785
+ /**
2786
+ * Deserializes binary data (in protobuf wire format).
2787
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2788
+ * @return {!proto.BaseListAllLineOfApproval}
2789
+ */
2790
+ proto.BaseListAllLineOfApproval.deserializeBinary = function(bytes) {
2791
+ var reader = new jspb.BinaryReader(bytes);
2792
+ var msg = new proto.BaseListAllLineOfApproval;
2793
+ return proto.BaseListAllLineOfApproval.deserializeBinaryFromReader(msg, reader);
2794
+ };
2795
+
2796
+
2797
+ /**
2798
+ * Deserializes binary data (in protobuf wire format) from the
2799
+ * given reader into the given message object.
2800
+ * @param {!proto.BaseListAllLineOfApproval} msg The message object to deserialize into.
2801
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2802
+ * @return {!proto.BaseListAllLineOfApproval}
2803
+ */
2804
+ proto.BaseListAllLineOfApproval.deserializeBinaryFromReader = function(msg, reader) {
2805
+ while (reader.nextField()) {
2806
+ if (reader.isEndGroup()) {
2807
+ break;
2808
+ }
2809
+ var field = reader.getFieldNumber();
2810
+ switch (field) {
2811
+ case 1:
2812
+ var value = new proto.LineOfApproval;
2813
+ reader.readMessage(value,proto.LineOfApproval.deserializeBinaryFromReader);
2814
+ msg.setLineOfApproval(value);
2815
+ break;
2816
+ case 2:
2817
+ var value = /** @type {string} */ (reader.readString());
2818
+ msg.setDocumentNumber(value);
2819
+ break;
2820
+ case 3:
2821
+ var value = /** @type {string} */ (reader.readString());
2822
+ msg.setTitle(value);
2823
+ break;
2824
+ case 4:
2825
+ var value = /** @type {string} */ (reader.readString());
2826
+ msg.setDepartment(value);
2827
+ break;
2828
+ default:
2829
+ reader.skipField();
2830
+ break;
2831
+ }
2832
+ }
2833
+ return msg;
2834
+ };
2835
+
2836
+
2837
+ /**
2838
+ * Serializes the message to binary data (in protobuf wire format).
2839
+ * @return {!Uint8Array}
2840
+ */
2841
+ proto.BaseListAllLineOfApproval.prototype.serializeBinary = function() {
2842
+ var writer = new jspb.BinaryWriter();
2843
+ proto.BaseListAllLineOfApproval.serializeBinaryToWriter(this, writer);
2844
+ return writer.getResultBuffer();
2845
+ };
2846
+
2847
+
2848
+ /**
2849
+ * Serializes the given message to binary data (in protobuf wire
2850
+ * format), writing to the given BinaryWriter.
2851
+ * @param {!proto.BaseListAllLineOfApproval} message
2852
+ * @param {!jspb.BinaryWriter} writer
2853
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2854
+ */
2855
+ proto.BaseListAllLineOfApproval.serializeBinaryToWriter = function(message, writer) {
2856
+ var f = undefined;
2857
+ f = message.getLineOfApproval();
2858
+ if (f != null) {
2859
+ writer.writeMessage(
2860
+ 1,
2861
+ f,
2862
+ proto.LineOfApproval.serializeBinaryToWriter
2863
+ );
2864
+ }
2865
+ f = message.getDocumentNumber();
2866
+ if (f.length > 0) {
2867
+ writer.writeString(
2868
+ 2,
2869
+ f
2870
+ );
2871
+ }
2872
+ f = message.getTitle();
2873
+ if (f.length > 0) {
2874
+ writer.writeString(
2875
+ 3,
2876
+ f
2877
+ );
2878
+ }
2879
+ f = message.getDepartment();
2880
+ if (f.length > 0) {
2881
+ writer.writeString(
2882
+ 4,
2883
+ f
2884
+ );
2885
+ }
2886
+ };
2887
+
2888
+
2889
+ /**
2890
+ * optional LineOfApproval line_of_approval = 1;
2891
+ * @return {?proto.LineOfApproval}
2892
+ */
2893
+ proto.BaseListAllLineOfApproval.prototype.getLineOfApproval = function() {
2894
+ return /** @type{?proto.LineOfApproval} */ (
2895
+ jspb.Message.getWrapperField(this, proto.LineOfApproval, 1));
2896
+ };
2897
+
2898
+
2899
+ /**
2900
+ * @param {?proto.LineOfApproval|undefined} value
2901
+ * @return {!proto.BaseListAllLineOfApproval} returns this
2902
+ */
2903
+ proto.BaseListAllLineOfApproval.prototype.setLineOfApproval = function(value) {
2904
+ return jspb.Message.setWrapperField(this, 1, value);
2905
+ };
2906
+
2907
+
2908
+ /**
2909
+ * Clears the message field making it undefined.
2910
+ * @return {!proto.BaseListAllLineOfApproval} returns this
2911
+ */
2912
+ proto.BaseListAllLineOfApproval.prototype.clearLineOfApproval = function() {
2913
+ return this.setLineOfApproval(undefined);
2914
+ };
2915
+
2916
+
2917
+ /**
2918
+ * Returns whether this field is set.
2919
+ * @return {boolean}
2920
+ */
2921
+ proto.BaseListAllLineOfApproval.prototype.hasLineOfApproval = function() {
2922
+ return jspb.Message.getField(this, 1) != null;
2923
+ };
2924
+
2925
+
2926
+ /**
2927
+ * optional string document_number = 2;
2928
+ * @return {string}
2929
+ */
2930
+ proto.BaseListAllLineOfApproval.prototype.getDocumentNumber = function() {
2931
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2932
+ };
2933
+
2934
+
2935
+ /**
2936
+ * @param {string} value
2937
+ * @return {!proto.BaseListAllLineOfApproval} returns this
2938
+ */
2939
+ proto.BaseListAllLineOfApproval.prototype.setDocumentNumber = function(value) {
2940
+ return jspb.Message.setProto3StringField(this, 2, value);
2941
+ };
2942
+
2943
+
2944
+ /**
2945
+ * optional string title = 3;
2946
+ * @return {string}
2947
+ */
2948
+ proto.BaseListAllLineOfApproval.prototype.getTitle = function() {
2949
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2950
+ };
2951
+
2952
+
2953
+ /**
2954
+ * @param {string} value
2955
+ * @return {!proto.BaseListAllLineOfApproval} returns this
2956
+ */
2957
+ proto.BaseListAllLineOfApproval.prototype.setTitle = function(value) {
2958
+ return jspb.Message.setProto3StringField(this, 3, value);
2959
+ };
2960
+
2961
+
2962
+ /**
2963
+ * optional string department = 4;
2964
+ * @return {string}
2965
+ */
2966
+ proto.BaseListAllLineOfApproval.prototype.getDepartment = function() {
2967
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2968
+ };
2969
+
2970
+
2971
+ /**
2972
+ * @param {string} value
2973
+ * @return {!proto.BaseListAllLineOfApproval} returns this
2974
+ */
2975
+ proto.BaseListAllLineOfApproval.prototype.setDepartment = function(value) {
2976
+ return jspb.Message.setProto3StringField(this, 4, value);
2977
+ };
2978
+
2979
+
2980
+
2981
+ /**
2982
+ * List of repeated fields within this message type.
2983
+ * @private {!Array<number>}
2984
+ * @const
2985
+ */
2986
+ proto.GetListAllLineOfApprovalResponse.repeatedFields_ = [1];
2987
+
2988
+
2989
+
2990
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2991
+ /**
2992
+ * Creates an object representation of this proto.
2993
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2994
+ * Optional fields that are not set will be set to undefined.
2995
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2996
+ * For the list of reserved names please see:
2997
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2998
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2999
+ * JSPB instance for transitional soy proto support:
3000
+ * http://goto/soy-param-migration
3001
+ * @return {!Object}
3002
+ */
3003
+ proto.GetListAllLineOfApprovalResponse.prototype.toObject = function(opt_includeInstance) {
3004
+ return proto.GetListAllLineOfApprovalResponse.toObject(opt_includeInstance, this);
3005
+ };
3006
+
3007
+
3008
+ /**
3009
+ * Static version of the {@see toObject} method.
3010
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3011
+ * the JSPB instance for transitional soy proto support:
3012
+ * http://goto/soy-param-migration
3013
+ * @param {!proto.GetListAllLineOfApprovalResponse} msg The msg instance to transform.
3014
+ * @return {!Object}
3015
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3016
+ */
3017
+ proto.GetListAllLineOfApprovalResponse.toObject = function(includeInstance, msg) {
3018
+ var f, obj = {
3019
+ lineOfApprovalsList: jspb.Message.toObjectList(msg.getLineOfApprovalsList(),
3020
+ proto.BaseListAllLineOfApproval.toObject, includeInstance),
3021
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
3022
+ };
3023
+
3024
+ if (includeInstance) {
3025
+ obj.$jspbMessageInstance = msg;
3026
+ }
3027
+ return obj;
3028
+ };
3029
+ }
3030
+
3031
+
3032
+ /**
3033
+ * Deserializes binary data (in protobuf wire format).
3034
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3035
+ * @return {!proto.GetListAllLineOfApprovalResponse}
3036
+ */
3037
+ proto.GetListAllLineOfApprovalResponse.deserializeBinary = function(bytes) {
3038
+ var reader = new jspb.BinaryReader(bytes);
3039
+ var msg = new proto.GetListAllLineOfApprovalResponse;
3040
+ return proto.GetListAllLineOfApprovalResponse.deserializeBinaryFromReader(msg, reader);
3041
+ };
3042
+
3043
+
3044
+ /**
3045
+ * Deserializes binary data (in protobuf wire format) from the
3046
+ * given reader into the given message object.
3047
+ * @param {!proto.GetListAllLineOfApprovalResponse} msg The message object to deserialize into.
3048
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3049
+ * @return {!proto.GetListAllLineOfApprovalResponse}
3050
+ */
3051
+ proto.GetListAllLineOfApprovalResponse.deserializeBinaryFromReader = function(msg, reader) {
3052
+ while (reader.nextField()) {
3053
+ if (reader.isEndGroup()) {
3054
+ break;
3055
+ }
3056
+ var field = reader.getFieldNumber();
3057
+ switch (field) {
3058
+ case 1:
3059
+ var value = new proto.BaseListAllLineOfApproval;
3060
+ reader.readMessage(value,proto.BaseListAllLineOfApproval.deserializeBinaryFromReader);
3061
+ msg.addLineOfApprovals(value);
3062
+ break;
3063
+ case 2:
3064
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
3065
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
3066
+ msg.setMeta(value);
3067
+ break;
3068
+ default:
3069
+ reader.skipField();
3070
+ break;
3071
+ }
3072
+ }
3073
+ return msg;
3074
+ };
3075
+
3076
+
3077
+ /**
3078
+ * Serializes the message to binary data (in protobuf wire format).
3079
+ * @return {!Uint8Array}
3080
+ */
3081
+ proto.GetListAllLineOfApprovalResponse.prototype.serializeBinary = function() {
3082
+ var writer = new jspb.BinaryWriter();
3083
+ proto.GetListAllLineOfApprovalResponse.serializeBinaryToWriter(this, writer);
3084
+ return writer.getResultBuffer();
3085
+ };
3086
+
3087
+
3088
+ /**
3089
+ * Serializes the given message to binary data (in protobuf wire
3090
+ * format), writing to the given BinaryWriter.
3091
+ * @param {!proto.GetListAllLineOfApprovalResponse} message
3092
+ * @param {!jspb.BinaryWriter} writer
3093
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3094
+ */
3095
+ proto.GetListAllLineOfApprovalResponse.serializeBinaryToWriter = function(message, writer) {
3096
+ var f = undefined;
3097
+ f = message.getLineOfApprovalsList();
3098
+ if (f.length > 0) {
3099
+ writer.writeRepeatedMessage(
3100
+ 1,
3101
+ f,
3102
+ proto.BaseListAllLineOfApproval.serializeBinaryToWriter
3103
+ );
3104
+ }
3105
+ f = message.getMeta();
3106
+ if (f != null) {
3107
+ writer.writeMessage(
3108
+ 2,
3109
+ f,
3110
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
3111
+ );
3112
+ }
3113
+ };
3114
+
3115
+
3116
+ /**
3117
+ * repeated BaseListAllLineOfApproval line_of_approvals = 1;
3118
+ * @return {!Array<!proto.BaseListAllLineOfApproval>}
3119
+ */
3120
+ proto.GetListAllLineOfApprovalResponse.prototype.getLineOfApprovalsList = function() {
3121
+ return /** @type{!Array<!proto.BaseListAllLineOfApproval>} */ (
3122
+ jspb.Message.getRepeatedWrapperField(this, proto.BaseListAllLineOfApproval, 1));
3123
+ };
3124
+
3125
+
3126
+ /**
3127
+ * @param {!Array<!proto.BaseListAllLineOfApproval>} value
3128
+ * @return {!proto.GetListAllLineOfApprovalResponse} returns this
3129
+ */
3130
+ proto.GetListAllLineOfApprovalResponse.prototype.setLineOfApprovalsList = function(value) {
3131
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
3132
+ };
3133
+
3134
+
3135
+ /**
3136
+ * @param {!proto.BaseListAllLineOfApproval=} opt_value
3137
+ * @param {number=} opt_index
3138
+ * @return {!proto.BaseListAllLineOfApproval}
3139
+ */
3140
+ proto.GetListAllLineOfApprovalResponse.prototype.addLineOfApprovals = function(opt_value, opt_index) {
3141
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.BaseListAllLineOfApproval, opt_index);
3142
+ };
3143
+
3144
+
3145
+ /**
3146
+ * Clears the list making it empty but non-null.
3147
+ * @return {!proto.GetListAllLineOfApprovalResponse} returns this
3148
+ */
3149
+ proto.GetListAllLineOfApprovalResponse.prototype.clearLineOfApprovalsList = function() {
3150
+ return this.setLineOfApprovalsList([]);
3151
+ };
3152
+
3153
+
3154
+ /**
3155
+ * optional prisca.v1.global.meta.Meta meta = 2;
3156
+ * @return {?proto.prisca.v1.global.meta.Meta}
3157
+ */
3158
+ proto.GetListAllLineOfApprovalResponse.prototype.getMeta = function() {
3159
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
3160
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
3161
+ };
3162
+
3163
+
3164
+ /**
3165
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
3166
+ * @return {!proto.GetListAllLineOfApprovalResponse} returns this
3167
+ */
3168
+ proto.GetListAllLineOfApprovalResponse.prototype.setMeta = function(value) {
3169
+ return jspb.Message.setWrapperField(this, 2, value);
3170
+ };
3171
+
3172
+
3173
+ /**
3174
+ * Clears the message field making it undefined.
3175
+ * @return {!proto.GetListAllLineOfApprovalResponse} returns this
3176
+ */
3177
+ proto.GetListAllLineOfApprovalResponse.prototype.clearMeta = function() {
3178
+ return this.setMeta(undefined);
3179
+ };
3180
+
3181
+
3182
+ /**
3183
+ * Returns whether this field is set.
3184
+ * @return {boolean}
3185
+ */
3186
+ proto.GetListAllLineOfApprovalResponse.prototype.hasMeta = function() {
3187
+ return jspb.Message.getField(this, 2) != null;
3188
+ };
3189
+
3190
+
3191
+ goog.object.extend(exports, proto);