@aldiokta/protocgen 1.1.23 → 1.1.24

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