@aldiokta/protocgen 1.1.45 → 1.1.47

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