clarifai-web-grpc 11.5.0 → 11.5.2
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/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +1412 -0
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +210 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +2384 -0
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +5 -5
- package/dist/esm/proto/clarifai/api/resources_pb.js +1412 -0
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +210 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +2384 -0
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +5 -5
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +215 -0
- package/proto/clarifai/api/resources_pb.js +1775 -0
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +60 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +305 -0
- package/proto/clarifai/api/service_pb.d.ts +348 -0
- package/proto/clarifai/api/service_pb.js +2935 -0
- package/proto/clarifai/auth/scope/scope_pb.d.ts +5 -5
- package/proto/clarifai/auth/scope/scope_pb.js +5 -5
|
@@ -110,6 +110,8 @@ goog.exportSymbol('proto.clarifai.api.GetModuleRequest', null, global);
|
|
|
110
110
|
goog.exportSymbol('proto.clarifai.api.GetModuleVersionRequest', null, global);
|
|
111
111
|
goog.exportSymbol('proto.clarifai.api.GetModuleVersionUsageCountRequest', null, global);
|
|
112
112
|
goog.exportSymbol('proto.clarifai.api.GetNodepoolRequest', null, global);
|
|
113
|
+
goog.exportSymbol('proto.clarifai.api.GetPipelineStepRequest', null, global);
|
|
114
|
+
goog.exportSymbol('proto.clarifai.api.GetPipelineStepVersionRequest', null, global);
|
|
113
115
|
goog.exportSymbol('proto.clarifai.api.GetResourceCountsRequest', null, global);
|
|
114
116
|
goog.exportSymbol('proto.clarifai.api.GetResourceCountsResponse', null, global);
|
|
115
117
|
goog.exportSymbol('proto.clarifai.api.GetRunnerRequest', null, global);
|
|
@@ -178,6 +180,8 @@ goog.exportSymbol('proto.clarifai.api.ListNextTaskAssignmentsRequest', null, glo
|
|
|
178
180
|
goog.exportSymbol('proto.clarifai.api.ListNodepoolsRequest', null, global);
|
|
179
181
|
goog.exportSymbol('proto.clarifai.api.ListOpenSourceLicensesRequest', null, global);
|
|
180
182
|
goog.exportSymbol('proto.clarifai.api.ListOpenSourceLicensesResponse', null, global);
|
|
183
|
+
goog.exportSymbol('proto.clarifai.api.ListPipelineStepVersionsRequest', null, global);
|
|
184
|
+
goog.exportSymbol('proto.clarifai.api.ListPipelineStepsRequest', null, global);
|
|
181
185
|
goog.exportSymbol('proto.clarifai.api.ListRunnerItemsRequest', null, global);
|
|
182
186
|
goog.exportSymbol('proto.clarifai.api.ListRunnersRequest', null, global);
|
|
183
187
|
goog.exportSymbol('proto.clarifai.api.ListScopesRequest', null, global);
|
|
@@ -239,6 +243,8 @@ goog.exportSymbol('proto.clarifai.api.MultiModuleResponse', null, global);
|
|
|
239
243
|
goog.exportSymbol('proto.clarifai.api.MultiModuleVersionResponse', null, global);
|
|
240
244
|
goog.exportSymbol('proto.clarifai.api.MultiNodepoolResponse', null, global);
|
|
241
245
|
goog.exportSymbol('proto.clarifai.api.MultiOutputResponse', null, global);
|
|
246
|
+
goog.exportSymbol('proto.clarifai.api.MultiPipelineStepResponse', null, global);
|
|
247
|
+
goog.exportSymbol('proto.clarifai.api.MultiPipelineStepVersionResponse', null, global);
|
|
242
248
|
goog.exportSymbol('proto.clarifai.api.MultiRunnerItemOutputResponse', null, global);
|
|
243
249
|
goog.exportSymbol('proto.clarifai.api.MultiRunnerItemResponse', null, global);
|
|
244
250
|
goog.exportSymbol('proto.clarifai.api.MultiRunnerResponse', null, global);
|
|
@@ -350,6 +356,11 @@ goog.exportSymbol('proto.clarifai.api.PostModelsSearchesRequest', null, global);
|
|
|
350
356
|
goog.exportSymbol('proto.clarifai.api.PostModuleVersionsRequest', null, global);
|
|
351
357
|
goog.exportSymbol('proto.clarifai.api.PostModulesRequest', null, global);
|
|
352
358
|
goog.exportSymbol('proto.clarifai.api.PostNodepoolsRequest', null, global);
|
|
359
|
+
goog.exportSymbol('proto.clarifai.api.PostPipelineStepVersionsUploadConfig', null, global);
|
|
360
|
+
goog.exportSymbol('proto.clarifai.api.PostPipelineStepVersionsUploadRequest', null, global);
|
|
361
|
+
goog.exportSymbol('proto.clarifai.api.PostPipelineStepVersionsUploadRequest.UploadDataCase', null, global);
|
|
362
|
+
goog.exportSymbol('proto.clarifai.api.PostPipelineStepVersionsUploadResponse', null, global);
|
|
363
|
+
goog.exportSymbol('proto.clarifai.api.PostPipelineStepsRequest', null, global);
|
|
353
364
|
goog.exportSymbol('proto.clarifai.api.PostRunnerItemOutputsRequest', null, global);
|
|
354
365
|
goog.exportSymbol('proto.clarifai.api.PostRunnersRequest', null, global);
|
|
355
366
|
goog.exportSymbol('proto.clarifai.api.PostSearchesByIDRequest', null, global);
|
|
@@ -410,6 +421,8 @@ goog.exportSymbol('proto.clarifai.api.SingleModuleVersionResponse', null, global
|
|
|
410
421
|
goog.exportSymbol('proto.clarifai.api.SingleModuleVersionUsageCountResponse', null, global);
|
|
411
422
|
goog.exportSymbol('proto.clarifai.api.SingleNodepoolResponse', null, global);
|
|
412
423
|
goog.exportSymbol('proto.clarifai.api.SinglePasswordValidationResponse', null, global);
|
|
424
|
+
goog.exportSymbol('proto.clarifai.api.SinglePipelineStepResponse', null, global);
|
|
425
|
+
goog.exportSymbol('proto.clarifai.api.SinglePipelineStepVersionResponse', null, global);
|
|
413
426
|
goog.exportSymbol('proto.clarifai.api.SingleRunnerResponse', null, global);
|
|
414
427
|
goog.exportSymbol('proto.clarifai.api.SingleSearchResponse', null, global);
|
|
415
428
|
goog.exportSymbol('proto.clarifai.api.SingleStatusCodeResponse', null, global);
|
|
@@ -8258,6 +8271,258 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
8258
8271
|
*/
|
|
8259
8272
|
proto.clarifai.api.PostModelMigrationRequest.displayName = 'proto.clarifai.api.PostModelMigrationRequest';
|
|
8260
8273
|
}
|
|
8274
|
+
/**
|
|
8275
|
+
* Generated by JsPbCodeGenerator.
|
|
8276
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8277
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8278
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8279
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8280
|
+
* valid.
|
|
8281
|
+
* @extends {jspb.Message}
|
|
8282
|
+
* @constructor
|
|
8283
|
+
*/
|
|
8284
|
+
proto.clarifai.api.PostPipelineStepsRequest = function (opt_data) {
|
|
8285
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PostPipelineStepsRequest.repeatedFields_, null);
|
|
8286
|
+
};
|
|
8287
|
+
goog.inherits(proto.clarifai.api.PostPipelineStepsRequest, jspb.Message);
|
|
8288
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8289
|
+
/**
|
|
8290
|
+
* @public
|
|
8291
|
+
* @override
|
|
8292
|
+
*/
|
|
8293
|
+
proto.clarifai.api.PostPipelineStepsRequest.displayName = 'proto.clarifai.api.PostPipelineStepsRequest';
|
|
8294
|
+
}
|
|
8295
|
+
/**
|
|
8296
|
+
* Generated by JsPbCodeGenerator.
|
|
8297
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8298
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8299
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8300
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8301
|
+
* valid.
|
|
8302
|
+
* @extends {jspb.Message}
|
|
8303
|
+
* @constructor
|
|
8304
|
+
*/
|
|
8305
|
+
proto.clarifai.api.MultiPipelineStepResponse = function (opt_data) {
|
|
8306
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiPipelineStepResponse.repeatedFields_, null);
|
|
8307
|
+
};
|
|
8308
|
+
goog.inherits(proto.clarifai.api.MultiPipelineStepResponse, jspb.Message);
|
|
8309
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8310
|
+
/**
|
|
8311
|
+
* @public
|
|
8312
|
+
* @override
|
|
8313
|
+
*/
|
|
8314
|
+
proto.clarifai.api.MultiPipelineStepResponse.displayName = 'proto.clarifai.api.MultiPipelineStepResponse';
|
|
8315
|
+
}
|
|
8316
|
+
/**
|
|
8317
|
+
* Generated by JsPbCodeGenerator.
|
|
8318
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8319
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8320
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8321
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8322
|
+
* valid.
|
|
8323
|
+
* @extends {jspb.Message}
|
|
8324
|
+
* @constructor
|
|
8325
|
+
*/
|
|
8326
|
+
proto.clarifai.api.ListPipelineStepsRequest = function (opt_data) {
|
|
8327
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8328
|
+
};
|
|
8329
|
+
goog.inherits(proto.clarifai.api.ListPipelineStepsRequest, jspb.Message);
|
|
8330
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8331
|
+
/**
|
|
8332
|
+
* @public
|
|
8333
|
+
* @override
|
|
8334
|
+
*/
|
|
8335
|
+
proto.clarifai.api.ListPipelineStepsRequest.displayName = 'proto.clarifai.api.ListPipelineStepsRequest';
|
|
8336
|
+
}
|
|
8337
|
+
/**
|
|
8338
|
+
* Generated by JsPbCodeGenerator.
|
|
8339
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8340
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8341
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8342
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8343
|
+
* valid.
|
|
8344
|
+
* @extends {jspb.Message}
|
|
8345
|
+
* @constructor
|
|
8346
|
+
*/
|
|
8347
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest = function (opt_data) {
|
|
8348
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.ListPipelineStepVersionsRequest.repeatedFields_, null);
|
|
8349
|
+
};
|
|
8350
|
+
goog.inherits(proto.clarifai.api.ListPipelineStepVersionsRequest, jspb.Message);
|
|
8351
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8352
|
+
/**
|
|
8353
|
+
* @public
|
|
8354
|
+
* @override
|
|
8355
|
+
*/
|
|
8356
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.displayName = 'proto.clarifai.api.ListPipelineStepVersionsRequest';
|
|
8357
|
+
}
|
|
8358
|
+
/**
|
|
8359
|
+
* Generated by JsPbCodeGenerator.
|
|
8360
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8361
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8362
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8363
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8364
|
+
* valid.
|
|
8365
|
+
* @extends {jspb.Message}
|
|
8366
|
+
* @constructor
|
|
8367
|
+
*/
|
|
8368
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse = function (opt_data) {
|
|
8369
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiPipelineStepVersionResponse.repeatedFields_, null);
|
|
8370
|
+
};
|
|
8371
|
+
goog.inherits(proto.clarifai.api.MultiPipelineStepVersionResponse, jspb.Message);
|
|
8372
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8373
|
+
/**
|
|
8374
|
+
* @public
|
|
8375
|
+
* @override
|
|
8376
|
+
*/
|
|
8377
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.displayName = 'proto.clarifai.api.MultiPipelineStepVersionResponse';
|
|
8378
|
+
}
|
|
8379
|
+
/**
|
|
8380
|
+
* Generated by JsPbCodeGenerator.
|
|
8381
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8382
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8383
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8384
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8385
|
+
* valid.
|
|
8386
|
+
* @extends {jspb.Message}
|
|
8387
|
+
* @constructor
|
|
8388
|
+
*/
|
|
8389
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest = function (opt_data) {
|
|
8390
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.clarifai.api.PostPipelineStepVersionsUploadRequest.oneofGroups_);
|
|
8391
|
+
};
|
|
8392
|
+
goog.inherits(proto.clarifai.api.PostPipelineStepVersionsUploadRequest, jspb.Message);
|
|
8393
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8394
|
+
/**
|
|
8395
|
+
* @public
|
|
8396
|
+
* @override
|
|
8397
|
+
*/
|
|
8398
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.displayName = 'proto.clarifai.api.PostPipelineStepVersionsUploadRequest';
|
|
8399
|
+
}
|
|
8400
|
+
/**
|
|
8401
|
+
* Generated by JsPbCodeGenerator.
|
|
8402
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8403
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8404
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8405
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8406
|
+
* valid.
|
|
8407
|
+
* @extends {jspb.Message}
|
|
8408
|
+
* @constructor
|
|
8409
|
+
*/
|
|
8410
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse = function (opt_data) {
|
|
8411
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8412
|
+
};
|
|
8413
|
+
goog.inherits(proto.clarifai.api.PostPipelineStepVersionsUploadResponse, jspb.Message);
|
|
8414
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8415
|
+
/**
|
|
8416
|
+
* @public
|
|
8417
|
+
* @override
|
|
8418
|
+
*/
|
|
8419
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.displayName = 'proto.clarifai.api.PostPipelineStepVersionsUploadResponse';
|
|
8420
|
+
}
|
|
8421
|
+
/**
|
|
8422
|
+
* Generated by JsPbCodeGenerator.
|
|
8423
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8424
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8425
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8426
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8427
|
+
* valid.
|
|
8428
|
+
* @extends {jspb.Message}
|
|
8429
|
+
* @constructor
|
|
8430
|
+
*/
|
|
8431
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig = function (opt_data) {
|
|
8432
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8433
|
+
};
|
|
8434
|
+
goog.inherits(proto.clarifai.api.PostPipelineStepVersionsUploadConfig, jspb.Message);
|
|
8435
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8436
|
+
/**
|
|
8437
|
+
* @public
|
|
8438
|
+
* @override
|
|
8439
|
+
*/
|
|
8440
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.displayName = 'proto.clarifai.api.PostPipelineStepVersionsUploadConfig';
|
|
8441
|
+
}
|
|
8442
|
+
/**
|
|
8443
|
+
* Generated by JsPbCodeGenerator.
|
|
8444
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8445
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8446
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8447
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8448
|
+
* valid.
|
|
8449
|
+
* @extends {jspb.Message}
|
|
8450
|
+
* @constructor
|
|
8451
|
+
*/
|
|
8452
|
+
proto.clarifai.api.GetPipelineStepRequest = function (opt_data) {
|
|
8453
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8454
|
+
};
|
|
8455
|
+
goog.inherits(proto.clarifai.api.GetPipelineStepRequest, jspb.Message);
|
|
8456
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8457
|
+
/**
|
|
8458
|
+
* @public
|
|
8459
|
+
* @override
|
|
8460
|
+
*/
|
|
8461
|
+
proto.clarifai.api.GetPipelineStepRequest.displayName = 'proto.clarifai.api.GetPipelineStepRequest';
|
|
8462
|
+
}
|
|
8463
|
+
/**
|
|
8464
|
+
* Generated by JsPbCodeGenerator.
|
|
8465
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8466
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8467
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8468
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8469
|
+
* valid.
|
|
8470
|
+
* @extends {jspb.Message}
|
|
8471
|
+
* @constructor
|
|
8472
|
+
*/
|
|
8473
|
+
proto.clarifai.api.SinglePipelineStepResponse = function (opt_data) {
|
|
8474
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8475
|
+
};
|
|
8476
|
+
goog.inherits(proto.clarifai.api.SinglePipelineStepResponse, jspb.Message);
|
|
8477
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8478
|
+
/**
|
|
8479
|
+
* @public
|
|
8480
|
+
* @override
|
|
8481
|
+
*/
|
|
8482
|
+
proto.clarifai.api.SinglePipelineStepResponse.displayName = 'proto.clarifai.api.SinglePipelineStepResponse';
|
|
8483
|
+
}
|
|
8484
|
+
/**
|
|
8485
|
+
* Generated by JsPbCodeGenerator.
|
|
8486
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8487
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8488
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8489
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8490
|
+
* valid.
|
|
8491
|
+
* @extends {jspb.Message}
|
|
8492
|
+
* @constructor
|
|
8493
|
+
*/
|
|
8494
|
+
proto.clarifai.api.GetPipelineStepVersionRequest = function (opt_data) {
|
|
8495
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8496
|
+
};
|
|
8497
|
+
goog.inherits(proto.clarifai.api.GetPipelineStepVersionRequest, jspb.Message);
|
|
8498
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8499
|
+
/**
|
|
8500
|
+
* @public
|
|
8501
|
+
* @override
|
|
8502
|
+
*/
|
|
8503
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.displayName = 'proto.clarifai.api.GetPipelineStepVersionRequest';
|
|
8504
|
+
}
|
|
8505
|
+
/**
|
|
8506
|
+
* Generated by JsPbCodeGenerator.
|
|
8507
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8508
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8509
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8510
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8511
|
+
* valid.
|
|
8512
|
+
* @extends {jspb.Message}
|
|
8513
|
+
* @constructor
|
|
8514
|
+
*/
|
|
8515
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse = function (opt_data) {
|
|
8516
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8517
|
+
};
|
|
8518
|
+
goog.inherits(proto.clarifai.api.SinglePipelineStepVersionResponse, jspb.Message);
|
|
8519
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8520
|
+
/**
|
|
8521
|
+
* @public
|
|
8522
|
+
* @override
|
|
8523
|
+
*/
|
|
8524
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.displayName = 'proto.clarifai.api.SinglePipelineStepVersionResponse';
|
|
8525
|
+
}
|
|
8261
8526
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8262
8527
|
/**
|
|
8263
8528
|
* Creates an object representation of this proto.
|
|
@@ -79382,6 +79647,2125 @@ proto.clarifai.api.PostModelMigrationRequest.prototype.getModelId = function ()
|
|
|
79382
79647
|
proto.clarifai.api.PostModelMigrationRequest.prototype.setModelId = function (value) {
|
|
79383
79648
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
79384
79649
|
};
|
|
79650
|
+
/**
|
|
79651
|
+
* List of repeated fields within this message type.
|
|
79652
|
+
* @private {!Array<number>}
|
|
79653
|
+
* @const
|
|
79654
|
+
*/
|
|
79655
|
+
proto.clarifai.api.PostPipelineStepsRequest.repeatedFields_ = [3];
|
|
79656
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
79657
|
+
/**
|
|
79658
|
+
* Creates an object representation of this proto.
|
|
79659
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
79660
|
+
* Optional fields that are not set will be set to undefined.
|
|
79661
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
79662
|
+
* For the list of reserved names please see:
|
|
79663
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
79664
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
79665
|
+
* JSPB instance for transitional soy proto support:
|
|
79666
|
+
* http://goto/soy-param-migration
|
|
79667
|
+
* @return {!Object}
|
|
79668
|
+
*/
|
|
79669
|
+
proto.clarifai.api.PostPipelineStepsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
79670
|
+
return proto.clarifai.api.PostPipelineStepsRequest.toObject(opt_includeInstance, this);
|
|
79671
|
+
};
|
|
79672
|
+
/**
|
|
79673
|
+
* Static version of the {@see toObject} method.
|
|
79674
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
79675
|
+
* the JSPB instance for transitional soy proto support:
|
|
79676
|
+
* http://goto/soy-param-migration
|
|
79677
|
+
* @param {!proto.clarifai.api.PostPipelineStepsRequest} msg The msg instance to transform.
|
|
79678
|
+
* @return {!Object}
|
|
79679
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
79680
|
+
*/
|
|
79681
|
+
proto.clarifai.api.PostPipelineStepsRequest.toObject = function (includeInstance, msg) {
|
|
79682
|
+
var f, obj = {
|
|
79683
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
79684
|
+
pipelineStepsList: jspb.Message.toObjectList(msg.getPipelineStepsList(), proto_clarifai_api_resources_pb.PipelineStep.toObject, includeInstance)
|
|
79685
|
+
};
|
|
79686
|
+
if (includeInstance) {
|
|
79687
|
+
obj.$jspbMessageInstance = msg;
|
|
79688
|
+
}
|
|
79689
|
+
return obj;
|
|
79690
|
+
};
|
|
79691
|
+
}
|
|
79692
|
+
/**
|
|
79693
|
+
* Deserializes binary data (in protobuf wire format).
|
|
79694
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
79695
|
+
* @return {!proto.clarifai.api.PostPipelineStepsRequest}
|
|
79696
|
+
*/
|
|
79697
|
+
proto.clarifai.api.PostPipelineStepsRequest.deserializeBinary = function (bytes) {
|
|
79698
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
79699
|
+
var msg = new proto.clarifai.api.PostPipelineStepsRequest;
|
|
79700
|
+
return proto.clarifai.api.PostPipelineStepsRequest.deserializeBinaryFromReader(msg, reader);
|
|
79701
|
+
};
|
|
79702
|
+
/**
|
|
79703
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
79704
|
+
* given reader into the given message object.
|
|
79705
|
+
* @param {!proto.clarifai.api.PostPipelineStepsRequest} msg The message object to deserialize into.
|
|
79706
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
79707
|
+
* @return {!proto.clarifai.api.PostPipelineStepsRequest}
|
|
79708
|
+
*/
|
|
79709
|
+
proto.clarifai.api.PostPipelineStepsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
79710
|
+
while (reader.nextField()) {
|
|
79711
|
+
if (reader.isEndGroup()) {
|
|
79712
|
+
break;
|
|
79713
|
+
}
|
|
79714
|
+
var field = reader.getFieldNumber();
|
|
79715
|
+
switch (field) {
|
|
79716
|
+
case 1:
|
|
79717
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
79718
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
79719
|
+
msg.setUserAppId(value);
|
|
79720
|
+
break;
|
|
79721
|
+
case 3:
|
|
79722
|
+
var value = new proto_clarifai_api_resources_pb.PipelineStep;
|
|
79723
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.PipelineStep.deserializeBinaryFromReader);
|
|
79724
|
+
msg.addPipelineSteps(value);
|
|
79725
|
+
break;
|
|
79726
|
+
default:
|
|
79727
|
+
reader.skipField();
|
|
79728
|
+
break;
|
|
79729
|
+
}
|
|
79730
|
+
}
|
|
79731
|
+
return msg;
|
|
79732
|
+
};
|
|
79733
|
+
/**
|
|
79734
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
79735
|
+
* @return {!Uint8Array}
|
|
79736
|
+
*/
|
|
79737
|
+
proto.clarifai.api.PostPipelineStepsRequest.prototype.serializeBinary = function () {
|
|
79738
|
+
var writer = new jspb.BinaryWriter();
|
|
79739
|
+
proto.clarifai.api.PostPipelineStepsRequest.serializeBinaryToWriter(this, writer);
|
|
79740
|
+
return writer.getResultBuffer();
|
|
79741
|
+
};
|
|
79742
|
+
/**
|
|
79743
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
79744
|
+
* format), writing to the given BinaryWriter.
|
|
79745
|
+
* @param {!proto.clarifai.api.PostPipelineStepsRequest} message
|
|
79746
|
+
* @param {!jspb.BinaryWriter} writer
|
|
79747
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
79748
|
+
*/
|
|
79749
|
+
proto.clarifai.api.PostPipelineStepsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
79750
|
+
var f = undefined;
|
|
79751
|
+
f = message.getUserAppId();
|
|
79752
|
+
if (f != null) {
|
|
79753
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
79754
|
+
}
|
|
79755
|
+
f = message.getPipelineStepsList();
|
|
79756
|
+
if (f.length > 0) {
|
|
79757
|
+
writer.writeRepeatedMessage(3, f, proto_clarifai_api_resources_pb.PipelineStep.serializeBinaryToWriter);
|
|
79758
|
+
}
|
|
79759
|
+
};
|
|
79760
|
+
/**
|
|
79761
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
79762
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
79763
|
+
*/
|
|
79764
|
+
proto.clarifai.api.PostPipelineStepsRequest.prototype.getUserAppId = function () {
|
|
79765
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
79766
|
+
};
|
|
79767
|
+
/**
|
|
79768
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
79769
|
+
* @return {!proto.clarifai.api.PostPipelineStepsRequest} returns this
|
|
79770
|
+
*/
|
|
79771
|
+
proto.clarifai.api.PostPipelineStepsRequest.prototype.setUserAppId = function (value) {
|
|
79772
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
79773
|
+
};
|
|
79774
|
+
/**
|
|
79775
|
+
* Clears the message field making it undefined.
|
|
79776
|
+
* @return {!proto.clarifai.api.PostPipelineStepsRequest} returns this
|
|
79777
|
+
*/
|
|
79778
|
+
proto.clarifai.api.PostPipelineStepsRequest.prototype.clearUserAppId = function () {
|
|
79779
|
+
return this.setUserAppId(undefined);
|
|
79780
|
+
};
|
|
79781
|
+
/**
|
|
79782
|
+
* Returns whether this field is set.
|
|
79783
|
+
* @return {boolean}
|
|
79784
|
+
*/
|
|
79785
|
+
proto.clarifai.api.PostPipelineStepsRequest.prototype.hasUserAppId = function () {
|
|
79786
|
+
return jspb.Message.getField(this, 1) != null;
|
|
79787
|
+
};
|
|
79788
|
+
/**
|
|
79789
|
+
* repeated PipelineStep pipeline_steps = 3;
|
|
79790
|
+
* @return {!Array<!proto.clarifai.api.PipelineStep>}
|
|
79791
|
+
*/
|
|
79792
|
+
proto.clarifai.api.PostPipelineStepsRequest.prototype.getPipelineStepsList = function () {
|
|
79793
|
+
return /** @type{!Array<!proto.clarifai.api.PipelineStep>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.PipelineStep, 3));
|
|
79794
|
+
};
|
|
79795
|
+
/**
|
|
79796
|
+
* @param {!Array<!proto.clarifai.api.PipelineStep>} value
|
|
79797
|
+
* @return {!proto.clarifai.api.PostPipelineStepsRequest} returns this
|
|
79798
|
+
*/
|
|
79799
|
+
proto.clarifai.api.PostPipelineStepsRequest.prototype.setPipelineStepsList = function (value) {
|
|
79800
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
79801
|
+
};
|
|
79802
|
+
/**
|
|
79803
|
+
* @param {!proto.clarifai.api.PipelineStep=} opt_value
|
|
79804
|
+
* @param {number=} opt_index
|
|
79805
|
+
* @return {!proto.clarifai.api.PipelineStep}
|
|
79806
|
+
*/
|
|
79807
|
+
proto.clarifai.api.PostPipelineStepsRequest.prototype.addPipelineSteps = function (opt_value, opt_index) {
|
|
79808
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.PipelineStep, opt_index);
|
|
79809
|
+
};
|
|
79810
|
+
/**
|
|
79811
|
+
* Clears the list making it empty but non-null.
|
|
79812
|
+
* @return {!proto.clarifai.api.PostPipelineStepsRequest} returns this
|
|
79813
|
+
*/
|
|
79814
|
+
proto.clarifai.api.PostPipelineStepsRequest.prototype.clearPipelineStepsList = function () {
|
|
79815
|
+
return this.setPipelineStepsList([]);
|
|
79816
|
+
};
|
|
79817
|
+
/**
|
|
79818
|
+
* List of repeated fields within this message type.
|
|
79819
|
+
* @private {!Array<number>}
|
|
79820
|
+
* @const
|
|
79821
|
+
*/
|
|
79822
|
+
proto.clarifai.api.MultiPipelineStepResponse.repeatedFields_ = [2];
|
|
79823
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
79824
|
+
/**
|
|
79825
|
+
* Creates an object representation of this proto.
|
|
79826
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
79827
|
+
* Optional fields that are not set will be set to undefined.
|
|
79828
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
79829
|
+
* For the list of reserved names please see:
|
|
79830
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
79831
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
79832
|
+
* JSPB instance for transitional soy proto support:
|
|
79833
|
+
* http://goto/soy-param-migration
|
|
79834
|
+
* @return {!Object}
|
|
79835
|
+
*/
|
|
79836
|
+
proto.clarifai.api.MultiPipelineStepResponse.prototype.toObject = function (opt_includeInstance) {
|
|
79837
|
+
return proto.clarifai.api.MultiPipelineStepResponse.toObject(opt_includeInstance, this);
|
|
79838
|
+
};
|
|
79839
|
+
/**
|
|
79840
|
+
* Static version of the {@see toObject} method.
|
|
79841
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
79842
|
+
* the JSPB instance for transitional soy proto support:
|
|
79843
|
+
* http://goto/soy-param-migration
|
|
79844
|
+
* @param {!proto.clarifai.api.MultiPipelineStepResponse} msg The msg instance to transform.
|
|
79845
|
+
* @return {!Object}
|
|
79846
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
79847
|
+
*/
|
|
79848
|
+
proto.clarifai.api.MultiPipelineStepResponse.toObject = function (includeInstance, msg) {
|
|
79849
|
+
var f, obj = {
|
|
79850
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
79851
|
+
pipelineStepsList: jspb.Message.toObjectList(msg.getPipelineStepsList(), proto_clarifai_api_resources_pb.PipelineStep.toObject, includeInstance)
|
|
79852
|
+
};
|
|
79853
|
+
if (includeInstance) {
|
|
79854
|
+
obj.$jspbMessageInstance = msg;
|
|
79855
|
+
}
|
|
79856
|
+
return obj;
|
|
79857
|
+
};
|
|
79858
|
+
}
|
|
79859
|
+
/**
|
|
79860
|
+
* Deserializes binary data (in protobuf wire format).
|
|
79861
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
79862
|
+
* @return {!proto.clarifai.api.MultiPipelineStepResponse}
|
|
79863
|
+
*/
|
|
79864
|
+
proto.clarifai.api.MultiPipelineStepResponse.deserializeBinary = function (bytes) {
|
|
79865
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
79866
|
+
var msg = new proto.clarifai.api.MultiPipelineStepResponse;
|
|
79867
|
+
return proto.clarifai.api.MultiPipelineStepResponse.deserializeBinaryFromReader(msg, reader);
|
|
79868
|
+
};
|
|
79869
|
+
/**
|
|
79870
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
79871
|
+
* given reader into the given message object.
|
|
79872
|
+
* @param {!proto.clarifai.api.MultiPipelineStepResponse} msg The message object to deserialize into.
|
|
79873
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
79874
|
+
* @return {!proto.clarifai.api.MultiPipelineStepResponse}
|
|
79875
|
+
*/
|
|
79876
|
+
proto.clarifai.api.MultiPipelineStepResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
79877
|
+
while (reader.nextField()) {
|
|
79878
|
+
if (reader.isEndGroup()) {
|
|
79879
|
+
break;
|
|
79880
|
+
}
|
|
79881
|
+
var field = reader.getFieldNumber();
|
|
79882
|
+
switch (field) {
|
|
79883
|
+
case 1:
|
|
79884
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
79885
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
79886
|
+
msg.setStatus(value);
|
|
79887
|
+
break;
|
|
79888
|
+
case 2:
|
|
79889
|
+
var value = new proto_clarifai_api_resources_pb.PipelineStep;
|
|
79890
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.PipelineStep.deserializeBinaryFromReader);
|
|
79891
|
+
msg.addPipelineSteps(value);
|
|
79892
|
+
break;
|
|
79893
|
+
default:
|
|
79894
|
+
reader.skipField();
|
|
79895
|
+
break;
|
|
79896
|
+
}
|
|
79897
|
+
}
|
|
79898
|
+
return msg;
|
|
79899
|
+
};
|
|
79900
|
+
/**
|
|
79901
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
79902
|
+
* @return {!Uint8Array}
|
|
79903
|
+
*/
|
|
79904
|
+
proto.clarifai.api.MultiPipelineStepResponse.prototype.serializeBinary = function () {
|
|
79905
|
+
var writer = new jspb.BinaryWriter();
|
|
79906
|
+
proto.clarifai.api.MultiPipelineStepResponse.serializeBinaryToWriter(this, writer);
|
|
79907
|
+
return writer.getResultBuffer();
|
|
79908
|
+
};
|
|
79909
|
+
/**
|
|
79910
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
79911
|
+
* format), writing to the given BinaryWriter.
|
|
79912
|
+
* @param {!proto.clarifai.api.MultiPipelineStepResponse} message
|
|
79913
|
+
* @param {!jspb.BinaryWriter} writer
|
|
79914
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
79915
|
+
*/
|
|
79916
|
+
proto.clarifai.api.MultiPipelineStepResponse.serializeBinaryToWriter = function (message, writer) {
|
|
79917
|
+
var f = undefined;
|
|
79918
|
+
f = message.getStatus();
|
|
79919
|
+
if (f != null) {
|
|
79920
|
+
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
79921
|
+
}
|
|
79922
|
+
f = message.getPipelineStepsList();
|
|
79923
|
+
if (f.length > 0) {
|
|
79924
|
+
writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.PipelineStep.serializeBinaryToWriter);
|
|
79925
|
+
}
|
|
79926
|
+
};
|
|
79927
|
+
/**
|
|
79928
|
+
* optional status.Status status = 1;
|
|
79929
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
79930
|
+
*/
|
|
79931
|
+
proto.clarifai.api.MultiPipelineStepResponse.prototype.getStatus = function () {
|
|
79932
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
79933
|
+
};
|
|
79934
|
+
/**
|
|
79935
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
79936
|
+
* @return {!proto.clarifai.api.MultiPipelineStepResponse} returns this
|
|
79937
|
+
*/
|
|
79938
|
+
proto.clarifai.api.MultiPipelineStepResponse.prototype.setStatus = function (value) {
|
|
79939
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
79940
|
+
};
|
|
79941
|
+
/**
|
|
79942
|
+
* Clears the message field making it undefined.
|
|
79943
|
+
* @return {!proto.clarifai.api.MultiPipelineStepResponse} returns this
|
|
79944
|
+
*/
|
|
79945
|
+
proto.clarifai.api.MultiPipelineStepResponse.prototype.clearStatus = function () {
|
|
79946
|
+
return this.setStatus(undefined);
|
|
79947
|
+
};
|
|
79948
|
+
/**
|
|
79949
|
+
* Returns whether this field is set.
|
|
79950
|
+
* @return {boolean}
|
|
79951
|
+
*/
|
|
79952
|
+
proto.clarifai.api.MultiPipelineStepResponse.prototype.hasStatus = function () {
|
|
79953
|
+
return jspb.Message.getField(this, 1) != null;
|
|
79954
|
+
};
|
|
79955
|
+
/**
|
|
79956
|
+
* repeated PipelineStep pipeline_steps = 2;
|
|
79957
|
+
* @return {!Array<!proto.clarifai.api.PipelineStep>}
|
|
79958
|
+
*/
|
|
79959
|
+
proto.clarifai.api.MultiPipelineStepResponse.prototype.getPipelineStepsList = function () {
|
|
79960
|
+
return /** @type{!Array<!proto.clarifai.api.PipelineStep>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.PipelineStep, 2));
|
|
79961
|
+
};
|
|
79962
|
+
/**
|
|
79963
|
+
* @param {!Array<!proto.clarifai.api.PipelineStep>} value
|
|
79964
|
+
* @return {!proto.clarifai.api.MultiPipelineStepResponse} returns this
|
|
79965
|
+
*/
|
|
79966
|
+
proto.clarifai.api.MultiPipelineStepResponse.prototype.setPipelineStepsList = function (value) {
|
|
79967
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
79968
|
+
};
|
|
79969
|
+
/**
|
|
79970
|
+
* @param {!proto.clarifai.api.PipelineStep=} opt_value
|
|
79971
|
+
* @param {number=} opt_index
|
|
79972
|
+
* @return {!proto.clarifai.api.PipelineStep}
|
|
79973
|
+
*/
|
|
79974
|
+
proto.clarifai.api.MultiPipelineStepResponse.prototype.addPipelineSteps = function (opt_value, opt_index) {
|
|
79975
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.PipelineStep, opt_index);
|
|
79976
|
+
};
|
|
79977
|
+
/**
|
|
79978
|
+
* Clears the list making it empty but non-null.
|
|
79979
|
+
* @return {!proto.clarifai.api.MultiPipelineStepResponse} returns this
|
|
79980
|
+
*/
|
|
79981
|
+
proto.clarifai.api.MultiPipelineStepResponse.prototype.clearPipelineStepsList = function () {
|
|
79982
|
+
return this.setPipelineStepsList([]);
|
|
79983
|
+
};
|
|
79984
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
79985
|
+
/**
|
|
79986
|
+
* Creates an object representation of this proto.
|
|
79987
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
79988
|
+
* Optional fields that are not set will be set to undefined.
|
|
79989
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
79990
|
+
* For the list of reserved names please see:
|
|
79991
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
79992
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
79993
|
+
* JSPB instance for transitional soy proto support:
|
|
79994
|
+
* http://goto/soy-param-migration
|
|
79995
|
+
* @return {!Object}
|
|
79996
|
+
*/
|
|
79997
|
+
proto.clarifai.api.ListPipelineStepsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
79998
|
+
return proto.clarifai.api.ListPipelineStepsRequest.toObject(opt_includeInstance, this);
|
|
79999
|
+
};
|
|
80000
|
+
/**
|
|
80001
|
+
* Static version of the {@see toObject} method.
|
|
80002
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
80003
|
+
* the JSPB instance for transitional soy proto support:
|
|
80004
|
+
* http://goto/soy-param-migration
|
|
80005
|
+
* @param {!proto.clarifai.api.ListPipelineStepsRequest} msg The msg instance to transform.
|
|
80006
|
+
* @return {!Object}
|
|
80007
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
80008
|
+
*/
|
|
80009
|
+
proto.clarifai.api.ListPipelineStepsRequest.toObject = function (includeInstance, msg) {
|
|
80010
|
+
var f, obj = {
|
|
80011
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
80012
|
+
page: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
80013
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
80014
|
+
};
|
|
80015
|
+
if (includeInstance) {
|
|
80016
|
+
obj.$jspbMessageInstance = msg;
|
|
80017
|
+
}
|
|
80018
|
+
return obj;
|
|
80019
|
+
};
|
|
80020
|
+
}
|
|
80021
|
+
/**
|
|
80022
|
+
* Deserializes binary data (in protobuf wire format).
|
|
80023
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
80024
|
+
* @return {!proto.clarifai.api.ListPipelineStepsRequest}
|
|
80025
|
+
*/
|
|
80026
|
+
proto.clarifai.api.ListPipelineStepsRequest.deserializeBinary = function (bytes) {
|
|
80027
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
80028
|
+
var msg = new proto.clarifai.api.ListPipelineStepsRequest;
|
|
80029
|
+
return proto.clarifai.api.ListPipelineStepsRequest.deserializeBinaryFromReader(msg, reader);
|
|
80030
|
+
};
|
|
80031
|
+
/**
|
|
80032
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
80033
|
+
* given reader into the given message object.
|
|
80034
|
+
* @param {!proto.clarifai.api.ListPipelineStepsRequest} msg The message object to deserialize into.
|
|
80035
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
80036
|
+
* @return {!proto.clarifai.api.ListPipelineStepsRequest}
|
|
80037
|
+
*/
|
|
80038
|
+
proto.clarifai.api.ListPipelineStepsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
80039
|
+
while (reader.nextField()) {
|
|
80040
|
+
if (reader.isEndGroup()) {
|
|
80041
|
+
break;
|
|
80042
|
+
}
|
|
80043
|
+
var field = reader.getFieldNumber();
|
|
80044
|
+
switch (field) {
|
|
80045
|
+
case 1:
|
|
80046
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
80047
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
80048
|
+
msg.setUserAppId(value);
|
|
80049
|
+
break;
|
|
80050
|
+
case 2:
|
|
80051
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
80052
|
+
msg.setPage(value);
|
|
80053
|
+
break;
|
|
80054
|
+
case 3:
|
|
80055
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
80056
|
+
msg.setPerPage(value);
|
|
80057
|
+
break;
|
|
80058
|
+
default:
|
|
80059
|
+
reader.skipField();
|
|
80060
|
+
break;
|
|
80061
|
+
}
|
|
80062
|
+
}
|
|
80063
|
+
return msg;
|
|
80064
|
+
};
|
|
80065
|
+
/**
|
|
80066
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
80067
|
+
* @return {!Uint8Array}
|
|
80068
|
+
*/
|
|
80069
|
+
proto.clarifai.api.ListPipelineStepsRequest.prototype.serializeBinary = function () {
|
|
80070
|
+
var writer = new jspb.BinaryWriter();
|
|
80071
|
+
proto.clarifai.api.ListPipelineStepsRequest.serializeBinaryToWriter(this, writer);
|
|
80072
|
+
return writer.getResultBuffer();
|
|
80073
|
+
};
|
|
80074
|
+
/**
|
|
80075
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
80076
|
+
* format), writing to the given BinaryWriter.
|
|
80077
|
+
* @param {!proto.clarifai.api.ListPipelineStepsRequest} message
|
|
80078
|
+
* @param {!jspb.BinaryWriter} writer
|
|
80079
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
80080
|
+
*/
|
|
80081
|
+
proto.clarifai.api.ListPipelineStepsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
80082
|
+
var f = undefined;
|
|
80083
|
+
f = message.getUserAppId();
|
|
80084
|
+
if (f != null) {
|
|
80085
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
80086
|
+
}
|
|
80087
|
+
f = message.getPage();
|
|
80088
|
+
if (f !== 0) {
|
|
80089
|
+
writer.writeUint32(2, f);
|
|
80090
|
+
}
|
|
80091
|
+
f = message.getPerPage();
|
|
80092
|
+
if (f !== 0) {
|
|
80093
|
+
writer.writeUint32(3, f);
|
|
80094
|
+
}
|
|
80095
|
+
};
|
|
80096
|
+
/**
|
|
80097
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
80098
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
80099
|
+
*/
|
|
80100
|
+
proto.clarifai.api.ListPipelineStepsRequest.prototype.getUserAppId = function () {
|
|
80101
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
80102
|
+
};
|
|
80103
|
+
/**
|
|
80104
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
80105
|
+
* @return {!proto.clarifai.api.ListPipelineStepsRequest} returns this
|
|
80106
|
+
*/
|
|
80107
|
+
proto.clarifai.api.ListPipelineStepsRequest.prototype.setUserAppId = function (value) {
|
|
80108
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
80109
|
+
};
|
|
80110
|
+
/**
|
|
80111
|
+
* Clears the message field making it undefined.
|
|
80112
|
+
* @return {!proto.clarifai.api.ListPipelineStepsRequest} returns this
|
|
80113
|
+
*/
|
|
80114
|
+
proto.clarifai.api.ListPipelineStepsRequest.prototype.clearUserAppId = function () {
|
|
80115
|
+
return this.setUserAppId(undefined);
|
|
80116
|
+
};
|
|
80117
|
+
/**
|
|
80118
|
+
* Returns whether this field is set.
|
|
80119
|
+
* @return {boolean}
|
|
80120
|
+
*/
|
|
80121
|
+
proto.clarifai.api.ListPipelineStepsRequest.prototype.hasUserAppId = function () {
|
|
80122
|
+
return jspb.Message.getField(this, 1) != null;
|
|
80123
|
+
};
|
|
80124
|
+
/**
|
|
80125
|
+
* optional uint32 page = 2;
|
|
80126
|
+
* @return {number}
|
|
80127
|
+
*/
|
|
80128
|
+
proto.clarifai.api.ListPipelineStepsRequest.prototype.getPage = function () {
|
|
80129
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
80130
|
+
};
|
|
80131
|
+
/**
|
|
80132
|
+
* @param {number} value
|
|
80133
|
+
* @return {!proto.clarifai.api.ListPipelineStepsRequest} returns this
|
|
80134
|
+
*/
|
|
80135
|
+
proto.clarifai.api.ListPipelineStepsRequest.prototype.setPage = function (value) {
|
|
80136
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
80137
|
+
};
|
|
80138
|
+
/**
|
|
80139
|
+
* optional uint32 per_page = 3;
|
|
80140
|
+
* @return {number}
|
|
80141
|
+
*/
|
|
80142
|
+
proto.clarifai.api.ListPipelineStepsRequest.prototype.getPerPage = function () {
|
|
80143
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
80144
|
+
};
|
|
80145
|
+
/**
|
|
80146
|
+
* @param {number} value
|
|
80147
|
+
* @return {!proto.clarifai.api.ListPipelineStepsRequest} returns this
|
|
80148
|
+
*/
|
|
80149
|
+
proto.clarifai.api.ListPipelineStepsRequest.prototype.setPerPage = function (value) {
|
|
80150
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
80151
|
+
};
|
|
80152
|
+
/**
|
|
80153
|
+
* List of repeated fields within this message type.
|
|
80154
|
+
* @private {!Array<number>}
|
|
80155
|
+
* @const
|
|
80156
|
+
*/
|
|
80157
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.repeatedFields_ = [6];
|
|
80158
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
80159
|
+
/**
|
|
80160
|
+
* Creates an object representation of this proto.
|
|
80161
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
80162
|
+
* Optional fields that are not set will be set to undefined.
|
|
80163
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
80164
|
+
* For the list of reserved names please see:
|
|
80165
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
80166
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
80167
|
+
* JSPB instance for transitional soy proto support:
|
|
80168
|
+
* http://goto/soy-param-migration
|
|
80169
|
+
* @return {!Object}
|
|
80170
|
+
*/
|
|
80171
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
80172
|
+
return proto.clarifai.api.ListPipelineStepVersionsRequest.toObject(opt_includeInstance, this);
|
|
80173
|
+
};
|
|
80174
|
+
/**
|
|
80175
|
+
* Static version of the {@see toObject} method.
|
|
80176
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
80177
|
+
* the JSPB instance for transitional soy proto support:
|
|
80178
|
+
* http://goto/soy-param-migration
|
|
80179
|
+
* @param {!proto.clarifai.api.ListPipelineStepVersionsRequest} msg The msg instance to transform.
|
|
80180
|
+
* @return {!Object}
|
|
80181
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
80182
|
+
*/
|
|
80183
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.toObject = function (includeInstance, msg) {
|
|
80184
|
+
var f, obj = {
|
|
80185
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
80186
|
+
pipelineStepId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
80187
|
+
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
80188
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
80189
|
+
statusCodesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f
|
|
80190
|
+
};
|
|
80191
|
+
if (includeInstance) {
|
|
80192
|
+
obj.$jspbMessageInstance = msg;
|
|
80193
|
+
}
|
|
80194
|
+
return obj;
|
|
80195
|
+
};
|
|
80196
|
+
}
|
|
80197
|
+
/**
|
|
80198
|
+
* Deserializes binary data (in protobuf wire format).
|
|
80199
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
80200
|
+
* @return {!proto.clarifai.api.ListPipelineStepVersionsRequest}
|
|
80201
|
+
*/
|
|
80202
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.deserializeBinary = function (bytes) {
|
|
80203
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
80204
|
+
var msg = new proto.clarifai.api.ListPipelineStepVersionsRequest;
|
|
80205
|
+
return proto.clarifai.api.ListPipelineStepVersionsRequest.deserializeBinaryFromReader(msg, reader);
|
|
80206
|
+
};
|
|
80207
|
+
/**
|
|
80208
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
80209
|
+
* given reader into the given message object.
|
|
80210
|
+
* @param {!proto.clarifai.api.ListPipelineStepVersionsRequest} msg The message object to deserialize into.
|
|
80211
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
80212
|
+
* @return {!proto.clarifai.api.ListPipelineStepVersionsRequest}
|
|
80213
|
+
*/
|
|
80214
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
80215
|
+
while (reader.nextField()) {
|
|
80216
|
+
if (reader.isEndGroup()) {
|
|
80217
|
+
break;
|
|
80218
|
+
}
|
|
80219
|
+
var field = reader.getFieldNumber();
|
|
80220
|
+
switch (field) {
|
|
80221
|
+
case 1:
|
|
80222
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
80223
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
80224
|
+
msg.setUserAppId(value);
|
|
80225
|
+
break;
|
|
80226
|
+
case 2:
|
|
80227
|
+
var value = /** @type {string} */ (reader.readString());
|
|
80228
|
+
msg.setPipelineStepId(value);
|
|
80229
|
+
break;
|
|
80230
|
+
case 3:
|
|
80231
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
80232
|
+
msg.setPage(value);
|
|
80233
|
+
break;
|
|
80234
|
+
case 4:
|
|
80235
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
80236
|
+
msg.setPerPage(value);
|
|
80237
|
+
break;
|
|
80238
|
+
case 6:
|
|
80239
|
+
var values = /** @type {!Array<!proto.clarifai.api.status.StatusCode>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
80240
|
+
for (var i = 0; i < values.length; i++) {
|
|
80241
|
+
msg.addStatusCodes(values[i]);
|
|
80242
|
+
}
|
|
80243
|
+
break;
|
|
80244
|
+
default:
|
|
80245
|
+
reader.skipField();
|
|
80246
|
+
break;
|
|
80247
|
+
}
|
|
80248
|
+
}
|
|
80249
|
+
return msg;
|
|
80250
|
+
};
|
|
80251
|
+
/**
|
|
80252
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
80253
|
+
* @return {!Uint8Array}
|
|
80254
|
+
*/
|
|
80255
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.serializeBinary = function () {
|
|
80256
|
+
var writer = new jspb.BinaryWriter();
|
|
80257
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.serializeBinaryToWriter(this, writer);
|
|
80258
|
+
return writer.getResultBuffer();
|
|
80259
|
+
};
|
|
80260
|
+
/**
|
|
80261
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
80262
|
+
* format), writing to the given BinaryWriter.
|
|
80263
|
+
* @param {!proto.clarifai.api.ListPipelineStepVersionsRequest} message
|
|
80264
|
+
* @param {!jspb.BinaryWriter} writer
|
|
80265
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
80266
|
+
*/
|
|
80267
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
80268
|
+
var f = undefined;
|
|
80269
|
+
f = message.getUserAppId();
|
|
80270
|
+
if (f != null) {
|
|
80271
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
80272
|
+
}
|
|
80273
|
+
f = message.getPipelineStepId();
|
|
80274
|
+
if (f.length > 0) {
|
|
80275
|
+
writer.writeString(2, f);
|
|
80276
|
+
}
|
|
80277
|
+
f = message.getPage();
|
|
80278
|
+
if (f !== 0) {
|
|
80279
|
+
writer.writeUint32(3, f);
|
|
80280
|
+
}
|
|
80281
|
+
f = message.getPerPage();
|
|
80282
|
+
if (f !== 0) {
|
|
80283
|
+
writer.writeUint32(4, f);
|
|
80284
|
+
}
|
|
80285
|
+
f = message.getStatusCodesList();
|
|
80286
|
+
if (f.length > 0) {
|
|
80287
|
+
writer.writePackedEnum(6, f);
|
|
80288
|
+
}
|
|
80289
|
+
};
|
|
80290
|
+
/**
|
|
80291
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
80292
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
80293
|
+
*/
|
|
80294
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.getUserAppId = function () {
|
|
80295
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
80296
|
+
};
|
|
80297
|
+
/**
|
|
80298
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
80299
|
+
* @return {!proto.clarifai.api.ListPipelineStepVersionsRequest} returns this
|
|
80300
|
+
*/
|
|
80301
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.setUserAppId = function (value) {
|
|
80302
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
80303
|
+
};
|
|
80304
|
+
/**
|
|
80305
|
+
* Clears the message field making it undefined.
|
|
80306
|
+
* @return {!proto.clarifai.api.ListPipelineStepVersionsRequest} returns this
|
|
80307
|
+
*/
|
|
80308
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.clearUserAppId = function () {
|
|
80309
|
+
return this.setUserAppId(undefined);
|
|
80310
|
+
};
|
|
80311
|
+
/**
|
|
80312
|
+
* Returns whether this field is set.
|
|
80313
|
+
* @return {boolean}
|
|
80314
|
+
*/
|
|
80315
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.hasUserAppId = function () {
|
|
80316
|
+
return jspb.Message.getField(this, 1) != null;
|
|
80317
|
+
};
|
|
80318
|
+
/**
|
|
80319
|
+
* optional string pipeline_step_id = 2;
|
|
80320
|
+
* @return {string}
|
|
80321
|
+
*/
|
|
80322
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.getPipelineStepId = function () {
|
|
80323
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
80324
|
+
};
|
|
80325
|
+
/**
|
|
80326
|
+
* @param {string} value
|
|
80327
|
+
* @return {!proto.clarifai.api.ListPipelineStepVersionsRequest} returns this
|
|
80328
|
+
*/
|
|
80329
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.setPipelineStepId = function (value) {
|
|
80330
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
80331
|
+
};
|
|
80332
|
+
/**
|
|
80333
|
+
* optional uint32 page = 3;
|
|
80334
|
+
* @return {number}
|
|
80335
|
+
*/
|
|
80336
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.getPage = function () {
|
|
80337
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
80338
|
+
};
|
|
80339
|
+
/**
|
|
80340
|
+
* @param {number} value
|
|
80341
|
+
* @return {!proto.clarifai.api.ListPipelineStepVersionsRequest} returns this
|
|
80342
|
+
*/
|
|
80343
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.setPage = function (value) {
|
|
80344
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
80345
|
+
};
|
|
80346
|
+
/**
|
|
80347
|
+
* optional uint32 per_page = 4;
|
|
80348
|
+
* @return {number}
|
|
80349
|
+
*/
|
|
80350
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.getPerPage = function () {
|
|
80351
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
80352
|
+
};
|
|
80353
|
+
/**
|
|
80354
|
+
* @param {number} value
|
|
80355
|
+
* @return {!proto.clarifai.api.ListPipelineStepVersionsRequest} returns this
|
|
80356
|
+
*/
|
|
80357
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.setPerPage = function (value) {
|
|
80358
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
80359
|
+
};
|
|
80360
|
+
/**
|
|
80361
|
+
* repeated status.StatusCode status_codes = 6;
|
|
80362
|
+
* @return {!Array<!proto.clarifai.api.status.StatusCode>}
|
|
80363
|
+
*/
|
|
80364
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.getStatusCodesList = function () {
|
|
80365
|
+
return /** @type {!Array<!proto.clarifai.api.status.StatusCode>} */ (jspb.Message.getRepeatedField(this, 6));
|
|
80366
|
+
};
|
|
80367
|
+
/**
|
|
80368
|
+
* @param {!Array<!proto.clarifai.api.status.StatusCode>} value
|
|
80369
|
+
* @return {!proto.clarifai.api.ListPipelineStepVersionsRequest} returns this
|
|
80370
|
+
*/
|
|
80371
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.setStatusCodesList = function (value) {
|
|
80372
|
+
return jspb.Message.setField(this, 6, value || []);
|
|
80373
|
+
};
|
|
80374
|
+
/**
|
|
80375
|
+
* @param {!proto.clarifai.api.status.StatusCode} value
|
|
80376
|
+
* @param {number=} opt_index
|
|
80377
|
+
* @return {!proto.clarifai.api.ListPipelineStepVersionsRequest} returns this
|
|
80378
|
+
*/
|
|
80379
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.addStatusCodes = function (value, opt_index) {
|
|
80380
|
+
return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
|
|
80381
|
+
};
|
|
80382
|
+
/**
|
|
80383
|
+
* Clears the list making it empty but non-null.
|
|
80384
|
+
* @return {!proto.clarifai.api.ListPipelineStepVersionsRequest} returns this
|
|
80385
|
+
*/
|
|
80386
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.clearStatusCodesList = function () {
|
|
80387
|
+
return this.setStatusCodesList([]);
|
|
80388
|
+
};
|
|
80389
|
+
/**
|
|
80390
|
+
* List of repeated fields within this message type.
|
|
80391
|
+
* @private {!Array<number>}
|
|
80392
|
+
* @const
|
|
80393
|
+
*/
|
|
80394
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.repeatedFields_ = [2];
|
|
80395
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
80396
|
+
/**
|
|
80397
|
+
* Creates an object representation of this proto.
|
|
80398
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
80399
|
+
* Optional fields that are not set will be set to undefined.
|
|
80400
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
80401
|
+
* For the list of reserved names please see:
|
|
80402
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
80403
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
80404
|
+
* JSPB instance for transitional soy proto support:
|
|
80405
|
+
* http://goto/soy-param-migration
|
|
80406
|
+
* @return {!Object}
|
|
80407
|
+
*/
|
|
80408
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.prototype.toObject = function (opt_includeInstance) {
|
|
80409
|
+
return proto.clarifai.api.MultiPipelineStepVersionResponse.toObject(opt_includeInstance, this);
|
|
80410
|
+
};
|
|
80411
|
+
/**
|
|
80412
|
+
* Static version of the {@see toObject} method.
|
|
80413
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
80414
|
+
* the JSPB instance for transitional soy proto support:
|
|
80415
|
+
* http://goto/soy-param-migration
|
|
80416
|
+
* @param {!proto.clarifai.api.MultiPipelineStepVersionResponse} msg The msg instance to transform.
|
|
80417
|
+
* @return {!Object}
|
|
80418
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
80419
|
+
*/
|
|
80420
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.toObject = function (includeInstance, msg) {
|
|
80421
|
+
var f, obj = {
|
|
80422
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
80423
|
+
pipelineStepVersionsList: jspb.Message.toObjectList(msg.getPipelineStepVersionsList(), proto_clarifai_api_resources_pb.PipelineStepVersion.toObject, includeInstance)
|
|
80424
|
+
};
|
|
80425
|
+
if (includeInstance) {
|
|
80426
|
+
obj.$jspbMessageInstance = msg;
|
|
80427
|
+
}
|
|
80428
|
+
return obj;
|
|
80429
|
+
};
|
|
80430
|
+
}
|
|
80431
|
+
/**
|
|
80432
|
+
* Deserializes binary data (in protobuf wire format).
|
|
80433
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
80434
|
+
* @return {!proto.clarifai.api.MultiPipelineStepVersionResponse}
|
|
80435
|
+
*/
|
|
80436
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.deserializeBinary = function (bytes) {
|
|
80437
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
80438
|
+
var msg = new proto.clarifai.api.MultiPipelineStepVersionResponse;
|
|
80439
|
+
return proto.clarifai.api.MultiPipelineStepVersionResponse.deserializeBinaryFromReader(msg, reader);
|
|
80440
|
+
};
|
|
80441
|
+
/**
|
|
80442
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
80443
|
+
* given reader into the given message object.
|
|
80444
|
+
* @param {!proto.clarifai.api.MultiPipelineStepVersionResponse} msg The message object to deserialize into.
|
|
80445
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
80446
|
+
* @return {!proto.clarifai.api.MultiPipelineStepVersionResponse}
|
|
80447
|
+
*/
|
|
80448
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
80449
|
+
while (reader.nextField()) {
|
|
80450
|
+
if (reader.isEndGroup()) {
|
|
80451
|
+
break;
|
|
80452
|
+
}
|
|
80453
|
+
var field = reader.getFieldNumber();
|
|
80454
|
+
switch (field) {
|
|
80455
|
+
case 1:
|
|
80456
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
80457
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
80458
|
+
msg.setStatus(value);
|
|
80459
|
+
break;
|
|
80460
|
+
case 2:
|
|
80461
|
+
var value = new proto_clarifai_api_resources_pb.PipelineStepVersion;
|
|
80462
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.PipelineStepVersion.deserializeBinaryFromReader);
|
|
80463
|
+
msg.addPipelineStepVersions(value);
|
|
80464
|
+
break;
|
|
80465
|
+
default:
|
|
80466
|
+
reader.skipField();
|
|
80467
|
+
break;
|
|
80468
|
+
}
|
|
80469
|
+
}
|
|
80470
|
+
return msg;
|
|
80471
|
+
};
|
|
80472
|
+
/**
|
|
80473
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
80474
|
+
* @return {!Uint8Array}
|
|
80475
|
+
*/
|
|
80476
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.prototype.serializeBinary = function () {
|
|
80477
|
+
var writer = new jspb.BinaryWriter();
|
|
80478
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.serializeBinaryToWriter(this, writer);
|
|
80479
|
+
return writer.getResultBuffer();
|
|
80480
|
+
};
|
|
80481
|
+
/**
|
|
80482
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
80483
|
+
* format), writing to the given BinaryWriter.
|
|
80484
|
+
* @param {!proto.clarifai.api.MultiPipelineStepVersionResponse} message
|
|
80485
|
+
* @param {!jspb.BinaryWriter} writer
|
|
80486
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
80487
|
+
*/
|
|
80488
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.serializeBinaryToWriter = function (message, writer) {
|
|
80489
|
+
var f = undefined;
|
|
80490
|
+
f = message.getStatus();
|
|
80491
|
+
if (f != null) {
|
|
80492
|
+
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
80493
|
+
}
|
|
80494
|
+
f = message.getPipelineStepVersionsList();
|
|
80495
|
+
if (f.length > 0) {
|
|
80496
|
+
writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.PipelineStepVersion.serializeBinaryToWriter);
|
|
80497
|
+
}
|
|
80498
|
+
};
|
|
80499
|
+
/**
|
|
80500
|
+
* optional status.Status status = 1;
|
|
80501
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
80502
|
+
*/
|
|
80503
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.prototype.getStatus = function () {
|
|
80504
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
80505
|
+
};
|
|
80506
|
+
/**
|
|
80507
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
80508
|
+
* @return {!proto.clarifai.api.MultiPipelineStepVersionResponse} returns this
|
|
80509
|
+
*/
|
|
80510
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.prototype.setStatus = function (value) {
|
|
80511
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
80512
|
+
};
|
|
80513
|
+
/**
|
|
80514
|
+
* Clears the message field making it undefined.
|
|
80515
|
+
* @return {!proto.clarifai.api.MultiPipelineStepVersionResponse} returns this
|
|
80516
|
+
*/
|
|
80517
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.prototype.clearStatus = function () {
|
|
80518
|
+
return this.setStatus(undefined);
|
|
80519
|
+
};
|
|
80520
|
+
/**
|
|
80521
|
+
* Returns whether this field is set.
|
|
80522
|
+
* @return {boolean}
|
|
80523
|
+
*/
|
|
80524
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.prototype.hasStatus = function () {
|
|
80525
|
+
return jspb.Message.getField(this, 1) != null;
|
|
80526
|
+
};
|
|
80527
|
+
/**
|
|
80528
|
+
* repeated PipelineStepVersion pipeline_step_versions = 2;
|
|
80529
|
+
* @return {!Array<!proto.clarifai.api.PipelineStepVersion>}
|
|
80530
|
+
*/
|
|
80531
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.prototype.getPipelineStepVersionsList = function () {
|
|
80532
|
+
return /** @type{!Array<!proto.clarifai.api.PipelineStepVersion>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.PipelineStepVersion, 2));
|
|
80533
|
+
};
|
|
80534
|
+
/**
|
|
80535
|
+
* @param {!Array<!proto.clarifai.api.PipelineStepVersion>} value
|
|
80536
|
+
* @return {!proto.clarifai.api.MultiPipelineStepVersionResponse} returns this
|
|
80537
|
+
*/
|
|
80538
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.prototype.setPipelineStepVersionsList = function (value) {
|
|
80539
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
80540
|
+
};
|
|
80541
|
+
/**
|
|
80542
|
+
* @param {!proto.clarifai.api.PipelineStepVersion=} opt_value
|
|
80543
|
+
* @param {number=} opt_index
|
|
80544
|
+
* @return {!proto.clarifai.api.PipelineStepVersion}
|
|
80545
|
+
*/
|
|
80546
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.prototype.addPipelineStepVersions = function (opt_value, opt_index) {
|
|
80547
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.PipelineStepVersion, opt_index);
|
|
80548
|
+
};
|
|
80549
|
+
/**
|
|
80550
|
+
* Clears the list making it empty but non-null.
|
|
80551
|
+
* @return {!proto.clarifai.api.MultiPipelineStepVersionResponse} returns this
|
|
80552
|
+
*/
|
|
80553
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.prototype.clearPipelineStepVersionsList = function () {
|
|
80554
|
+
return this.setPipelineStepVersionsList([]);
|
|
80555
|
+
};
|
|
80556
|
+
/**
|
|
80557
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
80558
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
80559
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
80560
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
80561
|
+
* @private {!Array<!Array<number>>}
|
|
80562
|
+
* @const
|
|
80563
|
+
*/
|
|
80564
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.oneofGroups_ = [[2, 3]];
|
|
80565
|
+
/**
|
|
80566
|
+
* @enum {number}
|
|
80567
|
+
*/
|
|
80568
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.UploadDataCase = {
|
|
80569
|
+
UPLOAD_DATA_NOT_SET: 0,
|
|
80570
|
+
UPLOAD_CONFIG: 2,
|
|
80571
|
+
CONTENT_PART: 3
|
|
80572
|
+
};
|
|
80573
|
+
/**
|
|
80574
|
+
* @return {proto.clarifai.api.PostPipelineStepVersionsUploadRequest.UploadDataCase}
|
|
80575
|
+
*/
|
|
80576
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.prototype.getUploadDataCase = function () {
|
|
80577
|
+
return /** @type {proto.clarifai.api.PostPipelineStepVersionsUploadRequest.UploadDataCase} */ (jspb.Message.computeOneofCase(this, proto.clarifai.api.PostPipelineStepVersionsUploadRequest.oneofGroups_[0]));
|
|
80578
|
+
};
|
|
80579
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
80580
|
+
/**
|
|
80581
|
+
* Creates an object representation of this proto.
|
|
80582
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
80583
|
+
* Optional fields that are not set will be set to undefined.
|
|
80584
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
80585
|
+
* For the list of reserved names please see:
|
|
80586
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
80587
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
80588
|
+
* JSPB instance for transitional soy proto support:
|
|
80589
|
+
* http://goto/soy-param-migration
|
|
80590
|
+
* @return {!Object}
|
|
80591
|
+
*/
|
|
80592
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.prototype.toObject = function (opt_includeInstance) {
|
|
80593
|
+
return proto.clarifai.api.PostPipelineStepVersionsUploadRequest.toObject(opt_includeInstance, this);
|
|
80594
|
+
};
|
|
80595
|
+
/**
|
|
80596
|
+
* Static version of the {@see toObject} method.
|
|
80597
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
80598
|
+
* the JSPB instance for transitional soy proto support:
|
|
80599
|
+
* http://goto/soy-param-migration
|
|
80600
|
+
* @param {!proto.clarifai.api.PostPipelineStepVersionsUploadRequest} msg The msg instance to transform.
|
|
80601
|
+
* @return {!Object}
|
|
80602
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
80603
|
+
*/
|
|
80604
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.toObject = function (includeInstance, msg) {
|
|
80605
|
+
var f, obj = {
|
|
80606
|
+
uploadConfig: (f = msg.getUploadConfig()) && proto.clarifai.api.PostPipelineStepVersionsUploadConfig.toObject(includeInstance, f),
|
|
80607
|
+
contentPart: (f = msg.getContentPart()) && proto_clarifai_api_resources_pb.UploadContentPart.toObject(includeInstance, f)
|
|
80608
|
+
};
|
|
80609
|
+
if (includeInstance) {
|
|
80610
|
+
obj.$jspbMessageInstance = msg;
|
|
80611
|
+
}
|
|
80612
|
+
return obj;
|
|
80613
|
+
};
|
|
80614
|
+
}
|
|
80615
|
+
/**
|
|
80616
|
+
* Deserializes binary data (in protobuf wire format).
|
|
80617
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
80618
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadRequest}
|
|
80619
|
+
*/
|
|
80620
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.deserializeBinary = function (bytes) {
|
|
80621
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
80622
|
+
var msg = new proto.clarifai.api.PostPipelineStepVersionsUploadRequest;
|
|
80623
|
+
return proto.clarifai.api.PostPipelineStepVersionsUploadRequest.deserializeBinaryFromReader(msg, reader);
|
|
80624
|
+
};
|
|
80625
|
+
/**
|
|
80626
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
80627
|
+
* given reader into the given message object.
|
|
80628
|
+
* @param {!proto.clarifai.api.PostPipelineStepVersionsUploadRequest} msg The message object to deserialize into.
|
|
80629
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
80630
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadRequest}
|
|
80631
|
+
*/
|
|
80632
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
80633
|
+
while (reader.nextField()) {
|
|
80634
|
+
if (reader.isEndGroup()) {
|
|
80635
|
+
break;
|
|
80636
|
+
}
|
|
80637
|
+
var field = reader.getFieldNumber();
|
|
80638
|
+
switch (field) {
|
|
80639
|
+
case 2:
|
|
80640
|
+
var value = new proto.clarifai.api.PostPipelineStepVersionsUploadConfig;
|
|
80641
|
+
reader.readMessage(value, proto.clarifai.api.PostPipelineStepVersionsUploadConfig.deserializeBinaryFromReader);
|
|
80642
|
+
msg.setUploadConfig(value);
|
|
80643
|
+
break;
|
|
80644
|
+
case 3:
|
|
80645
|
+
var value = new proto_clarifai_api_resources_pb.UploadContentPart;
|
|
80646
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UploadContentPart.deserializeBinaryFromReader);
|
|
80647
|
+
msg.setContentPart(value);
|
|
80648
|
+
break;
|
|
80649
|
+
default:
|
|
80650
|
+
reader.skipField();
|
|
80651
|
+
break;
|
|
80652
|
+
}
|
|
80653
|
+
}
|
|
80654
|
+
return msg;
|
|
80655
|
+
};
|
|
80656
|
+
/**
|
|
80657
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
80658
|
+
* @return {!Uint8Array}
|
|
80659
|
+
*/
|
|
80660
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.prototype.serializeBinary = function () {
|
|
80661
|
+
var writer = new jspb.BinaryWriter();
|
|
80662
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.serializeBinaryToWriter(this, writer);
|
|
80663
|
+
return writer.getResultBuffer();
|
|
80664
|
+
};
|
|
80665
|
+
/**
|
|
80666
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
80667
|
+
* format), writing to the given BinaryWriter.
|
|
80668
|
+
* @param {!proto.clarifai.api.PostPipelineStepVersionsUploadRequest} message
|
|
80669
|
+
* @param {!jspb.BinaryWriter} writer
|
|
80670
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
80671
|
+
*/
|
|
80672
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.serializeBinaryToWriter = function (message, writer) {
|
|
80673
|
+
var f = undefined;
|
|
80674
|
+
f = message.getUploadConfig();
|
|
80675
|
+
if (f != null) {
|
|
80676
|
+
writer.writeMessage(2, f, proto.clarifai.api.PostPipelineStepVersionsUploadConfig.serializeBinaryToWriter);
|
|
80677
|
+
}
|
|
80678
|
+
f = message.getContentPart();
|
|
80679
|
+
if (f != null) {
|
|
80680
|
+
writer.writeMessage(3, f, proto_clarifai_api_resources_pb.UploadContentPart.serializeBinaryToWriter);
|
|
80681
|
+
}
|
|
80682
|
+
};
|
|
80683
|
+
/**
|
|
80684
|
+
* optional PostPipelineStepVersionsUploadConfig upload_config = 2;
|
|
80685
|
+
* @return {?proto.clarifai.api.PostPipelineStepVersionsUploadConfig}
|
|
80686
|
+
*/
|
|
80687
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.prototype.getUploadConfig = function () {
|
|
80688
|
+
return /** @type{?proto.clarifai.api.PostPipelineStepVersionsUploadConfig} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.PostPipelineStepVersionsUploadConfig, 2));
|
|
80689
|
+
};
|
|
80690
|
+
/**
|
|
80691
|
+
* @param {?proto.clarifai.api.PostPipelineStepVersionsUploadConfig|undefined} value
|
|
80692
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadRequest} returns this
|
|
80693
|
+
*/
|
|
80694
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.prototype.setUploadConfig = function (value) {
|
|
80695
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.clarifai.api.PostPipelineStepVersionsUploadRequest.oneofGroups_[0], value);
|
|
80696
|
+
};
|
|
80697
|
+
/**
|
|
80698
|
+
* Clears the message field making it undefined.
|
|
80699
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadRequest} returns this
|
|
80700
|
+
*/
|
|
80701
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.prototype.clearUploadConfig = function () {
|
|
80702
|
+
return this.setUploadConfig(undefined);
|
|
80703
|
+
};
|
|
80704
|
+
/**
|
|
80705
|
+
* Returns whether this field is set.
|
|
80706
|
+
* @return {boolean}
|
|
80707
|
+
*/
|
|
80708
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.prototype.hasUploadConfig = function () {
|
|
80709
|
+
return jspb.Message.getField(this, 2) != null;
|
|
80710
|
+
};
|
|
80711
|
+
/**
|
|
80712
|
+
* optional UploadContentPart content_part = 3;
|
|
80713
|
+
* @return {?proto.clarifai.api.UploadContentPart}
|
|
80714
|
+
*/
|
|
80715
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.prototype.getContentPart = function () {
|
|
80716
|
+
return /** @type{?proto.clarifai.api.UploadContentPart} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UploadContentPart, 3));
|
|
80717
|
+
};
|
|
80718
|
+
/**
|
|
80719
|
+
* @param {?proto.clarifai.api.UploadContentPart|undefined} value
|
|
80720
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadRequest} returns this
|
|
80721
|
+
*/
|
|
80722
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.prototype.setContentPart = function (value) {
|
|
80723
|
+
return jspb.Message.setOneofWrapperField(this, 3, proto.clarifai.api.PostPipelineStepVersionsUploadRequest.oneofGroups_[0], value);
|
|
80724
|
+
};
|
|
80725
|
+
/**
|
|
80726
|
+
* Clears the message field making it undefined.
|
|
80727
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadRequest} returns this
|
|
80728
|
+
*/
|
|
80729
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.prototype.clearContentPart = function () {
|
|
80730
|
+
return this.setContentPart(undefined);
|
|
80731
|
+
};
|
|
80732
|
+
/**
|
|
80733
|
+
* Returns whether this field is set.
|
|
80734
|
+
* @return {boolean}
|
|
80735
|
+
*/
|
|
80736
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.prototype.hasContentPart = function () {
|
|
80737
|
+
return jspb.Message.getField(this, 3) != null;
|
|
80738
|
+
};
|
|
80739
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
80740
|
+
/**
|
|
80741
|
+
* Creates an object representation of this proto.
|
|
80742
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
80743
|
+
* Optional fields that are not set will be set to undefined.
|
|
80744
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
80745
|
+
* For the list of reserved names please see:
|
|
80746
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
80747
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
80748
|
+
* JSPB instance for transitional soy proto support:
|
|
80749
|
+
* http://goto/soy-param-migration
|
|
80750
|
+
* @return {!Object}
|
|
80751
|
+
*/
|
|
80752
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.prototype.toObject = function (opt_includeInstance) {
|
|
80753
|
+
return proto.clarifai.api.PostPipelineStepVersionsUploadResponse.toObject(opt_includeInstance, this);
|
|
80754
|
+
};
|
|
80755
|
+
/**
|
|
80756
|
+
* Static version of the {@see toObject} method.
|
|
80757
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
80758
|
+
* the JSPB instance for transitional soy proto support:
|
|
80759
|
+
* http://goto/soy-param-migration
|
|
80760
|
+
* @param {!proto.clarifai.api.PostPipelineStepVersionsUploadResponse} msg The msg instance to transform.
|
|
80761
|
+
* @return {!Object}
|
|
80762
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
80763
|
+
*/
|
|
80764
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.toObject = function (includeInstance, msg) {
|
|
80765
|
+
var f, obj = {
|
|
80766
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
80767
|
+
bytesRemaining: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
80768
|
+
pipelineStepVersionId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
80769
|
+
};
|
|
80770
|
+
if (includeInstance) {
|
|
80771
|
+
obj.$jspbMessageInstance = msg;
|
|
80772
|
+
}
|
|
80773
|
+
return obj;
|
|
80774
|
+
};
|
|
80775
|
+
}
|
|
80776
|
+
/**
|
|
80777
|
+
* Deserializes binary data (in protobuf wire format).
|
|
80778
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
80779
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadResponse}
|
|
80780
|
+
*/
|
|
80781
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.deserializeBinary = function (bytes) {
|
|
80782
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
80783
|
+
var msg = new proto.clarifai.api.PostPipelineStepVersionsUploadResponse;
|
|
80784
|
+
return proto.clarifai.api.PostPipelineStepVersionsUploadResponse.deserializeBinaryFromReader(msg, reader);
|
|
80785
|
+
};
|
|
80786
|
+
/**
|
|
80787
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
80788
|
+
* given reader into the given message object.
|
|
80789
|
+
* @param {!proto.clarifai.api.PostPipelineStepVersionsUploadResponse} msg The message object to deserialize into.
|
|
80790
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
80791
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadResponse}
|
|
80792
|
+
*/
|
|
80793
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
80794
|
+
while (reader.nextField()) {
|
|
80795
|
+
if (reader.isEndGroup()) {
|
|
80796
|
+
break;
|
|
80797
|
+
}
|
|
80798
|
+
var field = reader.getFieldNumber();
|
|
80799
|
+
switch (field) {
|
|
80800
|
+
case 1:
|
|
80801
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
80802
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
80803
|
+
msg.setStatus(value);
|
|
80804
|
+
break;
|
|
80805
|
+
case 2:
|
|
80806
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
80807
|
+
msg.setBytesRemaining(value);
|
|
80808
|
+
break;
|
|
80809
|
+
case 3:
|
|
80810
|
+
var value = /** @type {string} */ (reader.readString());
|
|
80811
|
+
msg.setPipelineStepVersionId(value);
|
|
80812
|
+
break;
|
|
80813
|
+
default:
|
|
80814
|
+
reader.skipField();
|
|
80815
|
+
break;
|
|
80816
|
+
}
|
|
80817
|
+
}
|
|
80818
|
+
return msg;
|
|
80819
|
+
};
|
|
80820
|
+
/**
|
|
80821
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
80822
|
+
* @return {!Uint8Array}
|
|
80823
|
+
*/
|
|
80824
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.prototype.serializeBinary = function () {
|
|
80825
|
+
var writer = new jspb.BinaryWriter();
|
|
80826
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.serializeBinaryToWriter(this, writer);
|
|
80827
|
+
return writer.getResultBuffer();
|
|
80828
|
+
};
|
|
80829
|
+
/**
|
|
80830
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
80831
|
+
* format), writing to the given BinaryWriter.
|
|
80832
|
+
* @param {!proto.clarifai.api.PostPipelineStepVersionsUploadResponse} message
|
|
80833
|
+
* @param {!jspb.BinaryWriter} writer
|
|
80834
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
80835
|
+
*/
|
|
80836
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.serializeBinaryToWriter = function (message, writer) {
|
|
80837
|
+
var f = undefined;
|
|
80838
|
+
f = message.getStatus();
|
|
80839
|
+
if (f != null) {
|
|
80840
|
+
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
80841
|
+
}
|
|
80842
|
+
f = message.getBytesRemaining();
|
|
80843
|
+
if (f !== 0) {
|
|
80844
|
+
writer.writeUint64(2, f);
|
|
80845
|
+
}
|
|
80846
|
+
f = message.getPipelineStepVersionId();
|
|
80847
|
+
if (f.length > 0) {
|
|
80848
|
+
writer.writeString(3, f);
|
|
80849
|
+
}
|
|
80850
|
+
};
|
|
80851
|
+
/**
|
|
80852
|
+
* optional status.Status status = 1;
|
|
80853
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
80854
|
+
*/
|
|
80855
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.prototype.getStatus = function () {
|
|
80856
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
80857
|
+
};
|
|
80858
|
+
/**
|
|
80859
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
80860
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadResponse} returns this
|
|
80861
|
+
*/
|
|
80862
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.prototype.setStatus = function (value) {
|
|
80863
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
80864
|
+
};
|
|
80865
|
+
/**
|
|
80866
|
+
* Clears the message field making it undefined.
|
|
80867
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadResponse} returns this
|
|
80868
|
+
*/
|
|
80869
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.prototype.clearStatus = function () {
|
|
80870
|
+
return this.setStatus(undefined);
|
|
80871
|
+
};
|
|
80872
|
+
/**
|
|
80873
|
+
* Returns whether this field is set.
|
|
80874
|
+
* @return {boolean}
|
|
80875
|
+
*/
|
|
80876
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.prototype.hasStatus = function () {
|
|
80877
|
+
return jspb.Message.getField(this, 1) != null;
|
|
80878
|
+
};
|
|
80879
|
+
/**
|
|
80880
|
+
* optional uint64 bytes_remaining = 2;
|
|
80881
|
+
* @return {number}
|
|
80882
|
+
*/
|
|
80883
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.prototype.getBytesRemaining = function () {
|
|
80884
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
80885
|
+
};
|
|
80886
|
+
/**
|
|
80887
|
+
* @param {number} value
|
|
80888
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadResponse} returns this
|
|
80889
|
+
*/
|
|
80890
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.prototype.setBytesRemaining = function (value) {
|
|
80891
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
80892
|
+
};
|
|
80893
|
+
/**
|
|
80894
|
+
* optional string pipeline_step_version_id = 3;
|
|
80895
|
+
* @return {string}
|
|
80896
|
+
*/
|
|
80897
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.prototype.getPipelineStepVersionId = function () {
|
|
80898
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
80899
|
+
};
|
|
80900
|
+
/**
|
|
80901
|
+
* @param {string} value
|
|
80902
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadResponse} returns this
|
|
80903
|
+
*/
|
|
80904
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.prototype.setPipelineStepVersionId = function (value) {
|
|
80905
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
80906
|
+
};
|
|
80907
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
80908
|
+
/**
|
|
80909
|
+
* Creates an object representation of this proto.
|
|
80910
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
80911
|
+
* Optional fields that are not set will be set to undefined.
|
|
80912
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
80913
|
+
* For the list of reserved names please see:
|
|
80914
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
80915
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
80916
|
+
* JSPB instance for transitional soy proto support:
|
|
80917
|
+
* http://goto/soy-param-migration
|
|
80918
|
+
* @return {!Object}
|
|
80919
|
+
*/
|
|
80920
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.toObject = function (opt_includeInstance) {
|
|
80921
|
+
return proto.clarifai.api.PostPipelineStepVersionsUploadConfig.toObject(opt_includeInstance, this);
|
|
80922
|
+
};
|
|
80923
|
+
/**
|
|
80924
|
+
* Static version of the {@see toObject} method.
|
|
80925
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
80926
|
+
* the JSPB instance for transitional soy proto support:
|
|
80927
|
+
* http://goto/soy-param-migration
|
|
80928
|
+
* @param {!proto.clarifai.api.PostPipelineStepVersionsUploadConfig} msg The msg instance to transform.
|
|
80929
|
+
* @return {!Object}
|
|
80930
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
80931
|
+
*/
|
|
80932
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.toObject = function (includeInstance, msg) {
|
|
80933
|
+
var f, obj = {
|
|
80934
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
80935
|
+
pipelineStepId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
80936
|
+
pipelineStepVersion: (f = msg.getPipelineStepVersion()) && proto_clarifai_api_resources_pb.PipelineStepVersion.toObject(includeInstance, f),
|
|
80937
|
+
totalSize: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
80938
|
+
storageRequestSize: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
80939
|
+
};
|
|
80940
|
+
if (includeInstance) {
|
|
80941
|
+
obj.$jspbMessageInstance = msg;
|
|
80942
|
+
}
|
|
80943
|
+
return obj;
|
|
80944
|
+
};
|
|
80945
|
+
}
|
|
80946
|
+
/**
|
|
80947
|
+
* Deserializes binary data (in protobuf wire format).
|
|
80948
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
80949
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadConfig}
|
|
80950
|
+
*/
|
|
80951
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.deserializeBinary = function (bytes) {
|
|
80952
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
80953
|
+
var msg = new proto.clarifai.api.PostPipelineStepVersionsUploadConfig;
|
|
80954
|
+
return proto.clarifai.api.PostPipelineStepVersionsUploadConfig.deserializeBinaryFromReader(msg, reader);
|
|
80955
|
+
};
|
|
80956
|
+
/**
|
|
80957
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
80958
|
+
* given reader into the given message object.
|
|
80959
|
+
* @param {!proto.clarifai.api.PostPipelineStepVersionsUploadConfig} msg The message object to deserialize into.
|
|
80960
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
80961
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadConfig}
|
|
80962
|
+
*/
|
|
80963
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.deserializeBinaryFromReader = function (msg, reader) {
|
|
80964
|
+
while (reader.nextField()) {
|
|
80965
|
+
if (reader.isEndGroup()) {
|
|
80966
|
+
break;
|
|
80967
|
+
}
|
|
80968
|
+
var field = reader.getFieldNumber();
|
|
80969
|
+
switch (field) {
|
|
80970
|
+
case 1:
|
|
80971
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
80972
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
80973
|
+
msg.setUserAppId(value);
|
|
80974
|
+
break;
|
|
80975
|
+
case 2:
|
|
80976
|
+
var value = /** @type {string} */ (reader.readString());
|
|
80977
|
+
msg.setPipelineStepId(value);
|
|
80978
|
+
break;
|
|
80979
|
+
case 3:
|
|
80980
|
+
var value = new proto_clarifai_api_resources_pb.PipelineStepVersion;
|
|
80981
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.PipelineStepVersion.deserializeBinaryFromReader);
|
|
80982
|
+
msg.setPipelineStepVersion(value);
|
|
80983
|
+
break;
|
|
80984
|
+
case 4:
|
|
80985
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
80986
|
+
msg.setTotalSize(value);
|
|
80987
|
+
break;
|
|
80988
|
+
case 5:
|
|
80989
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
80990
|
+
msg.setStorageRequestSize(value);
|
|
80991
|
+
break;
|
|
80992
|
+
default:
|
|
80993
|
+
reader.skipField();
|
|
80994
|
+
break;
|
|
80995
|
+
}
|
|
80996
|
+
}
|
|
80997
|
+
return msg;
|
|
80998
|
+
};
|
|
80999
|
+
/**
|
|
81000
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
81001
|
+
* @return {!Uint8Array}
|
|
81002
|
+
*/
|
|
81003
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.serializeBinary = function () {
|
|
81004
|
+
var writer = new jspb.BinaryWriter();
|
|
81005
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.serializeBinaryToWriter(this, writer);
|
|
81006
|
+
return writer.getResultBuffer();
|
|
81007
|
+
};
|
|
81008
|
+
/**
|
|
81009
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
81010
|
+
* format), writing to the given BinaryWriter.
|
|
81011
|
+
* @param {!proto.clarifai.api.PostPipelineStepVersionsUploadConfig} message
|
|
81012
|
+
* @param {!jspb.BinaryWriter} writer
|
|
81013
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
81014
|
+
*/
|
|
81015
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.serializeBinaryToWriter = function (message, writer) {
|
|
81016
|
+
var f = undefined;
|
|
81017
|
+
f = message.getUserAppId();
|
|
81018
|
+
if (f != null) {
|
|
81019
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
81020
|
+
}
|
|
81021
|
+
f = message.getPipelineStepId();
|
|
81022
|
+
if (f.length > 0) {
|
|
81023
|
+
writer.writeString(2, f);
|
|
81024
|
+
}
|
|
81025
|
+
f = message.getPipelineStepVersion();
|
|
81026
|
+
if (f != null) {
|
|
81027
|
+
writer.writeMessage(3, f, proto_clarifai_api_resources_pb.PipelineStepVersion.serializeBinaryToWriter);
|
|
81028
|
+
}
|
|
81029
|
+
f = message.getTotalSize();
|
|
81030
|
+
if (f !== 0) {
|
|
81031
|
+
writer.writeUint64(4, f);
|
|
81032
|
+
}
|
|
81033
|
+
f = message.getStorageRequestSize();
|
|
81034
|
+
if (f !== 0) {
|
|
81035
|
+
writer.writeUint64(5, f);
|
|
81036
|
+
}
|
|
81037
|
+
};
|
|
81038
|
+
/**
|
|
81039
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
81040
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
81041
|
+
*/
|
|
81042
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.getUserAppId = function () {
|
|
81043
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
81044
|
+
};
|
|
81045
|
+
/**
|
|
81046
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
81047
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadConfig} returns this
|
|
81048
|
+
*/
|
|
81049
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.setUserAppId = function (value) {
|
|
81050
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
81051
|
+
};
|
|
81052
|
+
/**
|
|
81053
|
+
* Clears the message field making it undefined.
|
|
81054
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadConfig} returns this
|
|
81055
|
+
*/
|
|
81056
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.clearUserAppId = function () {
|
|
81057
|
+
return this.setUserAppId(undefined);
|
|
81058
|
+
};
|
|
81059
|
+
/**
|
|
81060
|
+
* Returns whether this field is set.
|
|
81061
|
+
* @return {boolean}
|
|
81062
|
+
*/
|
|
81063
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.hasUserAppId = function () {
|
|
81064
|
+
return jspb.Message.getField(this, 1) != null;
|
|
81065
|
+
};
|
|
81066
|
+
/**
|
|
81067
|
+
* optional string pipeline_step_id = 2;
|
|
81068
|
+
* @return {string}
|
|
81069
|
+
*/
|
|
81070
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.getPipelineStepId = function () {
|
|
81071
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
81072
|
+
};
|
|
81073
|
+
/**
|
|
81074
|
+
* @param {string} value
|
|
81075
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadConfig} returns this
|
|
81076
|
+
*/
|
|
81077
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.setPipelineStepId = function (value) {
|
|
81078
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
81079
|
+
};
|
|
81080
|
+
/**
|
|
81081
|
+
* optional PipelineStepVersion pipeline_step_version = 3;
|
|
81082
|
+
* @return {?proto.clarifai.api.PipelineStepVersion}
|
|
81083
|
+
*/
|
|
81084
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.getPipelineStepVersion = function () {
|
|
81085
|
+
return /** @type{?proto.clarifai.api.PipelineStepVersion} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.PipelineStepVersion, 3));
|
|
81086
|
+
};
|
|
81087
|
+
/**
|
|
81088
|
+
* @param {?proto.clarifai.api.PipelineStepVersion|undefined} value
|
|
81089
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadConfig} returns this
|
|
81090
|
+
*/
|
|
81091
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.setPipelineStepVersion = function (value) {
|
|
81092
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
81093
|
+
};
|
|
81094
|
+
/**
|
|
81095
|
+
* Clears the message field making it undefined.
|
|
81096
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadConfig} returns this
|
|
81097
|
+
*/
|
|
81098
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.clearPipelineStepVersion = function () {
|
|
81099
|
+
return this.setPipelineStepVersion(undefined);
|
|
81100
|
+
};
|
|
81101
|
+
/**
|
|
81102
|
+
* Returns whether this field is set.
|
|
81103
|
+
* @return {boolean}
|
|
81104
|
+
*/
|
|
81105
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.hasPipelineStepVersion = function () {
|
|
81106
|
+
return jspb.Message.getField(this, 3) != null;
|
|
81107
|
+
};
|
|
81108
|
+
/**
|
|
81109
|
+
* optional uint64 total_size = 4;
|
|
81110
|
+
* @return {number}
|
|
81111
|
+
*/
|
|
81112
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.getTotalSize = function () {
|
|
81113
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
81114
|
+
};
|
|
81115
|
+
/**
|
|
81116
|
+
* @param {number} value
|
|
81117
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadConfig} returns this
|
|
81118
|
+
*/
|
|
81119
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.setTotalSize = function (value) {
|
|
81120
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
81121
|
+
};
|
|
81122
|
+
/**
|
|
81123
|
+
* optional uint64 storage_request_size = 5;
|
|
81124
|
+
* @return {number}
|
|
81125
|
+
*/
|
|
81126
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.getStorageRequestSize = function () {
|
|
81127
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
81128
|
+
};
|
|
81129
|
+
/**
|
|
81130
|
+
* @param {number} value
|
|
81131
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadConfig} returns this
|
|
81132
|
+
*/
|
|
81133
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.setStorageRequestSize = function (value) {
|
|
81134
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
81135
|
+
};
|
|
81136
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
81137
|
+
/**
|
|
81138
|
+
* Creates an object representation of this proto.
|
|
81139
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
81140
|
+
* Optional fields that are not set will be set to undefined.
|
|
81141
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
81142
|
+
* For the list of reserved names please see:
|
|
81143
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
81144
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
81145
|
+
* JSPB instance for transitional soy proto support:
|
|
81146
|
+
* http://goto/soy-param-migration
|
|
81147
|
+
* @return {!Object}
|
|
81148
|
+
*/
|
|
81149
|
+
proto.clarifai.api.GetPipelineStepRequest.prototype.toObject = function (opt_includeInstance) {
|
|
81150
|
+
return proto.clarifai.api.GetPipelineStepRequest.toObject(opt_includeInstance, this);
|
|
81151
|
+
};
|
|
81152
|
+
/**
|
|
81153
|
+
* Static version of the {@see toObject} method.
|
|
81154
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
81155
|
+
* the JSPB instance for transitional soy proto support:
|
|
81156
|
+
* http://goto/soy-param-migration
|
|
81157
|
+
* @param {!proto.clarifai.api.GetPipelineStepRequest} msg The msg instance to transform.
|
|
81158
|
+
* @return {!Object}
|
|
81159
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
81160
|
+
*/
|
|
81161
|
+
proto.clarifai.api.GetPipelineStepRequest.toObject = function (includeInstance, msg) {
|
|
81162
|
+
var f, obj = {
|
|
81163
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
81164
|
+
pipelineStepId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
81165
|
+
};
|
|
81166
|
+
if (includeInstance) {
|
|
81167
|
+
obj.$jspbMessageInstance = msg;
|
|
81168
|
+
}
|
|
81169
|
+
return obj;
|
|
81170
|
+
};
|
|
81171
|
+
}
|
|
81172
|
+
/**
|
|
81173
|
+
* Deserializes binary data (in protobuf wire format).
|
|
81174
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
81175
|
+
* @return {!proto.clarifai.api.GetPipelineStepRequest}
|
|
81176
|
+
*/
|
|
81177
|
+
proto.clarifai.api.GetPipelineStepRequest.deserializeBinary = function (bytes) {
|
|
81178
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
81179
|
+
var msg = new proto.clarifai.api.GetPipelineStepRequest;
|
|
81180
|
+
return proto.clarifai.api.GetPipelineStepRequest.deserializeBinaryFromReader(msg, reader);
|
|
81181
|
+
};
|
|
81182
|
+
/**
|
|
81183
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
81184
|
+
* given reader into the given message object.
|
|
81185
|
+
* @param {!proto.clarifai.api.GetPipelineStepRequest} msg The message object to deserialize into.
|
|
81186
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
81187
|
+
* @return {!proto.clarifai.api.GetPipelineStepRequest}
|
|
81188
|
+
*/
|
|
81189
|
+
proto.clarifai.api.GetPipelineStepRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
81190
|
+
while (reader.nextField()) {
|
|
81191
|
+
if (reader.isEndGroup()) {
|
|
81192
|
+
break;
|
|
81193
|
+
}
|
|
81194
|
+
var field = reader.getFieldNumber();
|
|
81195
|
+
switch (field) {
|
|
81196
|
+
case 1:
|
|
81197
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
81198
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
81199
|
+
msg.setUserAppId(value);
|
|
81200
|
+
break;
|
|
81201
|
+
case 2:
|
|
81202
|
+
var value = /** @type {string} */ (reader.readString());
|
|
81203
|
+
msg.setPipelineStepId(value);
|
|
81204
|
+
break;
|
|
81205
|
+
default:
|
|
81206
|
+
reader.skipField();
|
|
81207
|
+
break;
|
|
81208
|
+
}
|
|
81209
|
+
}
|
|
81210
|
+
return msg;
|
|
81211
|
+
};
|
|
81212
|
+
/**
|
|
81213
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
81214
|
+
* @return {!Uint8Array}
|
|
81215
|
+
*/
|
|
81216
|
+
proto.clarifai.api.GetPipelineStepRequest.prototype.serializeBinary = function () {
|
|
81217
|
+
var writer = new jspb.BinaryWriter();
|
|
81218
|
+
proto.clarifai.api.GetPipelineStepRequest.serializeBinaryToWriter(this, writer);
|
|
81219
|
+
return writer.getResultBuffer();
|
|
81220
|
+
};
|
|
81221
|
+
/**
|
|
81222
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
81223
|
+
* format), writing to the given BinaryWriter.
|
|
81224
|
+
* @param {!proto.clarifai.api.GetPipelineStepRequest} message
|
|
81225
|
+
* @param {!jspb.BinaryWriter} writer
|
|
81226
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
81227
|
+
*/
|
|
81228
|
+
proto.clarifai.api.GetPipelineStepRequest.serializeBinaryToWriter = function (message, writer) {
|
|
81229
|
+
var f = undefined;
|
|
81230
|
+
f = message.getUserAppId();
|
|
81231
|
+
if (f != null) {
|
|
81232
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
81233
|
+
}
|
|
81234
|
+
f = message.getPipelineStepId();
|
|
81235
|
+
if (f.length > 0) {
|
|
81236
|
+
writer.writeString(2, f);
|
|
81237
|
+
}
|
|
81238
|
+
};
|
|
81239
|
+
/**
|
|
81240
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
81241
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
81242
|
+
*/
|
|
81243
|
+
proto.clarifai.api.GetPipelineStepRequest.prototype.getUserAppId = function () {
|
|
81244
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
81245
|
+
};
|
|
81246
|
+
/**
|
|
81247
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
81248
|
+
* @return {!proto.clarifai.api.GetPipelineStepRequest} returns this
|
|
81249
|
+
*/
|
|
81250
|
+
proto.clarifai.api.GetPipelineStepRequest.prototype.setUserAppId = function (value) {
|
|
81251
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
81252
|
+
};
|
|
81253
|
+
/**
|
|
81254
|
+
* Clears the message field making it undefined.
|
|
81255
|
+
* @return {!proto.clarifai.api.GetPipelineStepRequest} returns this
|
|
81256
|
+
*/
|
|
81257
|
+
proto.clarifai.api.GetPipelineStepRequest.prototype.clearUserAppId = function () {
|
|
81258
|
+
return this.setUserAppId(undefined);
|
|
81259
|
+
};
|
|
81260
|
+
/**
|
|
81261
|
+
* Returns whether this field is set.
|
|
81262
|
+
* @return {boolean}
|
|
81263
|
+
*/
|
|
81264
|
+
proto.clarifai.api.GetPipelineStepRequest.prototype.hasUserAppId = function () {
|
|
81265
|
+
return jspb.Message.getField(this, 1) != null;
|
|
81266
|
+
};
|
|
81267
|
+
/**
|
|
81268
|
+
* optional string pipeline_step_id = 2;
|
|
81269
|
+
* @return {string}
|
|
81270
|
+
*/
|
|
81271
|
+
proto.clarifai.api.GetPipelineStepRequest.prototype.getPipelineStepId = function () {
|
|
81272
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
81273
|
+
};
|
|
81274
|
+
/**
|
|
81275
|
+
* @param {string} value
|
|
81276
|
+
* @return {!proto.clarifai.api.GetPipelineStepRequest} returns this
|
|
81277
|
+
*/
|
|
81278
|
+
proto.clarifai.api.GetPipelineStepRequest.prototype.setPipelineStepId = function (value) {
|
|
81279
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
81280
|
+
};
|
|
81281
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
81282
|
+
/**
|
|
81283
|
+
* Creates an object representation of this proto.
|
|
81284
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
81285
|
+
* Optional fields that are not set will be set to undefined.
|
|
81286
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
81287
|
+
* For the list of reserved names please see:
|
|
81288
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
81289
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
81290
|
+
* JSPB instance for transitional soy proto support:
|
|
81291
|
+
* http://goto/soy-param-migration
|
|
81292
|
+
* @return {!Object}
|
|
81293
|
+
*/
|
|
81294
|
+
proto.clarifai.api.SinglePipelineStepResponse.prototype.toObject = function (opt_includeInstance) {
|
|
81295
|
+
return proto.clarifai.api.SinglePipelineStepResponse.toObject(opt_includeInstance, this);
|
|
81296
|
+
};
|
|
81297
|
+
/**
|
|
81298
|
+
* Static version of the {@see toObject} method.
|
|
81299
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
81300
|
+
* the JSPB instance for transitional soy proto support:
|
|
81301
|
+
* http://goto/soy-param-migration
|
|
81302
|
+
* @param {!proto.clarifai.api.SinglePipelineStepResponse} msg The msg instance to transform.
|
|
81303
|
+
* @return {!Object}
|
|
81304
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
81305
|
+
*/
|
|
81306
|
+
proto.clarifai.api.SinglePipelineStepResponse.toObject = function (includeInstance, msg) {
|
|
81307
|
+
var f, obj = {
|
|
81308
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
81309
|
+
pipelineStep: (f = msg.getPipelineStep()) && proto_clarifai_api_resources_pb.PipelineStep.toObject(includeInstance, f)
|
|
81310
|
+
};
|
|
81311
|
+
if (includeInstance) {
|
|
81312
|
+
obj.$jspbMessageInstance = msg;
|
|
81313
|
+
}
|
|
81314
|
+
return obj;
|
|
81315
|
+
};
|
|
81316
|
+
}
|
|
81317
|
+
/**
|
|
81318
|
+
* Deserializes binary data (in protobuf wire format).
|
|
81319
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
81320
|
+
* @return {!proto.clarifai.api.SinglePipelineStepResponse}
|
|
81321
|
+
*/
|
|
81322
|
+
proto.clarifai.api.SinglePipelineStepResponse.deserializeBinary = function (bytes) {
|
|
81323
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
81324
|
+
var msg = new proto.clarifai.api.SinglePipelineStepResponse;
|
|
81325
|
+
return proto.clarifai.api.SinglePipelineStepResponse.deserializeBinaryFromReader(msg, reader);
|
|
81326
|
+
};
|
|
81327
|
+
/**
|
|
81328
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
81329
|
+
* given reader into the given message object.
|
|
81330
|
+
* @param {!proto.clarifai.api.SinglePipelineStepResponse} msg The message object to deserialize into.
|
|
81331
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
81332
|
+
* @return {!proto.clarifai.api.SinglePipelineStepResponse}
|
|
81333
|
+
*/
|
|
81334
|
+
proto.clarifai.api.SinglePipelineStepResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
81335
|
+
while (reader.nextField()) {
|
|
81336
|
+
if (reader.isEndGroup()) {
|
|
81337
|
+
break;
|
|
81338
|
+
}
|
|
81339
|
+
var field = reader.getFieldNumber();
|
|
81340
|
+
switch (field) {
|
|
81341
|
+
case 1:
|
|
81342
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
81343
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
81344
|
+
msg.setStatus(value);
|
|
81345
|
+
break;
|
|
81346
|
+
case 2:
|
|
81347
|
+
var value = new proto_clarifai_api_resources_pb.PipelineStep;
|
|
81348
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.PipelineStep.deserializeBinaryFromReader);
|
|
81349
|
+
msg.setPipelineStep(value);
|
|
81350
|
+
break;
|
|
81351
|
+
default:
|
|
81352
|
+
reader.skipField();
|
|
81353
|
+
break;
|
|
81354
|
+
}
|
|
81355
|
+
}
|
|
81356
|
+
return msg;
|
|
81357
|
+
};
|
|
81358
|
+
/**
|
|
81359
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
81360
|
+
* @return {!Uint8Array}
|
|
81361
|
+
*/
|
|
81362
|
+
proto.clarifai.api.SinglePipelineStepResponse.prototype.serializeBinary = function () {
|
|
81363
|
+
var writer = new jspb.BinaryWriter();
|
|
81364
|
+
proto.clarifai.api.SinglePipelineStepResponse.serializeBinaryToWriter(this, writer);
|
|
81365
|
+
return writer.getResultBuffer();
|
|
81366
|
+
};
|
|
81367
|
+
/**
|
|
81368
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
81369
|
+
* format), writing to the given BinaryWriter.
|
|
81370
|
+
* @param {!proto.clarifai.api.SinglePipelineStepResponse} message
|
|
81371
|
+
* @param {!jspb.BinaryWriter} writer
|
|
81372
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
81373
|
+
*/
|
|
81374
|
+
proto.clarifai.api.SinglePipelineStepResponse.serializeBinaryToWriter = function (message, writer) {
|
|
81375
|
+
var f = undefined;
|
|
81376
|
+
f = message.getStatus();
|
|
81377
|
+
if (f != null) {
|
|
81378
|
+
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
81379
|
+
}
|
|
81380
|
+
f = message.getPipelineStep();
|
|
81381
|
+
if (f != null) {
|
|
81382
|
+
writer.writeMessage(2, f, proto_clarifai_api_resources_pb.PipelineStep.serializeBinaryToWriter);
|
|
81383
|
+
}
|
|
81384
|
+
};
|
|
81385
|
+
/**
|
|
81386
|
+
* optional status.Status status = 1;
|
|
81387
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
81388
|
+
*/
|
|
81389
|
+
proto.clarifai.api.SinglePipelineStepResponse.prototype.getStatus = function () {
|
|
81390
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
81391
|
+
};
|
|
81392
|
+
/**
|
|
81393
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
81394
|
+
* @return {!proto.clarifai.api.SinglePipelineStepResponse} returns this
|
|
81395
|
+
*/
|
|
81396
|
+
proto.clarifai.api.SinglePipelineStepResponse.prototype.setStatus = function (value) {
|
|
81397
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
81398
|
+
};
|
|
81399
|
+
/**
|
|
81400
|
+
* Clears the message field making it undefined.
|
|
81401
|
+
* @return {!proto.clarifai.api.SinglePipelineStepResponse} returns this
|
|
81402
|
+
*/
|
|
81403
|
+
proto.clarifai.api.SinglePipelineStepResponse.prototype.clearStatus = function () {
|
|
81404
|
+
return this.setStatus(undefined);
|
|
81405
|
+
};
|
|
81406
|
+
/**
|
|
81407
|
+
* Returns whether this field is set.
|
|
81408
|
+
* @return {boolean}
|
|
81409
|
+
*/
|
|
81410
|
+
proto.clarifai.api.SinglePipelineStepResponse.prototype.hasStatus = function () {
|
|
81411
|
+
return jspb.Message.getField(this, 1) != null;
|
|
81412
|
+
};
|
|
81413
|
+
/**
|
|
81414
|
+
* optional PipelineStep pipeline_step = 2;
|
|
81415
|
+
* @return {?proto.clarifai.api.PipelineStep}
|
|
81416
|
+
*/
|
|
81417
|
+
proto.clarifai.api.SinglePipelineStepResponse.prototype.getPipelineStep = function () {
|
|
81418
|
+
return /** @type{?proto.clarifai.api.PipelineStep} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.PipelineStep, 2));
|
|
81419
|
+
};
|
|
81420
|
+
/**
|
|
81421
|
+
* @param {?proto.clarifai.api.PipelineStep|undefined} value
|
|
81422
|
+
* @return {!proto.clarifai.api.SinglePipelineStepResponse} returns this
|
|
81423
|
+
*/
|
|
81424
|
+
proto.clarifai.api.SinglePipelineStepResponse.prototype.setPipelineStep = function (value) {
|
|
81425
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
81426
|
+
};
|
|
81427
|
+
/**
|
|
81428
|
+
* Clears the message field making it undefined.
|
|
81429
|
+
* @return {!proto.clarifai.api.SinglePipelineStepResponse} returns this
|
|
81430
|
+
*/
|
|
81431
|
+
proto.clarifai.api.SinglePipelineStepResponse.prototype.clearPipelineStep = function () {
|
|
81432
|
+
return this.setPipelineStep(undefined);
|
|
81433
|
+
};
|
|
81434
|
+
/**
|
|
81435
|
+
* Returns whether this field is set.
|
|
81436
|
+
* @return {boolean}
|
|
81437
|
+
*/
|
|
81438
|
+
proto.clarifai.api.SinglePipelineStepResponse.prototype.hasPipelineStep = function () {
|
|
81439
|
+
return jspb.Message.getField(this, 2) != null;
|
|
81440
|
+
};
|
|
81441
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
81442
|
+
/**
|
|
81443
|
+
* Creates an object representation of this proto.
|
|
81444
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
81445
|
+
* Optional fields that are not set will be set to undefined.
|
|
81446
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
81447
|
+
* For the list of reserved names please see:
|
|
81448
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
81449
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
81450
|
+
* JSPB instance for transitional soy proto support:
|
|
81451
|
+
* http://goto/soy-param-migration
|
|
81452
|
+
* @return {!Object}
|
|
81453
|
+
*/
|
|
81454
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.prototype.toObject = function (opt_includeInstance) {
|
|
81455
|
+
return proto.clarifai.api.GetPipelineStepVersionRequest.toObject(opt_includeInstance, this);
|
|
81456
|
+
};
|
|
81457
|
+
/**
|
|
81458
|
+
* Static version of the {@see toObject} method.
|
|
81459
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
81460
|
+
* the JSPB instance for transitional soy proto support:
|
|
81461
|
+
* http://goto/soy-param-migration
|
|
81462
|
+
* @param {!proto.clarifai.api.GetPipelineStepVersionRequest} msg The msg instance to transform.
|
|
81463
|
+
* @return {!Object}
|
|
81464
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
81465
|
+
*/
|
|
81466
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.toObject = function (includeInstance, msg) {
|
|
81467
|
+
var f, obj = {
|
|
81468
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
81469
|
+
pipelineStepId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
81470
|
+
pipelineStepVersionId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
81471
|
+
};
|
|
81472
|
+
if (includeInstance) {
|
|
81473
|
+
obj.$jspbMessageInstance = msg;
|
|
81474
|
+
}
|
|
81475
|
+
return obj;
|
|
81476
|
+
};
|
|
81477
|
+
}
|
|
81478
|
+
/**
|
|
81479
|
+
* Deserializes binary data (in protobuf wire format).
|
|
81480
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
81481
|
+
* @return {!proto.clarifai.api.GetPipelineStepVersionRequest}
|
|
81482
|
+
*/
|
|
81483
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.deserializeBinary = function (bytes) {
|
|
81484
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
81485
|
+
var msg = new proto.clarifai.api.GetPipelineStepVersionRequest;
|
|
81486
|
+
return proto.clarifai.api.GetPipelineStepVersionRequest.deserializeBinaryFromReader(msg, reader);
|
|
81487
|
+
};
|
|
81488
|
+
/**
|
|
81489
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
81490
|
+
* given reader into the given message object.
|
|
81491
|
+
* @param {!proto.clarifai.api.GetPipelineStepVersionRequest} msg The message object to deserialize into.
|
|
81492
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
81493
|
+
* @return {!proto.clarifai.api.GetPipelineStepVersionRequest}
|
|
81494
|
+
*/
|
|
81495
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
81496
|
+
while (reader.nextField()) {
|
|
81497
|
+
if (reader.isEndGroup()) {
|
|
81498
|
+
break;
|
|
81499
|
+
}
|
|
81500
|
+
var field = reader.getFieldNumber();
|
|
81501
|
+
switch (field) {
|
|
81502
|
+
case 1:
|
|
81503
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
81504
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
81505
|
+
msg.setUserAppId(value);
|
|
81506
|
+
break;
|
|
81507
|
+
case 2:
|
|
81508
|
+
var value = /** @type {string} */ (reader.readString());
|
|
81509
|
+
msg.setPipelineStepId(value);
|
|
81510
|
+
break;
|
|
81511
|
+
case 3:
|
|
81512
|
+
var value = /** @type {string} */ (reader.readString());
|
|
81513
|
+
msg.setPipelineStepVersionId(value);
|
|
81514
|
+
break;
|
|
81515
|
+
default:
|
|
81516
|
+
reader.skipField();
|
|
81517
|
+
break;
|
|
81518
|
+
}
|
|
81519
|
+
}
|
|
81520
|
+
return msg;
|
|
81521
|
+
};
|
|
81522
|
+
/**
|
|
81523
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
81524
|
+
* @return {!Uint8Array}
|
|
81525
|
+
*/
|
|
81526
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.prototype.serializeBinary = function () {
|
|
81527
|
+
var writer = new jspb.BinaryWriter();
|
|
81528
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.serializeBinaryToWriter(this, writer);
|
|
81529
|
+
return writer.getResultBuffer();
|
|
81530
|
+
};
|
|
81531
|
+
/**
|
|
81532
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
81533
|
+
* format), writing to the given BinaryWriter.
|
|
81534
|
+
* @param {!proto.clarifai.api.GetPipelineStepVersionRequest} message
|
|
81535
|
+
* @param {!jspb.BinaryWriter} writer
|
|
81536
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
81537
|
+
*/
|
|
81538
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.serializeBinaryToWriter = function (message, writer) {
|
|
81539
|
+
var f = undefined;
|
|
81540
|
+
f = message.getUserAppId();
|
|
81541
|
+
if (f != null) {
|
|
81542
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
81543
|
+
}
|
|
81544
|
+
f = message.getPipelineStepId();
|
|
81545
|
+
if (f.length > 0) {
|
|
81546
|
+
writer.writeString(2, f);
|
|
81547
|
+
}
|
|
81548
|
+
f = message.getPipelineStepVersionId();
|
|
81549
|
+
if (f.length > 0) {
|
|
81550
|
+
writer.writeString(3, f);
|
|
81551
|
+
}
|
|
81552
|
+
};
|
|
81553
|
+
/**
|
|
81554
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
81555
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
81556
|
+
*/
|
|
81557
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.prototype.getUserAppId = function () {
|
|
81558
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
81559
|
+
};
|
|
81560
|
+
/**
|
|
81561
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
81562
|
+
* @return {!proto.clarifai.api.GetPipelineStepVersionRequest} returns this
|
|
81563
|
+
*/
|
|
81564
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.prototype.setUserAppId = function (value) {
|
|
81565
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
81566
|
+
};
|
|
81567
|
+
/**
|
|
81568
|
+
* Clears the message field making it undefined.
|
|
81569
|
+
* @return {!proto.clarifai.api.GetPipelineStepVersionRequest} returns this
|
|
81570
|
+
*/
|
|
81571
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.prototype.clearUserAppId = function () {
|
|
81572
|
+
return this.setUserAppId(undefined);
|
|
81573
|
+
};
|
|
81574
|
+
/**
|
|
81575
|
+
* Returns whether this field is set.
|
|
81576
|
+
* @return {boolean}
|
|
81577
|
+
*/
|
|
81578
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.prototype.hasUserAppId = function () {
|
|
81579
|
+
return jspb.Message.getField(this, 1) != null;
|
|
81580
|
+
};
|
|
81581
|
+
/**
|
|
81582
|
+
* optional string pipeline_step_id = 2;
|
|
81583
|
+
* @return {string}
|
|
81584
|
+
*/
|
|
81585
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.prototype.getPipelineStepId = function () {
|
|
81586
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
81587
|
+
};
|
|
81588
|
+
/**
|
|
81589
|
+
* @param {string} value
|
|
81590
|
+
* @return {!proto.clarifai.api.GetPipelineStepVersionRequest} returns this
|
|
81591
|
+
*/
|
|
81592
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.prototype.setPipelineStepId = function (value) {
|
|
81593
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
81594
|
+
};
|
|
81595
|
+
/**
|
|
81596
|
+
* optional string pipeline_step_version_id = 3;
|
|
81597
|
+
* @return {string}
|
|
81598
|
+
*/
|
|
81599
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.prototype.getPipelineStepVersionId = function () {
|
|
81600
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
81601
|
+
};
|
|
81602
|
+
/**
|
|
81603
|
+
* @param {string} value
|
|
81604
|
+
* @return {!proto.clarifai.api.GetPipelineStepVersionRequest} returns this
|
|
81605
|
+
*/
|
|
81606
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.prototype.setPipelineStepVersionId = function (value) {
|
|
81607
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
81608
|
+
};
|
|
81609
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
81610
|
+
/**
|
|
81611
|
+
* Creates an object representation of this proto.
|
|
81612
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
81613
|
+
* Optional fields that are not set will be set to undefined.
|
|
81614
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
81615
|
+
* For the list of reserved names please see:
|
|
81616
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
81617
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
81618
|
+
* JSPB instance for transitional soy proto support:
|
|
81619
|
+
* http://goto/soy-param-migration
|
|
81620
|
+
* @return {!Object}
|
|
81621
|
+
*/
|
|
81622
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.prototype.toObject = function (opt_includeInstance) {
|
|
81623
|
+
return proto.clarifai.api.SinglePipelineStepVersionResponse.toObject(opt_includeInstance, this);
|
|
81624
|
+
};
|
|
81625
|
+
/**
|
|
81626
|
+
* Static version of the {@see toObject} method.
|
|
81627
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
81628
|
+
* the JSPB instance for transitional soy proto support:
|
|
81629
|
+
* http://goto/soy-param-migration
|
|
81630
|
+
* @param {!proto.clarifai.api.SinglePipelineStepVersionResponse} msg The msg instance to transform.
|
|
81631
|
+
* @return {!Object}
|
|
81632
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
81633
|
+
*/
|
|
81634
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.toObject = function (includeInstance, msg) {
|
|
81635
|
+
var f, obj = {
|
|
81636
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
81637
|
+
pipelineStepVersion: (f = msg.getPipelineStepVersion()) && proto_clarifai_api_resources_pb.PipelineStepVersion.toObject(includeInstance, f)
|
|
81638
|
+
};
|
|
81639
|
+
if (includeInstance) {
|
|
81640
|
+
obj.$jspbMessageInstance = msg;
|
|
81641
|
+
}
|
|
81642
|
+
return obj;
|
|
81643
|
+
};
|
|
81644
|
+
}
|
|
81645
|
+
/**
|
|
81646
|
+
* Deserializes binary data (in protobuf wire format).
|
|
81647
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
81648
|
+
* @return {!proto.clarifai.api.SinglePipelineStepVersionResponse}
|
|
81649
|
+
*/
|
|
81650
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.deserializeBinary = function (bytes) {
|
|
81651
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
81652
|
+
var msg = new proto.clarifai.api.SinglePipelineStepVersionResponse;
|
|
81653
|
+
return proto.clarifai.api.SinglePipelineStepVersionResponse.deserializeBinaryFromReader(msg, reader);
|
|
81654
|
+
};
|
|
81655
|
+
/**
|
|
81656
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
81657
|
+
* given reader into the given message object.
|
|
81658
|
+
* @param {!proto.clarifai.api.SinglePipelineStepVersionResponse} msg The message object to deserialize into.
|
|
81659
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
81660
|
+
* @return {!proto.clarifai.api.SinglePipelineStepVersionResponse}
|
|
81661
|
+
*/
|
|
81662
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
81663
|
+
while (reader.nextField()) {
|
|
81664
|
+
if (reader.isEndGroup()) {
|
|
81665
|
+
break;
|
|
81666
|
+
}
|
|
81667
|
+
var field = reader.getFieldNumber();
|
|
81668
|
+
switch (field) {
|
|
81669
|
+
case 1:
|
|
81670
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
81671
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
81672
|
+
msg.setStatus(value);
|
|
81673
|
+
break;
|
|
81674
|
+
case 2:
|
|
81675
|
+
var value = new proto_clarifai_api_resources_pb.PipelineStepVersion;
|
|
81676
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.PipelineStepVersion.deserializeBinaryFromReader);
|
|
81677
|
+
msg.setPipelineStepVersion(value);
|
|
81678
|
+
break;
|
|
81679
|
+
default:
|
|
81680
|
+
reader.skipField();
|
|
81681
|
+
break;
|
|
81682
|
+
}
|
|
81683
|
+
}
|
|
81684
|
+
return msg;
|
|
81685
|
+
};
|
|
81686
|
+
/**
|
|
81687
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
81688
|
+
* @return {!Uint8Array}
|
|
81689
|
+
*/
|
|
81690
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.prototype.serializeBinary = function () {
|
|
81691
|
+
var writer = new jspb.BinaryWriter();
|
|
81692
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.serializeBinaryToWriter(this, writer);
|
|
81693
|
+
return writer.getResultBuffer();
|
|
81694
|
+
};
|
|
81695
|
+
/**
|
|
81696
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
81697
|
+
* format), writing to the given BinaryWriter.
|
|
81698
|
+
* @param {!proto.clarifai.api.SinglePipelineStepVersionResponse} message
|
|
81699
|
+
* @param {!jspb.BinaryWriter} writer
|
|
81700
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
81701
|
+
*/
|
|
81702
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.serializeBinaryToWriter = function (message, writer) {
|
|
81703
|
+
var f = undefined;
|
|
81704
|
+
f = message.getStatus();
|
|
81705
|
+
if (f != null) {
|
|
81706
|
+
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
81707
|
+
}
|
|
81708
|
+
f = message.getPipelineStepVersion();
|
|
81709
|
+
if (f != null) {
|
|
81710
|
+
writer.writeMessage(2, f, proto_clarifai_api_resources_pb.PipelineStepVersion.serializeBinaryToWriter);
|
|
81711
|
+
}
|
|
81712
|
+
};
|
|
81713
|
+
/**
|
|
81714
|
+
* optional status.Status status = 1;
|
|
81715
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
81716
|
+
*/
|
|
81717
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.prototype.getStatus = function () {
|
|
81718
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
81719
|
+
};
|
|
81720
|
+
/**
|
|
81721
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
81722
|
+
* @return {!proto.clarifai.api.SinglePipelineStepVersionResponse} returns this
|
|
81723
|
+
*/
|
|
81724
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.prototype.setStatus = function (value) {
|
|
81725
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
81726
|
+
};
|
|
81727
|
+
/**
|
|
81728
|
+
* Clears the message field making it undefined.
|
|
81729
|
+
* @return {!proto.clarifai.api.SinglePipelineStepVersionResponse} returns this
|
|
81730
|
+
*/
|
|
81731
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.prototype.clearStatus = function () {
|
|
81732
|
+
return this.setStatus(undefined);
|
|
81733
|
+
};
|
|
81734
|
+
/**
|
|
81735
|
+
* Returns whether this field is set.
|
|
81736
|
+
* @return {boolean}
|
|
81737
|
+
*/
|
|
81738
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.prototype.hasStatus = function () {
|
|
81739
|
+
return jspb.Message.getField(this, 1) != null;
|
|
81740
|
+
};
|
|
81741
|
+
/**
|
|
81742
|
+
* optional PipelineStepVersion pipeline_step_version = 2;
|
|
81743
|
+
* @return {?proto.clarifai.api.PipelineStepVersion}
|
|
81744
|
+
*/
|
|
81745
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.prototype.getPipelineStepVersion = function () {
|
|
81746
|
+
return /** @type{?proto.clarifai.api.PipelineStepVersion} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.PipelineStepVersion, 2));
|
|
81747
|
+
};
|
|
81748
|
+
/**
|
|
81749
|
+
* @param {?proto.clarifai.api.PipelineStepVersion|undefined} value
|
|
81750
|
+
* @return {!proto.clarifai.api.SinglePipelineStepVersionResponse} returns this
|
|
81751
|
+
*/
|
|
81752
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.prototype.setPipelineStepVersion = function (value) {
|
|
81753
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
81754
|
+
};
|
|
81755
|
+
/**
|
|
81756
|
+
* Clears the message field making it undefined.
|
|
81757
|
+
* @return {!proto.clarifai.api.SinglePipelineStepVersionResponse} returns this
|
|
81758
|
+
*/
|
|
81759
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.prototype.clearPipelineStepVersion = function () {
|
|
81760
|
+
return this.setPipelineStepVersion(undefined);
|
|
81761
|
+
};
|
|
81762
|
+
/**
|
|
81763
|
+
* Returns whether this field is set.
|
|
81764
|
+
* @return {boolean}
|
|
81765
|
+
*/
|
|
81766
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.prototype.hasPipelineStepVersion = function () {
|
|
81767
|
+
return jspb.Message.getField(this, 2) != null;
|
|
81768
|
+
};
|
|
79385
81769
|
/**
|
|
79386
81770
|
* @enum {number}
|
|
79387
81771
|
*/
|