@aldiokta/protocgen 1.1.23 → 1.1.24

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 (169) 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 +2726 -0
  4. package/prisca/v1/account_group/account_group_grpc_pb.js +200 -0
  5. package/prisca/v1/account_group/account_group_pb.js +2989 -0
  6. package/prisca/v1/bidding/bidding_grpc_pb.js +294 -0
  7. package/prisca/v1/bidding/bidding_pb.js +7488 -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 +2959 -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 +3100 -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 +4335 -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 +1052 -0
  26. package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +177 -0
  27. package/prisca/v1/core/incoterm/incoterm_pb.js +2904 -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 +4270 -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 +2657 -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 +3814 -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 +3010 -0
  36. package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +78 -0
  37. package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +2087 -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 +3251 -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 +4232 -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 +2828 -0
  48. package/prisca/v1/core/material_type/material_type_grpc_pb.js +182 -0
  49. package/prisca/v1/core/material_type/material_type_pb.js +3104 -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 +2978 -0
  56. package/prisca/v1/core/organization/organization_grpc_pb.js +180 -0
  57. package/prisca/v1/core/organization/organization_pb.js +3084 -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 +2597 -0
  60. package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +179 -0
  61. package/prisca/v1/core/price_condition/price_condition_pb.js +3061 -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 +2784 -0
  72. package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +177 -0
  73. package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +2512 -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 +2850 -0
  78. package/prisca/v1/core/users/users_grpc_pb.js +78 -0
  79. package/prisca/v1/core/users/users_pb.js +1653 -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 +4024 -0
  82. package/prisca/v1/core/workflow/workflow_grpc_pb.js +203 -0
  83. package/prisca/v1/core/workflow/workflow_pb.js +7577 -0
  84. package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +229 -0
  85. package/prisca/v1/delivery_order/delivery_order_pb.js +4661 -0
  86. package/prisca/v1/document_type/document_type_grpc_pb.js +178 -0
  87. package/prisca/v1/document_type/document_type_pb.js +2798 -0
  88. package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +181 -0
  89. package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +3328 -0
  90. package/prisca/v1/global/meta/meta_grpc_pb.js +1 -0
  91. package/prisca/v1/global/meta/meta_pb.js +1179 -0
  92. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +1 -0
  93. package/prisca/v1/good_receipt/good_receipt_pb.js +35 -0
  94. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +228 -0
  95. package/prisca/v1/purchase_order/purchase_order_pb.js +5049 -0
  96. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +523 -0
  97. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +9917 -0
  98. package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +178 -0
  99. package/prisca/v1/purchasing_group/purchasing_group_pb.js +2927 -0
  100. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +178 -0
  101. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +2546 -0
  102. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +179 -0
  103. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +2590 -0
  104. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +145 -0
  105. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +2543 -0
  106. package/prisca/v1/quotation/quotation_grpc_pb.js +207 -0
  107. package/prisca/v1/quotation/quotation_pb.js +3582 -0
  108. package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +193 -0
  109. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +5961 -0
  110. package/prisca/v1/valuation/valuation_grpc_pb.js +366 -0
  111. package/prisca/v1/valuation/valuation_pb.js +7812 -0
  112. package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +224 -0
  113. package/prisca/v1/vendor_domain/vendor_domain_pb.js +6363 -0
  114. package/prisca/v1/account_assignment/account_assignment.proto +0 -81
  115. package/prisca/v1/account_group/account_group.proto +0 -88
  116. package/prisca/v1/bidding/bidding.proto +0 -221
  117. package/prisca/v1/chart_of_account/chart_of_account.proto +0 -89
  118. package/prisca/v1/core/access_manager/access_manager.proto +0 -281
  119. package/prisca/v1/core/auth/auth.proto +0 -150
  120. package/prisca/v1/core/chat_messaging/chat_messaging.proto +0 -55
  121. package/prisca/v1/core/company/company.proto +0 -92
  122. package/prisca/v1/core/currency/currency.proto +0 -76
  123. package/prisca/v1/core/department_material/department_material.proto +0 -69
  124. package/prisca/v1/core/employee/employee.proto +0 -129
  125. package/prisca/v1/core/file_upload/file_upload.proto +0 -37
  126. package/prisca/v1/core/incoterm/incoterm.proto +0 -85
  127. package/prisca/v1/core/item_transaction/item_transaction.proto +0 -134
  128. package/prisca/v1/core/job_grade/job_grade.proto +0 -79
  129. package/prisca/v1/core/job_position/job_position.proto +0 -113
  130. package/prisca/v1/core/job_title/job_title.proto +0 -89
  131. package/prisca/v1/core/line_of_activity/line_of_activity.proto +0 -66
  132. package/prisca/v1/core/line_of_approval/line_of_approval.proto +0 -96
  133. package/prisca/v1/core/link_data_source/link_data_source.proto +0 -78
  134. package/prisca/v1/core/location/location.proto +0 -289
  135. package/prisca/v1/core/material/material.proto +0 -131
  136. package/prisca/v1/core/material_group/material_group.proto +0 -85
  137. package/prisca/v1/core/material_type/material_type.proto +0 -95
  138. package/prisca/v1/core/messaging/email_template.proto +0 -75
  139. package/prisca/v1/core/messaging/messaging.proto +0 -29
  140. package/prisca/v1/core/number_range/number_range.proto +0 -89
  141. package/prisca/v1/core/organization/organization.proto +0 -94
  142. package/prisca/v1/core/organization_level/organization_level.proto +0 -77
  143. package/prisca/v1/core/price_condition/price_condition.proto +0 -93
  144. package/prisca/v1/core/procurement/procurement.proto +0 -54
  145. package/prisca/v1/core/recipient_roles/recipient_roles.proto +0 -10
  146. package/prisca/v1/core/report/report.proto +0 -90
  147. package/prisca/v1/core/report/user_report.proto +0 -74
  148. package/prisca/v1/core/tax_code/tax_code.proto +0 -82
  149. package/prisca/v1/core/term_of_payment/term_of_payment.proto +0 -74
  150. package/prisca/v1/core/transaction_builder/transaction_builder.proto +0 -325
  151. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +0 -88
  152. package/prisca/v1/core/users/users.proto +0 -55
  153. package/prisca/v1/core/work_location/work_location.proto +0 -122
  154. package/prisca/v1/core/workflow/workflow.proto +0 -218
  155. package/prisca/v1/delivery_order/delivery_order.proto +0 -147
  156. package/prisca/v1/document_type/document_type.proto +0 -82
  157. package/prisca/v1/general_ledger_account/general_ledger_account.proto +0 -100
  158. package/prisca/v1/global/meta/meta.proto +0 -57
  159. package/prisca/v1/good_receipt/good_receipt.proto +0 -11
  160. package/prisca/v1/purchase_order/purchase_order.proto +0 -157
  161. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto +0 -306
  162. package/prisca/v1/purchasing_group/purchasing_group.proto +0 -89
  163. package/prisca/v1/purchasing_organization/purchasing_organization.proto +0 -79
  164. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.proto +0 -81
  165. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.proto +0 -80
  166. package/prisca/v1/quotation/quotation.proto +0 -118
  167. package/prisca/v1/request_for_quotation/request_for_quotation.proto +0 -174
  168. package/prisca/v1/valuation/valuation.proto +0 -223
  169. package/prisca/v1/vendor_domain/vendor_domain.proto +0 -226
