@aldiokta/protocgen 1.1.43 → 1.1.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/account_assignment/account_assignment.proto +81 -0
  3. package/prisca/v1/account_group/account_group.proto +88 -0
  4. package/prisca/v1/bidding/bidding.proto +251 -0
  5. package/prisca/v1/chart_of_account/chart_of_account.proto +89 -0
  6. package/prisca/v1/core/access_manager/access_manager.proto +328 -0
  7. package/prisca/v1/core/auth/auth.proto +185 -0
  8. package/prisca/v1/core/chat_messaging/chat_messaging.proto +62 -0
  9. package/prisca/v1/core/company/company.proto +92 -0
  10. package/prisca/v1/core/currency/currency.proto +76 -0
  11. package/prisca/v1/core/department_material/department_material.proto +69 -0
  12. package/prisca/v1/core/employee/employee.proto +129 -0
  13. package/prisca/v1/core/file_upload/file_upload.proto +41 -0
  14. package/prisca/v1/core/incoterm/incoterm.proto +85 -0
  15. package/prisca/v1/core/item_transaction/item_transaction.proto +188 -0
  16. package/prisca/v1/core/job_grade/job_grade.proto +79 -0
  17. package/prisca/v1/core/job_position/job_position.proto +113 -0
  18. package/prisca/v1/core/job_title/job_title.proto +89 -0
  19. package/prisca/v1/core/line_of_activity/line_of_activity.proto +94 -0
  20. package/prisca/v1/core/line_of_approval/line_of_approval.proto +113 -0
  21. package/prisca/v1/core/link_data_source/link_data_source.proto +78 -0
  22. package/prisca/v1/core/location/location.proto +295 -0
  23. package/prisca/v1/core/material/material.proto +131 -0
  24. package/prisca/v1/core/material_group/material_group.proto +85 -0
  25. package/prisca/v1/core/material_type/material_type.proto +95 -0
  26. package/prisca/v1/core/messaging/email_template.proto +77 -0
  27. package/prisca/v1/core/messaging/messaging.proto +29 -0
  28. package/prisca/v1/core/messaging/notification.proto +144 -0
  29. package/prisca/v1/core/number_range/number_range.proto +89 -0
  30. package/prisca/v1/core/organization/organization.proto +94 -0
  31. package/prisca/v1/core/organization_level/organization_level.proto +77 -0
  32. package/prisca/v1/core/price_condition/price_condition.proto +97 -0
  33. package/prisca/v1/core/procurement/procurement.proto +54 -0
  34. package/prisca/v1/core/recipient_roles/recipient_roles.proto +10 -0
  35. package/prisca/v1/core/report/report.proto +90 -0
  36. package/prisca/v1/core/report/user_report.proto +74 -0
  37. package/prisca/v1/core/tax_code/tax_code.proto +82 -0
  38. package/prisca/v1/core/term_of_payment/term_of_payment.proto +74 -0
  39. package/prisca/v1/core/transaction_builder/transaction_builder.proto +366 -0
  40. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +89 -0
  41. package/prisca/v1/core/users/users.proto +55 -0
  42. package/prisca/v1/core/work_location/work_location.proto +122 -0
  43. package/prisca/v1/core/workflow/workflow.proto +220 -0
  44. package/prisca/v1/core/workspace/workspace.proto +48 -0
  45. package/prisca/v1/delivery_order/delivery_order.proto +116 -0
  46. package/prisca/v1/document_type/document_type.proto +89 -0
  47. package/prisca/v1/general_ledger_account/general_ledger_account.proto +100 -0
  48. package/prisca/v1/global/meta/meta.proto +57 -0
  49. package/prisca/v1/good_receipt/good_receipt.proto +118 -0
  50. package/prisca/v1/invoice/invoice.proto +170 -0
  51. package/prisca/v1/purchase_order/purchase_order.proto +292 -0
  52. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto +327 -0
  53. package/prisca/v1/purchasing_group/purchasing_group.proto +89 -0
  54. package/prisca/v1/purchasing_organization/purchasing_organization.proto +77 -0
  55. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.proto +81 -0
  56. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.proto +80 -0
  57. package/prisca/v1/quotation/quotation.proto +135 -0
  58. package/prisca/v1/request_for_quotation/request_for_quotation.proto +203 -0
  59. package/prisca/v1/valuation/valuation.proto +223 -0
  60. package/prisca/v1/vendor_domain/vendor_domain.proto +485 -0
  61. package/prisca/v1/account_assignment/account_assignment_grpc_pb.js +0 -199
  62. package/prisca/v1/account_assignment/account_assignment_pb.js +0 -2720
  63. package/prisca/v1/account_group/account_group_grpc_pb.js +0 -200
  64. package/prisca/v1/account_group/account_group_pb.js +0 -2983
  65. package/prisca/v1/bidding/bidding_grpc_pb.js +0 -350
  66. package/prisca/v1/bidding/bidding_pb.js +0 -8694
  67. package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +0 -199
  68. package/prisca/v1/chart_of_account/chart_of_account_pb.js +0 -2953
  69. package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +0 -577
  70. package/prisca/v1/core/access_manager/access_manager_pb.js +0 -10625
  71. package/prisca/v1/core/auth/auth_grpc_pb.js +0 -523
  72. package/prisca/v1/core/auth/auth_pb.js +0 -5833
  73. package/prisca/v1/core/chat_messaging/chat_messaging_grpc_pb.js +0 -111
  74. package/prisca/v1/core/chat_messaging/chat_messaging_pb.js +0 -1726
  75. package/prisca/v1/core/company/company_grpc_pb.js +0 -178
  76. package/prisca/v1/core/company/company_pb.js +0 -3094
  77. package/prisca/v1/core/currency/currency_grpc_pb.js +0 -177
  78. package/prisca/v1/core/currency/currency_pb.js +0 -2516
  79. package/prisca/v1/core/department_material/department_material_grpc_pb.js +0 -144
  80. package/prisca/v1/core/department_material/department_material_pb.js +0 -2161
  81. package/prisca/v1/core/employee/employee_grpc_pb.js +0 -206
  82. package/prisca/v1/core/employee/employee_pb.js +0 -4329
  83. package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +0 -66
  84. package/prisca/v1/core/file_upload/file_upload_pb.js +0 -1136
  85. package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +0 -177
  86. package/prisca/v1/core/incoterm/incoterm_pb.js +0 -2898
  87. package/prisca/v1/core/item_transaction/item_transaction_grpc_pb.js +0 -1
  88. package/prisca/v1/core/item_transaction/item_transaction_pb.js +0 -6038
  89. package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +0 -178
  90. package/prisca/v1/core/job_grade/job_grade_pb.js +0 -2651
  91. package/prisca/v1/core/job_position/job_position_grpc_pb.js +0 -181
  92. package/prisca/v1/core/job_position/job_position_pb.js +0 -3808
  93. package/prisca/v1/core/job_title/job_title_grpc_pb.js +0 -178
  94. package/prisca/v1/core/job_title/job_title_pb.js +0 -3004
  95. package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +0 -78
  96. package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +0 -2503
  97. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +0 -222
  98. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +0 -3801
  99. package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +0 -177
  100. package/prisca/v1/core/link_data_source/link_data_source_pb.js +0 -2606
  101. package/prisca/v1/core/location/location_grpc_pb.js +0 -837
  102. package/prisca/v1/core/location/location_pb.js +0 -11262
  103. package/prisca/v1/core/material/material_grpc_pb.js +0 -182
  104. package/prisca/v1/core/material/material_pb.js +0 -4226
  105. package/prisca/v1/core/material_group/material_group_grpc_pb.js +0 -178
  106. package/prisca/v1/core/material_group/material_group_pb.js +0 -2822
  107. package/prisca/v1/core/material_type/material_type_grpc_pb.js +0 -182
  108. package/prisca/v1/core/material_type/material_type_pb.js +0 -3098
  109. package/prisca/v1/core/messaging/email_template_grpc_pb.js +0 -177
  110. package/prisca/v1/core/messaging/email_template_pb.js +0 -2658
  111. package/prisca/v1/core/messaging/messaging_grpc_pb.js +0 -56
  112. package/prisca/v1/core/messaging/messaging_pb.js +0 -890
  113. package/prisca/v1/core/messaging/notification_grpc_pb.js +0 -331
  114. package/prisca/v1/core/messaging/notification_pb.js +0 -4775
  115. package/prisca/v1/core/number_range/number_range_grpc_pb.js +0 -178
  116. package/prisca/v1/core/number_range/number_range_pb.js +0 -2972
  117. package/prisca/v1/core/organization/organization_grpc_pb.js +0 -180
  118. package/prisca/v1/core/organization/organization_pb.js +0 -3078
  119. package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +0 -178
  120. package/prisca/v1/core/organization_level/organization_level_pb.js +0 -2591
  121. package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +0 -179
  122. package/prisca/v1/core/price_condition/price_condition_pb.js +0 -3175
  123. package/prisca/v1/core/procurement/procurement_grpc_pb.js +0 -146
  124. package/prisca/v1/core/procurement/procurement_pb.js +0 -1675
  125. package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +0 -1
  126. package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +0 -200
  127. package/prisca/v1/core/report/report_grpc_pb.js +0 -200
  128. package/prisca/v1/core/report/report_pb.js +0 -2816
  129. package/prisca/v1/core/report/user_report_grpc_pb.js +0 -179
  130. package/prisca/v1/core/report/user_report_pb.js +0 -2446
  131. package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +0 -177
  132. package/prisca/v1/core/tax_code/tax_code_pb.js +0 -2778
  133. package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +0 -177
  134. package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +0 -2506
  135. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +0 -652
  136. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +0 -11953
  137. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +0 -180
  138. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +0 -2874
  139. package/prisca/v1/core/users/users_grpc_pb.js +0 -78
  140. package/prisca/v1/core/users/users_pb.js +0 -1647
  141. package/prisca/v1/core/work_location/work_location_grpc_pb.js +0 -179
  142. package/prisca/v1/core/work_location/work_location_pb.js +0 -4018
  143. package/prisca/v1/core/workflow/workflow_grpc_pb.js +0 -203
  144. package/prisca/v1/core/workflow/workflow_pb.js +0 -7631
  145. package/prisca/v1/core/workspace/workspace_grpc_pb.js +0 -101
  146. package/prisca/v1/core/workspace/workspace_pb.js +0 -1381
  147. package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +0 -229
  148. package/prisca/v1/delivery_order/delivery_order_pb.js +0 -3647
  149. package/prisca/v1/document_type/document_type_grpc_pb.js +0 -200
  150. package/prisca/v1/document_type/document_type_pb.js +0 -3004
  151. package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +0 -181
  152. package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +0 -3322
  153. package/prisca/v1/global/meta/meta_grpc_pb.js +0 -1
  154. package/prisca/v1/global/meta/meta_pb.js +0 -1173
  155. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +0 -250
  156. package/prisca/v1/good_receipt/good_receipt_pb.js +0 -3945
  157. package/prisca/v1/invoice/invoice_grpc_pb.js +0 -273
  158. package/prisca/v1/invoice/invoice_pb.js +0 -5664
  159. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +0 -263
  160. package/prisca/v1/purchase_order/purchase_order_pb.js +0 -9839
  161. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -600
  162. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -10795
  163. package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +0 -178
  164. package/prisca/v1/purchasing_group/purchasing_group_pb.js +0 -2921
  165. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +0 -178
  166. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +0 -2418
  167. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +0 -179
  168. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +0 -2584
  169. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +0 -145
  170. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +0 -2537
  171. package/prisca/v1/quotation/quotation_grpc_pb.js +0 -240
  172. package/prisca/v1/quotation/quotation_pb.js +0 -4167
  173. package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +0 -281
  174. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +0 -7042
  175. package/prisca/v1/valuation/valuation_grpc_pb.js +0 -366
  176. package/prisca/v1/valuation/valuation_pb.js +0 -7806
  177. package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +0 -279
  178. package/prisca/v1/vendor_domain/vendor_domain_pb.js +0 -14714
