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