@aldiokta/protocgen 1.1.43 → 1.1.45

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