@aldiokta/protocgen 1.1.8 → 1.1.19

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 (158) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/account_assignment/account_assignment.proto +79 -0
  3. package/prisca/v1/account_group/account_group.proto +86 -0
  4. package/prisca/v1/bidding/bidding.proto +159 -0
  5. package/prisca/v1/chart_of_account/chart_of_account.proto +87 -0
  6. package/prisca/v1/core/access_manager/access_manager.proto +281 -0
  7. package/prisca/v1/core/auth/auth.proto +150 -0
  8. package/prisca/v1/core/chat_messaging/chat_messaging.proto +55 -0
  9. package/prisca/v1/core/company/company.proto +92 -0
  10. package/prisca/v1/core/currency/currency.proto +76 -0
  11. package/prisca/v1/core/department_material/department_material.proto +69 -0
  12. package/prisca/v1/core/employee/employee.proto +129 -0
  13. package/prisca/v1/core/file_upload/file_upload.proto +31 -0
  14. package/prisca/v1/core/incoterm/incoterm.proto +76 -0
  15. package/prisca/v1/core/item_transaction/item_transaction.proto +120 -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 +42 -0
  20. package/prisca/v1/core/line_of_approval/line_of_approval.proto +94 -0
  21. package/prisca/v1/core/link_data_source/link_data_source.proto +78 -0
  22. package/prisca/v1/core/location/location.proto +289 -0
  23. package/prisca/v1/core/material/material.proto +131 -0
  24. package/prisca/v1/core/material_group/material_group.proto +85 -0
  25. package/prisca/v1/core/material_type/material_type.proto +86 -0
  26. package/prisca/v1/core/messaging/email_template.proto +75 -0
  27. package/prisca/v1/core/messaging/messaging.proto +29 -0
  28. package/prisca/v1/core/number_range/number_range.proto +89 -0
  29. package/prisca/v1/core/organization/organization.proto +94 -0
  30. package/prisca/v1/core/organization_level/organization_level.proto +77 -0
  31. package/prisca/v1/core/price_condition/price_condition.proto +83 -0
  32. package/prisca/v1/core/procurement/procurement.proto +54 -0
  33. package/prisca/v1/core/recipient_roles/recipient_roles.proto +10 -0
  34. package/prisca/v1/core/report/report.proto +90 -0
  35. package/prisca/v1/core/report/user_report.proto +74 -0
  36. package/prisca/v1/core/tax_code/tax_code.proto +77 -0
  37. package/prisca/v1/core/term_of_payment/term_of_payment.proto +64 -0
  38. package/prisca/v1/core/transaction_builder/transaction_builder.proto +325 -0
  39. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +88 -0
  40. package/prisca/v1/core/users/users.proto +45 -0
  41. package/prisca/v1/core/work_location/work_location.proto +122 -0
  42. package/prisca/v1/core/workflow/workflow.proto +216 -0
  43. package/prisca/v1/document_type/document_type.proto +80 -0
  44. package/prisca/v1/general_ledger_account/general_ledger_account.proto +98 -0
  45. package/prisca/v1/global/meta/meta.proto +57 -0
  46. package/prisca/v1/purchase_order/purchase_order.proto +155 -0
  47. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto +304 -0
  48. package/prisca/v1/purchasing_group/purchasing_group.proto +87 -0
  49. package/prisca/v1/purchasing_organization/purchasing_organization.proto +68 -0
  50. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.proto +70 -0
  51. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.proto +80 -0
  52. package/prisca/v1/quotation/quotation.proto +82 -0
  53. package/prisca/v1/request_for_quotation/request_for_quotation.proto +166 -0
  54. package/prisca/v1/vendor_domain/vendor_domain.proto +225 -0
  55. package/prisca/v1/account_assignment/account_assignment_grpc_pb.js +0 -199
  56. package/prisca/v1/account_assignment/account_assignment_pb.js +0 -2674
  57. package/prisca/v1/account_group/account_group_grpc_pb.js +0 -200
  58. package/prisca/v1/account_group/account_group_pb.js +0 -2937
  59. package/prisca/v1/bidding/bidding_grpc_pb.js +0 -119
  60. package/prisca/v1/bidding/bidding_pb.js +0 -3152
  61. package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +0 -199
  62. package/prisca/v1/chart_of_account/chart_of_account_pb.js +0 -2907
  63. package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +0 -544
  64. package/prisca/v1/core/access_manager/access_manager_pb.js +0 -9383
  65. package/prisca/v1/core/auth/auth_grpc_pb.js +0 -423
  66. package/prisca/v1/core/auth/auth_pb.js +0 -4497
  67. package/prisca/v1/core/chat_messaging/chat_messaging_grpc_pb.js +0 -111
  68. package/prisca/v1/core/chat_messaging/chat_messaging_pb.js +0 -1531
  69. package/prisca/v1/core/company/company_grpc_pb.js +0 -178
  70. package/prisca/v1/core/company/company_pb.js +0 -3048
  71. package/prisca/v1/core/currency/currency_grpc_pb.js +0 -177
  72. package/prisca/v1/core/currency/currency_pb.js +0 -2522
  73. package/prisca/v1/core/department_material/department_material_grpc_pb.js +0 -144
  74. package/prisca/v1/core/department_material/department_material_pb.js +0 -2167
  75. package/prisca/v1/core/employee/employee_grpc_pb.js +0 -206
  76. package/prisca/v1/core/employee/employee_pb.js +0 -4283
  77. package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +0 -44
  78. package/prisca/v1/core/file_upload/file_upload_pb.js +0 -872
  79. package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +0 -144
  80. package/prisca/v1/core/incoterm/incoterm_pb.js +0 -2497
  81. package/prisca/v1/core/item_transaction/item_transaction_grpc_pb.js +0 -1
  82. package/prisca/v1/core/item_transaction/item_transaction_pb.js +0 -3880
  83. package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +0 -178
  84. package/prisca/v1/core/job_grade/job_grade_pb.js +0 -2605
  85. package/prisca/v1/core/job_position/job_position_grpc_pb.js +0 -181
  86. package/prisca/v1/core/job_position/job_position_pb.js +0 -3762
  87. package/prisca/v1/core/job_title/job_title_grpc_pb.js +0 -178
  88. package/prisca/v1/core/job_title/job_title_pb.js +0 -2958
  89. package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +0 -45
  90. package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +0 -1188
  91. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +0 -200
  92. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +0 -3191
  93. package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +0 -177
  94. package/prisca/v1/core/link_data_source/link_data_source_pb.js +0 -2612
  95. package/prisca/v1/core/location/location_grpc_pb.js +0 -837
  96. package/prisca/v1/core/location/location_pb.js +0 -10879
  97. package/prisca/v1/core/material/material_grpc_pb.js +0 -182
  98. package/prisca/v1/core/material/material_pb.js +0 -4180
  99. package/prisca/v1/core/material_group/material_group_grpc_pb.js +0 -178
  100. package/prisca/v1/core/material_group/material_group_pb.js +0 -2776
  101. package/prisca/v1/core/material_type/material_type_grpc_pb.js +0 -149
  102. package/prisca/v1/core/material_type/material_type_pb.js +0 -2697
  103. package/prisca/v1/core/messaging/email_template_grpc_pb.js +0 -177
  104. package/prisca/v1/core/messaging/email_template_pb.js +0 -2552
  105. package/prisca/v1/core/messaging/messaging_grpc_pb.js +0 -56
  106. package/prisca/v1/core/messaging/messaging_pb.js +0 -896
  107. package/prisca/v1/core/number_range/number_range_grpc_pb.js +0 -178
  108. package/prisca/v1/core/number_range/number_range_pb.js +0 -2926
  109. package/prisca/v1/core/organization/organization_grpc_pb.js +0 -180
  110. package/prisca/v1/core/organization/organization_pb.js +0 -3032
  111. package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +0 -178
  112. package/prisca/v1/core/organization_level/organization_level_pb.js +0 -2545
  113. package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +0 -146
  114. package/prisca/v1/core/price_condition/price_condition_pb.js +0 -2654
  115. package/prisca/v1/core/procurement/procurement_grpc_pb.js +0 -146
  116. package/prisca/v1/core/procurement/procurement_pb.js +0 -1681
  117. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -266
  118. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -4429
  119. package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +0 -1
  120. package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +0 -206
  121. package/prisca/v1/core/report/report_grpc_pb.js +0 -200
  122. package/prisca/v1/core/report/report_pb.js +0 -2822
  123. package/prisca/v1/core/report/user_report_grpc_pb.js +0 -179
  124. package/prisca/v1/core/report/user_report_pb.js +0 -2452
  125. package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +0 -177
  126. package/prisca/v1/core/tax_code/tax_code_pb.js +0 -2582
  127. package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +0 -144
  128. package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +0 -2105
  129. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +0 -498
  130. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +0 -10976
  131. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +0 -180
  132. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +0 -2798
  133. package/prisca/v1/core/users/users_grpc_pb.js +0 -45
  134. package/prisca/v1/core/users/users_pb.js +0 -1246
  135. package/prisca/v1/core/work_location/work_location_grpc_pb.js +0 -179
  136. package/prisca/v1/core/work_location/work_location_pb.js +0 -3972
  137. package/prisca/v1/core/workflow/workflow_grpc_pb.js +0 -203
  138. package/prisca/v1/core/workflow/workflow_pb.js +0 -7525
  139. package/prisca/v1/document_type/document_type_grpc_pb.js +0 -178
  140. package/prisca/v1/document_type/document_type_pb.js +0 -2746
  141. package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +0 -181
  142. package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +0 -3276
  143. package/prisca/v1/global/meta/meta_grpc_pb.js +0 -1
  144. package/prisca/v1/global/meta/meta_pb.js +0 -1179
  145. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -512
  146. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -9917
  147. package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +0 -178
  148. package/prisca/v1/purchasing_group/purchasing_group_pb.js +0 -2875
  149. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +0 -145
  150. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +0 -2139
  151. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +0 -146
  152. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +0 -2183
  153. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +0 -145
  154. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +0 -2543
  155. package/prisca/v1/quotation/quotation_grpc_pb.js +0 -151
  156. package/prisca/v1/quotation/quotation_pb.js +0 -3941
  157. package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +0 -192
  158. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +0 -5703
