@aldiokta/protocgen 1.1.43 → 1.1.45

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 (178) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/account_assignment/account_assignment.proto +81 -0
  3. package/prisca/v1/account_group/account_group.proto +88 -0
  4. package/prisca/v1/bidding/bidding.proto +251 -0
  5. package/prisca/v1/chart_of_account/chart_of_account.proto +89 -0
  6. package/prisca/v1/core/access_manager/access_manager.proto +328 -0
  7. package/prisca/v1/core/auth/auth.proto +185 -0
  8. package/prisca/v1/core/chat_messaging/chat_messaging.proto +62 -0
  9. package/prisca/v1/core/company/company.proto +92 -0
  10. package/prisca/v1/core/currency/currency.proto +76 -0
  11. package/prisca/v1/core/department_material/department_material.proto +69 -0
  12. package/prisca/v1/core/employee/employee.proto +129 -0
  13. package/prisca/v1/core/file_upload/file_upload.proto +41 -0
  14. package/prisca/v1/core/incoterm/incoterm.proto +85 -0
  15. package/prisca/v1/core/item_transaction/item_transaction.proto +188 -0
  16. package/prisca/v1/core/job_grade/job_grade.proto +79 -0
  17. package/prisca/v1/core/job_position/job_position.proto +113 -0
  18. package/prisca/v1/core/job_title/job_title.proto +89 -0
  19. package/prisca/v1/core/line_of_activity/line_of_activity.proto +94 -0
  20. package/prisca/v1/core/line_of_approval/line_of_approval.proto +113 -0
  21. package/prisca/v1/core/link_data_source/link_data_source.proto +78 -0
  22. package/prisca/v1/core/location/location.proto +295 -0
  23. package/prisca/v1/core/material/material.proto +131 -0
  24. package/prisca/v1/core/material_group/material_group.proto +85 -0
  25. package/prisca/v1/core/material_type/material_type.proto +95 -0
  26. package/prisca/v1/core/messaging/email_template.proto +77 -0
  27. package/prisca/v1/core/messaging/messaging.proto +29 -0
  28. package/prisca/v1/core/messaging/notification.proto +144 -0
  29. package/prisca/v1/core/number_range/number_range.proto +89 -0
  30. package/prisca/v1/core/organization/organization.proto +94 -0
  31. package/prisca/v1/core/organization_level/organization_level.proto +77 -0
  32. package/prisca/v1/core/price_condition/price_condition.proto +97 -0
  33. package/prisca/v1/core/procurement/procurement.proto +54 -0
  34. package/prisca/v1/core/recipient_roles/recipient_roles.proto +10 -0
  35. package/prisca/v1/core/report/report.proto +90 -0
  36. package/prisca/v1/core/report/user_report.proto +74 -0
  37. package/prisca/v1/core/tax_code/tax_code.proto +82 -0
  38. package/prisca/v1/core/term_of_payment/term_of_payment.proto +74 -0
  39. package/prisca/v1/core/transaction_builder/transaction_builder.proto +366 -0
  40. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +89 -0
  41. package/prisca/v1/core/users/users.proto +55 -0
  42. package/prisca/v1/core/work_location/work_location.proto +122 -0
  43. package/prisca/v1/core/workflow/workflow.proto +220 -0
  44. package/prisca/v1/core/workspace/workspace.proto +48 -0
  45. package/prisca/v1/delivery_order/delivery_order.proto +116 -0
  46. package/prisca/v1/document_type/document_type.proto +89 -0
  47. package/prisca/v1/general_ledger_account/general_ledger_account.proto +100 -0
  48. package/prisca/v1/global/meta/meta.proto +57 -0
  49. package/prisca/v1/good_receipt/good_receipt.proto +118 -0
  50. package/prisca/v1/invoice/invoice.proto +170 -0
  51. package/prisca/v1/purchase_order/purchase_order.proto +292 -0
  52. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto +327 -0
  53. package/prisca/v1/purchasing_group/purchasing_group.proto +89 -0
  54. package/prisca/v1/purchasing_organization/purchasing_organization.proto +77 -0
  55. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.proto +81 -0
  56. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.proto +80 -0
  57. package/prisca/v1/quotation/quotation.proto +135 -0
  58. package/prisca/v1/request_for_quotation/request_for_quotation.proto +203 -0
  59. package/prisca/v1/valuation/valuation.proto +223 -0
  60. package/prisca/v1/vendor_domain/vendor_domain.proto +485 -0
  61. package/prisca/v1/account_assignment/account_assignment_grpc_pb.js +0 -199
  62. package/prisca/v1/account_assignment/account_assignment_pb.js +0 -2720
  63. package/prisca/v1/account_group/account_group_grpc_pb.js +0 -200
  64. package/prisca/v1/account_group/account_group_pb.js +0 -2983
  65. package/prisca/v1/bidding/bidding_grpc_pb.js +0 -350
  66. package/prisca/v1/bidding/bidding_pb.js +0 -8694
  67. package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +0 -199
  68. package/prisca/v1/chart_of_account/chart_of_account_pb.js +0 -2953
  69. package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +0 -577
  70. package/prisca/v1/core/access_manager/access_manager_pb.js +0 -10625
  71. package/prisca/v1/core/auth/auth_grpc_pb.js +0 -523
  72. package/prisca/v1/core/auth/auth_pb.js +0 -5833
  73. package/prisca/v1/core/chat_messaging/chat_messaging_grpc_pb.js +0 -111
  74. package/prisca/v1/core/chat_messaging/chat_messaging_pb.js +0 -1726
  75. package/prisca/v1/core/company/company_grpc_pb.js +0 -178
  76. package/prisca/v1/core/company/company_pb.js +0 -3094
  77. package/prisca/v1/core/currency/currency_grpc_pb.js +0 -177
  78. package/prisca/v1/core/currency/currency_pb.js +0 -2516
  79. package/prisca/v1/core/department_material/department_material_grpc_pb.js +0 -144
  80. package/prisca/v1/core/department_material/department_material_pb.js +0 -2161
  81. package/prisca/v1/core/employee/employee_grpc_pb.js +0 -206
  82. package/prisca/v1/core/employee/employee_pb.js +0 -4329
  83. package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +0 -66
  84. package/prisca/v1/core/file_upload/file_upload_pb.js +0 -1136
  85. package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +0 -177
  86. package/prisca/v1/core/incoterm/incoterm_pb.js +0 -2898
  87. package/prisca/v1/core/item_transaction/item_transaction_grpc_pb.js +0 -1
  88. package/prisca/v1/core/item_transaction/item_transaction_pb.js +0 -6038
  89. package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +0 -178
  90. package/prisca/v1/core/job_grade/job_grade_pb.js +0 -2651
  91. package/prisca/v1/core/job_position/job_position_grpc_pb.js +0 -181
  92. package/prisca/v1/core/job_position/job_position_pb.js +0 -3808
  93. package/prisca/v1/core/job_title/job_title_grpc_pb.js +0 -178
  94. package/prisca/v1/core/job_title/job_title_pb.js +0 -3004
  95. package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +0 -78
  96. package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +0 -2503
  97. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +0 -222
  98. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +0 -3801
  99. package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +0 -177
  100. package/prisca/v1/core/link_data_source/link_data_source_pb.js +0 -2606
  101. package/prisca/v1/core/location/location_grpc_pb.js +0 -837
  102. package/prisca/v1/core/location/location_pb.js +0 -11262
  103. package/prisca/v1/core/material/material_grpc_pb.js +0 -182
  104. package/prisca/v1/core/material/material_pb.js +0 -4226
  105. package/prisca/v1/core/material_group/material_group_grpc_pb.js +0 -178
  106. package/prisca/v1/core/material_group/material_group_pb.js +0 -2822
  107. package/prisca/v1/core/material_type/material_type_grpc_pb.js +0 -182
  108. package/prisca/v1/core/material_type/material_type_pb.js +0 -3098
  109. package/prisca/v1/core/messaging/email_template_grpc_pb.js +0 -177
  110. package/prisca/v1/core/messaging/email_template_pb.js +0 -2658
  111. package/prisca/v1/core/messaging/messaging_grpc_pb.js +0 -56
  112. package/prisca/v1/core/messaging/messaging_pb.js +0 -890
  113. package/prisca/v1/core/messaging/notification_grpc_pb.js +0 -331
  114. package/prisca/v1/core/messaging/notification_pb.js +0 -4775
  115. package/prisca/v1/core/number_range/number_range_grpc_pb.js +0 -178
  116. package/prisca/v1/core/number_range/number_range_pb.js +0 -2972
  117. package/prisca/v1/core/organization/organization_grpc_pb.js +0 -180
  118. package/prisca/v1/core/organization/organization_pb.js +0 -3078
  119. package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +0 -178
  120. package/prisca/v1/core/organization_level/organization_level_pb.js +0 -2591
  121. package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +0 -179
  122. package/prisca/v1/core/price_condition/price_condition_pb.js +0 -3175
  123. package/prisca/v1/core/procurement/procurement_grpc_pb.js +0 -146
  124. package/prisca/v1/core/procurement/procurement_pb.js +0 -1675
  125. package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +0 -1
  126. package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +0 -200
  127. package/prisca/v1/core/report/report_grpc_pb.js +0 -200
  128. package/prisca/v1/core/report/report_pb.js +0 -2816
  129. package/prisca/v1/core/report/user_report_grpc_pb.js +0 -179
  130. package/prisca/v1/core/report/user_report_pb.js +0 -2446
  131. package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +0 -177
  132. package/prisca/v1/core/tax_code/tax_code_pb.js +0 -2778
  133. package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +0 -177
  134. package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +0 -2506
  135. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +0 -652
  136. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +0 -11953
  137. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +0 -180
  138. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +0 -2874
  139. package/prisca/v1/core/users/users_grpc_pb.js +0 -78
  140. package/prisca/v1/core/users/users_pb.js +0 -1647
  141. package/prisca/v1/core/work_location/work_location_grpc_pb.js +0 -179
  142. package/prisca/v1/core/work_location/work_location_pb.js +0 -4018
  143. package/prisca/v1/core/workflow/workflow_grpc_pb.js +0 -203
  144. package/prisca/v1/core/workflow/workflow_pb.js +0 -7631
  145. package/prisca/v1/core/workspace/workspace_grpc_pb.js +0 -101
  146. package/prisca/v1/core/workspace/workspace_pb.js +0 -1381
  147. package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +0 -229
  148. package/prisca/v1/delivery_order/delivery_order_pb.js +0 -3647
  149. package/prisca/v1/document_type/document_type_grpc_pb.js +0 -200
  150. package/prisca/v1/document_type/document_type_pb.js +0 -3004
  151. package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +0 -181
  152. package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +0 -3322
  153. package/prisca/v1/global/meta/meta_grpc_pb.js +0 -1
  154. package/prisca/v1/global/meta/meta_pb.js +0 -1173
  155. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +0 -250
  156. package/prisca/v1/good_receipt/good_receipt_pb.js +0 -3945
  157. package/prisca/v1/invoice/invoice_grpc_pb.js +0 -273
  158. package/prisca/v1/invoice/invoice_pb.js +0 -5664
  159. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +0 -263
  160. package/prisca/v1/purchase_order/purchase_order_pb.js +0 -9839
  161. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -600
  162. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -10795
  163. package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +0 -178
  164. package/prisca/v1/purchasing_group/purchasing_group_pb.js +0 -2921
  165. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +0 -178
  166. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +0 -2418
  167. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +0 -179
  168. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +0 -2584
  169. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +0 -145
  170. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +0 -2537
  171. package/prisca/v1/quotation/quotation_grpc_pb.js +0 -240
  172. package/prisca/v1/quotation/quotation_pb.js +0 -4167
  173. package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +0 -281
  174. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +0 -7042
  175. package/prisca/v1/valuation/valuation_grpc_pb.js +0 -366
  176. package/prisca/v1/valuation/valuation_pb.js +0 -7806
  177. package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +0 -279
  178. package/prisca/v1/vendor_domain/vendor_domain_pb.js +0 -14714