@@ -1,4775 +0,0 @@
1
- // source: prisca/v1/core/messaging/notification.proto
2
- /**
3
- * @fileoverview
4
- * @enhanceable
5
- * @suppress {missingRequire} reports error on implicit type usages.
6
- * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
- * field starts with 'MSG_' and isn't a translatable message.
8
- * @public
9
- */
10
- // GENERATED CODE -- DO NOT EDIT!
11
- /* eslint-disable */
12
- // @ts-nocheck
13
-
14
- var jspb = require('google-protobuf');
15
- var goog = jspb;
16
- var global = globalThis;
17
-
18
- var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
19
- goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
20
- goog.exportSymbol('proto.CountUnreadNotificationRes', null, global);
21
- goog.exportSymbol('proto.CreateNotificationReq', null, global);
22
- goog.exportSymbol('proto.CreateNotificationRes', null, global);
23
- goog.exportSymbol('proto.DeleteNotificationEmployeeReq', null, global);
24
- goog.exportSymbol('proto.DeleteNotificationEmployeeRes', null, global);
25
- goog.exportSymbol('proto.DeleteNotificationVendorReq', null, global);
26
- goog.exportSymbol('proto.DeleteNotificationVendorRes', null, global);
27
- goog.exportSymbol('proto.EmptyMessage', null, global);
28
- goog.exportSymbol('proto.GetListNotificationEmployeeReq', null, global);
29
- goog.exportSymbol('proto.GetListNotificationEmployeeRes', null, global);
30
- goog.exportSymbol('proto.GetListNotificationVendorReq', null, global);
31
- goog.exportSymbol('proto.GetListNotificationVendorRes', null, global);
32
- goog.exportSymbol('proto.Notification', null, global);
33
- goog.exportSymbol('proto.NotificationEmployee', null, global);
34
- goog.exportSymbol('proto.NotificationEmployeeItem', null, global);
35
- goog.exportSymbol('proto.NotificationVendor', null, global);
36
- goog.exportSymbol('proto.NotificationVendorItem', null, global);
37
- goog.exportSymbol('proto.ReferenceId', null, global);
38
- goog.exportSymbol('proto.ReferenceIds', null, global);
39
- /**
40
- * Generated by JsPbCodeGenerator.
41
- * @param {Array=} opt_data Optional initial data array, typically from a
42
- * server response, or constructed directly in Javascript. The array is used
43
- * in place and becomes part of the constructed object. It is not cloned.
44
- * If no data is provided, the constructed object will be empty, but still
45
- * valid.
46
- * @extends {jspb.Message}
47
- * @constructor
48
- */
49
- proto.Notification = function(opt_data) {
50
- jspb.Message.initialize(this, opt_data, 0, -1, proto.Notification.repeatedFields_, null);
51
- };
52
- goog.inherits(proto.Notification, jspb.Message);
53
- if (goog.DEBUG && !COMPILED) {
54
- /**
55
- * @public
56
- * @override
57
- */
58
- proto.Notification.displayName = 'proto.Notification';
59
- }
60
- /**
61
- * Generated by JsPbCodeGenerator.
62
- * @param {Array=} opt_data Optional initial data array, typically from a
63
- * server response, or constructed directly in Javascript. The array is used
64
- * in place and becomes part of the constructed object. It is not cloned.
65
- * If no data is provided, the constructed object will be empty, but still
66
- * valid.
67
- * @extends {jspb.Message}
68
- * @constructor
69
- */
70
- proto.NotificationEmployee = function(opt_data) {
71
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
72
- };
73
- goog.inherits(proto.NotificationEmployee, jspb.Message);
74
- if (goog.DEBUG && !COMPILED) {
75
- /**
76
- * @public
77
- * @override
78
- */
79
- proto.NotificationEmployee.displayName = 'proto.NotificationEmployee';
80
- }
81
- /**
82
- * Generated by JsPbCodeGenerator.
83
- * @param {Array=} opt_data Optional initial data array, typically from a
84
- * server response, or constructed directly in Javascript. The array is used
85
- * in place and becomes part of the constructed object. It is not cloned.
86
- * If no data is provided, the constructed object will be empty, but still
87
- * valid.
88
- * @extends {jspb.Message}
89
- * @constructor
90
- */
91
- proto.NotificationEmployeeItem = function(opt_data) {
92
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
93
- };
94
- goog.inherits(proto.NotificationEmployeeItem, jspb.Message);
95
- if (goog.DEBUG && !COMPILED) {
96
- /**
97
- * @public
98
- * @override
99
- */
100
- proto.NotificationEmployeeItem.displayName = 'proto.NotificationEmployeeItem';
101
- }
102
- /**
103
- * Generated by JsPbCodeGenerator.
104
- * @param {Array=} opt_data Optional initial data array, typically from a
105
- * server response, or constructed directly in Javascript. The array is used
106
- * in place and becomes part of the constructed object. It is not cloned.
107
- * If no data is provided, the constructed object will be empty, but still
108
- * valid.
109
- * @extends {jspb.Message}
110
- * @constructor
111
- */
112
- proto.NotificationVendor = function(opt_data) {
113
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
114
- };
115
- goog.inherits(proto.NotificationVendor, jspb.Message);
116
- if (goog.DEBUG && !COMPILED) {
117
- /**
118
- * @public
119
- * @override
120
- */
121
- proto.NotificationVendor.displayName = 'proto.NotificationVendor';
122
- }
123
- /**
124
- * Generated by JsPbCodeGenerator.
125
- * @param {Array=} opt_data Optional initial data array, typically from a
126
- * server response, or constructed directly in Javascript. The array is used
127
- * in place and becomes part of the constructed object. It is not cloned.
128
- * If no data is provided, the constructed object will be empty, but still
129
- * valid.
130
- * @extends {jspb.Message}
131
- * @constructor
132
- */
133
- proto.NotificationVendorItem = function(opt_data) {
134
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
135
- };
136
- goog.inherits(proto.NotificationVendorItem, jspb.Message);
137
- if (goog.DEBUG && !COMPILED) {
138
- /**
139
- * @public
140
- * @override
141
- */
142
- proto.NotificationVendorItem.displayName = 'proto.NotificationVendorItem';
143
- }
144
- /**
145
- * Generated by JsPbCodeGenerator.
146
- * @param {Array=} opt_data Optional initial data array, typically from a
147
- * server response, or constructed directly in Javascript. The array is used
148
- * in place and becomes part of the constructed object. It is not cloned.
149
- * If no data is provided, the constructed object will be empty, but still
150
- * valid.
151
- * @extends {jspb.Message}
152
- * @constructor
153
- */
154
- proto.GetListNotificationEmployeeReq = function(opt_data) {
155
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
156
- };
157
- goog.inherits(proto.GetListNotificationEmployeeReq, jspb.Message);
158
- if (goog.DEBUG && !COMPILED) {
159
- /**
160
- * @public
161
- * @override
162
- */
163
- proto.GetListNotificationEmployeeReq.displayName = 'proto.GetListNotificationEmployeeReq';
164
- }
165
- /**
166
- * Generated by JsPbCodeGenerator.
167
- * @param {Array=} opt_data Optional initial data array, typically from a
168
- * server response, or constructed directly in Javascript. The array is used
169
- * in place and becomes part of the constructed object. It is not cloned.
170
- * If no data is provided, the constructed object will be empty, but still
171
- * valid.
172
- * @extends {jspb.Message}
173
- * @constructor
174
- */
175
- proto.GetListNotificationVendorReq = function(opt_data) {
176
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
177
- };
178
- goog.inherits(proto.GetListNotificationVendorReq, jspb.Message);
179
- if (goog.DEBUG && !COMPILED) {
180
- /**
181
- * @public
182
- * @override
183
- */
184
- proto.GetListNotificationVendorReq.displayName = 'proto.GetListNotificationVendorReq';
185
- }
186
- /**
187
- * Generated by JsPbCodeGenerator.
188
- * @param {Array=} opt_data Optional initial data array, typically from a
189
- * server response, or constructed directly in Javascript. The array is used
190
- * in place and becomes part of the constructed object. It is not cloned.
191
- * If no data is provided, the constructed object will be empty, but still
192
- * valid.
193
- * @extends {jspb.Message}
194
- * @constructor
195
- */
196
- proto.GetListNotificationEmployeeRes = function(opt_data) {
197
- jspb.Message.initialize(this, opt_data, 0, -1, proto.GetListNotificationEmployeeRes.repeatedFields_, null);
198
- };
199
- goog.inherits(proto.GetListNotificationEmployeeRes, jspb.Message);
200
- if (goog.DEBUG && !COMPILED) {
201
- /**
202
- * @public
203
- * @override
204
- */
205
- proto.GetListNotificationEmployeeRes.displayName = 'proto.GetListNotificationEmployeeRes';
206
- }
207
- /**
208
- * Generated by JsPbCodeGenerator.
209
- * @param {Array=} opt_data Optional initial data array, typically from a
210
- * server response, or constructed directly in Javascript. The array is used
211
- * in place and becomes part of the constructed object. It is not cloned.
212
- * If no data is provided, the constructed object will be empty, but still
213
- * valid.
214
- * @extends {jspb.Message}
215
- * @constructor
216
- */
217
- proto.GetListNotificationVendorRes = function(opt_data) {
218
- jspb.Message.initialize(this, opt_data, 0, -1, proto.GetListNotificationVendorRes.repeatedFields_, null);
219
- };
220
- goog.inherits(proto.GetListNotificationVendorRes, jspb.Message);
221
- if (goog.DEBUG && !COMPILED) {
222
- /**
223
- * @public
224
- * @override
225
- */
226
- proto.GetListNotificationVendorRes.displayName = 'proto.GetListNotificationVendorRes';
227
- }
228
- /**
229
- * Generated by JsPbCodeGenerator.
230
- * @param {Array=} opt_data Optional initial data array, typically from a
231
- * server response, or constructed directly in Javascript. The array is used
232
- * in place and becomes part of the constructed object. It is not cloned.
233
- * If no data is provided, the constructed object will be empty, but still
234
- * valid.
235
- * @extends {jspb.Message}
236
- * @constructor
237
- */
238
- proto.CreateNotificationReq = function(opt_data) {
239
- jspb.Message.initialize(this, opt_data, 0, -1, proto.CreateNotificationReq.repeatedFields_, null);
240
- };
241
- goog.inherits(proto.CreateNotificationReq, jspb.Message);
242
- if (goog.DEBUG && !COMPILED) {
243
- /**
244
- * @public
245
- * @override
246
- */
247
- proto.CreateNotificationReq.displayName = 'proto.CreateNotificationReq';
248
- }
249
- /**
250
- * Generated by JsPbCodeGenerator.
251
- * @param {Array=} opt_data Optional initial data array, typically from a
252
- * server response, or constructed directly in Javascript. The array is used
253
- * in place and becomes part of the constructed object. It is not cloned.
254
- * If no data is provided, the constructed object will be empty, but still
255
- * valid.
256
- * @extends {jspb.Message}
257
- * @constructor
258
- */
259
- proto.CreateNotificationRes = function(opt_data) {
260
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
261
- };
262
- goog.inherits(proto.CreateNotificationRes, jspb.Message);
263
- if (goog.DEBUG && !COMPILED) {
264
- /**
265
- * @public
266
- * @override
267
- */
268
- proto.CreateNotificationRes.displayName = 'proto.CreateNotificationRes';
269
- }
270
- /**
271
- * Generated by JsPbCodeGenerator.
272
- * @param {Array=} opt_data Optional initial data array, typically from a
273
- * server response, or constructed directly in Javascript. The array is used
274
- * in place and becomes part of the constructed object. It is not cloned.
275
- * If no data is provided, the constructed object will be empty, but still
276
- * valid.
277
- * @extends {jspb.Message}
278
- * @constructor
279
- */
280
- proto.ReferenceIds = function(opt_data) {
281
- jspb.Message.initialize(this, opt_data, 0, -1, proto.ReferenceIds.repeatedFields_, null);
282
- };
283
- goog.inherits(proto.ReferenceIds, jspb.Message);
284
- if (goog.DEBUG && !COMPILED) {
285
- /**
286
- * @public
287
- * @override
288
- */
289
- proto.ReferenceIds.displayName = 'proto.ReferenceIds';
290
- }
291
- /**
292
- * Generated by JsPbCodeGenerator.
293
- * @param {Array=} opt_data Optional initial data array, typically from a
294
- * server response, or constructed directly in Javascript. The array is used
295
- * in place and becomes part of the constructed object. It is not cloned.
296
- * If no data is provided, the constructed object will be empty, but still
297
- * valid.
298
- * @extends {jspb.Message}
299
- * @constructor
300
- */
301
- proto.EmptyMessage = function(opt_data) {
302
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
303
- };
304
- goog.inherits(proto.EmptyMessage, jspb.Message);
305
- if (goog.DEBUG && !COMPILED) {
306
- /**
307
- * @public
308
- * @override
309
- */
310
- proto.EmptyMessage.displayName = 'proto.EmptyMessage';
311
- }
312
- /**
313
- * Generated by JsPbCodeGenerator.
314
- * @param {Array=} opt_data Optional initial data array, typically from a
315
- * server response, or constructed directly in Javascript. The array is used
316
- * in place and becomes part of the constructed object. It is not cloned.
317
- * If no data is provided, the constructed object will be empty, but still
318
- * valid.
319
- * @extends {jspb.Message}
320
- * @constructor
321
- */
322
- proto.ReferenceId = function(opt_data) {
323
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
324
- };
325
- goog.inherits(proto.ReferenceId, jspb.Message);
326
- if (goog.DEBUG && !COMPILED) {
327
- /**
328
- * @public
329
- * @override
330
- */
331
- proto.ReferenceId.displayName = 'proto.ReferenceId';
332
- }
333
- /**
334
- * Generated by JsPbCodeGenerator.
335
- * @param {Array=} opt_data Optional initial data array, typically from a
336
- * server response, or constructed directly in Javascript. The array is used
337
- * in place and becomes part of the constructed object. It is not cloned.
338
- * If no data is provided, the constructed object will be empty, but still
339
- * valid.
340
- * @extends {jspb.Message}
341
- * @constructor
342
- */
343
- proto.DeleteNotificationEmployeeReq = function(opt_data) {
344
- jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteNotificationEmployeeReq.repeatedFields_, null);
345
- };
346
- goog.inherits(proto.DeleteNotificationEmployeeReq, jspb.Message);
347
- if (goog.DEBUG && !COMPILED) {
348
- /**
349
- * @public
350
- * @override
351
- */
352
- proto.DeleteNotificationEmployeeReq.displayName = 'proto.DeleteNotificationEmployeeReq';
353
- }
354
- /**
355
- * Generated by JsPbCodeGenerator.
356
- * @param {Array=} opt_data Optional initial data array, typically from a
357
- * server response, or constructed directly in Javascript. The array is used
358
- * in place and becomes part of the constructed object. It is not cloned.
359
- * If no data is provided, the constructed object will be empty, but still
360
- * valid.
361
- * @extends {jspb.Message}
362
- * @constructor
363
- */
364
- proto.DeleteNotificationEmployeeRes = function(opt_data) {
365
- jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteNotificationEmployeeRes.repeatedFields_, null);
366
- };
367
- goog.inherits(proto.DeleteNotificationEmployeeRes, jspb.Message);
368
- if (goog.DEBUG && !COMPILED) {
369
- /**
370
- * @public
371
- * @override
372
- */
373
- proto.DeleteNotificationEmployeeRes.displayName = 'proto.DeleteNotificationEmployeeRes';
374
- }
375
- /**
376
- * Generated by JsPbCodeGenerator.
377
- * @param {Array=} opt_data Optional initial data array, typically from a
378
- * server response, or constructed directly in Javascript. The array is used
379
- * in place and becomes part of the constructed object. It is not cloned.
380
- * If no data is provided, the constructed object will be empty, but still
381
- * valid.
382
- * @extends {jspb.Message}
383
- * @constructor
384
- */
385
- proto.DeleteNotificationVendorReq = function(opt_data) {
386
- jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteNotificationVendorReq.repeatedFields_, null);
387
- };
388
- goog.inherits(proto.DeleteNotificationVendorReq, jspb.Message);
389
- if (goog.DEBUG && !COMPILED) {
390
- /**
391
- * @public
392
- * @override
393
- */
394
- proto.DeleteNotificationVendorReq.displayName = 'proto.DeleteNotificationVendorReq';
395
- }
396
- /**
397
- * Generated by JsPbCodeGenerator.
398
- * @param {Array=} opt_data Optional initial data array, typically from a
399
- * server response, or constructed directly in Javascript. The array is used
400
- * in place and becomes part of the constructed object. It is not cloned.
401
- * If no data is provided, the constructed object will be empty, but still
402
- * valid.
403
- * @extends {jspb.Message}
404
- * @constructor
405
- */
406
- proto.DeleteNotificationVendorRes = function(opt_data) {
407
- jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteNotificationVendorRes.repeatedFields_, null);
408
- };
409
- goog.inherits(proto.DeleteNotificationVendorRes, jspb.Message);
410
- if (goog.DEBUG && !COMPILED) {
411
- /**
412
- * @public
413
- * @override
414
- */
415
- proto.DeleteNotificationVendorRes.displayName = 'proto.DeleteNotificationVendorRes';
416
- }
417
- /**
418
- * Generated by JsPbCodeGenerator.
419
- * @param {Array=} opt_data Optional initial data array, typically from a
420
- * server response, or constructed directly in Javascript. The array is used
421
- * in place and becomes part of the constructed object. It is not cloned.
422
- * If no data is provided, the constructed object will be empty, but still
423
- * valid.
424
- * @extends {jspb.Message}
425
- * @constructor
426
- */
427
- proto.CountUnreadNotificationRes = function(opt_data) {
428
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
429
- };
430
- goog.inherits(proto.CountUnreadNotificationRes, jspb.Message);
431
- if (goog.DEBUG && !COMPILED) {
432
- /**
433
- * @public
434
- * @override
435
- */
436
- proto.CountUnreadNotificationRes.displayName = 'proto.CountUnreadNotificationRes';
437
- }
438
-
439
- /**
440
- * List of repeated fields within this message type.
441
- * @private {!Array<number>}
442
- * @const
443
- */
444
- proto.Notification.repeatedFields_ = [9];
445
-
446
-
447
-
448
- if (jspb.Message.GENERATE_TO_OBJECT) {
449
- /**
450
- * Creates an object representation of this proto.
451
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
452
- * Optional fields that are not set will be set to undefined.
453
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
454
- * For the list of reserved names please see:
455
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
456
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
457
- * JSPB instance for transitional soy proto support:
458
- * http://goto/soy-param-migration
459
- * @return {!Object}
460
- */
461
- proto.Notification.prototype.toObject = function(opt_includeInstance) {
462
- return proto.Notification.toObject(opt_includeInstance, this);
463
- };
464
-
465
-
466
- /**
467
- * Static version of the {@see toObject} method.
468
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
469
- * the JSPB instance for transitional soy proto support:
470
- * http://goto/soy-param-migration
471
- * @param {!proto.Notification} msg The msg instance to transform.
472
- * @return {!Object}
473
- * @suppress {unusedLocalVariables} f is only used for nested messages
474
- */
475
- proto.Notification.toObject = function(includeInstance, msg) {
476
- var f, obj = {
477
- referenceId: jspb.Message.getFieldWithDefault(msg, 1, ""),
478
- message: jspb.Message.getFieldWithDefault(msg, 2, ""),
479
- type: jspb.Message.getFieldWithDefault(msg, 3, ""),
480
- companyReferenceId: jspb.Message.getFieldWithDefault(msg, 4, ""),
481
- documentType: jspb.Message.getFieldWithDefault(msg, 5, ""),
482
- documentReferenceId: jspb.Message.getFieldWithDefault(msg, 6, ""),
483
- createdBy: jspb.Message.getFieldWithDefault(msg, 7, ""),
484
- createdAt: jspb.Message.getFieldWithDefault(msg, 8, ""),
485
- receiversList: jspb.Message.toObjectList(msg.getReceiversList(),
486
- proto.NotificationEmployee.toObject, includeInstance)
487
- };
488
-
489
- if (includeInstance) {
490
- obj.$jspbMessageInstance = msg;
491
- }
492
- return obj;
493
- };
494
- }
495
-
496
-
497
- /**
498
- * Deserializes binary data (in protobuf wire format).
499
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
500
- * @return {!proto.Notification}
501
- */
502
- proto.Notification.deserializeBinary = function(bytes) {
503
- var reader = new jspb.BinaryReader(bytes);
504
- var msg = new proto.Notification;
505
- return proto.Notification.deserializeBinaryFromReader(msg, reader);
506
- };
507
-
508
-
509
- /**
510
- * Deserializes binary data (in protobuf wire format) from the
511
- * given reader into the given message object.
512
- * @param {!proto.Notification} msg The message object to deserialize into.
513
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
514
- * @return {!proto.Notification}
515
- */
516
- proto.Notification.deserializeBinaryFromReader = function(msg, reader) {
517
- while (reader.nextField()) {
518
- if (reader.isEndGroup()) {
519
- break;
520
- }
521
- var field = reader.getFieldNumber();
522
- switch (field) {
523
- case 1:
524
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
525
- msg.setReferenceId(value);
526
- break;
527
- case 2:
528
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
529
- msg.setMessage(value);
530
- break;
531
- case 3:
532
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
533
- msg.setType(value);
534
- break;
535
- case 4:
536
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
537
- msg.setCompanyReferenceId(value);
538
- break;
539
- case 5:
540
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
541
- msg.setDocumentType(value);
542
- break;
543
- case 6:
544
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
545
- msg.setDocumentReferenceId(value);
546
- break;
547
- case 7:
548
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
549
- msg.setCreatedBy(value);
550
- break;
551
- case 8:
552
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
553
- msg.setCreatedAt(value);
554
- break;
555
- case 9:
556
- var value = new proto.NotificationEmployee;
557
- reader.readMessage(value,proto.NotificationEmployee.deserializeBinaryFromReader);
558
- msg.addReceivers(value);
559
- break;
560
- default:
561
- reader.skipField();
562
- break;
563
- }
564
- }
565
- return msg;
566
- };
567
-
568
-
569
- /**
570
- * Serializes the message to binary data (in protobuf wire format).
571
- * @return {!Uint8Array}
572
- */
573
- proto.Notification.prototype.serializeBinary = function() {
574
- var writer = new jspb.BinaryWriter();
575
- proto.Notification.serializeBinaryToWriter(this, writer);
576
- return writer.getResultBuffer();
577
- };
578
-
579
-
580
- /**
581
- * Serializes the given message to binary data (in protobuf wire
582
- * format), writing to the given BinaryWriter.
583
- * @param {!proto.Notification} message
584
- * @param {!jspb.BinaryWriter} writer
585
- * @suppress {unusedLocalVariables} f is only used for nested messages
586
- */
587
- proto.Notification.serializeBinaryToWriter = function(message, writer) {
588
- var f = undefined;
589
- f = message.getReferenceId();
590
- if (f.length > 0) {
591
- writer.writeString(
592
- 1,
593
- f
594
- );
595
- }
596
- f = message.getMessage();
597
- if (f.length > 0) {
598
- writer.writeString(
599
- 2,
600
- f
601
- );
602
- }
603
- f = message.getType();
604
- if (f.length > 0) {
605
- writer.writeString(
606
- 3,
607
- f
608
- );
609
- }
610
- f = message.getCompanyReferenceId();
611
- if (f.length > 0) {
612
- writer.writeString(
613
- 4,
614
- f
615
- );
616
- }
617
- f = message.getDocumentType();
618
- if (f.length > 0) {
619
- writer.writeString(
620
- 5,
621
- f
622
- );
623
- }
624
- f = message.getDocumentReferenceId();
625
- if (f.length > 0) {
626
- writer.writeString(
627
- 6,
628
- f
629
- );
630
- }
631
- f = message.getCreatedBy();
632
- if (f.length > 0) {
633
- writer.writeString(
634
- 7,
635
- f
636
- );
637
- }
638
- f = message.getCreatedAt();
639
- if (f.length > 0) {
640
- writer.writeString(
641
- 8,
642
- f
643
- );
644
- }
645
- f = message.getReceiversList();
646
- if (f.length > 0) {
647
- writer.writeRepeatedMessage(
648
- 9,
649
- f,
650
- proto.NotificationEmployee.serializeBinaryToWriter
651
- );
652
- }
653
- };
654
-
655
-
656
- /**
657
- * optional string reference_id = 1;
658
- * @return {string}
659
- */
660
- proto.Notification.prototype.getReferenceId = function() {
661
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
662
- };
663
-
664
-
665
- /**
666
- * @param {string} value
667
- * @return {!proto.Notification} returns this
668
- */
669
- proto.Notification.prototype.setReferenceId = function(value) {
670
- return jspb.Message.setProto3StringField(this, 1, value);
671
- };
672
-
673
-
674
- /**
675
- * optional string message = 2;
676
- * @return {string}
677
- */
678
- proto.Notification.prototype.getMessage = function() {
679
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
680
- };
681
-
682
-
683
- /**
684
- * @param {string} value
685
- * @return {!proto.Notification} returns this
686
- */
687
- proto.Notification.prototype.setMessage = function(value) {
688
- return jspb.Message.setProto3StringField(this, 2, value);
689
- };
690
-
691
-
692
- /**
693
- * optional string type = 3;
694
- * @return {string}
695
- */
696
- proto.Notification.prototype.getType = function() {
697
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
698
- };
699
-
700
-
701
- /**
702
- * @param {string} value
703
- * @return {!proto.Notification} returns this
704
- */
705
- proto.Notification.prototype.setType = function(value) {
706
- return jspb.Message.setProto3StringField(this, 3, value);
707
- };
708
-
709
-
710
- /**
711
- * optional string company_reference_id = 4;
712
- * @return {string}
713
- */
714
- proto.Notification.prototype.getCompanyReferenceId = function() {
715
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
716
- };
717
-
718
-
719
- /**
720
- * @param {string} value
721
- * @return {!proto.Notification} returns this
722
- */
723
- proto.Notification.prototype.setCompanyReferenceId = function(value) {
724
- return jspb.Message.setProto3StringField(this, 4, value);
725
- };
726
-
727
-
728
- /**
729
- * optional string document_type = 5;
730
- * @return {string}
731
- */
732
- proto.Notification.prototype.getDocumentType = function() {
733
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
734
- };
735
-
736
-
737
- /**
738
- * @param {string} value
739
- * @return {!proto.Notification} returns this
740
- */
741
- proto.Notification.prototype.setDocumentType = function(value) {
742
- return jspb.Message.setProto3StringField(this, 5, value);
743
- };
744
-
745
-
746
- /**
747
- * optional string document_reference_id = 6;
748
- * @return {string}
749
- */
750
- proto.Notification.prototype.getDocumentReferenceId = function() {
751
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
752
- };
753
-
754
-
755
- /**
756
- * @param {string} value
757
- * @return {!proto.Notification} returns this
758
- */
759
- proto.Notification.prototype.setDocumentReferenceId = function(value) {
760
- return jspb.Message.setProto3StringField(this, 6, value);
761
- };
762
-
763
-
764
- /**
765
- * optional string created_by = 7;
766
- * @return {string}
767
- */
768
- proto.Notification.prototype.getCreatedBy = function() {
769
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
770
- };
771
-
772
-
773
- /**
774
- * @param {string} value
775
- * @return {!proto.Notification} returns this
776
- */
777
- proto.Notification.prototype.setCreatedBy = function(value) {
778
- return jspb.Message.setProto3StringField(this, 7, value);
779
- };
780
-
781
-
782
- /**
783
- * optional string created_at = 8;
784
- * @return {string}
785
- */
786
- proto.Notification.prototype.getCreatedAt = function() {
787
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
788
- };
789
-
790
-
791
- /**
792
- * @param {string} value
793
- * @return {!proto.Notification} returns this
794
- */
795
- proto.Notification.prototype.setCreatedAt = function(value) {
796
- return jspb.Message.setProto3StringField(this, 8, value);
797
- };
798
-
799
-
800
- /**
801
- * repeated NotificationEmployee receivers = 9;
802
- * @return {!Array<!proto.NotificationEmployee>}
803
- */
804
- proto.Notification.prototype.getReceiversList = function() {
805
- return /** @type{!Array<!proto.NotificationEmployee>} */ (
806
- jspb.Message.getRepeatedWrapperField(this, proto.NotificationEmployee, 9));
807
- };
808
-
809
-
810
- /**
811
- * @param {!Array<!proto.NotificationEmployee>} value
812
- * @return {!proto.Notification} returns this
813
- */
814
- proto.Notification.prototype.setReceiversList = function(value) {
815
- return jspb.Message.setRepeatedWrapperField(this, 9, value);
816
- };
817
-
818
-
819
- /**
820
- * @param {!proto.NotificationEmployee=} opt_value
821
- * @param {number=} opt_index
822
- * @return {!proto.NotificationEmployee}
823
- */
824
- proto.Notification.prototype.addReceivers = function(opt_value, opt_index) {
825
- return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.NotificationEmployee, opt_index);
826
- };
827
-
828
-
829
- /**
830
- * Clears the list making it empty but non-null.
831
- * @return {!proto.Notification} returns this
832
- */
833
- proto.Notification.prototype.clearReceiversList = function() {
834
- return this.setReceiversList([]);
835
- };
836
-
837
-
838
-
839
-
840
-
841
- if (jspb.Message.GENERATE_TO_OBJECT) {
842
- /**
843
- * Creates an object representation of this proto.
844
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
845
- * Optional fields that are not set will be set to undefined.
846
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
847
- * For the list of reserved names please see:
848
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
849
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
850
- * JSPB instance for transitional soy proto support:
851
- * http://goto/soy-param-migration
852
- * @return {!Object}
853
- */
854
- proto.NotificationEmployee.prototype.toObject = function(opt_includeInstance) {
855
- return proto.NotificationEmployee.toObject(opt_includeInstance, this);
856
- };
857
-
858
-
859
- /**
860
- * Static version of the {@see toObject} method.
861
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
862
- * the JSPB instance for transitional soy proto support:
863
- * http://goto/soy-param-migration
864
- * @param {!proto.NotificationEmployee} msg The msg instance to transform.
865
- * @return {!Object}
866
- * @suppress {unusedLocalVariables} f is only used for nested messages
867
- */
868
- proto.NotificationEmployee.toObject = function(includeInstance, msg) {
869
- var f, obj = {
870
- referenceId: jspb.Message.getFieldWithDefault(msg, 1, ""),
871
- isRead: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
872
- createdBy: jspb.Message.getFieldWithDefault(msg, 3, ""),
873
- createdAt: jspb.Message.getFieldWithDefault(msg, 4, ""),
874
- updatedAt: jspb.Message.getFieldWithDefault(msg, 5, "")
875
- };
876
-
877
- if (includeInstance) {
878
- obj.$jspbMessageInstance = msg;
879
- }
880
- return obj;
881
- };
882
- }
883
-
884
-
885
- /**
886
- * Deserializes binary data (in protobuf wire format).
887
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
888
- * @return {!proto.NotificationEmployee}
889
- */
890
- proto.NotificationEmployee.deserializeBinary = function(bytes) {
891
- var reader = new jspb.BinaryReader(bytes);
892
- var msg = new proto.NotificationEmployee;
893
- return proto.NotificationEmployee.deserializeBinaryFromReader(msg, reader);
894
- };
895
-
896
-
897
- /**
898
- * Deserializes binary data (in protobuf wire format) from the
899
- * given reader into the given message object.
900
- * @param {!proto.NotificationEmployee} msg The message object to deserialize into.
901
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
902
- * @return {!proto.NotificationEmployee}
903
- */
904
- proto.NotificationEmployee.deserializeBinaryFromReader = function(msg, reader) {
905
- while (reader.nextField()) {
906
- if (reader.isEndGroup()) {
907
- break;
908
- }
909
- var field = reader.getFieldNumber();
910
- switch (field) {
911
- case 1:
912
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
913
- msg.setReferenceId(value);
914
- break;
915
- case 2:
916
- var value = /** @type {boolean} */ (reader.readBool());
917
- msg.setIsRead(value);
918
- break;
919
- case 3:
920
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
921
- msg.setCreatedBy(value);
922
- break;
923
- case 4:
924
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
925
- msg.setCreatedAt(value);
926
- break;
927
- case 5:
928
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
929
- msg.setUpdatedAt(value);
930
- break;
931
- default:
932
- reader.skipField();
933
- break;
934
- }
935
- }
936
- return msg;
937
- };
938
-
939
-
940
- /**
941
- * Serializes the message to binary data (in protobuf wire format).
942
- * @return {!Uint8Array}
943
- */
944
- proto.NotificationEmployee.prototype.serializeBinary = function() {
945
- var writer = new jspb.BinaryWriter();
946
- proto.NotificationEmployee.serializeBinaryToWriter(this, writer);
947
- return writer.getResultBuffer();
948
- };
949
-
950
-
951
- /**
952
- * Serializes the given message to binary data (in protobuf wire
953
- * format), writing to the given BinaryWriter.
954
- * @param {!proto.NotificationEmployee} message
955
- * @param {!jspb.BinaryWriter} writer
956
- * @suppress {unusedLocalVariables} f is only used for nested messages
957
- */
958
- proto.NotificationEmployee.serializeBinaryToWriter = function(message, writer) {
959
- var f = undefined;
960
- f = message.getReferenceId();
961
- if (f.length > 0) {
962
- writer.writeString(
963
- 1,
964
- f
965
- );
966
- }
967
- f = message.getIsRead();
968
- if (f) {
969
- writer.writeBool(
970
- 2,
971
- f
972
- );
973
- }
974
- f = message.getCreatedBy();
975
- if (f.length > 0) {
976
- writer.writeString(
977
- 3,
978
- f
979
- );
980
- }
981
- f = message.getCreatedAt();
982
- if (f.length > 0) {
983
- writer.writeString(
984
- 4,
985
- f
986
- );
987
- }
988
- f = message.getUpdatedAt();
989
- if (f.length > 0) {
990
- writer.writeString(
991
- 5,
992
- f
993
- );
994
- }
995
- };
996
-
997
-
998
- /**
999
- * optional string reference_id = 1;
1000
- * @return {string}
1001
- */
1002
- proto.NotificationEmployee.prototype.getReferenceId = function() {
1003
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1004
- };
1005
-
1006
-
1007
- /**
1008
- * @param {string} value
1009
- * @return {!proto.NotificationEmployee} returns this
1010
- */
1011
- proto.NotificationEmployee.prototype.setReferenceId = function(value) {
1012
- return jspb.Message.setProto3StringField(this, 1, value);
1013
- };
1014
-
1015
-
1016
- /**
1017
- * optional bool is_read = 2;
1018
- * @return {boolean}
1019
- */
1020
- proto.NotificationEmployee.prototype.getIsRead = function() {
1021
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
1022
- };
1023
-
1024
-
1025
- /**
1026
- * @param {boolean} value
1027
- * @return {!proto.NotificationEmployee} returns this
1028
- */
1029
- proto.NotificationEmployee.prototype.setIsRead = function(value) {
1030
- return jspb.Message.setProto3BooleanField(this, 2, value);
1031
- };
1032
-
1033
-
1034
- /**
1035
- * optional string created_by = 3;
1036
- * @return {string}
1037
- */
1038
- proto.NotificationEmployee.prototype.getCreatedBy = function() {
1039
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1040
- };
1041
-
1042
-
1043
- /**
1044
- * @param {string} value
1045
- * @return {!proto.NotificationEmployee} returns this
1046
- */
1047
- proto.NotificationEmployee.prototype.setCreatedBy = function(value) {
1048
- return jspb.Message.setProto3StringField(this, 3, value);
1049
- };
1050
-
1051
-
1052
- /**
1053
- * optional string created_at = 4;
1054
- * @return {string}
1055
- */
1056
- proto.NotificationEmployee.prototype.getCreatedAt = function() {
1057
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1058
- };
1059
-
1060
-
1061
- /**
1062
- * @param {string} value
1063
- * @return {!proto.NotificationEmployee} returns this
1064
- */
1065
- proto.NotificationEmployee.prototype.setCreatedAt = function(value) {
1066
- return jspb.Message.setProto3StringField(this, 4, value);
1067
- };
1068
-
1069
-
1070
- /**
1071
- * optional string updated_at = 5;
1072
- * @return {string}
1073
- */
1074
- proto.NotificationEmployee.prototype.getUpdatedAt = function() {
1075
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1076
- };
1077
-
1078
-
1079
- /**
1080
- * @param {string} value
1081
- * @return {!proto.NotificationEmployee} returns this
1082
- */
1083
- proto.NotificationEmployee.prototype.setUpdatedAt = function(value) {
1084
- return jspb.Message.setProto3StringField(this, 5, value);
1085
- };
1086
-
1087
-
1088
-
1089
-
1090
-
1091
- if (jspb.Message.GENERATE_TO_OBJECT) {
1092
- /**
1093
- * Creates an object representation of this proto.
1094
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1095
- * Optional fields that are not set will be set to undefined.
1096
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1097
- * For the list of reserved names please see:
1098
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1099
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1100
- * JSPB instance for transitional soy proto support:
1101
- * http://goto/soy-param-migration
1102
- * @return {!Object}
1103
- */
1104
- proto.NotificationEmployeeItem.prototype.toObject = function(opt_includeInstance) {
1105
- return proto.NotificationEmployeeItem.toObject(opt_includeInstance, this);
1106
- };
1107
-
1108
-
1109
- /**
1110
- * Static version of the {@see toObject} method.
1111
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1112
- * the JSPB instance for transitional soy proto support:
1113
- * http://goto/soy-param-migration
1114
- * @param {!proto.NotificationEmployeeItem} msg The msg instance to transform.
1115
- * @return {!Object}
1116
- * @suppress {unusedLocalVariables} f is only used for nested messages
1117
- */
1118
- proto.NotificationEmployeeItem.toObject = function(includeInstance, msg) {
1119
- var f, obj = {
1120
- referenceId: jspb.Message.getFieldWithDefault(msg, 1, ""),
1121
- employeeReferenceId: jspb.Message.getFieldWithDefault(msg, 2, ""),
1122
- companyReferenceId: jspb.Message.getFieldWithDefault(msg, 3, ""),
1123
- message: jspb.Message.getFieldWithDefault(msg, 4, ""),
1124
- type: jspb.Message.getFieldWithDefault(msg, 5, ""),
1125
- isRead: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
1126
- documentType: jspb.Message.getFieldWithDefault(msg, 7, ""),
1127
- documentReferenceId: jspb.Message.getFieldWithDefault(msg, 8, ""),
1128
- createdBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
1129
- createdAt: jspb.Message.getFieldWithDefault(msg, 10, ""),
1130
- updatedAt: jspb.Message.getFieldWithDefault(msg, 11, "")
1131
- };
1132
-
1133
- if (includeInstance) {
1134
- obj.$jspbMessageInstance = msg;
1135
- }
1136
- return obj;
1137
- };
1138
- }
1139
-
1140
-
1141
- /**
1142
- * Deserializes binary data (in protobuf wire format).
1143
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1144
- * @return {!proto.NotificationEmployeeItem}
1145
- */
1146
- proto.NotificationEmployeeItem.deserializeBinary = function(bytes) {
1147
- var reader = new jspb.BinaryReader(bytes);
1148
- var msg = new proto.NotificationEmployeeItem;
1149
- return proto.NotificationEmployeeItem.deserializeBinaryFromReader(msg, reader);
1150
- };
1151
-
1152
-
1153
- /**
1154
- * Deserializes binary data (in protobuf wire format) from the
1155
- * given reader into the given message object.
1156
- * @param {!proto.NotificationEmployeeItem} msg The message object to deserialize into.
1157
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1158
- * @return {!proto.NotificationEmployeeItem}
1159
- */
1160
- proto.NotificationEmployeeItem.deserializeBinaryFromReader = function(msg, reader) {
1161
- while (reader.nextField()) {
1162
- if (reader.isEndGroup()) {
1163
- break;
1164
- }
1165
- var field = reader.getFieldNumber();
1166
- switch (field) {
1167
- case 1:
1168
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1169
- msg.setReferenceId(value);
1170
- break;
1171
- case 2:
1172
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1173
- msg.setEmployeeReferenceId(value);
1174
- break;
1175
- case 3:
1176
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1177
- msg.setCompanyReferenceId(value);
1178
- break;
1179
- case 4:
1180
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1181
- msg.setMessage(value);
1182
- break;
1183
- case 5:
1184
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1185
- msg.setType(value);
1186
- break;
1187
- case 6:
1188
- var value = /** @type {boolean} */ (reader.readBool());
1189
- msg.setIsRead(value);
1190
- break;
1191
- case 7:
1192
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1193
- msg.setDocumentType(value);
1194
- break;
1195
- case 8:
1196
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1197
- msg.setDocumentReferenceId(value);
1198
- break;
1199
- case 9:
1200
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1201
- msg.setCreatedBy(value);
1202
- break;
1203
- case 10:
1204
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1205
- msg.setCreatedAt(value);
1206
- break;
1207
- case 11:
1208
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1209
- msg.setUpdatedAt(value);
1210
- break;
1211
- default:
1212
- reader.skipField();
1213
- break;
1214
- }
1215
- }
1216
- return msg;
1217
- };
1218
-
1219
-
1220
- /**
1221
- * Serializes the message to binary data (in protobuf wire format).
1222
- * @return {!Uint8Array}
1223
- */
1224
- proto.NotificationEmployeeItem.prototype.serializeBinary = function() {
1225
- var writer = new jspb.BinaryWriter();
1226
- proto.NotificationEmployeeItem.serializeBinaryToWriter(this, writer);
1227
- return writer.getResultBuffer();
1228
- };
1229
-
1230
-
1231
- /**
1232
- * Serializes the given message to binary data (in protobuf wire
1233
- * format), writing to the given BinaryWriter.
1234
- * @param {!proto.NotificationEmployeeItem} message
1235
- * @param {!jspb.BinaryWriter} writer
1236
- * @suppress {unusedLocalVariables} f is only used for nested messages
1237
- */
1238
- proto.NotificationEmployeeItem.serializeBinaryToWriter = function(message, writer) {
1239
- var f = undefined;
1240
- f = message.getReferenceId();
1241
- if (f.length > 0) {
1242
- writer.writeString(
1243
- 1,
1244
- f
1245
- );
1246
- }
1247
- f = message.getEmployeeReferenceId();
1248
- if (f.length > 0) {
1249
- writer.writeString(
1250
- 2,
1251
- f
1252
- );
1253
- }
1254
- f = message.getCompanyReferenceId();
1255
- if (f.length > 0) {
1256
- writer.writeString(
1257
- 3,
1258
- f
1259
- );
1260
- }
1261
- f = message.getMessage();
1262
- if (f.length > 0) {
1263
- writer.writeString(
1264
- 4,
1265
- f
1266
- );
1267
- }
1268
- f = message.getType();
1269
- if (f.length > 0) {
1270
- writer.writeString(
1271
- 5,
1272
- f
1273
- );
1274
- }
1275
- f = message.getIsRead();
1276
- if (f) {
1277
- writer.writeBool(
1278
- 6,
1279
- f
1280
- );
1281
- }
1282
- f = message.getDocumentType();
1283
- if (f.length > 0) {
1284
- writer.writeString(
1285
- 7,
1286
- f
1287
- );
1288
- }
1289
- f = message.getDocumentReferenceId();
1290
- if (f.length > 0) {
1291
- writer.writeString(
1292
- 8,
1293
- f
1294
- );
1295
- }
1296
- f = message.getCreatedBy();
1297
- if (f.length > 0) {
1298
- writer.writeString(
1299
- 9,
1300
- f
1301
- );
1302
- }
1303
- f = message.getCreatedAt();
1304
- if (f.length > 0) {
1305
- writer.writeString(
1306
- 10,
1307
- f
1308
- );
1309
- }
1310
- f = message.getUpdatedAt();
1311
- if (f.length > 0) {
1312
- writer.writeString(
1313
- 11,
1314
- f
1315
- );
1316
- }
1317
- };
1318
-
1319
-
1320
- /**
1321
- * optional string reference_id = 1;
1322
- * @return {string}
1323
- */
1324
- proto.NotificationEmployeeItem.prototype.getReferenceId = function() {
1325
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1326
- };
1327
-
1328
-
1329
- /**
1330
- * @param {string} value
1331
- * @return {!proto.NotificationEmployeeItem} returns this
1332
- */
1333
- proto.NotificationEmployeeItem.prototype.setReferenceId = function(value) {
1334
- return jspb.Message.setProto3StringField(this, 1, value);
1335
- };
1336
-
1337
-
1338
- /**
1339
- * optional string employee_reference_id = 2;
1340
- * @return {string}
1341
- */
1342
- proto.NotificationEmployeeItem.prototype.getEmployeeReferenceId = function() {
1343
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1344
- };
1345
-
1346
-
1347
- /**
1348
- * @param {string} value
1349
- * @return {!proto.NotificationEmployeeItem} returns this
1350
- */
1351
- proto.NotificationEmployeeItem.prototype.setEmployeeReferenceId = function(value) {
1352
- return jspb.Message.setProto3StringField(this, 2, value);
1353
- };
1354
-
1355
-
1356
- /**
1357
- * optional string company_reference_id = 3;
1358
- * @return {string}
1359
- */
1360
- proto.NotificationEmployeeItem.prototype.getCompanyReferenceId = function() {
1361
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1362
- };
1363
-
1364
-
1365
- /**
1366
- * @param {string} value
1367
- * @return {!proto.NotificationEmployeeItem} returns this
1368
- */
1369
- proto.NotificationEmployeeItem.prototype.setCompanyReferenceId = function(value) {
1370
- return jspb.Message.setProto3StringField(this, 3, value);
1371
- };
1372
-
1373
-
1374
- /**
1375
- * optional string message = 4;
1376
- * @return {string}
1377
- */
1378
- proto.NotificationEmployeeItem.prototype.getMessage = function() {
1379
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1380
- };
1381
-
1382
-
1383
- /**
1384
- * @param {string} value
1385
- * @return {!proto.NotificationEmployeeItem} returns this
1386
- */
1387
- proto.NotificationEmployeeItem.prototype.setMessage = function(value) {
1388
- return jspb.Message.setProto3StringField(this, 4, value);
1389
- };
1390
-
1391
-
1392
- /**
1393
- * optional string type = 5;
1394
- * @return {string}
1395
- */
1396
- proto.NotificationEmployeeItem.prototype.getType = function() {
1397
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1398
- };
1399
-
1400
-
1401
- /**
1402
- * @param {string} value
1403
- * @return {!proto.NotificationEmployeeItem} returns this
1404
- */
1405
- proto.NotificationEmployeeItem.prototype.setType = function(value) {
1406
- return jspb.Message.setProto3StringField(this, 5, value);
1407
- };
1408
-
1409
-
1410
- /**
1411
- * optional bool is_read = 6;
1412
- * @return {boolean}
1413
- */
1414
- proto.NotificationEmployeeItem.prototype.getIsRead = function() {
1415
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
1416
- };
1417
-
1418
-
1419
- /**
1420
- * @param {boolean} value
1421
- * @return {!proto.NotificationEmployeeItem} returns this
1422
- */
1423
- proto.NotificationEmployeeItem.prototype.setIsRead = function(value) {
1424
- return jspb.Message.setProto3BooleanField(this, 6, value);
1425
- };
1426
-
1427
-
1428
- /**
1429
- * optional string document_type = 7;
1430
- * @return {string}
1431
- */
1432
- proto.NotificationEmployeeItem.prototype.getDocumentType = function() {
1433
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
1434
- };
1435
-
1436
-
1437
- /**
1438
- * @param {string} value
1439
- * @return {!proto.NotificationEmployeeItem} returns this
1440
- */
1441
- proto.NotificationEmployeeItem.prototype.setDocumentType = function(value) {
1442
- return jspb.Message.setProto3StringField(this, 7, value);
1443
- };
1444
-
1445
-
1446
- /**
1447
- * optional string document_reference_id = 8;
1448
- * @return {string}
1449
- */
1450
- proto.NotificationEmployeeItem.prototype.getDocumentReferenceId = function() {
1451
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
1452
- };
1453
-
1454
-
1455
- /**
1456
- * @param {string} value
1457
- * @return {!proto.NotificationEmployeeItem} returns this
1458
- */
1459
- proto.NotificationEmployeeItem.prototype.setDocumentReferenceId = function(value) {
1460
- return jspb.Message.setProto3StringField(this, 8, value);
1461
- };
1462
-
1463
-
1464
- /**
1465
- * optional string created_by = 9;
1466
- * @return {string}
1467
- */
1468
- proto.NotificationEmployeeItem.prototype.getCreatedBy = function() {
1469
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
1470
- };
1471
-
1472
-
1473
- /**
1474
- * @param {string} value
1475
- * @return {!proto.NotificationEmployeeItem} returns this
1476
- */
1477
- proto.NotificationEmployeeItem.prototype.setCreatedBy = function(value) {
1478
- return jspb.Message.setProto3StringField(this, 9, value);
1479
- };
1480
-
1481
-
1482
- /**
1483
- * optional string created_at = 10;
1484
- * @return {string}
1485
- */
1486
- proto.NotificationEmployeeItem.prototype.getCreatedAt = function() {
1487
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
1488
- };
1489
-
1490
-
1491
- /**
1492
- * @param {string} value
1493
- * @return {!proto.NotificationEmployeeItem} returns this
1494
- */
1495
- proto.NotificationEmployeeItem.prototype.setCreatedAt = function(value) {
1496
- return jspb.Message.setProto3StringField(this, 10, value);
1497
- };
1498
-
1499
-
1500
- /**
1501
- * optional string updated_at = 11;
1502
- * @return {string}
1503
- */
1504
- proto.NotificationEmployeeItem.prototype.getUpdatedAt = function() {
1505
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
1506
- };
1507
-
1508
-
1509
- /**
1510
- * @param {string} value
1511
- * @return {!proto.NotificationEmployeeItem} returns this
1512
- */
1513
- proto.NotificationEmployeeItem.prototype.setUpdatedAt = function(value) {
1514
- return jspb.Message.setProto3StringField(this, 11, value);
1515
- };
1516
-
1517
-
1518
-
1519
-
1520
-
1521
- if (jspb.Message.GENERATE_TO_OBJECT) {
1522
- /**
1523
- * Creates an object representation of this proto.
1524
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1525
- * Optional fields that are not set will be set to undefined.
1526
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1527
- * For the list of reserved names please see:
1528
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1529
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1530
- * JSPB instance for transitional soy proto support:
1531
- * http://goto/soy-param-migration
1532
- * @return {!Object}
1533
- */
1534
- proto.NotificationVendor.prototype.toObject = function(opt_includeInstance) {
1535
- return proto.NotificationVendor.toObject(opt_includeInstance, this);
1536
- };
1537
-
1538
-
1539
- /**
1540
- * Static version of the {@see toObject} method.
1541
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1542
- * the JSPB instance for transitional soy proto support:
1543
- * http://goto/soy-param-migration
1544
- * @param {!proto.NotificationVendor} msg The msg instance to transform.
1545
- * @return {!Object}
1546
- * @suppress {unusedLocalVariables} f is only used for nested messages
1547
- */
1548
- proto.NotificationVendor.toObject = function(includeInstance, msg) {
1549
- var f, obj = {
1550
- referenceId: jspb.Message.getFieldWithDefault(msg, 1, ""),
1551
- isRead: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
1552
- createdBy: jspb.Message.getFieldWithDefault(msg, 3, ""),
1553
- createdAt: jspb.Message.getFieldWithDefault(msg, 4, ""),
1554
- updatedAt: jspb.Message.getFieldWithDefault(msg, 5, "")
1555
- };
1556
-
1557
- if (includeInstance) {
1558
- obj.$jspbMessageInstance = msg;
1559
- }
1560
- return obj;
1561
- };
1562
- }
1563
-
1564
-
1565
- /**
1566
- * Deserializes binary data (in protobuf wire format).
1567
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1568
- * @return {!proto.NotificationVendor}
1569
- */
1570
- proto.NotificationVendor.deserializeBinary = function(bytes) {
1571
- var reader = new jspb.BinaryReader(bytes);
1572
- var msg = new proto.NotificationVendor;
1573
- return proto.NotificationVendor.deserializeBinaryFromReader(msg, reader);
1574
- };
1575
-
1576
-
1577
- /**
1578
- * Deserializes binary data (in protobuf wire format) from the
1579
- * given reader into the given message object.
1580
- * @param {!proto.NotificationVendor} msg The message object to deserialize into.
1581
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1582
- * @return {!proto.NotificationVendor}
1583
- */
1584
- proto.NotificationVendor.deserializeBinaryFromReader = function(msg, reader) {
1585
- while (reader.nextField()) {
1586
- if (reader.isEndGroup()) {
1587
- break;
1588
- }
1589
- var field = reader.getFieldNumber();
1590
- switch (field) {
1591
- case 1:
1592
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1593
- msg.setReferenceId(value);
1594
- break;
1595
- case 2:
1596
- var value = /** @type {boolean} */ (reader.readBool());
1597
- msg.setIsRead(value);
1598
- break;
1599
- case 3:
1600
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1601
- msg.setCreatedBy(value);
1602
- break;
1603
- case 4:
1604
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1605
- msg.setCreatedAt(value);
1606
- break;
1607
- case 5:
1608
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1609
- msg.setUpdatedAt(value);
1610
- break;
1611
- default:
1612
- reader.skipField();
1613
- break;
1614
- }
1615
- }
1616
- return msg;
1617
- };
1618
-
1619
-
1620
- /**
1621
- * Serializes the message to binary data (in protobuf wire format).
1622
- * @return {!Uint8Array}
1623
- */
1624
- proto.NotificationVendor.prototype.serializeBinary = function() {
1625
- var writer = new jspb.BinaryWriter();
1626
- proto.NotificationVendor.serializeBinaryToWriter(this, writer);
1627
- return writer.getResultBuffer();
1628
- };
1629
-
1630
-
1631
- /**
1632
- * Serializes the given message to binary data (in protobuf wire
1633
- * format), writing to the given BinaryWriter.
1634
- * @param {!proto.NotificationVendor} message
1635
- * @param {!jspb.BinaryWriter} writer
1636
- * @suppress {unusedLocalVariables} f is only used for nested messages
1637
- */
1638
- proto.NotificationVendor.serializeBinaryToWriter = function(message, writer) {
1639
- var f = undefined;
1640
- f = message.getReferenceId();
1641
- if (f.length > 0) {
1642
- writer.writeString(
1643
- 1,
1644
- f
1645
- );
1646
- }
1647
- f = message.getIsRead();
1648
- if (f) {
1649
- writer.writeBool(
1650
- 2,
1651
- f
1652
- );
1653
- }
1654
- f = message.getCreatedBy();
1655
- if (f.length > 0) {
1656
- writer.writeString(
1657
- 3,
1658
- f
1659
- );
1660
- }
1661
- f = message.getCreatedAt();
1662
- if (f.length > 0) {
1663
- writer.writeString(
1664
- 4,
1665
- f
1666
- );
1667
- }
1668
- f = message.getUpdatedAt();
1669
- if (f.length > 0) {
1670
- writer.writeString(
1671
- 5,
1672
- f
1673
- );
1674
- }
1675
- };
1676
-
1677
-
1678
- /**
1679
- * optional string reference_id = 1;
1680
- * @return {string}
1681
- */
1682
- proto.NotificationVendor.prototype.getReferenceId = function() {
1683
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1684
- };
1685
-
1686
-
1687
- /**
1688
- * @param {string} value
1689
- * @return {!proto.NotificationVendor} returns this
1690
- */
1691
- proto.NotificationVendor.prototype.setReferenceId = function(value) {
1692
- return jspb.Message.setProto3StringField(this, 1, value);
1693
- };
1694
-
1695
-
1696
- /**
1697
- * optional bool is_read = 2;
1698
- * @return {boolean}
1699
- */
1700
- proto.NotificationVendor.prototype.getIsRead = function() {
1701
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
1702
- };
1703
-
1704
-
1705
- /**
1706
- * @param {boolean} value
1707
- * @return {!proto.NotificationVendor} returns this
1708
- */
1709
- proto.NotificationVendor.prototype.setIsRead = function(value) {
1710
- return jspb.Message.setProto3BooleanField(this, 2, value);
1711
- };
1712
-
1713
-
1714
- /**
1715
- * optional string created_by = 3;
1716
- * @return {string}
1717
- */
1718
- proto.NotificationVendor.prototype.getCreatedBy = function() {
1719
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1720
- };
1721
-
1722
-
1723
- /**
1724
- * @param {string} value
1725
- * @return {!proto.NotificationVendor} returns this
1726
- */
1727
- proto.NotificationVendor.prototype.setCreatedBy = function(value) {
1728
- return jspb.Message.setProto3StringField(this, 3, value);
1729
- };
1730
-
1731
-
1732
- /**
1733
- * optional string created_at = 4;
1734
- * @return {string}
1735
- */
1736
- proto.NotificationVendor.prototype.getCreatedAt = function() {
1737
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1738
- };
1739
-
1740
-
1741
- /**
1742
- * @param {string} value
1743
- * @return {!proto.NotificationVendor} returns this
1744
- */
1745
- proto.NotificationVendor.prototype.setCreatedAt = function(value) {
1746
- return jspb.Message.setProto3StringField(this, 4, value);
1747
- };
1748
-
1749
-
1750
- /**
1751
- * optional string updated_at = 5;
1752
- * @return {string}
1753
- */
1754
- proto.NotificationVendor.prototype.getUpdatedAt = function() {
1755
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1756
- };
1757
-
1758
-
1759
- /**
1760
- * @param {string} value
1761
- * @return {!proto.NotificationVendor} returns this
1762
- */
1763
- proto.NotificationVendor.prototype.setUpdatedAt = function(value) {
1764
- return jspb.Message.setProto3StringField(this, 5, value);
1765
- };
1766
-
1767
-
1768
-
1769
-
1770
-
1771
- if (jspb.Message.GENERATE_TO_OBJECT) {
1772
- /**
1773
- * Creates an object representation of this proto.
1774
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1775
- * Optional fields that are not set will be set to undefined.
1776
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1777
- * For the list of reserved names please see:
1778
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1779
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1780
- * JSPB instance for transitional soy proto support:
1781
- * http://goto/soy-param-migration
1782
- * @return {!Object}
1783
- */
1784
- proto.NotificationVendorItem.prototype.toObject = function(opt_includeInstance) {
1785
- return proto.NotificationVendorItem.toObject(opt_includeInstance, this);
1786
- };
1787
-
1788
-
1789
- /**
1790
- * Static version of the {@see toObject} method.
1791
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1792
- * the JSPB instance for transitional soy proto support:
1793
- * http://goto/soy-param-migration
1794
- * @param {!proto.NotificationVendorItem} msg The msg instance to transform.
1795
- * @return {!Object}
1796
- * @suppress {unusedLocalVariables} f is only used for nested messages
1797
- */
1798
- proto.NotificationVendorItem.toObject = function(includeInstance, msg) {
1799
- var f, obj = {
1800
- referenceId: jspb.Message.getFieldWithDefault(msg, 1, ""),
1801
- vendorReferenceId: jspb.Message.getFieldWithDefault(msg, 2, ""),
1802
- companyReferenceId: jspb.Message.getFieldWithDefault(msg, 3, ""),
1803
- message: jspb.Message.getFieldWithDefault(msg, 4, ""),
1804
- type: jspb.Message.getFieldWithDefault(msg, 5, ""),
1805
- isRead: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
1806
- documentType: jspb.Message.getFieldWithDefault(msg, 7, ""),
1807
- documentReferenceId: jspb.Message.getFieldWithDefault(msg, 8, ""),
1808
- createdBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
1809
- createdAt: jspb.Message.getFieldWithDefault(msg, 10, ""),
1810
- updatedAt: jspb.Message.getFieldWithDefault(msg, 11, "")
1811
- };
1812
-
1813
- if (includeInstance) {
1814
- obj.$jspbMessageInstance = msg;
1815
- }
1816
- return obj;
1817
- };
1818
- }
1819
-
1820
-
1821
- /**
1822
- * Deserializes binary data (in protobuf wire format).
1823
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1824
- * @return {!proto.NotificationVendorItem}
1825
- */
1826
- proto.NotificationVendorItem.deserializeBinary = function(bytes) {
1827
- var reader = new jspb.BinaryReader(bytes);
1828
- var msg = new proto.NotificationVendorItem;
1829
- return proto.NotificationVendorItem.deserializeBinaryFromReader(msg, reader);
1830
- };
1831
-
1832
-
1833
- /**
1834
- * Deserializes binary data (in protobuf wire format) from the
1835
- * given reader into the given message object.
1836
- * @param {!proto.NotificationVendorItem} msg The message object to deserialize into.
1837
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1838
- * @return {!proto.NotificationVendorItem}
1839
- */
1840
- proto.NotificationVendorItem.deserializeBinaryFromReader = function(msg, reader) {
1841
- while (reader.nextField()) {
1842
- if (reader.isEndGroup()) {
1843
- break;
1844
- }
1845
- var field = reader.getFieldNumber();
1846
- switch (field) {
1847
- case 1:
1848
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1849
- msg.setReferenceId(value);
1850
- break;
1851
- case 2:
1852
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1853
- msg.setVendorReferenceId(value);
1854
- break;
1855
- case 3:
1856
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1857
- msg.setCompanyReferenceId(value);
1858
- break;
1859
- case 4:
1860
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1861
- msg.setMessage(value);
1862
- break;
1863
- case 5:
1864
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1865
- msg.setType(value);
1866
- break;
1867
- case 6:
1868
- var value = /** @type {boolean} */ (reader.readBool());
1869
- msg.setIsRead(value);
1870
- break;
1871
- case 7:
1872
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1873
- msg.setDocumentType(value);
1874
- break;
1875
- case 8:
1876
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1877
- msg.setDocumentReferenceId(value);
1878
- break;
1879
- case 9:
1880
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1881
- msg.setCreatedBy(value);
1882
- break;
1883
- case 10:
1884
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1885
- msg.setCreatedAt(value);
1886
- break;
1887
- case 11:
1888
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
1889
- msg.setUpdatedAt(value);
1890
- break;
1891
- default:
1892
- reader.skipField();
1893
- break;
1894
- }
1895
- }
1896
- return msg;
1897
- };
1898
-
1899
-
1900
- /**
1901
- * Serializes the message to binary data (in protobuf wire format).
1902
- * @return {!Uint8Array}
1903
- */
1904
- proto.NotificationVendorItem.prototype.serializeBinary = function() {
1905
- var writer = new jspb.BinaryWriter();
1906
- proto.NotificationVendorItem.serializeBinaryToWriter(this, writer);
1907
- return writer.getResultBuffer();
1908
- };
1909
-
1910
-
1911
- /**
1912
- * Serializes the given message to binary data (in protobuf wire
1913
- * format), writing to the given BinaryWriter.
1914
- * @param {!proto.NotificationVendorItem} message
1915
- * @param {!jspb.BinaryWriter} writer
1916
- * @suppress {unusedLocalVariables} f is only used for nested messages
1917
- */
1918
- proto.NotificationVendorItem.serializeBinaryToWriter = function(message, writer) {
1919
- var f = undefined;
1920
- f = message.getReferenceId();
1921
- if (f.length > 0) {
1922
- writer.writeString(
1923
- 1,
1924
- f
1925
- );
1926
- }
1927
- f = message.getVendorReferenceId();
1928
- if (f.length > 0) {
1929
- writer.writeString(
1930
- 2,
1931
- f
1932
- );
1933
- }
1934
- f = message.getCompanyReferenceId();
1935
- if (f.length > 0) {
1936
- writer.writeString(
1937
- 3,
1938
- f
1939
- );
1940
- }
1941
- f = message.getMessage();
1942
- if (f.length > 0) {
1943
- writer.writeString(
1944
- 4,
1945
- f
1946
- );
1947
- }
1948
- f = message.getType();
1949
- if (f.length > 0) {
1950
- writer.writeString(
1951
- 5,
1952
- f
1953
- );
1954
- }
1955
- f = message.getIsRead();
1956
- if (f) {
1957
- writer.writeBool(
1958
- 6,
1959
- f
1960
- );
1961
- }
1962
- f = message.getDocumentType();
1963
- if (f.length > 0) {
1964
- writer.writeString(
1965
- 7,
1966
- f
1967
- );
1968
- }
1969
- f = message.getDocumentReferenceId();
1970
- if (f.length > 0) {
1971
- writer.writeString(
1972
- 8,
1973
- f
1974
- );
1975
- }
1976
- f = message.getCreatedBy();
1977
- if (f.length > 0) {
1978
- writer.writeString(
1979
- 9,
1980
- f
1981
- );
1982
- }
1983
- f = message.getCreatedAt();
1984
- if (f.length > 0) {
1985
- writer.writeString(
1986
- 10,
1987
- f
1988
- );
1989
- }
1990
- f = message.getUpdatedAt();
1991
- if (f.length > 0) {
1992
- writer.writeString(
1993
- 11,
1994
- f
1995
- );
1996
- }
1997
- };
1998
-
1999
-
2000
- /**
2001
- * optional string reference_id = 1;
2002
- * @return {string}
2003
- */
2004
- proto.NotificationVendorItem.prototype.getReferenceId = function() {
2005
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2006
- };
2007
-
2008
-
2009
- /**
2010
- * @param {string} value
2011
- * @return {!proto.NotificationVendorItem} returns this
2012
- */
2013
- proto.NotificationVendorItem.prototype.setReferenceId = function(value) {
2014
- return jspb.Message.setProto3StringField(this, 1, value);
2015
- };
2016
-
2017
-
2018
- /**
2019
- * optional string vendor_reference_id = 2;
2020
- * @return {string}
2021
- */
2022
- proto.NotificationVendorItem.prototype.getVendorReferenceId = function() {
2023
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2024
- };
2025
-
2026
-
2027
- /**
2028
- * @param {string} value
2029
- * @return {!proto.NotificationVendorItem} returns this
2030
- */
2031
- proto.NotificationVendorItem.prototype.setVendorReferenceId = function(value) {
2032
- return jspb.Message.setProto3StringField(this, 2, value);
2033
- };
2034
-
2035
-
2036
- /**
2037
- * optional string company_reference_id = 3;
2038
- * @return {string}
2039
- */
2040
- proto.NotificationVendorItem.prototype.getCompanyReferenceId = function() {
2041
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2042
- };
2043
-
2044
-
2045
- /**
2046
- * @param {string} value
2047
- * @return {!proto.NotificationVendorItem} returns this
2048
- */
2049
- proto.NotificationVendorItem.prototype.setCompanyReferenceId = function(value) {
2050
- return jspb.Message.setProto3StringField(this, 3, value);
2051
- };
2052
-
2053
-
2054
- /**
2055
- * optional string message = 4;
2056
- * @return {string}
2057
- */
2058
- proto.NotificationVendorItem.prototype.getMessage = function() {
2059
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2060
- };
2061
-
2062
-
2063
- /**
2064
- * @param {string} value
2065
- * @return {!proto.NotificationVendorItem} returns this
2066
- */
2067
- proto.NotificationVendorItem.prototype.setMessage = function(value) {
2068
- return jspb.Message.setProto3StringField(this, 4, value);
2069
- };
2070
-
2071
-
2072
- /**
2073
- * optional string type = 5;
2074
- * @return {string}
2075
- */
2076
- proto.NotificationVendorItem.prototype.getType = function() {
2077
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
2078
- };
2079
-
2080
-
2081
- /**
2082
- * @param {string} value
2083
- * @return {!proto.NotificationVendorItem} returns this
2084
- */
2085
- proto.NotificationVendorItem.prototype.setType = function(value) {
2086
- return jspb.Message.setProto3StringField(this, 5, value);
2087
- };
2088
-
2089
-
2090
- /**
2091
- * optional bool is_read = 6;
2092
- * @return {boolean}
2093
- */
2094
- proto.NotificationVendorItem.prototype.getIsRead = function() {
2095
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
2096
- };
2097
-
2098
-
2099
- /**
2100
- * @param {boolean} value
2101
- * @return {!proto.NotificationVendorItem} returns this
2102
- */
2103
- proto.NotificationVendorItem.prototype.setIsRead = function(value) {
2104
- return jspb.Message.setProto3BooleanField(this, 6, value);
2105
- };
2106
-
2107
-
2108
- /**
2109
- * optional string document_type = 7;
2110
- * @return {string}
2111
- */
2112
- proto.NotificationVendorItem.prototype.getDocumentType = function() {
2113
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
2114
- };
2115
-
2116
-
2117
- /**
2118
- * @param {string} value
2119
- * @return {!proto.NotificationVendorItem} returns this
2120
- */
2121
- proto.NotificationVendorItem.prototype.setDocumentType = function(value) {
2122
- return jspb.Message.setProto3StringField(this, 7, value);
2123
- };
2124
-
2125
-
2126
- /**
2127
- * optional string document_reference_id = 8;
2128
- * @return {string}
2129
- */
2130
- proto.NotificationVendorItem.prototype.getDocumentReferenceId = function() {
2131
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
2132
- };
2133
-
2134
-
2135
- /**
2136
- * @param {string} value
2137
- * @return {!proto.NotificationVendorItem} returns this
2138
- */
2139
- proto.NotificationVendorItem.prototype.setDocumentReferenceId = function(value) {
2140
- return jspb.Message.setProto3StringField(this, 8, value);
2141
- };
2142
-
2143
-
2144
- /**
2145
- * optional string created_by = 9;
2146
- * @return {string}
2147
- */
2148
- proto.NotificationVendorItem.prototype.getCreatedBy = function() {
2149
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
2150
- };
2151
-
2152
-
2153
- /**
2154
- * @param {string} value
2155
- * @return {!proto.NotificationVendorItem} returns this
2156
- */
2157
- proto.NotificationVendorItem.prototype.setCreatedBy = function(value) {
2158
- return jspb.Message.setProto3StringField(this, 9, value);
2159
- };
2160
-
2161
-
2162
- /**
2163
- * optional string created_at = 10;
2164
- * @return {string}
2165
- */
2166
- proto.NotificationVendorItem.prototype.getCreatedAt = function() {
2167
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
2168
- };
2169
-
2170
-
2171
- /**
2172
- * @param {string} value
2173
- * @return {!proto.NotificationVendorItem} returns this
2174
- */
2175
- proto.NotificationVendorItem.prototype.setCreatedAt = function(value) {
2176
- return jspb.Message.setProto3StringField(this, 10, value);
2177
- };
2178
-
2179
-
2180
- /**
2181
- * optional string updated_at = 11;
2182
- * @return {string}
2183
- */
2184
- proto.NotificationVendorItem.prototype.getUpdatedAt = function() {
2185
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
2186
- };
2187
-
2188
-
2189
- /**
2190
- * @param {string} value
2191
- * @return {!proto.NotificationVendorItem} returns this
2192
- */
2193
- proto.NotificationVendorItem.prototype.setUpdatedAt = function(value) {
2194
- return jspb.Message.setProto3StringField(this, 11, value);
2195
- };
2196
-
2197
-
2198
-
2199
-
2200
-
2201
- if (jspb.Message.GENERATE_TO_OBJECT) {
2202
- /**
2203
- * Creates an object representation of this proto.
2204
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2205
- * Optional fields that are not set will be set to undefined.
2206
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2207
- * For the list of reserved names please see:
2208
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2209
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2210
- * JSPB instance for transitional soy proto support:
2211
- * http://goto/soy-param-migration
2212
- * @return {!Object}
2213
- */
2214
- proto.GetListNotificationEmployeeReq.prototype.toObject = function(opt_includeInstance) {
2215
- return proto.GetListNotificationEmployeeReq.toObject(opt_includeInstance, this);
2216
- };
2217
-
2218
-
2219
- /**
2220
- * Static version of the {@see toObject} method.
2221
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2222
- * the JSPB instance for transitional soy proto support:
2223
- * http://goto/soy-param-migration
2224
- * @param {!proto.GetListNotificationEmployeeReq} msg The msg instance to transform.
2225
- * @return {!Object}
2226
- * @suppress {unusedLocalVariables} f is only used for nested messages
2227
- */
2228
- proto.GetListNotificationEmployeeReq.toObject = function(includeInstance, msg) {
2229
- var f, obj = {
2230
- pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
2231
- query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
2232
- };
2233
-
2234
- if (includeInstance) {
2235
- obj.$jspbMessageInstance = msg;
2236
- }
2237
- return obj;
2238
- };
2239
- }
2240
-
2241
-
2242
- /**
2243
- * Deserializes binary data (in protobuf wire format).
2244
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2245
- * @return {!proto.GetListNotificationEmployeeReq}
2246
- */
2247
- proto.GetListNotificationEmployeeReq.deserializeBinary = function(bytes) {
2248
- var reader = new jspb.BinaryReader(bytes);
2249
- var msg = new proto.GetListNotificationEmployeeReq;
2250
- return proto.GetListNotificationEmployeeReq.deserializeBinaryFromReader(msg, reader);
2251
- };
2252
-
2253
-
2254
- /**
2255
- * Deserializes binary data (in protobuf wire format) from the
2256
- * given reader into the given message object.
2257
- * @param {!proto.GetListNotificationEmployeeReq} msg The message object to deserialize into.
2258
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2259
- * @return {!proto.GetListNotificationEmployeeReq}
2260
- */
2261
- proto.GetListNotificationEmployeeReq.deserializeBinaryFromReader = function(msg, reader) {
2262
- while (reader.nextField()) {
2263
- if (reader.isEndGroup()) {
2264
- break;
2265
- }
2266
- var field = reader.getFieldNumber();
2267
- switch (field) {
2268
- case 1:
2269
- var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
2270
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
2271
- msg.setPagination(value);
2272
- break;
2273
- case 2:
2274
- var value = new prisca_v1_global_meta_meta_pb.FilterRequest;
2275
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.FilterRequest.deserializeBinaryFromReader);
2276
- msg.setQuery(value);
2277
- break;
2278
- default:
2279
- reader.skipField();
2280
- break;
2281
- }
2282
- }
2283
- return msg;
2284
- };
2285
-
2286
-
2287
- /**
2288
- * Serializes the message to binary data (in protobuf wire format).
2289
- * @return {!Uint8Array}
2290
- */
2291
- proto.GetListNotificationEmployeeReq.prototype.serializeBinary = function() {
2292
- var writer = new jspb.BinaryWriter();
2293
- proto.GetListNotificationEmployeeReq.serializeBinaryToWriter(this, writer);
2294
- return writer.getResultBuffer();
2295
- };
2296
-
2297
-
2298
- /**
2299
- * Serializes the given message to binary data (in protobuf wire
2300
- * format), writing to the given BinaryWriter.
2301
- * @param {!proto.GetListNotificationEmployeeReq} message
2302
- * @param {!jspb.BinaryWriter} writer
2303
- * @suppress {unusedLocalVariables} f is only used for nested messages
2304
- */
2305
- proto.GetListNotificationEmployeeReq.serializeBinaryToWriter = function(message, writer) {
2306
- var f = undefined;
2307
- f = message.getPagination();
2308
- if (f != null) {
2309
- writer.writeMessage(
2310
- 1,
2311
- f,
2312
- prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
2313
- );
2314
- }
2315
- f = message.getQuery();
2316
- if (f != null) {
2317
- writer.writeMessage(
2318
- 2,
2319
- f,
2320
- prisca_v1_global_meta_meta_pb.FilterRequest.serializeBinaryToWriter
2321
- );
2322
- }
2323
- };
2324
-
2325
-
2326
- /**
2327
- * optional prisca.v1.global.meta.PaginationRequest pagination = 1;
2328
- * @return {?proto.prisca.v1.global.meta.PaginationRequest}
2329
- */
2330
- proto.GetListNotificationEmployeeReq.prototype.getPagination = function() {
2331
- return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
2332
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
2333
- };
2334
-
2335
-
2336
- /**
2337
- * @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
2338
- * @return {!proto.GetListNotificationEmployeeReq} returns this
2339
- */
2340
- proto.GetListNotificationEmployeeReq.prototype.setPagination = function(value) {
2341
- return jspb.Message.setWrapperField(this, 1, value);
2342
- };
2343
-
2344
-
2345
- /**
2346
- * Clears the message field making it undefined.
2347
- * @return {!proto.GetListNotificationEmployeeReq} returns this
2348
- */
2349
- proto.GetListNotificationEmployeeReq.prototype.clearPagination = function() {
2350
- return this.setPagination(undefined);
2351
- };
2352
-
2353
-
2354
- /**
2355
- * Returns whether this field is set.
2356
- * @return {boolean}
2357
- */
2358
- proto.GetListNotificationEmployeeReq.prototype.hasPagination = function() {
2359
- return jspb.Message.getField(this, 1) != null;
2360
- };
2361
-
2362
-
2363
- /**
2364
- * optional prisca.v1.global.meta.FilterRequest query = 2;
2365
- * @return {?proto.prisca.v1.global.meta.FilterRequest}
2366
- */
2367
- proto.GetListNotificationEmployeeReq.prototype.getQuery = function() {
2368
- return /** @type{?proto.prisca.v1.global.meta.FilterRequest} */ (
2369
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.FilterRequest, 2));
2370
- };
2371
-
2372
-
2373
- /**
2374
- * @param {?proto.prisca.v1.global.meta.FilterRequest|undefined} value
2375
- * @return {!proto.GetListNotificationEmployeeReq} returns this
2376
- */
2377
- proto.GetListNotificationEmployeeReq.prototype.setQuery = function(value) {
2378
- return jspb.Message.setWrapperField(this, 2, value);
2379
- };
2380
-
2381
-
2382
- /**
2383
- * Clears the message field making it undefined.
2384
- * @return {!proto.GetListNotificationEmployeeReq} returns this
2385
- */
2386
- proto.GetListNotificationEmployeeReq.prototype.clearQuery = function() {
2387
- return this.setQuery(undefined);
2388
- };
2389
-
2390
-
2391
- /**
2392
- * Returns whether this field is set.
2393
- * @return {boolean}
2394
- */
2395
- proto.GetListNotificationEmployeeReq.prototype.hasQuery = function() {
2396
- return jspb.Message.getField(this, 2) != null;
2397
- };
2398
-
2399
-
2400
-
2401
-
2402
-
2403
- if (jspb.Message.GENERATE_TO_OBJECT) {
2404
- /**
2405
- * Creates an object representation of this proto.
2406
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2407
- * Optional fields that are not set will be set to undefined.
2408
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2409
- * For the list of reserved names please see:
2410
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2411
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2412
- * JSPB instance for transitional soy proto support:
2413
- * http://goto/soy-param-migration
2414
- * @return {!Object}
2415
- */
2416
- proto.GetListNotificationVendorReq.prototype.toObject = function(opt_includeInstance) {
2417
- return proto.GetListNotificationVendorReq.toObject(opt_includeInstance, this);
2418
- };
2419
-
2420
-
2421
- /**
2422
- * Static version of the {@see toObject} method.
2423
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2424
- * the JSPB instance for transitional soy proto support:
2425
- * http://goto/soy-param-migration
2426
- * @param {!proto.GetListNotificationVendorReq} msg The msg instance to transform.
2427
- * @return {!Object}
2428
- * @suppress {unusedLocalVariables} f is only used for nested messages
2429
- */
2430
- proto.GetListNotificationVendorReq.toObject = function(includeInstance, msg) {
2431
- var f, obj = {
2432
- pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
2433
- query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
2434
- };
2435
-
2436
- if (includeInstance) {
2437
- obj.$jspbMessageInstance = msg;
2438
- }
2439
- return obj;
2440
- };
2441
- }
2442
-
2443
-
2444
- /**
2445
- * Deserializes binary data (in protobuf wire format).
2446
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2447
- * @return {!proto.GetListNotificationVendorReq}
2448
- */
2449
- proto.GetListNotificationVendorReq.deserializeBinary = function(bytes) {
2450
- var reader = new jspb.BinaryReader(bytes);
2451
- var msg = new proto.GetListNotificationVendorReq;
2452
- return proto.GetListNotificationVendorReq.deserializeBinaryFromReader(msg, reader);
2453
- };
2454
-
2455
-
2456
- /**
2457
- * Deserializes binary data (in protobuf wire format) from the
2458
- * given reader into the given message object.
2459
- * @param {!proto.GetListNotificationVendorReq} msg The message object to deserialize into.
2460
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2461
- * @return {!proto.GetListNotificationVendorReq}
2462
- */
2463
- proto.GetListNotificationVendorReq.deserializeBinaryFromReader = function(msg, reader) {
2464
- while (reader.nextField()) {
2465
- if (reader.isEndGroup()) {
2466
- break;
2467
- }
2468
- var field = reader.getFieldNumber();
2469
- switch (field) {
2470
- case 1:
2471
- var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
2472
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
2473
- msg.setPagination(value);
2474
- break;
2475
- case 2:
2476
- var value = new prisca_v1_global_meta_meta_pb.FilterRequest;
2477
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.FilterRequest.deserializeBinaryFromReader);
2478
- msg.setQuery(value);
2479
- break;
2480
- default:
2481
- reader.skipField();
2482
- break;
2483
- }
2484
- }
2485
- return msg;
2486
- };
2487
-
2488
-
2489
- /**
2490
- * Serializes the message to binary data (in protobuf wire format).
2491
- * @return {!Uint8Array}
2492
- */
2493
- proto.GetListNotificationVendorReq.prototype.serializeBinary = function() {
2494
- var writer = new jspb.BinaryWriter();
2495
- proto.GetListNotificationVendorReq.serializeBinaryToWriter(this, writer);
2496
- return writer.getResultBuffer();
2497
- };
2498
-
2499
-
2500
- /**
2501
- * Serializes the given message to binary data (in protobuf wire
2502
- * format), writing to the given BinaryWriter.
2503
- * @param {!proto.GetListNotificationVendorReq} message
2504
- * @param {!jspb.BinaryWriter} writer
2505
- * @suppress {unusedLocalVariables} f is only used for nested messages
2506
- */
2507
- proto.GetListNotificationVendorReq.serializeBinaryToWriter = function(message, writer) {
2508
- var f = undefined;
2509
- f = message.getPagination();
2510
- if (f != null) {
2511
- writer.writeMessage(
2512
- 1,
2513
- f,
2514
- prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
2515
- );
2516
- }
2517
- f = message.getQuery();
2518
- if (f != null) {
2519
- writer.writeMessage(
2520
- 2,
2521
- f,
2522
- prisca_v1_global_meta_meta_pb.FilterRequest.serializeBinaryToWriter
2523
- );
2524
- }
2525
- };
2526
-
2527
-
2528
- /**
2529
- * optional prisca.v1.global.meta.PaginationRequest pagination = 1;
2530
- * @return {?proto.prisca.v1.global.meta.PaginationRequest}
2531
- */
2532
- proto.GetListNotificationVendorReq.prototype.getPagination = function() {
2533
- return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
2534
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
2535
- };
2536
-
2537
-
2538
- /**
2539
- * @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
2540
- * @return {!proto.GetListNotificationVendorReq} returns this
2541
- */
2542
- proto.GetListNotificationVendorReq.prototype.setPagination = function(value) {
2543
- return jspb.Message.setWrapperField(this, 1, value);
2544
- };
2545
-
2546
-
2547
- /**
2548
- * Clears the message field making it undefined.
2549
- * @return {!proto.GetListNotificationVendorReq} returns this
2550
- */
2551
- proto.GetListNotificationVendorReq.prototype.clearPagination = function() {
2552
- return this.setPagination(undefined);
2553
- };
2554
-
2555
-
2556
- /**
2557
- * Returns whether this field is set.
2558
- * @return {boolean}
2559
- */
2560
- proto.GetListNotificationVendorReq.prototype.hasPagination = function() {
2561
- return jspb.Message.getField(this, 1) != null;
2562
- };
2563
-
2564
-
2565
- /**
2566
- * optional prisca.v1.global.meta.FilterRequest query = 2;
2567
- * @return {?proto.prisca.v1.global.meta.FilterRequest}
2568
- */
2569
- proto.GetListNotificationVendorReq.prototype.getQuery = function() {
2570
- return /** @type{?proto.prisca.v1.global.meta.FilterRequest} */ (
2571
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.FilterRequest, 2));
2572
- };
2573
-
2574
-
2575
- /**
2576
- * @param {?proto.prisca.v1.global.meta.FilterRequest|undefined} value
2577
- * @return {!proto.GetListNotificationVendorReq} returns this
2578
- */
2579
- proto.GetListNotificationVendorReq.prototype.setQuery = function(value) {
2580
- return jspb.Message.setWrapperField(this, 2, value);
2581
- };
2582
-
2583
-
2584
- /**
2585
- * Clears the message field making it undefined.
2586
- * @return {!proto.GetListNotificationVendorReq} returns this
2587
- */
2588
- proto.GetListNotificationVendorReq.prototype.clearQuery = function() {
2589
- return this.setQuery(undefined);
2590
- };
2591
-
2592
-
2593
- /**
2594
- * Returns whether this field is set.
2595
- * @return {boolean}
2596
- */
2597
- proto.GetListNotificationVendorReq.prototype.hasQuery = function() {
2598
- return jspb.Message.getField(this, 2) != null;
2599
- };
2600
-
2601
-
2602
-
2603
- /**
2604
- * List of repeated fields within this message type.
2605
- * @private {!Array<number>}
2606
- * @const
2607
- */
2608
- proto.GetListNotificationEmployeeRes.repeatedFields_ = [1];
2609
-
2610
-
2611
-
2612
- if (jspb.Message.GENERATE_TO_OBJECT) {
2613
- /**
2614
- * Creates an object representation of this proto.
2615
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2616
- * Optional fields that are not set will be set to undefined.
2617
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2618
- * For the list of reserved names please see:
2619
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2620
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2621
- * JSPB instance for transitional soy proto support:
2622
- * http://goto/soy-param-migration
2623
- * @return {!Object}
2624
- */
2625
- proto.GetListNotificationEmployeeRes.prototype.toObject = function(opt_includeInstance) {
2626
- return proto.GetListNotificationEmployeeRes.toObject(opt_includeInstance, this);
2627
- };
2628
-
2629
-
2630
- /**
2631
- * Static version of the {@see toObject} method.
2632
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2633
- * the JSPB instance for transitional soy proto support:
2634
- * http://goto/soy-param-migration
2635
- * @param {!proto.GetListNotificationEmployeeRes} msg The msg instance to transform.
2636
- * @return {!Object}
2637
- * @suppress {unusedLocalVariables} f is only used for nested messages
2638
- */
2639
- proto.GetListNotificationEmployeeRes.toObject = function(includeInstance, msg) {
2640
- var f, obj = {
2641
- dataList: jspb.Message.toObjectList(msg.getDataList(),
2642
- proto.NotificationEmployeeItem.toObject, includeInstance),
2643
- meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2644
- };
2645
-
2646
- if (includeInstance) {
2647
- obj.$jspbMessageInstance = msg;
2648
- }
2649
- return obj;
2650
- };
2651
- }
2652
-
2653
-
2654
- /**
2655
- * Deserializes binary data (in protobuf wire format).
2656
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2657
- * @return {!proto.GetListNotificationEmployeeRes}
2658
- */
2659
- proto.GetListNotificationEmployeeRes.deserializeBinary = function(bytes) {
2660
- var reader = new jspb.BinaryReader(bytes);
2661
- var msg = new proto.GetListNotificationEmployeeRes;
2662
- return proto.GetListNotificationEmployeeRes.deserializeBinaryFromReader(msg, reader);
2663
- };
2664
-
2665
-
2666
- /**
2667
- * Deserializes binary data (in protobuf wire format) from the
2668
- * given reader into the given message object.
2669
- * @param {!proto.GetListNotificationEmployeeRes} msg The message object to deserialize into.
2670
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2671
- * @return {!proto.GetListNotificationEmployeeRes}
2672
- */
2673
- proto.GetListNotificationEmployeeRes.deserializeBinaryFromReader = function(msg, reader) {
2674
- while (reader.nextField()) {
2675
- if (reader.isEndGroup()) {
2676
- break;
2677
- }
2678
- var field = reader.getFieldNumber();
2679
- switch (field) {
2680
- case 1:
2681
- var value = new proto.NotificationEmployeeItem;
2682
- reader.readMessage(value,proto.NotificationEmployeeItem.deserializeBinaryFromReader);
2683
- msg.addData(value);
2684
- break;
2685
- case 2:
2686
- var value = new prisca_v1_global_meta_meta_pb.Meta;
2687
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2688
- msg.setMeta(value);
2689
- break;
2690
- default:
2691
- reader.skipField();
2692
- break;
2693
- }
2694
- }
2695
- return msg;
2696
- };
2697
-
2698
-
2699
- /**
2700
- * Serializes the message to binary data (in protobuf wire format).
2701
- * @return {!Uint8Array}
2702
- */
2703
- proto.GetListNotificationEmployeeRes.prototype.serializeBinary = function() {
2704
- var writer = new jspb.BinaryWriter();
2705
- proto.GetListNotificationEmployeeRes.serializeBinaryToWriter(this, writer);
2706
- return writer.getResultBuffer();
2707
- };
2708
-
2709
-
2710
- /**
2711
- * Serializes the given message to binary data (in protobuf wire
2712
- * format), writing to the given BinaryWriter.
2713
- * @param {!proto.GetListNotificationEmployeeRes} message
2714
- * @param {!jspb.BinaryWriter} writer
2715
- * @suppress {unusedLocalVariables} f is only used for nested messages
2716
- */
2717
- proto.GetListNotificationEmployeeRes.serializeBinaryToWriter = function(message, writer) {
2718
- var f = undefined;
2719
- f = message.getDataList();
2720
- if (f.length > 0) {
2721
- writer.writeRepeatedMessage(
2722
- 1,
2723
- f,
2724
- proto.NotificationEmployeeItem.serializeBinaryToWriter
2725
- );
2726
- }
2727
- f = message.getMeta();
2728
- if (f != null) {
2729
- writer.writeMessage(
2730
- 2,
2731
- f,
2732
- prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2733
- );
2734
- }
2735
- };
2736
-
2737
-
2738
- /**
2739
- * repeated NotificationEmployeeItem data = 1;
2740
- * @return {!Array<!proto.NotificationEmployeeItem>}
2741
- */
2742
- proto.GetListNotificationEmployeeRes.prototype.getDataList = function() {
2743
- return /** @type{!Array<!proto.NotificationEmployeeItem>} */ (
2744
- jspb.Message.getRepeatedWrapperField(this, proto.NotificationEmployeeItem, 1));
2745
- };
2746
-
2747
-
2748
- /**
2749
- * @param {!Array<!proto.NotificationEmployeeItem>} value
2750
- * @return {!proto.GetListNotificationEmployeeRes} returns this
2751
- */
2752
- proto.GetListNotificationEmployeeRes.prototype.setDataList = function(value) {
2753
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
2754
- };
2755
-
2756
-
2757
- /**
2758
- * @param {!proto.NotificationEmployeeItem=} opt_value
2759
- * @param {number=} opt_index
2760
- * @return {!proto.NotificationEmployeeItem}
2761
- */
2762
- proto.GetListNotificationEmployeeRes.prototype.addData = function(opt_value, opt_index) {
2763
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.NotificationEmployeeItem, opt_index);
2764
- };
2765
-
2766
-
2767
- /**
2768
- * Clears the list making it empty but non-null.
2769
- * @return {!proto.GetListNotificationEmployeeRes} returns this
2770
- */
2771
- proto.GetListNotificationEmployeeRes.prototype.clearDataList = function() {
2772
- return this.setDataList([]);
2773
- };
2774
-
2775
-
2776
- /**
2777
- * optional prisca.v1.global.meta.Meta meta = 2;
2778
- * @return {?proto.prisca.v1.global.meta.Meta}
2779
- */
2780
- proto.GetListNotificationEmployeeRes.prototype.getMeta = function() {
2781
- return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2782
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2783
- };
2784
-
2785
-
2786
- /**
2787
- * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2788
- * @return {!proto.GetListNotificationEmployeeRes} returns this
2789
- */
2790
- proto.GetListNotificationEmployeeRes.prototype.setMeta = function(value) {
2791
- return jspb.Message.setWrapperField(this, 2, value);
2792
- };
2793
-
2794
-
2795
- /**
2796
- * Clears the message field making it undefined.
2797
- * @return {!proto.GetListNotificationEmployeeRes} returns this
2798
- */
2799
- proto.GetListNotificationEmployeeRes.prototype.clearMeta = function() {
2800
- return this.setMeta(undefined);
2801
- };
2802
-
2803
-
2804
- /**
2805
- * Returns whether this field is set.
2806
- * @return {boolean}
2807
- */
2808
- proto.GetListNotificationEmployeeRes.prototype.hasMeta = function() {
2809
- return jspb.Message.getField(this, 2) != null;
2810
- };
2811
-
2812
-
2813
-
2814
- /**
2815
- * List of repeated fields within this message type.
2816
- * @private {!Array<number>}
2817
- * @const
2818
- */
2819
- proto.GetListNotificationVendorRes.repeatedFields_ = [1];
2820
-
2821
-
2822
-
2823
- if (jspb.Message.GENERATE_TO_OBJECT) {
2824
- /**
2825
- * Creates an object representation of this proto.
2826
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2827
- * Optional fields that are not set will be set to undefined.
2828
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2829
- * For the list of reserved names please see:
2830
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2831
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2832
- * JSPB instance for transitional soy proto support:
2833
- * http://goto/soy-param-migration
2834
- * @return {!Object}
2835
- */
2836
- proto.GetListNotificationVendorRes.prototype.toObject = function(opt_includeInstance) {
2837
- return proto.GetListNotificationVendorRes.toObject(opt_includeInstance, this);
2838
- };
2839
-
2840
-
2841
- /**
2842
- * Static version of the {@see toObject} method.
2843
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2844
- * the JSPB instance for transitional soy proto support:
2845
- * http://goto/soy-param-migration
2846
- * @param {!proto.GetListNotificationVendorRes} msg The msg instance to transform.
2847
- * @return {!Object}
2848
- * @suppress {unusedLocalVariables} f is only used for nested messages
2849
- */
2850
- proto.GetListNotificationVendorRes.toObject = function(includeInstance, msg) {
2851
- var f, obj = {
2852
- dataList: jspb.Message.toObjectList(msg.getDataList(),
2853
- proto.NotificationVendorItem.toObject, includeInstance),
2854
- meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2855
- };
2856
-
2857
- if (includeInstance) {
2858
- obj.$jspbMessageInstance = msg;
2859
- }
2860
- return obj;
2861
- };
2862
- }
2863
-
2864
-
2865
- /**
2866
- * Deserializes binary data (in protobuf wire format).
2867
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2868
- * @return {!proto.GetListNotificationVendorRes}
2869
- */
2870
- proto.GetListNotificationVendorRes.deserializeBinary = function(bytes) {
2871
- var reader = new jspb.BinaryReader(bytes);
2872
- var msg = new proto.GetListNotificationVendorRes;
2873
- return proto.GetListNotificationVendorRes.deserializeBinaryFromReader(msg, reader);
2874
- };
2875
-
2876
-
2877
- /**
2878
- * Deserializes binary data (in protobuf wire format) from the
2879
- * given reader into the given message object.
2880
- * @param {!proto.GetListNotificationVendorRes} msg The message object to deserialize into.
2881
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2882
- * @return {!proto.GetListNotificationVendorRes}
2883
- */
2884
- proto.GetListNotificationVendorRes.deserializeBinaryFromReader = function(msg, reader) {
2885
- while (reader.nextField()) {
2886
- if (reader.isEndGroup()) {
2887
- break;
2888
- }
2889
- var field = reader.getFieldNumber();
2890
- switch (field) {
2891
- case 1:
2892
- var value = new proto.NotificationVendorItem;
2893
- reader.readMessage(value,proto.NotificationVendorItem.deserializeBinaryFromReader);
2894
- msg.addData(value);
2895
- break;
2896
- case 2:
2897
- var value = new prisca_v1_global_meta_meta_pb.Meta;
2898
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2899
- msg.setMeta(value);
2900
- break;
2901
- default:
2902
- reader.skipField();
2903
- break;
2904
- }
2905
- }
2906
- return msg;
2907
- };
2908
-
2909
-
2910
- /**
2911
- * Serializes the message to binary data (in protobuf wire format).
2912
- * @return {!Uint8Array}
2913
- */
2914
- proto.GetListNotificationVendorRes.prototype.serializeBinary = function() {
2915
- var writer = new jspb.BinaryWriter();
2916
- proto.GetListNotificationVendorRes.serializeBinaryToWriter(this, writer);
2917
- return writer.getResultBuffer();
2918
- };
2919
-
2920
-
2921
- /**
2922
- * Serializes the given message to binary data (in protobuf wire
2923
- * format), writing to the given BinaryWriter.
2924
- * @param {!proto.GetListNotificationVendorRes} message
2925
- * @param {!jspb.BinaryWriter} writer
2926
- * @suppress {unusedLocalVariables} f is only used for nested messages
2927
- */
2928
- proto.GetListNotificationVendorRes.serializeBinaryToWriter = function(message, writer) {
2929
- var f = undefined;
2930
- f = message.getDataList();
2931
- if (f.length > 0) {
2932
- writer.writeRepeatedMessage(
2933
- 1,
2934
- f,
2935
- proto.NotificationVendorItem.serializeBinaryToWriter
2936
- );
2937
- }
2938
- f = message.getMeta();
2939
- if (f != null) {
2940
- writer.writeMessage(
2941
- 2,
2942
- f,
2943
- prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2944
- );
2945
- }
2946
- };
2947
-
2948
-
2949
- /**
2950
- * repeated NotificationVendorItem data = 1;
2951
- * @return {!Array<!proto.NotificationVendorItem>}
2952
- */
2953
- proto.GetListNotificationVendorRes.prototype.getDataList = function() {
2954
- return /** @type{!Array<!proto.NotificationVendorItem>} */ (
2955
- jspb.Message.getRepeatedWrapperField(this, proto.NotificationVendorItem, 1));
2956
- };
2957
-
2958
-
2959
- /**
2960
- * @param {!Array<!proto.NotificationVendorItem>} value
2961
- * @return {!proto.GetListNotificationVendorRes} returns this
2962
- */
2963
- proto.GetListNotificationVendorRes.prototype.setDataList = function(value) {
2964
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
2965
- };
2966
-
2967
-
2968
- /**
2969
- * @param {!proto.NotificationVendorItem=} opt_value
2970
- * @param {number=} opt_index
2971
- * @return {!proto.NotificationVendorItem}
2972
- */
2973
- proto.GetListNotificationVendorRes.prototype.addData = function(opt_value, opt_index) {
2974
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.NotificationVendorItem, opt_index);
2975
- };
2976
-
2977
-
2978
- /**
2979
- * Clears the list making it empty but non-null.
2980
- * @return {!proto.GetListNotificationVendorRes} returns this
2981
- */
2982
- proto.GetListNotificationVendorRes.prototype.clearDataList = function() {
2983
- return this.setDataList([]);
2984
- };
2985
-
2986
-
2987
- /**
2988
- * optional prisca.v1.global.meta.Meta meta = 2;
2989
- * @return {?proto.prisca.v1.global.meta.Meta}
2990
- */
2991
- proto.GetListNotificationVendorRes.prototype.getMeta = function() {
2992
- return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2993
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2994
- };
2995
-
2996
-
2997
- /**
2998
- * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2999
- * @return {!proto.GetListNotificationVendorRes} returns this
3000
- */
3001
- proto.GetListNotificationVendorRes.prototype.setMeta = function(value) {
3002
- return jspb.Message.setWrapperField(this, 2, value);
3003
- };
3004
-
3005
-
3006
- /**
3007
- * Clears the message field making it undefined.
3008
- * @return {!proto.GetListNotificationVendorRes} returns this
3009
- */
3010
- proto.GetListNotificationVendorRes.prototype.clearMeta = function() {
3011
- return this.setMeta(undefined);
3012
- };
3013
-
3014
-
3015
- /**
3016
- * Returns whether this field is set.
3017
- * @return {boolean}
3018
- */
3019
- proto.GetListNotificationVendorRes.prototype.hasMeta = function() {
3020
- return jspb.Message.getField(this, 2) != null;
3021
- };
3022
-
3023
-
3024
-
3025
- /**
3026
- * List of repeated fields within this message type.
3027
- * @private {!Array<number>}
3028
- * @const
3029
- */
3030
- proto.CreateNotificationReq.repeatedFields_ = [5];
3031
-
3032
-
3033
-
3034
- if (jspb.Message.GENERATE_TO_OBJECT) {
3035
- /**
3036
- * Creates an object representation of this proto.
3037
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3038
- * Optional fields that are not set will be set to undefined.
3039
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3040
- * For the list of reserved names please see:
3041
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3042
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3043
- * JSPB instance for transitional soy proto support:
3044
- * http://goto/soy-param-migration
3045
- * @return {!Object}
3046
- */
3047
- proto.CreateNotificationReq.prototype.toObject = function(opt_includeInstance) {
3048
- return proto.CreateNotificationReq.toObject(opt_includeInstance, this);
3049
- };
3050
-
3051
-
3052
- /**
3053
- * Static version of the {@see toObject} method.
3054
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3055
- * the JSPB instance for transitional soy proto support:
3056
- * http://goto/soy-param-migration
3057
- * @param {!proto.CreateNotificationReq} msg The msg instance to transform.
3058
- * @return {!Object}
3059
- * @suppress {unusedLocalVariables} f is only used for nested messages
3060
- */
3061
- proto.CreateNotificationReq.toObject = function(includeInstance, msg) {
3062
- var f, obj = {
3063
- message: jspb.Message.getFieldWithDefault(msg, 1, ""),
3064
- type: jspb.Message.getFieldWithDefault(msg, 2, ""),
3065
- documentType: jspb.Message.getFieldWithDefault(msg, 3, ""),
3066
- documentReferenceId: jspb.Message.getFieldWithDefault(msg, 4, ""),
3067
- receiversList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
3068
- vendorReferenceId: jspb.Message.getFieldWithDefault(msg, 6, "")
3069
- };
3070
-
3071
- if (includeInstance) {
3072
- obj.$jspbMessageInstance = msg;
3073
- }
3074
- return obj;
3075
- };
3076
- }
3077
-
3078
-
3079
- /**
3080
- * Deserializes binary data (in protobuf wire format).
3081
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3082
- * @return {!proto.CreateNotificationReq}
3083
- */
3084
- proto.CreateNotificationReq.deserializeBinary = function(bytes) {
3085
- var reader = new jspb.BinaryReader(bytes);
3086
- var msg = new proto.CreateNotificationReq;
3087
- return proto.CreateNotificationReq.deserializeBinaryFromReader(msg, reader);
3088
- };
3089
-
3090
-
3091
- /**
3092
- * Deserializes binary data (in protobuf wire format) from the
3093
- * given reader into the given message object.
3094
- * @param {!proto.CreateNotificationReq} msg The message object to deserialize into.
3095
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3096
- * @return {!proto.CreateNotificationReq}
3097
- */
3098
- proto.CreateNotificationReq.deserializeBinaryFromReader = function(msg, reader) {
3099
- while (reader.nextField()) {
3100
- if (reader.isEndGroup()) {
3101
- break;
3102
- }
3103
- var field = reader.getFieldNumber();
3104
- switch (field) {
3105
- case 1:
3106
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3107
- msg.setMessage(value);
3108
- break;
3109
- case 2:
3110
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3111
- msg.setType(value);
3112
- break;
3113
- case 3:
3114
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3115
- msg.setDocumentType(value);
3116
- break;
3117
- case 4:
3118
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3119
- msg.setDocumentReferenceId(value);
3120
- break;
3121
- case 5:
3122
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3123
- msg.addReceivers(value);
3124
- break;
3125
- case 6:
3126
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3127
- msg.setVendorReferenceId(value);
3128
- break;
3129
- default:
3130
- reader.skipField();
3131
- break;
3132
- }
3133
- }
3134
- return msg;
3135
- };
3136
-
3137
-
3138
- /**
3139
- * Serializes the message to binary data (in protobuf wire format).
3140
- * @return {!Uint8Array}
3141
- */
3142
- proto.CreateNotificationReq.prototype.serializeBinary = function() {
3143
- var writer = new jspb.BinaryWriter();
3144
- proto.CreateNotificationReq.serializeBinaryToWriter(this, writer);
3145
- return writer.getResultBuffer();
3146
- };
3147
-
3148
-
3149
- /**
3150
- * Serializes the given message to binary data (in protobuf wire
3151
- * format), writing to the given BinaryWriter.
3152
- * @param {!proto.CreateNotificationReq} message
3153
- * @param {!jspb.BinaryWriter} writer
3154
- * @suppress {unusedLocalVariables} f is only used for nested messages
3155
- */
3156
- proto.CreateNotificationReq.serializeBinaryToWriter = function(message, writer) {
3157
- var f = undefined;
3158
- f = message.getMessage();
3159
- if (f.length > 0) {
3160
- writer.writeString(
3161
- 1,
3162
- f
3163
- );
3164
- }
3165
- f = message.getType();
3166
- if (f.length > 0) {
3167
- writer.writeString(
3168
- 2,
3169
- f
3170
- );
3171
- }
3172
- f = message.getDocumentType();
3173
- if (f.length > 0) {
3174
- writer.writeString(
3175
- 3,
3176
- f
3177
- );
3178
- }
3179
- f = message.getDocumentReferenceId();
3180
- if (f.length > 0) {
3181
- writer.writeString(
3182
- 4,
3183
- f
3184
- );
3185
- }
3186
- f = message.getReceiversList();
3187
- if (f.length > 0) {
3188
- writer.writeRepeatedString(
3189
- 5,
3190
- f
3191
- );
3192
- }
3193
- f = message.getVendorReferenceId();
3194
- if (f.length > 0) {
3195
- writer.writeString(
3196
- 6,
3197
- f
3198
- );
3199
- }
3200
- };
3201
-
3202
-
3203
- /**
3204
- * optional string message = 1;
3205
- * @return {string}
3206
- */
3207
- proto.CreateNotificationReq.prototype.getMessage = function() {
3208
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3209
- };
3210
-
3211
-
3212
- /**
3213
- * @param {string} value
3214
- * @return {!proto.CreateNotificationReq} returns this
3215
- */
3216
- proto.CreateNotificationReq.prototype.setMessage = function(value) {
3217
- return jspb.Message.setProto3StringField(this, 1, value);
3218
- };
3219
-
3220
-
3221
- /**
3222
- * optional string type = 2;
3223
- * @return {string}
3224
- */
3225
- proto.CreateNotificationReq.prototype.getType = function() {
3226
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3227
- };
3228
-
3229
-
3230
- /**
3231
- * @param {string} value
3232
- * @return {!proto.CreateNotificationReq} returns this
3233
- */
3234
- proto.CreateNotificationReq.prototype.setType = function(value) {
3235
- return jspb.Message.setProto3StringField(this, 2, value);
3236
- };
3237
-
3238
-
3239
- /**
3240
- * optional string document_type = 3;
3241
- * @return {string}
3242
- */
3243
- proto.CreateNotificationReq.prototype.getDocumentType = function() {
3244
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3245
- };
3246
-
3247
-
3248
- /**
3249
- * @param {string} value
3250
- * @return {!proto.CreateNotificationReq} returns this
3251
- */
3252
- proto.CreateNotificationReq.prototype.setDocumentType = function(value) {
3253
- return jspb.Message.setProto3StringField(this, 3, value);
3254
- };
3255
-
3256
-
3257
- /**
3258
- * optional string document_reference_id = 4;
3259
- * @return {string}
3260
- */
3261
- proto.CreateNotificationReq.prototype.getDocumentReferenceId = function() {
3262
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3263
- };
3264
-
3265
-
3266
- /**
3267
- * @param {string} value
3268
- * @return {!proto.CreateNotificationReq} returns this
3269
- */
3270
- proto.CreateNotificationReq.prototype.setDocumentReferenceId = function(value) {
3271
- return jspb.Message.setProto3StringField(this, 4, value);
3272
- };
3273
-
3274
-
3275
- /**
3276
- * repeated string receivers = 5;
3277
- * @return {!Array<string>}
3278
- */
3279
- proto.CreateNotificationReq.prototype.getReceiversList = function() {
3280
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
3281
- };
3282
-
3283
-
3284
- /**
3285
- * @param {!Array<string>} value
3286
- * @return {!proto.CreateNotificationReq} returns this
3287
- */
3288
- proto.CreateNotificationReq.prototype.setReceiversList = function(value) {
3289
- return jspb.Message.setField(this, 5, value || []);
3290
- };
3291
-
3292
-
3293
- /**
3294
- * @param {string} value
3295
- * @param {number=} opt_index
3296
- * @return {!proto.CreateNotificationReq} returns this
3297
- */
3298
- proto.CreateNotificationReq.prototype.addReceivers = function(value, opt_index) {
3299
- return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
3300
- };
3301
-
3302
-
3303
- /**
3304
- * Clears the list making it empty but non-null.
3305
- * @return {!proto.CreateNotificationReq} returns this
3306
- */
3307
- proto.CreateNotificationReq.prototype.clearReceiversList = function() {
3308
- return this.setReceiversList([]);
3309
- };
3310
-
3311
-
3312
- /**
3313
- * optional string vendor_reference_id = 6;
3314
- * @return {string}
3315
- */
3316
- proto.CreateNotificationReq.prototype.getVendorReferenceId = function() {
3317
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
3318
- };
3319
-
3320
-
3321
- /**
3322
- * @param {string} value
3323
- * @return {!proto.CreateNotificationReq} returns this
3324
- */
3325
- proto.CreateNotificationReq.prototype.setVendorReferenceId = function(value) {
3326
- return jspb.Message.setProto3StringField(this, 6, value);
3327
- };
3328
-
3329
-
3330
-
3331
-
3332
-
3333
- if (jspb.Message.GENERATE_TO_OBJECT) {
3334
- /**
3335
- * Creates an object representation of this proto.
3336
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3337
- * Optional fields that are not set will be set to undefined.
3338
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3339
- * For the list of reserved names please see:
3340
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3341
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3342
- * JSPB instance for transitional soy proto support:
3343
- * http://goto/soy-param-migration
3344
- * @return {!Object}
3345
- */
3346
- proto.CreateNotificationRes.prototype.toObject = function(opt_includeInstance) {
3347
- return proto.CreateNotificationRes.toObject(opt_includeInstance, this);
3348
- };
3349
-
3350
-
3351
- /**
3352
- * Static version of the {@see toObject} method.
3353
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3354
- * the JSPB instance for transitional soy proto support:
3355
- * http://goto/soy-param-migration
3356
- * @param {!proto.CreateNotificationRes} msg The msg instance to transform.
3357
- * @return {!Object}
3358
- * @suppress {unusedLocalVariables} f is only used for nested messages
3359
- */
3360
- proto.CreateNotificationRes.toObject = function(includeInstance, msg) {
3361
- var f, obj = {
3362
- notification: (f = msg.getNotification()) && proto.Notification.toObject(includeInstance, f)
3363
- };
3364
-
3365
- if (includeInstance) {
3366
- obj.$jspbMessageInstance = msg;
3367
- }
3368
- return obj;
3369
- };
3370
- }
3371
-
3372
-
3373
- /**
3374
- * Deserializes binary data (in protobuf wire format).
3375
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3376
- * @return {!proto.CreateNotificationRes}
3377
- */
3378
- proto.CreateNotificationRes.deserializeBinary = function(bytes) {
3379
- var reader = new jspb.BinaryReader(bytes);
3380
- var msg = new proto.CreateNotificationRes;
3381
- return proto.CreateNotificationRes.deserializeBinaryFromReader(msg, reader);
3382
- };
3383
-
3384
-
3385
- /**
3386
- * Deserializes binary data (in protobuf wire format) from the
3387
- * given reader into the given message object.
3388
- * @param {!proto.CreateNotificationRes} msg The message object to deserialize into.
3389
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3390
- * @return {!proto.CreateNotificationRes}
3391
- */
3392
- proto.CreateNotificationRes.deserializeBinaryFromReader = function(msg, reader) {
3393
- while (reader.nextField()) {
3394
- if (reader.isEndGroup()) {
3395
- break;
3396
- }
3397
- var field = reader.getFieldNumber();
3398
- switch (field) {
3399
- case 1:
3400
- var value = new proto.Notification;
3401
- reader.readMessage(value,proto.Notification.deserializeBinaryFromReader);
3402
- msg.setNotification(value);
3403
- break;
3404
- default:
3405
- reader.skipField();
3406
- break;
3407
- }
3408
- }
3409
- return msg;
3410
- };
3411
-
3412
-
3413
- /**
3414
- * Serializes the message to binary data (in protobuf wire format).
3415
- * @return {!Uint8Array}
3416
- */
3417
- proto.CreateNotificationRes.prototype.serializeBinary = function() {
3418
- var writer = new jspb.BinaryWriter();
3419
- proto.CreateNotificationRes.serializeBinaryToWriter(this, writer);
3420
- return writer.getResultBuffer();
3421
- };
3422
-
3423
-
3424
- /**
3425
- * Serializes the given message to binary data (in protobuf wire
3426
- * format), writing to the given BinaryWriter.
3427
- * @param {!proto.CreateNotificationRes} message
3428
- * @param {!jspb.BinaryWriter} writer
3429
- * @suppress {unusedLocalVariables} f is only used for nested messages
3430
- */
3431
- proto.CreateNotificationRes.serializeBinaryToWriter = function(message, writer) {
3432
- var f = undefined;
3433
- f = message.getNotification();
3434
- if (f != null) {
3435
- writer.writeMessage(
3436
- 1,
3437
- f,
3438
- proto.Notification.serializeBinaryToWriter
3439
- );
3440
- }
3441
- };
3442
-
3443
-
3444
- /**
3445
- * optional Notification notification = 1;
3446
- * @return {?proto.Notification}
3447
- */
3448
- proto.CreateNotificationRes.prototype.getNotification = function() {
3449
- return /** @type{?proto.Notification} */ (
3450
- jspb.Message.getWrapperField(this, proto.Notification, 1));
3451
- };
3452
-
3453
-
3454
- /**
3455
- * @param {?proto.Notification|undefined} value
3456
- * @return {!proto.CreateNotificationRes} returns this
3457
- */
3458
- proto.CreateNotificationRes.prototype.setNotification = function(value) {
3459
- return jspb.Message.setWrapperField(this, 1, value);
3460
- };
3461
-
3462
-
3463
- /**
3464
- * Clears the message field making it undefined.
3465
- * @return {!proto.CreateNotificationRes} returns this
3466
- */
3467
- proto.CreateNotificationRes.prototype.clearNotification = function() {
3468
- return this.setNotification(undefined);
3469
- };
3470
-
3471
-
3472
- /**
3473
- * Returns whether this field is set.
3474
- * @return {boolean}
3475
- */
3476
- proto.CreateNotificationRes.prototype.hasNotification = function() {
3477
- return jspb.Message.getField(this, 1) != null;
3478
- };
3479
-
3480
-
3481
-
3482
- /**
3483
- * List of repeated fields within this message type.
3484
- * @private {!Array<number>}
3485
- * @const
3486
- */
3487
- proto.ReferenceIds.repeatedFields_ = [1];
3488
-
3489
-
3490
-
3491
- if (jspb.Message.GENERATE_TO_OBJECT) {
3492
- /**
3493
- * Creates an object representation of this proto.
3494
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3495
- * Optional fields that are not set will be set to undefined.
3496
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3497
- * For the list of reserved names please see:
3498
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3499
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3500
- * JSPB instance for transitional soy proto support:
3501
- * http://goto/soy-param-migration
3502
- * @return {!Object}
3503
- */
3504
- proto.ReferenceIds.prototype.toObject = function(opt_includeInstance) {
3505
- return proto.ReferenceIds.toObject(opt_includeInstance, this);
3506
- };
3507
-
3508
-
3509
- /**
3510
- * Static version of the {@see toObject} method.
3511
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3512
- * the JSPB instance for transitional soy proto support:
3513
- * http://goto/soy-param-migration
3514
- * @param {!proto.ReferenceIds} msg The msg instance to transform.
3515
- * @return {!Object}
3516
- * @suppress {unusedLocalVariables} f is only used for nested messages
3517
- */
3518
- proto.ReferenceIds.toObject = function(includeInstance, msg) {
3519
- var f, obj = {
3520
- referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
3521
- };
3522
-
3523
- if (includeInstance) {
3524
- obj.$jspbMessageInstance = msg;
3525
- }
3526
- return obj;
3527
- };
3528
- }
3529
-
3530
-
3531
- /**
3532
- * Deserializes binary data (in protobuf wire format).
3533
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3534
- * @return {!proto.ReferenceIds}
3535
- */
3536
- proto.ReferenceIds.deserializeBinary = function(bytes) {
3537
- var reader = new jspb.BinaryReader(bytes);
3538
- var msg = new proto.ReferenceIds;
3539
- return proto.ReferenceIds.deserializeBinaryFromReader(msg, reader);
3540
- };
3541
-
3542
-
3543
- /**
3544
- * Deserializes binary data (in protobuf wire format) from the
3545
- * given reader into the given message object.
3546
- * @param {!proto.ReferenceIds} msg The message object to deserialize into.
3547
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3548
- * @return {!proto.ReferenceIds}
3549
- */
3550
- proto.ReferenceIds.deserializeBinaryFromReader = function(msg, reader) {
3551
- while (reader.nextField()) {
3552
- if (reader.isEndGroup()) {
3553
- break;
3554
- }
3555
- var field = reader.getFieldNumber();
3556
- switch (field) {
3557
- case 1:
3558
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3559
- msg.addReferenceIds(value);
3560
- break;
3561
- default:
3562
- reader.skipField();
3563
- break;
3564
- }
3565
- }
3566
- return msg;
3567
- };
3568
-
3569
-
3570
- /**
3571
- * Serializes the message to binary data (in protobuf wire format).
3572
- * @return {!Uint8Array}
3573
- */
3574
- proto.ReferenceIds.prototype.serializeBinary = function() {
3575
- var writer = new jspb.BinaryWriter();
3576
- proto.ReferenceIds.serializeBinaryToWriter(this, writer);
3577
- return writer.getResultBuffer();
3578
- };
3579
-
3580
-
3581
- /**
3582
- * Serializes the given message to binary data (in protobuf wire
3583
- * format), writing to the given BinaryWriter.
3584
- * @param {!proto.ReferenceIds} message
3585
- * @param {!jspb.BinaryWriter} writer
3586
- * @suppress {unusedLocalVariables} f is only used for nested messages
3587
- */
3588
- proto.ReferenceIds.serializeBinaryToWriter = function(message, writer) {
3589
- var f = undefined;
3590
- f = message.getReferenceIdsList();
3591
- if (f.length > 0) {
3592
- writer.writeRepeatedString(
3593
- 1,
3594
- f
3595
- );
3596
- }
3597
- };
3598
-
3599
-
3600
- /**
3601
- * repeated string reference_ids = 1;
3602
- * @return {!Array<string>}
3603
- */
3604
- proto.ReferenceIds.prototype.getReferenceIdsList = function() {
3605
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
3606
- };
3607
-
3608
-
3609
- /**
3610
- * @param {!Array<string>} value
3611
- * @return {!proto.ReferenceIds} returns this
3612
- */
3613
- proto.ReferenceIds.prototype.setReferenceIdsList = function(value) {
3614
- return jspb.Message.setField(this, 1, value || []);
3615
- };
3616
-
3617
-
3618
- /**
3619
- * @param {string} value
3620
- * @param {number=} opt_index
3621
- * @return {!proto.ReferenceIds} returns this
3622
- */
3623
- proto.ReferenceIds.prototype.addReferenceIds = function(value, opt_index) {
3624
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
3625
- };
3626
-
3627
-
3628
- /**
3629
- * Clears the list making it empty but non-null.
3630
- * @return {!proto.ReferenceIds} returns this
3631
- */
3632
- proto.ReferenceIds.prototype.clearReferenceIdsList = function() {
3633
- return this.setReferenceIdsList([]);
3634
- };
3635
-
3636
-
3637
-
3638
-
3639
-
3640
- if (jspb.Message.GENERATE_TO_OBJECT) {
3641
- /**
3642
- * Creates an object representation of this proto.
3643
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3644
- * Optional fields that are not set will be set to undefined.
3645
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3646
- * For the list of reserved names please see:
3647
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3648
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3649
- * JSPB instance for transitional soy proto support:
3650
- * http://goto/soy-param-migration
3651
- * @return {!Object}
3652
- */
3653
- proto.EmptyMessage.prototype.toObject = function(opt_includeInstance) {
3654
- return proto.EmptyMessage.toObject(opt_includeInstance, this);
3655
- };
3656
-
3657
-
3658
- /**
3659
- * Static version of the {@see toObject} method.
3660
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3661
- * the JSPB instance for transitional soy proto support:
3662
- * http://goto/soy-param-migration
3663
- * @param {!proto.EmptyMessage} msg The msg instance to transform.
3664
- * @return {!Object}
3665
- * @suppress {unusedLocalVariables} f is only used for nested messages
3666
- */
3667
- proto.EmptyMessage.toObject = function(includeInstance, msg) {
3668
- var f, obj = {
3669
-
3670
- };
3671
-
3672
- if (includeInstance) {
3673
- obj.$jspbMessageInstance = msg;
3674
- }
3675
- return obj;
3676
- };
3677
- }
3678
-
3679
-
3680
- /**
3681
- * Deserializes binary data (in protobuf wire format).
3682
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3683
- * @return {!proto.EmptyMessage}
3684
- */
3685
- proto.EmptyMessage.deserializeBinary = function(bytes) {
3686
- var reader = new jspb.BinaryReader(bytes);
3687
- var msg = new proto.EmptyMessage;
3688
- return proto.EmptyMessage.deserializeBinaryFromReader(msg, reader);
3689
- };
3690
-
3691
-
3692
- /**
3693
- * Deserializes binary data (in protobuf wire format) from the
3694
- * given reader into the given message object.
3695
- * @param {!proto.EmptyMessage} msg The message object to deserialize into.
3696
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3697
- * @return {!proto.EmptyMessage}
3698
- */
3699
- proto.EmptyMessage.deserializeBinaryFromReader = function(msg, reader) {
3700
- while (reader.nextField()) {
3701
- if (reader.isEndGroup()) {
3702
- break;
3703
- }
3704
- var field = reader.getFieldNumber();
3705
- switch (field) {
3706
- default:
3707
- reader.skipField();
3708
- break;
3709
- }
3710
- }
3711
- return msg;
3712
- };
3713
-
3714
-
3715
- /**
3716
- * Serializes the message to binary data (in protobuf wire format).
3717
- * @return {!Uint8Array}
3718
- */
3719
- proto.EmptyMessage.prototype.serializeBinary = function() {
3720
- var writer = new jspb.BinaryWriter();
3721
- proto.EmptyMessage.serializeBinaryToWriter(this, writer);
3722
- return writer.getResultBuffer();
3723
- };
3724
-
3725
-
3726
- /**
3727
- * Serializes the given message to binary data (in protobuf wire
3728
- * format), writing to the given BinaryWriter.
3729
- * @param {!proto.EmptyMessage} message
3730
- * @param {!jspb.BinaryWriter} writer
3731
- * @suppress {unusedLocalVariables} f is only used for nested messages
3732
- */
3733
- proto.EmptyMessage.serializeBinaryToWriter = function(message, writer) {
3734
- var f = undefined;
3735
- };
3736
-
3737
-
3738
-
3739
-
3740
-
3741
- if (jspb.Message.GENERATE_TO_OBJECT) {
3742
- /**
3743
- * Creates an object representation of this proto.
3744
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3745
- * Optional fields that are not set will be set to undefined.
3746
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3747
- * For the list of reserved names please see:
3748
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3749
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3750
- * JSPB instance for transitional soy proto support:
3751
- * http://goto/soy-param-migration
3752
- * @return {!Object}
3753
- */
3754
- proto.ReferenceId.prototype.toObject = function(opt_includeInstance) {
3755
- return proto.ReferenceId.toObject(opt_includeInstance, this);
3756
- };
3757
-
3758
-
3759
- /**
3760
- * Static version of the {@see toObject} method.
3761
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3762
- * the JSPB instance for transitional soy proto support:
3763
- * http://goto/soy-param-migration
3764
- * @param {!proto.ReferenceId} msg The msg instance to transform.
3765
- * @return {!Object}
3766
- * @suppress {unusedLocalVariables} f is only used for nested messages
3767
- */
3768
- proto.ReferenceId.toObject = function(includeInstance, msg) {
3769
- var f, obj = {
3770
- referenceId: jspb.Message.getFieldWithDefault(msg, 1, "")
3771
- };
3772
-
3773
- if (includeInstance) {
3774
- obj.$jspbMessageInstance = msg;
3775
- }
3776
- return obj;
3777
- };
3778
- }
3779
-
3780
-
3781
- /**
3782
- * Deserializes binary data (in protobuf wire format).
3783
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3784
- * @return {!proto.ReferenceId}
3785
- */
3786
- proto.ReferenceId.deserializeBinary = function(bytes) {
3787
- var reader = new jspb.BinaryReader(bytes);
3788
- var msg = new proto.ReferenceId;
3789
- return proto.ReferenceId.deserializeBinaryFromReader(msg, reader);
3790
- };
3791
-
3792
-
3793
- /**
3794
- * Deserializes binary data (in protobuf wire format) from the
3795
- * given reader into the given message object.
3796
- * @param {!proto.ReferenceId} msg The message object to deserialize into.
3797
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3798
- * @return {!proto.ReferenceId}
3799
- */
3800
- proto.ReferenceId.deserializeBinaryFromReader = function(msg, reader) {
3801
- while (reader.nextField()) {
3802
- if (reader.isEndGroup()) {
3803
- break;
3804
- }
3805
- var field = reader.getFieldNumber();
3806
- switch (field) {
3807
- case 1:
3808
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3809
- msg.setReferenceId(value);
3810
- break;
3811
- default:
3812
- reader.skipField();
3813
- break;
3814
- }
3815
- }
3816
- return msg;
3817
- };
3818
-
3819
-
3820
- /**
3821
- * Serializes the message to binary data (in protobuf wire format).
3822
- * @return {!Uint8Array}
3823
- */
3824
- proto.ReferenceId.prototype.serializeBinary = function() {
3825
- var writer = new jspb.BinaryWriter();
3826
- proto.ReferenceId.serializeBinaryToWriter(this, writer);
3827
- return writer.getResultBuffer();
3828
- };
3829
-
3830
-
3831
- /**
3832
- * Serializes the given message to binary data (in protobuf wire
3833
- * format), writing to the given BinaryWriter.
3834
- * @param {!proto.ReferenceId} message
3835
- * @param {!jspb.BinaryWriter} writer
3836
- * @suppress {unusedLocalVariables} f is only used for nested messages
3837
- */
3838
- proto.ReferenceId.serializeBinaryToWriter = function(message, writer) {
3839
- var f = undefined;
3840
- f = message.getReferenceId();
3841
- if (f.length > 0) {
3842
- writer.writeString(
3843
- 1,
3844
- f
3845
- );
3846
- }
3847
- };
3848
-
3849
-
3850
- /**
3851
- * optional string reference_id = 1;
3852
- * @return {string}
3853
- */
3854
- proto.ReferenceId.prototype.getReferenceId = function() {
3855
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3856
- };
3857
-
3858
-
3859
- /**
3860
- * @param {string} value
3861
- * @return {!proto.ReferenceId} returns this
3862
- */
3863
- proto.ReferenceId.prototype.setReferenceId = function(value) {
3864
- return jspb.Message.setProto3StringField(this, 1, value);
3865
- };
3866
-
3867
-
3868
-
3869
- /**
3870
- * List of repeated fields within this message type.
3871
- * @private {!Array<number>}
3872
- * @const
3873
- */
3874
- proto.DeleteNotificationEmployeeReq.repeatedFields_ = [1];
3875
-
3876
-
3877
-
3878
- if (jspb.Message.GENERATE_TO_OBJECT) {
3879
- /**
3880
- * Creates an object representation of this proto.
3881
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3882
- * Optional fields that are not set will be set to undefined.
3883
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3884
- * For the list of reserved names please see:
3885
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3886
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3887
- * JSPB instance for transitional soy proto support:
3888
- * http://goto/soy-param-migration
3889
- * @return {!Object}
3890
- */
3891
- proto.DeleteNotificationEmployeeReq.prototype.toObject = function(opt_includeInstance) {
3892
- return proto.DeleteNotificationEmployeeReq.toObject(opt_includeInstance, this);
3893
- };
3894
-
3895
-
3896
- /**
3897
- * Static version of the {@see toObject} method.
3898
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3899
- * the JSPB instance for transitional soy proto support:
3900
- * http://goto/soy-param-migration
3901
- * @param {!proto.DeleteNotificationEmployeeReq} msg The msg instance to transform.
3902
- * @return {!Object}
3903
- * @suppress {unusedLocalVariables} f is only used for nested messages
3904
- */
3905
- proto.DeleteNotificationEmployeeReq.toObject = function(includeInstance, msg) {
3906
- var f, obj = {
3907
- referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
3908
- };
3909
-
3910
- if (includeInstance) {
3911
- obj.$jspbMessageInstance = msg;
3912
- }
3913
- return obj;
3914
- };
3915
- }
3916
-
3917
-
3918
- /**
3919
- * Deserializes binary data (in protobuf wire format).
3920
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3921
- * @return {!proto.DeleteNotificationEmployeeReq}
3922
- */
3923
- proto.DeleteNotificationEmployeeReq.deserializeBinary = function(bytes) {
3924
- var reader = new jspb.BinaryReader(bytes);
3925
- var msg = new proto.DeleteNotificationEmployeeReq;
3926
- return proto.DeleteNotificationEmployeeReq.deserializeBinaryFromReader(msg, reader);
3927
- };
3928
-
3929
-
3930
- /**
3931
- * Deserializes binary data (in protobuf wire format) from the
3932
- * given reader into the given message object.
3933
- * @param {!proto.DeleteNotificationEmployeeReq} msg The message object to deserialize into.
3934
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3935
- * @return {!proto.DeleteNotificationEmployeeReq}
3936
- */
3937
- proto.DeleteNotificationEmployeeReq.deserializeBinaryFromReader = function(msg, reader) {
3938
- while (reader.nextField()) {
3939
- if (reader.isEndGroup()) {
3940
- break;
3941
- }
3942
- var field = reader.getFieldNumber();
3943
- switch (field) {
3944
- case 1:
3945
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3946
- msg.addReferenceIds(value);
3947
- break;
3948
- default:
3949
- reader.skipField();
3950
- break;
3951
- }
3952
- }
3953
- return msg;
3954
- };
3955
-
3956
-
3957
- /**
3958
- * Serializes the message to binary data (in protobuf wire format).
3959
- * @return {!Uint8Array}
3960
- */
3961
- proto.DeleteNotificationEmployeeReq.prototype.serializeBinary = function() {
3962
- var writer = new jspb.BinaryWriter();
3963
- proto.DeleteNotificationEmployeeReq.serializeBinaryToWriter(this, writer);
3964
- return writer.getResultBuffer();
3965
- };
3966
-
3967
-
3968
- /**
3969
- * Serializes the given message to binary data (in protobuf wire
3970
- * format), writing to the given BinaryWriter.
3971
- * @param {!proto.DeleteNotificationEmployeeReq} message
3972
- * @param {!jspb.BinaryWriter} writer
3973
- * @suppress {unusedLocalVariables} f is only used for nested messages
3974
- */
3975
- proto.DeleteNotificationEmployeeReq.serializeBinaryToWriter = function(message, writer) {
3976
- var f = undefined;
3977
- f = message.getReferenceIdsList();
3978
- if (f.length > 0) {
3979
- writer.writeRepeatedString(
3980
- 1,
3981
- f
3982
- );
3983
- }
3984
- };
3985
-
3986
-
3987
- /**
3988
- * repeated string reference_ids = 1;
3989
- * @return {!Array<string>}
3990
- */
3991
- proto.DeleteNotificationEmployeeReq.prototype.getReferenceIdsList = function() {
3992
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
3993
- };
3994
-
3995
-
3996
- /**
3997
- * @param {!Array<string>} value
3998
- * @return {!proto.DeleteNotificationEmployeeReq} returns this
3999
- */
4000
- proto.DeleteNotificationEmployeeReq.prototype.setReferenceIdsList = function(value) {
4001
- return jspb.Message.setField(this, 1, value || []);
4002
- };
4003
-
4004
-
4005
- /**
4006
- * @param {string} value
4007
- * @param {number=} opt_index
4008
- * @return {!proto.DeleteNotificationEmployeeReq} returns this
4009
- */
4010
- proto.DeleteNotificationEmployeeReq.prototype.addReferenceIds = function(value, opt_index) {
4011
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
4012
- };
4013
-
4014
-
4015
- /**
4016
- * Clears the list making it empty but non-null.
4017
- * @return {!proto.DeleteNotificationEmployeeReq} returns this
4018
- */
4019
- proto.DeleteNotificationEmployeeReq.prototype.clearReferenceIdsList = function() {
4020
- return this.setReferenceIdsList([]);
4021
- };
4022
-
4023
-
4024
-
4025
- /**
4026
- * List of repeated fields within this message type.
4027
- * @private {!Array<number>}
4028
- * @const
4029
- */
4030
- proto.DeleteNotificationEmployeeRes.repeatedFields_ = [1];
4031
-
4032
-
4033
-
4034
- if (jspb.Message.GENERATE_TO_OBJECT) {
4035
- /**
4036
- * Creates an object representation of this proto.
4037
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
4038
- * Optional fields that are not set will be set to undefined.
4039
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4040
- * For the list of reserved names please see:
4041
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4042
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4043
- * JSPB instance for transitional soy proto support:
4044
- * http://goto/soy-param-migration
4045
- * @return {!Object}
4046
- */
4047
- proto.DeleteNotificationEmployeeRes.prototype.toObject = function(opt_includeInstance) {
4048
- return proto.DeleteNotificationEmployeeRes.toObject(opt_includeInstance, this);
4049
- };
4050
-
4051
-
4052
- /**
4053
- * Static version of the {@see toObject} method.
4054
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4055
- * the JSPB instance for transitional soy proto support:
4056
- * http://goto/soy-param-migration
4057
- * @param {!proto.DeleteNotificationEmployeeRes} msg The msg instance to transform.
4058
- * @return {!Object}
4059
- * @suppress {unusedLocalVariables} f is only used for nested messages
4060
- */
4061
- proto.DeleteNotificationEmployeeRes.toObject = function(includeInstance, msg) {
4062
- var f, obj = {
4063
- referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
4064
- meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
4065
- };
4066
-
4067
- if (includeInstance) {
4068
- obj.$jspbMessageInstance = msg;
4069
- }
4070
- return obj;
4071
- };
4072
- }
4073
-
4074
-
4075
- /**
4076
- * Deserializes binary data (in protobuf wire format).
4077
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
4078
- * @return {!proto.DeleteNotificationEmployeeRes}
4079
- */
4080
- proto.DeleteNotificationEmployeeRes.deserializeBinary = function(bytes) {
4081
- var reader = new jspb.BinaryReader(bytes);
4082
- var msg = new proto.DeleteNotificationEmployeeRes;
4083
- return proto.DeleteNotificationEmployeeRes.deserializeBinaryFromReader(msg, reader);
4084
- };
4085
-
4086
-
4087
- /**
4088
- * Deserializes binary data (in protobuf wire format) from the
4089
- * given reader into the given message object.
4090
- * @param {!proto.DeleteNotificationEmployeeRes} msg The message object to deserialize into.
4091
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4092
- * @return {!proto.DeleteNotificationEmployeeRes}
4093
- */
4094
- proto.DeleteNotificationEmployeeRes.deserializeBinaryFromReader = function(msg, reader) {
4095
- while (reader.nextField()) {
4096
- if (reader.isEndGroup()) {
4097
- break;
4098
- }
4099
- var field = reader.getFieldNumber();
4100
- switch (field) {
4101
- case 1:
4102
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
4103
- msg.addReferenceIds(value);
4104
- break;
4105
- case 2:
4106
- var value = new prisca_v1_global_meta_meta_pb.Meta;
4107
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
4108
- msg.setMeta(value);
4109
- break;
4110
- default:
4111
- reader.skipField();
4112
- break;
4113
- }
4114
- }
4115
- return msg;
4116
- };
4117
-
4118
-
4119
- /**
4120
- * Serializes the message to binary data (in protobuf wire format).
4121
- * @return {!Uint8Array}
4122
- */
4123
- proto.DeleteNotificationEmployeeRes.prototype.serializeBinary = function() {
4124
- var writer = new jspb.BinaryWriter();
4125
- proto.DeleteNotificationEmployeeRes.serializeBinaryToWriter(this, writer);
4126
- return writer.getResultBuffer();
4127
- };
4128
-
4129
-
4130
- /**
4131
- * Serializes the given message to binary data (in protobuf wire
4132
- * format), writing to the given BinaryWriter.
4133
- * @param {!proto.DeleteNotificationEmployeeRes} message
4134
- * @param {!jspb.BinaryWriter} writer
4135
- * @suppress {unusedLocalVariables} f is only used for nested messages
4136
- */
4137
- proto.DeleteNotificationEmployeeRes.serializeBinaryToWriter = function(message, writer) {
4138
- var f = undefined;
4139
- f = message.getReferenceIdsList();
4140
- if (f.length > 0) {
4141
- writer.writeRepeatedString(
4142
- 1,
4143
- f
4144
- );
4145
- }
4146
- f = message.getMeta();
4147
- if (f != null) {
4148
- writer.writeMessage(
4149
- 2,
4150
- f,
4151
- prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
4152
- );
4153
- }
4154
- };
4155
-
4156
-
4157
- /**
4158
- * repeated string reference_ids = 1;
4159
- * @return {!Array<string>}
4160
- */
4161
- proto.DeleteNotificationEmployeeRes.prototype.getReferenceIdsList = function() {
4162
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
4163
- };
4164
-
4165
-
4166
- /**
4167
- * @param {!Array<string>} value
4168
- * @return {!proto.DeleteNotificationEmployeeRes} returns this
4169
- */
4170
- proto.DeleteNotificationEmployeeRes.prototype.setReferenceIdsList = function(value) {
4171
- return jspb.Message.setField(this, 1, value || []);
4172
- };
4173
-
4174
-
4175
- /**
4176
- * @param {string} value
4177
- * @param {number=} opt_index
4178
- * @return {!proto.DeleteNotificationEmployeeRes} returns this
4179
- */
4180
- proto.DeleteNotificationEmployeeRes.prototype.addReferenceIds = function(value, opt_index) {
4181
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
4182
- };
4183
-
4184
-
4185
- /**
4186
- * Clears the list making it empty but non-null.
4187
- * @return {!proto.DeleteNotificationEmployeeRes} returns this
4188
- */
4189
- proto.DeleteNotificationEmployeeRes.prototype.clearReferenceIdsList = function() {
4190
- return this.setReferenceIdsList([]);
4191
- };
4192
-
4193
-
4194
- /**
4195
- * optional prisca.v1.global.meta.Meta meta = 2;
4196
- * @return {?proto.prisca.v1.global.meta.Meta}
4197
- */
4198
- proto.DeleteNotificationEmployeeRes.prototype.getMeta = function() {
4199
- return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
4200
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
4201
- };
4202
-
4203
-
4204
- /**
4205
- * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
4206
- * @return {!proto.DeleteNotificationEmployeeRes} returns this
4207
- */
4208
- proto.DeleteNotificationEmployeeRes.prototype.setMeta = function(value) {
4209
- return jspb.Message.setWrapperField(this, 2, value);
4210
- };
4211
-
4212
-
4213
- /**
4214
- * Clears the message field making it undefined.
4215
- * @return {!proto.DeleteNotificationEmployeeRes} returns this
4216
- */
4217
- proto.DeleteNotificationEmployeeRes.prototype.clearMeta = function() {
4218
- return this.setMeta(undefined);
4219
- };
4220
-
4221
-
4222
- /**
4223
- * Returns whether this field is set.
4224
- * @return {boolean}
4225
- */
4226
- proto.DeleteNotificationEmployeeRes.prototype.hasMeta = function() {
4227
- return jspb.Message.getField(this, 2) != null;
4228
- };
4229
-
4230
-
4231
-
4232
- /**
4233
- * List of repeated fields within this message type.
4234
- * @private {!Array<number>}
4235
- * @const
4236
- */
4237
- proto.DeleteNotificationVendorReq.repeatedFields_ = [1];
4238
-
4239
-
4240
-
4241
- if (jspb.Message.GENERATE_TO_OBJECT) {
4242
- /**
4243
- * Creates an object representation of this proto.
4244
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
4245
- * Optional fields that are not set will be set to undefined.
4246
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4247
- * For the list of reserved names please see:
4248
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4249
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4250
- * JSPB instance for transitional soy proto support:
4251
- * http://goto/soy-param-migration
4252
- * @return {!Object}
4253
- */
4254
- proto.DeleteNotificationVendorReq.prototype.toObject = function(opt_includeInstance) {
4255
- return proto.DeleteNotificationVendorReq.toObject(opt_includeInstance, this);
4256
- };
4257
-
4258
-
4259
- /**
4260
- * Static version of the {@see toObject} method.
4261
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4262
- * the JSPB instance for transitional soy proto support:
4263
- * http://goto/soy-param-migration
4264
- * @param {!proto.DeleteNotificationVendorReq} msg The msg instance to transform.
4265
- * @return {!Object}
4266
- * @suppress {unusedLocalVariables} f is only used for nested messages
4267
- */
4268
- proto.DeleteNotificationVendorReq.toObject = function(includeInstance, msg) {
4269
- var f, obj = {
4270
- referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
4271
- };
4272
-
4273
- if (includeInstance) {
4274
- obj.$jspbMessageInstance = msg;
4275
- }
4276
- return obj;
4277
- };
4278
- }
4279
-
4280
-
4281
- /**
4282
- * Deserializes binary data (in protobuf wire format).
4283
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
4284
- * @return {!proto.DeleteNotificationVendorReq}
4285
- */
4286
- proto.DeleteNotificationVendorReq.deserializeBinary = function(bytes) {
4287
- var reader = new jspb.BinaryReader(bytes);
4288
- var msg = new proto.DeleteNotificationVendorReq;
4289
- return proto.DeleteNotificationVendorReq.deserializeBinaryFromReader(msg, reader);
4290
- };
4291
-
4292
-
4293
- /**
4294
- * Deserializes binary data (in protobuf wire format) from the
4295
- * given reader into the given message object.
4296
- * @param {!proto.DeleteNotificationVendorReq} msg The message object to deserialize into.
4297
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4298
- * @return {!proto.DeleteNotificationVendorReq}
4299
- */
4300
- proto.DeleteNotificationVendorReq.deserializeBinaryFromReader = function(msg, reader) {
4301
- while (reader.nextField()) {
4302
- if (reader.isEndGroup()) {
4303
- break;
4304
- }
4305
- var field = reader.getFieldNumber();
4306
- switch (field) {
4307
- case 1:
4308
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
4309
- msg.addReferenceIds(value);
4310
- break;
4311
- default:
4312
- reader.skipField();
4313
- break;
4314
- }
4315
- }
4316
- return msg;
4317
- };
4318
-
4319
-
4320
- /**
4321
- * Serializes the message to binary data (in protobuf wire format).
4322
- * @return {!Uint8Array}
4323
- */
4324
- proto.DeleteNotificationVendorReq.prototype.serializeBinary = function() {
4325
- var writer = new jspb.BinaryWriter();
4326
- proto.DeleteNotificationVendorReq.serializeBinaryToWriter(this, writer);
4327
- return writer.getResultBuffer();
4328
- };
4329
-
4330
-
4331
- /**
4332
- * Serializes the given message to binary data (in protobuf wire
4333
- * format), writing to the given BinaryWriter.
4334
- * @param {!proto.DeleteNotificationVendorReq} message
4335
- * @param {!jspb.BinaryWriter} writer
4336
- * @suppress {unusedLocalVariables} f is only used for nested messages
4337
- */
4338
- proto.DeleteNotificationVendorReq.serializeBinaryToWriter = function(message, writer) {
4339
- var f = undefined;
4340
- f = message.getReferenceIdsList();
4341
- if (f.length > 0) {
4342
- writer.writeRepeatedString(
4343
- 1,
4344
- f
4345
- );
4346
- }
4347
- };
4348
-
4349
-
4350
- /**
4351
- * repeated string reference_ids = 1;
4352
- * @return {!Array<string>}
4353
- */
4354
- proto.DeleteNotificationVendorReq.prototype.getReferenceIdsList = function() {
4355
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
4356
- };
4357
-
4358
-
4359
- /**
4360
- * @param {!Array<string>} value
4361
- * @return {!proto.DeleteNotificationVendorReq} returns this
4362
- */
4363
- proto.DeleteNotificationVendorReq.prototype.setReferenceIdsList = function(value) {
4364
- return jspb.Message.setField(this, 1, value || []);
4365
- };
4366
-
4367
-
4368
- /**
4369
- * @param {string} value
4370
- * @param {number=} opt_index
4371
- * @return {!proto.DeleteNotificationVendorReq} returns this
4372
- */
4373
- proto.DeleteNotificationVendorReq.prototype.addReferenceIds = function(value, opt_index) {
4374
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
4375
- };
4376
-
4377
-
4378
- /**
4379
- * Clears the list making it empty but non-null.
4380
- * @return {!proto.DeleteNotificationVendorReq} returns this
4381
- */
4382
- proto.DeleteNotificationVendorReq.prototype.clearReferenceIdsList = function() {
4383
- return this.setReferenceIdsList([]);
4384
- };
4385
-
4386
-
4387
-
4388
- /**
4389
- * List of repeated fields within this message type.
4390
- * @private {!Array<number>}
4391
- * @const
4392
- */
4393
- proto.DeleteNotificationVendorRes.repeatedFields_ = [1];
4394
-
4395
-
4396
-
4397
- if (jspb.Message.GENERATE_TO_OBJECT) {
4398
- /**
4399
- * Creates an object representation of this proto.
4400
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
4401
- * Optional fields that are not set will be set to undefined.
4402
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4403
- * For the list of reserved names please see:
4404
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4405
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4406
- * JSPB instance for transitional soy proto support:
4407
- * http://goto/soy-param-migration
4408
- * @return {!Object}
4409
- */
4410
- proto.DeleteNotificationVendorRes.prototype.toObject = function(opt_includeInstance) {
4411
- return proto.DeleteNotificationVendorRes.toObject(opt_includeInstance, this);
4412
- };
4413
-
4414
-
4415
- /**
4416
- * Static version of the {@see toObject} method.
4417
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4418
- * the JSPB instance for transitional soy proto support:
4419
- * http://goto/soy-param-migration
4420
- * @param {!proto.DeleteNotificationVendorRes} msg The msg instance to transform.
4421
- * @return {!Object}
4422
- * @suppress {unusedLocalVariables} f is only used for nested messages
4423
- */
4424
- proto.DeleteNotificationVendorRes.toObject = function(includeInstance, msg) {
4425
- var f, obj = {
4426
- referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
4427
- meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
4428
- };
4429
-
4430
- if (includeInstance) {
4431
- obj.$jspbMessageInstance = msg;
4432
- }
4433
- return obj;
4434
- };
4435
- }
4436
-
4437
-
4438
- /**
4439
- * Deserializes binary data (in protobuf wire format).
4440
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
4441
- * @return {!proto.DeleteNotificationVendorRes}
4442
- */
4443
- proto.DeleteNotificationVendorRes.deserializeBinary = function(bytes) {
4444
- var reader = new jspb.BinaryReader(bytes);
4445
- var msg = new proto.DeleteNotificationVendorRes;
4446
- return proto.DeleteNotificationVendorRes.deserializeBinaryFromReader(msg, reader);
4447
- };
4448
-
4449
-
4450
- /**
4451
- * Deserializes binary data (in protobuf wire format) from the
4452
- * given reader into the given message object.
4453
- * @param {!proto.DeleteNotificationVendorRes} msg The message object to deserialize into.
4454
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4455
- * @return {!proto.DeleteNotificationVendorRes}
4456
- */
4457
- proto.DeleteNotificationVendorRes.deserializeBinaryFromReader = function(msg, reader) {
4458
- while (reader.nextField()) {
4459
- if (reader.isEndGroup()) {
4460
- break;
4461
- }
4462
- var field = reader.getFieldNumber();
4463
- switch (field) {
4464
- case 1:
4465
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
4466
- msg.addReferenceIds(value);
4467
- break;
4468
- case 2:
4469
- var value = new prisca_v1_global_meta_meta_pb.Meta;
4470
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
4471
- msg.setMeta(value);
4472
- break;
4473
- default:
4474
- reader.skipField();
4475
- break;
4476
- }
4477
- }
4478
- return msg;
4479
- };
4480
-
4481
-
4482
- /**
4483
- * Serializes the message to binary data (in protobuf wire format).
4484
- * @return {!Uint8Array}
4485
- */
4486
- proto.DeleteNotificationVendorRes.prototype.serializeBinary = function() {
4487
- var writer = new jspb.BinaryWriter();
4488
- proto.DeleteNotificationVendorRes.serializeBinaryToWriter(this, writer);
4489
- return writer.getResultBuffer();
4490
- };
4491
-
4492
-
4493
- /**
4494
- * Serializes the given message to binary data (in protobuf wire
4495
- * format), writing to the given BinaryWriter.
4496
- * @param {!proto.DeleteNotificationVendorRes} message
4497
- * @param {!jspb.BinaryWriter} writer
4498
- * @suppress {unusedLocalVariables} f is only used for nested messages
4499
- */
4500
- proto.DeleteNotificationVendorRes.serializeBinaryToWriter = function(message, writer) {
4501
- var f = undefined;
4502
- f = message.getReferenceIdsList();
4503
- if (f.length > 0) {
4504
- writer.writeRepeatedString(
4505
- 1,
4506
- f
4507
- );
4508
- }
4509
- f = message.getMeta();
4510
- if (f != null) {
4511
- writer.writeMessage(
4512
- 2,
4513
- f,
4514
- prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
4515
- );
4516
- }
4517
- };
4518
-
4519
-
4520
- /**
4521
- * repeated string reference_ids = 1;
4522
- * @return {!Array<string>}
4523
- */
4524
- proto.DeleteNotificationVendorRes.prototype.getReferenceIdsList = function() {
4525
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
4526
- };
4527
-
4528
-
4529
- /**
4530
- * @param {!Array<string>} value
4531
- * @return {!proto.DeleteNotificationVendorRes} returns this
4532
- */
4533
- proto.DeleteNotificationVendorRes.prototype.setReferenceIdsList = function(value) {
4534
- return jspb.Message.setField(this, 1, value || []);
4535
- };
4536
-
4537
-
4538
- /**
4539
- * @param {string} value
4540
- * @param {number=} opt_index
4541
- * @return {!proto.DeleteNotificationVendorRes} returns this
4542
- */
4543
- proto.DeleteNotificationVendorRes.prototype.addReferenceIds = function(value, opt_index) {
4544
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
4545
- };
4546
-
4547
-
4548
- /**
4549
- * Clears the list making it empty but non-null.
4550
- * @return {!proto.DeleteNotificationVendorRes} returns this
4551
- */
4552
- proto.DeleteNotificationVendorRes.prototype.clearReferenceIdsList = function() {
4553
- return this.setReferenceIdsList([]);
4554
- };
4555
-
4556
-
4557
- /**
4558
- * optional prisca.v1.global.meta.Meta meta = 2;
4559
- * @return {?proto.prisca.v1.global.meta.Meta}
4560
- */
4561
- proto.DeleteNotificationVendorRes.prototype.getMeta = function() {
4562
- return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
4563
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
4564
- };
4565
-
4566
-
4567
- /**
4568
- * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
4569
- * @return {!proto.DeleteNotificationVendorRes} returns this
4570
- */
4571
- proto.DeleteNotificationVendorRes.prototype.setMeta = function(value) {
4572
- return jspb.Message.setWrapperField(this, 2, value);
4573
- };
4574
-
4575
-
4576
- /**
4577
- * Clears the message field making it undefined.
4578
- * @return {!proto.DeleteNotificationVendorRes} returns this
4579
- */
4580
- proto.DeleteNotificationVendorRes.prototype.clearMeta = function() {
4581
- return this.setMeta(undefined);
4582
- };
4583
-
4584
-
4585
- /**
4586
- * Returns whether this field is set.
4587
- * @return {boolean}
4588
- */
4589
- proto.DeleteNotificationVendorRes.prototype.hasMeta = function() {
4590
- return jspb.Message.getField(this, 2) != null;
4591
- };
4592
-
4593
-
4594
-
4595
-
4596
-
4597
- if (jspb.Message.GENERATE_TO_OBJECT) {
4598
- /**
4599
- * Creates an object representation of this proto.
4600
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
4601
- * Optional fields that are not set will be set to undefined.
4602
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4603
- * For the list of reserved names please see:
4604
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4605
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4606
- * JSPB instance for transitional soy proto support:
4607
- * http://goto/soy-param-migration
4608
- * @return {!Object}
4609
- */
4610
- proto.CountUnreadNotificationRes.prototype.toObject = function(opt_includeInstance) {
4611
- return proto.CountUnreadNotificationRes.toObject(opt_includeInstance, this);
4612
- };
4613
-
4614
-
4615
- /**
4616
- * Static version of the {@see toObject} method.
4617
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4618
- * the JSPB instance for transitional soy proto support:
4619
- * http://goto/soy-param-migration
4620
- * @param {!proto.CountUnreadNotificationRes} msg The msg instance to transform.
4621
- * @return {!Object}
4622
- * @suppress {unusedLocalVariables} f is only used for nested messages
4623
- */
4624
- proto.CountUnreadNotificationRes.toObject = function(includeInstance, msg) {
4625
- var f, obj = {
4626
- count: jspb.Message.getFieldWithDefault(msg, 1, 0),
4627
- meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
4628
- };
4629
-
4630
- if (includeInstance) {
4631
- obj.$jspbMessageInstance = msg;
4632
- }
4633
- return obj;
4634
- };
4635
- }
4636
-
4637
-
4638
- /**
4639
- * Deserializes binary data (in protobuf wire format).
4640
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
4641
- * @return {!proto.CountUnreadNotificationRes}
4642
- */
4643
- proto.CountUnreadNotificationRes.deserializeBinary = function(bytes) {
4644
- var reader = new jspb.BinaryReader(bytes);
4645
- var msg = new proto.CountUnreadNotificationRes;
4646
- return proto.CountUnreadNotificationRes.deserializeBinaryFromReader(msg, reader);
4647
- };
4648
-
4649
-
4650
- /**
4651
- * Deserializes binary data (in protobuf wire format) from the
4652
- * given reader into the given message object.
4653
- * @param {!proto.CountUnreadNotificationRes} msg The message object to deserialize into.
4654
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4655
- * @return {!proto.CountUnreadNotificationRes}
4656
- */
4657
- proto.CountUnreadNotificationRes.deserializeBinaryFromReader = function(msg, reader) {
4658
- while (reader.nextField()) {
4659
- if (reader.isEndGroup()) {
4660
- break;
4661
- }
4662
- var field = reader.getFieldNumber();
4663
- switch (field) {
4664
- case 1:
4665
- var value = /** @type {number} */ (reader.readInt64());
4666
- msg.setCount(value);
4667
- break;
4668
- case 2:
4669
- var value = new prisca_v1_global_meta_meta_pb.Meta;
4670
- reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
4671
- msg.setMeta(value);
4672
- break;
4673
- default:
4674
- reader.skipField();
4675
- break;
4676
- }
4677
- }
4678
- return msg;
4679
- };
4680
-
4681
-
4682
- /**
4683
- * Serializes the message to binary data (in protobuf wire format).
4684
- * @return {!Uint8Array}
4685
- */
4686
- proto.CountUnreadNotificationRes.prototype.serializeBinary = function() {
4687
- var writer = new jspb.BinaryWriter();
4688
- proto.CountUnreadNotificationRes.serializeBinaryToWriter(this, writer);
4689
- return writer.getResultBuffer();
4690
- };
4691
-
4692
-
4693
- /**
4694
- * Serializes the given message to binary data (in protobuf wire
4695
- * format), writing to the given BinaryWriter.
4696
- * @param {!proto.CountUnreadNotificationRes} message
4697
- * @param {!jspb.BinaryWriter} writer
4698
- * @suppress {unusedLocalVariables} f is only used for nested messages
4699
- */
4700
- proto.CountUnreadNotificationRes.serializeBinaryToWriter = function(message, writer) {
4701
- var f = undefined;
4702
- f = message.getCount();
4703
- if (f !== 0) {
4704
- writer.writeInt64(
4705
- 1,
4706
- f
4707
- );
4708
- }
4709
- f = message.getMeta();
4710
- if (f != null) {
4711
- writer.writeMessage(
4712
- 2,
4713
- f,
4714
- prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
4715
- );
4716
- }
4717
- };
4718
-
4719
-
4720
- /**
4721
- * optional int64 count = 1;
4722
- * @return {number}
4723
- */
4724
- proto.CountUnreadNotificationRes.prototype.getCount = function() {
4725
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
4726
- };
4727
-
4728
-
4729
- /**
4730
- * @param {number} value
4731
- * @return {!proto.CountUnreadNotificationRes} returns this
4732
- */
4733
- proto.CountUnreadNotificationRes.prototype.setCount = function(value) {
4734
- return jspb.Message.setProto3IntField(this, 1, value);
4735
- };
4736
-
4737
-
4738
- /**
4739
- * optional prisca.v1.global.meta.Meta meta = 2;
4740
- * @return {?proto.prisca.v1.global.meta.Meta}
4741
- */
4742
- proto.CountUnreadNotificationRes.prototype.getMeta = function() {
4743
- return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
4744
- jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
4745
- };
4746
-
4747
-
4748
- /**
4749
- * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
4750
- * @return {!proto.CountUnreadNotificationRes} returns this
4751
- */
4752
- proto.CountUnreadNotificationRes.prototype.setMeta = function(value) {
4753
- return jspb.Message.setWrapperField(this, 2, value);
4754
- };
4755
-
4756
-
4757
- /**
4758
- * Clears the message field making it undefined.
4759
- * @return {!proto.CountUnreadNotificationRes} returns this
4760
- */
4761
- proto.CountUnreadNotificationRes.prototype.clearMeta = function() {
4762
- return this.setMeta(undefined);
4763
- };
4764
-
4765
-
4766
- /**
4767
- * Returns whether this field is set.
4768
- * @return {boolean}
4769
- */
4770
- proto.CountUnreadNotificationRes.prototype.hasMeta = function() {
4771
- return jspb.Message.getField(this, 2) != null;
4772
- };
4773
-
4774
-
4775
- goog.object.extend(exports, proto);