clarifai-web-grpc 11.4.2 → 11.5.1
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
|
@@ -112,6 +112,8 @@ goog.exportSymbol('proto.clarifai.api.GetModuleRequest', null, global);
|
|
|
112
112
|
goog.exportSymbol('proto.clarifai.api.GetModuleVersionRequest', null, global);
|
|
113
113
|
goog.exportSymbol('proto.clarifai.api.GetModuleVersionUsageCountRequest', null, global);
|
|
114
114
|
goog.exportSymbol('proto.clarifai.api.GetNodepoolRequest', null, global);
|
|
115
|
+
goog.exportSymbol('proto.clarifai.api.GetPipelineStepRequest', null, global);
|
|
116
|
+
goog.exportSymbol('proto.clarifai.api.GetPipelineStepVersionRequest', null, global);
|
|
115
117
|
goog.exportSymbol('proto.clarifai.api.GetResourceCountsRequest', null, global);
|
|
116
118
|
goog.exportSymbol('proto.clarifai.api.GetResourceCountsResponse', null, global);
|
|
117
119
|
goog.exportSymbol('proto.clarifai.api.GetRunnerRequest', null, global);
|
|
@@ -180,6 +182,8 @@ goog.exportSymbol('proto.clarifai.api.ListNextTaskAssignmentsRequest', null, glo
|
|
|
180
182
|
goog.exportSymbol('proto.clarifai.api.ListNodepoolsRequest', null, global);
|
|
181
183
|
goog.exportSymbol('proto.clarifai.api.ListOpenSourceLicensesRequest', null, global);
|
|
182
184
|
goog.exportSymbol('proto.clarifai.api.ListOpenSourceLicensesResponse', null, global);
|
|
185
|
+
goog.exportSymbol('proto.clarifai.api.ListPipelineStepVersionsRequest', null, global);
|
|
186
|
+
goog.exportSymbol('proto.clarifai.api.ListPipelineStepsRequest', null, global);
|
|
183
187
|
goog.exportSymbol('proto.clarifai.api.ListRunnerItemsRequest', null, global);
|
|
184
188
|
goog.exportSymbol('proto.clarifai.api.ListRunnersRequest', null, global);
|
|
185
189
|
goog.exportSymbol('proto.clarifai.api.ListScopesRequest', null, global);
|
|
@@ -241,6 +245,8 @@ goog.exportSymbol('proto.clarifai.api.MultiModuleResponse', null, global);
|
|
|
241
245
|
goog.exportSymbol('proto.clarifai.api.MultiModuleVersionResponse', null, global);
|
|
242
246
|
goog.exportSymbol('proto.clarifai.api.MultiNodepoolResponse', null, global);
|
|
243
247
|
goog.exportSymbol('proto.clarifai.api.MultiOutputResponse', null, global);
|
|
248
|
+
goog.exportSymbol('proto.clarifai.api.MultiPipelineStepResponse', null, global);
|
|
249
|
+
goog.exportSymbol('proto.clarifai.api.MultiPipelineStepVersionResponse', null, global);
|
|
244
250
|
goog.exportSymbol('proto.clarifai.api.MultiRunnerItemOutputResponse', null, global);
|
|
245
251
|
goog.exportSymbol('proto.clarifai.api.MultiRunnerItemResponse', null, global);
|
|
246
252
|
goog.exportSymbol('proto.clarifai.api.MultiRunnerResponse', null, global);
|
|
@@ -352,6 +358,11 @@ goog.exportSymbol('proto.clarifai.api.PostModelsSearchesRequest', null, global);
|
|
|
352
358
|
goog.exportSymbol('proto.clarifai.api.PostModuleVersionsRequest', null, global);
|
|
353
359
|
goog.exportSymbol('proto.clarifai.api.PostModulesRequest', null, global);
|
|
354
360
|
goog.exportSymbol('proto.clarifai.api.PostNodepoolsRequest', null, global);
|
|
361
|
+
goog.exportSymbol('proto.clarifai.api.PostPipelineStepVersionsUploadConfig', null, global);
|
|
362
|
+
goog.exportSymbol('proto.clarifai.api.PostPipelineStepVersionsUploadRequest', null, global);
|
|
363
|
+
goog.exportSymbol('proto.clarifai.api.PostPipelineStepVersionsUploadRequest.UploadDataCase', null, global);
|
|
364
|
+
goog.exportSymbol('proto.clarifai.api.PostPipelineStepVersionsUploadResponse', null, global);
|
|
365
|
+
goog.exportSymbol('proto.clarifai.api.PostPipelineStepsRequest', null, global);
|
|
355
366
|
goog.exportSymbol('proto.clarifai.api.PostRunnerItemOutputsRequest', null, global);
|
|
356
367
|
goog.exportSymbol('proto.clarifai.api.PostRunnersRequest', null, global);
|
|
357
368
|
goog.exportSymbol('proto.clarifai.api.PostSearchesByIDRequest', null, global);
|
|
@@ -412,6 +423,8 @@ goog.exportSymbol('proto.clarifai.api.SingleModuleVersionResponse', null, global
|
|
|
412
423
|
goog.exportSymbol('proto.clarifai.api.SingleModuleVersionUsageCountResponse', null, global);
|
|
413
424
|
goog.exportSymbol('proto.clarifai.api.SingleNodepoolResponse', null, global);
|
|
414
425
|
goog.exportSymbol('proto.clarifai.api.SinglePasswordValidationResponse', null, global);
|
|
426
|
+
goog.exportSymbol('proto.clarifai.api.SinglePipelineStepResponse', null, global);
|
|
427
|
+
goog.exportSymbol('proto.clarifai.api.SinglePipelineStepVersionResponse', null, global);
|
|
415
428
|
goog.exportSymbol('proto.clarifai.api.SingleRunnerResponse', null, global);
|
|
416
429
|
goog.exportSymbol('proto.clarifai.api.SingleSearchResponse', null, global);
|
|
417
430
|
goog.exportSymbol('proto.clarifai.api.SingleStatusCodeResponse', null, global);
|
|
@@ -8260,6 +8273,258 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
8260
8273
|
*/
|
|
8261
8274
|
proto.clarifai.api.PostModelMigrationRequest.displayName = 'proto.clarifai.api.PostModelMigrationRequest';
|
|
8262
8275
|
}
|
|
8276
|
+
/**
|
|
8277
|
+
* Generated by JsPbCodeGenerator.
|
|
8278
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8279
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8280
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8281
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8282
|
+
* valid.
|
|
8283
|
+
* @extends {jspb.Message}
|
|
8284
|
+
* @constructor
|
|
8285
|
+
*/
|
|
8286
|
+
proto.clarifai.api.PostPipelineStepsRequest = function(opt_data) {
|
|
8287
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PostPipelineStepsRequest.repeatedFields_, null);
|
|
8288
|
+
};
|
|
8289
|
+
goog.inherits(proto.clarifai.api.PostPipelineStepsRequest, jspb.Message);
|
|
8290
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8291
|
+
/**
|
|
8292
|
+
* @public
|
|
8293
|
+
* @override
|
|
8294
|
+
*/
|
|
8295
|
+
proto.clarifai.api.PostPipelineStepsRequest.displayName = 'proto.clarifai.api.PostPipelineStepsRequest';
|
|
8296
|
+
}
|
|
8297
|
+
/**
|
|
8298
|
+
* Generated by JsPbCodeGenerator.
|
|
8299
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8300
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8301
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8302
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8303
|
+
* valid.
|
|
8304
|
+
* @extends {jspb.Message}
|
|
8305
|
+
* @constructor
|
|
8306
|
+
*/
|
|
8307
|
+
proto.clarifai.api.MultiPipelineStepResponse = function(opt_data) {
|
|
8308
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiPipelineStepResponse.repeatedFields_, null);
|
|
8309
|
+
};
|
|
8310
|
+
goog.inherits(proto.clarifai.api.MultiPipelineStepResponse, jspb.Message);
|
|
8311
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8312
|
+
/**
|
|
8313
|
+
* @public
|
|
8314
|
+
* @override
|
|
8315
|
+
*/
|
|
8316
|
+
proto.clarifai.api.MultiPipelineStepResponse.displayName = 'proto.clarifai.api.MultiPipelineStepResponse';
|
|
8317
|
+
}
|
|
8318
|
+
/**
|
|
8319
|
+
* Generated by JsPbCodeGenerator.
|
|
8320
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8321
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8322
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8323
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8324
|
+
* valid.
|
|
8325
|
+
* @extends {jspb.Message}
|
|
8326
|
+
* @constructor
|
|
8327
|
+
*/
|
|
8328
|
+
proto.clarifai.api.ListPipelineStepsRequest = function(opt_data) {
|
|
8329
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8330
|
+
};
|
|
8331
|
+
goog.inherits(proto.clarifai.api.ListPipelineStepsRequest, jspb.Message);
|
|
8332
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8333
|
+
/**
|
|
8334
|
+
* @public
|
|
8335
|
+
* @override
|
|
8336
|
+
*/
|
|
8337
|
+
proto.clarifai.api.ListPipelineStepsRequest.displayName = 'proto.clarifai.api.ListPipelineStepsRequest';
|
|
8338
|
+
}
|
|
8339
|
+
/**
|
|
8340
|
+
* Generated by JsPbCodeGenerator.
|
|
8341
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8342
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8343
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8344
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8345
|
+
* valid.
|
|
8346
|
+
* @extends {jspb.Message}
|
|
8347
|
+
* @constructor
|
|
8348
|
+
*/
|
|
8349
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest = function(opt_data) {
|
|
8350
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.ListPipelineStepVersionsRequest.repeatedFields_, null);
|
|
8351
|
+
};
|
|
8352
|
+
goog.inherits(proto.clarifai.api.ListPipelineStepVersionsRequest, jspb.Message);
|
|
8353
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8354
|
+
/**
|
|
8355
|
+
* @public
|
|
8356
|
+
* @override
|
|
8357
|
+
*/
|
|
8358
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.displayName = 'proto.clarifai.api.ListPipelineStepVersionsRequest';
|
|
8359
|
+
}
|
|
8360
|
+
/**
|
|
8361
|
+
* Generated by JsPbCodeGenerator.
|
|
8362
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8363
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8364
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8365
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8366
|
+
* valid.
|
|
8367
|
+
* @extends {jspb.Message}
|
|
8368
|
+
* @constructor
|
|
8369
|
+
*/
|
|
8370
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse = function(opt_data) {
|
|
8371
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiPipelineStepVersionResponse.repeatedFields_, null);
|
|
8372
|
+
};
|
|
8373
|
+
goog.inherits(proto.clarifai.api.MultiPipelineStepVersionResponse, jspb.Message);
|
|
8374
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8375
|
+
/**
|
|
8376
|
+
* @public
|
|
8377
|
+
* @override
|
|
8378
|
+
*/
|
|
8379
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.displayName = 'proto.clarifai.api.MultiPipelineStepVersionResponse';
|
|
8380
|
+
}
|
|
8381
|
+
/**
|
|
8382
|
+
* Generated by JsPbCodeGenerator.
|
|
8383
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8384
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8385
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8386
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8387
|
+
* valid.
|
|
8388
|
+
* @extends {jspb.Message}
|
|
8389
|
+
* @constructor
|
|
8390
|
+
*/
|
|
8391
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest = function(opt_data) {
|
|
8392
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.clarifai.api.PostPipelineStepVersionsUploadRequest.oneofGroups_);
|
|
8393
|
+
};
|
|
8394
|
+
goog.inherits(proto.clarifai.api.PostPipelineStepVersionsUploadRequest, jspb.Message);
|
|
8395
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8396
|
+
/**
|
|
8397
|
+
* @public
|
|
8398
|
+
* @override
|
|
8399
|
+
*/
|
|
8400
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.displayName = 'proto.clarifai.api.PostPipelineStepVersionsUploadRequest';
|
|
8401
|
+
}
|
|
8402
|
+
/**
|
|
8403
|
+
* Generated by JsPbCodeGenerator.
|
|
8404
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8405
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8406
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8407
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8408
|
+
* valid.
|
|
8409
|
+
* @extends {jspb.Message}
|
|
8410
|
+
* @constructor
|
|
8411
|
+
*/
|
|
8412
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse = function(opt_data) {
|
|
8413
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8414
|
+
};
|
|
8415
|
+
goog.inherits(proto.clarifai.api.PostPipelineStepVersionsUploadResponse, jspb.Message);
|
|
8416
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8417
|
+
/**
|
|
8418
|
+
* @public
|
|
8419
|
+
* @override
|
|
8420
|
+
*/
|
|
8421
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.displayName = 'proto.clarifai.api.PostPipelineStepVersionsUploadResponse';
|
|
8422
|
+
}
|
|
8423
|
+
/**
|
|
8424
|
+
* Generated by JsPbCodeGenerator.
|
|
8425
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8426
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8427
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8428
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8429
|
+
* valid.
|
|
8430
|
+
* @extends {jspb.Message}
|
|
8431
|
+
* @constructor
|
|
8432
|
+
*/
|
|
8433
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig = function(opt_data) {
|
|
8434
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8435
|
+
};
|
|
8436
|
+
goog.inherits(proto.clarifai.api.PostPipelineStepVersionsUploadConfig, jspb.Message);
|
|
8437
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8438
|
+
/**
|
|
8439
|
+
* @public
|
|
8440
|
+
* @override
|
|
8441
|
+
*/
|
|
8442
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.displayName = 'proto.clarifai.api.PostPipelineStepVersionsUploadConfig';
|
|
8443
|
+
}
|
|
8444
|
+
/**
|
|
8445
|
+
* Generated by JsPbCodeGenerator.
|
|
8446
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8447
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8448
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8449
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8450
|
+
* valid.
|
|
8451
|
+
* @extends {jspb.Message}
|
|
8452
|
+
* @constructor
|
|
8453
|
+
*/
|
|
8454
|
+
proto.clarifai.api.GetPipelineStepRequest = function(opt_data) {
|
|
8455
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8456
|
+
};
|
|
8457
|
+
goog.inherits(proto.clarifai.api.GetPipelineStepRequest, jspb.Message);
|
|
8458
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8459
|
+
/**
|
|
8460
|
+
* @public
|
|
8461
|
+
* @override
|
|
8462
|
+
*/
|
|
8463
|
+
proto.clarifai.api.GetPipelineStepRequest.displayName = 'proto.clarifai.api.GetPipelineStepRequest';
|
|
8464
|
+
}
|
|
8465
|
+
/**
|
|
8466
|
+
* Generated by JsPbCodeGenerator.
|
|
8467
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8468
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8469
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8470
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8471
|
+
* valid.
|
|
8472
|
+
* @extends {jspb.Message}
|
|
8473
|
+
* @constructor
|
|
8474
|
+
*/
|
|
8475
|
+
proto.clarifai.api.SinglePipelineStepResponse = function(opt_data) {
|
|
8476
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8477
|
+
};
|
|
8478
|
+
goog.inherits(proto.clarifai.api.SinglePipelineStepResponse, jspb.Message);
|
|
8479
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8480
|
+
/**
|
|
8481
|
+
* @public
|
|
8482
|
+
* @override
|
|
8483
|
+
*/
|
|
8484
|
+
proto.clarifai.api.SinglePipelineStepResponse.displayName = 'proto.clarifai.api.SinglePipelineStepResponse';
|
|
8485
|
+
}
|
|
8486
|
+
/**
|
|
8487
|
+
* Generated by JsPbCodeGenerator.
|
|
8488
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8489
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8490
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8491
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8492
|
+
* valid.
|
|
8493
|
+
* @extends {jspb.Message}
|
|
8494
|
+
* @constructor
|
|
8495
|
+
*/
|
|
8496
|
+
proto.clarifai.api.GetPipelineStepVersionRequest = function(opt_data) {
|
|
8497
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8498
|
+
};
|
|
8499
|
+
goog.inherits(proto.clarifai.api.GetPipelineStepVersionRequest, jspb.Message);
|
|
8500
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8501
|
+
/**
|
|
8502
|
+
* @public
|
|
8503
|
+
* @override
|
|
8504
|
+
*/
|
|
8505
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.displayName = 'proto.clarifai.api.GetPipelineStepVersionRequest';
|
|
8506
|
+
}
|
|
8507
|
+
/**
|
|
8508
|
+
* Generated by JsPbCodeGenerator.
|
|
8509
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8510
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8511
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8512
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8513
|
+
* valid.
|
|
8514
|
+
* @extends {jspb.Message}
|
|
8515
|
+
* @constructor
|
|
8516
|
+
*/
|
|
8517
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse = function(opt_data) {
|
|
8518
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8519
|
+
};
|
|
8520
|
+
goog.inherits(proto.clarifai.api.SinglePipelineStepVersionResponse, jspb.Message);
|
|
8521
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8522
|
+
/**
|
|
8523
|
+
* @public
|
|
8524
|
+
* @override
|
|
8525
|
+
*/
|
|
8526
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.displayName = 'proto.clarifai.api.SinglePipelineStepVersionResponse';
|
|
8527
|
+
}
|
|
8263
8528
|
|
|
8264
8529
|
|
|
8265
8530
|
|
|
@@ -98162,6 +98427,2676 @@ proto.clarifai.api.PostModelMigrationRequest.prototype.setModelId = function(val
|
|
|
98162
98427
|
};
|
|
98163
98428
|
|
|
98164
98429
|
|
|
98430
|
+
|
|
98431
|
+
/**
|
|
98432
|
+
* List of repeated fields within this message type.
|
|
98433
|
+
* @private {!Array<number>}
|
|
98434
|
+
* @const
|
|
98435
|
+
*/
|
|
98436
|
+
proto.clarifai.api.PostPipelineStepsRequest.repeatedFields_ = [3];
|
|
98437
|
+
|
|
98438
|
+
|
|
98439
|
+
|
|
98440
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
98441
|
+
/**
|
|
98442
|
+
* Creates an object representation of this proto.
|
|
98443
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
98444
|
+
* Optional fields that are not set will be set to undefined.
|
|
98445
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
98446
|
+
* For the list of reserved names please see:
|
|
98447
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
98448
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
98449
|
+
* JSPB instance for transitional soy proto support:
|
|
98450
|
+
* http://goto/soy-param-migration
|
|
98451
|
+
* @return {!Object}
|
|
98452
|
+
*/
|
|
98453
|
+
proto.clarifai.api.PostPipelineStepsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
98454
|
+
return proto.clarifai.api.PostPipelineStepsRequest.toObject(opt_includeInstance, this);
|
|
98455
|
+
};
|
|
98456
|
+
|
|
98457
|
+
|
|
98458
|
+
/**
|
|
98459
|
+
* Static version of the {@see toObject} method.
|
|
98460
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
98461
|
+
* the JSPB instance for transitional soy proto support:
|
|
98462
|
+
* http://goto/soy-param-migration
|
|
98463
|
+
* @param {!proto.clarifai.api.PostPipelineStepsRequest} msg The msg instance to transform.
|
|
98464
|
+
* @return {!Object}
|
|
98465
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
98466
|
+
*/
|
|
98467
|
+
proto.clarifai.api.PostPipelineStepsRequest.toObject = function(includeInstance, msg) {
|
|
98468
|
+
var f, obj = {
|
|
98469
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
98470
|
+
pipelineStepsList: jspb.Message.toObjectList(msg.getPipelineStepsList(),
|
|
98471
|
+
proto_clarifai_api_resources_pb.PipelineStep.toObject, includeInstance)
|
|
98472
|
+
};
|
|
98473
|
+
|
|
98474
|
+
if (includeInstance) {
|
|
98475
|
+
obj.$jspbMessageInstance = msg;
|
|
98476
|
+
}
|
|
98477
|
+
return obj;
|
|
98478
|
+
};
|
|
98479
|
+
}
|
|
98480
|
+
|
|
98481
|
+
|
|
98482
|
+
/**
|
|
98483
|
+
* Deserializes binary data (in protobuf wire format).
|
|
98484
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
98485
|
+
* @return {!proto.clarifai.api.PostPipelineStepsRequest}
|
|
98486
|
+
*/
|
|
98487
|
+
proto.clarifai.api.PostPipelineStepsRequest.deserializeBinary = function(bytes) {
|
|
98488
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
98489
|
+
var msg = new proto.clarifai.api.PostPipelineStepsRequest;
|
|
98490
|
+
return proto.clarifai.api.PostPipelineStepsRequest.deserializeBinaryFromReader(msg, reader);
|
|
98491
|
+
};
|
|
98492
|
+
|
|
98493
|
+
|
|
98494
|
+
/**
|
|
98495
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
98496
|
+
* given reader into the given message object.
|
|
98497
|
+
* @param {!proto.clarifai.api.PostPipelineStepsRequest} msg The message object to deserialize into.
|
|
98498
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
98499
|
+
* @return {!proto.clarifai.api.PostPipelineStepsRequest}
|
|
98500
|
+
*/
|
|
98501
|
+
proto.clarifai.api.PostPipelineStepsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
98502
|
+
while (reader.nextField()) {
|
|
98503
|
+
if (reader.isEndGroup()) {
|
|
98504
|
+
break;
|
|
98505
|
+
}
|
|
98506
|
+
var field = reader.getFieldNumber();
|
|
98507
|
+
switch (field) {
|
|
98508
|
+
case 1:
|
|
98509
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
98510
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
98511
|
+
msg.setUserAppId(value);
|
|
98512
|
+
break;
|
|
98513
|
+
case 3:
|
|
98514
|
+
var value = new proto_clarifai_api_resources_pb.PipelineStep;
|
|
98515
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.PipelineStep.deserializeBinaryFromReader);
|
|
98516
|
+
msg.addPipelineSteps(value);
|
|
98517
|
+
break;
|
|
98518
|
+
default:
|
|
98519
|
+
reader.skipField();
|
|
98520
|
+
break;
|
|
98521
|
+
}
|
|
98522
|
+
}
|
|
98523
|
+
return msg;
|
|
98524
|
+
};
|
|
98525
|
+
|
|
98526
|
+
|
|
98527
|
+
/**
|
|
98528
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
98529
|
+
* @return {!Uint8Array}
|
|
98530
|
+
*/
|
|
98531
|
+
proto.clarifai.api.PostPipelineStepsRequest.prototype.serializeBinary = function() {
|
|
98532
|
+
var writer = new jspb.BinaryWriter();
|
|
98533
|
+
proto.clarifai.api.PostPipelineStepsRequest.serializeBinaryToWriter(this, writer);
|
|
98534
|
+
return writer.getResultBuffer();
|
|
98535
|
+
};
|
|
98536
|
+
|
|
98537
|
+
|
|
98538
|
+
/**
|
|
98539
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
98540
|
+
* format), writing to the given BinaryWriter.
|
|
98541
|
+
* @param {!proto.clarifai.api.PostPipelineStepsRequest} message
|
|
98542
|
+
* @param {!jspb.BinaryWriter} writer
|
|
98543
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
98544
|
+
*/
|
|
98545
|
+
proto.clarifai.api.PostPipelineStepsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
98546
|
+
var f = undefined;
|
|
98547
|
+
f = message.getUserAppId();
|
|
98548
|
+
if (f != null) {
|
|
98549
|
+
writer.writeMessage(
|
|
98550
|
+
1,
|
|
98551
|
+
f,
|
|
98552
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
98553
|
+
);
|
|
98554
|
+
}
|
|
98555
|
+
f = message.getPipelineStepsList();
|
|
98556
|
+
if (f.length > 0) {
|
|
98557
|
+
writer.writeRepeatedMessage(
|
|
98558
|
+
3,
|
|
98559
|
+
f,
|
|
98560
|
+
proto_clarifai_api_resources_pb.PipelineStep.serializeBinaryToWriter
|
|
98561
|
+
);
|
|
98562
|
+
}
|
|
98563
|
+
};
|
|
98564
|
+
|
|
98565
|
+
|
|
98566
|
+
/**
|
|
98567
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
98568
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
98569
|
+
*/
|
|
98570
|
+
proto.clarifai.api.PostPipelineStepsRequest.prototype.getUserAppId = function() {
|
|
98571
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
98572
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
98573
|
+
};
|
|
98574
|
+
|
|
98575
|
+
|
|
98576
|
+
/**
|
|
98577
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
98578
|
+
* @return {!proto.clarifai.api.PostPipelineStepsRequest} returns this
|
|
98579
|
+
*/
|
|
98580
|
+
proto.clarifai.api.PostPipelineStepsRequest.prototype.setUserAppId = function(value) {
|
|
98581
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
98582
|
+
};
|
|
98583
|
+
|
|
98584
|
+
|
|
98585
|
+
/**
|
|
98586
|
+
* Clears the message field making it undefined.
|
|
98587
|
+
* @return {!proto.clarifai.api.PostPipelineStepsRequest} returns this
|
|
98588
|
+
*/
|
|
98589
|
+
proto.clarifai.api.PostPipelineStepsRequest.prototype.clearUserAppId = function() {
|
|
98590
|
+
return this.setUserAppId(undefined);
|
|
98591
|
+
};
|
|
98592
|
+
|
|
98593
|
+
|
|
98594
|
+
/**
|
|
98595
|
+
* Returns whether this field is set.
|
|
98596
|
+
* @return {boolean}
|
|
98597
|
+
*/
|
|
98598
|
+
proto.clarifai.api.PostPipelineStepsRequest.prototype.hasUserAppId = function() {
|
|
98599
|
+
return jspb.Message.getField(this, 1) != null;
|
|
98600
|
+
};
|
|
98601
|
+
|
|
98602
|
+
|
|
98603
|
+
/**
|
|
98604
|
+
* repeated PipelineStep pipeline_steps = 3;
|
|
98605
|
+
* @return {!Array<!proto.clarifai.api.PipelineStep>}
|
|
98606
|
+
*/
|
|
98607
|
+
proto.clarifai.api.PostPipelineStepsRequest.prototype.getPipelineStepsList = function() {
|
|
98608
|
+
return /** @type{!Array<!proto.clarifai.api.PipelineStep>} */ (
|
|
98609
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.PipelineStep, 3));
|
|
98610
|
+
};
|
|
98611
|
+
|
|
98612
|
+
|
|
98613
|
+
/**
|
|
98614
|
+
* @param {!Array<!proto.clarifai.api.PipelineStep>} value
|
|
98615
|
+
* @return {!proto.clarifai.api.PostPipelineStepsRequest} returns this
|
|
98616
|
+
*/
|
|
98617
|
+
proto.clarifai.api.PostPipelineStepsRequest.prototype.setPipelineStepsList = function(value) {
|
|
98618
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
98619
|
+
};
|
|
98620
|
+
|
|
98621
|
+
|
|
98622
|
+
/**
|
|
98623
|
+
* @param {!proto.clarifai.api.PipelineStep=} opt_value
|
|
98624
|
+
* @param {number=} opt_index
|
|
98625
|
+
* @return {!proto.clarifai.api.PipelineStep}
|
|
98626
|
+
*/
|
|
98627
|
+
proto.clarifai.api.PostPipelineStepsRequest.prototype.addPipelineSteps = function(opt_value, opt_index) {
|
|
98628
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.PipelineStep, opt_index);
|
|
98629
|
+
};
|
|
98630
|
+
|
|
98631
|
+
|
|
98632
|
+
/**
|
|
98633
|
+
* Clears the list making it empty but non-null.
|
|
98634
|
+
* @return {!proto.clarifai.api.PostPipelineStepsRequest} returns this
|
|
98635
|
+
*/
|
|
98636
|
+
proto.clarifai.api.PostPipelineStepsRequest.prototype.clearPipelineStepsList = function() {
|
|
98637
|
+
return this.setPipelineStepsList([]);
|
|
98638
|
+
};
|
|
98639
|
+
|
|
98640
|
+
|
|
98641
|
+
|
|
98642
|
+
/**
|
|
98643
|
+
* List of repeated fields within this message type.
|
|
98644
|
+
* @private {!Array<number>}
|
|
98645
|
+
* @const
|
|
98646
|
+
*/
|
|
98647
|
+
proto.clarifai.api.MultiPipelineStepResponse.repeatedFields_ = [2];
|
|
98648
|
+
|
|
98649
|
+
|
|
98650
|
+
|
|
98651
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
98652
|
+
/**
|
|
98653
|
+
* Creates an object representation of this proto.
|
|
98654
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
98655
|
+
* Optional fields that are not set will be set to undefined.
|
|
98656
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
98657
|
+
* For the list of reserved names please see:
|
|
98658
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
98659
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
98660
|
+
* JSPB instance for transitional soy proto support:
|
|
98661
|
+
* http://goto/soy-param-migration
|
|
98662
|
+
* @return {!Object}
|
|
98663
|
+
*/
|
|
98664
|
+
proto.clarifai.api.MultiPipelineStepResponse.prototype.toObject = function(opt_includeInstance) {
|
|
98665
|
+
return proto.clarifai.api.MultiPipelineStepResponse.toObject(opt_includeInstance, this);
|
|
98666
|
+
};
|
|
98667
|
+
|
|
98668
|
+
|
|
98669
|
+
/**
|
|
98670
|
+
* Static version of the {@see toObject} method.
|
|
98671
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
98672
|
+
* the JSPB instance for transitional soy proto support:
|
|
98673
|
+
* http://goto/soy-param-migration
|
|
98674
|
+
* @param {!proto.clarifai.api.MultiPipelineStepResponse} msg The msg instance to transform.
|
|
98675
|
+
* @return {!Object}
|
|
98676
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
98677
|
+
*/
|
|
98678
|
+
proto.clarifai.api.MultiPipelineStepResponse.toObject = function(includeInstance, msg) {
|
|
98679
|
+
var f, obj = {
|
|
98680
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
98681
|
+
pipelineStepsList: jspb.Message.toObjectList(msg.getPipelineStepsList(),
|
|
98682
|
+
proto_clarifai_api_resources_pb.PipelineStep.toObject, includeInstance)
|
|
98683
|
+
};
|
|
98684
|
+
|
|
98685
|
+
if (includeInstance) {
|
|
98686
|
+
obj.$jspbMessageInstance = msg;
|
|
98687
|
+
}
|
|
98688
|
+
return obj;
|
|
98689
|
+
};
|
|
98690
|
+
}
|
|
98691
|
+
|
|
98692
|
+
|
|
98693
|
+
/**
|
|
98694
|
+
* Deserializes binary data (in protobuf wire format).
|
|
98695
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
98696
|
+
* @return {!proto.clarifai.api.MultiPipelineStepResponse}
|
|
98697
|
+
*/
|
|
98698
|
+
proto.clarifai.api.MultiPipelineStepResponse.deserializeBinary = function(bytes) {
|
|
98699
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
98700
|
+
var msg = new proto.clarifai.api.MultiPipelineStepResponse;
|
|
98701
|
+
return proto.clarifai.api.MultiPipelineStepResponse.deserializeBinaryFromReader(msg, reader);
|
|
98702
|
+
};
|
|
98703
|
+
|
|
98704
|
+
|
|
98705
|
+
/**
|
|
98706
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
98707
|
+
* given reader into the given message object.
|
|
98708
|
+
* @param {!proto.clarifai.api.MultiPipelineStepResponse} msg The message object to deserialize into.
|
|
98709
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
98710
|
+
* @return {!proto.clarifai.api.MultiPipelineStepResponse}
|
|
98711
|
+
*/
|
|
98712
|
+
proto.clarifai.api.MultiPipelineStepResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
98713
|
+
while (reader.nextField()) {
|
|
98714
|
+
if (reader.isEndGroup()) {
|
|
98715
|
+
break;
|
|
98716
|
+
}
|
|
98717
|
+
var field = reader.getFieldNumber();
|
|
98718
|
+
switch (field) {
|
|
98719
|
+
case 1:
|
|
98720
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
98721
|
+
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
98722
|
+
msg.setStatus(value);
|
|
98723
|
+
break;
|
|
98724
|
+
case 2:
|
|
98725
|
+
var value = new proto_clarifai_api_resources_pb.PipelineStep;
|
|
98726
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.PipelineStep.deserializeBinaryFromReader);
|
|
98727
|
+
msg.addPipelineSteps(value);
|
|
98728
|
+
break;
|
|
98729
|
+
default:
|
|
98730
|
+
reader.skipField();
|
|
98731
|
+
break;
|
|
98732
|
+
}
|
|
98733
|
+
}
|
|
98734
|
+
return msg;
|
|
98735
|
+
};
|
|
98736
|
+
|
|
98737
|
+
|
|
98738
|
+
/**
|
|
98739
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
98740
|
+
* @return {!Uint8Array}
|
|
98741
|
+
*/
|
|
98742
|
+
proto.clarifai.api.MultiPipelineStepResponse.prototype.serializeBinary = function() {
|
|
98743
|
+
var writer = new jspb.BinaryWriter();
|
|
98744
|
+
proto.clarifai.api.MultiPipelineStepResponse.serializeBinaryToWriter(this, writer);
|
|
98745
|
+
return writer.getResultBuffer();
|
|
98746
|
+
};
|
|
98747
|
+
|
|
98748
|
+
|
|
98749
|
+
/**
|
|
98750
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
98751
|
+
* format), writing to the given BinaryWriter.
|
|
98752
|
+
* @param {!proto.clarifai.api.MultiPipelineStepResponse} message
|
|
98753
|
+
* @param {!jspb.BinaryWriter} writer
|
|
98754
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
98755
|
+
*/
|
|
98756
|
+
proto.clarifai.api.MultiPipelineStepResponse.serializeBinaryToWriter = function(message, writer) {
|
|
98757
|
+
var f = undefined;
|
|
98758
|
+
f = message.getStatus();
|
|
98759
|
+
if (f != null) {
|
|
98760
|
+
writer.writeMessage(
|
|
98761
|
+
1,
|
|
98762
|
+
f,
|
|
98763
|
+
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
98764
|
+
);
|
|
98765
|
+
}
|
|
98766
|
+
f = message.getPipelineStepsList();
|
|
98767
|
+
if (f.length > 0) {
|
|
98768
|
+
writer.writeRepeatedMessage(
|
|
98769
|
+
2,
|
|
98770
|
+
f,
|
|
98771
|
+
proto_clarifai_api_resources_pb.PipelineStep.serializeBinaryToWriter
|
|
98772
|
+
);
|
|
98773
|
+
}
|
|
98774
|
+
};
|
|
98775
|
+
|
|
98776
|
+
|
|
98777
|
+
/**
|
|
98778
|
+
* optional status.Status status = 1;
|
|
98779
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
98780
|
+
*/
|
|
98781
|
+
proto.clarifai.api.MultiPipelineStepResponse.prototype.getStatus = function() {
|
|
98782
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
98783
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
98784
|
+
};
|
|
98785
|
+
|
|
98786
|
+
|
|
98787
|
+
/**
|
|
98788
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
98789
|
+
* @return {!proto.clarifai.api.MultiPipelineStepResponse} returns this
|
|
98790
|
+
*/
|
|
98791
|
+
proto.clarifai.api.MultiPipelineStepResponse.prototype.setStatus = function(value) {
|
|
98792
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
98793
|
+
};
|
|
98794
|
+
|
|
98795
|
+
|
|
98796
|
+
/**
|
|
98797
|
+
* Clears the message field making it undefined.
|
|
98798
|
+
* @return {!proto.clarifai.api.MultiPipelineStepResponse} returns this
|
|
98799
|
+
*/
|
|
98800
|
+
proto.clarifai.api.MultiPipelineStepResponse.prototype.clearStatus = function() {
|
|
98801
|
+
return this.setStatus(undefined);
|
|
98802
|
+
};
|
|
98803
|
+
|
|
98804
|
+
|
|
98805
|
+
/**
|
|
98806
|
+
* Returns whether this field is set.
|
|
98807
|
+
* @return {boolean}
|
|
98808
|
+
*/
|
|
98809
|
+
proto.clarifai.api.MultiPipelineStepResponse.prototype.hasStatus = function() {
|
|
98810
|
+
return jspb.Message.getField(this, 1) != null;
|
|
98811
|
+
};
|
|
98812
|
+
|
|
98813
|
+
|
|
98814
|
+
/**
|
|
98815
|
+
* repeated PipelineStep pipeline_steps = 2;
|
|
98816
|
+
* @return {!Array<!proto.clarifai.api.PipelineStep>}
|
|
98817
|
+
*/
|
|
98818
|
+
proto.clarifai.api.MultiPipelineStepResponse.prototype.getPipelineStepsList = function() {
|
|
98819
|
+
return /** @type{!Array<!proto.clarifai.api.PipelineStep>} */ (
|
|
98820
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.PipelineStep, 2));
|
|
98821
|
+
};
|
|
98822
|
+
|
|
98823
|
+
|
|
98824
|
+
/**
|
|
98825
|
+
* @param {!Array<!proto.clarifai.api.PipelineStep>} value
|
|
98826
|
+
* @return {!proto.clarifai.api.MultiPipelineStepResponse} returns this
|
|
98827
|
+
*/
|
|
98828
|
+
proto.clarifai.api.MultiPipelineStepResponse.prototype.setPipelineStepsList = function(value) {
|
|
98829
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
98830
|
+
};
|
|
98831
|
+
|
|
98832
|
+
|
|
98833
|
+
/**
|
|
98834
|
+
* @param {!proto.clarifai.api.PipelineStep=} opt_value
|
|
98835
|
+
* @param {number=} opt_index
|
|
98836
|
+
* @return {!proto.clarifai.api.PipelineStep}
|
|
98837
|
+
*/
|
|
98838
|
+
proto.clarifai.api.MultiPipelineStepResponse.prototype.addPipelineSteps = function(opt_value, opt_index) {
|
|
98839
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.PipelineStep, opt_index);
|
|
98840
|
+
};
|
|
98841
|
+
|
|
98842
|
+
|
|
98843
|
+
/**
|
|
98844
|
+
* Clears the list making it empty but non-null.
|
|
98845
|
+
* @return {!proto.clarifai.api.MultiPipelineStepResponse} returns this
|
|
98846
|
+
*/
|
|
98847
|
+
proto.clarifai.api.MultiPipelineStepResponse.prototype.clearPipelineStepsList = function() {
|
|
98848
|
+
return this.setPipelineStepsList([]);
|
|
98849
|
+
};
|
|
98850
|
+
|
|
98851
|
+
|
|
98852
|
+
|
|
98853
|
+
|
|
98854
|
+
|
|
98855
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
98856
|
+
/**
|
|
98857
|
+
* Creates an object representation of this proto.
|
|
98858
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
98859
|
+
* Optional fields that are not set will be set to undefined.
|
|
98860
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
98861
|
+
* For the list of reserved names please see:
|
|
98862
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
98863
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
98864
|
+
* JSPB instance for transitional soy proto support:
|
|
98865
|
+
* http://goto/soy-param-migration
|
|
98866
|
+
* @return {!Object}
|
|
98867
|
+
*/
|
|
98868
|
+
proto.clarifai.api.ListPipelineStepsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
98869
|
+
return proto.clarifai.api.ListPipelineStepsRequest.toObject(opt_includeInstance, this);
|
|
98870
|
+
};
|
|
98871
|
+
|
|
98872
|
+
|
|
98873
|
+
/**
|
|
98874
|
+
* Static version of the {@see toObject} method.
|
|
98875
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
98876
|
+
* the JSPB instance for transitional soy proto support:
|
|
98877
|
+
* http://goto/soy-param-migration
|
|
98878
|
+
* @param {!proto.clarifai.api.ListPipelineStepsRequest} msg The msg instance to transform.
|
|
98879
|
+
* @return {!Object}
|
|
98880
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
98881
|
+
*/
|
|
98882
|
+
proto.clarifai.api.ListPipelineStepsRequest.toObject = function(includeInstance, msg) {
|
|
98883
|
+
var f, obj = {
|
|
98884
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
98885
|
+
page: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
98886
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
98887
|
+
};
|
|
98888
|
+
|
|
98889
|
+
if (includeInstance) {
|
|
98890
|
+
obj.$jspbMessageInstance = msg;
|
|
98891
|
+
}
|
|
98892
|
+
return obj;
|
|
98893
|
+
};
|
|
98894
|
+
}
|
|
98895
|
+
|
|
98896
|
+
|
|
98897
|
+
/**
|
|
98898
|
+
* Deserializes binary data (in protobuf wire format).
|
|
98899
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
98900
|
+
* @return {!proto.clarifai.api.ListPipelineStepsRequest}
|
|
98901
|
+
*/
|
|
98902
|
+
proto.clarifai.api.ListPipelineStepsRequest.deserializeBinary = function(bytes) {
|
|
98903
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
98904
|
+
var msg = new proto.clarifai.api.ListPipelineStepsRequest;
|
|
98905
|
+
return proto.clarifai.api.ListPipelineStepsRequest.deserializeBinaryFromReader(msg, reader);
|
|
98906
|
+
};
|
|
98907
|
+
|
|
98908
|
+
|
|
98909
|
+
/**
|
|
98910
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
98911
|
+
* given reader into the given message object.
|
|
98912
|
+
* @param {!proto.clarifai.api.ListPipelineStepsRequest} msg The message object to deserialize into.
|
|
98913
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
98914
|
+
* @return {!proto.clarifai.api.ListPipelineStepsRequest}
|
|
98915
|
+
*/
|
|
98916
|
+
proto.clarifai.api.ListPipelineStepsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
98917
|
+
while (reader.nextField()) {
|
|
98918
|
+
if (reader.isEndGroup()) {
|
|
98919
|
+
break;
|
|
98920
|
+
}
|
|
98921
|
+
var field = reader.getFieldNumber();
|
|
98922
|
+
switch (field) {
|
|
98923
|
+
case 1:
|
|
98924
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
98925
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
98926
|
+
msg.setUserAppId(value);
|
|
98927
|
+
break;
|
|
98928
|
+
case 2:
|
|
98929
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
98930
|
+
msg.setPage(value);
|
|
98931
|
+
break;
|
|
98932
|
+
case 3:
|
|
98933
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
98934
|
+
msg.setPerPage(value);
|
|
98935
|
+
break;
|
|
98936
|
+
default:
|
|
98937
|
+
reader.skipField();
|
|
98938
|
+
break;
|
|
98939
|
+
}
|
|
98940
|
+
}
|
|
98941
|
+
return msg;
|
|
98942
|
+
};
|
|
98943
|
+
|
|
98944
|
+
|
|
98945
|
+
/**
|
|
98946
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
98947
|
+
* @return {!Uint8Array}
|
|
98948
|
+
*/
|
|
98949
|
+
proto.clarifai.api.ListPipelineStepsRequest.prototype.serializeBinary = function() {
|
|
98950
|
+
var writer = new jspb.BinaryWriter();
|
|
98951
|
+
proto.clarifai.api.ListPipelineStepsRequest.serializeBinaryToWriter(this, writer);
|
|
98952
|
+
return writer.getResultBuffer();
|
|
98953
|
+
};
|
|
98954
|
+
|
|
98955
|
+
|
|
98956
|
+
/**
|
|
98957
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
98958
|
+
* format), writing to the given BinaryWriter.
|
|
98959
|
+
* @param {!proto.clarifai.api.ListPipelineStepsRequest} message
|
|
98960
|
+
* @param {!jspb.BinaryWriter} writer
|
|
98961
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
98962
|
+
*/
|
|
98963
|
+
proto.clarifai.api.ListPipelineStepsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
98964
|
+
var f = undefined;
|
|
98965
|
+
f = message.getUserAppId();
|
|
98966
|
+
if (f != null) {
|
|
98967
|
+
writer.writeMessage(
|
|
98968
|
+
1,
|
|
98969
|
+
f,
|
|
98970
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
98971
|
+
);
|
|
98972
|
+
}
|
|
98973
|
+
f = message.getPage();
|
|
98974
|
+
if (f !== 0) {
|
|
98975
|
+
writer.writeUint32(
|
|
98976
|
+
2,
|
|
98977
|
+
f
|
|
98978
|
+
);
|
|
98979
|
+
}
|
|
98980
|
+
f = message.getPerPage();
|
|
98981
|
+
if (f !== 0) {
|
|
98982
|
+
writer.writeUint32(
|
|
98983
|
+
3,
|
|
98984
|
+
f
|
|
98985
|
+
);
|
|
98986
|
+
}
|
|
98987
|
+
};
|
|
98988
|
+
|
|
98989
|
+
|
|
98990
|
+
/**
|
|
98991
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
98992
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
98993
|
+
*/
|
|
98994
|
+
proto.clarifai.api.ListPipelineStepsRequest.prototype.getUserAppId = function() {
|
|
98995
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
98996
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
98997
|
+
};
|
|
98998
|
+
|
|
98999
|
+
|
|
99000
|
+
/**
|
|
99001
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
99002
|
+
* @return {!proto.clarifai.api.ListPipelineStepsRequest} returns this
|
|
99003
|
+
*/
|
|
99004
|
+
proto.clarifai.api.ListPipelineStepsRequest.prototype.setUserAppId = function(value) {
|
|
99005
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
99006
|
+
};
|
|
99007
|
+
|
|
99008
|
+
|
|
99009
|
+
/**
|
|
99010
|
+
* Clears the message field making it undefined.
|
|
99011
|
+
* @return {!proto.clarifai.api.ListPipelineStepsRequest} returns this
|
|
99012
|
+
*/
|
|
99013
|
+
proto.clarifai.api.ListPipelineStepsRequest.prototype.clearUserAppId = function() {
|
|
99014
|
+
return this.setUserAppId(undefined);
|
|
99015
|
+
};
|
|
99016
|
+
|
|
99017
|
+
|
|
99018
|
+
/**
|
|
99019
|
+
* Returns whether this field is set.
|
|
99020
|
+
* @return {boolean}
|
|
99021
|
+
*/
|
|
99022
|
+
proto.clarifai.api.ListPipelineStepsRequest.prototype.hasUserAppId = function() {
|
|
99023
|
+
return jspb.Message.getField(this, 1) != null;
|
|
99024
|
+
};
|
|
99025
|
+
|
|
99026
|
+
|
|
99027
|
+
/**
|
|
99028
|
+
* optional uint32 page = 2;
|
|
99029
|
+
* @return {number}
|
|
99030
|
+
*/
|
|
99031
|
+
proto.clarifai.api.ListPipelineStepsRequest.prototype.getPage = function() {
|
|
99032
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
99033
|
+
};
|
|
99034
|
+
|
|
99035
|
+
|
|
99036
|
+
/**
|
|
99037
|
+
* @param {number} value
|
|
99038
|
+
* @return {!proto.clarifai.api.ListPipelineStepsRequest} returns this
|
|
99039
|
+
*/
|
|
99040
|
+
proto.clarifai.api.ListPipelineStepsRequest.prototype.setPage = function(value) {
|
|
99041
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
99042
|
+
};
|
|
99043
|
+
|
|
99044
|
+
|
|
99045
|
+
/**
|
|
99046
|
+
* optional uint32 per_page = 3;
|
|
99047
|
+
* @return {number}
|
|
99048
|
+
*/
|
|
99049
|
+
proto.clarifai.api.ListPipelineStepsRequest.prototype.getPerPage = function() {
|
|
99050
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
99051
|
+
};
|
|
99052
|
+
|
|
99053
|
+
|
|
99054
|
+
/**
|
|
99055
|
+
* @param {number} value
|
|
99056
|
+
* @return {!proto.clarifai.api.ListPipelineStepsRequest} returns this
|
|
99057
|
+
*/
|
|
99058
|
+
proto.clarifai.api.ListPipelineStepsRequest.prototype.setPerPage = function(value) {
|
|
99059
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
99060
|
+
};
|
|
99061
|
+
|
|
99062
|
+
|
|
99063
|
+
|
|
99064
|
+
/**
|
|
99065
|
+
* List of repeated fields within this message type.
|
|
99066
|
+
* @private {!Array<number>}
|
|
99067
|
+
* @const
|
|
99068
|
+
*/
|
|
99069
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.repeatedFields_ = [6];
|
|
99070
|
+
|
|
99071
|
+
|
|
99072
|
+
|
|
99073
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
99074
|
+
/**
|
|
99075
|
+
* Creates an object representation of this proto.
|
|
99076
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
99077
|
+
* Optional fields that are not set will be set to undefined.
|
|
99078
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
99079
|
+
* For the list of reserved names please see:
|
|
99080
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
99081
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
99082
|
+
* JSPB instance for transitional soy proto support:
|
|
99083
|
+
* http://goto/soy-param-migration
|
|
99084
|
+
* @return {!Object}
|
|
99085
|
+
*/
|
|
99086
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
99087
|
+
return proto.clarifai.api.ListPipelineStepVersionsRequest.toObject(opt_includeInstance, this);
|
|
99088
|
+
};
|
|
99089
|
+
|
|
99090
|
+
|
|
99091
|
+
/**
|
|
99092
|
+
* Static version of the {@see toObject} method.
|
|
99093
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
99094
|
+
* the JSPB instance for transitional soy proto support:
|
|
99095
|
+
* http://goto/soy-param-migration
|
|
99096
|
+
* @param {!proto.clarifai.api.ListPipelineStepVersionsRequest} msg The msg instance to transform.
|
|
99097
|
+
* @return {!Object}
|
|
99098
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
99099
|
+
*/
|
|
99100
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.toObject = function(includeInstance, msg) {
|
|
99101
|
+
var f, obj = {
|
|
99102
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
99103
|
+
pipelineStepId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
99104
|
+
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
99105
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
99106
|
+
statusCodesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f
|
|
99107
|
+
};
|
|
99108
|
+
|
|
99109
|
+
if (includeInstance) {
|
|
99110
|
+
obj.$jspbMessageInstance = msg;
|
|
99111
|
+
}
|
|
99112
|
+
return obj;
|
|
99113
|
+
};
|
|
99114
|
+
}
|
|
99115
|
+
|
|
99116
|
+
|
|
99117
|
+
/**
|
|
99118
|
+
* Deserializes binary data (in protobuf wire format).
|
|
99119
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
99120
|
+
* @return {!proto.clarifai.api.ListPipelineStepVersionsRequest}
|
|
99121
|
+
*/
|
|
99122
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.deserializeBinary = function(bytes) {
|
|
99123
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
99124
|
+
var msg = new proto.clarifai.api.ListPipelineStepVersionsRequest;
|
|
99125
|
+
return proto.clarifai.api.ListPipelineStepVersionsRequest.deserializeBinaryFromReader(msg, reader);
|
|
99126
|
+
};
|
|
99127
|
+
|
|
99128
|
+
|
|
99129
|
+
/**
|
|
99130
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
99131
|
+
* given reader into the given message object.
|
|
99132
|
+
* @param {!proto.clarifai.api.ListPipelineStepVersionsRequest} msg The message object to deserialize into.
|
|
99133
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
99134
|
+
* @return {!proto.clarifai.api.ListPipelineStepVersionsRequest}
|
|
99135
|
+
*/
|
|
99136
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
99137
|
+
while (reader.nextField()) {
|
|
99138
|
+
if (reader.isEndGroup()) {
|
|
99139
|
+
break;
|
|
99140
|
+
}
|
|
99141
|
+
var field = reader.getFieldNumber();
|
|
99142
|
+
switch (field) {
|
|
99143
|
+
case 1:
|
|
99144
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
99145
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
99146
|
+
msg.setUserAppId(value);
|
|
99147
|
+
break;
|
|
99148
|
+
case 2:
|
|
99149
|
+
var value = /** @type {string} */ (reader.readString());
|
|
99150
|
+
msg.setPipelineStepId(value);
|
|
99151
|
+
break;
|
|
99152
|
+
case 3:
|
|
99153
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
99154
|
+
msg.setPage(value);
|
|
99155
|
+
break;
|
|
99156
|
+
case 4:
|
|
99157
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
99158
|
+
msg.setPerPage(value);
|
|
99159
|
+
break;
|
|
99160
|
+
case 6:
|
|
99161
|
+
var values = /** @type {!Array<!proto.clarifai.api.status.StatusCode>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
99162
|
+
for (var i = 0; i < values.length; i++) {
|
|
99163
|
+
msg.addStatusCodes(values[i]);
|
|
99164
|
+
}
|
|
99165
|
+
break;
|
|
99166
|
+
default:
|
|
99167
|
+
reader.skipField();
|
|
99168
|
+
break;
|
|
99169
|
+
}
|
|
99170
|
+
}
|
|
99171
|
+
return msg;
|
|
99172
|
+
};
|
|
99173
|
+
|
|
99174
|
+
|
|
99175
|
+
/**
|
|
99176
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
99177
|
+
* @return {!Uint8Array}
|
|
99178
|
+
*/
|
|
99179
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.serializeBinary = function() {
|
|
99180
|
+
var writer = new jspb.BinaryWriter();
|
|
99181
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.serializeBinaryToWriter(this, writer);
|
|
99182
|
+
return writer.getResultBuffer();
|
|
99183
|
+
};
|
|
99184
|
+
|
|
99185
|
+
|
|
99186
|
+
/**
|
|
99187
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
99188
|
+
* format), writing to the given BinaryWriter.
|
|
99189
|
+
* @param {!proto.clarifai.api.ListPipelineStepVersionsRequest} message
|
|
99190
|
+
* @param {!jspb.BinaryWriter} writer
|
|
99191
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
99192
|
+
*/
|
|
99193
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
99194
|
+
var f = undefined;
|
|
99195
|
+
f = message.getUserAppId();
|
|
99196
|
+
if (f != null) {
|
|
99197
|
+
writer.writeMessage(
|
|
99198
|
+
1,
|
|
99199
|
+
f,
|
|
99200
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
99201
|
+
);
|
|
99202
|
+
}
|
|
99203
|
+
f = message.getPipelineStepId();
|
|
99204
|
+
if (f.length > 0) {
|
|
99205
|
+
writer.writeString(
|
|
99206
|
+
2,
|
|
99207
|
+
f
|
|
99208
|
+
);
|
|
99209
|
+
}
|
|
99210
|
+
f = message.getPage();
|
|
99211
|
+
if (f !== 0) {
|
|
99212
|
+
writer.writeUint32(
|
|
99213
|
+
3,
|
|
99214
|
+
f
|
|
99215
|
+
);
|
|
99216
|
+
}
|
|
99217
|
+
f = message.getPerPage();
|
|
99218
|
+
if (f !== 0) {
|
|
99219
|
+
writer.writeUint32(
|
|
99220
|
+
4,
|
|
99221
|
+
f
|
|
99222
|
+
);
|
|
99223
|
+
}
|
|
99224
|
+
f = message.getStatusCodesList();
|
|
99225
|
+
if (f.length > 0) {
|
|
99226
|
+
writer.writePackedEnum(
|
|
99227
|
+
6,
|
|
99228
|
+
f
|
|
99229
|
+
);
|
|
99230
|
+
}
|
|
99231
|
+
};
|
|
99232
|
+
|
|
99233
|
+
|
|
99234
|
+
/**
|
|
99235
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
99236
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
99237
|
+
*/
|
|
99238
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.getUserAppId = function() {
|
|
99239
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
99240
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
99241
|
+
};
|
|
99242
|
+
|
|
99243
|
+
|
|
99244
|
+
/**
|
|
99245
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
99246
|
+
* @return {!proto.clarifai.api.ListPipelineStepVersionsRequest} returns this
|
|
99247
|
+
*/
|
|
99248
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.setUserAppId = function(value) {
|
|
99249
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
99250
|
+
};
|
|
99251
|
+
|
|
99252
|
+
|
|
99253
|
+
/**
|
|
99254
|
+
* Clears the message field making it undefined.
|
|
99255
|
+
* @return {!proto.clarifai.api.ListPipelineStepVersionsRequest} returns this
|
|
99256
|
+
*/
|
|
99257
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.clearUserAppId = function() {
|
|
99258
|
+
return this.setUserAppId(undefined);
|
|
99259
|
+
};
|
|
99260
|
+
|
|
99261
|
+
|
|
99262
|
+
/**
|
|
99263
|
+
* Returns whether this field is set.
|
|
99264
|
+
* @return {boolean}
|
|
99265
|
+
*/
|
|
99266
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.hasUserAppId = function() {
|
|
99267
|
+
return jspb.Message.getField(this, 1) != null;
|
|
99268
|
+
};
|
|
99269
|
+
|
|
99270
|
+
|
|
99271
|
+
/**
|
|
99272
|
+
* optional string pipeline_step_id = 2;
|
|
99273
|
+
* @return {string}
|
|
99274
|
+
*/
|
|
99275
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.getPipelineStepId = function() {
|
|
99276
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
99277
|
+
};
|
|
99278
|
+
|
|
99279
|
+
|
|
99280
|
+
/**
|
|
99281
|
+
* @param {string} value
|
|
99282
|
+
* @return {!proto.clarifai.api.ListPipelineStepVersionsRequest} returns this
|
|
99283
|
+
*/
|
|
99284
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.setPipelineStepId = function(value) {
|
|
99285
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
99286
|
+
};
|
|
99287
|
+
|
|
99288
|
+
|
|
99289
|
+
/**
|
|
99290
|
+
* optional uint32 page = 3;
|
|
99291
|
+
* @return {number}
|
|
99292
|
+
*/
|
|
99293
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.getPage = function() {
|
|
99294
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
99295
|
+
};
|
|
99296
|
+
|
|
99297
|
+
|
|
99298
|
+
/**
|
|
99299
|
+
* @param {number} value
|
|
99300
|
+
* @return {!proto.clarifai.api.ListPipelineStepVersionsRequest} returns this
|
|
99301
|
+
*/
|
|
99302
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.setPage = function(value) {
|
|
99303
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
99304
|
+
};
|
|
99305
|
+
|
|
99306
|
+
|
|
99307
|
+
/**
|
|
99308
|
+
* optional uint32 per_page = 4;
|
|
99309
|
+
* @return {number}
|
|
99310
|
+
*/
|
|
99311
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.getPerPage = function() {
|
|
99312
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
99313
|
+
};
|
|
99314
|
+
|
|
99315
|
+
|
|
99316
|
+
/**
|
|
99317
|
+
* @param {number} value
|
|
99318
|
+
* @return {!proto.clarifai.api.ListPipelineStepVersionsRequest} returns this
|
|
99319
|
+
*/
|
|
99320
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.setPerPage = function(value) {
|
|
99321
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
99322
|
+
};
|
|
99323
|
+
|
|
99324
|
+
|
|
99325
|
+
/**
|
|
99326
|
+
* repeated status.StatusCode status_codes = 6;
|
|
99327
|
+
* @return {!Array<!proto.clarifai.api.status.StatusCode>}
|
|
99328
|
+
*/
|
|
99329
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.getStatusCodesList = function() {
|
|
99330
|
+
return /** @type {!Array<!proto.clarifai.api.status.StatusCode>} */ (jspb.Message.getRepeatedField(this, 6));
|
|
99331
|
+
};
|
|
99332
|
+
|
|
99333
|
+
|
|
99334
|
+
/**
|
|
99335
|
+
* @param {!Array<!proto.clarifai.api.status.StatusCode>} value
|
|
99336
|
+
* @return {!proto.clarifai.api.ListPipelineStepVersionsRequest} returns this
|
|
99337
|
+
*/
|
|
99338
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.setStatusCodesList = function(value) {
|
|
99339
|
+
return jspb.Message.setField(this, 6, value || []);
|
|
99340
|
+
};
|
|
99341
|
+
|
|
99342
|
+
|
|
99343
|
+
/**
|
|
99344
|
+
* @param {!proto.clarifai.api.status.StatusCode} value
|
|
99345
|
+
* @param {number=} opt_index
|
|
99346
|
+
* @return {!proto.clarifai.api.ListPipelineStepVersionsRequest} returns this
|
|
99347
|
+
*/
|
|
99348
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.addStatusCodes = function(value, opt_index) {
|
|
99349
|
+
return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
|
|
99350
|
+
};
|
|
99351
|
+
|
|
99352
|
+
|
|
99353
|
+
/**
|
|
99354
|
+
* Clears the list making it empty but non-null.
|
|
99355
|
+
* @return {!proto.clarifai.api.ListPipelineStepVersionsRequest} returns this
|
|
99356
|
+
*/
|
|
99357
|
+
proto.clarifai.api.ListPipelineStepVersionsRequest.prototype.clearStatusCodesList = function() {
|
|
99358
|
+
return this.setStatusCodesList([]);
|
|
99359
|
+
};
|
|
99360
|
+
|
|
99361
|
+
|
|
99362
|
+
|
|
99363
|
+
/**
|
|
99364
|
+
* List of repeated fields within this message type.
|
|
99365
|
+
* @private {!Array<number>}
|
|
99366
|
+
* @const
|
|
99367
|
+
*/
|
|
99368
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.repeatedFields_ = [2];
|
|
99369
|
+
|
|
99370
|
+
|
|
99371
|
+
|
|
99372
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
99373
|
+
/**
|
|
99374
|
+
* Creates an object representation of this proto.
|
|
99375
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
99376
|
+
* Optional fields that are not set will be set to undefined.
|
|
99377
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
99378
|
+
* For the list of reserved names please see:
|
|
99379
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
99380
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
99381
|
+
* JSPB instance for transitional soy proto support:
|
|
99382
|
+
* http://goto/soy-param-migration
|
|
99383
|
+
* @return {!Object}
|
|
99384
|
+
*/
|
|
99385
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.prototype.toObject = function(opt_includeInstance) {
|
|
99386
|
+
return proto.clarifai.api.MultiPipelineStepVersionResponse.toObject(opt_includeInstance, this);
|
|
99387
|
+
};
|
|
99388
|
+
|
|
99389
|
+
|
|
99390
|
+
/**
|
|
99391
|
+
* Static version of the {@see toObject} method.
|
|
99392
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
99393
|
+
* the JSPB instance for transitional soy proto support:
|
|
99394
|
+
* http://goto/soy-param-migration
|
|
99395
|
+
* @param {!proto.clarifai.api.MultiPipelineStepVersionResponse} msg The msg instance to transform.
|
|
99396
|
+
* @return {!Object}
|
|
99397
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
99398
|
+
*/
|
|
99399
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.toObject = function(includeInstance, msg) {
|
|
99400
|
+
var f, obj = {
|
|
99401
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
99402
|
+
pipelineStepVersionsList: jspb.Message.toObjectList(msg.getPipelineStepVersionsList(),
|
|
99403
|
+
proto_clarifai_api_resources_pb.PipelineStepVersion.toObject, includeInstance)
|
|
99404
|
+
};
|
|
99405
|
+
|
|
99406
|
+
if (includeInstance) {
|
|
99407
|
+
obj.$jspbMessageInstance = msg;
|
|
99408
|
+
}
|
|
99409
|
+
return obj;
|
|
99410
|
+
};
|
|
99411
|
+
}
|
|
99412
|
+
|
|
99413
|
+
|
|
99414
|
+
/**
|
|
99415
|
+
* Deserializes binary data (in protobuf wire format).
|
|
99416
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
99417
|
+
* @return {!proto.clarifai.api.MultiPipelineStepVersionResponse}
|
|
99418
|
+
*/
|
|
99419
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.deserializeBinary = function(bytes) {
|
|
99420
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
99421
|
+
var msg = new proto.clarifai.api.MultiPipelineStepVersionResponse;
|
|
99422
|
+
return proto.clarifai.api.MultiPipelineStepVersionResponse.deserializeBinaryFromReader(msg, reader);
|
|
99423
|
+
};
|
|
99424
|
+
|
|
99425
|
+
|
|
99426
|
+
/**
|
|
99427
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
99428
|
+
* given reader into the given message object.
|
|
99429
|
+
* @param {!proto.clarifai.api.MultiPipelineStepVersionResponse} msg The message object to deserialize into.
|
|
99430
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
99431
|
+
* @return {!proto.clarifai.api.MultiPipelineStepVersionResponse}
|
|
99432
|
+
*/
|
|
99433
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
99434
|
+
while (reader.nextField()) {
|
|
99435
|
+
if (reader.isEndGroup()) {
|
|
99436
|
+
break;
|
|
99437
|
+
}
|
|
99438
|
+
var field = reader.getFieldNumber();
|
|
99439
|
+
switch (field) {
|
|
99440
|
+
case 1:
|
|
99441
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
99442
|
+
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
99443
|
+
msg.setStatus(value);
|
|
99444
|
+
break;
|
|
99445
|
+
case 2:
|
|
99446
|
+
var value = new proto_clarifai_api_resources_pb.PipelineStepVersion;
|
|
99447
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.PipelineStepVersion.deserializeBinaryFromReader);
|
|
99448
|
+
msg.addPipelineStepVersions(value);
|
|
99449
|
+
break;
|
|
99450
|
+
default:
|
|
99451
|
+
reader.skipField();
|
|
99452
|
+
break;
|
|
99453
|
+
}
|
|
99454
|
+
}
|
|
99455
|
+
return msg;
|
|
99456
|
+
};
|
|
99457
|
+
|
|
99458
|
+
|
|
99459
|
+
/**
|
|
99460
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
99461
|
+
* @return {!Uint8Array}
|
|
99462
|
+
*/
|
|
99463
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.prototype.serializeBinary = function() {
|
|
99464
|
+
var writer = new jspb.BinaryWriter();
|
|
99465
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.serializeBinaryToWriter(this, writer);
|
|
99466
|
+
return writer.getResultBuffer();
|
|
99467
|
+
};
|
|
99468
|
+
|
|
99469
|
+
|
|
99470
|
+
/**
|
|
99471
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
99472
|
+
* format), writing to the given BinaryWriter.
|
|
99473
|
+
* @param {!proto.clarifai.api.MultiPipelineStepVersionResponse} message
|
|
99474
|
+
* @param {!jspb.BinaryWriter} writer
|
|
99475
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
99476
|
+
*/
|
|
99477
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.serializeBinaryToWriter = function(message, writer) {
|
|
99478
|
+
var f = undefined;
|
|
99479
|
+
f = message.getStatus();
|
|
99480
|
+
if (f != null) {
|
|
99481
|
+
writer.writeMessage(
|
|
99482
|
+
1,
|
|
99483
|
+
f,
|
|
99484
|
+
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
99485
|
+
);
|
|
99486
|
+
}
|
|
99487
|
+
f = message.getPipelineStepVersionsList();
|
|
99488
|
+
if (f.length > 0) {
|
|
99489
|
+
writer.writeRepeatedMessage(
|
|
99490
|
+
2,
|
|
99491
|
+
f,
|
|
99492
|
+
proto_clarifai_api_resources_pb.PipelineStepVersion.serializeBinaryToWriter
|
|
99493
|
+
);
|
|
99494
|
+
}
|
|
99495
|
+
};
|
|
99496
|
+
|
|
99497
|
+
|
|
99498
|
+
/**
|
|
99499
|
+
* optional status.Status status = 1;
|
|
99500
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
99501
|
+
*/
|
|
99502
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.prototype.getStatus = function() {
|
|
99503
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
99504
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
99505
|
+
};
|
|
99506
|
+
|
|
99507
|
+
|
|
99508
|
+
/**
|
|
99509
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
99510
|
+
* @return {!proto.clarifai.api.MultiPipelineStepVersionResponse} returns this
|
|
99511
|
+
*/
|
|
99512
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.prototype.setStatus = function(value) {
|
|
99513
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
99514
|
+
};
|
|
99515
|
+
|
|
99516
|
+
|
|
99517
|
+
/**
|
|
99518
|
+
* Clears the message field making it undefined.
|
|
99519
|
+
* @return {!proto.clarifai.api.MultiPipelineStepVersionResponse} returns this
|
|
99520
|
+
*/
|
|
99521
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.prototype.clearStatus = function() {
|
|
99522
|
+
return this.setStatus(undefined);
|
|
99523
|
+
};
|
|
99524
|
+
|
|
99525
|
+
|
|
99526
|
+
/**
|
|
99527
|
+
* Returns whether this field is set.
|
|
99528
|
+
* @return {boolean}
|
|
99529
|
+
*/
|
|
99530
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.prototype.hasStatus = function() {
|
|
99531
|
+
return jspb.Message.getField(this, 1) != null;
|
|
99532
|
+
};
|
|
99533
|
+
|
|
99534
|
+
|
|
99535
|
+
/**
|
|
99536
|
+
* repeated PipelineStepVersion pipeline_step_versions = 2;
|
|
99537
|
+
* @return {!Array<!proto.clarifai.api.PipelineStepVersion>}
|
|
99538
|
+
*/
|
|
99539
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.prototype.getPipelineStepVersionsList = function() {
|
|
99540
|
+
return /** @type{!Array<!proto.clarifai.api.PipelineStepVersion>} */ (
|
|
99541
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.PipelineStepVersion, 2));
|
|
99542
|
+
};
|
|
99543
|
+
|
|
99544
|
+
|
|
99545
|
+
/**
|
|
99546
|
+
* @param {!Array<!proto.clarifai.api.PipelineStepVersion>} value
|
|
99547
|
+
* @return {!proto.clarifai.api.MultiPipelineStepVersionResponse} returns this
|
|
99548
|
+
*/
|
|
99549
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.prototype.setPipelineStepVersionsList = function(value) {
|
|
99550
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
99551
|
+
};
|
|
99552
|
+
|
|
99553
|
+
|
|
99554
|
+
/**
|
|
99555
|
+
* @param {!proto.clarifai.api.PipelineStepVersion=} opt_value
|
|
99556
|
+
* @param {number=} opt_index
|
|
99557
|
+
* @return {!proto.clarifai.api.PipelineStepVersion}
|
|
99558
|
+
*/
|
|
99559
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.prototype.addPipelineStepVersions = function(opt_value, opt_index) {
|
|
99560
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.PipelineStepVersion, opt_index);
|
|
99561
|
+
};
|
|
99562
|
+
|
|
99563
|
+
|
|
99564
|
+
/**
|
|
99565
|
+
* Clears the list making it empty but non-null.
|
|
99566
|
+
* @return {!proto.clarifai.api.MultiPipelineStepVersionResponse} returns this
|
|
99567
|
+
*/
|
|
99568
|
+
proto.clarifai.api.MultiPipelineStepVersionResponse.prototype.clearPipelineStepVersionsList = function() {
|
|
99569
|
+
return this.setPipelineStepVersionsList([]);
|
|
99570
|
+
};
|
|
99571
|
+
|
|
99572
|
+
|
|
99573
|
+
|
|
99574
|
+
/**
|
|
99575
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
99576
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
99577
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
99578
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
99579
|
+
* @private {!Array<!Array<number>>}
|
|
99580
|
+
* @const
|
|
99581
|
+
*/
|
|
99582
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.oneofGroups_ = [[2,3]];
|
|
99583
|
+
|
|
99584
|
+
/**
|
|
99585
|
+
* @enum {number}
|
|
99586
|
+
*/
|
|
99587
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.UploadDataCase = {
|
|
99588
|
+
UPLOAD_DATA_NOT_SET: 0,
|
|
99589
|
+
UPLOAD_CONFIG: 2,
|
|
99590
|
+
CONTENT_PART: 3
|
|
99591
|
+
};
|
|
99592
|
+
|
|
99593
|
+
/**
|
|
99594
|
+
* @return {proto.clarifai.api.PostPipelineStepVersionsUploadRequest.UploadDataCase}
|
|
99595
|
+
*/
|
|
99596
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.prototype.getUploadDataCase = function() {
|
|
99597
|
+
return /** @type {proto.clarifai.api.PostPipelineStepVersionsUploadRequest.UploadDataCase} */(jspb.Message.computeOneofCase(this, proto.clarifai.api.PostPipelineStepVersionsUploadRequest.oneofGroups_[0]));
|
|
99598
|
+
};
|
|
99599
|
+
|
|
99600
|
+
|
|
99601
|
+
|
|
99602
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
99603
|
+
/**
|
|
99604
|
+
* Creates an object representation of this proto.
|
|
99605
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
99606
|
+
* Optional fields that are not set will be set to undefined.
|
|
99607
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
99608
|
+
* For the list of reserved names please see:
|
|
99609
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
99610
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
99611
|
+
* JSPB instance for transitional soy proto support:
|
|
99612
|
+
* http://goto/soy-param-migration
|
|
99613
|
+
* @return {!Object}
|
|
99614
|
+
*/
|
|
99615
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.prototype.toObject = function(opt_includeInstance) {
|
|
99616
|
+
return proto.clarifai.api.PostPipelineStepVersionsUploadRequest.toObject(opt_includeInstance, this);
|
|
99617
|
+
};
|
|
99618
|
+
|
|
99619
|
+
|
|
99620
|
+
/**
|
|
99621
|
+
* Static version of the {@see toObject} method.
|
|
99622
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
99623
|
+
* the JSPB instance for transitional soy proto support:
|
|
99624
|
+
* http://goto/soy-param-migration
|
|
99625
|
+
* @param {!proto.clarifai.api.PostPipelineStepVersionsUploadRequest} msg The msg instance to transform.
|
|
99626
|
+
* @return {!Object}
|
|
99627
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
99628
|
+
*/
|
|
99629
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.toObject = function(includeInstance, msg) {
|
|
99630
|
+
var f, obj = {
|
|
99631
|
+
uploadConfig: (f = msg.getUploadConfig()) && proto.clarifai.api.PostPipelineStepVersionsUploadConfig.toObject(includeInstance, f),
|
|
99632
|
+
contentPart: (f = msg.getContentPart()) && proto_clarifai_api_resources_pb.UploadContentPart.toObject(includeInstance, f)
|
|
99633
|
+
};
|
|
99634
|
+
|
|
99635
|
+
if (includeInstance) {
|
|
99636
|
+
obj.$jspbMessageInstance = msg;
|
|
99637
|
+
}
|
|
99638
|
+
return obj;
|
|
99639
|
+
};
|
|
99640
|
+
}
|
|
99641
|
+
|
|
99642
|
+
|
|
99643
|
+
/**
|
|
99644
|
+
* Deserializes binary data (in protobuf wire format).
|
|
99645
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
99646
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadRequest}
|
|
99647
|
+
*/
|
|
99648
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.deserializeBinary = function(bytes) {
|
|
99649
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
99650
|
+
var msg = new proto.clarifai.api.PostPipelineStepVersionsUploadRequest;
|
|
99651
|
+
return proto.clarifai.api.PostPipelineStepVersionsUploadRequest.deserializeBinaryFromReader(msg, reader);
|
|
99652
|
+
};
|
|
99653
|
+
|
|
99654
|
+
|
|
99655
|
+
/**
|
|
99656
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
99657
|
+
* given reader into the given message object.
|
|
99658
|
+
* @param {!proto.clarifai.api.PostPipelineStepVersionsUploadRequest} msg The message object to deserialize into.
|
|
99659
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
99660
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadRequest}
|
|
99661
|
+
*/
|
|
99662
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
99663
|
+
while (reader.nextField()) {
|
|
99664
|
+
if (reader.isEndGroup()) {
|
|
99665
|
+
break;
|
|
99666
|
+
}
|
|
99667
|
+
var field = reader.getFieldNumber();
|
|
99668
|
+
switch (field) {
|
|
99669
|
+
case 2:
|
|
99670
|
+
var value = new proto.clarifai.api.PostPipelineStepVersionsUploadConfig;
|
|
99671
|
+
reader.readMessage(value,proto.clarifai.api.PostPipelineStepVersionsUploadConfig.deserializeBinaryFromReader);
|
|
99672
|
+
msg.setUploadConfig(value);
|
|
99673
|
+
break;
|
|
99674
|
+
case 3:
|
|
99675
|
+
var value = new proto_clarifai_api_resources_pb.UploadContentPart;
|
|
99676
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UploadContentPart.deserializeBinaryFromReader);
|
|
99677
|
+
msg.setContentPart(value);
|
|
99678
|
+
break;
|
|
99679
|
+
default:
|
|
99680
|
+
reader.skipField();
|
|
99681
|
+
break;
|
|
99682
|
+
}
|
|
99683
|
+
}
|
|
99684
|
+
return msg;
|
|
99685
|
+
};
|
|
99686
|
+
|
|
99687
|
+
|
|
99688
|
+
/**
|
|
99689
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
99690
|
+
* @return {!Uint8Array}
|
|
99691
|
+
*/
|
|
99692
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.prototype.serializeBinary = function() {
|
|
99693
|
+
var writer = new jspb.BinaryWriter();
|
|
99694
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.serializeBinaryToWriter(this, writer);
|
|
99695
|
+
return writer.getResultBuffer();
|
|
99696
|
+
};
|
|
99697
|
+
|
|
99698
|
+
|
|
99699
|
+
/**
|
|
99700
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
99701
|
+
* format), writing to the given BinaryWriter.
|
|
99702
|
+
* @param {!proto.clarifai.api.PostPipelineStepVersionsUploadRequest} message
|
|
99703
|
+
* @param {!jspb.BinaryWriter} writer
|
|
99704
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
99705
|
+
*/
|
|
99706
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.serializeBinaryToWriter = function(message, writer) {
|
|
99707
|
+
var f = undefined;
|
|
99708
|
+
f = message.getUploadConfig();
|
|
99709
|
+
if (f != null) {
|
|
99710
|
+
writer.writeMessage(
|
|
99711
|
+
2,
|
|
99712
|
+
f,
|
|
99713
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.serializeBinaryToWriter
|
|
99714
|
+
);
|
|
99715
|
+
}
|
|
99716
|
+
f = message.getContentPart();
|
|
99717
|
+
if (f != null) {
|
|
99718
|
+
writer.writeMessage(
|
|
99719
|
+
3,
|
|
99720
|
+
f,
|
|
99721
|
+
proto_clarifai_api_resources_pb.UploadContentPart.serializeBinaryToWriter
|
|
99722
|
+
);
|
|
99723
|
+
}
|
|
99724
|
+
};
|
|
99725
|
+
|
|
99726
|
+
|
|
99727
|
+
/**
|
|
99728
|
+
* optional PostPipelineStepVersionsUploadConfig upload_config = 2;
|
|
99729
|
+
* @return {?proto.clarifai.api.PostPipelineStepVersionsUploadConfig}
|
|
99730
|
+
*/
|
|
99731
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.prototype.getUploadConfig = function() {
|
|
99732
|
+
return /** @type{?proto.clarifai.api.PostPipelineStepVersionsUploadConfig} */ (
|
|
99733
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.PostPipelineStepVersionsUploadConfig, 2));
|
|
99734
|
+
};
|
|
99735
|
+
|
|
99736
|
+
|
|
99737
|
+
/**
|
|
99738
|
+
* @param {?proto.clarifai.api.PostPipelineStepVersionsUploadConfig|undefined} value
|
|
99739
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadRequest} returns this
|
|
99740
|
+
*/
|
|
99741
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.prototype.setUploadConfig = function(value) {
|
|
99742
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.clarifai.api.PostPipelineStepVersionsUploadRequest.oneofGroups_[0], value);
|
|
99743
|
+
};
|
|
99744
|
+
|
|
99745
|
+
|
|
99746
|
+
/**
|
|
99747
|
+
* Clears the message field making it undefined.
|
|
99748
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadRequest} returns this
|
|
99749
|
+
*/
|
|
99750
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.prototype.clearUploadConfig = function() {
|
|
99751
|
+
return this.setUploadConfig(undefined);
|
|
99752
|
+
};
|
|
99753
|
+
|
|
99754
|
+
|
|
99755
|
+
/**
|
|
99756
|
+
* Returns whether this field is set.
|
|
99757
|
+
* @return {boolean}
|
|
99758
|
+
*/
|
|
99759
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.prototype.hasUploadConfig = function() {
|
|
99760
|
+
return jspb.Message.getField(this, 2) != null;
|
|
99761
|
+
};
|
|
99762
|
+
|
|
99763
|
+
|
|
99764
|
+
/**
|
|
99765
|
+
* optional UploadContentPart content_part = 3;
|
|
99766
|
+
* @return {?proto.clarifai.api.UploadContentPart}
|
|
99767
|
+
*/
|
|
99768
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.prototype.getContentPart = function() {
|
|
99769
|
+
return /** @type{?proto.clarifai.api.UploadContentPart} */ (
|
|
99770
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UploadContentPart, 3));
|
|
99771
|
+
};
|
|
99772
|
+
|
|
99773
|
+
|
|
99774
|
+
/**
|
|
99775
|
+
* @param {?proto.clarifai.api.UploadContentPart|undefined} value
|
|
99776
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadRequest} returns this
|
|
99777
|
+
*/
|
|
99778
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.prototype.setContentPart = function(value) {
|
|
99779
|
+
return jspb.Message.setOneofWrapperField(this, 3, proto.clarifai.api.PostPipelineStepVersionsUploadRequest.oneofGroups_[0], value);
|
|
99780
|
+
};
|
|
99781
|
+
|
|
99782
|
+
|
|
99783
|
+
/**
|
|
99784
|
+
* Clears the message field making it undefined.
|
|
99785
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadRequest} returns this
|
|
99786
|
+
*/
|
|
99787
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.prototype.clearContentPart = function() {
|
|
99788
|
+
return this.setContentPart(undefined);
|
|
99789
|
+
};
|
|
99790
|
+
|
|
99791
|
+
|
|
99792
|
+
/**
|
|
99793
|
+
* Returns whether this field is set.
|
|
99794
|
+
* @return {boolean}
|
|
99795
|
+
*/
|
|
99796
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadRequest.prototype.hasContentPart = function() {
|
|
99797
|
+
return jspb.Message.getField(this, 3) != null;
|
|
99798
|
+
};
|
|
99799
|
+
|
|
99800
|
+
|
|
99801
|
+
|
|
99802
|
+
|
|
99803
|
+
|
|
99804
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
99805
|
+
/**
|
|
99806
|
+
* Creates an object representation of this proto.
|
|
99807
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
99808
|
+
* Optional fields that are not set will be set to undefined.
|
|
99809
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
99810
|
+
* For the list of reserved names please see:
|
|
99811
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
99812
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
99813
|
+
* JSPB instance for transitional soy proto support:
|
|
99814
|
+
* http://goto/soy-param-migration
|
|
99815
|
+
* @return {!Object}
|
|
99816
|
+
*/
|
|
99817
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.prototype.toObject = function(opt_includeInstance) {
|
|
99818
|
+
return proto.clarifai.api.PostPipelineStepVersionsUploadResponse.toObject(opt_includeInstance, this);
|
|
99819
|
+
};
|
|
99820
|
+
|
|
99821
|
+
|
|
99822
|
+
/**
|
|
99823
|
+
* Static version of the {@see toObject} method.
|
|
99824
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
99825
|
+
* the JSPB instance for transitional soy proto support:
|
|
99826
|
+
* http://goto/soy-param-migration
|
|
99827
|
+
* @param {!proto.clarifai.api.PostPipelineStepVersionsUploadResponse} msg The msg instance to transform.
|
|
99828
|
+
* @return {!Object}
|
|
99829
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
99830
|
+
*/
|
|
99831
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.toObject = function(includeInstance, msg) {
|
|
99832
|
+
var f, obj = {
|
|
99833
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
99834
|
+
bytesRemaining: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
99835
|
+
pipelineStepVersionId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
99836
|
+
};
|
|
99837
|
+
|
|
99838
|
+
if (includeInstance) {
|
|
99839
|
+
obj.$jspbMessageInstance = msg;
|
|
99840
|
+
}
|
|
99841
|
+
return obj;
|
|
99842
|
+
};
|
|
99843
|
+
}
|
|
99844
|
+
|
|
99845
|
+
|
|
99846
|
+
/**
|
|
99847
|
+
* Deserializes binary data (in protobuf wire format).
|
|
99848
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
99849
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadResponse}
|
|
99850
|
+
*/
|
|
99851
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.deserializeBinary = function(bytes) {
|
|
99852
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
99853
|
+
var msg = new proto.clarifai.api.PostPipelineStepVersionsUploadResponse;
|
|
99854
|
+
return proto.clarifai.api.PostPipelineStepVersionsUploadResponse.deserializeBinaryFromReader(msg, reader);
|
|
99855
|
+
};
|
|
99856
|
+
|
|
99857
|
+
|
|
99858
|
+
/**
|
|
99859
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
99860
|
+
* given reader into the given message object.
|
|
99861
|
+
* @param {!proto.clarifai.api.PostPipelineStepVersionsUploadResponse} msg The message object to deserialize into.
|
|
99862
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
99863
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadResponse}
|
|
99864
|
+
*/
|
|
99865
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
99866
|
+
while (reader.nextField()) {
|
|
99867
|
+
if (reader.isEndGroup()) {
|
|
99868
|
+
break;
|
|
99869
|
+
}
|
|
99870
|
+
var field = reader.getFieldNumber();
|
|
99871
|
+
switch (field) {
|
|
99872
|
+
case 1:
|
|
99873
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
99874
|
+
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
99875
|
+
msg.setStatus(value);
|
|
99876
|
+
break;
|
|
99877
|
+
case 2:
|
|
99878
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
99879
|
+
msg.setBytesRemaining(value);
|
|
99880
|
+
break;
|
|
99881
|
+
case 3:
|
|
99882
|
+
var value = /** @type {string} */ (reader.readString());
|
|
99883
|
+
msg.setPipelineStepVersionId(value);
|
|
99884
|
+
break;
|
|
99885
|
+
default:
|
|
99886
|
+
reader.skipField();
|
|
99887
|
+
break;
|
|
99888
|
+
}
|
|
99889
|
+
}
|
|
99890
|
+
return msg;
|
|
99891
|
+
};
|
|
99892
|
+
|
|
99893
|
+
|
|
99894
|
+
/**
|
|
99895
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
99896
|
+
* @return {!Uint8Array}
|
|
99897
|
+
*/
|
|
99898
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.prototype.serializeBinary = function() {
|
|
99899
|
+
var writer = new jspb.BinaryWriter();
|
|
99900
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.serializeBinaryToWriter(this, writer);
|
|
99901
|
+
return writer.getResultBuffer();
|
|
99902
|
+
};
|
|
99903
|
+
|
|
99904
|
+
|
|
99905
|
+
/**
|
|
99906
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
99907
|
+
* format), writing to the given BinaryWriter.
|
|
99908
|
+
* @param {!proto.clarifai.api.PostPipelineStepVersionsUploadResponse} message
|
|
99909
|
+
* @param {!jspb.BinaryWriter} writer
|
|
99910
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
99911
|
+
*/
|
|
99912
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.serializeBinaryToWriter = function(message, writer) {
|
|
99913
|
+
var f = undefined;
|
|
99914
|
+
f = message.getStatus();
|
|
99915
|
+
if (f != null) {
|
|
99916
|
+
writer.writeMessage(
|
|
99917
|
+
1,
|
|
99918
|
+
f,
|
|
99919
|
+
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
99920
|
+
);
|
|
99921
|
+
}
|
|
99922
|
+
f = message.getBytesRemaining();
|
|
99923
|
+
if (f !== 0) {
|
|
99924
|
+
writer.writeUint64(
|
|
99925
|
+
2,
|
|
99926
|
+
f
|
|
99927
|
+
);
|
|
99928
|
+
}
|
|
99929
|
+
f = message.getPipelineStepVersionId();
|
|
99930
|
+
if (f.length > 0) {
|
|
99931
|
+
writer.writeString(
|
|
99932
|
+
3,
|
|
99933
|
+
f
|
|
99934
|
+
);
|
|
99935
|
+
}
|
|
99936
|
+
};
|
|
99937
|
+
|
|
99938
|
+
|
|
99939
|
+
/**
|
|
99940
|
+
* optional status.Status status = 1;
|
|
99941
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
99942
|
+
*/
|
|
99943
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.prototype.getStatus = function() {
|
|
99944
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
99945
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
99946
|
+
};
|
|
99947
|
+
|
|
99948
|
+
|
|
99949
|
+
/**
|
|
99950
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
99951
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadResponse} returns this
|
|
99952
|
+
*/
|
|
99953
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.prototype.setStatus = function(value) {
|
|
99954
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
99955
|
+
};
|
|
99956
|
+
|
|
99957
|
+
|
|
99958
|
+
/**
|
|
99959
|
+
* Clears the message field making it undefined.
|
|
99960
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadResponse} returns this
|
|
99961
|
+
*/
|
|
99962
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.prototype.clearStatus = function() {
|
|
99963
|
+
return this.setStatus(undefined);
|
|
99964
|
+
};
|
|
99965
|
+
|
|
99966
|
+
|
|
99967
|
+
/**
|
|
99968
|
+
* Returns whether this field is set.
|
|
99969
|
+
* @return {boolean}
|
|
99970
|
+
*/
|
|
99971
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.prototype.hasStatus = function() {
|
|
99972
|
+
return jspb.Message.getField(this, 1) != null;
|
|
99973
|
+
};
|
|
99974
|
+
|
|
99975
|
+
|
|
99976
|
+
/**
|
|
99977
|
+
* optional uint64 bytes_remaining = 2;
|
|
99978
|
+
* @return {number}
|
|
99979
|
+
*/
|
|
99980
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.prototype.getBytesRemaining = function() {
|
|
99981
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
99982
|
+
};
|
|
99983
|
+
|
|
99984
|
+
|
|
99985
|
+
/**
|
|
99986
|
+
* @param {number} value
|
|
99987
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadResponse} returns this
|
|
99988
|
+
*/
|
|
99989
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.prototype.setBytesRemaining = function(value) {
|
|
99990
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
99991
|
+
};
|
|
99992
|
+
|
|
99993
|
+
|
|
99994
|
+
/**
|
|
99995
|
+
* optional string pipeline_step_version_id = 3;
|
|
99996
|
+
* @return {string}
|
|
99997
|
+
*/
|
|
99998
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.prototype.getPipelineStepVersionId = function() {
|
|
99999
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
100000
|
+
};
|
|
100001
|
+
|
|
100002
|
+
|
|
100003
|
+
/**
|
|
100004
|
+
* @param {string} value
|
|
100005
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadResponse} returns this
|
|
100006
|
+
*/
|
|
100007
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadResponse.prototype.setPipelineStepVersionId = function(value) {
|
|
100008
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
100009
|
+
};
|
|
100010
|
+
|
|
100011
|
+
|
|
100012
|
+
|
|
100013
|
+
|
|
100014
|
+
|
|
100015
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
100016
|
+
/**
|
|
100017
|
+
* Creates an object representation of this proto.
|
|
100018
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
100019
|
+
* Optional fields that are not set will be set to undefined.
|
|
100020
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
100021
|
+
* For the list of reserved names please see:
|
|
100022
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
100023
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
100024
|
+
* JSPB instance for transitional soy proto support:
|
|
100025
|
+
* http://goto/soy-param-migration
|
|
100026
|
+
* @return {!Object}
|
|
100027
|
+
*/
|
|
100028
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.toObject = function(opt_includeInstance) {
|
|
100029
|
+
return proto.clarifai.api.PostPipelineStepVersionsUploadConfig.toObject(opt_includeInstance, this);
|
|
100030
|
+
};
|
|
100031
|
+
|
|
100032
|
+
|
|
100033
|
+
/**
|
|
100034
|
+
* Static version of the {@see toObject} method.
|
|
100035
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
100036
|
+
* the JSPB instance for transitional soy proto support:
|
|
100037
|
+
* http://goto/soy-param-migration
|
|
100038
|
+
* @param {!proto.clarifai.api.PostPipelineStepVersionsUploadConfig} msg The msg instance to transform.
|
|
100039
|
+
* @return {!Object}
|
|
100040
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
100041
|
+
*/
|
|
100042
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.toObject = function(includeInstance, msg) {
|
|
100043
|
+
var f, obj = {
|
|
100044
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
100045
|
+
pipelineStepId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
100046
|
+
pipelineStepVersion: (f = msg.getPipelineStepVersion()) && proto_clarifai_api_resources_pb.PipelineStepVersion.toObject(includeInstance, f),
|
|
100047
|
+
totalSize: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
100048
|
+
storageRequestSize: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
100049
|
+
};
|
|
100050
|
+
|
|
100051
|
+
if (includeInstance) {
|
|
100052
|
+
obj.$jspbMessageInstance = msg;
|
|
100053
|
+
}
|
|
100054
|
+
return obj;
|
|
100055
|
+
};
|
|
100056
|
+
}
|
|
100057
|
+
|
|
100058
|
+
|
|
100059
|
+
/**
|
|
100060
|
+
* Deserializes binary data (in protobuf wire format).
|
|
100061
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
100062
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadConfig}
|
|
100063
|
+
*/
|
|
100064
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.deserializeBinary = function(bytes) {
|
|
100065
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
100066
|
+
var msg = new proto.clarifai.api.PostPipelineStepVersionsUploadConfig;
|
|
100067
|
+
return proto.clarifai.api.PostPipelineStepVersionsUploadConfig.deserializeBinaryFromReader(msg, reader);
|
|
100068
|
+
};
|
|
100069
|
+
|
|
100070
|
+
|
|
100071
|
+
/**
|
|
100072
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
100073
|
+
* given reader into the given message object.
|
|
100074
|
+
* @param {!proto.clarifai.api.PostPipelineStepVersionsUploadConfig} msg The message object to deserialize into.
|
|
100075
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
100076
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadConfig}
|
|
100077
|
+
*/
|
|
100078
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.deserializeBinaryFromReader = function(msg, reader) {
|
|
100079
|
+
while (reader.nextField()) {
|
|
100080
|
+
if (reader.isEndGroup()) {
|
|
100081
|
+
break;
|
|
100082
|
+
}
|
|
100083
|
+
var field = reader.getFieldNumber();
|
|
100084
|
+
switch (field) {
|
|
100085
|
+
case 1:
|
|
100086
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
100087
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
100088
|
+
msg.setUserAppId(value);
|
|
100089
|
+
break;
|
|
100090
|
+
case 2:
|
|
100091
|
+
var value = /** @type {string} */ (reader.readString());
|
|
100092
|
+
msg.setPipelineStepId(value);
|
|
100093
|
+
break;
|
|
100094
|
+
case 3:
|
|
100095
|
+
var value = new proto_clarifai_api_resources_pb.PipelineStepVersion;
|
|
100096
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.PipelineStepVersion.deserializeBinaryFromReader);
|
|
100097
|
+
msg.setPipelineStepVersion(value);
|
|
100098
|
+
break;
|
|
100099
|
+
case 4:
|
|
100100
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
100101
|
+
msg.setTotalSize(value);
|
|
100102
|
+
break;
|
|
100103
|
+
case 5:
|
|
100104
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
100105
|
+
msg.setStorageRequestSize(value);
|
|
100106
|
+
break;
|
|
100107
|
+
default:
|
|
100108
|
+
reader.skipField();
|
|
100109
|
+
break;
|
|
100110
|
+
}
|
|
100111
|
+
}
|
|
100112
|
+
return msg;
|
|
100113
|
+
};
|
|
100114
|
+
|
|
100115
|
+
|
|
100116
|
+
/**
|
|
100117
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
100118
|
+
* @return {!Uint8Array}
|
|
100119
|
+
*/
|
|
100120
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.serializeBinary = function() {
|
|
100121
|
+
var writer = new jspb.BinaryWriter();
|
|
100122
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.serializeBinaryToWriter(this, writer);
|
|
100123
|
+
return writer.getResultBuffer();
|
|
100124
|
+
};
|
|
100125
|
+
|
|
100126
|
+
|
|
100127
|
+
/**
|
|
100128
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
100129
|
+
* format), writing to the given BinaryWriter.
|
|
100130
|
+
* @param {!proto.clarifai.api.PostPipelineStepVersionsUploadConfig} message
|
|
100131
|
+
* @param {!jspb.BinaryWriter} writer
|
|
100132
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
100133
|
+
*/
|
|
100134
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.serializeBinaryToWriter = function(message, writer) {
|
|
100135
|
+
var f = undefined;
|
|
100136
|
+
f = message.getUserAppId();
|
|
100137
|
+
if (f != null) {
|
|
100138
|
+
writer.writeMessage(
|
|
100139
|
+
1,
|
|
100140
|
+
f,
|
|
100141
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
100142
|
+
);
|
|
100143
|
+
}
|
|
100144
|
+
f = message.getPipelineStepId();
|
|
100145
|
+
if (f.length > 0) {
|
|
100146
|
+
writer.writeString(
|
|
100147
|
+
2,
|
|
100148
|
+
f
|
|
100149
|
+
);
|
|
100150
|
+
}
|
|
100151
|
+
f = message.getPipelineStepVersion();
|
|
100152
|
+
if (f != null) {
|
|
100153
|
+
writer.writeMessage(
|
|
100154
|
+
3,
|
|
100155
|
+
f,
|
|
100156
|
+
proto_clarifai_api_resources_pb.PipelineStepVersion.serializeBinaryToWriter
|
|
100157
|
+
);
|
|
100158
|
+
}
|
|
100159
|
+
f = message.getTotalSize();
|
|
100160
|
+
if (f !== 0) {
|
|
100161
|
+
writer.writeUint64(
|
|
100162
|
+
4,
|
|
100163
|
+
f
|
|
100164
|
+
);
|
|
100165
|
+
}
|
|
100166
|
+
f = message.getStorageRequestSize();
|
|
100167
|
+
if (f !== 0) {
|
|
100168
|
+
writer.writeUint64(
|
|
100169
|
+
5,
|
|
100170
|
+
f
|
|
100171
|
+
);
|
|
100172
|
+
}
|
|
100173
|
+
};
|
|
100174
|
+
|
|
100175
|
+
|
|
100176
|
+
/**
|
|
100177
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
100178
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
100179
|
+
*/
|
|
100180
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.getUserAppId = function() {
|
|
100181
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
100182
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
100183
|
+
};
|
|
100184
|
+
|
|
100185
|
+
|
|
100186
|
+
/**
|
|
100187
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
100188
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadConfig} returns this
|
|
100189
|
+
*/
|
|
100190
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.setUserAppId = function(value) {
|
|
100191
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
100192
|
+
};
|
|
100193
|
+
|
|
100194
|
+
|
|
100195
|
+
/**
|
|
100196
|
+
* Clears the message field making it undefined.
|
|
100197
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadConfig} returns this
|
|
100198
|
+
*/
|
|
100199
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.clearUserAppId = function() {
|
|
100200
|
+
return this.setUserAppId(undefined);
|
|
100201
|
+
};
|
|
100202
|
+
|
|
100203
|
+
|
|
100204
|
+
/**
|
|
100205
|
+
* Returns whether this field is set.
|
|
100206
|
+
* @return {boolean}
|
|
100207
|
+
*/
|
|
100208
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.hasUserAppId = function() {
|
|
100209
|
+
return jspb.Message.getField(this, 1) != null;
|
|
100210
|
+
};
|
|
100211
|
+
|
|
100212
|
+
|
|
100213
|
+
/**
|
|
100214
|
+
* optional string pipeline_step_id = 2;
|
|
100215
|
+
* @return {string}
|
|
100216
|
+
*/
|
|
100217
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.getPipelineStepId = function() {
|
|
100218
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
100219
|
+
};
|
|
100220
|
+
|
|
100221
|
+
|
|
100222
|
+
/**
|
|
100223
|
+
* @param {string} value
|
|
100224
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadConfig} returns this
|
|
100225
|
+
*/
|
|
100226
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.setPipelineStepId = function(value) {
|
|
100227
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
100228
|
+
};
|
|
100229
|
+
|
|
100230
|
+
|
|
100231
|
+
/**
|
|
100232
|
+
* optional PipelineStepVersion pipeline_step_version = 3;
|
|
100233
|
+
* @return {?proto.clarifai.api.PipelineStepVersion}
|
|
100234
|
+
*/
|
|
100235
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.getPipelineStepVersion = function() {
|
|
100236
|
+
return /** @type{?proto.clarifai.api.PipelineStepVersion} */ (
|
|
100237
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.PipelineStepVersion, 3));
|
|
100238
|
+
};
|
|
100239
|
+
|
|
100240
|
+
|
|
100241
|
+
/**
|
|
100242
|
+
* @param {?proto.clarifai.api.PipelineStepVersion|undefined} value
|
|
100243
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadConfig} returns this
|
|
100244
|
+
*/
|
|
100245
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.setPipelineStepVersion = function(value) {
|
|
100246
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
100247
|
+
};
|
|
100248
|
+
|
|
100249
|
+
|
|
100250
|
+
/**
|
|
100251
|
+
* Clears the message field making it undefined.
|
|
100252
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadConfig} returns this
|
|
100253
|
+
*/
|
|
100254
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.clearPipelineStepVersion = function() {
|
|
100255
|
+
return this.setPipelineStepVersion(undefined);
|
|
100256
|
+
};
|
|
100257
|
+
|
|
100258
|
+
|
|
100259
|
+
/**
|
|
100260
|
+
* Returns whether this field is set.
|
|
100261
|
+
* @return {boolean}
|
|
100262
|
+
*/
|
|
100263
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.hasPipelineStepVersion = function() {
|
|
100264
|
+
return jspb.Message.getField(this, 3) != null;
|
|
100265
|
+
};
|
|
100266
|
+
|
|
100267
|
+
|
|
100268
|
+
/**
|
|
100269
|
+
* optional uint64 total_size = 4;
|
|
100270
|
+
* @return {number}
|
|
100271
|
+
*/
|
|
100272
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.getTotalSize = function() {
|
|
100273
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
100274
|
+
};
|
|
100275
|
+
|
|
100276
|
+
|
|
100277
|
+
/**
|
|
100278
|
+
* @param {number} value
|
|
100279
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadConfig} returns this
|
|
100280
|
+
*/
|
|
100281
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.setTotalSize = function(value) {
|
|
100282
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
100283
|
+
};
|
|
100284
|
+
|
|
100285
|
+
|
|
100286
|
+
/**
|
|
100287
|
+
* optional uint64 storage_request_size = 5;
|
|
100288
|
+
* @return {number}
|
|
100289
|
+
*/
|
|
100290
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.getStorageRequestSize = function() {
|
|
100291
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
100292
|
+
};
|
|
100293
|
+
|
|
100294
|
+
|
|
100295
|
+
/**
|
|
100296
|
+
* @param {number} value
|
|
100297
|
+
* @return {!proto.clarifai.api.PostPipelineStepVersionsUploadConfig} returns this
|
|
100298
|
+
*/
|
|
100299
|
+
proto.clarifai.api.PostPipelineStepVersionsUploadConfig.prototype.setStorageRequestSize = function(value) {
|
|
100300
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
100301
|
+
};
|
|
100302
|
+
|
|
100303
|
+
|
|
100304
|
+
|
|
100305
|
+
|
|
100306
|
+
|
|
100307
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
100308
|
+
/**
|
|
100309
|
+
* Creates an object representation of this proto.
|
|
100310
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
100311
|
+
* Optional fields that are not set will be set to undefined.
|
|
100312
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
100313
|
+
* For the list of reserved names please see:
|
|
100314
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
100315
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
100316
|
+
* JSPB instance for transitional soy proto support:
|
|
100317
|
+
* http://goto/soy-param-migration
|
|
100318
|
+
* @return {!Object}
|
|
100319
|
+
*/
|
|
100320
|
+
proto.clarifai.api.GetPipelineStepRequest.prototype.toObject = function(opt_includeInstance) {
|
|
100321
|
+
return proto.clarifai.api.GetPipelineStepRequest.toObject(opt_includeInstance, this);
|
|
100322
|
+
};
|
|
100323
|
+
|
|
100324
|
+
|
|
100325
|
+
/**
|
|
100326
|
+
* Static version of the {@see toObject} method.
|
|
100327
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
100328
|
+
* the JSPB instance for transitional soy proto support:
|
|
100329
|
+
* http://goto/soy-param-migration
|
|
100330
|
+
* @param {!proto.clarifai.api.GetPipelineStepRequest} msg The msg instance to transform.
|
|
100331
|
+
* @return {!Object}
|
|
100332
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
100333
|
+
*/
|
|
100334
|
+
proto.clarifai.api.GetPipelineStepRequest.toObject = function(includeInstance, msg) {
|
|
100335
|
+
var f, obj = {
|
|
100336
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
100337
|
+
pipelineStepId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
100338
|
+
};
|
|
100339
|
+
|
|
100340
|
+
if (includeInstance) {
|
|
100341
|
+
obj.$jspbMessageInstance = msg;
|
|
100342
|
+
}
|
|
100343
|
+
return obj;
|
|
100344
|
+
};
|
|
100345
|
+
}
|
|
100346
|
+
|
|
100347
|
+
|
|
100348
|
+
/**
|
|
100349
|
+
* Deserializes binary data (in protobuf wire format).
|
|
100350
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
100351
|
+
* @return {!proto.clarifai.api.GetPipelineStepRequest}
|
|
100352
|
+
*/
|
|
100353
|
+
proto.clarifai.api.GetPipelineStepRequest.deserializeBinary = function(bytes) {
|
|
100354
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
100355
|
+
var msg = new proto.clarifai.api.GetPipelineStepRequest;
|
|
100356
|
+
return proto.clarifai.api.GetPipelineStepRequest.deserializeBinaryFromReader(msg, reader);
|
|
100357
|
+
};
|
|
100358
|
+
|
|
100359
|
+
|
|
100360
|
+
/**
|
|
100361
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
100362
|
+
* given reader into the given message object.
|
|
100363
|
+
* @param {!proto.clarifai.api.GetPipelineStepRequest} msg The message object to deserialize into.
|
|
100364
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
100365
|
+
* @return {!proto.clarifai.api.GetPipelineStepRequest}
|
|
100366
|
+
*/
|
|
100367
|
+
proto.clarifai.api.GetPipelineStepRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
100368
|
+
while (reader.nextField()) {
|
|
100369
|
+
if (reader.isEndGroup()) {
|
|
100370
|
+
break;
|
|
100371
|
+
}
|
|
100372
|
+
var field = reader.getFieldNumber();
|
|
100373
|
+
switch (field) {
|
|
100374
|
+
case 1:
|
|
100375
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
100376
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
100377
|
+
msg.setUserAppId(value);
|
|
100378
|
+
break;
|
|
100379
|
+
case 2:
|
|
100380
|
+
var value = /** @type {string} */ (reader.readString());
|
|
100381
|
+
msg.setPipelineStepId(value);
|
|
100382
|
+
break;
|
|
100383
|
+
default:
|
|
100384
|
+
reader.skipField();
|
|
100385
|
+
break;
|
|
100386
|
+
}
|
|
100387
|
+
}
|
|
100388
|
+
return msg;
|
|
100389
|
+
};
|
|
100390
|
+
|
|
100391
|
+
|
|
100392
|
+
/**
|
|
100393
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
100394
|
+
* @return {!Uint8Array}
|
|
100395
|
+
*/
|
|
100396
|
+
proto.clarifai.api.GetPipelineStepRequest.prototype.serializeBinary = function() {
|
|
100397
|
+
var writer = new jspb.BinaryWriter();
|
|
100398
|
+
proto.clarifai.api.GetPipelineStepRequest.serializeBinaryToWriter(this, writer);
|
|
100399
|
+
return writer.getResultBuffer();
|
|
100400
|
+
};
|
|
100401
|
+
|
|
100402
|
+
|
|
100403
|
+
/**
|
|
100404
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
100405
|
+
* format), writing to the given BinaryWriter.
|
|
100406
|
+
* @param {!proto.clarifai.api.GetPipelineStepRequest} message
|
|
100407
|
+
* @param {!jspb.BinaryWriter} writer
|
|
100408
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
100409
|
+
*/
|
|
100410
|
+
proto.clarifai.api.GetPipelineStepRequest.serializeBinaryToWriter = function(message, writer) {
|
|
100411
|
+
var f = undefined;
|
|
100412
|
+
f = message.getUserAppId();
|
|
100413
|
+
if (f != null) {
|
|
100414
|
+
writer.writeMessage(
|
|
100415
|
+
1,
|
|
100416
|
+
f,
|
|
100417
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
100418
|
+
);
|
|
100419
|
+
}
|
|
100420
|
+
f = message.getPipelineStepId();
|
|
100421
|
+
if (f.length > 0) {
|
|
100422
|
+
writer.writeString(
|
|
100423
|
+
2,
|
|
100424
|
+
f
|
|
100425
|
+
);
|
|
100426
|
+
}
|
|
100427
|
+
};
|
|
100428
|
+
|
|
100429
|
+
|
|
100430
|
+
/**
|
|
100431
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
100432
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
100433
|
+
*/
|
|
100434
|
+
proto.clarifai.api.GetPipelineStepRequest.prototype.getUserAppId = function() {
|
|
100435
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
100436
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
100437
|
+
};
|
|
100438
|
+
|
|
100439
|
+
|
|
100440
|
+
/**
|
|
100441
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
100442
|
+
* @return {!proto.clarifai.api.GetPipelineStepRequest} returns this
|
|
100443
|
+
*/
|
|
100444
|
+
proto.clarifai.api.GetPipelineStepRequest.prototype.setUserAppId = function(value) {
|
|
100445
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
100446
|
+
};
|
|
100447
|
+
|
|
100448
|
+
|
|
100449
|
+
/**
|
|
100450
|
+
* Clears the message field making it undefined.
|
|
100451
|
+
* @return {!proto.clarifai.api.GetPipelineStepRequest} returns this
|
|
100452
|
+
*/
|
|
100453
|
+
proto.clarifai.api.GetPipelineStepRequest.prototype.clearUserAppId = function() {
|
|
100454
|
+
return this.setUserAppId(undefined);
|
|
100455
|
+
};
|
|
100456
|
+
|
|
100457
|
+
|
|
100458
|
+
/**
|
|
100459
|
+
* Returns whether this field is set.
|
|
100460
|
+
* @return {boolean}
|
|
100461
|
+
*/
|
|
100462
|
+
proto.clarifai.api.GetPipelineStepRequest.prototype.hasUserAppId = function() {
|
|
100463
|
+
return jspb.Message.getField(this, 1) != null;
|
|
100464
|
+
};
|
|
100465
|
+
|
|
100466
|
+
|
|
100467
|
+
/**
|
|
100468
|
+
* optional string pipeline_step_id = 2;
|
|
100469
|
+
* @return {string}
|
|
100470
|
+
*/
|
|
100471
|
+
proto.clarifai.api.GetPipelineStepRequest.prototype.getPipelineStepId = function() {
|
|
100472
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
100473
|
+
};
|
|
100474
|
+
|
|
100475
|
+
|
|
100476
|
+
/**
|
|
100477
|
+
* @param {string} value
|
|
100478
|
+
* @return {!proto.clarifai.api.GetPipelineStepRequest} returns this
|
|
100479
|
+
*/
|
|
100480
|
+
proto.clarifai.api.GetPipelineStepRequest.prototype.setPipelineStepId = function(value) {
|
|
100481
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
100482
|
+
};
|
|
100483
|
+
|
|
100484
|
+
|
|
100485
|
+
|
|
100486
|
+
|
|
100487
|
+
|
|
100488
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
100489
|
+
/**
|
|
100490
|
+
* Creates an object representation of this proto.
|
|
100491
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
100492
|
+
* Optional fields that are not set will be set to undefined.
|
|
100493
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
100494
|
+
* For the list of reserved names please see:
|
|
100495
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
100496
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
100497
|
+
* JSPB instance for transitional soy proto support:
|
|
100498
|
+
* http://goto/soy-param-migration
|
|
100499
|
+
* @return {!Object}
|
|
100500
|
+
*/
|
|
100501
|
+
proto.clarifai.api.SinglePipelineStepResponse.prototype.toObject = function(opt_includeInstance) {
|
|
100502
|
+
return proto.clarifai.api.SinglePipelineStepResponse.toObject(opt_includeInstance, this);
|
|
100503
|
+
};
|
|
100504
|
+
|
|
100505
|
+
|
|
100506
|
+
/**
|
|
100507
|
+
* Static version of the {@see toObject} method.
|
|
100508
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
100509
|
+
* the JSPB instance for transitional soy proto support:
|
|
100510
|
+
* http://goto/soy-param-migration
|
|
100511
|
+
* @param {!proto.clarifai.api.SinglePipelineStepResponse} msg The msg instance to transform.
|
|
100512
|
+
* @return {!Object}
|
|
100513
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
100514
|
+
*/
|
|
100515
|
+
proto.clarifai.api.SinglePipelineStepResponse.toObject = function(includeInstance, msg) {
|
|
100516
|
+
var f, obj = {
|
|
100517
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
100518
|
+
pipelineStep: (f = msg.getPipelineStep()) && proto_clarifai_api_resources_pb.PipelineStep.toObject(includeInstance, f)
|
|
100519
|
+
};
|
|
100520
|
+
|
|
100521
|
+
if (includeInstance) {
|
|
100522
|
+
obj.$jspbMessageInstance = msg;
|
|
100523
|
+
}
|
|
100524
|
+
return obj;
|
|
100525
|
+
};
|
|
100526
|
+
}
|
|
100527
|
+
|
|
100528
|
+
|
|
100529
|
+
/**
|
|
100530
|
+
* Deserializes binary data (in protobuf wire format).
|
|
100531
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
100532
|
+
* @return {!proto.clarifai.api.SinglePipelineStepResponse}
|
|
100533
|
+
*/
|
|
100534
|
+
proto.clarifai.api.SinglePipelineStepResponse.deserializeBinary = function(bytes) {
|
|
100535
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
100536
|
+
var msg = new proto.clarifai.api.SinglePipelineStepResponse;
|
|
100537
|
+
return proto.clarifai.api.SinglePipelineStepResponse.deserializeBinaryFromReader(msg, reader);
|
|
100538
|
+
};
|
|
100539
|
+
|
|
100540
|
+
|
|
100541
|
+
/**
|
|
100542
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
100543
|
+
* given reader into the given message object.
|
|
100544
|
+
* @param {!proto.clarifai.api.SinglePipelineStepResponse} msg The message object to deserialize into.
|
|
100545
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
100546
|
+
* @return {!proto.clarifai.api.SinglePipelineStepResponse}
|
|
100547
|
+
*/
|
|
100548
|
+
proto.clarifai.api.SinglePipelineStepResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
100549
|
+
while (reader.nextField()) {
|
|
100550
|
+
if (reader.isEndGroup()) {
|
|
100551
|
+
break;
|
|
100552
|
+
}
|
|
100553
|
+
var field = reader.getFieldNumber();
|
|
100554
|
+
switch (field) {
|
|
100555
|
+
case 1:
|
|
100556
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
100557
|
+
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
100558
|
+
msg.setStatus(value);
|
|
100559
|
+
break;
|
|
100560
|
+
case 2:
|
|
100561
|
+
var value = new proto_clarifai_api_resources_pb.PipelineStep;
|
|
100562
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.PipelineStep.deserializeBinaryFromReader);
|
|
100563
|
+
msg.setPipelineStep(value);
|
|
100564
|
+
break;
|
|
100565
|
+
default:
|
|
100566
|
+
reader.skipField();
|
|
100567
|
+
break;
|
|
100568
|
+
}
|
|
100569
|
+
}
|
|
100570
|
+
return msg;
|
|
100571
|
+
};
|
|
100572
|
+
|
|
100573
|
+
|
|
100574
|
+
/**
|
|
100575
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
100576
|
+
* @return {!Uint8Array}
|
|
100577
|
+
*/
|
|
100578
|
+
proto.clarifai.api.SinglePipelineStepResponse.prototype.serializeBinary = function() {
|
|
100579
|
+
var writer = new jspb.BinaryWriter();
|
|
100580
|
+
proto.clarifai.api.SinglePipelineStepResponse.serializeBinaryToWriter(this, writer);
|
|
100581
|
+
return writer.getResultBuffer();
|
|
100582
|
+
};
|
|
100583
|
+
|
|
100584
|
+
|
|
100585
|
+
/**
|
|
100586
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
100587
|
+
* format), writing to the given BinaryWriter.
|
|
100588
|
+
* @param {!proto.clarifai.api.SinglePipelineStepResponse} message
|
|
100589
|
+
* @param {!jspb.BinaryWriter} writer
|
|
100590
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
100591
|
+
*/
|
|
100592
|
+
proto.clarifai.api.SinglePipelineStepResponse.serializeBinaryToWriter = function(message, writer) {
|
|
100593
|
+
var f = undefined;
|
|
100594
|
+
f = message.getStatus();
|
|
100595
|
+
if (f != null) {
|
|
100596
|
+
writer.writeMessage(
|
|
100597
|
+
1,
|
|
100598
|
+
f,
|
|
100599
|
+
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
100600
|
+
);
|
|
100601
|
+
}
|
|
100602
|
+
f = message.getPipelineStep();
|
|
100603
|
+
if (f != null) {
|
|
100604
|
+
writer.writeMessage(
|
|
100605
|
+
2,
|
|
100606
|
+
f,
|
|
100607
|
+
proto_clarifai_api_resources_pb.PipelineStep.serializeBinaryToWriter
|
|
100608
|
+
);
|
|
100609
|
+
}
|
|
100610
|
+
};
|
|
100611
|
+
|
|
100612
|
+
|
|
100613
|
+
/**
|
|
100614
|
+
* optional status.Status status = 1;
|
|
100615
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
100616
|
+
*/
|
|
100617
|
+
proto.clarifai.api.SinglePipelineStepResponse.prototype.getStatus = function() {
|
|
100618
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
100619
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
100620
|
+
};
|
|
100621
|
+
|
|
100622
|
+
|
|
100623
|
+
/**
|
|
100624
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
100625
|
+
* @return {!proto.clarifai.api.SinglePipelineStepResponse} returns this
|
|
100626
|
+
*/
|
|
100627
|
+
proto.clarifai.api.SinglePipelineStepResponse.prototype.setStatus = function(value) {
|
|
100628
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
100629
|
+
};
|
|
100630
|
+
|
|
100631
|
+
|
|
100632
|
+
/**
|
|
100633
|
+
* Clears the message field making it undefined.
|
|
100634
|
+
* @return {!proto.clarifai.api.SinglePipelineStepResponse} returns this
|
|
100635
|
+
*/
|
|
100636
|
+
proto.clarifai.api.SinglePipelineStepResponse.prototype.clearStatus = function() {
|
|
100637
|
+
return this.setStatus(undefined);
|
|
100638
|
+
};
|
|
100639
|
+
|
|
100640
|
+
|
|
100641
|
+
/**
|
|
100642
|
+
* Returns whether this field is set.
|
|
100643
|
+
* @return {boolean}
|
|
100644
|
+
*/
|
|
100645
|
+
proto.clarifai.api.SinglePipelineStepResponse.prototype.hasStatus = function() {
|
|
100646
|
+
return jspb.Message.getField(this, 1) != null;
|
|
100647
|
+
};
|
|
100648
|
+
|
|
100649
|
+
|
|
100650
|
+
/**
|
|
100651
|
+
* optional PipelineStep pipeline_step = 2;
|
|
100652
|
+
* @return {?proto.clarifai.api.PipelineStep}
|
|
100653
|
+
*/
|
|
100654
|
+
proto.clarifai.api.SinglePipelineStepResponse.prototype.getPipelineStep = function() {
|
|
100655
|
+
return /** @type{?proto.clarifai.api.PipelineStep} */ (
|
|
100656
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.PipelineStep, 2));
|
|
100657
|
+
};
|
|
100658
|
+
|
|
100659
|
+
|
|
100660
|
+
/**
|
|
100661
|
+
* @param {?proto.clarifai.api.PipelineStep|undefined} value
|
|
100662
|
+
* @return {!proto.clarifai.api.SinglePipelineStepResponse} returns this
|
|
100663
|
+
*/
|
|
100664
|
+
proto.clarifai.api.SinglePipelineStepResponse.prototype.setPipelineStep = function(value) {
|
|
100665
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
100666
|
+
};
|
|
100667
|
+
|
|
100668
|
+
|
|
100669
|
+
/**
|
|
100670
|
+
* Clears the message field making it undefined.
|
|
100671
|
+
* @return {!proto.clarifai.api.SinglePipelineStepResponse} returns this
|
|
100672
|
+
*/
|
|
100673
|
+
proto.clarifai.api.SinglePipelineStepResponse.prototype.clearPipelineStep = function() {
|
|
100674
|
+
return this.setPipelineStep(undefined);
|
|
100675
|
+
};
|
|
100676
|
+
|
|
100677
|
+
|
|
100678
|
+
/**
|
|
100679
|
+
* Returns whether this field is set.
|
|
100680
|
+
* @return {boolean}
|
|
100681
|
+
*/
|
|
100682
|
+
proto.clarifai.api.SinglePipelineStepResponse.prototype.hasPipelineStep = function() {
|
|
100683
|
+
return jspb.Message.getField(this, 2) != null;
|
|
100684
|
+
};
|
|
100685
|
+
|
|
100686
|
+
|
|
100687
|
+
|
|
100688
|
+
|
|
100689
|
+
|
|
100690
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
100691
|
+
/**
|
|
100692
|
+
* Creates an object representation of this proto.
|
|
100693
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
100694
|
+
* Optional fields that are not set will be set to undefined.
|
|
100695
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
100696
|
+
* For the list of reserved names please see:
|
|
100697
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
100698
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
100699
|
+
* JSPB instance for transitional soy proto support:
|
|
100700
|
+
* http://goto/soy-param-migration
|
|
100701
|
+
* @return {!Object}
|
|
100702
|
+
*/
|
|
100703
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.prototype.toObject = function(opt_includeInstance) {
|
|
100704
|
+
return proto.clarifai.api.GetPipelineStepVersionRequest.toObject(opt_includeInstance, this);
|
|
100705
|
+
};
|
|
100706
|
+
|
|
100707
|
+
|
|
100708
|
+
/**
|
|
100709
|
+
* Static version of the {@see toObject} method.
|
|
100710
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
100711
|
+
* the JSPB instance for transitional soy proto support:
|
|
100712
|
+
* http://goto/soy-param-migration
|
|
100713
|
+
* @param {!proto.clarifai.api.GetPipelineStepVersionRequest} msg The msg instance to transform.
|
|
100714
|
+
* @return {!Object}
|
|
100715
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
100716
|
+
*/
|
|
100717
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.toObject = function(includeInstance, msg) {
|
|
100718
|
+
var f, obj = {
|
|
100719
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
100720
|
+
pipelineStepId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
100721
|
+
pipelineStepVersionId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
100722
|
+
};
|
|
100723
|
+
|
|
100724
|
+
if (includeInstance) {
|
|
100725
|
+
obj.$jspbMessageInstance = msg;
|
|
100726
|
+
}
|
|
100727
|
+
return obj;
|
|
100728
|
+
};
|
|
100729
|
+
}
|
|
100730
|
+
|
|
100731
|
+
|
|
100732
|
+
/**
|
|
100733
|
+
* Deserializes binary data (in protobuf wire format).
|
|
100734
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
100735
|
+
* @return {!proto.clarifai.api.GetPipelineStepVersionRequest}
|
|
100736
|
+
*/
|
|
100737
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.deserializeBinary = function(bytes) {
|
|
100738
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
100739
|
+
var msg = new proto.clarifai.api.GetPipelineStepVersionRequest;
|
|
100740
|
+
return proto.clarifai.api.GetPipelineStepVersionRequest.deserializeBinaryFromReader(msg, reader);
|
|
100741
|
+
};
|
|
100742
|
+
|
|
100743
|
+
|
|
100744
|
+
/**
|
|
100745
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
100746
|
+
* given reader into the given message object.
|
|
100747
|
+
* @param {!proto.clarifai.api.GetPipelineStepVersionRequest} msg The message object to deserialize into.
|
|
100748
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
100749
|
+
* @return {!proto.clarifai.api.GetPipelineStepVersionRequest}
|
|
100750
|
+
*/
|
|
100751
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
100752
|
+
while (reader.nextField()) {
|
|
100753
|
+
if (reader.isEndGroup()) {
|
|
100754
|
+
break;
|
|
100755
|
+
}
|
|
100756
|
+
var field = reader.getFieldNumber();
|
|
100757
|
+
switch (field) {
|
|
100758
|
+
case 1:
|
|
100759
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
100760
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
100761
|
+
msg.setUserAppId(value);
|
|
100762
|
+
break;
|
|
100763
|
+
case 2:
|
|
100764
|
+
var value = /** @type {string} */ (reader.readString());
|
|
100765
|
+
msg.setPipelineStepId(value);
|
|
100766
|
+
break;
|
|
100767
|
+
case 3:
|
|
100768
|
+
var value = /** @type {string} */ (reader.readString());
|
|
100769
|
+
msg.setPipelineStepVersionId(value);
|
|
100770
|
+
break;
|
|
100771
|
+
default:
|
|
100772
|
+
reader.skipField();
|
|
100773
|
+
break;
|
|
100774
|
+
}
|
|
100775
|
+
}
|
|
100776
|
+
return msg;
|
|
100777
|
+
};
|
|
100778
|
+
|
|
100779
|
+
|
|
100780
|
+
/**
|
|
100781
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
100782
|
+
* @return {!Uint8Array}
|
|
100783
|
+
*/
|
|
100784
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.prototype.serializeBinary = function() {
|
|
100785
|
+
var writer = new jspb.BinaryWriter();
|
|
100786
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.serializeBinaryToWriter(this, writer);
|
|
100787
|
+
return writer.getResultBuffer();
|
|
100788
|
+
};
|
|
100789
|
+
|
|
100790
|
+
|
|
100791
|
+
/**
|
|
100792
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
100793
|
+
* format), writing to the given BinaryWriter.
|
|
100794
|
+
* @param {!proto.clarifai.api.GetPipelineStepVersionRequest} message
|
|
100795
|
+
* @param {!jspb.BinaryWriter} writer
|
|
100796
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
100797
|
+
*/
|
|
100798
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.serializeBinaryToWriter = function(message, writer) {
|
|
100799
|
+
var f = undefined;
|
|
100800
|
+
f = message.getUserAppId();
|
|
100801
|
+
if (f != null) {
|
|
100802
|
+
writer.writeMessage(
|
|
100803
|
+
1,
|
|
100804
|
+
f,
|
|
100805
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
100806
|
+
);
|
|
100807
|
+
}
|
|
100808
|
+
f = message.getPipelineStepId();
|
|
100809
|
+
if (f.length > 0) {
|
|
100810
|
+
writer.writeString(
|
|
100811
|
+
2,
|
|
100812
|
+
f
|
|
100813
|
+
);
|
|
100814
|
+
}
|
|
100815
|
+
f = message.getPipelineStepVersionId();
|
|
100816
|
+
if (f.length > 0) {
|
|
100817
|
+
writer.writeString(
|
|
100818
|
+
3,
|
|
100819
|
+
f
|
|
100820
|
+
);
|
|
100821
|
+
}
|
|
100822
|
+
};
|
|
100823
|
+
|
|
100824
|
+
|
|
100825
|
+
/**
|
|
100826
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
100827
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
100828
|
+
*/
|
|
100829
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.prototype.getUserAppId = function() {
|
|
100830
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
100831
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
100832
|
+
};
|
|
100833
|
+
|
|
100834
|
+
|
|
100835
|
+
/**
|
|
100836
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
100837
|
+
* @return {!proto.clarifai.api.GetPipelineStepVersionRequest} returns this
|
|
100838
|
+
*/
|
|
100839
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.prototype.setUserAppId = function(value) {
|
|
100840
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
100841
|
+
};
|
|
100842
|
+
|
|
100843
|
+
|
|
100844
|
+
/**
|
|
100845
|
+
* Clears the message field making it undefined.
|
|
100846
|
+
* @return {!proto.clarifai.api.GetPipelineStepVersionRequest} returns this
|
|
100847
|
+
*/
|
|
100848
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.prototype.clearUserAppId = function() {
|
|
100849
|
+
return this.setUserAppId(undefined);
|
|
100850
|
+
};
|
|
100851
|
+
|
|
100852
|
+
|
|
100853
|
+
/**
|
|
100854
|
+
* Returns whether this field is set.
|
|
100855
|
+
* @return {boolean}
|
|
100856
|
+
*/
|
|
100857
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.prototype.hasUserAppId = function() {
|
|
100858
|
+
return jspb.Message.getField(this, 1) != null;
|
|
100859
|
+
};
|
|
100860
|
+
|
|
100861
|
+
|
|
100862
|
+
/**
|
|
100863
|
+
* optional string pipeline_step_id = 2;
|
|
100864
|
+
* @return {string}
|
|
100865
|
+
*/
|
|
100866
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.prototype.getPipelineStepId = function() {
|
|
100867
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
100868
|
+
};
|
|
100869
|
+
|
|
100870
|
+
|
|
100871
|
+
/**
|
|
100872
|
+
* @param {string} value
|
|
100873
|
+
* @return {!proto.clarifai.api.GetPipelineStepVersionRequest} returns this
|
|
100874
|
+
*/
|
|
100875
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.prototype.setPipelineStepId = function(value) {
|
|
100876
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
100877
|
+
};
|
|
100878
|
+
|
|
100879
|
+
|
|
100880
|
+
/**
|
|
100881
|
+
* optional string pipeline_step_version_id = 3;
|
|
100882
|
+
* @return {string}
|
|
100883
|
+
*/
|
|
100884
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.prototype.getPipelineStepVersionId = function() {
|
|
100885
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
100886
|
+
};
|
|
100887
|
+
|
|
100888
|
+
|
|
100889
|
+
/**
|
|
100890
|
+
* @param {string} value
|
|
100891
|
+
* @return {!proto.clarifai.api.GetPipelineStepVersionRequest} returns this
|
|
100892
|
+
*/
|
|
100893
|
+
proto.clarifai.api.GetPipelineStepVersionRequest.prototype.setPipelineStepVersionId = function(value) {
|
|
100894
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
100895
|
+
};
|
|
100896
|
+
|
|
100897
|
+
|
|
100898
|
+
|
|
100899
|
+
|
|
100900
|
+
|
|
100901
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
100902
|
+
/**
|
|
100903
|
+
* Creates an object representation of this proto.
|
|
100904
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
100905
|
+
* Optional fields that are not set will be set to undefined.
|
|
100906
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
100907
|
+
* For the list of reserved names please see:
|
|
100908
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
100909
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
100910
|
+
* JSPB instance for transitional soy proto support:
|
|
100911
|
+
* http://goto/soy-param-migration
|
|
100912
|
+
* @return {!Object}
|
|
100913
|
+
*/
|
|
100914
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.prototype.toObject = function(opt_includeInstance) {
|
|
100915
|
+
return proto.clarifai.api.SinglePipelineStepVersionResponse.toObject(opt_includeInstance, this);
|
|
100916
|
+
};
|
|
100917
|
+
|
|
100918
|
+
|
|
100919
|
+
/**
|
|
100920
|
+
* Static version of the {@see toObject} method.
|
|
100921
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
100922
|
+
* the JSPB instance for transitional soy proto support:
|
|
100923
|
+
* http://goto/soy-param-migration
|
|
100924
|
+
* @param {!proto.clarifai.api.SinglePipelineStepVersionResponse} msg The msg instance to transform.
|
|
100925
|
+
* @return {!Object}
|
|
100926
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
100927
|
+
*/
|
|
100928
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.toObject = function(includeInstance, msg) {
|
|
100929
|
+
var f, obj = {
|
|
100930
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
100931
|
+
pipelineStepVersion: (f = msg.getPipelineStepVersion()) && proto_clarifai_api_resources_pb.PipelineStepVersion.toObject(includeInstance, f)
|
|
100932
|
+
};
|
|
100933
|
+
|
|
100934
|
+
if (includeInstance) {
|
|
100935
|
+
obj.$jspbMessageInstance = msg;
|
|
100936
|
+
}
|
|
100937
|
+
return obj;
|
|
100938
|
+
};
|
|
100939
|
+
}
|
|
100940
|
+
|
|
100941
|
+
|
|
100942
|
+
/**
|
|
100943
|
+
* Deserializes binary data (in protobuf wire format).
|
|
100944
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
100945
|
+
* @return {!proto.clarifai.api.SinglePipelineStepVersionResponse}
|
|
100946
|
+
*/
|
|
100947
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.deserializeBinary = function(bytes) {
|
|
100948
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
100949
|
+
var msg = new proto.clarifai.api.SinglePipelineStepVersionResponse;
|
|
100950
|
+
return proto.clarifai.api.SinglePipelineStepVersionResponse.deserializeBinaryFromReader(msg, reader);
|
|
100951
|
+
};
|
|
100952
|
+
|
|
100953
|
+
|
|
100954
|
+
/**
|
|
100955
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
100956
|
+
* given reader into the given message object.
|
|
100957
|
+
* @param {!proto.clarifai.api.SinglePipelineStepVersionResponse} msg The message object to deserialize into.
|
|
100958
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
100959
|
+
* @return {!proto.clarifai.api.SinglePipelineStepVersionResponse}
|
|
100960
|
+
*/
|
|
100961
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
100962
|
+
while (reader.nextField()) {
|
|
100963
|
+
if (reader.isEndGroup()) {
|
|
100964
|
+
break;
|
|
100965
|
+
}
|
|
100966
|
+
var field = reader.getFieldNumber();
|
|
100967
|
+
switch (field) {
|
|
100968
|
+
case 1:
|
|
100969
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
100970
|
+
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
100971
|
+
msg.setStatus(value);
|
|
100972
|
+
break;
|
|
100973
|
+
case 2:
|
|
100974
|
+
var value = new proto_clarifai_api_resources_pb.PipelineStepVersion;
|
|
100975
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.PipelineStepVersion.deserializeBinaryFromReader);
|
|
100976
|
+
msg.setPipelineStepVersion(value);
|
|
100977
|
+
break;
|
|
100978
|
+
default:
|
|
100979
|
+
reader.skipField();
|
|
100980
|
+
break;
|
|
100981
|
+
}
|
|
100982
|
+
}
|
|
100983
|
+
return msg;
|
|
100984
|
+
};
|
|
100985
|
+
|
|
100986
|
+
|
|
100987
|
+
/**
|
|
100988
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
100989
|
+
* @return {!Uint8Array}
|
|
100990
|
+
*/
|
|
100991
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.prototype.serializeBinary = function() {
|
|
100992
|
+
var writer = new jspb.BinaryWriter();
|
|
100993
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.serializeBinaryToWriter(this, writer);
|
|
100994
|
+
return writer.getResultBuffer();
|
|
100995
|
+
};
|
|
100996
|
+
|
|
100997
|
+
|
|
100998
|
+
/**
|
|
100999
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
101000
|
+
* format), writing to the given BinaryWriter.
|
|
101001
|
+
* @param {!proto.clarifai.api.SinglePipelineStepVersionResponse} message
|
|
101002
|
+
* @param {!jspb.BinaryWriter} writer
|
|
101003
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
101004
|
+
*/
|
|
101005
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.serializeBinaryToWriter = function(message, writer) {
|
|
101006
|
+
var f = undefined;
|
|
101007
|
+
f = message.getStatus();
|
|
101008
|
+
if (f != null) {
|
|
101009
|
+
writer.writeMessage(
|
|
101010
|
+
1,
|
|
101011
|
+
f,
|
|
101012
|
+
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
101013
|
+
);
|
|
101014
|
+
}
|
|
101015
|
+
f = message.getPipelineStepVersion();
|
|
101016
|
+
if (f != null) {
|
|
101017
|
+
writer.writeMessage(
|
|
101018
|
+
2,
|
|
101019
|
+
f,
|
|
101020
|
+
proto_clarifai_api_resources_pb.PipelineStepVersion.serializeBinaryToWriter
|
|
101021
|
+
);
|
|
101022
|
+
}
|
|
101023
|
+
};
|
|
101024
|
+
|
|
101025
|
+
|
|
101026
|
+
/**
|
|
101027
|
+
* optional status.Status status = 1;
|
|
101028
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
101029
|
+
*/
|
|
101030
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.prototype.getStatus = function() {
|
|
101031
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
101032
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
101033
|
+
};
|
|
101034
|
+
|
|
101035
|
+
|
|
101036
|
+
/**
|
|
101037
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
101038
|
+
* @return {!proto.clarifai.api.SinglePipelineStepVersionResponse} returns this
|
|
101039
|
+
*/
|
|
101040
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.prototype.setStatus = function(value) {
|
|
101041
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
101042
|
+
};
|
|
101043
|
+
|
|
101044
|
+
|
|
101045
|
+
/**
|
|
101046
|
+
* Clears the message field making it undefined.
|
|
101047
|
+
* @return {!proto.clarifai.api.SinglePipelineStepVersionResponse} returns this
|
|
101048
|
+
*/
|
|
101049
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.prototype.clearStatus = function() {
|
|
101050
|
+
return this.setStatus(undefined);
|
|
101051
|
+
};
|
|
101052
|
+
|
|
101053
|
+
|
|
101054
|
+
/**
|
|
101055
|
+
* Returns whether this field is set.
|
|
101056
|
+
* @return {boolean}
|
|
101057
|
+
*/
|
|
101058
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.prototype.hasStatus = function() {
|
|
101059
|
+
return jspb.Message.getField(this, 1) != null;
|
|
101060
|
+
};
|
|
101061
|
+
|
|
101062
|
+
|
|
101063
|
+
/**
|
|
101064
|
+
* optional PipelineStepVersion pipeline_step_version = 2;
|
|
101065
|
+
* @return {?proto.clarifai.api.PipelineStepVersion}
|
|
101066
|
+
*/
|
|
101067
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.prototype.getPipelineStepVersion = function() {
|
|
101068
|
+
return /** @type{?proto.clarifai.api.PipelineStepVersion} */ (
|
|
101069
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.PipelineStepVersion, 2));
|
|
101070
|
+
};
|
|
101071
|
+
|
|
101072
|
+
|
|
101073
|
+
/**
|
|
101074
|
+
* @param {?proto.clarifai.api.PipelineStepVersion|undefined} value
|
|
101075
|
+
* @return {!proto.clarifai.api.SinglePipelineStepVersionResponse} returns this
|
|
101076
|
+
*/
|
|
101077
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.prototype.setPipelineStepVersion = function(value) {
|
|
101078
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
101079
|
+
};
|
|
101080
|
+
|
|
101081
|
+
|
|
101082
|
+
/**
|
|
101083
|
+
* Clears the message field making it undefined.
|
|
101084
|
+
* @return {!proto.clarifai.api.SinglePipelineStepVersionResponse} returns this
|
|
101085
|
+
*/
|
|
101086
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.prototype.clearPipelineStepVersion = function() {
|
|
101087
|
+
return this.setPipelineStepVersion(undefined);
|
|
101088
|
+
};
|
|
101089
|
+
|
|
101090
|
+
|
|
101091
|
+
/**
|
|
101092
|
+
* Returns whether this field is set.
|
|
101093
|
+
* @return {boolean}
|
|
101094
|
+
*/
|
|
101095
|
+
proto.clarifai.api.SinglePipelineStepVersionResponse.prototype.hasPipelineStepVersion = function() {
|
|
101096
|
+
return jspb.Message.getField(this, 2) != null;
|
|
101097
|
+
};
|
|
101098
|
+
|
|
101099
|
+
|
|
98165
101100
|
/**
|
|
98166
101101
|
* @enum {number}
|
|
98167
101102
|
*/
|