@@ -1,2503 +0,0 @@
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 = globalThis;
17
-
18
- var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
19
- goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
20
- goog.exportSymbol('proto.Activity', null, global);
21
- goog.exportSymbol('proto.ActivityApproval', null, global);
22
- goog.exportSymbol('proto.ActivityRequest', null, global);
23
- goog.exportSymbol('proto.ActivityResponse', null, global);
24
- goog.exportSymbol('proto.DocumentRequest', null, global);
25
- goog.exportSymbol('proto.LineOfActivity', null, global);
26
- goog.exportSymbol('proto.ProcessFlow', null, global);
27
- goog.exportSymbol('proto.ProcessFlowDetail', null, global);
28
- goog.exportSymbol('proto.ProcessFlowRequest', null, global);
29
- goog.exportSymbol('proto.ProcessFlowResponse', null, global);
30
- /**
31
- * Generated by JsPbCodeGenerator.
32
- * @param {Array=} opt_data Optional initial data array, typically from a
33
- * server response, or constructed directly in Javascript. The array is used
34
- * in place and becomes part of the constructed object. It is not cloned.
35
- * If no data is provided, the constructed object will be empty, but still
36
- * valid.
37
- * @extends {jspb.Message}
38
- * @constructor
39
- */
40
- proto.LineOfActivity = function(opt_data) {
41
- jspb.Message.initialize(this, opt_data, 0, -1, proto.LineOfActivity.repeatedFields_, null);
42
- };
43
- goog.inherits(proto.LineOfActivity, jspb.Message);
44
- if (goog.DEBUG && !COMPILED) {
45
- /**
46
- * @public
47
- * @override
48
- */
49
- proto.LineOfActivity.displayName = 'proto.LineOfActivity';
50
- }
51
- /**
52
- * Generated by JsPbCodeGenerator.
53
- * @param {Array=} opt_data Optional initial data array, typically from a
54
- * server response, or constructed directly in Javascript. The array is used
55
- * in place and becomes part of the constructed object. It is not cloned.
56
- * If no data is provided, the constructed object will be empty, but still
57
- * valid.
58
- * @extends {jspb.Message}
59
- * @constructor
60
- */
61
- proto.ActivityApproval = function(opt_data) {
62
- jspb.Message.initialize(this, opt_data, 0, -1, proto.ActivityApproval.repeatedFields_, null);
63
- };
64
- goog.inherits(proto.ActivityApproval, jspb.Message);
65
- if (goog.DEBUG && !COMPILED) {
66
- /**
67
- * @public
68
- * @override
69
- */
70
- proto.ActivityApproval.displayName = 'proto.ActivityApproval';
71
- }
72
- /**
73
- * Generated by JsPbCodeGenerator.
74
- * @param {Array=} opt_data Optional initial data array, typically from a
75
- * server response, or constructed directly in Javascript. The array is used
76
- * in place and becomes part of the constructed object. It is not cloned.
77
- * If no data is provided, the constructed object will be empty, but still
78
- * valid.
79
- * @extends {jspb.Message}
80
- * @constructor
81
- */
82
- proto.Activity = function(opt_data) {
83
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
84
- };
85
- goog.inherits(proto.Activity, jspb.Message);
86
- if (goog.DEBUG && !COMPILED) {
87
- /**
88
- * @public
89
- * @override
90
- */
91
- proto.Activity.displayName = 'proto.Activity';
92
- }
93
- /**
94
- * Generated by JsPbCodeGenerator.
95
- * @param {Array=} opt_data Optional initial data array, typically from a
96
- * server response, or constructed directly in Javascript. The array is used
97
- * in place and becomes part of the constructed object. It is not cloned.
98
- * If no data is provided, the constructed object will be empty, but still
99
- * valid.
100
- * @extends {jspb.Message}
101
- * @constructor
102
- */
103
- proto.ActivityRequest = function(opt_data) {
104
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
105
- };
106
- goog.inherits(proto.ActivityRequest, jspb.Message);
107
- if (goog.DEBUG && !COMPILED) {
108
- /**
109
- * @public
110
- * @override
111
- */
112
- proto.ActivityRequest.displayName = 'proto.ActivityRequest';
113
- }
114
- /**
115
- * Generated by JsPbCodeGenerator.
116
- * @param {Array=} opt_data Optional initial data array, typically from a
117
- * server response, or constructed directly in Javascript. The array is used
118
- * in place and becomes part of the constructed object. It is not cloned.
119
- * If no data is provided, the constructed object will be empty, but still
120
- * valid.
121
- * @extends {jspb.Message}
122
- * @constructor
123
- */
124
- proto.DocumentRequest = function(opt_data) {
125
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
126
- };
127
- goog.inherits(proto.DocumentRequest, jspb.Message);
128
- if (goog.DEBUG && !COMPILED) {
129
- /**
130
- * @public
131
- * @override
132
- */
133
- proto.DocumentRequest.displayName = 'proto.DocumentRequest';
134
- }
135
- /**
136
- * Generated by JsPbCodeGenerator.
137
- * @param {Array=} opt_data Optional initial data array, typically from a
138
- * server response, or constructed directly in Javascript. The array is used
139
- * in place and becomes part of the constructed object. It is not cloned.
140
- * If no data is provided, the constructed object will be empty, but still
141
- * valid.
142
- * @extends {jspb.Message}
143
- * @constructor
144
- */
145
- proto.ActivityResponse = function(opt_data) {
146
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
147
- };
148
- goog.inherits(proto.ActivityResponse, jspb.Message);
149
- if (goog.DEBUG && !COMPILED) {
150
- /**
151
- * @public
152
- * @override
153
- */
154
- proto.ActivityResponse.displayName = 'proto.ActivityResponse';
155
- }
156
- /**
157
- * Generated by JsPbCodeGenerator.
158
- * @param {Array=} opt_data Optional initial data array, typically from a
159
- * server response, or constructed directly in Javascript. The array is used
160
- * in place and becomes part of the constructed object. It is not cloned.
161
- * If no data is provided, the constructed object will be empty, but still
162
- * valid.
163
- * @extends {jspb.Message}
164
- * @constructor
165
- */
166
- proto.ProcessFlowRequest = function(opt_data) {
167
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
168
- };
169
- goog.inherits(proto.ProcessFlowRequest, jspb.Message);
170
- if (goog.DEBUG && !COMPILED) {
171
- /**
172
- * @public
173
- * @override
174
- */
175
- proto.ProcessFlowRequest.displayName = 'proto.ProcessFlowRequest';
176
- }
177
- /**
178
- * Generated by JsPbCodeGenerator.
179
- * @param {Array=} opt_data Optional initial data array, typically from a
180
- * server response, or constructed directly in Javascript. The array is used
181
- * in place and becomes part of the constructed object. It is not cloned.
182
- * If no data is provided, the constructed object will be empty, but still
183
- * valid.
184
- * @extends {jspb.Message}
185
- * @constructor
186
- */
187
- proto.ProcessFlowResponse = function(opt_data) {
188
- jspb.Message.initialize(this, opt_data, 0, -1, proto.ProcessFlowResponse.repeatedFields_, null);
189
- };
190
- goog.inherits(proto.ProcessFlowResponse, jspb.Message);
191
- if (goog.DEBUG && !COMPILED) {
192
- /**
193
- * @public
194
- * @override
195
- */
196
- proto.ProcessFlowResponse.displayName = 'proto.ProcessFlowResponse';
197
- }
198
- /**
199
- * Generated by JsPbCodeGenerator.
200
- * @param {Array=} opt_data Optional initial data array, typically from a
201
- * server response, or constructed directly in Javascript. The array is used
202
- * in place and becomes part of the constructed object. It is not cloned.
203
- * If no data is provided, the constructed object will be empty, but still
204
- * valid.
205
- * @extends {jspb.Message}
206
- * @constructor
207
- */
208
- proto.ProcessFlow = function(opt_data) {
209
- jspb.Message.initialize(this, opt_data, 0, -1, proto.ProcessFlow.repeatedFields_, null);
210
- };
211
- goog.inherits(proto.ProcessFlow, jspb.Message);
212
- if (goog.DEBUG && !COMPILED) {
213
- /**
214
- * @public
215
- * @override
216
- */
217
- proto.ProcessFlow.displayName = 'proto.ProcessFlow';
218
- }
219
- /**
220
- * Generated by JsPbCodeGenerator.
221
- * @param {Array=} opt_data Optional initial data array, typically from a
222
- * server response, or constructed directly in Javascript. The array is used
223
- * in place and becomes part of the constructed object. It is not cloned.
224
- * If no data is provided, the constructed object will be empty, but still
225
- * valid.
226
- * @extends {jspb.Message}
227
- * @constructor
228
- */
229
- proto.ProcessFlowDetail = function(opt_data) {
230
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
231
- };
232
- goog.inherits(proto.ProcessFlowDetail, jspb.Message);
233
- if (goog.DEBUG && !COMPILED) {
234
- /**
235
- * @public
236
- * @override
237
- */
238
- proto.ProcessFlowDetail.displayName = 'proto.ProcessFlowDetail';
239
- }
240
-
241
- /**
242
- * List of repeated fields within this message type.
243
- * @private {!Array<number>}
244
- * @const
245
- */
246
- proto.LineOfActivity.repeatedFields_ = [1];
247
-
248
-
249
-
250
- if (jspb.Message.GENERATE_TO_OBJECT) {
251
- /**
252
- * Creates an object representation of this proto.
253
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
254
- * Optional fields that are not set will be set to undefined.
255
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
256
- * For the list of reserved names please see:
257
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
258
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
259
- * JSPB instance for transitional soy proto support:
260
- * http://goto/soy-param-migration
261
- * @return {!Object}
262
- */
263
- proto.LineOfActivity.prototype.toObject = function(opt_includeInstance) {
264
- return proto.LineOfActivity.toObject(opt_includeInstance, this);
265
- };
266
-
267
-
268
- /**
269
- * Static version of the {@see toObject} method.
270
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
271
- * the JSPB instance for transitional soy proto support:
272
- * http://goto/soy-param-migration
273
- * @param {!proto.LineOfActivity} msg The msg instance to transform.
274
- * @return {!Object}
275
- * @suppress {unusedLocalVariables} f is only used for nested messages
276
- */
277
- proto.LineOfActivity.toObject = function(includeInstance, msg) {
278
- var f, obj = {
279
- activityApprovalList: jspb.Message.toObjectList(msg.getActivityApprovalList(),
280
- proto.ActivityApproval.toObject, includeInstance)
281
- };
282
-
283
- if (includeInstance) {
284
- obj.$jspbMessageInstance = msg;
285
- }
286
- return obj;
287
- };
288
- }
289
-
290
-
291
- /**
292
- * Deserializes binary data (in protobuf wire format).
293
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
294
- * @return {!proto.LineOfActivity}
295
- */
296
- proto.LineOfActivity.deserializeBinary = function(bytes) {
297
- var reader = new jspb.BinaryReader(bytes);
298
- var msg = new proto.LineOfActivity;
299
- return proto.LineOfActivity.deserializeBinaryFromReader(msg, reader);
300
- };
301
-
302
-
303
- /**
304
- * Deserializes binary data (in protobuf wire format) from the
305
- * given reader into the given message object.
306
- * @param {!proto.LineOfActivity} msg The message object to deserialize into.
307
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
308
- * @return {!proto.LineOfActivity}
309
- */
310
- proto.LineOfActivity.deserializeBinaryFromReader = function(msg, reader) {
311
- while (reader.nextField()) {
312
- if (reader.isEndGroup()) {
313
- break;
314
- }
315
- var field = reader.getFieldNumber();
316
- switch (field) {
317
- case 1:
318
- var value = new proto.ActivityApproval;
319
- reader.readMessage(value,proto.ActivityApproval.deserializeBinaryFromReader);
320
- msg.addActivityApproval(value);
321
- break;
322
- default:
323
- reader.skipField();
324
- break;
325
- }
326
- }
327
- return msg;
328
- };
329
-
330
-
331
- /**
332
- * Serializes the message to binary data (in protobuf wire format).
333
- * @return {!Uint8Array}
334
- */
335
- proto.LineOfActivity.prototype.serializeBinary = function() {
336
- var writer = new jspb.BinaryWriter();
337
- proto.LineOfActivity.serializeBinaryToWriter(this, writer);
338
- return writer.getResultBuffer();
339
- };
340
-
341
-
342
- /**
343
- * Serializes the given message to binary data (in protobuf wire
344
- * format), writing to the given BinaryWriter.
345
- * @param {!proto.LineOfActivity} message
346
- * @param {!jspb.BinaryWriter} writer
347
- * @suppress {unusedLocalVariables} f is only used for nested messages
348
- */
349
- proto.LineOfActivity.serializeBinaryToWriter = function(message, writer) {
350
- var f = undefined;
351
- f = message.getActivityApprovalList();
352
- if (f.length > 0) {
353
- writer.writeRepeatedMessage(
354
- 1,
355
- f,
356
- proto.ActivityApproval.serializeBinaryToWriter
357
- );
358
- }
359
- };
360
-
361
-
362
- /**
363
- * repeated ActivityApproval activity_approval = 1;
364
- * @return {!Array<!proto.ActivityApproval>}
365
- */
366
- proto.LineOfActivity.prototype.getActivityApprovalList = function() {
367
- return /** @type{!Array<!proto.ActivityApproval>} */ (
368
- jspb.Message.getRepeatedWrapperField(this, proto.ActivityApproval, 1));
369
- };
370
-
371
-
372
- /**
373
- * @param {!Array<!proto.ActivityApproval>} value
374
- * @return {!proto.LineOfActivity} returns this
375
- */
376
- proto.LineOfActivity.prototype.setActivityApprovalList = function(value) {
377
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
378
- };
379
-
380
-
381
- /**
382
- * @param {!proto.ActivityApproval=} opt_value
383
- * @param {number=} opt_index
384
- * @return {!proto.ActivityApproval}
385
- */
386
- proto.LineOfActivity.prototype.addActivityApproval = function(opt_value, opt_index) {
387
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ActivityApproval, opt_index);
388
- };
389
-
390
-
391
- /**
392
- * Clears the list making it empty but non-null.
393
- * @return {!proto.LineOfActivity} returns this
394
- */
395
- proto.LineOfActivity.prototype.clearActivityApprovalList = function() {
396
- return this.setActivityApprovalList([]);
397
- };
398
-
399
-
400
-
401
- /**
402
- * List of repeated fields within this message type.
403
- * @private {!Array<number>}
404
- * @const
405
- */
406
- proto.ActivityApproval.repeatedFields_ = [6];
407
-
408
-
409
-
410
- if (jspb.Message.GENERATE_TO_OBJECT) {
411
- /**
412
- * Creates an object representation of this proto.
413
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
414
- * Optional fields that are not set will be set to undefined.
415
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
416
- * For the list of reserved names please see:
417
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
418
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
419
- * JSPB instance for transitional soy proto support:
420
- * http://goto/soy-param-migration
421
- * @return {!Object}
422
- */
423
- proto.ActivityApproval.prototype.toObject = function(opt_includeInstance) {
424
- return proto.ActivityApproval.toObject(opt_includeInstance, this);
425
- };
426
-
427
-
428
- /**
429
- * Static version of the {@see toObject} method.
430
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
431
- * the JSPB instance for transitional soy proto support:
432
- * http://goto/soy-param-migration
433
- * @param {!proto.ActivityApproval} msg The msg instance to transform.
434
- * @return {!Object}
435
- * @suppress {unusedLocalVariables} f is only used for nested messages
436
- */
437
- proto.ActivityApproval.toObject = function(includeInstance, msg) {
438
- var f, obj = {
439
- action: jspb.Message.getFieldWithDefault(msg, 1, ""),
440
- actor: jspb.Message.getFieldWithDefault(msg, 2, ""),
441
- document: jspb.Message.getFieldWithDefault(msg, 3, ""),
442
- timestamp: jspb.Message.getFieldWithDefault(msg, 4, ""),
443
- note: jspb.Message.getFieldWithDefault(msg, 5, ""),
444
- activityList: jspb.Message.toObjectList(msg.getActivityList(),
445
- proto.Activity.toObject, includeInstance)
446
- };
447
-
448
- if (includeInstance) {
449
- obj.$jspbMessageInstance = msg;
450
- }
451
- return obj;
452
- };
453
- }
454
-
455
-
456
- /**
457
- * Deserializes binary data (in protobuf wire format).
458
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
459
- * @return {!proto.ActivityApproval}
460
- */
461
- proto.ActivityApproval.deserializeBinary = function(bytes) {
462
- var reader = new jspb.BinaryReader(bytes);
463
- var msg = new proto.ActivityApproval;
464
- return proto.ActivityApproval.deserializeBinaryFromReader(msg, reader);
465
- };
466
-
467
-
468
- /**
469
- * Deserializes binary data (in protobuf wire format) from the
470
- * given reader into the given message object.
471
- * @param {!proto.ActivityApproval} msg The message object to deserialize into.
472
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
473
- * @return {!proto.ActivityApproval}
474
- */
475
- proto.ActivityApproval.deserializeBinaryFromReader = function(msg, reader) {
476
- while (reader.nextField()) {
477
- if (reader.isEndGroup()) {
478
- break;
479
- }
480
- var field = reader.getFieldNumber();
481
- switch (field) {
482
- case 1:
483
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
484
- msg.setAction(value);
485
- break;
486
- case 2:
487
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
488
- msg.setActor(value);
489
- break;
490
- case 3:
491
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
492
- msg.setDocument(value);
493
- break;
494
- case 4:
495
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
496
- msg.setTimestamp(value);
497
- break;
498
- case 5:
499
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
500
- msg.setNote(value);
501
- break;
502
- case 6:
503
- var value = new proto.Activity;
504
- reader.readMessage(value,proto.Activity.deserializeBinaryFromReader);
505
- msg.addActivity(value);
506
- break;
507
- default:
508
- reader.skipField();
509
- break;
510
- }
511
- }
512
- return msg;
513
- };
514
-
515
-
516
- /**
517
- * Serializes the message to binary data (in protobuf wire format).
518
- * @return {!Uint8Array}
519
- */
520
- proto.ActivityApproval.prototype.serializeBinary = function() {
521
- var writer = new jspb.BinaryWriter();
522
- proto.ActivityApproval.serializeBinaryToWriter(this, writer);
523
- return writer.getResultBuffer();
524
- };
525
-
526
-
527
- /**
528
- * Serializes the given message to binary data (in protobuf wire
529
- * format), writing to the given BinaryWriter.
530
- * @param {!proto.ActivityApproval} message
531
- * @param {!jspb.BinaryWriter} writer
532
- * @suppress {unusedLocalVariables} f is only used for nested messages
533
- */
534
- proto.ActivityApproval.serializeBinaryToWriter = function(message, writer) {
535
- var f = undefined;
536
- f = message.getAction();
537
- if (f.length > 0) {
538
- writer.writeString(
539
- 1,
540
- f
541
- );
542
- }
543
- f = message.getActor();
544
- if (f.length > 0) {
545
- writer.writeString(
546
- 2,
547
- f
548
- );
549
- }
550
- f = message.getDocument();
551
- if (f.length > 0) {
552
- writer.writeString(
553
- 3,
554
- f
555
- );
556
- }
557
- f = message.getTimestamp();
558
- if (f.length > 0) {
559
- writer.writeString(
560
- 4,
561
- f
562
- );
563
- }
564
- f = message.getNote();
565
- if (f.length > 0) {
566
- writer.writeString(
567
- 5,
568
- f
569
- );
570
- }
571
- f = message.getActivityList();
572
- if (f.length > 0) {
573
- writer.writeRepeatedMessage(
574
- 6,
575
- f,
576
- proto.Activity.serializeBinaryToWriter
577
- );
578
- }
579
- };
580
-
581
-
582
- /**
583
- * optional string action = 1;
584
- * @return {string}
585
- */
586
- proto.ActivityApproval.prototype.getAction = function() {
587
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
588
- };
589
-
590
-
591
- /**
592
- * @param {string} value
593
- * @return {!proto.ActivityApproval} returns this
594
- */
595
- proto.ActivityApproval.prototype.setAction = function(value) {
596
- return jspb.Message.setProto3StringField(this, 1, value);
597
- };
598
-
599
-
600
- /**
601
- * optional string actor = 2;
602
- * @return {string}
603
- */
604
- proto.ActivityApproval.prototype.getActor = function() {
605
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
606
- };
607
-
608
-
609
- /**
610
- * @param {string} value
611
- * @return {!proto.ActivityApproval} returns this
612
- */
613
- proto.ActivityApproval.prototype.setActor = function(value) {
614
- return jspb.Message.setProto3StringField(this, 2, value);
615
- };
616
-
617
-
618
- /**
619
- * optional string document = 3;
620
- * @return {string}
621
- */
622
- proto.ActivityApproval.prototype.getDocument = function() {
623
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
624
- };
625
-
626
-
627
- /**
628
- * @param {string} value
629
- * @return {!proto.ActivityApproval} returns this
630
- */
631
- proto.ActivityApproval.prototype.setDocument = function(value) {
632
- return jspb.Message.setProto3StringField(this, 3, value);
633
- };
634
-
635
-
636
- /**
637
- * optional string timestamp = 4;
638
- * @return {string}
639
- */
640
- proto.ActivityApproval.prototype.getTimestamp = function() {
641
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
642
- };
643
-
644
-
645
- /**
646
- * @param {string} value
647
- * @return {!proto.ActivityApproval} returns this
648
- */
649
- proto.ActivityApproval.prototype.setTimestamp = function(value) {
650
- return jspb.Message.setProto3StringField(this, 4, value);
651
- };
652
-
653
-
654
- /**
655
- * optional string note = 5;
656
- * @return {string}
657
- */
658
- proto.ActivityApproval.prototype.getNote = function() {
659
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
660
- };
661
-
662
-
663
- /**
664
- * @param {string} value
665
- * @return {!proto.ActivityApproval} returns this
666
- */
667
- proto.ActivityApproval.prototype.setNote = function(value) {
668
- return jspb.Message.setProto3StringField(this, 5, value);
669
- };
670
-
671
-
672
- /**
673
- * repeated Activity activity = 6;
674
- * @return {!Array<!proto.Activity>}
675
- */
676
- proto.ActivityApproval.prototype.getActivityList = function() {
677
- return /** @type{!Array<!proto.Activity>} */ (
678
- jspb.Message.getRepeatedWrapperField(this, proto.Activity, 6));
679
- };
680
-
681
-
682
- /**
683
- * @param {!Array<!proto.Activity>} value
684
- * @return {!proto.ActivityApproval} returns this
685
- */
686
- proto.ActivityApproval.prototype.setActivityList = function(value) {
687
- return jspb.Message.setRepeatedWrapperField(this, 6, value);
688
- };
689
-
690
-
691
- /**
692
- * @param {!proto.Activity=} opt_value
693
- * @param {number=} opt_index
694
- * @return {!proto.Activity}
695
- */
696
- proto.ActivityApproval.prototype.addActivity = function(opt_value, opt_index) {
697
- return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.Activity, opt_index);
698
- };
699
-
700
-
701
- /**
702
- * Clears the list making it empty but non-null.
703
- * @return {!proto.ActivityApproval} returns this
704
- */
705
- proto.ActivityApproval.prototype.clearActivityList = function() {
706
- return this.setActivityList([]);
707
- };
708
-
709
-
710
-
711
-
712
-
713
- if (jspb.Message.GENERATE_TO_OBJECT) {
714
- /**
715
- * Creates an object representation of this proto.
716
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
717
- * Optional fields that are not set will be set to undefined.
718
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
719
- * For the list of reserved names please see:
720
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
721
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
722
- * JSPB instance for transitional soy proto support:
723
- * http://goto/soy-param-migration
724
- * @return {!Object}
725
- */
726
- proto.Activity.prototype.toObject = function(opt_includeInstance) {
727
- return proto.Activity.toObject(opt_includeInstance, this);
728
- };
729
-
730
-
731
- /**
732
- * Static version of the {@see toObject} method.
733
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
734
- * the JSPB instance for transitional soy proto support:
735
- * http://goto/soy-param-migration
736
- * @param {!proto.Activity} msg The msg instance to transform.
737
- * @return {!Object}
738
- * @suppress {unusedLocalVariables} f is only used for nested messages
739
- */
740
- proto.Activity.toObject = function(includeInstance, msg) {
741
- var f, obj = {
742
- newValue: jspb.Message.getFieldWithDefault(msg, 1, ""),
743
- oldValue: jspb.Message.getFieldWithDefault(msg, 2, ""),
744
- changeType: jspb.Message.getFieldWithDefault(msg, 3, ""),
745
- description: jspb.Message.getFieldWithDefault(msg, 4, ""),
746
- employees: jspb.Message.getFieldWithDefault(msg, 5, ""),
747
- createdAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
748
- updatedAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
749
- subkey: jspb.Message.getFieldWithDefault(msg, 8, "")
750
- };
751
-
752
- if (includeInstance) {
753
- obj.$jspbMessageInstance = msg;
754
- }
755
- return obj;
756
- };
757
- }
758
-
759
-
760
- /**
761
- * Deserializes binary data (in protobuf wire format).
762
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
763
- * @return {!proto.Activity}
764
- */
765
- proto.Activity.deserializeBinary = function(bytes) {
766
- var reader = new jspb.BinaryReader(bytes);
767
- var msg = new proto.Activity;
768
- return proto.Activity.deserializeBinaryFromReader(msg, reader);
769
- };
770
-
771
-
772
- /**
773
- * Deserializes binary data (in protobuf wire format) from the
774
- * given reader into the given message object.
775
- * @param {!proto.Activity} msg The message object to deserialize into.
776
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
777
- * @return {!proto.Activity}
778
- */
779
- proto.Activity.deserializeBinaryFromReader = function(msg, reader) {
780
- while (reader.nextField()) {
781
- if (reader.isEndGroup()) {
782
- break;
783
- }
784
- var field = reader.getFieldNumber();
785
- switch (field) {
786
- case 1:
787
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
788
- msg.setNewValue(value);
789
- break;
790
- case 2:
791
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
792
- msg.setOldValue(value);
793
- break;
794
- case 3:
795
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
796
- msg.setChangeType(value);
797
- break;
798
- case 4:
799
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
800
- msg.setDescription(value);
801
- break;
802
- case 5:
803
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
804
- msg.setEmployees(value);
805
- break;
806
- case 6:
807
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
808
- msg.setCreatedAt(value);
809
- break;
810
- case 7:
811
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
812
- msg.setUpdatedAt(value);
813
- break;
814
- case 8:
815
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
816
- msg.setSubkey(value);
817
- break;
818
- default:
819
- reader.skipField();
820
- break;
821
- }
822
- }
823
- return msg;
824
- };
825
-
826
-
827
- /**
828
- * Serializes the message to binary data (in protobuf wire format).
829
- * @return {!Uint8Array}
830
- */
831
- proto.Activity.prototype.serializeBinary = function() {
832
- var writer = new jspb.BinaryWriter();
833
- proto.Activity.serializeBinaryToWriter(this, writer);
834
- return writer.getResultBuffer();
835
- };
836
-
837
-
838
- /**
839
- * Serializes the given message to binary data (in protobuf wire
840
- * format), writing to the given BinaryWriter.
841
- * @param {!proto.Activity} message
842
- * @param {!jspb.BinaryWriter} writer
843
- * @suppress {unusedLocalVariables} f is only used for nested messages
844
- */
845
- proto.Activity.serializeBinaryToWriter = function(message, writer) {
846
- var f = undefined;
847
- f = message.getNewValue();
848
- if (f.length > 0) {
849
- writer.writeString(
850
- 1,
851
- f
852
- );
853
- }
854
- f = message.getOldValue();
855
- if (f.length > 0) {
856
- writer.writeString(
857
- 2,
858
- f
859
- );
860
- }
861
- f = message.getChangeType();
862
- if (f.length > 0) {
863
- writer.writeString(
864
- 3,
865
- f
866
- );
867
- }
868
- f = message.getDescription();
869
- if (f.length > 0) {
870
- writer.writeString(
871
- 4,
872
- f
873
- );
874
- }
875
- f = message.getEmployees();
876
- if (f.length > 0) {
877
- writer.writeString(
878
- 5,
879
- f
880
- );
881
- }
882
- f = message.getCreatedAt();
883
- if (f.length > 0) {
884
- writer.writeString(
885
- 6,
886
- f
887
- );
888
- }
889
- f = message.getUpdatedAt();
890
- if (f.length > 0) {
891
- writer.writeString(
892
- 7,
893
- f
894
- );
895
- }
896
- f = message.getSubkey();
897
- if (f.length > 0) {
898
- writer.writeString(
899
- 8,
900
- f
901
- );
902
- }
903
- };
904
-
905
-
906
- /**
907
- * optional string new_value = 1;
908
- * @return {string}
909
- */
910
- proto.Activity.prototype.getNewValue = function() {
911
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
912
- };
913
-
914
-
915
- /**
916
- * @param {string} value
917
- * @return {!proto.Activity} returns this
918
- */
919
- proto.Activity.prototype.setNewValue = function(value) {
920
- return jspb.Message.setProto3StringField(this, 1, value);
921
- };
922
-
923
-
924
- /**
925
- * optional string old_value = 2;
926
- * @return {string}
927
- */
928
- proto.Activity.prototype.getOldValue = function() {
929
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
930
- };
931
-
932
-
933
- /**
934
- * @param {string} value
935
- * @return {!proto.Activity} returns this
936
- */
937
- proto.Activity.prototype.setOldValue = function(value) {
938
- return jspb.Message.setProto3StringField(this, 2, value);
939
- };
940
-
941
-
942
- /**
943
- * optional string change_type = 3;
944
- * @return {string}
945
- */
946
- proto.Activity.prototype.getChangeType = function() {
947
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
948
- };
949
-
950
-
951
- /**
952
- * @param {string} value
953
- * @return {!proto.Activity} returns this
954
- */
955
- proto.Activity.prototype.setChangeType = function(value) {
956
- return jspb.Message.setProto3StringField(this, 3, value);
957
- };
958
-
959
-
960
- /**
961
- * optional string description = 4;
962
- * @return {string}
963
- */
964
- proto.Activity.prototype.getDescription = function() {
965
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
966
- };
967
-
968
-
969
- /**
970
- * @param {string} value
971
- * @return {!proto.Activity} returns this
972
- */
973
- proto.Activity.prototype.setDescription = function(value) {
974
- return jspb.Message.setProto3StringField(this, 4, value);
975
- };
976
-
977
-
978
- /**
979
- * optional string employees = 5;
980
- * @return {string}
981
- */
982
- proto.Activity.prototype.getEmployees = function() {
983
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
984
- };
985
-
986
-
987
- /**
988
- * @param {string} value
989
- * @return {!proto.Activity} returns this
990
- */
991
- proto.Activity.prototype.setEmployees = function(value) {
992
- return jspb.Message.setProto3StringField(this, 5, value);
993
- };
994
-
995
-
996
- /**
997
- * optional string created_at = 6;
998
- * @return {string}
999
- */
1000
- proto.Activity.prototype.getCreatedAt = function() {
1001
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
1002
- };
1003
-
1004
-
1005
- /**
1006
- * @param {string} value
1007
- * @return {!proto.Activity} returns this
1008
- */
1009
- proto.Activity.prototype.setCreatedAt = function(value) {
1010
- return jspb.Message.setProto3StringField(this, 6, value);
1011
- };
1012
-
1013
-
1014
- /**
1015
- * optional string updated_at = 7;
1016
- * @return {string}
1017
- */
1018
- proto.Activity.prototype.getUpdatedAt = function() {
1019
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
1020
- };
1021
-
1022
-
1023
- /**
1024
- * @param {string} value
1025
- * @return {!proto.Activity} returns this
1026
- */
1027
- proto.Activity.prototype.setUpdatedAt = function(value) {
1028
- return jspb.Message.setProto3StringField(this, 7, value);
1029
- };
1030
-
1031
-
1032
- /**
1033
- * optional string subkey = 8;
1034
- * @return {string}
1035
- */
1036
- proto.Activity.prototype.getSubkey = function() {
1037
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
1038
- };
1039
-
1040
-
1041
- /**
1042
- * @param {string} value
1043
- * @return {!proto.Activity} returns this
1044
- */
1045
- proto.Activity.prototype.setSubkey = function(value) {
1046
- return jspb.Message.setProto3StringField(this, 8, value);
1047
- };
1048
-
1049
-
1050
-
1051
-
1052
-
1053
- if (jspb.Message.GENERATE_TO_OBJECT) {
1054
- /**
1055
- * Creates an object representation of this proto.
1056
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1057
- * Optional fields that are not set will be set to undefined.
1058
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1059
- * For the list of reserved names please see:
1060
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1061
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1062
- * JSPB instance for transitional soy proto support:
1063
- * http://goto/soy-param-migration
1064
- * @return {!Object}
1065
- */
1066
- proto.ActivityRequest.prototype.toObject = function(opt_includeInstance) {
1067
- return proto.ActivityRequest.toObject(opt_includeInstance, this);
1068
- };
1069
-
1070
-
1071
- /**
1072
- * Static version of the {@see toObject} method.
1073
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1074
- * the JSPB instance for transitional soy proto support:
1075
- * http://goto/soy-param-migration
1076
- * @param {!proto.ActivityRequest} msg The msg instance to transform.
1077
- * @return {!Object}
1078
- * @suppress {unusedLocalVariables} f is only used for nested messages
1079
- */
1080
- proto.ActivityRequest.toObject = function(includeInstance, msg) {
1081
- var f, obj = {
1082
- documentType: jspb.Message.getFieldWithDefault(msg, 1, ""),
1083
- docReferencesId: jspb.Message.getFieldWithDefault(msg, 2, "")
1084
- };
1085
-
1086
- if (includeInstance) {
1087
- obj.$jspbMessageInstance = msg;
1088
- }
1089
- return obj;
1090
- };
1091
- }
1092
-
1093
-
1094
- /**
1095
- * Deserializes binary data (in protobuf wire format).
1096
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1097
- * @return {!proto.ActivityRequest}
1098
- */
1099
- proto.ActivityRequest.deserializeBinary = function(bytes) {
1100
- var reader = new jspb.BinaryReader(bytes);
1101
- var msg = new proto.ActivityRequest;
1102
- return proto.ActivityRequest.deserializeBinaryFromReader(msg, reader);
1103
- };
1104
-
1105
-
1106
- /**
1107
- * Deserializes binary data (in protobuf wire format) from the
1108
- * given reader into the given message object.
1109
- * @param {!proto.ActivityRequest} msg The message object to deserialize into.
1110
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1111
- * @return {!proto.ActivityRequest}
1112
- */
1113
- proto.ActivityRequest.deserializeBinaryFromReader = function(msg, reader) {
1114
- while (reader.nextField()) {
1115
- if (reader.isEndGroup()) {
1116
- break;
1117
- }
1118
- var field = reader.getFieldNumber();
1119
- switch (field) {
1120
- case 1:
1121
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1122
- msg.setDocumentType(value);
1123
- break;
1124
- case 2:
1125
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1126
- msg.setDocReferencesId(value);
1127
- break;
1128
- default:
1129
- reader.skipField();
1130
- break;
1131
- }
1132
- }
1133
- return msg;
1134
- };
1135
-
1136
-
1137
- /**
1138
- * Serializes the message to binary data (in protobuf wire format).
1139
- * @return {!Uint8Array}
1140
- */
1141
- proto.ActivityRequest.prototype.serializeBinary = function() {
1142
- var writer = new jspb.BinaryWriter();
1143
- proto.ActivityRequest.serializeBinaryToWriter(this, writer);
1144
- return writer.getResultBuffer();
1145
- };
1146
-
1147
-
1148
- /**
1149
- * Serializes the given message to binary data (in protobuf wire
1150
- * format), writing to the given BinaryWriter.
1151
- * @param {!proto.ActivityRequest} message
1152
- * @param {!jspb.BinaryWriter} writer
1153
- * @suppress {unusedLocalVariables} f is only used for nested messages
1154
- */
1155
- proto.ActivityRequest.serializeBinaryToWriter = function(message, writer) {
1156
- var f = undefined;
1157
- f = message.getDocumentType();
1158
- if (f.length > 0) {
1159
- writer.writeString(
1160
- 1,
1161
- f
1162
- );
1163
- }
1164
- f = message.getDocReferencesId();
1165
- if (f.length > 0) {
1166
- writer.writeString(
1167
- 2,
1168
- f
1169
- );
1170
- }
1171
- };
1172
-
1173
-
1174
- /**
1175
- * optional string document_type = 1;
1176
- * @return {string}
1177
- */
1178
- proto.ActivityRequest.prototype.getDocumentType = function() {
1179
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1180
- };
1181
-
1182
-
1183
- /**
1184
- * @param {string} value
1185
- * @return {!proto.ActivityRequest} returns this
1186
- */
1187
- proto.ActivityRequest.prototype.setDocumentType = function(value) {
1188
- return jspb.Message.setProto3StringField(this, 1, value);
1189
- };
1190
-
1191
-
1192
- /**
1193
- * optional string doc_references_id = 2;
1194
- * @return {string}
1195
- */
1196
- proto.ActivityRequest.prototype.getDocReferencesId = function() {
1197
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1198
- };
1199
-
1200
-
1201
- /**
1202
- * @param {string} value
1203
- * @return {!proto.ActivityRequest} returns this
1204
- */
1205
- proto.ActivityRequest.prototype.setDocReferencesId = function(value) {
1206
- return jspb.Message.setProto3StringField(this, 2, value);
1207
- };
1208
-
1209
-
1210
-
1211
-
1212
-
1213
- if (jspb.Message.GENERATE_TO_OBJECT) {
1214
- /**
1215
- * Creates an object representation of this proto.
1216
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1217
- * Optional fields that are not set will be set to undefined.
1218
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1219
- * For the list of reserved names please see:
1220
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1221
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1222
- * JSPB instance for transitional soy proto support:
1223
- * http://goto/soy-param-migration
1224
- * @return {!Object}
1225
- */
1226
- proto.DocumentRequest.prototype.toObject = function(opt_includeInstance) {
1227
- return proto.DocumentRequest.toObject(opt_includeInstance, this);
1228
- };
1229
-
1230
-
1231
- /**
1232
- * Static version of the {@see toObject} method.
1233
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1234
- * the JSPB instance for transitional soy proto support:
1235
- * http://goto/soy-param-migration
1236
- * @param {!proto.DocumentRequest} msg The msg instance to transform.
1237
- * @return {!Object}
1238
- * @suppress {unusedLocalVariables} f is only used for nested messages
1239
- */
1240
- proto.DocumentRequest.toObject = function(includeInstance, msg) {
1241
- var f, obj = {
1242
- documentsRefereneces: jspb.Message.getFieldWithDefault(msg, 1, ""),
1243
- status: jspb.Message.getFieldWithDefault(msg, 2, ""),
1244
- createdAt: jspb.Message.getFieldWithDefault(msg, 3, ""),
1245
- createdBy: jspb.Message.getFieldWithDefault(msg, 4, ""),
1246
- updatedAt: jspb.Message.getFieldWithDefault(msg, 5, ""),
1247
- updatedBy: jspb.Message.getFieldWithDefault(msg, 6, "")
1248
- };
1249
-
1250
- if (includeInstance) {
1251
- obj.$jspbMessageInstance = msg;
1252
- }
1253
- return obj;
1254
- };
1255
- }
1256
-
1257
-
1258
- /**
1259
- * Deserializes binary data (in protobuf wire format).
1260
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1261
- * @return {!proto.DocumentRequest}
1262
- */
1263
- proto.DocumentRequest.deserializeBinary = function(bytes) {
1264
- var reader = new jspb.BinaryReader(bytes);
1265
- var msg = new proto.DocumentRequest;
1266
- return proto.DocumentRequest.deserializeBinaryFromReader(msg, reader);
1267
- };
1268
-
1269
-
1270
- /**
1271
- * Deserializes binary data (in protobuf wire format) from the
1272
- * given reader into the given message object.
1273
- * @param {!proto.DocumentRequest} msg The message object to deserialize into.
1274
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1275
- * @return {!proto.DocumentRequest}
1276
- */
1277
- proto.DocumentRequest.deserializeBinaryFromReader = function(msg, reader) {
1278
- while (reader.nextField()) {
1279
- if (reader.isEndGroup()) {
1280
- break;
1281
- }
1282
- var field = reader.getFieldNumber();
1283
- switch (field) {
1284
- case 1:
1285
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1286
- msg.setDocumentsRefereneces(value);
1287
- break;
1288
- case 2:
1289
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1290
- msg.setStatus(value);
1291
- break;
1292
- case 3:
1293
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1294
- msg.setCreatedAt(value);
1295
- break;
1296
- case 4:
1297
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1298
- msg.setCreatedBy(value);
1299
- break;
1300
- case 5:
1301
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1302
- msg.setUpdatedAt(value);
1303
- break;
1304
- case 6:
1305
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1306
- msg.setUpdatedBy(value);
1307
- break;
1308
- default:
1309
- reader.skipField();
1310
- break;
1311
- }
1312
- }
1313
- return msg;
1314
- };
1315
-
1316
-
1317
- /**
1318
- * Serializes the message to binary data (in protobuf wire format).
1319
- * @return {!Uint8Array}
1320
- */
1321
- proto.DocumentRequest.prototype.serializeBinary = function() {
1322
- var writer = new jspb.BinaryWriter();
1323
- proto.DocumentRequest.serializeBinaryToWriter(this, writer);
1324
- return writer.getResultBuffer();
1325
- };
1326
-
1327
-
1328
- /**
1329
- * Serializes the given message to binary data (in protobuf wire
1330
- * format), writing to the given BinaryWriter.
1331
- * @param {!proto.DocumentRequest} message
1332
- * @param {!jspb.BinaryWriter} writer
1333
- * @suppress {unusedLocalVariables} f is only used for nested messages
1334
- */
1335
- proto.DocumentRequest.serializeBinaryToWriter = function(message, writer) {
1336
- var f = undefined;
1337
- f = message.getDocumentsRefereneces();
1338
- if (f.length > 0) {
1339
- writer.writeString(
1340
- 1,
1341
- f
1342
- );
1343
- }
1344
- f = message.getStatus();
1345
- if (f.length > 0) {
1346
- writer.writeString(
1347
- 2,
1348
- f
1349
- );
1350
- }
1351
- f = message.getCreatedAt();
1352
- if (f.length > 0) {
1353
- writer.writeString(
1354
- 3,
1355
- f
1356
- );
1357
- }
1358
- f = message.getCreatedBy();
1359
- if (f.length > 0) {
1360
- writer.writeString(
1361
- 4,
1362
- f
1363
- );
1364
- }
1365
- f = message.getUpdatedAt();
1366
- if (f.length > 0) {
1367
- writer.writeString(
1368
- 5,
1369
- f
1370
- );
1371
- }
1372
- f = message.getUpdatedBy();
1373
- if (f.length > 0) {
1374
- writer.writeString(
1375
- 6,
1376
- f
1377
- );
1378
- }
1379
- };
1380
-
1381
-
1382
- /**
1383
- * optional string documents_refereneces = 1;
1384
- * @return {string}
1385
- */
1386
- proto.DocumentRequest.prototype.getDocumentsRefereneces = function() {
1387
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1388
- };
1389
-
1390
-
1391
- /**
1392
- * @param {string} value
1393
- * @return {!proto.DocumentRequest} returns this
1394
- */
1395
- proto.DocumentRequest.prototype.setDocumentsRefereneces = function(value) {
1396
- return jspb.Message.setProto3StringField(this, 1, value);
1397
- };
1398
-
1399
-
1400
- /**
1401
- * optional string status = 2;
1402
- * @return {string}
1403
- */
1404
- proto.DocumentRequest.prototype.getStatus = function() {
1405
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1406
- };
1407
-
1408
-
1409
- /**
1410
- * @param {string} value
1411
- * @return {!proto.DocumentRequest} returns this
1412
- */
1413
- proto.DocumentRequest.prototype.setStatus = function(value) {
1414
- return jspb.Message.setProto3StringField(this, 2, value);
1415
- };
1416
-
1417
-
1418
- /**
1419
- * optional string created_at = 3;
1420
- * @return {string}
1421
- */
1422
- proto.DocumentRequest.prototype.getCreatedAt = function() {
1423
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1424
- };
1425
-
1426
-
1427
- /**
1428
- * @param {string} value
1429
- * @return {!proto.DocumentRequest} returns this
1430
- */
1431
- proto.DocumentRequest.prototype.setCreatedAt = function(value) {
1432
- return jspb.Message.setProto3StringField(this, 3, value);
1433
- };
1434
-
1435
-
1436
- /**
1437
- * optional string created_by = 4;
1438
- * @return {string}
1439
- */
1440
- proto.DocumentRequest.prototype.getCreatedBy = function() {
1441
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1442
- };
1443
-
1444
-
1445
- /**
1446
- * @param {string} value
1447
- * @return {!proto.DocumentRequest} returns this
1448
- */
1449
- proto.DocumentRequest.prototype.setCreatedBy = function(value) {
1450
- return jspb.Message.setProto3StringField(this, 4, value);
1451
- };
1452
-
1453
-
1454
- /**
1455
- * optional string updated_at = 5;
1456
- * @return {string}
1457
- */
1458
- proto.DocumentRequest.prototype.getUpdatedAt = function() {
1459
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1460
- };
1461
-
1462
-
1463
- /**
1464
- * @param {string} value
1465
- * @return {!proto.DocumentRequest} returns this
1466
- */
1467
- proto.DocumentRequest.prototype.setUpdatedAt = function(value) {
1468
- return jspb.Message.setProto3StringField(this, 5, value);
1469
- };
1470
-
1471
-
1472
- /**
1473
- * optional string updated_by = 6;
1474
- * @return {string}
1475
- */
1476
- proto.DocumentRequest.prototype.getUpdatedBy = function() {
1477
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
1478
- };
1479
-
1480
-
1481
- /**
1482
- * @param {string} value
1483
- * @return {!proto.DocumentRequest} returns this
1484
- */
1485
- proto.DocumentRequest.prototype.setUpdatedBy = function(value) {
1486
- return jspb.Message.setProto3StringField(this, 6, value);
1487
- };
1488
-
1489
-
1490
-
1491
-
1492
-
1493
- if (jspb.Message.GENERATE_TO_OBJECT) {
1494
- /**
1495
- * Creates an object representation of this proto.
1496
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1497
- * Optional fields that are not set will be set to undefined.
1498
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1499
- * For the list of reserved names please see:
1500
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1501
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1502
- * JSPB instance for transitional soy proto support:
1503
- * http://goto/soy-param-migration
1504
- * @return {!Object}
1505
- */
1506
- proto.ActivityResponse.prototype.toObject = function(opt_includeInstance) {
1507
- return proto.ActivityResponse.toObject(opt_includeInstance, this);
1508
- };
1509
-
1510
-
1511
- /**
1512
- * Static version of the {@see toObject} method.
1513
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1514
- * the JSPB instance for transitional soy proto support:
1515
- * http://goto/soy-param-migration
1516
- * @param {!proto.ActivityResponse} msg The msg instance to transform.
1517
- * @return {!Object}
1518
- * @suppress {unusedLocalVariables} f is only used for nested messages
1519
- */
1520
- proto.ActivityResponse.toObject = function(includeInstance, msg) {
1521
- var f, obj = {
1522
- lineOfActivity: (f = msg.getLineOfActivity()) && proto.LineOfActivity.toObject(includeInstance, f),
1523
- meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
1524
- };
1525
-
1526
- if (includeInstance) {
1527
- obj.$jspbMessageInstance = msg;
1528
- }
1529
- return obj;
1530
- };
1531
- }
1532
-
1533
-
1534
- /**
1535
- * Deserializes binary data (in protobuf wire format).
1536
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1537
- * @return {!proto.ActivityResponse}
1538
- */
1539
- proto.ActivityResponse.deserializeBinary = function(bytes) {
1540
- var reader = new jspb.BinaryReader(bytes);
1541
- var msg = new proto.ActivityResponse;
1542
- return proto.ActivityResponse.deserializeBinaryFromReader(msg, reader);
1543
- };
1544
-
1545
-
1546
- /**
1547
- * Deserializes binary data (in protobuf wire format) from the
1548
- * given reader into the given message object.
1549
- * @param {!proto.ActivityResponse} msg The message object to deserialize into.
1550
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1551
- * @return {!proto.ActivityResponse}
1552
- */
1553
- proto.ActivityResponse.deserializeBinaryFromReader = function(msg, reader) {
1554
- while (reader.nextField()) {
1555
- if (reader.isEndGroup()) {
1556
- break;
1557
- }
1558
- var field = reader.getFieldNumber();
1559
- switch (field) {
1560
- case 1:
1561
- var value = new proto.LineOfActivity;
1562
- reader.readMessage(value,proto.LineOfActivity.deserializeBinaryFromReader);
1563
- msg.setLineOfActivity(value);
1564
- break;
1565
- case 2:
1566
- var value = new prisca_v1_global_meta_meta_pb.Meta;
1567
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
1568
- msg.setMeta(value);
1569
- break;
1570
- default:
1571
- reader.skipField();
1572
- break;
1573
- }
1574
- }
1575
- return msg;
1576
- };
1577
-
1578
-
1579
- /**
1580
- * Serializes the message to binary data (in protobuf wire format).
1581
- * @return {!Uint8Array}
1582
- */
1583
- proto.ActivityResponse.prototype.serializeBinary = function() {
1584
- var writer = new jspb.BinaryWriter();
1585
- proto.ActivityResponse.serializeBinaryToWriter(this, writer);
1586
- return writer.getResultBuffer();
1587
- };
1588
-
1589
-
1590
- /**
1591
- * Serializes the given message to binary data (in protobuf wire
1592
- * format), writing to the given BinaryWriter.
1593
- * @param {!proto.ActivityResponse} message
1594
- * @param {!jspb.BinaryWriter} writer
1595
- * @suppress {unusedLocalVariables} f is only used for nested messages
1596
- */
1597
- proto.ActivityResponse.serializeBinaryToWriter = function(message, writer) {
1598
- var f = undefined;
1599
- f = message.getLineOfActivity();
1600
- if (f != null) {
1601
- writer.writeMessage(
1602
- 1,
1603
- f,
1604
- proto.LineOfActivity.serializeBinaryToWriter
1605
- );
1606
- }
1607
- f = message.getMeta();
1608
- if (f != null) {
1609
- writer.writeMessage(
1610
- 2,
1611
- f,
1612
- prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
1613
- );
1614
- }
1615
- };
1616
-
1617
-
1618
- /**
1619
- * optional LineOfActivity line_of_activity = 1;
1620
- * @return {?proto.LineOfActivity}
1621
- */
1622
- proto.ActivityResponse.prototype.getLineOfActivity = function() {
1623
- return /** @type{?proto.LineOfActivity} */ (
1624
- jspb.Message.getWrapperField(this, proto.LineOfActivity, 1));
1625
- };
1626
-
1627
-
1628
- /**
1629
- * @param {?proto.LineOfActivity|undefined} value
1630
- * @return {!proto.ActivityResponse} returns this
1631
- */
1632
- proto.ActivityResponse.prototype.setLineOfActivity = function(value) {
1633
- return jspb.Message.setWrapperField(this, 1, value);
1634
- };
1635
-
1636
-
1637
- /**
1638
- * Clears the message field making it undefined.
1639
- * @return {!proto.ActivityResponse} returns this
1640
- */
1641
- proto.ActivityResponse.prototype.clearLineOfActivity = function() {
1642
- return this.setLineOfActivity(undefined);
1643
- };
1644
-
1645
-
1646
- /**
1647
- * Returns whether this field is set.
1648
- * @return {boolean}
1649
- */
1650
- proto.ActivityResponse.prototype.hasLineOfActivity = function() {
1651
- return jspb.Message.getField(this, 1) != null;
1652
- };
1653
-
1654
-
1655
- /**
1656
- * optional prisca.v1.global.meta.Meta meta = 2;
1657
- * @return {?proto.prisca.v1.global.meta.Meta}
1658
- */
1659
- proto.ActivityResponse.prototype.getMeta = function() {
1660
- return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
1661
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
1662
- };
1663
-
1664
-
1665
- /**
1666
- * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
1667
- * @return {!proto.ActivityResponse} returns this
1668
- */
1669
- proto.ActivityResponse.prototype.setMeta = function(value) {
1670
- return jspb.Message.setWrapperField(this, 2, value);
1671
- };
1672
-
1673
-
1674
- /**
1675
- * Clears the message field making it undefined.
1676
- * @return {!proto.ActivityResponse} returns this
1677
- */
1678
- proto.ActivityResponse.prototype.clearMeta = function() {
1679
- return this.setMeta(undefined);
1680
- };
1681
-
1682
-
1683
- /**
1684
- * Returns whether this field is set.
1685
- * @return {boolean}
1686
- */
1687
- proto.ActivityResponse.prototype.hasMeta = function() {
1688
- return jspb.Message.getField(this, 2) != null;
1689
- };
1690
-
1691
-
1692
-
1693
-
1694
-
1695
- if (jspb.Message.GENERATE_TO_OBJECT) {
1696
- /**
1697
- * Creates an object representation of this proto.
1698
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1699
- * Optional fields that are not set will be set to undefined.
1700
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1701
- * For the list of reserved names please see:
1702
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1703
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1704
- * JSPB instance for transitional soy proto support:
1705
- * http://goto/soy-param-migration
1706
- * @return {!Object}
1707
- */
1708
- proto.ProcessFlowRequest.prototype.toObject = function(opt_includeInstance) {
1709
- return proto.ProcessFlowRequest.toObject(opt_includeInstance, this);
1710
- };
1711
-
1712
-
1713
- /**
1714
- * Static version of the {@see toObject} method.
1715
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1716
- * the JSPB instance for transitional soy proto support:
1717
- * http://goto/soy-param-migration
1718
- * @param {!proto.ProcessFlowRequest} msg The msg instance to transform.
1719
- * @return {!Object}
1720
- * @suppress {unusedLocalVariables} f is only used for nested messages
1721
- */
1722
- proto.ProcessFlowRequest.toObject = function(includeInstance, msg) {
1723
- var f, obj = {
1724
- referenceId: jspb.Message.getFieldWithDefault(msg, 1, ""),
1725
- transactionType: jspb.Message.getFieldWithDefault(msg, 2, "")
1726
- };
1727
-
1728
- if (includeInstance) {
1729
- obj.$jspbMessageInstance = msg;
1730
- }
1731
- return obj;
1732
- };
1733
- }
1734
-
1735
-
1736
- /**
1737
- * Deserializes binary data (in protobuf wire format).
1738
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1739
- * @return {!proto.ProcessFlowRequest}
1740
- */
1741
- proto.ProcessFlowRequest.deserializeBinary = function(bytes) {
1742
- var reader = new jspb.BinaryReader(bytes);
1743
- var msg = new proto.ProcessFlowRequest;
1744
- return proto.ProcessFlowRequest.deserializeBinaryFromReader(msg, reader);
1745
- };
1746
-
1747
-
1748
- /**
1749
- * Deserializes binary data (in protobuf wire format) from the
1750
- * given reader into the given message object.
1751
- * @param {!proto.ProcessFlowRequest} msg The message object to deserialize into.
1752
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1753
- * @return {!proto.ProcessFlowRequest}
1754
- */
1755
- proto.ProcessFlowRequest.deserializeBinaryFromReader = function(msg, reader) {
1756
- while (reader.nextField()) {
1757
- if (reader.isEndGroup()) {
1758
- break;
1759
- }
1760
- var field = reader.getFieldNumber();
1761
- switch (field) {
1762
- case 1:
1763
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1764
- msg.setReferenceId(value);
1765
- break;
1766
- case 2:
1767
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1768
- msg.setTransactionType(value);
1769
- break;
1770
- default:
1771
- reader.skipField();
1772
- break;
1773
- }
1774
- }
1775
- return msg;
1776
- };
1777
-
1778
-
1779
- /**
1780
- * Serializes the message to binary data (in protobuf wire format).
1781
- * @return {!Uint8Array}
1782
- */
1783
- proto.ProcessFlowRequest.prototype.serializeBinary = function() {
1784
- var writer = new jspb.BinaryWriter();
1785
- proto.ProcessFlowRequest.serializeBinaryToWriter(this, writer);
1786
- return writer.getResultBuffer();
1787
- };
1788
-
1789
-
1790
- /**
1791
- * Serializes the given message to binary data (in protobuf wire
1792
- * format), writing to the given BinaryWriter.
1793
- * @param {!proto.ProcessFlowRequest} message
1794
- * @param {!jspb.BinaryWriter} writer
1795
- * @suppress {unusedLocalVariables} f is only used for nested messages
1796
- */
1797
- proto.ProcessFlowRequest.serializeBinaryToWriter = function(message, writer) {
1798
- var f = undefined;
1799
- f = message.getReferenceId();
1800
- if (f.length > 0) {
1801
- writer.writeString(
1802
- 1,
1803
- f
1804
- );
1805
- }
1806
- f = message.getTransactionType();
1807
- if (f.length > 0) {
1808
- writer.writeString(
1809
- 2,
1810
- f
1811
- );
1812
- }
1813
- };
1814
-
1815
-
1816
- /**
1817
- * optional string reference_id = 1;
1818
- * @return {string}
1819
- */
1820
- proto.ProcessFlowRequest.prototype.getReferenceId = function() {
1821
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1822
- };
1823
-
1824
-
1825
- /**
1826
- * @param {string} value
1827
- * @return {!proto.ProcessFlowRequest} returns this
1828
- */
1829
- proto.ProcessFlowRequest.prototype.setReferenceId = function(value) {
1830
- return jspb.Message.setProto3StringField(this, 1, value);
1831
- };
1832
-
1833
-
1834
- /**
1835
- * optional string transaction_type = 2;
1836
- * @return {string}
1837
- */
1838
- proto.ProcessFlowRequest.prototype.getTransactionType = function() {
1839
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1840
- };
1841
-
1842
-
1843
- /**
1844
- * @param {string} value
1845
- * @return {!proto.ProcessFlowRequest} returns this
1846
- */
1847
- proto.ProcessFlowRequest.prototype.setTransactionType = function(value) {
1848
- return jspb.Message.setProto3StringField(this, 2, value);
1849
- };
1850
-
1851
-
1852
-
1853
- /**
1854
- * List of repeated fields within this message type.
1855
- * @private {!Array<number>}
1856
- * @const
1857
- */
1858
- proto.ProcessFlowResponse.repeatedFields_ = [1];
1859
-
1860
-
1861
-
1862
- if (jspb.Message.GENERATE_TO_OBJECT) {
1863
- /**
1864
- * Creates an object representation of this proto.
1865
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1866
- * Optional fields that are not set will be set to undefined.
1867
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1868
- * For the list of reserved names please see:
1869
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1870
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1871
- * JSPB instance for transitional soy proto support:
1872
- * http://goto/soy-param-migration
1873
- * @return {!Object}
1874
- */
1875
- proto.ProcessFlowResponse.prototype.toObject = function(opt_includeInstance) {
1876
- return proto.ProcessFlowResponse.toObject(opt_includeInstance, this);
1877
- };
1878
-
1879
-
1880
- /**
1881
- * Static version of the {@see toObject} method.
1882
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1883
- * the JSPB instance for transitional soy proto support:
1884
- * http://goto/soy-param-migration
1885
- * @param {!proto.ProcessFlowResponse} msg The msg instance to transform.
1886
- * @return {!Object}
1887
- * @suppress {unusedLocalVariables} f is only used for nested messages
1888
- */
1889
- proto.ProcessFlowResponse.toObject = function(includeInstance, msg) {
1890
- var f, obj = {
1891
- processFlowList: jspb.Message.toObjectList(msg.getProcessFlowList(),
1892
- proto.ProcessFlow.toObject, includeInstance),
1893
- meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
1894
- };
1895
-
1896
- if (includeInstance) {
1897
- obj.$jspbMessageInstance = msg;
1898
- }
1899
- return obj;
1900
- };
1901
- }
1902
-
1903
-
1904
- /**
1905
- * Deserializes binary data (in protobuf wire format).
1906
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1907
- * @return {!proto.ProcessFlowResponse}
1908
- */
1909
- proto.ProcessFlowResponse.deserializeBinary = function(bytes) {
1910
- var reader = new jspb.BinaryReader(bytes);
1911
- var msg = new proto.ProcessFlowResponse;
1912
- return proto.ProcessFlowResponse.deserializeBinaryFromReader(msg, reader);
1913
- };
1914
-
1915
-
1916
- /**
1917
- * Deserializes binary data (in protobuf wire format) from the
1918
- * given reader into the given message object.
1919
- * @param {!proto.ProcessFlowResponse} msg The message object to deserialize into.
1920
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1921
- * @return {!proto.ProcessFlowResponse}
1922
- */
1923
- proto.ProcessFlowResponse.deserializeBinaryFromReader = function(msg, reader) {
1924
- while (reader.nextField()) {
1925
- if (reader.isEndGroup()) {
1926
- break;
1927
- }
1928
- var field = reader.getFieldNumber();
1929
- switch (field) {
1930
- case 1:
1931
- var value = new proto.ProcessFlow;
1932
- reader.readMessage(value,proto.ProcessFlow.deserializeBinaryFromReader);
1933
- msg.addProcessFlow(value);
1934
- break;
1935
- case 2:
1936
- var value = new prisca_v1_global_meta_meta_pb.Meta;
1937
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
1938
- msg.setMeta(value);
1939
- break;
1940
- default:
1941
- reader.skipField();
1942
- break;
1943
- }
1944
- }
1945
- return msg;
1946
- };
1947
-
1948
-
1949
- /**
1950
- * Serializes the message to binary data (in protobuf wire format).
1951
- * @return {!Uint8Array}
1952
- */
1953
- proto.ProcessFlowResponse.prototype.serializeBinary = function() {
1954
- var writer = new jspb.BinaryWriter();
1955
- proto.ProcessFlowResponse.serializeBinaryToWriter(this, writer);
1956
- return writer.getResultBuffer();
1957
- };
1958
-
1959
-
1960
- /**
1961
- * Serializes the given message to binary data (in protobuf wire
1962
- * format), writing to the given BinaryWriter.
1963
- * @param {!proto.ProcessFlowResponse} message
1964
- * @param {!jspb.BinaryWriter} writer
1965
- * @suppress {unusedLocalVariables} f is only used for nested messages
1966
- */
1967
- proto.ProcessFlowResponse.serializeBinaryToWriter = function(message, writer) {
1968
- var f = undefined;
1969
- f = message.getProcessFlowList();
1970
- if (f.length > 0) {
1971
- writer.writeRepeatedMessage(
1972
- 1,
1973
- f,
1974
- proto.ProcessFlow.serializeBinaryToWriter
1975
- );
1976
- }
1977
- f = message.getMeta();
1978
- if (f != null) {
1979
- writer.writeMessage(
1980
- 2,
1981
- f,
1982
- prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
1983
- );
1984
- }
1985
- };
1986
-
1987
-
1988
- /**
1989
- * repeated ProcessFlow process_flow = 1;
1990
- * @return {!Array<!proto.ProcessFlow>}
1991
- */
1992
- proto.ProcessFlowResponse.prototype.getProcessFlowList = function() {
1993
- return /** @type{!Array<!proto.ProcessFlow>} */ (
1994
- jspb.Message.getRepeatedWrapperField(this, proto.ProcessFlow, 1));
1995
- };
1996
-
1997
-
1998
- /**
1999
- * @param {!Array<!proto.ProcessFlow>} value
2000
- * @return {!proto.ProcessFlowResponse} returns this
2001
- */
2002
- proto.ProcessFlowResponse.prototype.setProcessFlowList = function(value) {
2003
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
2004
- };
2005
-
2006
-
2007
- /**
2008
- * @param {!proto.ProcessFlow=} opt_value
2009
- * @param {number=} opt_index
2010
- * @return {!proto.ProcessFlow}
2011
- */
2012
- proto.ProcessFlowResponse.prototype.addProcessFlow = function(opt_value, opt_index) {
2013
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ProcessFlow, opt_index);
2014
- };
2015
-
2016
-
2017
- /**
2018
- * Clears the list making it empty but non-null.
2019
- * @return {!proto.ProcessFlowResponse} returns this
2020
- */
2021
- proto.ProcessFlowResponse.prototype.clearProcessFlowList = function() {
2022
- return this.setProcessFlowList([]);
2023
- };
2024
-
2025
-
2026
- /**
2027
- * optional prisca.v1.global.meta.Meta meta = 2;
2028
- * @return {?proto.prisca.v1.global.meta.Meta}
2029
- */
2030
- proto.ProcessFlowResponse.prototype.getMeta = function() {
2031
- return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2032
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2033
- };
2034
-
2035
-
2036
- /**
2037
- * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2038
- * @return {!proto.ProcessFlowResponse} returns this
2039
- */
2040
- proto.ProcessFlowResponse.prototype.setMeta = function(value) {
2041
- return jspb.Message.setWrapperField(this, 2, value);
2042
- };
2043
-
2044
-
2045
- /**
2046
- * Clears the message field making it undefined.
2047
- * @return {!proto.ProcessFlowResponse} returns this
2048
- */
2049
- proto.ProcessFlowResponse.prototype.clearMeta = function() {
2050
- return this.setMeta(undefined);
2051
- };
2052
-
2053
-
2054
- /**
2055
- * Returns whether this field is set.
2056
- * @return {boolean}
2057
- */
2058
- proto.ProcessFlowResponse.prototype.hasMeta = function() {
2059
- return jspb.Message.getField(this, 2) != null;
2060
- };
2061
-
2062
-
2063
-
2064
- /**
2065
- * List of repeated fields within this message type.
2066
- * @private {!Array<number>}
2067
- * @const
2068
- */
2069
- proto.ProcessFlow.repeatedFields_ = [2];
2070
-
2071
-
2072
-
2073
- if (jspb.Message.GENERATE_TO_OBJECT) {
2074
- /**
2075
- * Creates an object representation of this proto.
2076
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2077
- * Optional fields that are not set will be set to undefined.
2078
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2079
- * For the list of reserved names please see:
2080
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2081
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2082
- * JSPB instance for transitional soy proto support:
2083
- * http://goto/soy-param-migration
2084
- * @return {!Object}
2085
- */
2086
- proto.ProcessFlow.prototype.toObject = function(opt_includeInstance) {
2087
- return proto.ProcessFlow.toObject(opt_includeInstance, this);
2088
- };
2089
-
2090
-
2091
- /**
2092
- * Static version of the {@see toObject} method.
2093
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2094
- * the JSPB instance for transitional soy proto support:
2095
- * http://goto/soy-param-migration
2096
- * @param {!proto.ProcessFlow} msg The msg instance to transform.
2097
- * @return {!Object}
2098
- * @suppress {unusedLocalVariables} f is only used for nested messages
2099
- */
2100
- proto.ProcessFlow.toObject = function(includeInstance, msg) {
2101
- var f, obj = {
2102
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
2103
- detailsList: jspb.Message.toObjectList(msg.getDetailsList(),
2104
- proto.ProcessFlowDetail.toObject, includeInstance)
2105
- };
2106
-
2107
- if (includeInstance) {
2108
- obj.$jspbMessageInstance = msg;
2109
- }
2110
- return obj;
2111
- };
2112
- }
2113
-
2114
-
2115
- /**
2116
- * Deserializes binary data (in protobuf wire format).
2117
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2118
- * @return {!proto.ProcessFlow}
2119
- */
2120
- proto.ProcessFlow.deserializeBinary = function(bytes) {
2121
- var reader = new jspb.BinaryReader(bytes);
2122
- var msg = new proto.ProcessFlow;
2123
- return proto.ProcessFlow.deserializeBinaryFromReader(msg, reader);
2124
- };
2125
-
2126
-
2127
- /**
2128
- * Deserializes binary data (in protobuf wire format) from the
2129
- * given reader into the given message object.
2130
- * @param {!proto.ProcessFlow} msg The message object to deserialize into.
2131
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2132
- * @return {!proto.ProcessFlow}
2133
- */
2134
- proto.ProcessFlow.deserializeBinaryFromReader = function(msg, reader) {
2135
- while (reader.nextField()) {
2136
- if (reader.isEndGroup()) {
2137
- break;
2138
- }
2139
- var field = reader.getFieldNumber();
2140
- switch (field) {
2141
- case 1:
2142
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
2143
- msg.setName(value);
2144
- break;
2145
- case 2:
2146
- var value = new proto.ProcessFlowDetail;
2147
- reader.readMessage(value,proto.ProcessFlowDetail.deserializeBinaryFromReader);
2148
- msg.addDetails(value);
2149
- break;
2150
- default:
2151
- reader.skipField();
2152
- break;
2153
- }
2154
- }
2155
- return msg;
2156
- };
2157
-
2158
-
2159
- /**
2160
- * Serializes the message to binary data (in protobuf wire format).
2161
- * @return {!Uint8Array}
2162
- */
2163
- proto.ProcessFlow.prototype.serializeBinary = function() {
2164
- var writer = new jspb.BinaryWriter();
2165
- proto.ProcessFlow.serializeBinaryToWriter(this, writer);
2166
- return writer.getResultBuffer();
2167
- };
2168
-
2169
-
2170
- /**
2171
- * Serializes the given message to binary data (in protobuf wire
2172
- * format), writing to the given BinaryWriter.
2173
- * @param {!proto.ProcessFlow} message
2174
- * @param {!jspb.BinaryWriter} writer
2175
- * @suppress {unusedLocalVariables} f is only used for nested messages
2176
- */
2177
- proto.ProcessFlow.serializeBinaryToWriter = function(message, writer) {
2178
- var f = undefined;
2179
- f = message.getName();
2180
- if (f.length > 0) {
2181
- writer.writeString(
2182
- 1,
2183
- f
2184
- );
2185
- }
2186
- f = message.getDetailsList();
2187
- if (f.length > 0) {
2188
- writer.writeRepeatedMessage(
2189
- 2,
2190
- f,
2191
- proto.ProcessFlowDetail.serializeBinaryToWriter
2192
- );
2193
- }
2194
- };
2195
-
2196
-
2197
- /**
2198
- * optional string name = 1;
2199
- * @return {string}
2200
- */
2201
- proto.ProcessFlow.prototype.getName = function() {
2202
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2203
- };
2204
-
2205
-
2206
- /**
2207
- * @param {string} value
2208
- * @return {!proto.ProcessFlow} returns this
2209
- */
2210
- proto.ProcessFlow.prototype.setName = function(value) {
2211
- return jspb.Message.setProto3StringField(this, 1, value);
2212
- };
2213
-
2214
-
2215
- /**
2216
- * repeated ProcessFlowDetail details = 2;
2217
- * @return {!Array<!proto.ProcessFlowDetail>}
2218
- */
2219
- proto.ProcessFlow.prototype.getDetailsList = function() {
2220
- return /** @type{!Array<!proto.ProcessFlowDetail>} */ (
2221
- jspb.Message.getRepeatedWrapperField(this, proto.ProcessFlowDetail, 2));
2222
- };
2223
-
2224
-
2225
- /**
2226
- * @param {!Array<!proto.ProcessFlowDetail>} value
2227
- * @return {!proto.ProcessFlow} returns this
2228
- */
2229
- proto.ProcessFlow.prototype.setDetailsList = function(value) {
2230
- return jspb.Message.setRepeatedWrapperField(this, 2, value);
2231
- };
2232
-
2233
-
2234
- /**
2235
- * @param {!proto.ProcessFlowDetail=} opt_value
2236
- * @param {number=} opt_index
2237
- * @return {!proto.ProcessFlowDetail}
2238
- */
2239
- proto.ProcessFlow.prototype.addDetails = function(opt_value, opt_index) {
2240
- return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ProcessFlowDetail, opt_index);
2241
- };
2242
-
2243
-
2244
- /**
2245
- * Clears the list making it empty but non-null.
2246
- * @return {!proto.ProcessFlow} returns this
2247
- */
2248
- proto.ProcessFlow.prototype.clearDetailsList = function() {
2249
- return this.setDetailsList([]);
2250
- };
2251
-
2252
-
2253
-
2254
-
2255
-
2256
- if (jspb.Message.GENERATE_TO_OBJECT) {
2257
- /**
2258
- * Creates an object representation of this proto.
2259
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2260
- * Optional fields that are not set will be set to undefined.
2261
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2262
- * For the list of reserved names please see:
2263
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2264
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2265
- * JSPB instance for transitional soy proto support:
2266
- * http://goto/soy-param-migration
2267
- * @return {!Object}
2268
- */
2269
- proto.ProcessFlowDetail.prototype.toObject = function(opt_includeInstance) {
2270
- return proto.ProcessFlowDetail.toObject(opt_includeInstance, this);
2271
- };
2272
-
2273
-
2274
- /**
2275
- * Static version of the {@see toObject} method.
2276
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2277
- * the JSPB instance for transitional soy proto support:
2278
- * http://goto/soy-param-migration
2279
- * @param {!proto.ProcessFlowDetail} msg The msg instance to transform.
2280
- * @return {!Object}
2281
- * @suppress {unusedLocalVariables} f is only used for nested messages
2282
- */
2283
- proto.ProcessFlowDetail.toObject = function(includeInstance, msg) {
2284
- var f, obj = {
2285
- transactionNumber: jspb.Message.getFieldWithDefault(msg, 1, ""),
2286
- transactionType: jspb.Message.getFieldWithDefault(msg, 2, ""),
2287
- transactionStatus: jspb.Message.getFieldWithDefault(msg, 3, ""),
2288
- transactionReferenceId: jspb.Message.getFieldWithDefault(msg, 4, ""),
2289
- previousTransactionReferenceId: jspb.Message.getFieldWithDefault(msg, 5, "")
2290
- };
2291
-
2292
- if (includeInstance) {
2293
- obj.$jspbMessageInstance = msg;
2294
- }
2295
- return obj;
2296
- };
2297
- }
2298
-
2299
-
2300
- /**
2301
- * Deserializes binary data (in protobuf wire format).
2302
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2303
- * @return {!proto.ProcessFlowDetail}
2304
- */
2305
- proto.ProcessFlowDetail.deserializeBinary = function(bytes) {
2306
- var reader = new jspb.BinaryReader(bytes);
2307
- var msg = new proto.ProcessFlowDetail;
2308
- return proto.ProcessFlowDetail.deserializeBinaryFromReader(msg, reader);
2309
- };
2310
-
2311
-
2312
- /**
2313
- * Deserializes binary data (in protobuf wire format) from the
2314
- * given reader into the given message object.
2315
- * @param {!proto.ProcessFlowDetail} msg The message object to deserialize into.
2316
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2317
- * @return {!proto.ProcessFlowDetail}
2318
- */
2319
- proto.ProcessFlowDetail.deserializeBinaryFromReader = function(msg, reader) {
2320
- while (reader.nextField()) {
2321
- if (reader.isEndGroup()) {
2322
- break;
2323
- }
2324
- var field = reader.getFieldNumber();
2325
- switch (field) {
2326
- case 1:
2327
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
2328
- msg.setTransactionNumber(value);
2329
- break;
2330
- case 2:
2331
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
2332
- msg.setTransactionType(value);
2333
- break;
2334
- case 3:
2335
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
2336
- msg.setTransactionStatus(value);
2337
- break;
2338
- case 4:
2339
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
2340
- msg.setTransactionReferenceId(value);
2341
- break;
2342
- case 5:
2343
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
2344
- msg.setPreviousTransactionReferenceId(value);
2345
- break;
2346
- default:
2347
- reader.skipField();
2348
- break;
2349
- }
2350
- }
2351
- return msg;
2352
- };
2353
-
2354
-
2355
- /**
2356
- * Serializes the message to binary data (in protobuf wire format).
2357
- * @return {!Uint8Array}
2358
- */
2359
- proto.ProcessFlowDetail.prototype.serializeBinary = function() {
2360
- var writer = new jspb.BinaryWriter();
2361
- proto.ProcessFlowDetail.serializeBinaryToWriter(this, writer);
2362
- return writer.getResultBuffer();
2363
- };
2364
-
2365
-
2366
- /**
2367
- * Serializes the given message to binary data (in protobuf wire
2368
- * format), writing to the given BinaryWriter.
2369
- * @param {!proto.ProcessFlowDetail} message
2370
- * @param {!jspb.BinaryWriter} writer
2371
- * @suppress {unusedLocalVariables} f is only used for nested messages
2372
- */
2373
- proto.ProcessFlowDetail.serializeBinaryToWriter = function(message, writer) {
2374
- var f = undefined;
2375
- f = message.getTransactionNumber();
2376
- if (f.length > 0) {
2377
- writer.writeString(
2378
- 1,
2379
- f
2380
- );
2381
- }
2382
- f = message.getTransactionType();
2383
- if (f.length > 0) {
2384
- writer.writeString(
2385
- 2,
2386
- f
2387
- );
2388
- }
2389
- f = message.getTransactionStatus();
2390
- if (f.length > 0) {
2391
- writer.writeString(
2392
- 3,
2393
- f
2394
- );
2395
- }
2396
- f = message.getTransactionReferenceId();
2397
- if (f.length > 0) {
2398
- writer.writeString(
2399
- 4,
2400
- f
2401
- );
2402
- }
2403
- f = message.getPreviousTransactionReferenceId();
2404
- if (f.length > 0) {
2405
- writer.writeString(
2406
- 5,
2407
- f
2408
- );
2409
- }
2410
- };
2411
-
2412
-
2413
- /**
2414
- * optional string transaction_number = 1;
2415
- * @return {string}
2416
- */
2417
- proto.ProcessFlowDetail.prototype.getTransactionNumber = function() {
2418
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2419
- };
2420
-
2421
-
2422
- /**
2423
- * @param {string} value
2424
- * @return {!proto.ProcessFlowDetail} returns this
2425
- */
2426
- proto.ProcessFlowDetail.prototype.setTransactionNumber = function(value) {
2427
- return jspb.Message.setProto3StringField(this, 1, value);
2428
- };
2429
-
2430
-
2431
- /**
2432
- * optional string transaction_type = 2;
2433
- * @return {string}
2434
- */
2435
- proto.ProcessFlowDetail.prototype.getTransactionType = function() {
2436
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2437
- };
2438
-
2439
-
2440
- /**
2441
- * @param {string} value
2442
- * @return {!proto.ProcessFlowDetail} returns this
2443
- */
2444
- proto.ProcessFlowDetail.prototype.setTransactionType = function(value) {
2445
- return jspb.Message.setProto3StringField(this, 2, value);
2446
- };
2447
-
2448
-
2449
- /**
2450
- * optional string transaction_status = 3;
2451
- * @return {string}
2452
- */
2453
- proto.ProcessFlowDetail.prototype.getTransactionStatus = function() {
2454
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2455
- };
2456
-
2457
-
2458
- /**
2459
- * @param {string} value
2460
- * @return {!proto.ProcessFlowDetail} returns this
2461
- */
2462
- proto.ProcessFlowDetail.prototype.setTransactionStatus = function(value) {
2463
- return jspb.Message.setProto3StringField(this, 3, value);
2464
- };
2465
-
2466
-
2467
- /**
2468
- * optional string transaction_reference_id = 4;
2469
- * @return {string}
2470
- */
2471
- proto.ProcessFlowDetail.prototype.getTransactionReferenceId = function() {
2472
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2473
- };
2474
-
2475
-
2476
- /**
2477
- * @param {string} value
2478
- * @return {!proto.ProcessFlowDetail} returns this
2479
- */
2480
- proto.ProcessFlowDetail.prototype.setTransactionReferenceId = function(value) {
2481
- return jspb.Message.setProto3StringField(this, 4, value);
2482
- };
2483
-
2484
-
2485
- /**
2486
- * optional string previous_transaction_reference_id = 5;
2487
- * @return {string}
2488
- */
2489
- proto.ProcessFlowDetail.prototype.getPreviousTransactionReferenceId = function() {
2490
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
2491
- };
2492
-
2493
-
2494
- /**
2495
- * @param {string} value
2496
- * @return {!proto.ProcessFlowDetail} returns this
2497
- */
2498
- proto.ProcessFlowDetail.prototype.setPreviousTransactionReferenceId = function(value) {
2499
- return jspb.Message.setProto3StringField(this, 5, value);
2500
- };
2501
-
2502
-
2503
- goog.object.extend(exports, proto);