@@ -1,1681 +0,0 @@
1
- // source: prisca/v1/core/procurement/procurement.proto
2
- /**
3
- * @fileoverview
4
- * @enhanceable
5
- * @suppress {missingRequire} reports error on implicit type usages.
6
- * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
- * field starts with 'MSG_' and isn't a translatable message.
8
- * @public
9
- */
10
- // GENERATED CODE -- DO NOT EDIT!
11
- /* eslint-disable */
12
- // @ts-nocheck
13
-
14
- var jspb = require('google-protobuf');
15
- var goog = jspb;
16
- var global =
17
- (typeof globalThis !== 'undefined' && globalThis) ||
18
- (typeof window !== 'undefined' && window) ||
19
- (typeof global !== 'undefined' && global) ||
20
- (typeof self !== 'undefined' && self) ||
21
- (function () { return this; }).call(null) ||
22
- Function('return this')();
23
-
24
- goog.exportSymbol('proto.CreatePRRequest', null, global);
25
- goog.exportSymbol('proto.GetPRRequest', null, global);
26
- goog.exportSymbol('proto.GetSinglePRRequest', null, global);
27
- goog.exportSymbol('proto.PRDetailResponse', null, global);
28
- goog.exportSymbol('proto.PRListResponse', null, global);
29
- goog.exportSymbol('proto.ResponseMeta', null, global);
30
- goog.exportSymbol('proto.SuccessResponse', null, global);
31
- goog.exportSymbol('proto.UpdatePRRequest', null, global);
32
- /**
33
- * Generated by JsPbCodeGenerator.
34
- * @param {Array=} opt_data Optional initial data array, typically from a
35
- * server response, or constructed directly in Javascript. The array is used
36
- * in place and becomes part of the constructed object. It is not cloned.
37
- * If no data is provided, the constructed object will be empty, but still
38
- * valid.
39
- * @extends {jspb.Message}
40
- * @constructor
41
- */
42
- proto.ResponseMeta = function(opt_data) {
43
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
44
- };
45
- goog.inherits(proto.ResponseMeta, jspb.Message);
46
- if (goog.DEBUG && !COMPILED) {
47
- /**
48
- * @public
49
- * @override
50
- */
51
- proto.ResponseMeta.displayName = 'proto.ResponseMeta';
52
- }
53
- /**
54
- * Generated by JsPbCodeGenerator.
55
- * @param {Array=} opt_data Optional initial data array, typically from a
56
- * server response, or constructed directly in Javascript. The array is used
57
- * in place and becomes part of the constructed object. It is not cloned.
58
- * If no data is provided, the constructed object will be empty, but still
59
- * valid.
60
- * @extends {jspb.Message}
61
- * @constructor
62
- */
63
- proto.GetPRRequest = function(opt_data) {
64
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
65
- };
66
- goog.inherits(proto.GetPRRequest, jspb.Message);
67
- if (goog.DEBUG && !COMPILED) {
68
- /**
69
- * @public
70
- * @override
71
- */
72
- proto.GetPRRequest.displayName = 'proto.GetPRRequest';
73
- }
74
- /**
75
- * Generated by JsPbCodeGenerator.
76
- * @param {Array=} opt_data Optional initial data array, typically from a
77
- * server response, or constructed directly in Javascript. The array is used
78
- * in place and becomes part of the constructed object. It is not cloned.
79
- * If no data is provided, the constructed object will be empty, but still
80
- * valid.
81
- * @extends {jspb.Message}
82
- * @constructor
83
- */
84
- proto.CreatePRRequest = function(opt_data) {
85
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
86
- };
87
- goog.inherits(proto.CreatePRRequest, jspb.Message);
88
- if (goog.DEBUG && !COMPILED) {
89
- /**
90
- * @public
91
- * @override
92
- */
93
- proto.CreatePRRequest.displayName = 'proto.CreatePRRequest';
94
- }
95
- /**
96
- * Generated by JsPbCodeGenerator.
97
- * @param {Array=} opt_data Optional initial data array, typically from a
98
- * server response, or constructed directly in Javascript. The array is used
99
- * in place and becomes part of the constructed object. It is not cloned.
100
- * If no data is provided, the constructed object will be empty, but still
101
- * valid.
102
- * @extends {jspb.Message}
103
- * @constructor
104
- */
105
- proto.UpdatePRRequest = function(opt_data) {
106
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
107
- };
108
- goog.inherits(proto.UpdatePRRequest, jspb.Message);
109
- if (goog.DEBUG && !COMPILED) {
110
- /**
111
- * @public
112
- * @override
113
- */
114
- proto.UpdatePRRequest.displayName = 'proto.UpdatePRRequest';
115
- }
116
- /**
117
- * Generated by JsPbCodeGenerator.
118
- * @param {Array=} opt_data Optional initial data array, typically from a
119
- * server response, or constructed directly in Javascript. The array is used
120
- * in place and becomes part of the constructed object. It is not cloned.
121
- * If no data is provided, the constructed object will be empty, but still
122
- * valid.
123
- * @extends {jspb.Message}
124
- * @constructor
125
- */
126
- proto.GetSinglePRRequest = function(opt_data) {
127
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
128
- };
129
- goog.inherits(proto.GetSinglePRRequest, jspb.Message);
130
- if (goog.DEBUG && !COMPILED) {
131
- /**
132
- * @public
133
- * @override
134
- */
135
- proto.GetSinglePRRequest.displayName = 'proto.GetSinglePRRequest';
136
- }
137
- /**
138
- * Generated by JsPbCodeGenerator.
139
- * @param {Array=} opt_data Optional initial data array, typically from a
140
- * server response, or constructed directly in Javascript. The array is used
141
- * in place and becomes part of the constructed object. It is not cloned.
142
- * If no data is provided, the constructed object will be empty, but still
143
- * valid.
144
- * @extends {jspb.Message}
145
- * @constructor
146
- */
147
- proto.PRDetailResponse = function(opt_data) {
148
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
149
- };
150
- goog.inherits(proto.PRDetailResponse, jspb.Message);
151
- if (goog.DEBUG && !COMPILED) {
152
- /**
153
- * @public
154
- * @override
155
- */
156
- proto.PRDetailResponse.displayName = 'proto.PRDetailResponse';
157
- }
158
- /**
159
- * Generated by JsPbCodeGenerator.
160
- * @param {Array=} opt_data Optional initial data array, typically from a
161
- * server response, or constructed directly in Javascript. The array is used
162
- * in place and becomes part of the constructed object. It is not cloned.
163
- * If no data is provided, the constructed object will be empty, but still
164
- * valid.
165
- * @extends {jspb.Message}
166
- * @constructor
167
- */
168
- proto.PRListResponse = function(opt_data) {
169
- jspb.Message.initialize(this, opt_data, 0, -1, proto.PRListResponse.repeatedFields_, null);
170
- };
171
- goog.inherits(proto.PRListResponse, jspb.Message);
172
- if (goog.DEBUG && !COMPILED) {
173
- /**
174
- * @public
175
- * @override
176
- */
177
- proto.PRListResponse.displayName = 'proto.PRListResponse';
178
- }
179
- /**
180
- * Generated by JsPbCodeGenerator.
181
- * @param {Array=} opt_data Optional initial data array, typically from a
182
- * server response, or constructed directly in Javascript. The array is used
183
- * in place and becomes part of the constructed object. It is not cloned.
184
- * If no data is provided, the constructed object will be empty, but still
185
- * valid.
186
- * @extends {jspb.Message}
187
- * @constructor
188
- */
189
- proto.SuccessResponse = function(opt_data) {
190
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
191
- };
192
- goog.inherits(proto.SuccessResponse, jspb.Message);
193
- if (goog.DEBUG && !COMPILED) {
194
- /**
195
- * @public
196
- * @override
197
- */
198
- proto.SuccessResponse.displayName = 'proto.SuccessResponse';
199
- }
200
-
201
-
202
-
203
- if (jspb.Message.GENERATE_TO_OBJECT) {
204
- /**
205
- * Creates an object representation of this proto.
206
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
207
- * Optional fields that are not set will be set to undefined.
208
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
209
- * For the list of reserved names please see:
210
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
211
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
212
- * JSPB instance for transitional soy proto support:
213
- * http://goto/soy-param-migration
214
- * @return {!Object}
215
- */
216
- proto.ResponseMeta.prototype.toObject = function(opt_includeInstance) {
217
- return proto.ResponseMeta.toObject(opt_includeInstance, this);
218
- };
219
-
220
-
221
- /**
222
- * Static version of the {@see toObject} method.
223
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
224
- * the JSPB instance for transitional soy proto support:
225
- * http://goto/soy-param-migration
226
- * @param {!proto.ResponseMeta} msg The msg instance to transform.
227
- * @return {!Object}
228
- * @suppress {unusedLocalVariables} f is only used for nested messages
229
- */
230
- proto.ResponseMeta.toObject = function(includeInstance, msg) {
231
- var f, obj = {
232
- limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
233
- offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
234
- total: jspb.Message.getFieldWithDefault(msg, 3, 0)
235
- };
236
-
237
- if (includeInstance) {
238
- obj.$jspbMessageInstance = msg;
239
- }
240
- return obj;
241
- };
242
- }
243
-
244
-
245
- /**
246
- * Deserializes binary data (in protobuf wire format).
247
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
248
- * @return {!proto.ResponseMeta}
249
- */
250
- proto.ResponseMeta.deserializeBinary = function(bytes) {
251
- var reader = new jspb.BinaryReader(bytes);
252
- var msg = new proto.ResponseMeta;
253
- return proto.ResponseMeta.deserializeBinaryFromReader(msg, reader);
254
- };
255
-
256
-
257
- /**
258
- * Deserializes binary data (in protobuf wire format) from the
259
- * given reader into the given message object.
260
- * @param {!proto.ResponseMeta} msg The message object to deserialize into.
261
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
262
- * @return {!proto.ResponseMeta}
263
- */
264
- proto.ResponseMeta.deserializeBinaryFromReader = function(msg, reader) {
265
- while (reader.nextField()) {
266
- if (reader.isEndGroup()) {
267
- break;
268
- }
269
- var field = reader.getFieldNumber();
270
- switch (field) {
271
- case 1:
272
- var value = /** @type {number} */ (reader.readInt64());
273
- msg.setLimit(value);
274
- break;
275
- case 2:
276
- var value = /** @type {number} */ (reader.readInt64());
277
- msg.setOffset(value);
278
- break;
279
- case 3:
280
- var value = /** @type {number} */ (reader.readInt64());
281
- msg.setTotal(value);
282
- break;
283
- default:
284
- reader.skipField();
285
- break;
286
- }
287
- }
288
- return msg;
289
- };
290
-
291
-
292
- /**
293
- * Serializes the message to binary data (in protobuf wire format).
294
- * @return {!Uint8Array}
295
- */
296
- proto.ResponseMeta.prototype.serializeBinary = function() {
297
- var writer = new jspb.BinaryWriter();
298
- proto.ResponseMeta.serializeBinaryToWriter(this, writer);
299
- return writer.getResultBuffer();
300
- };
301
-
302
-
303
- /**
304
- * Serializes the given message to binary data (in protobuf wire
305
- * format), writing to the given BinaryWriter.
306
- * @param {!proto.ResponseMeta} message
307
- * @param {!jspb.BinaryWriter} writer
308
- * @suppress {unusedLocalVariables} f is only used for nested messages
309
- */
310
- proto.ResponseMeta.serializeBinaryToWriter = function(message, writer) {
311
- var f = undefined;
312
- f = message.getLimit();
313
- if (f !== 0) {
314
- writer.writeInt64(
315
- 1,
316
- f
317
- );
318
- }
319
- f = message.getOffset();
320
- if (f !== 0) {
321
- writer.writeInt64(
322
- 2,
323
- f
324
- );
325
- }
326
- f = message.getTotal();
327
- if (f !== 0) {
328
- writer.writeInt64(
329
- 3,
330
- f
331
- );
332
- }
333
- };
334
-
335
-
336
- /**
337
- * optional int64 limit = 1;
338
- * @return {number}
339
- */
340
- proto.ResponseMeta.prototype.getLimit = function() {
341
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
342
- };
343
-
344
-
345
- /**
346
- * @param {number} value
347
- * @return {!proto.ResponseMeta} returns this
348
- */
349
- proto.ResponseMeta.prototype.setLimit = function(value) {
350
- return jspb.Message.setProto3IntField(this, 1, value);
351
- };
352
-
353
-
354
- /**
355
- * optional int64 offset = 2;
356
- * @return {number}
357
- */
358
- proto.ResponseMeta.prototype.getOffset = function() {
359
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
360
- };
361
-
362
-
363
- /**
364
- * @param {number} value
365
- * @return {!proto.ResponseMeta} returns this
366
- */
367
- proto.ResponseMeta.prototype.setOffset = function(value) {
368
- return jspb.Message.setProto3IntField(this, 2, value);
369
- };
370
-
371
-
372
- /**
373
- * optional int64 Total = 3;
374
- * @return {number}
375
- */
376
- proto.ResponseMeta.prototype.getTotal = function() {
377
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
378
- };
379
-
380
-
381
- /**
382
- * @param {number} value
383
- * @return {!proto.ResponseMeta} returns this
384
- */
385
- proto.ResponseMeta.prototype.setTotal = function(value) {
386
- return jspb.Message.setProto3IntField(this, 3, value);
387
- };
388
-
389
-
390
-
391
-
392
-
393
- if (jspb.Message.GENERATE_TO_OBJECT) {
394
- /**
395
- * Creates an object representation of this proto.
396
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
397
- * Optional fields that are not set will be set to undefined.
398
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
399
- * For the list of reserved names please see:
400
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
401
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
402
- * JSPB instance for transitional soy proto support:
403
- * http://goto/soy-param-migration
404
- * @return {!Object}
405
- */
406
- proto.GetPRRequest.prototype.toObject = function(opt_includeInstance) {
407
- return proto.GetPRRequest.toObject(opt_includeInstance, this);
408
- };
409
-
410
-
411
- /**
412
- * Static version of the {@see toObject} method.
413
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
414
- * the JSPB instance for transitional soy proto support:
415
- * http://goto/soy-param-migration
416
- * @param {!proto.GetPRRequest} msg The msg instance to transform.
417
- * @return {!Object}
418
- * @suppress {unusedLocalVariables} f is only used for nested messages
419
- */
420
- proto.GetPRRequest.toObject = function(includeInstance, msg) {
421
- var f, obj = {
422
- limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
423
- offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
424
- prnumber: jspb.Message.getFieldWithDefault(msg, 3, "")
425
- };
426
-
427
- if (includeInstance) {
428
- obj.$jspbMessageInstance = msg;
429
- }
430
- return obj;
431
- };
432
- }
433
-
434
-
435
- /**
436
- * Deserializes binary data (in protobuf wire format).
437
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
438
- * @return {!proto.GetPRRequest}
439
- */
440
- proto.GetPRRequest.deserializeBinary = function(bytes) {
441
- var reader = new jspb.BinaryReader(bytes);
442
- var msg = new proto.GetPRRequest;
443
- return proto.GetPRRequest.deserializeBinaryFromReader(msg, reader);
444
- };
445
-
446
-
447
- /**
448
- * Deserializes binary data (in protobuf wire format) from the
449
- * given reader into the given message object.
450
- * @param {!proto.GetPRRequest} msg The message object to deserialize into.
451
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
452
- * @return {!proto.GetPRRequest}
453
- */
454
- proto.GetPRRequest.deserializeBinaryFromReader = function(msg, reader) {
455
- while (reader.nextField()) {
456
- if (reader.isEndGroup()) {
457
- break;
458
- }
459
- var field = reader.getFieldNumber();
460
- switch (field) {
461
- case 1:
462
- var value = /** @type {number} */ (reader.readInt64());
463
- msg.setLimit(value);
464
- break;
465
- case 2:
466
- var value = /** @type {number} */ (reader.readInt64());
467
- msg.setOffset(value);
468
- break;
469
- case 3:
470
- var value = /** @type {string} */ (reader.readString());
471
- msg.setPrnumber(value);
472
- break;
473
- default:
474
- reader.skipField();
475
- break;
476
- }
477
- }
478
- return msg;
479
- };
480
-
481
-
482
- /**
483
- * Serializes the message to binary data (in protobuf wire format).
484
- * @return {!Uint8Array}
485
- */
486
- proto.GetPRRequest.prototype.serializeBinary = function() {
487
- var writer = new jspb.BinaryWriter();
488
- proto.GetPRRequest.serializeBinaryToWriter(this, writer);
489
- return writer.getResultBuffer();
490
- };
491
-
492
-
493
- /**
494
- * Serializes the given message to binary data (in protobuf wire
495
- * format), writing to the given BinaryWriter.
496
- * @param {!proto.GetPRRequest} message
497
- * @param {!jspb.BinaryWriter} writer
498
- * @suppress {unusedLocalVariables} f is only used for nested messages
499
- */
500
- proto.GetPRRequest.serializeBinaryToWriter = function(message, writer) {
501
- var f = undefined;
502
- f = message.getLimit();
503
- if (f !== 0) {
504
- writer.writeInt64(
505
- 1,
506
- f
507
- );
508
- }
509
- f = message.getOffset();
510
- if (f !== 0) {
511
- writer.writeInt64(
512
- 2,
513
- f
514
- );
515
- }
516
- f = message.getPrnumber();
517
- if (f.length > 0) {
518
- writer.writeString(
519
- 3,
520
- f
521
- );
522
- }
523
- };
524
-
525
-
526
- /**
527
- * optional int64 limit = 1;
528
- * @return {number}
529
- */
530
- proto.GetPRRequest.prototype.getLimit = function() {
531
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
532
- };
533
-
534
-
535
- /**
536
- * @param {number} value
537
- * @return {!proto.GetPRRequest} returns this
538
- */
539
- proto.GetPRRequest.prototype.setLimit = function(value) {
540
- return jspb.Message.setProto3IntField(this, 1, value);
541
- };
542
-
543
-
544
- /**
545
- * optional int64 offset = 2;
546
- * @return {number}
547
- */
548
- proto.GetPRRequest.prototype.getOffset = function() {
549
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
550
- };
551
-
552
-
553
- /**
554
- * @param {number} value
555
- * @return {!proto.GetPRRequest} returns this
556
- */
557
- proto.GetPRRequest.prototype.setOffset = function(value) {
558
- return jspb.Message.setProto3IntField(this, 2, value);
559
- };
560
-
561
-
562
- /**
563
- * optional string PrNumber = 3;
564
- * @return {string}
565
- */
566
- proto.GetPRRequest.prototype.getPrnumber = function() {
567
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
568
- };
569
-
570
-
571
- /**
572
- * @param {string} value
573
- * @return {!proto.GetPRRequest} returns this
574
- */
575
- proto.GetPRRequest.prototype.setPrnumber = function(value) {
576
- return jspb.Message.setProto3StringField(this, 3, value);
577
- };
578
-
579
-
580
-
581
-
582
-
583
- if (jspb.Message.GENERATE_TO_OBJECT) {
584
- /**
585
- * Creates an object representation of this proto.
586
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
587
- * Optional fields that are not set will be set to undefined.
588
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
589
- * For the list of reserved names please see:
590
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
591
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
592
- * JSPB instance for transitional soy proto support:
593
- * http://goto/soy-param-migration
594
- * @return {!Object}
595
- */
596
- proto.CreatePRRequest.prototype.toObject = function(opt_includeInstance) {
597
- return proto.CreatePRRequest.toObject(opt_includeInstance, this);
598
- };
599
-
600
-
601
- /**
602
- * Static version of the {@see toObject} method.
603
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
604
- * the JSPB instance for transitional soy proto support:
605
- * http://goto/soy-param-migration
606
- * @param {!proto.CreatePRRequest} msg The msg instance to transform.
607
- * @return {!Object}
608
- * @suppress {unusedLocalVariables} f is only used for nested messages
609
- */
610
- proto.CreatePRRequest.toObject = function(includeInstance, msg) {
611
- var f, obj = {
612
- prnumber: jspb.Message.getFieldWithDefault(msg, 1, ""),
613
- title: jspb.Message.getFieldWithDefault(msg, 2, "")
614
- };
615
-
616
- if (includeInstance) {
617
- obj.$jspbMessageInstance = msg;
618
- }
619
- return obj;
620
- };
621
- }
622
-
623
-
624
- /**
625
- * Deserializes binary data (in protobuf wire format).
626
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
627
- * @return {!proto.CreatePRRequest}
628
- */
629
- proto.CreatePRRequest.deserializeBinary = function(bytes) {
630
- var reader = new jspb.BinaryReader(bytes);
631
- var msg = new proto.CreatePRRequest;
632
- return proto.CreatePRRequest.deserializeBinaryFromReader(msg, reader);
633
- };
634
-
635
-
636
- /**
637
- * Deserializes binary data (in protobuf wire format) from the
638
- * given reader into the given message object.
639
- * @param {!proto.CreatePRRequest} msg The message object to deserialize into.
640
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
641
- * @return {!proto.CreatePRRequest}
642
- */
643
- proto.CreatePRRequest.deserializeBinaryFromReader = function(msg, reader) {
644
- while (reader.nextField()) {
645
- if (reader.isEndGroup()) {
646
- break;
647
- }
648
- var field = reader.getFieldNumber();
649
- switch (field) {
650
- case 1:
651
- var value = /** @type {string} */ (reader.readString());
652
- msg.setPrnumber(value);
653
- break;
654
- case 2:
655
- var value = /** @type {string} */ (reader.readString());
656
- msg.setTitle(value);
657
- break;
658
- default:
659
- reader.skipField();
660
- break;
661
- }
662
- }
663
- return msg;
664
- };
665
-
666
-
667
- /**
668
- * Serializes the message to binary data (in protobuf wire format).
669
- * @return {!Uint8Array}
670
- */
671
- proto.CreatePRRequest.prototype.serializeBinary = function() {
672
- var writer = new jspb.BinaryWriter();
673
- proto.CreatePRRequest.serializeBinaryToWriter(this, writer);
674
- return writer.getResultBuffer();
675
- };
676
-
677
-
678
- /**
679
- * Serializes the given message to binary data (in protobuf wire
680
- * format), writing to the given BinaryWriter.
681
- * @param {!proto.CreatePRRequest} message
682
- * @param {!jspb.BinaryWriter} writer
683
- * @suppress {unusedLocalVariables} f is only used for nested messages
684
- */
685
- proto.CreatePRRequest.serializeBinaryToWriter = function(message, writer) {
686
- var f = undefined;
687
- f = message.getPrnumber();
688
- if (f.length > 0) {
689
- writer.writeString(
690
- 1,
691
- f
692
- );
693
- }
694
- f = message.getTitle();
695
- if (f.length > 0) {
696
- writer.writeString(
697
- 2,
698
- f
699
- );
700
- }
701
- };
702
-
703
-
704
- /**
705
- * optional string PrNumber = 1;
706
- * @return {string}
707
- */
708
- proto.CreatePRRequest.prototype.getPrnumber = function() {
709
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
710
- };
711
-
712
-
713
- /**
714
- * @param {string} value
715
- * @return {!proto.CreatePRRequest} returns this
716
- */
717
- proto.CreatePRRequest.prototype.setPrnumber = function(value) {
718
- return jspb.Message.setProto3StringField(this, 1, value);
719
- };
720
-
721
-
722
- /**
723
- * optional string Title = 2;
724
- * @return {string}
725
- */
726
- proto.CreatePRRequest.prototype.getTitle = function() {
727
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
728
- };
729
-
730
-
731
- /**
732
- * @param {string} value
733
- * @return {!proto.CreatePRRequest} returns this
734
- */
735
- proto.CreatePRRequest.prototype.setTitle = function(value) {
736
- return jspb.Message.setProto3StringField(this, 2, value);
737
- };
738
-
739
-
740
-
741
-
742
-
743
- if (jspb.Message.GENERATE_TO_OBJECT) {
744
- /**
745
- * Creates an object representation of this proto.
746
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
747
- * Optional fields that are not set will be set to undefined.
748
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
749
- * For the list of reserved names please see:
750
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
751
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
752
- * JSPB instance for transitional soy proto support:
753
- * http://goto/soy-param-migration
754
- * @return {!Object}
755
- */
756
- proto.UpdatePRRequest.prototype.toObject = function(opt_includeInstance) {
757
- return proto.UpdatePRRequest.toObject(opt_includeInstance, this);
758
- };
759
-
760
-
761
- /**
762
- * Static version of the {@see toObject} method.
763
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
764
- * the JSPB instance for transitional soy proto support:
765
- * http://goto/soy-param-migration
766
- * @param {!proto.UpdatePRRequest} msg The msg instance to transform.
767
- * @return {!Object}
768
- * @suppress {unusedLocalVariables} f is only used for nested messages
769
- */
770
- proto.UpdatePRRequest.toObject = function(includeInstance, msg) {
771
- var f, obj = {
772
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
773
- prnumber: jspb.Message.getFieldWithDefault(msg, 2, ""),
774
- title: jspb.Message.getFieldWithDefault(msg, 3, "")
775
- };
776
-
777
- if (includeInstance) {
778
- obj.$jspbMessageInstance = msg;
779
- }
780
- return obj;
781
- };
782
- }
783
-
784
-
785
- /**
786
- * Deserializes binary data (in protobuf wire format).
787
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
788
- * @return {!proto.UpdatePRRequest}
789
- */
790
- proto.UpdatePRRequest.deserializeBinary = function(bytes) {
791
- var reader = new jspb.BinaryReader(bytes);
792
- var msg = new proto.UpdatePRRequest;
793
- return proto.UpdatePRRequest.deserializeBinaryFromReader(msg, reader);
794
- };
795
-
796
-
797
- /**
798
- * Deserializes binary data (in protobuf wire format) from the
799
- * given reader into the given message object.
800
- * @param {!proto.UpdatePRRequest} msg The message object to deserialize into.
801
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
802
- * @return {!proto.UpdatePRRequest}
803
- */
804
- proto.UpdatePRRequest.deserializeBinaryFromReader = function(msg, reader) {
805
- while (reader.nextField()) {
806
- if (reader.isEndGroup()) {
807
- break;
808
- }
809
- var field = reader.getFieldNumber();
810
- switch (field) {
811
- case 1:
812
- var value = /** @type {number} */ (reader.readInt64());
813
- msg.setId(value);
814
- break;
815
- case 2:
816
- var value = /** @type {string} */ (reader.readString());
817
- msg.setPrnumber(value);
818
- break;
819
- case 3:
820
- var value = /** @type {string} */ (reader.readString());
821
- msg.setTitle(value);
822
- break;
823
- default:
824
- reader.skipField();
825
- break;
826
- }
827
- }
828
- return msg;
829
- };
830
-
831
-
832
- /**
833
- * Serializes the message to binary data (in protobuf wire format).
834
- * @return {!Uint8Array}
835
- */
836
- proto.UpdatePRRequest.prototype.serializeBinary = function() {
837
- var writer = new jspb.BinaryWriter();
838
- proto.UpdatePRRequest.serializeBinaryToWriter(this, writer);
839
- return writer.getResultBuffer();
840
- };
841
-
842
-
843
- /**
844
- * Serializes the given message to binary data (in protobuf wire
845
- * format), writing to the given BinaryWriter.
846
- * @param {!proto.UpdatePRRequest} message
847
- * @param {!jspb.BinaryWriter} writer
848
- * @suppress {unusedLocalVariables} f is only used for nested messages
849
- */
850
- proto.UpdatePRRequest.serializeBinaryToWriter = function(message, writer) {
851
- var f = undefined;
852
- f = message.getId();
853
- if (f !== 0) {
854
- writer.writeInt64(
855
- 1,
856
- f
857
- );
858
- }
859
- f = message.getPrnumber();
860
- if (f.length > 0) {
861
- writer.writeString(
862
- 2,
863
- f
864
- );
865
- }
866
- f = message.getTitle();
867
- if (f.length > 0) {
868
- writer.writeString(
869
- 3,
870
- f
871
- );
872
- }
873
- };
874
-
875
-
876
- /**
877
- * optional int64 Id = 1;
878
- * @return {number}
879
- */
880
- proto.UpdatePRRequest.prototype.getId = function() {
881
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
882
- };
883
-
884
-
885
- /**
886
- * @param {number} value
887
- * @return {!proto.UpdatePRRequest} returns this
888
- */
889
- proto.UpdatePRRequest.prototype.setId = function(value) {
890
- return jspb.Message.setProto3IntField(this, 1, value);
891
- };
892
-
893
-
894
- /**
895
- * optional string PrNumber = 2;
896
- * @return {string}
897
- */
898
- proto.UpdatePRRequest.prototype.getPrnumber = function() {
899
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
900
- };
901
-
902
-
903
- /**
904
- * @param {string} value
905
- * @return {!proto.UpdatePRRequest} returns this
906
- */
907
- proto.UpdatePRRequest.prototype.setPrnumber = function(value) {
908
- return jspb.Message.setProto3StringField(this, 2, value);
909
- };
910
-
911
-
912
- /**
913
- * optional string Title = 3;
914
- * @return {string}
915
- */
916
- proto.UpdatePRRequest.prototype.getTitle = function() {
917
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
918
- };
919
-
920
-
921
- /**
922
- * @param {string} value
923
- * @return {!proto.UpdatePRRequest} returns this
924
- */
925
- proto.UpdatePRRequest.prototype.setTitle = function(value) {
926
- return jspb.Message.setProto3StringField(this, 3, value);
927
- };
928
-
929
-
930
-
931
-
932
-
933
- if (jspb.Message.GENERATE_TO_OBJECT) {
934
- /**
935
- * Creates an object representation of this proto.
936
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
937
- * Optional fields that are not set will be set to undefined.
938
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
939
- * For the list of reserved names please see:
940
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
941
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
942
- * JSPB instance for transitional soy proto support:
943
- * http://goto/soy-param-migration
944
- * @return {!Object}
945
- */
946
- proto.GetSinglePRRequest.prototype.toObject = function(opt_includeInstance) {
947
- return proto.GetSinglePRRequest.toObject(opt_includeInstance, this);
948
- };
949
-
950
-
951
- /**
952
- * Static version of the {@see toObject} method.
953
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
954
- * the JSPB instance for transitional soy proto support:
955
- * http://goto/soy-param-migration
956
- * @param {!proto.GetSinglePRRequest} msg The msg instance to transform.
957
- * @return {!Object}
958
- * @suppress {unusedLocalVariables} f is only used for nested messages
959
- */
960
- proto.GetSinglePRRequest.toObject = function(includeInstance, msg) {
961
- var f, obj = {
962
- id: jspb.Message.getFieldWithDefault(msg, 1, 0)
963
- };
964
-
965
- if (includeInstance) {
966
- obj.$jspbMessageInstance = msg;
967
- }
968
- return obj;
969
- };
970
- }
971
-
972
-
973
- /**
974
- * Deserializes binary data (in protobuf wire format).
975
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
976
- * @return {!proto.GetSinglePRRequest}
977
- */
978
- proto.GetSinglePRRequest.deserializeBinary = function(bytes) {
979
- var reader = new jspb.BinaryReader(bytes);
980
- var msg = new proto.GetSinglePRRequest;
981
- return proto.GetSinglePRRequest.deserializeBinaryFromReader(msg, reader);
982
- };
983
-
984
-
985
- /**
986
- * Deserializes binary data (in protobuf wire format) from the
987
- * given reader into the given message object.
988
- * @param {!proto.GetSinglePRRequest} msg The message object to deserialize into.
989
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
990
- * @return {!proto.GetSinglePRRequest}
991
- */
992
- proto.GetSinglePRRequest.deserializeBinaryFromReader = function(msg, reader) {
993
- while (reader.nextField()) {
994
- if (reader.isEndGroup()) {
995
- break;
996
- }
997
- var field = reader.getFieldNumber();
998
- switch (field) {
999
- case 1:
1000
- var value = /** @type {number} */ (reader.readInt64());
1001
- msg.setId(value);
1002
- break;
1003
- default:
1004
- reader.skipField();
1005
- break;
1006
- }
1007
- }
1008
- return msg;
1009
- };
1010
-
1011
-
1012
- /**
1013
- * Serializes the message to binary data (in protobuf wire format).
1014
- * @return {!Uint8Array}
1015
- */
1016
- proto.GetSinglePRRequest.prototype.serializeBinary = function() {
1017
- var writer = new jspb.BinaryWriter();
1018
- proto.GetSinglePRRequest.serializeBinaryToWriter(this, writer);
1019
- return writer.getResultBuffer();
1020
- };
1021
-
1022
-
1023
- /**
1024
- * Serializes the given message to binary data (in protobuf wire
1025
- * format), writing to the given BinaryWriter.
1026
- * @param {!proto.GetSinglePRRequest} message
1027
- * @param {!jspb.BinaryWriter} writer
1028
- * @suppress {unusedLocalVariables} f is only used for nested messages
1029
- */
1030
- proto.GetSinglePRRequest.serializeBinaryToWriter = function(message, writer) {
1031
- var f = undefined;
1032
- f = message.getId();
1033
- if (f !== 0) {
1034
- writer.writeInt64(
1035
- 1,
1036
- f
1037
- );
1038
- }
1039
- };
1040
-
1041
-
1042
- /**
1043
- * optional int64 Id = 1;
1044
- * @return {number}
1045
- */
1046
- proto.GetSinglePRRequest.prototype.getId = function() {
1047
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1048
- };
1049
-
1050
-
1051
- /**
1052
- * @param {number} value
1053
- * @return {!proto.GetSinglePRRequest} returns this
1054
- */
1055
- proto.GetSinglePRRequest.prototype.setId = function(value) {
1056
- return jspb.Message.setProto3IntField(this, 1, value);
1057
- };
1058
-
1059
-
1060
-
1061
-
1062
-
1063
- if (jspb.Message.GENERATE_TO_OBJECT) {
1064
- /**
1065
- * Creates an object representation of this proto.
1066
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1067
- * Optional fields that are not set will be set to undefined.
1068
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1069
- * For the list of reserved names please see:
1070
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1071
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1072
- * JSPB instance for transitional soy proto support:
1073
- * http://goto/soy-param-migration
1074
- * @return {!Object}
1075
- */
1076
- proto.PRDetailResponse.prototype.toObject = function(opt_includeInstance) {
1077
- return proto.PRDetailResponse.toObject(opt_includeInstance, this);
1078
- };
1079
-
1080
-
1081
- /**
1082
- * Static version of the {@see toObject} method.
1083
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1084
- * the JSPB instance for transitional soy proto support:
1085
- * http://goto/soy-param-migration
1086
- * @param {!proto.PRDetailResponse} msg The msg instance to transform.
1087
- * @return {!Object}
1088
- * @suppress {unusedLocalVariables} f is only used for nested messages
1089
- */
1090
- proto.PRDetailResponse.toObject = function(includeInstance, msg) {
1091
- var f, obj = {
1092
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
1093
- prnumber: jspb.Message.getFieldWithDefault(msg, 2, ""),
1094
- title: jspb.Message.getFieldWithDefault(msg, 3, ""),
1095
- referencesid: jspb.Message.getFieldWithDefault(msg, 4, ""),
1096
- createdat: jspb.Message.getFieldWithDefault(msg, 5, ""),
1097
- updatedat: jspb.Message.getFieldWithDefault(msg, 6, "")
1098
- };
1099
-
1100
- if (includeInstance) {
1101
- obj.$jspbMessageInstance = msg;
1102
- }
1103
- return obj;
1104
- };
1105
- }
1106
-
1107
-
1108
- /**
1109
- * Deserializes binary data (in protobuf wire format).
1110
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1111
- * @return {!proto.PRDetailResponse}
1112
- */
1113
- proto.PRDetailResponse.deserializeBinary = function(bytes) {
1114
- var reader = new jspb.BinaryReader(bytes);
1115
- var msg = new proto.PRDetailResponse;
1116
- return proto.PRDetailResponse.deserializeBinaryFromReader(msg, reader);
1117
- };
1118
-
1119
-
1120
- /**
1121
- * Deserializes binary data (in protobuf wire format) from the
1122
- * given reader into the given message object.
1123
- * @param {!proto.PRDetailResponse} msg The message object to deserialize into.
1124
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1125
- * @return {!proto.PRDetailResponse}
1126
- */
1127
- proto.PRDetailResponse.deserializeBinaryFromReader = function(msg, reader) {
1128
- while (reader.nextField()) {
1129
- if (reader.isEndGroup()) {
1130
- break;
1131
- }
1132
- var field = reader.getFieldNumber();
1133
- switch (field) {
1134
- case 1:
1135
- var value = /** @type {number} */ (reader.readInt64());
1136
- msg.setId(value);
1137
- break;
1138
- case 2:
1139
- var value = /** @type {string} */ (reader.readString());
1140
- msg.setPrnumber(value);
1141
- break;
1142
- case 3:
1143
- var value = /** @type {string} */ (reader.readString());
1144
- msg.setTitle(value);
1145
- break;
1146
- case 4:
1147
- var value = /** @type {string} */ (reader.readString());
1148
- msg.setReferencesid(value);
1149
- break;
1150
- case 5:
1151
- var value = /** @type {string} */ (reader.readString());
1152
- msg.setCreatedat(value);
1153
- break;
1154
- case 6:
1155
- var value = /** @type {string} */ (reader.readString());
1156
- msg.setUpdatedat(value);
1157
- break;
1158
- default:
1159
- reader.skipField();
1160
- break;
1161
- }
1162
- }
1163
- return msg;
1164
- };
1165
-
1166
-
1167
- /**
1168
- * Serializes the message to binary data (in protobuf wire format).
1169
- * @return {!Uint8Array}
1170
- */
1171
- proto.PRDetailResponse.prototype.serializeBinary = function() {
1172
- var writer = new jspb.BinaryWriter();
1173
- proto.PRDetailResponse.serializeBinaryToWriter(this, writer);
1174
- return writer.getResultBuffer();
1175
- };
1176
-
1177
-
1178
- /**
1179
- * Serializes the given message to binary data (in protobuf wire
1180
- * format), writing to the given BinaryWriter.
1181
- * @param {!proto.PRDetailResponse} message
1182
- * @param {!jspb.BinaryWriter} writer
1183
- * @suppress {unusedLocalVariables} f is only used for nested messages
1184
- */
1185
- proto.PRDetailResponse.serializeBinaryToWriter = function(message, writer) {
1186
- var f = undefined;
1187
- f = message.getId();
1188
- if (f !== 0) {
1189
- writer.writeInt64(
1190
- 1,
1191
- f
1192
- );
1193
- }
1194
- f = message.getPrnumber();
1195
- if (f.length > 0) {
1196
- writer.writeString(
1197
- 2,
1198
- f
1199
- );
1200
- }
1201
- f = message.getTitle();
1202
- if (f.length > 0) {
1203
- writer.writeString(
1204
- 3,
1205
- f
1206
- );
1207
- }
1208
- f = message.getReferencesid();
1209
- if (f.length > 0) {
1210
- writer.writeString(
1211
- 4,
1212
- f
1213
- );
1214
- }
1215
- f = message.getCreatedat();
1216
- if (f.length > 0) {
1217
- writer.writeString(
1218
- 5,
1219
- f
1220
- );
1221
- }
1222
- f = message.getUpdatedat();
1223
- if (f.length > 0) {
1224
- writer.writeString(
1225
- 6,
1226
- f
1227
- );
1228
- }
1229
- };
1230
-
1231
-
1232
- /**
1233
- * optional int64 Id = 1;
1234
- * @return {number}
1235
- */
1236
- proto.PRDetailResponse.prototype.getId = function() {
1237
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1238
- };
1239
-
1240
-
1241
- /**
1242
- * @param {number} value
1243
- * @return {!proto.PRDetailResponse} returns this
1244
- */
1245
- proto.PRDetailResponse.prototype.setId = function(value) {
1246
- return jspb.Message.setProto3IntField(this, 1, value);
1247
- };
1248
-
1249
-
1250
- /**
1251
- * optional string PrNumber = 2;
1252
- * @return {string}
1253
- */
1254
- proto.PRDetailResponse.prototype.getPrnumber = function() {
1255
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1256
- };
1257
-
1258
-
1259
- /**
1260
- * @param {string} value
1261
- * @return {!proto.PRDetailResponse} returns this
1262
- */
1263
- proto.PRDetailResponse.prototype.setPrnumber = function(value) {
1264
- return jspb.Message.setProto3StringField(this, 2, value);
1265
- };
1266
-
1267
-
1268
- /**
1269
- * optional string Title = 3;
1270
- * @return {string}
1271
- */
1272
- proto.PRDetailResponse.prototype.getTitle = function() {
1273
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1274
- };
1275
-
1276
-
1277
- /**
1278
- * @param {string} value
1279
- * @return {!proto.PRDetailResponse} returns this
1280
- */
1281
- proto.PRDetailResponse.prototype.setTitle = function(value) {
1282
- return jspb.Message.setProto3StringField(this, 3, value);
1283
- };
1284
-
1285
-
1286
- /**
1287
- * optional string ReferencesId = 4;
1288
- * @return {string}
1289
- */
1290
- proto.PRDetailResponse.prototype.getReferencesid = function() {
1291
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1292
- };
1293
-
1294
-
1295
- /**
1296
- * @param {string} value
1297
- * @return {!proto.PRDetailResponse} returns this
1298
- */
1299
- proto.PRDetailResponse.prototype.setReferencesid = function(value) {
1300
- return jspb.Message.setProto3StringField(this, 4, value);
1301
- };
1302
-
1303
-
1304
- /**
1305
- * optional string CreatedAt = 5;
1306
- * @return {string}
1307
- */
1308
- proto.PRDetailResponse.prototype.getCreatedat = function() {
1309
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1310
- };
1311
-
1312
-
1313
- /**
1314
- * @param {string} value
1315
- * @return {!proto.PRDetailResponse} returns this
1316
- */
1317
- proto.PRDetailResponse.prototype.setCreatedat = function(value) {
1318
- return jspb.Message.setProto3StringField(this, 5, value);
1319
- };
1320
-
1321
-
1322
- /**
1323
- * optional string UpdatedAt = 6;
1324
- * @return {string}
1325
- */
1326
- proto.PRDetailResponse.prototype.getUpdatedat = function() {
1327
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
1328
- };
1329
-
1330
-
1331
- /**
1332
- * @param {string} value
1333
- * @return {!proto.PRDetailResponse} returns this
1334
- */
1335
- proto.PRDetailResponse.prototype.setUpdatedat = function(value) {
1336
- return jspb.Message.setProto3StringField(this, 6, value);
1337
- };
1338
-
1339
-
1340
-
1341
- /**
1342
- * List of repeated fields within this message type.
1343
- * @private {!Array<number>}
1344
- * @const
1345
- */
1346
- proto.PRListResponse.repeatedFields_ = [1];
1347
-
1348
-
1349
-
1350
- if (jspb.Message.GENERATE_TO_OBJECT) {
1351
- /**
1352
- * Creates an object representation of this proto.
1353
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1354
- * Optional fields that are not set will be set to undefined.
1355
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1356
- * For the list of reserved names please see:
1357
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1358
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1359
- * JSPB instance for transitional soy proto support:
1360
- * http://goto/soy-param-migration
1361
- * @return {!Object}
1362
- */
1363
- proto.PRListResponse.prototype.toObject = function(opt_includeInstance) {
1364
- return proto.PRListResponse.toObject(opt_includeInstance, this);
1365
- };
1366
-
1367
-
1368
- /**
1369
- * Static version of the {@see toObject} method.
1370
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1371
- * the JSPB instance for transitional soy proto support:
1372
- * http://goto/soy-param-migration
1373
- * @param {!proto.PRListResponse} msg The msg instance to transform.
1374
- * @return {!Object}
1375
- * @suppress {unusedLocalVariables} f is only used for nested messages
1376
- */
1377
- proto.PRListResponse.toObject = function(includeInstance, msg) {
1378
- var f, obj = {
1379
- purchaserequestsList: jspb.Message.toObjectList(msg.getPurchaserequestsList(),
1380
- proto.PRDetailResponse.toObject, includeInstance),
1381
- meta: (f = msg.getMeta()) && proto.ResponseMeta.toObject(includeInstance, f)
1382
- };
1383
-
1384
- if (includeInstance) {
1385
- obj.$jspbMessageInstance = msg;
1386
- }
1387
- return obj;
1388
- };
1389
- }
1390
-
1391
-
1392
- /**
1393
- * Deserializes binary data (in protobuf wire format).
1394
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1395
- * @return {!proto.PRListResponse}
1396
- */
1397
- proto.PRListResponse.deserializeBinary = function(bytes) {
1398
- var reader = new jspb.BinaryReader(bytes);
1399
- var msg = new proto.PRListResponse;
1400
- return proto.PRListResponse.deserializeBinaryFromReader(msg, reader);
1401
- };
1402
-
1403
-
1404
- /**
1405
- * Deserializes binary data (in protobuf wire format) from the
1406
- * given reader into the given message object.
1407
- * @param {!proto.PRListResponse} msg The message object to deserialize into.
1408
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1409
- * @return {!proto.PRListResponse}
1410
- */
1411
- proto.PRListResponse.deserializeBinaryFromReader = function(msg, reader) {
1412
- while (reader.nextField()) {
1413
- if (reader.isEndGroup()) {
1414
- break;
1415
- }
1416
- var field = reader.getFieldNumber();
1417
- switch (field) {
1418
- case 1:
1419
- var value = new proto.PRDetailResponse;
1420
- reader.readMessage(value,proto.PRDetailResponse.deserializeBinaryFromReader);
1421
- msg.addPurchaserequests(value);
1422
- break;
1423
- case 2:
1424
- var value = new proto.ResponseMeta;
1425
- reader.readMessage(value,proto.ResponseMeta.deserializeBinaryFromReader);
1426
- msg.setMeta(value);
1427
- break;
1428
- default:
1429
- reader.skipField();
1430
- break;
1431
- }
1432
- }
1433
- return msg;
1434
- };
1435
-
1436
-
1437
- /**
1438
- * Serializes the message to binary data (in protobuf wire format).
1439
- * @return {!Uint8Array}
1440
- */
1441
- proto.PRListResponse.prototype.serializeBinary = function() {
1442
- var writer = new jspb.BinaryWriter();
1443
- proto.PRListResponse.serializeBinaryToWriter(this, writer);
1444
- return writer.getResultBuffer();
1445
- };
1446
-
1447
-
1448
- /**
1449
- * Serializes the given message to binary data (in protobuf wire
1450
- * format), writing to the given BinaryWriter.
1451
- * @param {!proto.PRListResponse} message
1452
- * @param {!jspb.BinaryWriter} writer
1453
- * @suppress {unusedLocalVariables} f is only used for nested messages
1454
- */
1455
- proto.PRListResponse.serializeBinaryToWriter = function(message, writer) {
1456
- var f = undefined;
1457
- f = message.getPurchaserequestsList();
1458
- if (f.length > 0) {
1459
- writer.writeRepeatedMessage(
1460
- 1,
1461
- f,
1462
- proto.PRDetailResponse.serializeBinaryToWriter
1463
- );
1464
- }
1465
- f = message.getMeta();
1466
- if (f != null) {
1467
- writer.writeMessage(
1468
- 2,
1469
- f,
1470
- proto.ResponseMeta.serializeBinaryToWriter
1471
- );
1472
- }
1473
- };
1474
-
1475
-
1476
- /**
1477
- * repeated PRDetailResponse PurchaseRequests = 1;
1478
- * @return {!Array<!proto.PRDetailResponse>}
1479
- */
1480
- proto.PRListResponse.prototype.getPurchaserequestsList = function() {
1481
- return /** @type{!Array<!proto.PRDetailResponse>} */ (
1482
- jspb.Message.getRepeatedWrapperField(this, proto.PRDetailResponse, 1));
1483
- };
1484
-
1485
-
1486
- /**
1487
- * @param {!Array<!proto.PRDetailResponse>} value
1488
- * @return {!proto.PRListResponse} returns this
1489
- */
1490
- proto.PRListResponse.prototype.setPurchaserequestsList = function(value) {
1491
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
1492
- };
1493
-
1494
-
1495
- /**
1496
- * @param {!proto.PRDetailResponse=} opt_value
1497
- * @param {number=} opt_index
1498
- * @return {!proto.PRDetailResponse}
1499
- */
1500
- proto.PRListResponse.prototype.addPurchaserequests = function(opt_value, opt_index) {
1501
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.PRDetailResponse, opt_index);
1502
- };
1503
-
1504
-
1505
- /**
1506
- * Clears the list making it empty but non-null.
1507
- * @return {!proto.PRListResponse} returns this
1508
- */
1509
- proto.PRListResponse.prototype.clearPurchaserequestsList = function() {
1510
- return this.setPurchaserequestsList([]);
1511
- };
1512
-
1513
-
1514
- /**
1515
- * optional ResponseMeta Meta = 2;
1516
- * @return {?proto.ResponseMeta}
1517
- */
1518
- proto.PRListResponse.prototype.getMeta = function() {
1519
- return /** @type{?proto.ResponseMeta} */ (
1520
- jspb.Message.getWrapperField(this, proto.ResponseMeta, 2));
1521
- };
1522
-
1523
-
1524
- /**
1525
- * @param {?proto.ResponseMeta|undefined} value
1526
- * @return {!proto.PRListResponse} returns this
1527
- */
1528
- proto.PRListResponse.prototype.setMeta = function(value) {
1529
- return jspb.Message.setWrapperField(this, 2, value);
1530
- };
1531
-
1532
-
1533
- /**
1534
- * Clears the message field making it undefined.
1535
- * @return {!proto.PRListResponse} returns this
1536
- */
1537
- proto.PRListResponse.prototype.clearMeta = function() {
1538
- return this.setMeta(undefined);
1539
- };
1540
-
1541
-
1542
- /**
1543
- * Returns whether this field is set.
1544
- * @return {boolean}
1545
- */
1546
- proto.PRListResponse.prototype.hasMeta = function() {
1547
- return jspb.Message.getField(this, 2) != null;
1548
- };
1549
-
1550
-
1551
-
1552
-
1553
-
1554
- if (jspb.Message.GENERATE_TO_OBJECT) {
1555
- /**
1556
- * Creates an object representation of this proto.
1557
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1558
- * Optional fields that are not set will be set to undefined.
1559
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1560
- * For the list of reserved names please see:
1561
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1562
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1563
- * JSPB instance for transitional soy proto support:
1564
- * http://goto/soy-param-migration
1565
- * @return {!Object}
1566
- */
1567
- proto.SuccessResponse.prototype.toObject = function(opt_includeInstance) {
1568
- return proto.SuccessResponse.toObject(opt_includeInstance, this);
1569
- };
1570
-
1571
-
1572
- /**
1573
- * Static version of the {@see toObject} method.
1574
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1575
- * the JSPB instance for transitional soy proto support:
1576
- * http://goto/soy-param-migration
1577
- * @param {!proto.SuccessResponse} msg The msg instance to transform.
1578
- * @return {!Object}
1579
- * @suppress {unusedLocalVariables} f is only used for nested messages
1580
- */
1581
- proto.SuccessResponse.toObject = function(includeInstance, msg) {
1582
- var f, obj = {
1583
- response: jspb.Message.getFieldWithDefault(msg, 1, "")
1584
- };
1585
-
1586
- if (includeInstance) {
1587
- obj.$jspbMessageInstance = msg;
1588
- }
1589
- return obj;
1590
- };
1591
- }
1592
-
1593
-
1594
- /**
1595
- * Deserializes binary data (in protobuf wire format).
1596
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1597
- * @return {!proto.SuccessResponse}
1598
- */
1599
- proto.SuccessResponse.deserializeBinary = function(bytes) {
1600
- var reader = new jspb.BinaryReader(bytes);
1601
- var msg = new proto.SuccessResponse;
1602
- return proto.SuccessResponse.deserializeBinaryFromReader(msg, reader);
1603
- };
1604
-
1605
-
1606
- /**
1607
- * Deserializes binary data (in protobuf wire format) from the
1608
- * given reader into the given message object.
1609
- * @param {!proto.SuccessResponse} msg The message object to deserialize into.
1610
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1611
- * @return {!proto.SuccessResponse}
1612
- */
1613
- proto.SuccessResponse.deserializeBinaryFromReader = function(msg, reader) {
1614
- while (reader.nextField()) {
1615
- if (reader.isEndGroup()) {
1616
- break;
1617
- }
1618
- var field = reader.getFieldNumber();
1619
- switch (field) {
1620
- case 1:
1621
- var value = /** @type {string} */ (reader.readString());
1622
- msg.setResponse(value);
1623
- break;
1624
- default:
1625
- reader.skipField();
1626
- break;
1627
- }
1628
- }
1629
- return msg;
1630
- };
1631
-
1632
-
1633
- /**
1634
- * Serializes the message to binary data (in protobuf wire format).
1635
- * @return {!Uint8Array}
1636
- */
1637
- proto.SuccessResponse.prototype.serializeBinary = function() {
1638
- var writer = new jspb.BinaryWriter();
1639
- proto.SuccessResponse.serializeBinaryToWriter(this, writer);
1640
- return writer.getResultBuffer();
1641
- };
1642
-
1643
-
1644
- /**
1645
- * Serializes the given message to binary data (in protobuf wire
1646
- * format), writing to the given BinaryWriter.
1647
- * @param {!proto.SuccessResponse} message
1648
- * @param {!jspb.BinaryWriter} writer
1649
- * @suppress {unusedLocalVariables} f is only used for nested messages
1650
- */
1651
- proto.SuccessResponse.serializeBinaryToWriter = function(message, writer) {
1652
- var f = undefined;
1653
- f = message.getResponse();
1654
- if (f.length > 0) {
1655
- writer.writeString(
1656
- 1,
1657
- f
1658
- );
1659
- }
1660
- };
1661
-
1662
-
1663
- /**
1664
- * optional string Response = 1;
1665
- * @return {string}
1666
- */
1667
- proto.SuccessResponse.prototype.getResponse = function() {
1668
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1669
- };
1670
-
1671
-
1672
- /**
1673
- * @param {string} value
1674
- * @return {!proto.SuccessResponse} returns this
1675
- */
1676
- proto.SuccessResponse.prototype.setResponse = function(value) {
1677
- return jspb.Message.setProto3StringField(this, 1, value);
1678
- };
1679
-
1680
-
1681
- goog.object.extend(exports, proto);