@aldiokta/protocgen 1.1.22 → 1.1.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/account_assignment/account_assignment.proto +81 -0
  3. package/prisca/v1/account_group/account_group.proto +88 -0
  4. package/prisca/v1/bidding/bidding.proto +221 -0
  5. package/prisca/v1/chart_of_account/chart_of_account.proto +89 -0
  6. package/prisca/v1/core/access_manager/access_manager.proto +281 -0
  7. package/prisca/v1/core/auth/auth.proto +150 -0
  8. package/prisca/v1/core/chat_messaging/chat_messaging.proto +55 -0
  9. package/prisca/v1/core/company/company.proto +92 -0
  10. package/prisca/v1/core/currency/currency.proto +76 -0
  11. package/prisca/v1/core/department_material/department_material.proto +69 -0
  12. package/prisca/v1/core/employee/employee.proto +129 -0
  13. package/prisca/v1/core/file_upload/file_upload.proto +37 -0
  14. package/prisca/v1/core/incoterm/incoterm.proto +85 -0
  15. package/prisca/v1/core/item_transaction/item_transaction.proto +134 -0
  16. package/prisca/v1/core/job_grade/job_grade.proto +79 -0
  17. package/prisca/v1/core/job_position/job_position.proto +113 -0
  18. package/prisca/v1/core/job_title/job_title.proto +89 -0
  19. package/prisca/v1/core/line_of_activity/line_of_activity.proto +66 -0
  20. package/prisca/v1/core/line_of_approval/line_of_approval.proto +96 -0
  21. package/prisca/v1/core/link_data_source/link_data_source.proto +78 -0
  22. package/prisca/v1/core/location/location.proto +289 -0
  23. package/prisca/v1/core/material/material.proto +131 -0
  24. package/prisca/v1/core/material_group/material_group.proto +85 -0
  25. package/prisca/v1/core/material_type/material_type.proto +95 -0
  26. package/prisca/v1/core/messaging/email_template.proto +75 -0
  27. package/prisca/v1/core/messaging/messaging.proto +29 -0
  28. package/prisca/v1/core/number_range/number_range.proto +89 -0
  29. package/prisca/v1/core/organization/organization.proto +94 -0
  30. package/prisca/v1/core/organization_level/organization_level.proto +77 -0
  31. package/prisca/v1/core/price_condition/price_condition.proto +93 -0
  32. package/prisca/v1/core/procurement/procurement.proto +54 -0
  33. package/prisca/v1/core/recipient_roles/recipient_roles.proto +10 -0
  34. package/prisca/v1/core/report/report.proto +90 -0
  35. package/prisca/v1/core/report/user_report.proto +74 -0
  36. package/prisca/v1/core/tax_code/tax_code.proto +82 -0
  37. package/prisca/v1/core/term_of_payment/term_of_payment.proto +74 -0
  38. package/prisca/v1/core/transaction_builder/transaction_builder.proto +325 -0
  39. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +88 -0
  40. package/prisca/v1/core/users/users.proto +55 -0
  41. package/prisca/v1/core/work_location/work_location.proto +122 -0
  42. package/prisca/v1/core/workflow/workflow.proto +218 -0
  43. package/prisca/v1/delivery_order/delivery_order.proto +147 -0
  44. package/prisca/v1/document_type/document_type.proto +82 -0
  45. package/prisca/v1/general_ledger_account/general_ledger_account.proto +100 -0
  46. package/prisca/v1/global/meta/meta.proto +57 -0
  47. package/prisca/v1/good_receipt/good_receipt.proto +11 -0
  48. package/prisca/v1/purchase_order/purchase_order.proto +157 -0
  49. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto +306 -0
  50. package/prisca/v1/purchasing_group/purchasing_group.proto +89 -0
  51. package/prisca/v1/purchasing_organization/purchasing_organization.proto +79 -0
  52. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.proto +81 -0
  53. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.proto +80 -0
  54. package/prisca/v1/quotation/quotation.proto +118 -0
  55. package/prisca/v1/request_for_quotation/request_for_quotation.proto +174 -0
  56. package/prisca/v1/valuation/valuation.proto +223 -0
  57. package/prisca/v1/vendor_domain/vendor_domain.proto +226 -0
  58. package/prisca/v1/account_assignment/account_assignment_grpc_pb.js +0 -199
  59. package/prisca/v1/account_assignment/account_assignment_pb.js +0 -2674
  60. package/prisca/v1/account_group/account_group_grpc_pb.js +0 -200
  61. package/prisca/v1/account_group/account_group_pb.js +0 -2937
  62. package/prisca/v1/bidding/bidding_grpc_pb.js +0 -262
  63. package/prisca/v1/bidding/bidding_pb.js +0 -6944
  64. package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +0 -199
  65. package/prisca/v1/chart_of_account/chart_of_account_pb.js +0 -2907
  66. package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +0 -544
  67. package/prisca/v1/core/access_manager/access_manager_pb.js +0 -9383
  68. package/prisca/v1/core/auth/auth_grpc_pb.js +0 -423
  69. package/prisca/v1/core/auth/auth_pb.js +0 -4497
  70. package/prisca/v1/core/chat_messaging/chat_messaging_grpc_pb.js +0 -111
  71. package/prisca/v1/core/chat_messaging/chat_messaging_pb.js +0 -1531
  72. package/prisca/v1/core/company/company_grpc_pb.js +0 -178
  73. package/prisca/v1/core/company/company_pb.js +0 -3100
  74. package/prisca/v1/core/currency/currency_grpc_pb.js +0 -177
  75. package/prisca/v1/core/currency/currency_pb.js +0 -2522
  76. package/prisca/v1/core/department_material/department_material_grpc_pb.js +0 -144
  77. package/prisca/v1/core/department_material/department_material_pb.js +0 -2167
  78. package/prisca/v1/core/employee/employee_grpc_pb.js +0 -206
  79. package/prisca/v1/core/employee/employee_pb.js +0 -4335
  80. package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +0 -44
  81. package/prisca/v1/core/file_upload/file_upload_pb.js +0 -1052
  82. package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +0 -177
  83. package/prisca/v1/core/incoterm/incoterm_pb.js +0 -2904
  84. package/prisca/v1/core/item_transaction/item_transaction_grpc_pb.js +0 -1
  85. package/prisca/v1/core/item_transaction/item_transaction_pb.js +0 -4180
  86. package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +0 -178
  87. package/prisca/v1/core/job_grade/job_grade_pb.js +0 -2657
  88. package/prisca/v1/core/job_position/job_position_grpc_pb.js +0 -181
  89. package/prisca/v1/core/job_position/job_position_pb.js +0 -3814
  90. package/prisca/v1/core/job_title/job_title_grpc_pb.js +0 -178
  91. package/prisca/v1/core/job_title/job_title_pb.js +0 -3010
  92. package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +0 -45
  93. package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +0 -1188
  94. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +0 -200
  95. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +0 -3251
  96. package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +0 -177
  97. package/prisca/v1/core/link_data_source/link_data_source_pb.js +0 -2612
  98. package/prisca/v1/core/location/location_grpc_pb.js +0 -837
  99. package/prisca/v1/core/location/location_pb.js +0 -10879
  100. package/prisca/v1/core/material/material_grpc_pb.js +0 -182
  101. package/prisca/v1/core/material/material_pb.js +0 -4232
  102. package/prisca/v1/core/material_group/material_group_grpc_pb.js +0 -178
  103. package/prisca/v1/core/material_group/material_group_pb.js +0 -2828
  104. package/prisca/v1/core/material_type/material_type_grpc_pb.js +0 -182
  105. package/prisca/v1/core/material_type/material_type_pb.js +0 -3104
  106. package/prisca/v1/core/messaging/email_template_grpc_pb.js +0 -177
  107. package/prisca/v1/core/messaging/email_template_pb.js +0 -2552
  108. package/prisca/v1/core/messaging/messaging_grpc_pb.js +0 -56
  109. package/prisca/v1/core/messaging/messaging_pb.js +0 -896
  110. package/prisca/v1/core/number_range/number_range_grpc_pb.js +0 -178
  111. package/prisca/v1/core/number_range/number_range_pb.js +0 -2978
  112. package/prisca/v1/core/organization/organization_grpc_pb.js +0 -180
  113. package/prisca/v1/core/organization/organization_pb.js +0 -3084
  114. package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +0 -178
  115. package/prisca/v1/core/organization_level/organization_level_pb.js +0 -2597
  116. package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +0 -179
  117. package/prisca/v1/core/price_condition/price_condition_pb.js +0 -3061
  118. package/prisca/v1/core/procurement/procurement_grpc_pb.js +0 -146
  119. package/prisca/v1/core/procurement/procurement_pb.js +0 -1681
  120. package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +0 -1
  121. package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +0 -206
  122. package/prisca/v1/core/report/report_grpc_pb.js +0 -200
  123. package/prisca/v1/core/report/report_pb.js +0 -2822
  124. package/prisca/v1/core/report/user_report_grpc_pb.js +0 -179
  125. package/prisca/v1/core/report/user_report_pb.js +0 -2452
  126. package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +0 -177
  127. package/prisca/v1/core/tax_code/tax_code_pb.js +0 -2732
  128. package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +0 -177
  129. package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +0 -2512
  130. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +0 -498
  131. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +0 -10976
  132. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +0 -180
  133. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +0 -2798
  134. package/prisca/v1/core/users/users_grpc_pb.js +0 -78
  135. package/prisca/v1/core/users/users_pb.js +0 -1653
  136. package/prisca/v1/core/work_location/work_location_grpc_pb.js +0 -179
  137. package/prisca/v1/core/work_location/work_location_pb.js +0 -4024
  138. package/prisca/v1/core/workflow/workflow_grpc_pb.js +0 -203
  139. package/prisca/v1/core/workflow/workflow_pb.js +0 -7577
  140. package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +0 -229
  141. package/prisca/v1/delivery_order/delivery_order_pb.js +0 -4661
  142. package/prisca/v1/document_type/document_type_grpc_pb.js +0 -178
  143. package/prisca/v1/document_type/document_type_pb.js +0 -2746
  144. package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +0 -181
  145. package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +0 -3276
  146. package/prisca/v1/global/meta/meta_grpc_pb.js +0 -1
  147. package/prisca/v1/global/meta/meta_pb.js +0 -1179
  148. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +0 -1
  149. package/prisca/v1/good_receipt/good_receipt_pb.js +0 -35
  150. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +0 -228
  151. package/prisca/v1/purchase_order/purchase_order_pb.js +0 -5049
  152. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -523
  153. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -9917
  154. package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +0 -178
  155. package/prisca/v1/purchasing_group/purchasing_group_pb.js +0 -2927
  156. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +0 -178
  157. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +0 -2546
  158. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +0 -179
  159. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +0 -2590
  160. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +0 -145
  161. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +0 -2543
  162. package/prisca/v1/quotation/quotation_grpc_pb.js +0 -163
  163. package/prisca/v1/quotation/quotation_pb.js +0 -2796
  164. package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +0 -193
  165. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +0 -5961
  166. package/prisca/v1/valuation/valuation_grpc_pb.js +0 -365
  167. package/prisca/v1/valuation/valuation_pb.js +0 -7729
  168. package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +0 -224
  169. package/prisca/v1/vendor_domain/vendor_domain_pb.js +0 -6363
