@aldiokta/protocgen 1.0.77 → 1.0.78
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.
package/package.json
CHANGED
|
@@ -4,62 +4,62 @@
|
|
|
4
4
|
var grpc = require('@grpc/grpc-js');
|
|
5
5
|
var prisca_v1_core_file_upload_file_upload_pb = require('../../../../prisca/v1/core/file_upload/file_upload_pb.js');
|
|
6
6
|
|
|
7
|
-
function
|
|
7
|
+
function serialize_FileUploadRequest(arg) {
|
|
8
8
|
if (!(arg instanceof prisca_v1_core_file_upload_file_upload_pb.FileUploadRequest)) {
|
|
9
|
-
throw new Error('Expected argument of type
|
|
9
|
+
throw new Error('Expected argument of type FileUploadRequest');
|
|
10
10
|
}
|
|
11
11
|
return Buffer.from(arg.serializeBinary());
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
function
|
|
14
|
+
function deserialize_FileUploadRequest(buffer_arg) {
|
|
15
15
|
return prisca_v1_core_file_upload_file_upload_pb.FileUploadRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
function
|
|
18
|
+
function serialize_FileUploadResponse(arg) {
|
|
19
19
|
if (!(arg instanceof prisca_v1_core_file_upload_file_upload_pb.FileUploadResponse)) {
|
|
20
|
-
throw new Error('Expected argument of type
|
|
20
|
+
throw new Error('Expected argument of type FileUploadResponse');
|
|
21
21
|
}
|
|
22
22
|
return Buffer.from(arg.serializeBinary());
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
function
|
|
25
|
+
function deserialize_FileUploadResponse(buffer_arg) {
|
|
26
26
|
return prisca_v1_core_file_upload_file_upload_pb.FileUploadResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
function
|
|
29
|
+
function serialize_SaveFileRequest(arg) {
|
|
30
30
|
if (!(arg instanceof prisca_v1_core_file_upload_file_upload_pb.SaveFileRequest)) {
|
|
31
|
-
throw new Error('Expected argument of type
|
|
31
|
+
throw new Error('Expected argument of type SaveFileRequest');
|
|
32
32
|
}
|
|
33
33
|
return Buffer.from(arg.serializeBinary());
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
function
|
|
36
|
+
function deserialize_SaveFileRequest(buffer_arg) {
|
|
37
37
|
return prisca_v1_core_file_upload_file_upload_pb.SaveFileRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
var FileServiceService = exports.FileServiceService = {
|
|
42
42
|
upload: {
|
|
43
|
-
path: '/
|
|
43
|
+
path: '/FileService/Upload',
|
|
44
44
|
requestStream: true,
|
|
45
45
|
responseStream: false,
|
|
46
46
|
requestType: prisca_v1_core_file_upload_file_upload_pb.FileUploadRequest,
|
|
47
47
|
responseType: prisca_v1_core_file_upload_file_upload_pb.FileUploadResponse,
|
|
48
|
-
requestSerialize:
|
|
49
|
-
requestDeserialize:
|
|
50
|
-
responseSerialize:
|
|
51
|
-
responseDeserialize:
|
|
48
|
+
requestSerialize: serialize_FileUploadRequest,
|
|
49
|
+
requestDeserialize: deserialize_FileUploadRequest,
|
|
50
|
+
responseSerialize: serialize_FileUploadResponse,
|
|
51
|
+
responseDeserialize: deserialize_FileUploadResponse,
|
|
52
52
|
},
|
|
53
53
|
saveFile: {
|
|
54
|
-
path: '/
|
|
54
|
+
path: '/FileService/SaveFile',
|
|
55
55
|
requestStream: false,
|
|
56
56
|
responseStream: false,
|
|
57
57
|
requestType: prisca_v1_core_file_upload_file_upload_pb.SaveFileRequest,
|
|
58
58
|
responseType: prisca_v1_core_file_upload_file_upload_pb.FileUploadResponse,
|
|
59
|
-
requestSerialize:
|
|
60
|
-
requestDeserialize:
|
|
61
|
-
responseSerialize:
|
|
62
|
-
responseDeserialize:
|
|
59
|
+
requestSerialize: serialize_SaveFileRequest,
|
|
60
|
+
requestDeserialize: deserialize_SaveFileRequest,
|
|
61
|
+
responseSerialize: serialize_FileUploadResponse,
|
|
62
|
+
responseDeserialize: deserialize_FileUploadResponse,
|
|
63
63
|
},
|
|
64
64
|
};
|
|
65
65
|
|
|
@@ -21,10 +21,10 @@ var global =
|
|
|
21
21
|
(function () { return this; }).call(null) ||
|
|
22
22
|
Function('return this')();
|
|
23
23
|
|
|
24
|
-
goog.exportSymbol('proto.
|
|
25
|
-
goog.exportSymbol('proto.
|
|
26
|
-
goog.exportSymbol('proto.
|
|
27
|
-
goog.exportSymbol('proto.
|
|
24
|
+
goog.exportSymbol('proto.FileUploadReq', null, global);
|
|
25
|
+
goog.exportSymbol('proto.FileUploadRequest', null, global);
|
|
26
|
+
goog.exportSymbol('proto.FileUploadResponse', null, global);
|
|
27
|
+
goog.exportSymbol('proto.SaveFileRequest', null, global);
|
|
28
28
|
/**
|
|
29
29
|
* Generated by JsPbCodeGenerator.
|
|
30
30
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -35,16 +35,16 @@ goog.exportSymbol('proto.prisca.v1.core.file_upload.SaveFileRequest', null, glob
|
|
|
35
35
|
* @extends {jspb.Message}
|
|
36
36
|
* @constructor
|
|
37
37
|
*/
|
|
38
|
-
proto.
|
|
38
|
+
proto.FileUploadRequest = function(opt_data) {
|
|
39
39
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
40
40
|
};
|
|
41
|
-
goog.inherits(proto.
|
|
41
|
+
goog.inherits(proto.FileUploadRequest, jspb.Message);
|
|
42
42
|
if (goog.DEBUG && !COMPILED) {
|
|
43
43
|
/**
|
|
44
44
|
* @public
|
|
45
45
|
* @override
|
|
46
46
|
*/
|
|
47
|
-
proto.
|
|
47
|
+
proto.FileUploadRequest.displayName = 'proto.FileUploadRequest';
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* Generated by JsPbCodeGenerator.
|
|
@@ -56,16 +56,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
56
56
|
* @extends {jspb.Message}
|
|
57
57
|
* @constructor
|
|
58
58
|
*/
|
|
59
|
-
proto.
|
|
60
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.
|
|
59
|
+
proto.FileUploadResponse = function(opt_data) {
|
|
60
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.FileUploadResponse.repeatedFields_, null);
|
|
61
61
|
};
|
|
62
|
-
goog.inherits(proto.
|
|
62
|
+
goog.inherits(proto.FileUploadResponse, jspb.Message);
|
|
63
63
|
if (goog.DEBUG && !COMPILED) {
|
|
64
64
|
/**
|
|
65
65
|
* @public
|
|
66
66
|
* @override
|
|
67
67
|
*/
|
|
68
|
-
proto.
|
|
68
|
+
proto.FileUploadResponse.displayName = 'proto.FileUploadResponse';
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
71
|
* Generated by JsPbCodeGenerator.
|
|
@@ -77,16 +77,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
77
77
|
* @extends {jspb.Message}
|
|
78
78
|
* @constructor
|
|
79
79
|
*/
|
|
80
|
-
proto.
|
|
80
|
+
proto.FileUploadReq = function(opt_data) {
|
|
81
81
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
82
82
|
};
|
|
83
|
-
goog.inherits(proto.
|
|
83
|
+
goog.inherits(proto.FileUploadReq, jspb.Message);
|
|
84
84
|
if (goog.DEBUG && !COMPILED) {
|
|
85
85
|
/**
|
|
86
86
|
* @public
|
|
87
87
|
* @override
|
|
88
88
|
*/
|
|
89
|
-
proto.
|
|
89
|
+
proto.FileUploadReq.displayName = 'proto.FileUploadReq';
|
|
90
90
|
}
|
|
91
91
|
/**
|
|
92
92
|
* Generated by JsPbCodeGenerator.
|
|
@@ -98,16 +98,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
98
98
|
* @extends {jspb.Message}
|
|
99
99
|
* @constructor
|
|
100
100
|
*/
|
|
101
|
-
proto.
|
|
102
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.
|
|
101
|
+
proto.SaveFileRequest = function(opt_data) {
|
|
102
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.SaveFileRequest.repeatedFields_, null);
|
|
103
103
|
};
|
|
104
|
-
goog.inherits(proto.
|
|
104
|
+
goog.inherits(proto.SaveFileRequest, jspb.Message);
|
|
105
105
|
if (goog.DEBUG && !COMPILED) {
|
|
106
106
|
/**
|
|
107
107
|
* @public
|
|
108
108
|
* @override
|
|
109
109
|
*/
|
|
110
|
-
proto.
|
|
110
|
+
proto.SaveFileRequest.displayName = 'proto.SaveFileRequest';
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
|
|
@@ -125,8 +125,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
125
125
|
* http://goto/soy-param-migration
|
|
126
126
|
* @return {!Object}
|
|
127
127
|
*/
|
|
128
|
-
proto.
|
|
129
|
-
return proto.
|
|
128
|
+
proto.FileUploadRequest.prototype.toObject = function(opt_includeInstance) {
|
|
129
|
+
return proto.FileUploadRequest.toObject(opt_includeInstance, this);
|
|
130
130
|
};
|
|
131
131
|
|
|
132
132
|
|
|
@@ -135,11 +135,11 @@ proto.prisca.v1.core.file_upload.FileUploadRequest.prototype.toObject = function
|
|
|
135
135
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
136
136
|
* the JSPB instance for transitional soy proto support:
|
|
137
137
|
* http://goto/soy-param-migration
|
|
138
|
-
* @param {!proto.
|
|
138
|
+
* @param {!proto.FileUploadRequest} msg The msg instance to transform.
|
|
139
139
|
* @return {!Object}
|
|
140
140
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
141
141
|
*/
|
|
142
|
-
proto.
|
|
142
|
+
proto.FileUploadRequest.toObject = function(includeInstance, msg) {
|
|
143
143
|
var f, obj = {
|
|
144
144
|
fileName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
145
145
|
chunk: msg.getChunk_asB64(),
|
|
@@ -157,23 +157,23 @@ documentReferences: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
|
157
157
|
/**
|
|
158
158
|
* Deserializes binary data (in protobuf wire format).
|
|
159
159
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
160
|
-
* @return {!proto.
|
|
160
|
+
* @return {!proto.FileUploadRequest}
|
|
161
161
|
*/
|
|
162
|
-
proto.
|
|
162
|
+
proto.FileUploadRequest.deserializeBinary = function(bytes) {
|
|
163
163
|
var reader = new jspb.BinaryReader(bytes);
|
|
164
|
-
var msg = new proto.
|
|
165
|
-
return proto.
|
|
164
|
+
var msg = new proto.FileUploadRequest;
|
|
165
|
+
return proto.FileUploadRequest.deserializeBinaryFromReader(msg, reader);
|
|
166
166
|
};
|
|
167
167
|
|
|
168
168
|
|
|
169
169
|
/**
|
|
170
170
|
* Deserializes binary data (in protobuf wire format) from the
|
|
171
171
|
* given reader into the given message object.
|
|
172
|
-
* @param {!proto.
|
|
172
|
+
* @param {!proto.FileUploadRequest} msg The message object to deserialize into.
|
|
173
173
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
174
|
-
* @return {!proto.
|
|
174
|
+
* @return {!proto.FileUploadRequest}
|
|
175
175
|
*/
|
|
176
|
-
proto.
|
|
176
|
+
proto.FileUploadRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
177
177
|
while (reader.nextField()) {
|
|
178
178
|
if (reader.isEndGroup()) {
|
|
179
179
|
break;
|
|
@@ -205,9 +205,9 @@ proto.prisca.v1.core.file_upload.FileUploadRequest.deserializeBinaryFromReader =
|
|
|
205
205
|
* Serializes the message to binary data (in protobuf wire format).
|
|
206
206
|
* @return {!Uint8Array}
|
|
207
207
|
*/
|
|
208
|
-
proto.
|
|
208
|
+
proto.FileUploadRequest.prototype.serializeBinary = function() {
|
|
209
209
|
var writer = new jspb.BinaryWriter();
|
|
210
|
-
proto.
|
|
210
|
+
proto.FileUploadRequest.serializeBinaryToWriter(this, writer);
|
|
211
211
|
return writer.getResultBuffer();
|
|
212
212
|
};
|
|
213
213
|
|
|
@@ -215,11 +215,11 @@ proto.prisca.v1.core.file_upload.FileUploadRequest.prototype.serializeBinary = f
|
|
|
215
215
|
/**
|
|
216
216
|
* Serializes the given message to binary data (in protobuf wire
|
|
217
217
|
* format), writing to the given BinaryWriter.
|
|
218
|
-
* @param {!proto.
|
|
218
|
+
* @param {!proto.FileUploadRequest} message
|
|
219
219
|
* @param {!jspb.BinaryWriter} writer
|
|
220
220
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
221
221
|
*/
|
|
222
|
-
proto.
|
|
222
|
+
proto.FileUploadRequest.serializeBinaryToWriter = function(message, writer) {
|
|
223
223
|
var f = undefined;
|
|
224
224
|
f = message.getFileName();
|
|
225
225
|
if (f.length > 0) {
|
|
@@ -249,16 +249,16 @@ proto.prisca.v1.core.file_upload.FileUploadRequest.serializeBinaryToWriter = fun
|
|
|
249
249
|
* optional string file_name = 1;
|
|
250
250
|
* @return {string}
|
|
251
251
|
*/
|
|
252
|
-
proto.
|
|
252
|
+
proto.FileUploadRequest.prototype.getFileName = function() {
|
|
253
253
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
254
254
|
};
|
|
255
255
|
|
|
256
256
|
|
|
257
257
|
/**
|
|
258
258
|
* @param {string} value
|
|
259
|
-
* @return {!proto.
|
|
259
|
+
* @return {!proto.FileUploadRequest} returns this
|
|
260
260
|
*/
|
|
261
|
-
proto.
|
|
261
|
+
proto.FileUploadRequest.prototype.setFileName = function(value) {
|
|
262
262
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
263
263
|
};
|
|
264
264
|
|
|
@@ -267,7 +267,7 @@ proto.prisca.v1.core.file_upload.FileUploadRequest.prototype.setFileName = funct
|
|
|
267
267
|
* optional bytes chunk = 2;
|
|
268
268
|
* @return {!(string|Uint8Array)}
|
|
269
269
|
*/
|
|
270
|
-
proto.
|
|
270
|
+
proto.FileUploadRequest.prototype.getChunk = function() {
|
|
271
271
|
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
272
272
|
};
|
|
273
273
|
|
|
@@ -277,7 +277,7 @@ proto.prisca.v1.core.file_upload.FileUploadRequest.prototype.getChunk = function
|
|
|
277
277
|
* This is a type-conversion wrapper around `getChunk()`
|
|
278
278
|
* @return {string}
|
|
279
279
|
*/
|
|
280
|
-
proto.
|
|
280
|
+
proto.FileUploadRequest.prototype.getChunk_asB64 = function() {
|
|
281
281
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
282
282
|
this.getChunk()));
|
|
283
283
|
};
|
|
@@ -290,7 +290,7 @@ proto.prisca.v1.core.file_upload.FileUploadRequest.prototype.getChunk_asB64 = fu
|
|
|
290
290
|
* This is a type-conversion wrapper around `getChunk()`
|
|
291
291
|
* @return {!Uint8Array}
|
|
292
292
|
*/
|
|
293
|
-
proto.
|
|
293
|
+
proto.FileUploadRequest.prototype.getChunk_asU8 = function() {
|
|
294
294
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
295
295
|
this.getChunk()));
|
|
296
296
|
};
|
|
@@ -298,9 +298,9 @@ proto.prisca.v1.core.file_upload.FileUploadRequest.prototype.getChunk_asU8 = fun
|
|
|
298
298
|
|
|
299
299
|
/**
|
|
300
300
|
* @param {!(string|Uint8Array)} value
|
|
301
|
-
* @return {!proto.
|
|
301
|
+
* @return {!proto.FileUploadRequest} returns this
|
|
302
302
|
*/
|
|
303
|
-
proto.
|
|
303
|
+
proto.FileUploadRequest.prototype.setChunk = function(value) {
|
|
304
304
|
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
305
305
|
};
|
|
306
306
|
|
|
@@ -309,16 +309,16 @@ proto.prisca.v1.core.file_upload.FileUploadRequest.prototype.setChunk = function
|
|
|
309
309
|
* optional string document_references = 3;
|
|
310
310
|
* @return {string}
|
|
311
311
|
*/
|
|
312
|
-
proto.
|
|
312
|
+
proto.FileUploadRequest.prototype.getDocumentReferences = function() {
|
|
313
313
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
314
314
|
};
|
|
315
315
|
|
|
316
316
|
|
|
317
317
|
/**
|
|
318
318
|
* @param {string} value
|
|
319
|
-
* @return {!proto.
|
|
319
|
+
* @return {!proto.FileUploadRequest} returns this
|
|
320
320
|
*/
|
|
321
|
-
proto.
|
|
321
|
+
proto.FileUploadRequest.prototype.setDocumentReferences = function(value) {
|
|
322
322
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
323
323
|
};
|
|
324
324
|
|
|
@@ -329,7 +329,7 @@ proto.prisca.v1.core.file_upload.FileUploadRequest.prototype.setDocumentReferenc
|
|
|
329
329
|
* @private {!Array<number>}
|
|
330
330
|
* @const
|
|
331
331
|
*/
|
|
332
|
-
proto.
|
|
332
|
+
proto.FileUploadResponse.repeatedFields_ = [1];
|
|
333
333
|
|
|
334
334
|
|
|
335
335
|
|
|
@@ -346,8 +346,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
346
346
|
* http://goto/soy-param-migration
|
|
347
347
|
* @return {!Object}
|
|
348
348
|
*/
|
|
349
|
-
proto.
|
|
350
|
-
return proto.
|
|
349
|
+
proto.FileUploadResponse.prototype.toObject = function(opt_includeInstance) {
|
|
350
|
+
return proto.FileUploadResponse.toObject(opt_includeInstance, this);
|
|
351
351
|
};
|
|
352
352
|
|
|
353
353
|
|
|
@@ -356,11 +356,11 @@ proto.prisca.v1.core.file_upload.FileUploadResponse.prototype.toObject = functio
|
|
|
356
356
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
357
357
|
* the JSPB instance for transitional soy proto support:
|
|
358
358
|
* http://goto/soy-param-migration
|
|
359
|
-
* @param {!proto.
|
|
359
|
+
* @param {!proto.FileUploadResponse} msg The msg instance to transform.
|
|
360
360
|
* @return {!Object}
|
|
361
361
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
362
362
|
*/
|
|
363
|
-
proto.
|
|
363
|
+
proto.FileUploadResponse.toObject = function(includeInstance, msg) {
|
|
364
364
|
var f, obj = {
|
|
365
365
|
fileIdList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
366
366
|
message: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
@@ -377,23 +377,23 @@ message: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
|
377
377
|
/**
|
|
378
378
|
* Deserializes binary data (in protobuf wire format).
|
|
379
379
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
380
|
-
* @return {!proto.
|
|
380
|
+
* @return {!proto.FileUploadResponse}
|
|
381
381
|
*/
|
|
382
|
-
proto.
|
|
382
|
+
proto.FileUploadResponse.deserializeBinary = function(bytes) {
|
|
383
383
|
var reader = new jspb.BinaryReader(bytes);
|
|
384
|
-
var msg = new proto.
|
|
385
|
-
return proto.
|
|
384
|
+
var msg = new proto.FileUploadResponse;
|
|
385
|
+
return proto.FileUploadResponse.deserializeBinaryFromReader(msg, reader);
|
|
386
386
|
};
|
|
387
387
|
|
|
388
388
|
|
|
389
389
|
/**
|
|
390
390
|
* Deserializes binary data (in protobuf wire format) from the
|
|
391
391
|
* given reader into the given message object.
|
|
392
|
-
* @param {!proto.
|
|
392
|
+
* @param {!proto.FileUploadResponse} msg The message object to deserialize into.
|
|
393
393
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
394
|
-
* @return {!proto.
|
|
394
|
+
* @return {!proto.FileUploadResponse}
|
|
395
395
|
*/
|
|
396
|
-
proto.
|
|
396
|
+
proto.FileUploadResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
397
397
|
while (reader.nextField()) {
|
|
398
398
|
if (reader.isEndGroup()) {
|
|
399
399
|
break;
|
|
@@ -423,9 +423,9 @@ proto.prisca.v1.core.file_upload.FileUploadResponse.deserializeBinaryFromReader
|
|
|
423
423
|
* Serializes the message to binary data (in protobuf wire format).
|
|
424
424
|
* @return {!Uint8Array}
|
|
425
425
|
*/
|
|
426
|
-
proto.
|
|
426
|
+
proto.FileUploadResponse.prototype.serializeBinary = function() {
|
|
427
427
|
var writer = new jspb.BinaryWriter();
|
|
428
|
-
proto.
|
|
428
|
+
proto.FileUploadResponse.serializeBinaryToWriter(this, writer);
|
|
429
429
|
return writer.getResultBuffer();
|
|
430
430
|
};
|
|
431
431
|
|
|
@@ -433,11 +433,11 @@ proto.prisca.v1.core.file_upload.FileUploadResponse.prototype.serializeBinary =
|
|
|
433
433
|
/**
|
|
434
434
|
* Serializes the given message to binary data (in protobuf wire
|
|
435
435
|
* format), writing to the given BinaryWriter.
|
|
436
|
-
* @param {!proto.
|
|
436
|
+
* @param {!proto.FileUploadResponse} message
|
|
437
437
|
* @param {!jspb.BinaryWriter} writer
|
|
438
438
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
439
439
|
*/
|
|
440
|
-
proto.
|
|
440
|
+
proto.FileUploadResponse.serializeBinaryToWriter = function(message, writer) {
|
|
441
441
|
var f = undefined;
|
|
442
442
|
f = message.getFileIdList();
|
|
443
443
|
if (f.length > 0) {
|
|
@@ -460,16 +460,16 @@ proto.prisca.v1.core.file_upload.FileUploadResponse.serializeBinaryToWriter = fu
|
|
|
460
460
|
* repeated int32 file_id = 1;
|
|
461
461
|
* @return {!Array<number>}
|
|
462
462
|
*/
|
|
463
|
-
proto.
|
|
463
|
+
proto.FileUploadResponse.prototype.getFileIdList = function() {
|
|
464
464
|
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
465
465
|
};
|
|
466
466
|
|
|
467
467
|
|
|
468
468
|
/**
|
|
469
469
|
* @param {!Array<number>} value
|
|
470
|
-
* @return {!proto.
|
|
470
|
+
* @return {!proto.FileUploadResponse} returns this
|
|
471
471
|
*/
|
|
472
|
-
proto.
|
|
472
|
+
proto.FileUploadResponse.prototype.setFileIdList = function(value) {
|
|
473
473
|
return jspb.Message.setField(this, 1, value || []);
|
|
474
474
|
};
|
|
475
475
|
|
|
@@ -477,18 +477,18 @@ proto.prisca.v1.core.file_upload.FileUploadResponse.prototype.setFileIdList = fu
|
|
|
477
477
|
/**
|
|
478
478
|
* @param {number} value
|
|
479
479
|
* @param {number=} opt_index
|
|
480
|
-
* @return {!proto.
|
|
480
|
+
* @return {!proto.FileUploadResponse} returns this
|
|
481
481
|
*/
|
|
482
|
-
proto.
|
|
482
|
+
proto.FileUploadResponse.prototype.addFileId = function(value, opt_index) {
|
|
483
483
|
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
484
484
|
};
|
|
485
485
|
|
|
486
486
|
|
|
487
487
|
/**
|
|
488
488
|
* Clears the list making it empty but non-null.
|
|
489
|
-
* @return {!proto.
|
|
489
|
+
* @return {!proto.FileUploadResponse} returns this
|
|
490
490
|
*/
|
|
491
|
-
proto.
|
|
491
|
+
proto.FileUploadResponse.prototype.clearFileIdList = function() {
|
|
492
492
|
return this.setFileIdList([]);
|
|
493
493
|
};
|
|
494
494
|
|
|
@@ -497,16 +497,16 @@ proto.prisca.v1.core.file_upload.FileUploadResponse.prototype.clearFileIdList =
|
|
|
497
497
|
* optional string message = 2;
|
|
498
498
|
* @return {string}
|
|
499
499
|
*/
|
|
500
|
-
proto.
|
|
500
|
+
proto.FileUploadResponse.prototype.getMessage = function() {
|
|
501
501
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
502
502
|
};
|
|
503
503
|
|
|
504
504
|
|
|
505
505
|
/**
|
|
506
506
|
* @param {string} value
|
|
507
|
-
* @return {!proto.
|
|
507
|
+
* @return {!proto.FileUploadResponse} returns this
|
|
508
508
|
*/
|
|
509
|
-
proto.
|
|
509
|
+
proto.FileUploadResponse.prototype.setMessage = function(value) {
|
|
510
510
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
511
511
|
};
|
|
512
512
|
|
|
@@ -527,8 +527,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
527
527
|
* http://goto/soy-param-migration
|
|
528
528
|
* @return {!Object}
|
|
529
529
|
*/
|
|
530
|
-
proto.
|
|
531
|
-
return proto.
|
|
530
|
+
proto.FileUploadReq.prototype.toObject = function(opt_includeInstance) {
|
|
531
|
+
return proto.FileUploadReq.toObject(opt_includeInstance, this);
|
|
532
532
|
};
|
|
533
533
|
|
|
534
534
|
|
|
@@ -537,11 +537,11 @@ proto.prisca.v1.core.file_upload.FileUploadReq.prototype.toObject = function(opt
|
|
|
537
537
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
538
538
|
* the JSPB instance for transitional soy proto support:
|
|
539
539
|
* http://goto/soy-param-migration
|
|
540
|
-
* @param {!proto.
|
|
540
|
+
* @param {!proto.FileUploadReq} msg The msg instance to transform.
|
|
541
541
|
* @return {!Object}
|
|
542
542
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
543
543
|
*/
|
|
544
|
-
proto.
|
|
544
|
+
proto.FileUploadReq.toObject = function(includeInstance, msg) {
|
|
545
545
|
var f, obj = {
|
|
546
546
|
description: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
547
547
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
@@ -559,23 +559,23 @@ url: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
|
559
559
|
/**
|
|
560
560
|
* Deserializes binary data (in protobuf wire format).
|
|
561
561
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
562
|
-
* @return {!proto.
|
|
562
|
+
* @return {!proto.FileUploadReq}
|
|
563
563
|
*/
|
|
564
|
-
proto.
|
|
564
|
+
proto.FileUploadReq.deserializeBinary = function(bytes) {
|
|
565
565
|
var reader = new jspb.BinaryReader(bytes);
|
|
566
|
-
var msg = new proto.
|
|
567
|
-
return proto.
|
|
566
|
+
var msg = new proto.FileUploadReq;
|
|
567
|
+
return proto.FileUploadReq.deserializeBinaryFromReader(msg, reader);
|
|
568
568
|
};
|
|
569
569
|
|
|
570
570
|
|
|
571
571
|
/**
|
|
572
572
|
* Deserializes binary data (in protobuf wire format) from the
|
|
573
573
|
* given reader into the given message object.
|
|
574
|
-
* @param {!proto.
|
|
574
|
+
* @param {!proto.FileUploadReq} msg The message object to deserialize into.
|
|
575
575
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
576
|
-
* @return {!proto.
|
|
576
|
+
* @return {!proto.FileUploadReq}
|
|
577
577
|
*/
|
|
578
|
-
proto.
|
|
578
|
+
proto.FileUploadReq.deserializeBinaryFromReader = function(msg, reader) {
|
|
579
579
|
while (reader.nextField()) {
|
|
580
580
|
if (reader.isEndGroup()) {
|
|
581
581
|
break;
|
|
@@ -607,9 +607,9 @@ proto.prisca.v1.core.file_upload.FileUploadReq.deserializeBinaryFromReader = fun
|
|
|
607
607
|
* Serializes the message to binary data (in protobuf wire format).
|
|
608
608
|
* @return {!Uint8Array}
|
|
609
609
|
*/
|
|
610
|
-
proto.
|
|
610
|
+
proto.FileUploadReq.prototype.serializeBinary = function() {
|
|
611
611
|
var writer = new jspb.BinaryWriter();
|
|
612
|
-
proto.
|
|
612
|
+
proto.FileUploadReq.serializeBinaryToWriter(this, writer);
|
|
613
613
|
return writer.getResultBuffer();
|
|
614
614
|
};
|
|
615
615
|
|
|
@@ -617,11 +617,11 @@ proto.prisca.v1.core.file_upload.FileUploadReq.prototype.serializeBinary = funct
|
|
|
617
617
|
/**
|
|
618
618
|
* Serializes the given message to binary data (in protobuf wire
|
|
619
619
|
* format), writing to the given BinaryWriter.
|
|
620
|
-
* @param {!proto.
|
|
620
|
+
* @param {!proto.FileUploadReq} message
|
|
621
621
|
* @param {!jspb.BinaryWriter} writer
|
|
622
622
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
623
623
|
*/
|
|
624
|
-
proto.
|
|
624
|
+
proto.FileUploadReq.serializeBinaryToWriter = function(message, writer) {
|
|
625
625
|
var f = undefined;
|
|
626
626
|
f = message.getDescription();
|
|
627
627
|
if (f.length > 0) {
|
|
@@ -651,16 +651,16 @@ proto.prisca.v1.core.file_upload.FileUploadReq.serializeBinaryToWriter = functio
|
|
|
651
651
|
* optional string description = 1;
|
|
652
652
|
* @return {string}
|
|
653
653
|
*/
|
|
654
|
-
proto.
|
|
654
|
+
proto.FileUploadReq.prototype.getDescription = function() {
|
|
655
655
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
656
656
|
};
|
|
657
657
|
|
|
658
658
|
|
|
659
659
|
/**
|
|
660
660
|
* @param {string} value
|
|
661
|
-
* @return {!proto.
|
|
661
|
+
* @return {!proto.FileUploadReq} returns this
|
|
662
662
|
*/
|
|
663
|
-
proto.
|
|
663
|
+
proto.FileUploadReq.prototype.setDescription = function(value) {
|
|
664
664
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
665
665
|
};
|
|
666
666
|
|
|
@@ -669,16 +669,16 @@ proto.prisca.v1.core.file_upload.FileUploadReq.prototype.setDescription = functi
|
|
|
669
669
|
* optional string name = 2;
|
|
670
670
|
* @return {string}
|
|
671
671
|
*/
|
|
672
|
-
proto.
|
|
672
|
+
proto.FileUploadReq.prototype.getName = function() {
|
|
673
673
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
674
674
|
};
|
|
675
675
|
|
|
676
676
|
|
|
677
677
|
/**
|
|
678
678
|
* @param {string} value
|
|
679
|
-
* @return {!proto.
|
|
679
|
+
* @return {!proto.FileUploadReq} returns this
|
|
680
680
|
*/
|
|
681
|
-
proto.
|
|
681
|
+
proto.FileUploadReq.prototype.setName = function(value) {
|
|
682
682
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
683
683
|
};
|
|
684
684
|
|
|
@@ -687,16 +687,16 @@ proto.prisca.v1.core.file_upload.FileUploadReq.prototype.setName = function(valu
|
|
|
687
687
|
* optional string url = 3;
|
|
688
688
|
* @return {string}
|
|
689
689
|
*/
|
|
690
|
-
proto.
|
|
690
|
+
proto.FileUploadReq.prototype.getUrl = function() {
|
|
691
691
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
692
692
|
};
|
|
693
693
|
|
|
694
694
|
|
|
695
695
|
/**
|
|
696
696
|
* @param {string} value
|
|
697
|
-
* @return {!proto.
|
|
697
|
+
* @return {!proto.FileUploadReq} returns this
|
|
698
698
|
*/
|
|
699
|
-
proto.
|
|
699
|
+
proto.FileUploadReq.prototype.setUrl = function(value) {
|
|
700
700
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
701
701
|
};
|
|
702
702
|
|
|
@@ -707,7 +707,7 @@ proto.prisca.v1.core.file_upload.FileUploadReq.prototype.setUrl = function(value
|
|
|
707
707
|
* @private {!Array<number>}
|
|
708
708
|
* @const
|
|
709
709
|
*/
|
|
710
|
-
proto.
|
|
710
|
+
proto.SaveFileRequest.repeatedFields_ = [1];
|
|
711
711
|
|
|
712
712
|
|
|
713
713
|
|
|
@@ -724,8 +724,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
724
724
|
* http://goto/soy-param-migration
|
|
725
725
|
* @return {!Object}
|
|
726
726
|
*/
|
|
727
|
-
proto.
|
|
728
|
-
return proto.
|
|
727
|
+
proto.SaveFileRequest.prototype.toObject = function(opt_includeInstance) {
|
|
728
|
+
return proto.SaveFileRequest.toObject(opt_includeInstance, this);
|
|
729
729
|
};
|
|
730
730
|
|
|
731
731
|
|
|
@@ -734,14 +734,14 @@ proto.prisca.v1.core.file_upload.SaveFileRequest.prototype.toObject = function(o
|
|
|
734
734
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
735
735
|
* the JSPB instance for transitional soy proto support:
|
|
736
736
|
* http://goto/soy-param-migration
|
|
737
|
-
* @param {!proto.
|
|
737
|
+
* @param {!proto.SaveFileRequest} msg The msg instance to transform.
|
|
738
738
|
* @return {!Object}
|
|
739
739
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
740
740
|
*/
|
|
741
|
-
proto.
|
|
741
|
+
proto.SaveFileRequest.toObject = function(includeInstance, msg) {
|
|
742
742
|
var f, obj = {
|
|
743
743
|
urlsList: jspb.Message.toObjectList(msg.getUrlsList(),
|
|
744
|
-
proto.
|
|
744
|
+
proto.FileUploadReq.toObject, includeInstance)
|
|
745
745
|
};
|
|
746
746
|
|
|
747
747
|
if (includeInstance) {
|
|
@@ -755,23 +755,23 @@ urlsList: jspb.Message.toObjectList(msg.getUrlsList(),
|
|
|
755
755
|
/**
|
|
756
756
|
* Deserializes binary data (in protobuf wire format).
|
|
757
757
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
758
|
-
* @return {!proto.
|
|
758
|
+
* @return {!proto.SaveFileRequest}
|
|
759
759
|
*/
|
|
760
|
-
proto.
|
|
760
|
+
proto.SaveFileRequest.deserializeBinary = function(bytes) {
|
|
761
761
|
var reader = new jspb.BinaryReader(bytes);
|
|
762
|
-
var msg = new proto.
|
|
763
|
-
return proto.
|
|
762
|
+
var msg = new proto.SaveFileRequest;
|
|
763
|
+
return proto.SaveFileRequest.deserializeBinaryFromReader(msg, reader);
|
|
764
764
|
};
|
|
765
765
|
|
|
766
766
|
|
|
767
767
|
/**
|
|
768
768
|
* Deserializes binary data (in protobuf wire format) from the
|
|
769
769
|
* given reader into the given message object.
|
|
770
|
-
* @param {!proto.
|
|
770
|
+
* @param {!proto.SaveFileRequest} msg The message object to deserialize into.
|
|
771
771
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
772
|
-
* @return {!proto.
|
|
772
|
+
* @return {!proto.SaveFileRequest}
|
|
773
773
|
*/
|
|
774
|
-
proto.
|
|
774
|
+
proto.SaveFileRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
775
775
|
while (reader.nextField()) {
|
|
776
776
|
if (reader.isEndGroup()) {
|
|
777
777
|
break;
|
|
@@ -779,8 +779,8 @@ proto.prisca.v1.core.file_upload.SaveFileRequest.deserializeBinaryFromReader = f
|
|
|
779
779
|
var field = reader.getFieldNumber();
|
|
780
780
|
switch (field) {
|
|
781
781
|
case 1:
|
|
782
|
-
var value = new proto.
|
|
783
|
-
reader.readMessage(value,proto.
|
|
782
|
+
var value = new proto.FileUploadReq;
|
|
783
|
+
reader.readMessage(value,proto.FileUploadReq.deserializeBinaryFromReader);
|
|
784
784
|
msg.addUrls(value);
|
|
785
785
|
break;
|
|
786
786
|
default:
|
|
@@ -796,9 +796,9 @@ proto.prisca.v1.core.file_upload.SaveFileRequest.deserializeBinaryFromReader = f
|
|
|
796
796
|
* Serializes the message to binary data (in protobuf wire format).
|
|
797
797
|
* @return {!Uint8Array}
|
|
798
798
|
*/
|
|
799
|
-
proto.
|
|
799
|
+
proto.SaveFileRequest.prototype.serializeBinary = function() {
|
|
800
800
|
var writer = new jspb.BinaryWriter();
|
|
801
|
-
proto.
|
|
801
|
+
proto.SaveFileRequest.serializeBinaryToWriter(this, writer);
|
|
802
802
|
return writer.getResultBuffer();
|
|
803
803
|
};
|
|
804
804
|
|
|
@@ -806,18 +806,18 @@ proto.prisca.v1.core.file_upload.SaveFileRequest.prototype.serializeBinary = fun
|
|
|
806
806
|
/**
|
|
807
807
|
* Serializes the given message to binary data (in protobuf wire
|
|
808
808
|
* format), writing to the given BinaryWriter.
|
|
809
|
-
* @param {!proto.
|
|
809
|
+
* @param {!proto.SaveFileRequest} message
|
|
810
810
|
* @param {!jspb.BinaryWriter} writer
|
|
811
811
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
812
812
|
*/
|
|
813
|
-
proto.
|
|
813
|
+
proto.SaveFileRequest.serializeBinaryToWriter = function(message, writer) {
|
|
814
814
|
var f = undefined;
|
|
815
815
|
f = message.getUrlsList();
|
|
816
816
|
if (f.length > 0) {
|
|
817
817
|
writer.writeRepeatedMessage(
|
|
818
818
|
1,
|
|
819
819
|
f,
|
|
820
|
-
proto.
|
|
820
|
+
proto.FileUploadReq.serializeBinaryToWriter
|
|
821
821
|
);
|
|
822
822
|
}
|
|
823
823
|
};
|
|
@@ -825,40 +825,40 @@ proto.prisca.v1.core.file_upload.SaveFileRequest.serializeBinaryToWriter = funct
|
|
|
825
825
|
|
|
826
826
|
/**
|
|
827
827
|
* repeated FileUploadReq urls = 1;
|
|
828
|
-
* @return {!Array<!proto.
|
|
828
|
+
* @return {!Array<!proto.FileUploadReq>}
|
|
829
829
|
*/
|
|
830
|
-
proto.
|
|
831
|
-
return /** @type{!Array<!proto.
|
|
832
|
-
jspb.Message.getRepeatedWrapperField(this, proto.
|
|
830
|
+
proto.SaveFileRequest.prototype.getUrlsList = function() {
|
|
831
|
+
return /** @type{!Array<!proto.FileUploadReq>} */ (
|
|
832
|
+
jspb.Message.getRepeatedWrapperField(this, proto.FileUploadReq, 1));
|
|
833
833
|
};
|
|
834
834
|
|
|
835
835
|
|
|
836
836
|
/**
|
|
837
|
-
* @param {!Array<!proto.
|
|
838
|
-
* @return {!proto.
|
|
837
|
+
* @param {!Array<!proto.FileUploadReq>} value
|
|
838
|
+
* @return {!proto.SaveFileRequest} returns this
|
|
839
839
|
*/
|
|
840
|
-
proto.
|
|
840
|
+
proto.SaveFileRequest.prototype.setUrlsList = function(value) {
|
|
841
841
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
842
842
|
};
|
|
843
843
|
|
|
844
844
|
|
|
845
845
|
/**
|
|
846
|
-
* @param {!proto.
|
|
846
|
+
* @param {!proto.FileUploadReq=} opt_value
|
|
847
847
|
* @param {number=} opt_index
|
|
848
|
-
* @return {!proto.
|
|
848
|
+
* @return {!proto.FileUploadReq}
|
|
849
849
|
*/
|
|
850
|
-
proto.
|
|
851
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.
|
|
850
|
+
proto.SaveFileRequest.prototype.addUrls = function(opt_value, opt_index) {
|
|
851
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.FileUploadReq, opt_index);
|
|
852
852
|
};
|
|
853
853
|
|
|
854
854
|
|
|
855
855
|
/**
|
|
856
856
|
* Clears the list making it empty but non-null.
|
|
857
|
-
* @return {!proto.
|
|
857
|
+
* @return {!proto.SaveFileRequest} returns this
|
|
858
858
|
*/
|
|
859
|
-
proto.
|
|
859
|
+
proto.SaveFileRequest.prototype.clearUrlsList = function() {
|
|
860
860
|
return this.setUrlsList([]);
|
|
861
861
|
};
|
|
862
862
|
|
|
863
863
|
|
|
864
|
-
goog.object.extend(exports, proto
|
|
864
|
+
goog.object.extend(exports, proto);
|
|
@@ -1858,17 +1858,17 @@ proto.PurchaseRequisitionTrx.prototype.setJustification = function(value) {
|
|
|
1858
1858
|
|
|
1859
1859
|
|
|
1860
1860
|
/**
|
|
1861
|
-
* repeated
|
|
1862
|
-
* @return {!Array<!proto.
|
|
1861
|
+
* repeated FileUploadReq files = 27;
|
|
1862
|
+
* @return {!Array<!proto.FileUploadReq>}
|
|
1863
1863
|
*/
|
|
1864
1864
|
proto.PurchaseRequisitionTrx.prototype.getFilesList = function() {
|
|
1865
|
-
return /** @type{!Array<!proto.
|
|
1865
|
+
return /** @type{!Array<!proto.FileUploadReq>} */ (
|
|
1866
1866
|
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReq, 27));
|
|
1867
1867
|
};
|
|
1868
1868
|
|
|
1869
1869
|
|
|
1870
1870
|
/**
|
|
1871
|
-
* @param {!Array<!proto.
|
|
1871
|
+
* @param {!Array<!proto.FileUploadReq>} value
|
|
1872
1872
|
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1873
1873
|
*/
|
|
1874
1874
|
proto.PurchaseRequisitionTrx.prototype.setFilesList = function(value) {
|
|
@@ -1877,12 +1877,12 @@ proto.PurchaseRequisitionTrx.prototype.setFilesList = function(value) {
|
|
|
1877
1877
|
|
|
1878
1878
|
|
|
1879
1879
|
/**
|
|
1880
|
-
* @param {!proto.
|
|
1880
|
+
* @param {!proto.FileUploadReq=} opt_value
|
|
1881
1881
|
* @param {number=} opt_index
|
|
1882
|
-
* @return {!proto.
|
|
1882
|
+
* @return {!proto.FileUploadReq}
|
|
1883
1883
|
*/
|
|
1884
1884
|
proto.PurchaseRequisitionTrx.prototype.addFiles = function(opt_value, opt_index) {
|
|
1885
|
-
return jspb.Message.addToRepeatedWrapperField(this, 27, opt_value, proto.
|
|
1885
|
+
return jspb.Message.addToRepeatedWrapperField(this, 27, opt_value, proto.FileUploadReq, opt_index);
|
|
1886
1886
|
};
|
|
1887
1887
|
|
|
1888
1888
|
|
|
@@ -3771,17 +3771,17 @@ proto.BasePurchaseRequisitionTrx.prototype.setJustification = function(value) {
|
|
|
3771
3771
|
|
|
3772
3772
|
|
|
3773
3773
|
/**
|
|
3774
|
-
* repeated
|
|
3775
|
-
* @return {!Array<!proto.
|
|
3774
|
+
* repeated FileUploadReq files = 18;
|
|
3775
|
+
* @return {!Array<!proto.FileUploadReq>}
|
|
3776
3776
|
*/
|
|
3777
3777
|
proto.BasePurchaseRequisitionTrx.prototype.getFilesList = function() {
|
|
3778
|
-
return /** @type{!Array<!proto.
|
|
3778
|
+
return /** @type{!Array<!proto.FileUploadReq>} */ (
|
|
3779
3779
|
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReq, 18));
|
|
3780
3780
|
};
|
|
3781
3781
|
|
|
3782
3782
|
|
|
3783
3783
|
/**
|
|
3784
|
-
* @param {!Array<!proto.
|
|
3784
|
+
* @param {!Array<!proto.FileUploadReq>} value
|
|
3785
3785
|
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
3786
3786
|
*/
|
|
3787
3787
|
proto.BasePurchaseRequisitionTrx.prototype.setFilesList = function(value) {
|
|
@@ -3790,12 +3790,12 @@ proto.BasePurchaseRequisitionTrx.prototype.setFilesList = function(value) {
|
|
|
3790
3790
|
|
|
3791
3791
|
|
|
3792
3792
|
/**
|
|
3793
|
-
* @param {!proto.
|
|
3793
|
+
* @param {!proto.FileUploadReq=} opt_value
|
|
3794
3794
|
* @param {number=} opt_index
|
|
3795
|
-
* @return {!proto.
|
|
3795
|
+
* @return {!proto.FileUploadReq}
|
|
3796
3796
|
*/
|
|
3797
3797
|
proto.BasePurchaseRequisitionTrx.prototype.addFiles = function(opt_value, opt_index) {
|
|
3798
|
-
return jspb.Message.addToRepeatedWrapperField(this, 18, opt_value, proto.
|
|
3798
|
+
return jspb.Message.addToRepeatedWrapperField(this, 18, opt_value, proto.FileUploadReq, opt_index);
|
|
3799
3799
|
};
|
|
3800
3800
|
|
|
3801
3801
|
|