@@ -0,0 +1,2087 @@
1
+ // source: prisca/v1/core/line_of_activity/line_of_activity.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
+
24
+ var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
25
+ goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
26
+ goog.exportSymbol('proto.Activity', null, global);
27
+ goog.exportSymbol('proto.ActivityRequest', null, global);
28
+ goog.exportSymbol('proto.ActivityResponse', null, global);
29
+ goog.exportSymbol('proto.DocumentRequest', null, global);
30
+ goog.exportSymbol('proto.LineOfActivity', null, global);
31
+ goog.exportSymbol('proto.ProcessFlow', null, global);
32
+ goog.exportSymbol('proto.ProcessFlowDetail', null, global);
33
+ goog.exportSymbol('proto.ProcessFlowRequest', null, global);
34
+ goog.exportSymbol('proto.ProcessFlowResponse', null, global);
35
+ /**
36
+ * Generated by JsPbCodeGenerator.
37
+ * @param {Array=} opt_data Optional initial data array, typically from a
38
+ * server response, or constructed directly in Javascript. The array is used
39
+ * in place and becomes part of the constructed object. It is not cloned.
40
+ * If no data is provided, the constructed object will be empty, but still
41
+ * valid.
42
+ * @extends {jspb.Message}
43
+ * @constructor
44
+ */
45
+ proto.LineOfActivity = function(opt_data) {
46
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.LineOfActivity.repeatedFields_, null);
47
+ };
48
+ goog.inherits(proto.LineOfActivity, jspb.Message);
49
+ if (goog.DEBUG && !COMPILED) {
50
+ /**
51
+ * @public
52
+ * @override
53
+ */
54
+ proto.LineOfActivity.displayName = 'proto.LineOfActivity';
55
+ }
56
+ /**
57
+ * Generated by JsPbCodeGenerator.
58
+ * @param {Array=} opt_data Optional initial data array, typically from a
59
+ * server response, or constructed directly in Javascript. The array is used
60
+ * in place and becomes part of the constructed object. It is not cloned.
61
+ * If no data is provided, the constructed object will be empty, but still
62
+ * valid.
63
+ * @extends {jspb.Message}
64
+ * @constructor
65
+ */
66
+ proto.Activity = function(opt_data) {
67
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
68
+ };
69
+ goog.inherits(proto.Activity, jspb.Message);
70
+ if (goog.DEBUG && !COMPILED) {
71
+ /**
72
+ * @public
73
+ * @override
74
+ */
75
+ proto.Activity.displayName = 'proto.Activity';
76
+ }
77
+ /**
78
+ * Generated by JsPbCodeGenerator.
79
+ * @param {Array=} opt_data Optional initial data array, typically from a
80
+ * server response, or constructed directly in Javascript. The array is used
81
+ * in place and becomes part of the constructed object. It is not cloned.
82
+ * If no data is provided, the constructed object will be empty, but still
83
+ * valid.
84
+ * @extends {jspb.Message}
85
+ * @constructor
86
+ */
87
+ proto.ActivityRequest = function(opt_data) {
88
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
89
+ };
90
+ goog.inherits(proto.ActivityRequest, jspb.Message);
91
+ if (goog.DEBUG && !COMPILED) {
92
+ /**
93
+ * @public
94
+ * @override
95
+ */
96
+ proto.ActivityRequest.displayName = 'proto.ActivityRequest';
97
+ }
98
+ /**
99
+ * Generated by JsPbCodeGenerator.
100
+ * @param {Array=} opt_data Optional initial data array, typically from a
101
+ * server response, or constructed directly in Javascript. The array is used
102
+ * in place and becomes part of the constructed object. It is not cloned.
103
+ * If no data is provided, the constructed object will be empty, but still
104
+ * valid.
105
+ * @extends {jspb.Message}
106
+ * @constructor
107
+ */
108
+ proto.DocumentRequest = function(opt_data) {
109
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
110
+ };
111
+ goog.inherits(proto.DocumentRequest, jspb.Message);
112
+ if (goog.DEBUG && !COMPILED) {
113
+ /**
114
+ * @public
115
+ * @override
116
+ */
117
+ proto.DocumentRequest.displayName = 'proto.DocumentRequest';
118
+ }
119
+ /**
120
+ * Generated by JsPbCodeGenerator.
121
+ * @param {Array=} opt_data Optional initial data array, typically from a
122
+ * server response, or constructed directly in Javascript. The array is used
123
+ * in place and becomes part of the constructed object. It is not cloned.
124
+ * If no data is provided, the constructed object will be empty, but still
125
+ * valid.
126
+ * @extends {jspb.Message}
127
+ * @constructor
128
+ */
129
+ proto.ActivityResponse = function(opt_data) {
130
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
131
+ };
132
+ goog.inherits(proto.ActivityResponse, jspb.Message);
133
+ if (goog.DEBUG && !COMPILED) {
134
+ /**
135
+ * @public
136
+ * @override
137
+ */
138
+ proto.ActivityResponse.displayName = 'proto.ActivityResponse';
139
+ }
140
+ /**
141
+ * Generated by JsPbCodeGenerator.
142
+ * @param {Array=} opt_data Optional initial data array, typically from a
143
+ * server response, or constructed directly in Javascript. The array is used
144
+ * in place and becomes part of the constructed object. It is not cloned.
145
+ * If no data is provided, the constructed object will be empty, but still
146
+ * valid.
147
+ * @extends {jspb.Message}
148
+ * @constructor
149
+ */
150
+ proto.ProcessFlowRequest = function(opt_data) {
151
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
152
+ };
153
+ goog.inherits(proto.ProcessFlowRequest, jspb.Message);
154
+ if (goog.DEBUG && !COMPILED) {
155
+ /**
156
+ * @public
157
+ * @override
158
+ */
159
+ proto.ProcessFlowRequest.displayName = 'proto.ProcessFlowRequest';
160
+ }
161
+ /**
162
+ * Generated by JsPbCodeGenerator.
163
+ * @param {Array=} opt_data Optional initial data array, typically from a
164
+ * server response, or constructed directly in Javascript. The array is used
165
+ * in place and becomes part of the constructed object. It is not cloned.
166
+ * If no data is provided, the constructed object will be empty, but still
167
+ * valid.
168
+ * @extends {jspb.Message}
169
+ * @constructor
170
+ */
171
+ proto.ProcessFlowResponse = function(opt_data) {
172
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ProcessFlowResponse.repeatedFields_, null);
173
+ };
174
+ goog.inherits(proto.ProcessFlowResponse, jspb.Message);
175
+ if (goog.DEBUG && !COMPILED) {
176
+ /**
177
+ * @public
178
+ * @override
179
+ */
180
+ proto.ProcessFlowResponse.displayName = 'proto.ProcessFlowResponse';
181
+ }
182
+ /**
183
+ * Generated by JsPbCodeGenerator.
184
+ * @param {Array=} opt_data Optional initial data array, typically from a
185
+ * server response, or constructed directly in Javascript. The array is used
186
+ * in place and becomes part of the constructed object. It is not cloned.
187
+ * If no data is provided, the constructed object will be empty, but still
188
+ * valid.
189
+ * @extends {jspb.Message}
190
+ * @constructor
191
+ */
192
+ proto.ProcessFlow = function(opt_data) {
193
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ProcessFlow.repeatedFields_, null);
194
+ };
195
+ goog.inherits(proto.ProcessFlow, jspb.Message);
196
+ if (goog.DEBUG && !COMPILED) {
197
+ /**
198
+ * @public
199
+ * @override
200
+ */
201
+ proto.ProcessFlow.displayName = 'proto.ProcessFlow';
202
+ }
203
+ /**
204
+ * Generated by JsPbCodeGenerator.
205
+ * @param {Array=} opt_data Optional initial data array, typically from a
206
+ * server response, or constructed directly in Javascript. The array is used
207
+ * in place and becomes part of the constructed object. It is not cloned.
208
+ * If no data is provided, the constructed object will be empty, but still
209
+ * valid.
210
+ * @extends {jspb.Message}
211
+ * @constructor
212
+ */
213
+ proto.ProcessFlowDetail = function(opt_data) {
214
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
215
+ };
216
+ goog.inherits(proto.ProcessFlowDetail, jspb.Message);
217
+ if (goog.DEBUG && !COMPILED) {
218
+ /**
219
+ * @public
220
+ * @override
221
+ */
222
+ proto.ProcessFlowDetail.displayName = 'proto.ProcessFlowDetail';
223
+ }
224
+
225
+ /**
226
+ * List of repeated fields within this message type.
227
+ * @private {!Array<number>}
228
+ * @const
229
+ */
230
+ proto.LineOfActivity.repeatedFields_ = [1];
231
+
232
+
233
+
234
+ if (jspb.Message.GENERATE_TO_OBJECT) {
235
+ /**
236
+ * Creates an object representation of this proto.
237
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
238
+ * Optional fields that are not set will be set to undefined.
239
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
240
+ * For the list of reserved names please see:
241
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
242
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
243
+ * JSPB instance for transitional soy proto support:
244
+ * http://goto/soy-param-migration
245
+ * @return {!Object}
246
+ */
247
+ proto.LineOfActivity.prototype.toObject = function(opt_includeInstance) {
248
+ return proto.LineOfActivity.toObject(opt_includeInstance, this);
249
+ };
250
+
251
+
252
+ /**
253
+ * Static version of the {@see toObject} method.
254
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
255
+ * the JSPB instance for transitional soy proto support:
256
+ * http://goto/soy-param-migration
257
+ * @param {!proto.LineOfActivity} msg The msg instance to transform.
258
+ * @return {!Object}
259
+ * @suppress {unusedLocalVariables} f is only used for nested messages
260
+ */
261
+ proto.LineOfActivity.toObject = function(includeInstance, msg) {
262
+ var f, obj = {
263
+ activityList: jspb.Message.toObjectList(msg.getActivityList(),
264
+ proto.Activity.toObject, includeInstance)
265
+ };
266
+
267
+ if (includeInstance) {
268
+ obj.$jspbMessageInstance = msg;
269
+ }
270
+ return obj;
271
+ };
272
+ }
273
+
274
+
275
+ /**
276
+ * Deserializes binary data (in protobuf wire format).
277
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
278
+ * @return {!proto.LineOfActivity}
279
+ */
280
+ proto.LineOfActivity.deserializeBinary = function(bytes) {
281
+ var reader = new jspb.BinaryReader(bytes);
282
+ var msg = new proto.LineOfActivity;
283
+ return proto.LineOfActivity.deserializeBinaryFromReader(msg, reader);
284
+ };
285
+
286
+
287
+ /**
288
+ * Deserializes binary data (in protobuf wire format) from the
289
+ * given reader into the given message object.
290
+ * @param {!proto.LineOfActivity} msg The message object to deserialize into.
291
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
292
+ * @return {!proto.LineOfActivity}
293
+ */
294
+ proto.LineOfActivity.deserializeBinaryFromReader = function(msg, reader) {
295
+ while (reader.nextField()) {
296
+ if (reader.isEndGroup()) {
297
+ break;
298
+ }
299
+ var field = reader.getFieldNumber();
300
+ switch (field) {
301
+ case 1:
302
+ var value = new proto.Activity;
303
+ reader.readMessage(value,proto.Activity.deserializeBinaryFromReader);
304
+ msg.addActivity(value);
305
+ break;
306
+ default:
307
+ reader.skipField();
308
+ break;
309
+ }
310
+ }
311
+ return msg;
312
+ };
313
+
314
+
315
+ /**
316
+ * Serializes the message to binary data (in protobuf wire format).
317
+ * @return {!Uint8Array}
318
+ */
319
+ proto.LineOfActivity.prototype.serializeBinary = function() {
320
+ var writer = new jspb.BinaryWriter();
321
+ proto.LineOfActivity.serializeBinaryToWriter(this, writer);
322
+ return writer.getResultBuffer();
323
+ };
324
+
325
+
326
+ /**
327
+ * Serializes the given message to binary data (in protobuf wire
328
+ * format), writing to the given BinaryWriter.
329
+ * @param {!proto.LineOfActivity} message
330
+ * @param {!jspb.BinaryWriter} writer
331
+ * @suppress {unusedLocalVariables} f is only used for nested messages
332
+ */
333
+ proto.LineOfActivity.serializeBinaryToWriter = function(message, writer) {
334
+ var f = undefined;
335
+ f = message.getActivityList();
336
+ if (f.length > 0) {
337
+ writer.writeRepeatedMessage(
338
+ 1,
339
+ f,
340
+ proto.Activity.serializeBinaryToWriter
341
+ );
342
+ }
343
+ };
344
+
345
+
346
+ /**
347
+ * repeated Activity activity = 1;
348
+ * @return {!Array<!proto.Activity>}
349
+ */
350
+ proto.LineOfActivity.prototype.getActivityList = function() {
351
+ return /** @type{!Array<!proto.Activity>} */ (
352
+ jspb.Message.getRepeatedWrapperField(this, proto.Activity, 1));
353
+ };
354
+
355
+
356
+ /**
357
+ * @param {!Array<!proto.Activity>} value
358
+ * @return {!proto.LineOfActivity} returns this
359
+ */
360
+ proto.LineOfActivity.prototype.setActivityList = function(value) {
361
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
362
+ };
363
+
364
+
365
+ /**
366
+ * @param {!proto.Activity=} opt_value
367
+ * @param {number=} opt_index
368
+ * @return {!proto.Activity}
369
+ */
370
+ proto.LineOfActivity.prototype.addActivity = function(opt_value, opt_index) {
371
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Activity, opt_index);
372
+ };
373
+
374
+
375
+ /**
376
+ * Clears the list making it empty but non-null.
377
+ * @return {!proto.LineOfActivity} returns this
378
+ */
379
+ proto.LineOfActivity.prototype.clearActivityList = function() {
380
+ return this.setActivityList([]);
381
+ };
382
+
383
+
384
+
385
+
386
+
387
+ if (jspb.Message.GENERATE_TO_OBJECT) {
388
+ /**
389
+ * Creates an object representation of this proto.
390
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
391
+ * Optional fields that are not set will be set to undefined.
392
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
393
+ * For the list of reserved names please see:
394
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
395
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
396
+ * JSPB instance for transitional soy proto support:
397
+ * http://goto/soy-param-migration
398
+ * @return {!Object}
399
+ */
400
+ proto.Activity.prototype.toObject = function(opt_includeInstance) {
401
+ return proto.Activity.toObject(opt_includeInstance, this);
402
+ };
403
+
404
+
405
+ /**
406
+ * Static version of the {@see toObject} method.
407
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
408
+ * the JSPB instance for transitional soy proto support:
409
+ * http://goto/soy-param-migration
410
+ * @param {!proto.Activity} msg The msg instance to transform.
411
+ * @return {!Object}
412
+ * @suppress {unusedLocalVariables} f is only used for nested messages
413
+ */
414
+ proto.Activity.toObject = function(includeInstance, msg) {
415
+ var f, obj = {
416
+ action: jspb.Message.getFieldWithDefault(msg, 1, ""),
417
+ actor: jspb.Message.getFieldWithDefault(msg, 2, ""),
418
+ document: jspb.Message.getFieldWithDefault(msg, 3, ""),
419
+ timestamp: jspb.Message.getFieldWithDefault(msg, 4, ""),
420
+ note: jspb.Message.getFieldWithDefault(msg, 5, "")
421
+ };
422
+
423
+ if (includeInstance) {
424
+ obj.$jspbMessageInstance = msg;
425
+ }
426
+ return obj;
427
+ };
428
+ }
429
+
430
+
431
+ /**
432
+ * Deserializes binary data (in protobuf wire format).
433
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
434
+ * @return {!proto.Activity}
435
+ */
436
+ proto.Activity.deserializeBinary = function(bytes) {
437
+ var reader = new jspb.BinaryReader(bytes);
438
+ var msg = new proto.Activity;
439
+ return proto.Activity.deserializeBinaryFromReader(msg, reader);
440
+ };
441
+
442
+
443
+ /**
444
+ * Deserializes binary data (in protobuf wire format) from the
445
+ * given reader into the given message object.
446
+ * @param {!proto.Activity} msg The message object to deserialize into.
447
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
448
+ * @return {!proto.Activity}
449
+ */
450
+ proto.Activity.deserializeBinaryFromReader = function(msg, reader) {
451
+ while (reader.nextField()) {
452
+ if (reader.isEndGroup()) {
453
+ break;
454
+ }
455
+ var field = reader.getFieldNumber();
456
+ switch (field) {
457
+ case 1:
458
+ var value = /** @type {string} */ (reader.readString());
459
+ msg.setAction(value);
460
+ break;
461
+ case 2:
462
+ var value = /** @type {string} */ (reader.readString());
463
+ msg.setActor(value);
464
+ break;
465
+ case 3:
466
+ var value = /** @type {string} */ (reader.readString());
467
+ msg.setDocument(value);
468
+ break;
469
+ case 4:
470
+ var value = /** @type {string} */ (reader.readString());
471
+ msg.setTimestamp(value);
472
+ break;
473
+ case 5:
474
+ var value = /** @type {string} */ (reader.readString());
475
+ msg.setNote(value);
476
+ break;
477
+ default:
478
+ reader.skipField();
479
+ break;
480
+ }
481
+ }
482
+ return msg;
483
+ };
484
+
485
+
486
+ /**
487
+ * Serializes the message to binary data (in protobuf wire format).
488
+ * @return {!Uint8Array}
489
+ */
490
+ proto.Activity.prototype.serializeBinary = function() {
491
+ var writer = new jspb.BinaryWriter();
492
+ proto.Activity.serializeBinaryToWriter(this, writer);
493
+ return writer.getResultBuffer();
494
+ };
495
+
496
+
497
+ /**
498
+ * Serializes the given message to binary data (in protobuf wire
499
+ * format), writing to the given BinaryWriter.
500
+ * @param {!proto.Activity} message
501
+ * @param {!jspb.BinaryWriter} writer
502
+ * @suppress {unusedLocalVariables} f is only used for nested messages
503
+ */
504
+ proto.Activity.serializeBinaryToWriter = function(message, writer) {
505
+ var f = undefined;
506
+ f = message.getAction();
507
+ if (f.length > 0) {
508
+ writer.writeString(
509
+ 1,
510
+ f
511
+ );
512
+ }
513
+ f = message.getActor();
514
+ if (f.length > 0) {
515
+ writer.writeString(
516
+ 2,
517
+ f
518
+ );
519
+ }
520
+ f = message.getDocument();
521
+ if (f.length > 0) {
522
+ writer.writeString(
523
+ 3,
524
+ f
525
+ );
526
+ }
527
+ f = message.getTimestamp();
528
+ if (f.length > 0) {
529
+ writer.writeString(
530
+ 4,
531
+ f
532
+ );
533
+ }
534
+ f = message.getNote();
535
+ if (f.length > 0) {
536
+ writer.writeString(
537
+ 5,
538
+ f
539
+ );
540
+ }
541
+ };
542
+
543
+
544
+ /**
545
+ * optional string action = 1;
546
+ * @return {string}
547
+ */
548
+ proto.Activity.prototype.getAction = function() {
549
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
550
+ };
551
+
552
+
553
+ /**
554
+ * @param {string} value
555
+ * @return {!proto.Activity} returns this
556
+ */
557
+ proto.Activity.prototype.setAction = function(value) {
558
+ return jspb.Message.setProto3StringField(this, 1, value);
559
+ };
560
+
561
+
562
+ /**
563
+ * optional string actor = 2;
564
+ * @return {string}
565
+ */
566
+ proto.Activity.prototype.getActor = function() {
567
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
568
+ };
569
+
570
+
571
+ /**
572
+ * @param {string} value
573
+ * @return {!proto.Activity} returns this
574
+ */
575
+ proto.Activity.prototype.setActor = function(value) {
576
+ return jspb.Message.setProto3StringField(this, 2, value);
577
+ };
578
+
579
+
580
+ /**
581
+ * optional string document = 3;
582
+ * @return {string}
583
+ */
584
+ proto.Activity.prototype.getDocument = function() {
585
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
586
+ };
587
+
588
+
589
+ /**
590
+ * @param {string} value
591
+ * @return {!proto.Activity} returns this
592
+ */
593
+ proto.Activity.prototype.setDocument = function(value) {
594
+ return jspb.Message.setProto3StringField(this, 3, value);
595
+ };
596
+
597
+
598
+ /**
599
+ * optional string timestamp = 4;
600
+ * @return {string}
601
+ */
602
+ proto.Activity.prototype.getTimestamp = function() {
603
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
604
+ };
605
+
606
+
607
+ /**
608
+ * @param {string} value
609
+ * @return {!proto.Activity} returns this
610
+ */
611
+ proto.Activity.prototype.setTimestamp = function(value) {
612
+ return jspb.Message.setProto3StringField(this, 4, value);
613
+ };
614
+
615
+
616
+ /**
617
+ * optional string note = 5;
618
+ * @return {string}
619
+ */
620
+ proto.Activity.prototype.getNote = function() {
621
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
622
+ };
623
+
624
+
625
+ /**
626
+ * @param {string} value
627
+ * @return {!proto.Activity} returns this
628
+ */
629
+ proto.Activity.prototype.setNote = function(value) {
630
+ return jspb.Message.setProto3StringField(this, 5, value);
631
+ };
632
+
633
+
634
+
635
+
636
+
637
+ if (jspb.Message.GENERATE_TO_OBJECT) {
638
+ /**
639
+ * Creates an object representation of this proto.
640
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
641
+ * Optional fields that are not set will be set to undefined.
642
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
643
+ * For the list of reserved names please see:
644
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
645
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
646
+ * JSPB instance for transitional soy proto support:
647
+ * http://goto/soy-param-migration
648
+ * @return {!Object}
649
+ */
650
+ proto.ActivityRequest.prototype.toObject = function(opt_includeInstance) {
651
+ return proto.ActivityRequest.toObject(opt_includeInstance, this);
652
+ };
653
+
654
+
655
+ /**
656
+ * Static version of the {@see toObject} method.
657
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
658
+ * the JSPB instance for transitional soy proto support:
659
+ * http://goto/soy-param-migration
660
+ * @param {!proto.ActivityRequest} msg The msg instance to transform.
661
+ * @return {!Object}
662
+ * @suppress {unusedLocalVariables} f is only used for nested messages
663
+ */
664
+ proto.ActivityRequest.toObject = function(includeInstance, msg) {
665
+ var f, obj = {
666
+ documentType: jspb.Message.getFieldWithDefault(msg, 1, ""),
667
+ docReferencesId: jspb.Message.getFieldWithDefault(msg, 2, "")
668
+ };
669
+
670
+ if (includeInstance) {
671
+ obj.$jspbMessageInstance = msg;
672
+ }
673
+ return obj;
674
+ };
675
+ }
676
+
677
+
678
+ /**
679
+ * Deserializes binary data (in protobuf wire format).
680
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
681
+ * @return {!proto.ActivityRequest}
682
+ */
683
+ proto.ActivityRequest.deserializeBinary = function(bytes) {
684
+ var reader = new jspb.BinaryReader(bytes);
685
+ var msg = new proto.ActivityRequest;
686
+ return proto.ActivityRequest.deserializeBinaryFromReader(msg, reader);
687
+ };
688
+
689
+
690
+ /**
691
+ * Deserializes binary data (in protobuf wire format) from the
692
+ * given reader into the given message object.
693
+ * @param {!proto.ActivityRequest} msg The message object to deserialize into.
694
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
695
+ * @return {!proto.ActivityRequest}
696
+ */
697
+ proto.ActivityRequest.deserializeBinaryFromReader = function(msg, reader) {
698
+ while (reader.nextField()) {
699
+ if (reader.isEndGroup()) {
700
+ break;
701
+ }
702
+ var field = reader.getFieldNumber();
703
+ switch (field) {
704
+ case 1:
705
+ var value = /** @type {string} */ (reader.readString());
706
+ msg.setDocumentType(value);
707
+ break;
708
+ case 2:
709
+ var value = /** @type {string} */ (reader.readString());
710
+ msg.setDocReferencesId(value);
711
+ break;
712
+ default:
713
+ reader.skipField();
714
+ break;
715
+ }
716
+ }
717
+ return msg;
718
+ };
719
+
720
+
721
+ /**
722
+ * Serializes the message to binary data (in protobuf wire format).
723
+ * @return {!Uint8Array}
724
+ */
725
+ proto.ActivityRequest.prototype.serializeBinary = function() {
726
+ var writer = new jspb.BinaryWriter();
727
+ proto.ActivityRequest.serializeBinaryToWriter(this, writer);
728
+ return writer.getResultBuffer();
729
+ };
730
+
731
+
732
+ /**
733
+ * Serializes the given message to binary data (in protobuf wire
734
+ * format), writing to the given BinaryWriter.
735
+ * @param {!proto.ActivityRequest} message
736
+ * @param {!jspb.BinaryWriter} writer
737
+ * @suppress {unusedLocalVariables} f is only used for nested messages
738
+ */
739
+ proto.ActivityRequest.serializeBinaryToWriter = function(message, writer) {
740
+ var f = undefined;
741
+ f = message.getDocumentType();
742
+ if (f.length > 0) {
743
+ writer.writeString(
744
+ 1,
745
+ f
746
+ );
747
+ }
748
+ f = message.getDocReferencesId();
749
+ if (f.length > 0) {
750
+ writer.writeString(
751
+ 2,
752
+ f
753
+ );
754
+ }
755
+ };
756
+
757
+
758
+ /**
759
+ * optional string document_type = 1;
760
+ * @return {string}
761
+ */
762
+ proto.ActivityRequest.prototype.getDocumentType = function() {
763
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
764
+ };
765
+
766
+
767
+ /**
768
+ * @param {string} value
769
+ * @return {!proto.ActivityRequest} returns this
770
+ */
771
+ proto.ActivityRequest.prototype.setDocumentType = function(value) {
772
+ return jspb.Message.setProto3StringField(this, 1, value);
773
+ };
774
+
775
+
776
+ /**
777
+ * optional string doc_references_id = 2;
778
+ * @return {string}
779
+ */
780
+ proto.ActivityRequest.prototype.getDocReferencesId = function() {
781
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
782
+ };
783
+
784
+
785
+ /**
786
+ * @param {string} value
787
+ * @return {!proto.ActivityRequest} returns this
788
+ */
789
+ proto.ActivityRequest.prototype.setDocReferencesId = function(value) {
790
+ return jspb.Message.setProto3StringField(this, 2, value);
791
+ };
792
+
793
+
794
+
795
+
796
+
797
+ if (jspb.Message.GENERATE_TO_OBJECT) {
798
+ /**
799
+ * Creates an object representation of this proto.
800
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
801
+ * Optional fields that are not set will be set to undefined.
802
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
803
+ * For the list of reserved names please see:
804
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
805
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
806
+ * JSPB instance for transitional soy proto support:
807
+ * http://goto/soy-param-migration
808
+ * @return {!Object}
809
+ */
810
+ proto.DocumentRequest.prototype.toObject = function(opt_includeInstance) {
811
+ return proto.DocumentRequest.toObject(opt_includeInstance, this);
812
+ };
813
+
814
+
815
+ /**
816
+ * Static version of the {@see toObject} method.
817
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
818
+ * the JSPB instance for transitional soy proto support:
819
+ * http://goto/soy-param-migration
820
+ * @param {!proto.DocumentRequest} msg The msg instance to transform.
821
+ * @return {!Object}
822
+ * @suppress {unusedLocalVariables} f is only used for nested messages
823
+ */
824
+ proto.DocumentRequest.toObject = function(includeInstance, msg) {
825
+ var f, obj = {
826
+ documentsRefereneces: jspb.Message.getFieldWithDefault(msg, 1, ""),
827
+ status: jspb.Message.getFieldWithDefault(msg, 2, ""),
828
+ createdAt: jspb.Message.getFieldWithDefault(msg, 3, ""),
829
+ createdBy: jspb.Message.getFieldWithDefault(msg, 4, ""),
830
+ updatedAt: jspb.Message.getFieldWithDefault(msg, 5, ""),
831
+ updatedBy: jspb.Message.getFieldWithDefault(msg, 6, "")
832
+ };
833
+
834
+ if (includeInstance) {
835
+ obj.$jspbMessageInstance = msg;
836
+ }
837
+ return obj;
838
+ };
839
+ }
840
+
841
+
842
+ /**
843
+ * Deserializes binary data (in protobuf wire format).
844
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
845
+ * @return {!proto.DocumentRequest}
846
+ */
847
+ proto.DocumentRequest.deserializeBinary = function(bytes) {
848
+ var reader = new jspb.BinaryReader(bytes);
849
+ var msg = new proto.DocumentRequest;
850
+ return proto.DocumentRequest.deserializeBinaryFromReader(msg, reader);
851
+ };
852
+
853
+
854
+ /**
855
+ * Deserializes binary data (in protobuf wire format) from the
856
+ * given reader into the given message object.
857
+ * @param {!proto.DocumentRequest} msg The message object to deserialize into.
858
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
859
+ * @return {!proto.DocumentRequest}
860
+ */
861
+ proto.DocumentRequest.deserializeBinaryFromReader = function(msg, reader) {
862
+ while (reader.nextField()) {
863
+ if (reader.isEndGroup()) {
864
+ break;
865
+ }
866
+ var field = reader.getFieldNumber();
867
+ switch (field) {
868
+ case 1:
869
+ var value = /** @type {string} */ (reader.readString());
870
+ msg.setDocumentsRefereneces(value);
871
+ break;
872
+ case 2:
873
+ var value = /** @type {string} */ (reader.readString());
874
+ msg.setStatus(value);
875
+ break;
876
+ case 3:
877
+ var value = /** @type {string} */ (reader.readString());
878
+ msg.setCreatedAt(value);
879
+ break;
880
+ case 4:
881
+ var value = /** @type {string} */ (reader.readString());
882
+ msg.setCreatedBy(value);
883
+ break;
884
+ case 5:
885
+ var value = /** @type {string} */ (reader.readString());
886
+ msg.setUpdatedAt(value);
887
+ break;
888
+ case 6:
889
+ var value = /** @type {string} */ (reader.readString());
890
+ msg.setUpdatedBy(value);
891
+ break;
892
+ default:
893
+ reader.skipField();
894
+ break;
895
+ }
896
+ }
897
+ return msg;
898
+ };
899
+
900
+
901
+ /**
902
+ * Serializes the message to binary data (in protobuf wire format).
903
+ * @return {!Uint8Array}
904
+ */
905
+ proto.DocumentRequest.prototype.serializeBinary = function() {
906
+ var writer = new jspb.BinaryWriter();
907
+ proto.DocumentRequest.serializeBinaryToWriter(this, writer);
908
+ return writer.getResultBuffer();
909
+ };
910
+
911
+
912
+ /**
913
+ * Serializes the given message to binary data (in protobuf wire
914
+ * format), writing to the given BinaryWriter.
915
+ * @param {!proto.DocumentRequest} message
916
+ * @param {!jspb.BinaryWriter} writer
917
+ * @suppress {unusedLocalVariables} f is only used for nested messages
918
+ */
919
+ proto.DocumentRequest.serializeBinaryToWriter = function(message, writer) {
920
+ var f = undefined;
921
+ f = message.getDocumentsRefereneces();
922
+ if (f.length > 0) {
923
+ writer.writeString(
924
+ 1,
925
+ f
926
+ );
927
+ }
928
+ f = message.getStatus();
929
+ if (f.length > 0) {
930
+ writer.writeString(
931
+ 2,
932
+ f
933
+ );
934
+ }
935
+ f = message.getCreatedAt();
936
+ if (f.length > 0) {
937
+ writer.writeString(
938
+ 3,
939
+ f
940
+ );
941
+ }
942
+ f = message.getCreatedBy();
943
+ if (f.length > 0) {
944
+ writer.writeString(
945
+ 4,
946
+ f
947
+ );
948
+ }
949
+ f = message.getUpdatedAt();
950
+ if (f.length > 0) {
951
+ writer.writeString(
952
+ 5,
953
+ f
954
+ );
955
+ }
956
+ f = message.getUpdatedBy();
957
+ if (f.length > 0) {
958
+ writer.writeString(
959
+ 6,
960
+ f
961
+ );
962
+ }
963
+ };
964
+
965
+
966
+ /**
967
+ * optional string documents_refereneces = 1;
968
+ * @return {string}
969
+ */
970
+ proto.DocumentRequest.prototype.getDocumentsRefereneces = function() {
971
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
972
+ };
973
+
974
+
975
+ /**
976
+ * @param {string} value
977
+ * @return {!proto.DocumentRequest} returns this
978
+ */
979
+ proto.DocumentRequest.prototype.setDocumentsRefereneces = function(value) {
980
+ return jspb.Message.setProto3StringField(this, 1, value);
981
+ };
982
+
983
+
984
+ /**
985
+ * optional string status = 2;
986
+ * @return {string}
987
+ */
988
+ proto.DocumentRequest.prototype.getStatus = function() {
989
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
990
+ };
991
+
992
+
993
+ /**
994
+ * @param {string} value
995
+ * @return {!proto.DocumentRequest} returns this
996
+ */
997
+ proto.DocumentRequest.prototype.setStatus = function(value) {
998
+ return jspb.Message.setProto3StringField(this, 2, value);
999
+ };
1000
+
1001
+
1002
+ /**
1003
+ * optional string created_at = 3;
1004
+ * @return {string}
1005
+ */
1006
+ proto.DocumentRequest.prototype.getCreatedAt = function() {
1007
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1008
+ };
1009
+
1010
+
1011
+ /**
1012
+ * @param {string} value
1013
+ * @return {!proto.DocumentRequest} returns this
1014
+ */
1015
+ proto.DocumentRequest.prototype.setCreatedAt = function(value) {
1016
+ return jspb.Message.setProto3StringField(this, 3, value);
1017
+ };
1018
+
1019
+
1020
+ /**
1021
+ * optional string created_by = 4;
1022
+ * @return {string}
1023
+ */
1024
+ proto.DocumentRequest.prototype.getCreatedBy = function() {
1025
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1026
+ };
1027
+
1028
+
1029
+ /**
1030
+ * @param {string} value
1031
+ * @return {!proto.DocumentRequest} returns this
1032
+ */
1033
+ proto.DocumentRequest.prototype.setCreatedBy = function(value) {
1034
+ return jspb.Message.setProto3StringField(this, 4, value);
1035
+ };
1036
+
1037
+
1038
+ /**
1039
+ * optional string updated_at = 5;
1040
+ * @return {string}
1041
+ */
1042
+ proto.DocumentRequest.prototype.getUpdatedAt = function() {
1043
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1044
+ };
1045
+
1046
+
1047
+ /**
1048
+ * @param {string} value
1049
+ * @return {!proto.DocumentRequest} returns this
1050
+ */
1051
+ proto.DocumentRequest.prototype.setUpdatedAt = function(value) {
1052
+ return jspb.Message.setProto3StringField(this, 5, value);
1053
+ };
1054
+
1055
+
1056
+ /**
1057
+ * optional string updated_by = 6;
1058
+ * @return {string}
1059
+ */
1060
+ proto.DocumentRequest.prototype.getUpdatedBy = function() {
1061
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
1062
+ };
1063
+
1064
+
1065
+ /**
1066
+ * @param {string} value
1067
+ * @return {!proto.DocumentRequest} returns this
1068
+ */
1069
+ proto.DocumentRequest.prototype.setUpdatedBy = function(value) {
1070
+ return jspb.Message.setProto3StringField(this, 6, value);
1071
+ };
1072
+
1073
+
1074
+
1075
+
1076
+
1077
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1078
+ /**
1079
+ * Creates an object representation of this proto.
1080
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1081
+ * Optional fields that are not set will be set to undefined.
1082
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1083
+ * For the list of reserved names please see:
1084
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1085
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1086
+ * JSPB instance for transitional soy proto support:
1087
+ * http://goto/soy-param-migration
1088
+ * @return {!Object}
1089
+ */
1090
+ proto.ActivityResponse.prototype.toObject = function(opt_includeInstance) {
1091
+ return proto.ActivityResponse.toObject(opt_includeInstance, this);
1092
+ };
1093
+
1094
+
1095
+ /**
1096
+ * Static version of the {@see toObject} method.
1097
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1098
+ * the JSPB instance for transitional soy proto support:
1099
+ * http://goto/soy-param-migration
1100
+ * @param {!proto.ActivityResponse} msg The msg instance to transform.
1101
+ * @return {!Object}
1102
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1103
+ */
1104
+ proto.ActivityResponse.toObject = function(includeInstance, msg) {
1105
+ var f, obj = {
1106
+ lineOfActivity: (f = msg.getLineOfActivity()) && proto.LineOfActivity.toObject(includeInstance, f),
1107
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
1108
+ };
1109
+
1110
+ if (includeInstance) {
1111
+ obj.$jspbMessageInstance = msg;
1112
+ }
1113
+ return obj;
1114
+ };
1115
+ }
1116
+
1117
+
1118
+ /**
1119
+ * Deserializes binary data (in protobuf wire format).
1120
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1121
+ * @return {!proto.ActivityResponse}
1122
+ */
1123
+ proto.ActivityResponse.deserializeBinary = function(bytes) {
1124
+ var reader = new jspb.BinaryReader(bytes);
1125
+ var msg = new proto.ActivityResponse;
1126
+ return proto.ActivityResponse.deserializeBinaryFromReader(msg, reader);
1127
+ };
1128
+
1129
+
1130
+ /**
1131
+ * Deserializes binary data (in protobuf wire format) from the
1132
+ * given reader into the given message object.
1133
+ * @param {!proto.ActivityResponse} msg The message object to deserialize into.
1134
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1135
+ * @return {!proto.ActivityResponse}
1136
+ */
1137
+ proto.ActivityResponse.deserializeBinaryFromReader = function(msg, reader) {
1138
+ while (reader.nextField()) {
1139
+ if (reader.isEndGroup()) {
1140
+ break;
1141
+ }
1142
+ var field = reader.getFieldNumber();
1143
+ switch (field) {
1144
+ case 1:
1145
+ var value = new proto.LineOfActivity;
1146
+ reader.readMessage(value,proto.LineOfActivity.deserializeBinaryFromReader);
1147
+ msg.setLineOfActivity(value);
1148
+ break;
1149
+ case 2:
1150
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
1151
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
1152
+ msg.setMeta(value);
1153
+ break;
1154
+ default:
1155
+ reader.skipField();
1156
+ break;
1157
+ }
1158
+ }
1159
+ return msg;
1160
+ };
1161
+
1162
+
1163
+ /**
1164
+ * Serializes the message to binary data (in protobuf wire format).
1165
+ * @return {!Uint8Array}
1166
+ */
1167
+ proto.ActivityResponse.prototype.serializeBinary = function() {
1168
+ var writer = new jspb.BinaryWriter();
1169
+ proto.ActivityResponse.serializeBinaryToWriter(this, writer);
1170
+ return writer.getResultBuffer();
1171
+ };
1172
+
1173
+
1174
+ /**
1175
+ * Serializes the given message to binary data (in protobuf wire
1176
+ * format), writing to the given BinaryWriter.
1177
+ * @param {!proto.ActivityResponse} message
1178
+ * @param {!jspb.BinaryWriter} writer
1179
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1180
+ */
1181
+ proto.ActivityResponse.serializeBinaryToWriter = function(message, writer) {
1182
+ var f = undefined;
1183
+ f = message.getLineOfActivity();
1184
+ if (f != null) {
1185
+ writer.writeMessage(
1186
+ 1,
1187
+ f,
1188
+ proto.LineOfActivity.serializeBinaryToWriter
1189
+ );
1190
+ }
1191
+ f = message.getMeta();
1192
+ if (f != null) {
1193
+ writer.writeMessage(
1194
+ 2,
1195
+ f,
1196
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
1197
+ );
1198
+ }
1199
+ };
1200
+
1201
+
1202
+ /**
1203
+ * optional LineOfActivity line_of_activity = 1;
1204
+ * @return {?proto.LineOfActivity}
1205
+ */
1206
+ proto.ActivityResponse.prototype.getLineOfActivity = function() {
1207
+ return /** @type{?proto.LineOfActivity} */ (
1208
+ jspb.Message.getWrapperField(this, proto.LineOfActivity, 1));
1209
+ };
1210
+
1211
+
1212
+ /**
1213
+ * @param {?proto.LineOfActivity|undefined} value
1214
+ * @return {!proto.ActivityResponse} returns this
1215
+ */
1216
+ proto.ActivityResponse.prototype.setLineOfActivity = function(value) {
1217
+ return jspb.Message.setWrapperField(this, 1, value);
1218
+ };
1219
+
1220
+
1221
+ /**
1222
+ * Clears the message field making it undefined.
1223
+ * @return {!proto.ActivityResponse} returns this
1224
+ */
1225
+ proto.ActivityResponse.prototype.clearLineOfActivity = function() {
1226
+ return this.setLineOfActivity(undefined);
1227
+ };
1228
+
1229
+
1230
+ /**
1231
+ * Returns whether this field is set.
1232
+ * @return {boolean}
1233
+ */
1234
+ proto.ActivityResponse.prototype.hasLineOfActivity = function() {
1235
+ return jspb.Message.getField(this, 1) != null;
1236
+ };
1237
+
1238
+
1239
+ /**
1240
+ * optional prisca.v1.global.meta.Meta meta = 2;
1241
+ * @return {?proto.prisca.v1.global.meta.Meta}
1242
+ */
1243
+ proto.ActivityResponse.prototype.getMeta = function() {
1244
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
1245
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
1246
+ };
1247
+
1248
+
1249
+ /**
1250
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
1251
+ * @return {!proto.ActivityResponse} returns this
1252
+ */
1253
+ proto.ActivityResponse.prototype.setMeta = function(value) {
1254
+ return jspb.Message.setWrapperField(this, 2, value);
1255
+ };
1256
+
1257
+
1258
+ /**
1259
+ * Clears the message field making it undefined.
1260
+ * @return {!proto.ActivityResponse} returns this
1261
+ */
1262
+ proto.ActivityResponse.prototype.clearMeta = function() {
1263
+ return this.setMeta(undefined);
1264
+ };
1265
+
1266
+
1267
+ /**
1268
+ * Returns whether this field is set.
1269
+ * @return {boolean}
1270
+ */
1271
+ proto.ActivityResponse.prototype.hasMeta = function() {
1272
+ return jspb.Message.getField(this, 2) != null;
1273
+ };
1274
+
1275
+
1276
+
1277
+
1278
+
1279
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1280
+ /**
1281
+ * Creates an object representation of this proto.
1282
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1283
+ * Optional fields that are not set will be set to undefined.
1284
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1285
+ * For the list of reserved names please see:
1286
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1287
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1288
+ * JSPB instance for transitional soy proto support:
1289
+ * http://goto/soy-param-migration
1290
+ * @return {!Object}
1291
+ */
1292
+ proto.ProcessFlowRequest.prototype.toObject = function(opt_includeInstance) {
1293
+ return proto.ProcessFlowRequest.toObject(opt_includeInstance, this);
1294
+ };
1295
+
1296
+
1297
+ /**
1298
+ * Static version of the {@see toObject} method.
1299
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1300
+ * the JSPB instance for transitional soy proto support:
1301
+ * http://goto/soy-param-migration
1302
+ * @param {!proto.ProcessFlowRequest} msg The msg instance to transform.
1303
+ * @return {!Object}
1304
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1305
+ */
1306
+ proto.ProcessFlowRequest.toObject = function(includeInstance, msg) {
1307
+ var f, obj = {
1308
+ referenceId: jspb.Message.getFieldWithDefault(msg, 1, ""),
1309
+ transactionType: jspb.Message.getFieldWithDefault(msg, 2, "")
1310
+ };
1311
+
1312
+ if (includeInstance) {
1313
+ obj.$jspbMessageInstance = msg;
1314
+ }
1315
+ return obj;
1316
+ };
1317
+ }
1318
+
1319
+
1320
+ /**
1321
+ * Deserializes binary data (in protobuf wire format).
1322
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1323
+ * @return {!proto.ProcessFlowRequest}
1324
+ */
1325
+ proto.ProcessFlowRequest.deserializeBinary = function(bytes) {
1326
+ var reader = new jspb.BinaryReader(bytes);
1327
+ var msg = new proto.ProcessFlowRequest;
1328
+ return proto.ProcessFlowRequest.deserializeBinaryFromReader(msg, reader);
1329
+ };
1330
+
1331
+
1332
+ /**
1333
+ * Deserializes binary data (in protobuf wire format) from the
1334
+ * given reader into the given message object.
1335
+ * @param {!proto.ProcessFlowRequest} msg The message object to deserialize into.
1336
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1337
+ * @return {!proto.ProcessFlowRequest}
1338
+ */
1339
+ proto.ProcessFlowRequest.deserializeBinaryFromReader = function(msg, reader) {
1340
+ while (reader.nextField()) {
1341
+ if (reader.isEndGroup()) {
1342
+ break;
1343
+ }
1344
+ var field = reader.getFieldNumber();
1345
+ switch (field) {
1346
+ case 1:
1347
+ var value = /** @type {string} */ (reader.readString());
1348
+ msg.setReferenceId(value);
1349
+ break;
1350
+ case 2:
1351
+ var value = /** @type {string} */ (reader.readString());
1352
+ msg.setTransactionType(value);
1353
+ break;
1354
+ default:
1355
+ reader.skipField();
1356
+ break;
1357
+ }
1358
+ }
1359
+ return msg;
1360
+ };
1361
+
1362
+
1363
+ /**
1364
+ * Serializes the message to binary data (in protobuf wire format).
1365
+ * @return {!Uint8Array}
1366
+ */
1367
+ proto.ProcessFlowRequest.prototype.serializeBinary = function() {
1368
+ var writer = new jspb.BinaryWriter();
1369
+ proto.ProcessFlowRequest.serializeBinaryToWriter(this, writer);
1370
+ return writer.getResultBuffer();
1371
+ };
1372
+
1373
+
1374
+ /**
1375
+ * Serializes the given message to binary data (in protobuf wire
1376
+ * format), writing to the given BinaryWriter.
1377
+ * @param {!proto.ProcessFlowRequest} message
1378
+ * @param {!jspb.BinaryWriter} writer
1379
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1380
+ */
1381
+ proto.ProcessFlowRequest.serializeBinaryToWriter = function(message, writer) {
1382
+ var f = undefined;
1383
+ f = message.getReferenceId();
1384
+ if (f.length > 0) {
1385
+ writer.writeString(
1386
+ 1,
1387
+ f
1388
+ );
1389
+ }
1390
+ f = message.getTransactionType();
1391
+ if (f.length > 0) {
1392
+ writer.writeString(
1393
+ 2,
1394
+ f
1395
+ );
1396
+ }
1397
+ };
1398
+
1399
+
1400
+ /**
1401
+ * optional string reference_id = 1;
1402
+ * @return {string}
1403
+ */
1404
+ proto.ProcessFlowRequest.prototype.getReferenceId = function() {
1405
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1406
+ };
1407
+
1408
+
1409
+ /**
1410
+ * @param {string} value
1411
+ * @return {!proto.ProcessFlowRequest} returns this
1412
+ */
1413
+ proto.ProcessFlowRequest.prototype.setReferenceId = function(value) {
1414
+ return jspb.Message.setProto3StringField(this, 1, value);
1415
+ };
1416
+
1417
+
1418
+ /**
1419
+ * optional string transaction_type = 2;
1420
+ * @return {string}
1421
+ */
1422
+ proto.ProcessFlowRequest.prototype.getTransactionType = function() {
1423
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1424
+ };
1425
+
1426
+
1427
+ /**
1428
+ * @param {string} value
1429
+ * @return {!proto.ProcessFlowRequest} returns this
1430
+ */
1431
+ proto.ProcessFlowRequest.prototype.setTransactionType = function(value) {
1432
+ return jspb.Message.setProto3StringField(this, 2, value);
1433
+ };
1434
+
1435
+
1436
+
1437
+ /**
1438
+ * List of repeated fields within this message type.
1439
+ * @private {!Array<number>}
1440
+ * @const
1441
+ */
1442
+ proto.ProcessFlowResponse.repeatedFields_ = [1];
1443
+
1444
+
1445
+
1446
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1447
+ /**
1448
+ * Creates an object representation of this proto.
1449
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1450
+ * Optional fields that are not set will be set to undefined.
1451
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1452
+ * For the list of reserved names please see:
1453
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1454
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1455
+ * JSPB instance for transitional soy proto support:
1456
+ * http://goto/soy-param-migration
1457
+ * @return {!Object}
1458
+ */
1459
+ proto.ProcessFlowResponse.prototype.toObject = function(opt_includeInstance) {
1460
+ return proto.ProcessFlowResponse.toObject(opt_includeInstance, this);
1461
+ };
1462
+
1463
+
1464
+ /**
1465
+ * Static version of the {@see toObject} method.
1466
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1467
+ * the JSPB instance for transitional soy proto support:
1468
+ * http://goto/soy-param-migration
1469
+ * @param {!proto.ProcessFlowResponse} msg The msg instance to transform.
1470
+ * @return {!Object}
1471
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1472
+ */
1473
+ proto.ProcessFlowResponse.toObject = function(includeInstance, msg) {
1474
+ var f, obj = {
1475
+ processFlowList: jspb.Message.toObjectList(msg.getProcessFlowList(),
1476
+ proto.ProcessFlow.toObject, includeInstance),
1477
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
1478
+ };
1479
+
1480
+ if (includeInstance) {
1481
+ obj.$jspbMessageInstance = msg;
1482
+ }
1483
+ return obj;
1484
+ };
1485
+ }
1486
+
1487
+
1488
+ /**
1489
+ * Deserializes binary data (in protobuf wire format).
1490
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1491
+ * @return {!proto.ProcessFlowResponse}
1492
+ */
1493
+ proto.ProcessFlowResponse.deserializeBinary = function(bytes) {
1494
+ var reader = new jspb.BinaryReader(bytes);
1495
+ var msg = new proto.ProcessFlowResponse;
1496
+ return proto.ProcessFlowResponse.deserializeBinaryFromReader(msg, reader);
1497
+ };
1498
+
1499
+
1500
+ /**
1501
+ * Deserializes binary data (in protobuf wire format) from the
1502
+ * given reader into the given message object.
1503
+ * @param {!proto.ProcessFlowResponse} msg The message object to deserialize into.
1504
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1505
+ * @return {!proto.ProcessFlowResponse}
1506
+ */
1507
+ proto.ProcessFlowResponse.deserializeBinaryFromReader = function(msg, reader) {
1508
+ while (reader.nextField()) {
1509
+ if (reader.isEndGroup()) {
1510
+ break;
1511
+ }
1512
+ var field = reader.getFieldNumber();
1513
+ switch (field) {
1514
+ case 1:
1515
+ var value = new proto.ProcessFlow;
1516
+ reader.readMessage(value,proto.ProcessFlow.deserializeBinaryFromReader);
1517
+ msg.addProcessFlow(value);
1518
+ break;
1519
+ case 2:
1520
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
1521
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
1522
+ msg.setMeta(value);
1523
+ break;
1524
+ default:
1525
+ reader.skipField();
1526
+ break;
1527
+ }
1528
+ }
1529
+ return msg;
1530
+ };
1531
+
1532
+
1533
+ /**
1534
+ * Serializes the message to binary data (in protobuf wire format).
1535
+ * @return {!Uint8Array}
1536
+ */
1537
+ proto.ProcessFlowResponse.prototype.serializeBinary = function() {
1538
+ var writer = new jspb.BinaryWriter();
1539
+ proto.ProcessFlowResponse.serializeBinaryToWriter(this, writer);
1540
+ return writer.getResultBuffer();
1541
+ };
1542
+
1543
+
1544
+ /**
1545
+ * Serializes the given message to binary data (in protobuf wire
1546
+ * format), writing to the given BinaryWriter.
1547
+ * @param {!proto.ProcessFlowResponse} message
1548
+ * @param {!jspb.BinaryWriter} writer
1549
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1550
+ */
1551
+ proto.ProcessFlowResponse.serializeBinaryToWriter = function(message, writer) {
1552
+ var f = undefined;
1553
+ f = message.getProcessFlowList();
1554
+ if (f.length > 0) {
1555
+ writer.writeRepeatedMessage(
1556
+ 1,
1557
+ f,
1558
+ proto.ProcessFlow.serializeBinaryToWriter
1559
+ );
1560
+ }
1561
+ f = message.getMeta();
1562
+ if (f != null) {
1563
+ writer.writeMessage(
1564
+ 2,
1565
+ f,
1566
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
1567
+ );
1568
+ }
1569
+ };
1570
+
1571
+
1572
+ /**
1573
+ * repeated ProcessFlow process_flow = 1;
1574
+ * @return {!Array<!proto.ProcessFlow>}
1575
+ */
1576
+ proto.ProcessFlowResponse.prototype.getProcessFlowList = function() {
1577
+ return /** @type{!Array<!proto.ProcessFlow>} */ (
1578
+ jspb.Message.getRepeatedWrapperField(this, proto.ProcessFlow, 1));
1579
+ };
1580
+
1581
+
1582
+ /**
1583
+ * @param {!Array<!proto.ProcessFlow>} value
1584
+ * @return {!proto.ProcessFlowResponse} returns this
1585
+ */
1586
+ proto.ProcessFlowResponse.prototype.setProcessFlowList = function(value) {
1587
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
1588
+ };
1589
+
1590
+
1591
+ /**
1592
+ * @param {!proto.ProcessFlow=} opt_value
1593
+ * @param {number=} opt_index
1594
+ * @return {!proto.ProcessFlow}
1595
+ */
1596
+ proto.ProcessFlowResponse.prototype.addProcessFlow = function(opt_value, opt_index) {
1597
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ProcessFlow, opt_index);
1598
+ };
1599
+
1600
+
1601
+ /**
1602
+ * Clears the list making it empty but non-null.
1603
+ * @return {!proto.ProcessFlowResponse} returns this
1604
+ */
1605
+ proto.ProcessFlowResponse.prototype.clearProcessFlowList = function() {
1606
+ return this.setProcessFlowList([]);
1607
+ };
1608
+
1609
+
1610
+ /**
1611
+ * optional prisca.v1.global.meta.Meta meta = 2;
1612
+ * @return {?proto.prisca.v1.global.meta.Meta}
1613
+ */
1614
+ proto.ProcessFlowResponse.prototype.getMeta = function() {
1615
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
1616
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
1617
+ };
1618
+
1619
+
1620
+ /**
1621
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
1622
+ * @return {!proto.ProcessFlowResponse} returns this
1623
+ */
1624
+ proto.ProcessFlowResponse.prototype.setMeta = function(value) {
1625
+ return jspb.Message.setWrapperField(this, 2, value);
1626
+ };
1627
+
1628
+
1629
+ /**
1630
+ * Clears the message field making it undefined.
1631
+ * @return {!proto.ProcessFlowResponse} returns this
1632
+ */
1633
+ proto.ProcessFlowResponse.prototype.clearMeta = function() {
1634
+ return this.setMeta(undefined);
1635
+ };
1636
+
1637
+
1638
+ /**
1639
+ * Returns whether this field is set.
1640
+ * @return {boolean}
1641
+ */
1642
+ proto.ProcessFlowResponse.prototype.hasMeta = function() {
1643
+ return jspb.Message.getField(this, 2) != null;
1644
+ };
1645
+
1646
+
1647
+
1648
+ /**
1649
+ * List of repeated fields within this message type.
1650
+ * @private {!Array<number>}
1651
+ * @const
1652
+ */
1653
+ proto.ProcessFlow.repeatedFields_ = [2];
1654
+
1655
+
1656
+
1657
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1658
+ /**
1659
+ * Creates an object representation of this proto.
1660
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1661
+ * Optional fields that are not set will be set to undefined.
1662
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1663
+ * For the list of reserved names please see:
1664
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1665
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1666
+ * JSPB instance for transitional soy proto support:
1667
+ * http://goto/soy-param-migration
1668
+ * @return {!Object}
1669
+ */
1670
+ proto.ProcessFlow.prototype.toObject = function(opt_includeInstance) {
1671
+ return proto.ProcessFlow.toObject(opt_includeInstance, this);
1672
+ };
1673
+
1674
+
1675
+ /**
1676
+ * Static version of the {@see toObject} method.
1677
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1678
+ * the JSPB instance for transitional soy proto support:
1679
+ * http://goto/soy-param-migration
1680
+ * @param {!proto.ProcessFlow} msg The msg instance to transform.
1681
+ * @return {!Object}
1682
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1683
+ */
1684
+ proto.ProcessFlow.toObject = function(includeInstance, msg) {
1685
+ var f, obj = {
1686
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
1687
+ detailsList: jspb.Message.toObjectList(msg.getDetailsList(),
1688
+ proto.ProcessFlowDetail.toObject, includeInstance)
1689
+ };
1690
+
1691
+ if (includeInstance) {
1692
+ obj.$jspbMessageInstance = msg;
1693
+ }
1694
+ return obj;
1695
+ };
1696
+ }
1697
+
1698
+
1699
+ /**
1700
+ * Deserializes binary data (in protobuf wire format).
1701
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1702
+ * @return {!proto.ProcessFlow}
1703
+ */
1704
+ proto.ProcessFlow.deserializeBinary = function(bytes) {
1705
+ var reader = new jspb.BinaryReader(bytes);
1706
+ var msg = new proto.ProcessFlow;
1707
+ return proto.ProcessFlow.deserializeBinaryFromReader(msg, reader);
1708
+ };
1709
+
1710
+
1711
+ /**
1712
+ * Deserializes binary data (in protobuf wire format) from the
1713
+ * given reader into the given message object.
1714
+ * @param {!proto.ProcessFlow} msg The message object to deserialize into.
1715
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1716
+ * @return {!proto.ProcessFlow}
1717
+ */
1718
+ proto.ProcessFlow.deserializeBinaryFromReader = function(msg, reader) {
1719
+ while (reader.nextField()) {
1720
+ if (reader.isEndGroup()) {
1721
+ break;
1722
+ }
1723
+ var field = reader.getFieldNumber();
1724
+ switch (field) {
1725
+ case 1:
1726
+ var value = /** @type {string} */ (reader.readString());
1727
+ msg.setName(value);
1728
+ break;
1729
+ case 2:
1730
+ var value = new proto.ProcessFlowDetail;
1731
+ reader.readMessage(value,proto.ProcessFlowDetail.deserializeBinaryFromReader);
1732
+ msg.addDetails(value);
1733
+ break;
1734
+ default:
1735
+ reader.skipField();
1736
+ break;
1737
+ }
1738
+ }
1739
+ return msg;
1740
+ };
1741
+
1742
+
1743
+ /**
1744
+ * Serializes the message to binary data (in protobuf wire format).
1745
+ * @return {!Uint8Array}
1746
+ */
1747
+ proto.ProcessFlow.prototype.serializeBinary = function() {
1748
+ var writer = new jspb.BinaryWriter();
1749
+ proto.ProcessFlow.serializeBinaryToWriter(this, writer);
1750
+ return writer.getResultBuffer();
1751
+ };
1752
+
1753
+
1754
+ /**
1755
+ * Serializes the given message to binary data (in protobuf wire
1756
+ * format), writing to the given BinaryWriter.
1757
+ * @param {!proto.ProcessFlow} message
1758
+ * @param {!jspb.BinaryWriter} writer
1759
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1760
+ */
1761
+ proto.ProcessFlow.serializeBinaryToWriter = function(message, writer) {
1762
+ var f = undefined;
1763
+ f = message.getName();
1764
+ if (f.length > 0) {
1765
+ writer.writeString(
1766
+ 1,
1767
+ f
1768
+ );
1769
+ }
1770
+ f = message.getDetailsList();
1771
+ if (f.length > 0) {
1772
+ writer.writeRepeatedMessage(
1773
+ 2,
1774
+ f,
1775
+ proto.ProcessFlowDetail.serializeBinaryToWriter
1776
+ );
1777
+ }
1778
+ };
1779
+
1780
+
1781
+ /**
1782
+ * optional string name = 1;
1783
+ * @return {string}
1784
+ */
1785
+ proto.ProcessFlow.prototype.getName = function() {
1786
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1787
+ };
1788
+
1789
+
1790
+ /**
1791
+ * @param {string} value
1792
+ * @return {!proto.ProcessFlow} returns this
1793
+ */
1794
+ proto.ProcessFlow.prototype.setName = function(value) {
1795
+ return jspb.Message.setProto3StringField(this, 1, value);
1796
+ };
1797
+
1798
+
1799
+ /**
1800
+ * repeated ProcessFlowDetail details = 2;
1801
+ * @return {!Array<!proto.ProcessFlowDetail>}
1802
+ */
1803
+ proto.ProcessFlow.prototype.getDetailsList = function() {
1804
+ return /** @type{!Array<!proto.ProcessFlowDetail>} */ (
1805
+ jspb.Message.getRepeatedWrapperField(this, proto.ProcessFlowDetail, 2));
1806
+ };
1807
+
1808
+
1809
+ /**
1810
+ * @param {!Array<!proto.ProcessFlowDetail>} value
1811
+ * @return {!proto.ProcessFlow} returns this
1812
+ */
1813
+ proto.ProcessFlow.prototype.setDetailsList = function(value) {
1814
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
1815
+ };
1816
+
1817
+
1818
+ /**
1819
+ * @param {!proto.ProcessFlowDetail=} opt_value
1820
+ * @param {number=} opt_index
1821
+ * @return {!proto.ProcessFlowDetail}
1822
+ */
1823
+ proto.ProcessFlow.prototype.addDetails = function(opt_value, opt_index) {
1824
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ProcessFlowDetail, opt_index);
1825
+ };
1826
+
1827
+
1828
+ /**
1829
+ * Clears the list making it empty but non-null.
1830
+ * @return {!proto.ProcessFlow} returns this
1831
+ */
1832
+ proto.ProcessFlow.prototype.clearDetailsList = function() {
1833
+ return this.setDetailsList([]);
1834
+ };
1835
+
1836
+
1837
+
1838
+
1839
+
1840
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1841
+ /**
1842
+ * Creates an object representation of this proto.
1843
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1844
+ * Optional fields that are not set will be set to undefined.
1845
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1846
+ * For the list of reserved names please see:
1847
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1848
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1849
+ * JSPB instance for transitional soy proto support:
1850
+ * http://goto/soy-param-migration
1851
+ * @return {!Object}
1852
+ */
1853
+ proto.ProcessFlowDetail.prototype.toObject = function(opt_includeInstance) {
1854
+ return proto.ProcessFlowDetail.toObject(opt_includeInstance, this);
1855
+ };
1856
+
1857
+
1858
+ /**
1859
+ * Static version of the {@see toObject} method.
1860
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1861
+ * the JSPB instance for transitional soy proto support:
1862
+ * http://goto/soy-param-migration
1863
+ * @param {!proto.ProcessFlowDetail} msg The msg instance to transform.
1864
+ * @return {!Object}
1865
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1866
+ */
1867
+ proto.ProcessFlowDetail.toObject = function(includeInstance, msg) {
1868
+ var f, obj = {
1869
+ transactionNumber: jspb.Message.getFieldWithDefault(msg, 1, ""),
1870
+ transactionType: jspb.Message.getFieldWithDefault(msg, 2, ""),
1871
+ transactionStatus: jspb.Message.getFieldWithDefault(msg, 3, ""),
1872
+ transactionReferenceId: jspb.Message.getFieldWithDefault(msg, 4, ""),
1873
+ previousTransactionReferenceId: jspb.Message.getFieldWithDefault(msg, 5, "")
1874
+ };
1875
+
1876
+ if (includeInstance) {
1877
+ obj.$jspbMessageInstance = msg;
1878
+ }
1879
+ return obj;
1880
+ };
1881
+ }
1882
+
1883
+
1884
+ /**
1885
+ * Deserializes binary data (in protobuf wire format).
1886
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1887
+ * @return {!proto.ProcessFlowDetail}
1888
+ */
1889
+ proto.ProcessFlowDetail.deserializeBinary = function(bytes) {
1890
+ var reader = new jspb.BinaryReader(bytes);
1891
+ var msg = new proto.ProcessFlowDetail;
1892
+ return proto.ProcessFlowDetail.deserializeBinaryFromReader(msg, reader);
1893
+ };
1894
+
1895
+
1896
+ /**
1897
+ * Deserializes binary data (in protobuf wire format) from the
1898
+ * given reader into the given message object.
1899
+ * @param {!proto.ProcessFlowDetail} msg The message object to deserialize into.
1900
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1901
+ * @return {!proto.ProcessFlowDetail}
1902
+ */
1903
+ proto.ProcessFlowDetail.deserializeBinaryFromReader = function(msg, reader) {
1904
+ while (reader.nextField()) {
1905
+ if (reader.isEndGroup()) {
1906
+ break;
1907
+ }
1908
+ var field = reader.getFieldNumber();
1909
+ switch (field) {
1910
+ case 1:
1911
+ var value = /** @type {string} */ (reader.readString());
1912
+ msg.setTransactionNumber(value);
1913
+ break;
1914
+ case 2:
1915
+ var value = /** @type {string} */ (reader.readString());
1916
+ msg.setTransactionType(value);
1917
+ break;
1918
+ case 3:
1919
+ var value = /** @type {string} */ (reader.readString());
1920
+ msg.setTransactionStatus(value);
1921
+ break;
1922
+ case 4:
1923
+ var value = /** @type {string} */ (reader.readString());
1924
+ msg.setTransactionReferenceId(value);
1925
+ break;
1926
+ case 5:
1927
+ var value = /** @type {string} */ (reader.readString());
1928
+ msg.setPreviousTransactionReferenceId(value);
1929
+ break;
1930
+ default:
1931
+ reader.skipField();
1932
+ break;
1933
+ }
1934
+ }
1935
+ return msg;
1936
+ };
1937
+
1938
+
1939
+ /**
1940
+ * Serializes the message to binary data (in protobuf wire format).
1941
+ * @return {!Uint8Array}
1942
+ */
1943
+ proto.ProcessFlowDetail.prototype.serializeBinary = function() {
1944
+ var writer = new jspb.BinaryWriter();
1945
+ proto.ProcessFlowDetail.serializeBinaryToWriter(this, writer);
1946
+ return writer.getResultBuffer();
1947
+ };
1948
+
1949
+
1950
+ /**
1951
+ * Serializes the given message to binary data (in protobuf wire
1952
+ * format), writing to the given BinaryWriter.
1953
+ * @param {!proto.ProcessFlowDetail} message
1954
+ * @param {!jspb.BinaryWriter} writer
1955
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1956
+ */
1957
+ proto.ProcessFlowDetail.serializeBinaryToWriter = function(message, writer) {
1958
+ var f = undefined;
1959
+ f = message.getTransactionNumber();
1960
+ if (f.length > 0) {
1961
+ writer.writeString(
1962
+ 1,
1963
+ f
1964
+ );
1965
+ }
1966
+ f = message.getTransactionType();
1967
+ if (f.length > 0) {
1968
+ writer.writeString(
1969
+ 2,
1970
+ f
1971
+ );
1972
+ }
1973
+ f = message.getTransactionStatus();
1974
+ if (f.length > 0) {
1975
+ writer.writeString(
1976
+ 3,
1977
+ f
1978
+ );
1979
+ }
1980
+ f = message.getTransactionReferenceId();
1981
+ if (f.length > 0) {
1982
+ writer.writeString(
1983
+ 4,
1984
+ f
1985
+ );
1986
+ }
1987
+ f = message.getPreviousTransactionReferenceId();
1988
+ if (f.length > 0) {
1989
+ writer.writeString(
1990
+ 5,
1991
+ f
1992
+ );
1993
+ }
1994
+ };
1995
+
1996
+
1997
+ /**
1998
+ * optional string transaction_number = 1;
1999
+ * @return {string}
2000
+ */
2001
+ proto.ProcessFlowDetail.prototype.getTransactionNumber = function() {
2002
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2003
+ };
2004
+
2005
+
2006
+ /**
2007
+ * @param {string} value
2008
+ * @return {!proto.ProcessFlowDetail} returns this
2009
+ */
2010
+ proto.ProcessFlowDetail.prototype.setTransactionNumber = function(value) {
2011
+ return jspb.Message.setProto3StringField(this, 1, value);
2012
+ };
2013
+
2014
+
2015
+ /**
2016
+ * optional string transaction_type = 2;
2017
+ * @return {string}
2018
+ */
2019
+ proto.ProcessFlowDetail.prototype.getTransactionType = function() {
2020
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2021
+ };
2022
+
2023
+
2024
+ /**
2025
+ * @param {string} value
2026
+ * @return {!proto.ProcessFlowDetail} returns this
2027
+ */
2028
+ proto.ProcessFlowDetail.prototype.setTransactionType = function(value) {
2029
+ return jspb.Message.setProto3StringField(this, 2, value);
2030
+ };
2031
+
2032
+
2033
+ /**
2034
+ * optional string transaction_status = 3;
2035
+ * @return {string}
2036
+ */
2037
+ proto.ProcessFlowDetail.prototype.getTransactionStatus = function() {
2038
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2039
+ };
2040
+
2041
+
2042
+ /**
2043
+ * @param {string} value
2044
+ * @return {!proto.ProcessFlowDetail} returns this
2045
+ */
2046
+ proto.ProcessFlowDetail.prototype.setTransactionStatus = function(value) {
2047
+ return jspb.Message.setProto3StringField(this, 3, value);
2048
+ };
2049
+
2050
+
2051
+ /**
2052
+ * optional string transaction_reference_id = 4;
2053
+ * @return {string}
2054
+ */
2055
+ proto.ProcessFlowDetail.prototype.getTransactionReferenceId = function() {
2056
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2057
+ };
2058
+
2059
+
2060
+ /**
2061
+ * @param {string} value
2062
+ * @return {!proto.ProcessFlowDetail} returns this
2063
+ */
2064
+ proto.ProcessFlowDetail.prototype.setTransactionReferenceId = function(value) {
2065
+ return jspb.Message.setProto3StringField(this, 4, value);
2066
+ };
2067
+
2068
+
2069
+ /**
2070
+ * optional string previous_transaction_reference_id = 5;
2071
+ * @return {string}
2072
+ */
2073
+ proto.ProcessFlowDetail.prototype.getPreviousTransactionReferenceId = function() {
2074
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
2075
+ };
2076
+
2077
+
2078
+ /**
2079
+ * @param {string} value
2080
+ * @return {!proto.ProcessFlowDetail} returns this
2081
+ */
2082
+ proto.ProcessFlowDetail.prototype.setPreviousTransactionReferenceId = function(value) {
2083
+ return jspb.Message.setProto3StringField(this, 5, value);
2084
+ };
2085
+
2086
+
2087
+ goog.object.extend(exports, proto);