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