@aldiokta/protocgen 1.1.22 → 1.1.23

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