@@ -1,1052 +0,0 @@
1
- // source: prisca/v1/core/file_upload/file_upload.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.FileInfo', null, global);
25
- goog.exportSymbol('proto.FileUploadReferencesReq', null, global);
26
- goog.exportSymbol('proto.FileUploadReq', null, global);
27
- goog.exportSymbol('proto.FileUploadReq.DataCase', null, global);
28
- goog.exportSymbol('proto.FileUploadRes', null, global);
29
- /**
30
- * Generated by JsPbCodeGenerator.
31
- * @param {Array=} opt_data Optional initial data array, typically from a
32
- * server response, or constructed directly in Javascript. The array is used
33
- * in place and becomes part of the constructed object. It is not cloned.
34
- * If no data is provided, the constructed object will be empty, but still
35
- * valid.
36
- * @extends {jspb.Message}
37
- * @constructor
38
- */
39
- proto.FileInfo = function(opt_data) {
40
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
41
- };
42
- goog.inherits(proto.FileInfo, jspb.Message);
43
- if (goog.DEBUG && !COMPILED) {
44
- /**
45
- * @public
46
- * @override
47
- */
48
- proto.FileInfo.displayName = 'proto.FileInfo';
49
- }
50
- /**
51
- * Generated by JsPbCodeGenerator.
52
- * @param {Array=} opt_data Optional initial data array, typically from a
53
- * server response, or constructed directly in Javascript. The array is used
54
- * in place and becomes part of the constructed object. It is not cloned.
55
- * If no data is provided, the constructed object will be empty, but still
56
- * valid.
57
- * @extends {jspb.Message}
58
- * @constructor
59
- */
60
- proto.FileUploadReq = function(opt_data) {
61
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.FileUploadReq.oneofGroups_);
62
- };
63
- goog.inherits(proto.FileUploadReq, jspb.Message);
64
- if (goog.DEBUG && !COMPILED) {
65
- /**
66
- * @public
67
- * @override
68
- */
69
- proto.FileUploadReq.displayName = 'proto.FileUploadReq';
70
- }
71
- /**
72
- * Generated by JsPbCodeGenerator.
73
- * @param {Array=} opt_data Optional initial data array, typically from a
74
- * server response, or constructed directly in Javascript. The array is used
75
- * in place and becomes part of the constructed object. It is not cloned.
76
- * If no data is provided, the constructed object will be empty, but still
77
- * valid.
78
- * @extends {jspb.Message}
79
- * @constructor
80
- */
81
- proto.FileUploadReferencesReq = function(opt_data) {
82
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
83
- };
84
- goog.inherits(proto.FileUploadReferencesReq, jspb.Message);
85
- if (goog.DEBUG && !COMPILED) {
86
- /**
87
- * @public
88
- * @override
89
- */
90
- proto.FileUploadReferencesReq.displayName = 'proto.FileUploadReferencesReq';
91
- }
92
- /**
93
- * Generated by JsPbCodeGenerator.
94
- * @param {Array=} opt_data Optional initial data array, typically from a
95
- * server response, or constructed directly in Javascript. The array is used
96
- * in place and becomes part of the constructed object. It is not cloned.
97
- * If no data is provided, the constructed object will be empty, but still
98
- * valid.
99
- * @extends {jspb.Message}
100
- * @constructor
101
- */
102
- proto.FileUploadRes = function(opt_data) {
103
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
104
- };
105
- goog.inherits(proto.FileUploadRes, jspb.Message);
106
- if (goog.DEBUG && !COMPILED) {
107
- /**
108
- * @public
109
- * @override
110
- */
111
- proto.FileUploadRes.displayName = 'proto.FileUploadRes';
112
- }
113
-
114
-
115
-
116
- if (jspb.Message.GENERATE_TO_OBJECT) {
117
- /**
118
- * Creates an object representation of this proto.
119
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
120
- * Optional fields that are not set will be set to undefined.
121
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
122
- * For the list of reserved names please see:
123
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
124
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
125
- * JSPB instance for transitional soy proto support:
126
- * http://goto/soy-param-migration
127
- * @return {!Object}
128
- */
129
- proto.FileInfo.prototype.toObject = function(opt_includeInstance) {
130
- return proto.FileInfo.toObject(opt_includeInstance, this);
131
- };
132
-
133
-
134
- /**
135
- * Static version of the {@see toObject} method.
136
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
137
- * the JSPB instance for transitional soy proto support:
138
- * http://goto/soy-param-migration
139
- * @param {!proto.FileInfo} msg The msg instance to transform.
140
- * @return {!Object}
141
- * @suppress {unusedLocalVariables} f is only used for nested messages
142
- */
143
- proto.FileInfo.toObject = function(includeInstance, msg) {
144
- var f, obj = {
145
- fileName: jspb.Message.getFieldWithDefault(msg, 1, ""),
146
- name: jspb.Message.getFieldWithDefault(msg, 2, ""),
147
- description: jspb.Message.getFieldWithDefault(msg, 3, "")
148
- };
149
-
150
- if (includeInstance) {
151
- obj.$jspbMessageInstance = msg;
152
- }
153
- return obj;
154
- };
155
- }
156
-
157
-
158
- /**
159
- * Deserializes binary data (in protobuf wire format).
160
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
161
- * @return {!proto.FileInfo}
162
- */
163
- proto.FileInfo.deserializeBinary = function(bytes) {
164
- var reader = new jspb.BinaryReader(bytes);
165
- var msg = new proto.FileInfo;
166
- return proto.FileInfo.deserializeBinaryFromReader(msg, reader);
167
- };
168
-
169
-
170
- /**
171
- * Deserializes binary data (in protobuf wire format) from the
172
- * given reader into the given message object.
173
- * @param {!proto.FileInfo} msg The message object to deserialize into.
174
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
175
- * @return {!proto.FileInfo}
176
- */
177
- proto.FileInfo.deserializeBinaryFromReader = function(msg, reader) {
178
- while (reader.nextField()) {
179
- if (reader.isEndGroup()) {
180
- break;
181
- }
182
- var field = reader.getFieldNumber();
183
- switch (field) {
184
- case 1:
185
- var value = /** @type {string} */ (reader.readString());
186
- msg.setFileName(value);
187
- break;
188
- case 2:
189
- var value = /** @type {string} */ (reader.readString());
190
- msg.setName(value);
191
- break;
192
- case 3:
193
- var value = /** @type {string} */ (reader.readString());
194
- msg.setDescription(value);
195
- break;
196
- default:
197
- reader.skipField();
198
- break;
199
- }
200
- }
201
- return msg;
202
- };
203
-
204
-
205
- /**
206
- * Serializes the message to binary data (in protobuf wire format).
207
- * @return {!Uint8Array}
208
- */
209
- proto.FileInfo.prototype.serializeBinary = function() {
210
- var writer = new jspb.BinaryWriter();
211
- proto.FileInfo.serializeBinaryToWriter(this, writer);
212
- return writer.getResultBuffer();
213
- };
214
-
215
-
216
- /**
217
- * Serializes the given message to binary data (in protobuf wire
218
- * format), writing to the given BinaryWriter.
219
- * @param {!proto.FileInfo} message
220
- * @param {!jspb.BinaryWriter} writer
221
- * @suppress {unusedLocalVariables} f is only used for nested messages
222
- */
223
- proto.FileInfo.serializeBinaryToWriter = function(message, writer) {
224
- var f = undefined;
225
- f = message.getFileName();
226
- if (f.length > 0) {
227
- writer.writeString(
228
- 1,
229
- f
230
- );
231
- }
232
- f = message.getName();
233
- if (f.length > 0) {
234
- writer.writeString(
235
- 2,
236
- f
237
- );
238
- }
239
- f = message.getDescription();
240
- if (f.length > 0) {
241
- writer.writeString(
242
- 3,
243
- f
244
- );
245
- }
246
- };
247
-
248
-
249
- /**
250
- * optional string file_name = 1;
251
- * @return {string}
252
- */
253
- proto.FileInfo.prototype.getFileName = function() {
254
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
255
- };
256
-
257
-
258
- /**
259
- * @param {string} value
260
- * @return {!proto.FileInfo} returns this
261
- */
262
- proto.FileInfo.prototype.setFileName = function(value) {
263
- return jspb.Message.setProto3StringField(this, 1, value);
264
- };
265
-
266
-
267
- /**
268
- * optional string name = 2;
269
- * @return {string}
270
- */
271
- proto.FileInfo.prototype.getName = function() {
272
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
273
- };
274
-
275
-
276
- /**
277
- * @param {string} value
278
- * @return {!proto.FileInfo} returns this
279
- */
280
- proto.FileInfo.prototype.setName = function(value) {
281
- return jspb.Message.setProto3StringField(this, 2, value);
282
- };
283
-
284
-
285
- /**
286
- * optional string description = 3;
287
- * @return {string}
288
- */
289
- proto.FileInfo.prototype.getDescription = function() {
290
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
291
- };
292
-
293
-
294
- /**
295
- * @param {string} value
296
- * @return {!proto.FileInfo} returns this
297
- */
298
- proto.FileInfo.prototype.setDescription = function(value) {
299
- return jspb.Message.setProto3StringField(this, 3, value);
300
- };
301
-
302
-
303
-
304
- /**
305
- * Oneof group definitions for this message. Each group defines the field
306
- * numbers belonging to that group. When of these fields' value is set, all
307
- * other fields in the group are cleared. During deserialization, if multiple
308
- * fields are encountered for a group, only the last value seen will be kept.
309
- * @private {!Array<!Array<number>>}
310
- * @const
311
- */
312
- proto.FileUploadReq.oneofGroups_ = [[1,2]];
313
-
314
- /**
315
- * @enum {number}
316
- */
317
- proto.FileUploadReq.DataCase = {
318
- DATA_NOT_SET: 0,
319
- INFO: 1,
320
- CHUNK_DATA: 2
321
- };
322
-
323
- /**
324
- * @return {proto.FileUploadReq.DataCase}
325
- */
326
- proto.FileUploadReq.prototype.getDataCase = function() {
327
- return /** @type {proto.FileUploadReq.DataCase} */(jspb.Message.computeOneofCase(this, proto.FileUploadReq.oneofGroups_[0]));
328
- };
329
-
330
-
331
-
332
- if (jspb.Message.GENERATE_TO_OBJECT) {
333
- /**
334
- * Creates an object representation of this proto.
335
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
336
- * Optional fields that are not set will be set to undefined.
337
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
338
- * For the list of reserved names please see:
339
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
340
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
341
- * JSPB instance for transitional soy proto support:
342
- * http://goto/soy-param-migration
343
- * @return {!Object}
344
- */
345
- proto.FileUploadReq.prototype.toObject = function(opt_includeInstance) {
346
- return proto.FileUploadReq.toObject(opt_includeInstance, this);
347
- };
348
-
349
-
350
- /**
351
- * Static version of the {@see toObject} method.
352
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
353
- * the JSPB instance for transitional soy proto support:
354
- * http://goto/soy-param-migration
355
- * @param {!proto.FileUploadReq} msg The msg instance to transform.
356
- * @return {!Object}
357
- * @suppress {unusedLocalVariables} f is only used for nested messages
358
- */
359
- proto.FileUploadReq.toObject = function(includeInstance, msg) {
360
- var f, obj = {
361
- info: (f = msg.getInfo()) && proto.FileInfo.toObject(includeInstance, f),
362
- chunkData: msg.getChunkData_asB64()
363
- };
364
-
365
- if (includeInstance) {
366
- obj.$jspbMessageInstance = msg;
367
- }
368
- return obj;
369
- };
370
- }
371
-
372
-
373
- /**
374
- * Deserializes binary data (in protobuf wire format).
375
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
376
- * @return {!proto.FileUploadReq}
377
- */
378
- proto.FileUploadReq.deserializeBinary = function(bytes) {
379
- var reader = new jspb.BinaryReader(bytes);
380
- var msg = new proto.FileUploadReq;
381
- return proto.FileUploadReq.deserializeBinaryFromReader(msg, reader);
382
- };
383
-
384
-
385
- /**
386
- * Deserializes binary data (in protobuf wire format) from the
387
- * given reader into the given message object.
388
- * @param {!proto.FileUploadReq} msg The message object to deserialize into.
389
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
390
- * @return {!proto.FileUploadReq}
391
- */
392
- proto.FileUploadReq.deserializeBinaryFromReader = function(msg, reader) {
393
- while (reader.nextField()) {
394
- if (reader.isEndGroup()) {
395
- break;
396
- }
397
- var field = reader.getFieldNumber();
398
- switch (field) {
399
- case 1:
400
- var value = new proto.FileInfo;
401
- reader.readMessage(value,proto.FileInfo.deserializeBinaryFromReader);
402
- msg.setInfo(value);
403
- break;
404
- case 2:
405
- var value = /** @type {!Uint8Array} */ (reader.readBytes());
406
- msg.setChunkData(value);
407
- break;
408
- default:
409
- reader.skipField();
410
- break;
411
- }
412
- }
413
- return msg;
414
- };
415
-
416
-
417
- /**
418
- * Serializes the message to binary data (in protobuf wire format).
419
- * @return {!Uint8Array}
420
- */
421
- proto.FileUploadReq.prototype.serializeBinary = function() {
422
- var writer = new jspb.BinaryWriter();
423
- proto.FileUploadReq.serializeBinaryToWriter(this, writer);
424
- return writer.getResultBuffer();
425
- };
426
-
427
-
428
- /**
429
- * Serializes the given message to binary data (in protobuf wire
430
- * format), writing to the given BinaryWriter.
431
- * @param {!proto.FileUploadReq} message
432
- * @param {!jspb.BinaryWriter} writer
433
- * @suppress {unusedLocalVariables} f is only used for nested messages
434
- */
435
- proto.FileUploadReq.serializeBinaryToWriter = function(message, writer) {
436
- var f = undefined;
437
- f = message.getInfo();
438
- if (f != null) {
439
- writer.writeMessage(
440
- 1,
441
- f,
442
- proto.FileInfo.serializeBinaryToWriter
443
- );
444
- }
445
- f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 2));
446
- if (f != null) {
447
- writer.writeBytes(
448
- 2,
449
- f
450
- );
451
- }
452
- };
453
-
454
-
455
- /**
456
- * optional FileInfo info = 1;
457
- * @return {?proto.FileInfo}
458
- */
459
- proto.FileUploadReq.prototype.getInfo = function() {
460
- return /** @type{?proto.FileInfo} */ (
461
- jspb.Message.getWrapperField(this, proto.FileInfo, 1));
462
- };
463
-
464
-
465
- /**
466
- * @param {?proto.FileInfo|undefined} value
467
- * @return {!proto.FileUploadReq} returns this
468
- */
469
- proto.FileUploadReq.prototype.setInfo = function(value) {
470
- return jspb.Message.setOneofWrapperField(this, 1, proto.FileUploadReq.oneofGroups_[0], value);
471
- };
472
-
473
-
474
- /**
475
- * Clears the message field making it undefined.
476
- * @return {!proto.FileUploadReq} returns this
477
- */
478
- proto.FileUploadReq.prototype.clearInfo = function() {
479
- return this.setInfo(undefined);
480
- };
481
-
482
-
483
- /**
484
- * Returns whether this field is set.
485
- * @return {boolean}
486
- */
487
- proto.FileUploadReq.prototype.hasInfo = function() {
488
- return jspb.Message.getField(this, 1) != null;
489
- };
490
-
491
-
492
- /**
493
- * optional bytes chunk_data = 2;
494
- * @return {!(string|Uint8Array)}
495
- */
496
- proto.FileUploadReq.prototype.getChunkData = function() {
497
- return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
498
- };
499
-
500
-
501
- /**
502
- * optional bytes chunk_data = 2;
503
- * This is a type-conversion wrapper around `getChunkData()`
504
- * @return {string}
505
- */
506
- proto.FileUploadReq.prototype.getChunkData_asB64 = function() {
507
- return /** @type {string} */ (jspb.Message.bytesAsB64(
508
- this.getChunkData()));
509
- };
510
-
511
-
512
- /**
513
- * optional bytes chunk_data = 2;
514
- * Note that Uint8Array is not supported on all browsers.
515
- * @see http://caniuse.com/Uint8Array
516
- * This is a type-conversion wrapper around `getChunkData()`
517
- * @return {!Uint8Array}
518
- */
519
- proto.FileUploadReq.prototype.getChunkData_asU8 = function() {
520
- return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
521
- this.getChunkData()));
522
- };
523
-
524
-
525
- /**
526
- * @param {!(string|Uint8Array)} value
527
- * @return {!proto.FileUploadReq} returns this
528
- */
529
- proto.FileUploadReq.prototype.setChunkData = function(value) {
530
- return jspb.Message.setOneofField(this, 2, proto.FileUploadReq.oneofGroups_[0], value);
531
- };
532
-
533
-
534
- /**
535
- * Clears the field making it undefined.
536
- * @return {!proto.FileUploadReq} returns this
537
- */
538
- proto.FileUploadReq.prototype.clearChunkData = function() {
539
- return jspb.Message.setOneofField(this, 2, proto.FileUploadReq.oneofGroups_[0], undefined);
540
- };
541
-
542
-
543
- /**
544
- * Returns whether this field is set.
545
- * @return {boolean}
546
- */
547
- proto.FileUploadReq.prototype.hasChunkData = function() {
548
- return jspb.Message.getField(this, 2) != null;
549
- };
550
-
551
-
552
-
553
-
554
-
555
- if (jspb.Message.GENERATE_TO_OBJECT) {
556
- /**
557
- * Creates an object representation of this proto.
558
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
559
- * Optional fields that are not set will be set to undefined.
560
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
561
- * For the list of reserved names please see:
562
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
563
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
564
- * JSPB instance for transitional soy proto support:
565
- * http://goto/soy-param-migration
566
- * @return {!Object}
567
- */
568
- proto.FileUploadReferencesReq.prototype.toObject = function(opt_includeInstance) {
569
- return proto.FileUploadReferencesReq.toObject(opt_includeInstance, this);
570
- };
571
-
572
-
573
- /**
574
- * Static version of the {@see toObject} method.
575
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
576
- * the JSPB instance for transitional soy proto support:
577
- * http://goto/soy-param-migration
578
- * @param {!proto.FileUploadReferencesReq} msg The msg instance to transform.
579
- * @return {!Object}
580
- * @suppress {unusedLocalVariables} f is only used for nested messages
581
- */
582
- proto.FileUploadReferencesReq.toObject = function(includeInstance, msg) {
583
- var f, obj = {
584
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
585
- url: jspb.Message.getFieldWithDefault(msg, 2, ""),
586
- fileName: jspb.Message.getFieldWithDefault(msg, 3, ""),
587
- name: jspb.Message.getFieldWithDefault(msg, 4, ""),
588
- description: jspb.Message.getFieldWithDefault(msg, 5, "")
589
- };
590
-
591
- if (includeInstance) {
592
- obj.$jspbMessageInstance = msg;
593
- }
594
- return obj;
595
- };
596
- }
597
-
598
-
599
- /**
600
- * Deserializes binary data (in protobuf wire format).
601
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
602
- * @return {!proto.FileUploadReferencesReq}
603
- */
604
- proto.FileUploadReferencesReq.deserializeBinary = function(bytes) {
605
- var reader = new jspb.BinaryReader(bytes);
606
- var msg = new proto.FileUploadReferencesReq;
607
- return proto.FileUploadReferencesReq.deserializeBinaryFromReader(msg, reader);
608
- };
609
-
610
-
611
- /**
612
- * Deserializes binary data (in protobuf wire format) from the
613
- * given reader into the given message object.
614
- * @param {!proto.FileUploadReferencesReq} msg The message object to deserialize into.
615
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
616
- * @return {!proto.FileUploadReferencesReq}
617
- */
618
- proto.FileUploadReferencesReq.deserializeBinaryFromReader = function(msg, reader) {
619
- while (reader.nextField()) {
620
- if (reader.isEndGroup()) {
621
- break;
622
- }
623
- var field = reader.getFieldNumber();
624
- switch (field) {
625
- case 1:
626
- var value = /** @type {string} */ (reader.readString());
627
- msg.setReferencesId(value);
628
- break;
629
- case 2:
630
- var value = /** @type {string} */ (reader.readString());
631
- msg.setUrl(value);
632
- break;
633
- case 3:
634
- var value = /** @type {string} */ (reader.readString());
635
- msg.setFileName(value);
636
- break;
637
- case 4:
638
- var value = /** @type {string} */ (reader.readString());
639
- msg.setName(value);
640
- break;
641
- case 5:
642
- var value = /** @type {string} */ (reader.readString());
643
- msg.setDescription(value);
644
- break;
645
- default:
646
- reader.skipField();
647
- break;
648
- }
649
- }
650
- return msg;
651
- };
652
-
653
-
654
- /**
655
- * Serializes the message to binary data (in protobuf wire format).
656
- * @return {!Uint8Array}
657
- */
658
- proto.FileUploadReferencesReq.prototype.serializeBinary = function() {
659
- var writer = new jspb.BinaryWriter();
660
- proto.FileUploadReferencesReq.serializeBinaryToWriter(this, writer);
661
- return writer.getResultBuffer();
662
- };
663
-
664
-
665
- /**
666
- * Serializes the given message to binary data (in protobuf wire
667
- * format), writing to the given BinaryWriter.
668
- * @param {!proto.FileUploadReferencesReq} message
669
- * @param {!jspb.BinaryWriter} writer
670
- * @suppress {unusedLocalVariables} f is only used for nested messages
671
- */
672
- proto.FileUploadReferencesReq.serializeBinaryToWriter = function(message, writer) {
673
- var f = undefined;
674
- f = message.getReferencesId();
675
- if (f.length > 0) {
676
- writer.writeString(
677
- 1,
678
- f
679
- );
680
- }
681
- f = message.getUrl();
682
- if (f.length > 0) {
683
- writer.writeString(
684
- 2,
685
- f
686
- );
687
- }
688
- f = message.getFileName();
689
- if (f.length > 0) {
690
- writer.writeString(
691
- 3,
692
- f
693
- );
694
- }
695
- f = message.getName();
696
- if (f.length > 0) {
697
- writer.writeString(
698
- 4,
699
- f
700
- );
701
- }
702
- f = message.getDescription();
703
- if (f.length > 0) {
704
- writer.writeString(
705
- 5,
706
- f
707
- );
708
- }
709
- };
710
-
711
-
712
- /**
713
- * optional string references_id = 1;
714
- * @return {string}
715
- */
716
- proto.FileUploadReferencesReq.prototype.getReferencesId = function() {
717
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
718
- };
719
-
720
-
721
- /**
722
- * @param {string} value
723
- * @return {!proto.FileUploadReferencesReq} returns this
724
- */
725
- proto.FileUploadReferencesReq.prototype.setReferencesId = function(value) {
726
- return jspb.Message.setProto3StringField(this, 1, value);
727
- };
728
-
729
-
730
- /**
731
- * optional string url = 2;
732
- * @return {string}
733
- */
734
- proto.FileUploadReferencesReq.prototype.getUrl = function() {
735
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
736
- };
737
-
738
-
739
- /**
740
- * @param {string} value
741
- * @return {!proto.FileUploadReferencesReq} returns this
742
- */
743
- proto.FileUploadReferencesReq.prototype.setUrl = function(value) {
744
- return jspb.Message.setProto3StringField(this, 2, value);
745
- };
746
-
747
-
748
- /**
749
- * optional string file_name = 3;
750
- * @return {string}
751
- */
752
- proto.FileUploadReferencesReq.prototype.getFileName = function() {
753
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
754
- };
755
-
756
-
757
- /**
758
- * @param {string} value
759
- * @return {!proto.FileUploadReferencesReq} returns this
760
- */
761
- proto.FileUploadReferencesReq.prototype.setFileName = function(value) {
762
- return jspb.Message.setProto3StringField(this, 3, value);
763
- };
764
-
765
-
766
- /**
767
- * optional string name = 4;
768
- * @return {string}
769
- */
770
- proto.FileUploadReferencesReq.prototype.getName = function() {
771
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
772
- };
773
-
774
-
775
- /**
776
- * @param {string} value
777
- * @return {!proto.FileUploadReferencesReq} returns this
778
- */
779
- proto.FileUploadReferencesReq.prototype.setName = function(value) {
780
- return jspb.Message.setProto3StringField(this, 4, value);
781
- };
782
-
783
-
784
- /**
785
- * optional string description = 5;
786
- * @return {string}
787
- */
788
- proto.FileUploadReferencesReq.prototype.getDescription = function() {
789
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
790
- };
791
-
792
-
793
- /**
794
- * @param {string} value
795
- * @return {!proto.FileUploadReferencesReq} returns this
796
- */
797
- proto.FileUploadReferencesReq.prototype.setDescription = function(value) {
798
- return jspb.Message.setProto3StringField(this, 5, value);
799
- };
800
-
801
-
802
-
803
-
804
-
805
- if (jspb.Message.GENERATE_TO_OBJECT) {
806
- /**
807
- * Creates an object representation of this proto.
808
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
809
- * Optional fields that are not set will be set to undefined.
810
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
811
- * For the list of reserved names please see:
812
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
813
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
814
- * JSPB instance for transitional soy proto support:
815
- * http://goto/soy-param-migration
816
- * @return {!Object}
817
- */
818
- proto.FileUploadRes.prototype.toObject = function(opt_includeInstance) {
819
- return proto.FileUploadRes.toObject(opt_includeInstance, this);
820
- };
821
-
822
-
823
- /**
824
- * Static version of the {@see toObject} method.
825
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
826
- * the JSPB instance for transitional soy proto support:
827
- * http://goto/soy-param-migration
828
- * @param {!proto.FileUploadRes} msg The msg instance to transform.
829
- * @return {!Object}
830
- * @suppress {unusedLocalVariables} f is only used for nested messages
831
- */
832
- proto.FileUploadRes.toObject = function(includeInstance, msg) {
833
- var f, obj = {
834
- referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
835
- url: jspb.Message.getFieldWithDefault(msg, 2, ""),
836
- fileName: jspb.Message.getFieldWithDefault(msg, 3, ""),
837
- name: jspb.Message.getFieldWithDefault(msg, 4, ""),
838
- description: jspb.Message.getFieldWithDefault(msg, 5, "")
839
- };
840
-
841
- if (includeInstance) {
842
- obj.$jspbMessageInstance = msg;
843
- }
844
- return obj;
845
- };
846
- }
847
-
848
-
849
- /**
850
- * Deserializes binary data (in protobuf wire format).
851
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
852
- * @return {!proto.FileUploadRes}
853
- */
854
- proto.FileUploadRes.deserializeBinary = function(bytes) {
855
- var reader = new jspb.BinaryReader(bytes);
856
- var msg = new proto.FileUploadRes;
857
- return proto.FileUploadRes.deserializeBinaryFromReader(msg, reader);
858
- };
859
-
860
-
861
- /**
862
- * Deserializes binary data (in protobuf wire format) from the
863
- * given reader into the given message object.
864
- * @param {!proto.FileUploadRes} msg The message object to deserialize into.
865
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
866
- * @return {!proto.FileUploadRes}
867
- */
868
- proto.FileUploadRes.deserializeBinaryFromReader = function(msg, reader) {
869
- while (reader.nextField()) {
870
- if (reader.isEndGroup()) {
871
- break;
872
- }
873
- var field = reader.getFieldNumber();
874
- switch (field) {
875
- case 1:
876
- var value = /** @type {string} */ (reader.readString());
877
- msg.setReferencesId(value);
878
- break;
879
- case 2:
880
- var value = /** @type {string} */ (reader.readString());
881
- msg.setUrl(value);
882
- break;
883
- case 3:
884
- var value = /** @type {string} */ (reader.readString());
885
- msg.setFileName(value);
886
- break;
887
- case 4:
888
- var value = /** @type {string} */ (reader.readString());
889
- msg.setName(value);
890
- break;
891
- case 5:
892
- var value = /** @type {string} */ (reader.readString());
893
- msg.setDescription(value);
894
- break;
895
- default:
896
- reader.skipField();
897
- break;
898
- }
899
- }
900
- return msg;
901
- };
902
-
903
-
904
- /**
905
- * Serializes the message to binary data (in protobuf wire format).
906
- * @return {!Uint8Array}
907
- */
908
- proto.FileUploadRes.prototype.serializeBinary = function() {
909
- var writer = new jspb.BinaryWriter();
910
- proto.FileUploadRes.serializeBinaryToWriter(this, writer);
911
- return writer.getResultBuffer();
912
- };
913
-
914
-
915
- /**
916
- * Serializes the given message to binary data (in protobuf wire
917
- * format), writing to the given BinaryWriter.
918
- * @param {!proto.FileUploadRes} message
919
- * @param {!jspb.BinaryWriter} writer
920
- * @suppress {unusedLocalVariables} f is only used for nested messages
921
- */
922
- proto.FileUploadRes.serializeBinaryToWriter = function(message, writer) {
923
- var f = undefined;
924
- f = message.getReferencesId();
925
- if (f.length > 0) {
926
- writer.writeString(
927
- 1,
928
- f
929
- );
930
- }
931
- f = message.getUrl();
932
- if (f.length > 0) {
933
- writer.writeString(
934
- 2,
935
- f
936
- );
937
- }
938
- f = message.getFileName();
939
- if (f.length > 0) {
940
- writer.writeString(
941
- 3,
942
- f
943
- );
944
- }
945
- f = message.getName();
946
- if (f.length > 0) {
947
- writer.writeString(
948
- 4,
949
- f
950
- );
951
- }
952
- f = message.getDescription();
953
- if (f.length > 0) {
954
- writer.writeString(
955
- 5,
956
- f
957
- );
958
- }
959
- };
960
-
961
-
962
- /**
963
- * optional string references_id = 1;
964
- * @return {string}
965
- */
966
- proto.FileUploadRes.prototype.getReferencesId = function() {
967
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
968
- };
969
-
970
-
971
- /**
972
- * @param {string} value
973
- * @return {!proto.FileUploadRes} returns this
974
- */
975
- proto.FileUploadRes.prototype.setReferencesId = function(value) {
976
- return jspb.Message.setProto3StringField(this, 1, value);
977
- };
978
-
979
-
980
- /**
981
- * optional string url = 2;
982
- * @return {string}
983
- */
984
- proto.FileUploadRes.prototype.getUrl = function() {
985
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
986
- };
987
-
988
-
989
- /**
990
- * @param {string} value
991
- * @return {!proto.FileUploadRes} returns this
992
- */
993
- proto.FileUploadRes.prototype.setUrl = function(value) {
994
- return jspb.Message.setProto3StringField(this, 2, value);
995
- };
996
-
997
-
998
- /**
999
- * optional string file_name = 3;
1000
- * @return {string}
1001
- */
1002
- proto.FileUploadRes.prototype.getFileName = function() {
1003
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1004
- };
1005
-
1006
-
1007
- /**
1008
- * @param {string} value
1009
- * @return {!proto.FileUploadRes} returns this
1010
- */
1011
- proto.FileUploadRes.prototype.setFileName = function(value) {
1012
- return jspb.Message.setProto3StringField(this, 3, value);
1013
- };
1014
-
1015
-
1016
- /**
1017
- * optional string name = 4;
1018
- * @return {string}
1019
- */
1020
- proto.FileUploadRes.prototype.getName = function() {
1021
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1022
- };
1023
-
1024
-
1025
- /**
1026
- * @param {string} value
1027
- * @return {!proto.FileUploadRes} returns this
1028
- */
1029
- proto.FileUploadRes.prototype.setName = function(value) {
1030
- return jspb.Message.setProto3StringField(this, 4, value);
1031
- };
1032
-
1033
-
1034
- /**
1035
- * optional string description = 5;
1036
- * @return {string}
1037
- */
1038
- proto.FileUploadRes.prototype.getDescription = function() {
1039
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1040
- };
1041
-
1042
-
1043
- /**
1044
- * @param {string} value
1045
- * @return {!proto.FileUploadRes} returns this
1046
- */
1047
- proto.FileUploadRes.prototype.setDescription = function(value) {
1048
- return jspb.Message.setProto3StringField(this, 5, value);
1049
- };
1050
-
1051
-
1052
- goog.object.extend(exports, proto);