clarifai-web-grpc 10.4.0 → 10.5.0
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 +154 -94
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +168 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +1714 -356
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +3 -0
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +4 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +154 -94
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +168 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +1714 -356
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +3 -0
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +4 -1
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +25 -19
- package/proto/clarifai/api/resources_pb.js +196 -112
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +48 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +244 -0
- package/proto/clarifai/api/service_pb.d.ts +200 -0
- package/proto/clarifai/api/service_pb.js +2094 -409
- package/proto/clarifai/api/status/status_code_pb.d.ts +3 -0
- package/proto/clarifai/api/status/status_code_pb.js +3 -0
- package/proto/clarifai/auth/scope/scope_pb.d.ts +3 -0
- package/proto/clarifai/auth/scope/scope_pb.js +4 -1
|
@@ -51,6 +51,7 @@ goog.exportSymbol('proto.clarifai.api.DeleteAppRequest', null, global);
|
|
|
51
51
|
goog.exportSymbol('proto.clarifai.api.DeleteBulkOperationRequest', null, global);
|
|
52
52
|
goog.exportSymbol('proto.clarifai.api.DeleteCollaboratorsRequest', null, global);
|
|
53
53
|
goog.exportSymbol('proto.clarifai.api.DeleteCollectorsRequest', null, global);
|
|
54
|
+
goog.exportSymbol('proto.clarifai.api.DeleteComputeClustersRequest', null, global);
|
|
54
55
|
goog.exportSymbol('proto.clarifai.api.DeleteConceptRelationsRequest', null, global);
|
|
55
56
|
goog.exportSymbol('proto.clarifai.api.DeleteDatasetInputsRequest', null, global);
|
|
56
57
|
goog.exportSymbol('proto.clarifai.api.DeleteDatasetVersionsRequest', null, global);
|
|
@@ -80,6 +81,7 @@ goog.exportSymbol('proto.clarifai.api.GetAppDuplicationRequest', null, global);
|
|
|
80
81
|
goog.exportSymbol('proto.clarifai.api.GetAppRequest', null, global);
|
|
81
82
|
goog.exportSymbol('proto.clarifai.api.GetBulkOperationRequest', null, global);
|
|
82
83
|
goog.exportSymbol('proto.clarifai.api.GetCollectorRequest', null, global);
|
|
84
|
+
goog.exportSymbol('proto.clarifai.api.GetComputeClusterRequest', null, global);
|
|
83
85
|
goog.exportSymbol('proto.clarifai.api.GetConceptCountsRequest', null, global);
|
|
84
86
|
goog.exportSymbol('proto.clarifai.api.GetConceptLanguageRequest', null, global);
|
|
85
87
|
goog.exportSymbol('proto.clarifai.api.GetConceptRequest', null, global);
|
|
@@ -133,6 +135,7 @@ goog.exportSymbol('proto.clarifai.api.ListBulkOperationsRequest', null, global);
|
|
|
133
135
|
goog.exportSymbol('proto.clarifai.api.ListCollaborationsRequest', null, global);
|
|
134
136
|
goog.exportSymbol('proto.clarifai.api.ListCollaboratorsRequest', null, global);
|
|
135
137
|
goog.exportSymbol('proto.clarifai.api.ListCollectorsRequest', null, global);
|
|
138
|
+
goog.exportSymbol('proto.clarifai.api.ListComputeClustersRequest', null, global);
|
|
136
139
|
goog.exportSymbol('proto.clarifai.api.ListConceptLanguagesRequest', null, global);
|
|
137
140
|
goog.exportSymbol('proto.clarifai.api.ListConceptRelationsRequest', null, global);
|
|
138
141
|
goog.exportSymbol('proto.clarifai.api.ListConceptsRequest', null, global);
|
|
@@ -189,6 +192,7 @@ goog.exportSymbol('proto.clarifai.api.MultiBulkOperationsResponse', null, global
|
|
|
189
192
|
goog.exportSymbol('proto.clarifai.api.MultiCollaborationsResponse', null, global);
|
|
190
193
|
goog.exportSymbol('proto.clarifai.api.MultiCollaboratorsResponse', null, global);
|
|
191
194
|
goog.exportSymbol('proto.clarifai.api.MultiCollectorResponse', null, global);
|
|
195
|
+
goog.exportSymbol('proto.clarifai.api.MultiComputeClusterResponse', null, global);
|
|
192
196
|
goog.exportSymbol('proto.clarifai.api.MultiConceptCountResponse', null, global);
|
|
193
197
|
goog.exportSymbol('proto.clarifai.api.MultiConceptLanguageResponse', null, global);
|
|
194
198
|
goog.exportSymbol('proto.clarifai.api.MultiConceptMappingJobResponse', null, global);
|
|
@@ -288,6 +292,7 @@ goog.exportSymbol('proto.clarifai.api.PostAppsSearchesRequest', null, global);
|
|
|
288
292
|
goog.exportSymbol('proto.clarifai.api.PostBulkOperationsRequest', null, global);
|
|
289
293
|
goog.exportSymbol('proto.clarifai.api.PostCollaboratorsRequest', null, global);
|
|
290
294
|
goog.exportSymbol('proto.clarifai.api.PostCollectorsRequest', null, global);
|
|
295
|
+
goog.exportSymbol('proto.clarifai.api.PostComputeClustersRequest', null, global);
|
|
291
296
|
goog.exportSymbol('proto.clarifai.api.PostConceptLanguagesRequest', null, global);
|
|
292
297
|
goog.exportSymbol('proto.clarifai.api.PostConceptMappingJobsRequest', null, global);
|
|
293
298
|
goog.exportSymbol('proto.clarifai.api.PostConceptRelationsRequest', null, global);
|
|
@@ -358,6 +363,7 @@ goog.exportSymbol('proto.clarifai.api.SingleAppDuplicationResponse', null, globa
|
|
|
358
363
|
goog.exportSymbol('proto.clarifai.api.SingleAppResponse', null, global);
|
|
359
364
|
goog.exportSymbol('proto.clarifai.api.SingleBulkOperationsResponse', null, global);
|
|
360
365
|
goog.exportSymbol('proto.clarifai.api.SingleCollectorResponse', null, global);
|
|
366
|
+
goog.exportSymbol('proto.clarifai.api.SingleComputeClusterResponse', null, global);
|
|
361
367
|
goog.exportSymbol('proto.clarifai.api.SingleConceptLanguageResponse', null, global);
|
|
362
368
|
goog.exportSymbol('proto.clarifai.api.SingleConceptResponse', null, global);
|
|
363
369
|
goog.exportSymbol('proto.clarifai.api.SingleDatasetInputResponse', null, global);
|
|
@@ -7407,6 +7413,132 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
7407
7413
|
*/
|
|
7408
7414
|
proto.clarifai.api.MultiTrainingTimeEstimateResponse.displayName = 'proto.clarifai.api.MultiTrainingTimeEstimateResponse';
|
|
7409
7415
|
}
|
|
7416
|
+
/**
|
|
7417
|
+
* Generated by JsPbCodeGenerator.
|
|
7418
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7419
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7420
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7421
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7422
|
+
* valid.
|
|
7423
|
+
* @extends {jspb.Message}
|
|
7424
|
+
* @constructor
|
|
7425
|
+
*/
|
|
7426
|
+
proto.clarifai.api.GetComputeClusterRequest = function (opt_data) {
|
|
7427
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7428
|
+
};
|
|
7429
|
+
goog.inherits(proto.clarifai.api.GetComputeClusterRequest, jspb.Message);
|
|
7430
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7431
|
+
/**
|
|
7432
|
+
* @public
|
|
7433
|
+
* @override
|
|
7434
|
+
*/
|
|
7435
|
+
proto.clarifai.api.GetComputeClusterRequest.displayName = 'proto.clarifai.api.GetComputeClusterRequest';
|
|
7436
|
+
}
|
|
7437
|
+
/**
|
|
7438
|
+
* Generated by JsPbCodeGenerator.
|
|
7439
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7440
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7441
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7442
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7443
|
+
* valid.
|
|
7444
|
+
* @extends {jspb.Message}
|
|
7445
|
+
* @constructor
|
|
7446
|
+
*/
|
|
7447
|
+
proto.clarifai.api.ListComputeClustersRequest = function (opt_data) {
|
|
7448
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7449
|
+
};
|
|
7450
|
+
goog.inherits(proto.clarifai.api.ListComputeClustersRequest, jspb.Message);
|
|
7451
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7452
|
+
/**
|
|
7453
|
+
* @public
|
|
7454
|
+
* @override
|
|
7455
|
+
*/
|
|
7456
|
+
proto.clarifai.api.ListComputeClustersRequest.displayName = 'proto.clarifai.api.ListComputeClustersRequest';
|
|
7457
|
+
}
|
|
7458
|
+
/**
|
|
7459
|
+
* Generated by JsPbCodeGenerator.
|
|
7460
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7461
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7462
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7463
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7464
|
+
* valid.
|
|
7465
|
+
* @extends {jspb.Message}
|
|
7466
|
+
* @constructor
|
|
7467
|
+
*/
|
|
7468
|
+
proto.clarifai.api.PostComputeClustersRequest = function (opt_data) {
|
|
7469
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PostComputeClustersRequest.repeatedFields_, null);
|
|
7470
|
+
};
|
|
7471
|
+
goog.inherits(proto.clarifai.api.PostComputeClustersRequest, jspb.Message);
|
|
7472
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7473
|
+
/**
|
|
7474
|
+
* @public
|
|
7475
|
+
* @override
|
|
7476
|
+
*/
|
|
7477
|
+
proto.clarifai.api.PostComputeClustersRequest.displayName = 'proto.clarifai.api.PostComputeClustersRequest';
|
|
7478
|
+
}
|
|
7479
|
+
/**
|
|
7480
|
+
* Generated by JsPbCodeGenerator.
|
|
7481
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7482
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7483
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7484
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7485
|
+
* valid.
|
|
7486
|
+
* @extends {jspb.Message}
|
|
7487
|
+
* @constructor
|
|
7488
|
+
*/
|
|
7489
|
+
proto.clarifai.api.DeleteComputeClustersRequest = function (opt_data) {
|
|
7490
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.DeleteComputeClustersRequest.repeatedFields_, null);
|
|
7491
|
+
};
|
|
7492
|
+
goog.inherits(proto.clarifai.api.DeleteComputeClustersRequest, jspb.Message);
|
|
7493
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7494
|
+
/**
|
|
7495
|
+
* @public
|
|
7496
|
+
* @override
|
|
7497
|
+
*/
|
|
7498
|
+
proto.clarifai.api.DeleteComputeClustersRequest.displayName = 'proto.clarifai.api.DeleteComputeClustersRequest';
|
|
7499
|
+
}
|
|
7500
|
+
/**
|
|
7501
|
+
* Generated by JsPbCodeGenerator.
|
|
7502
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7503
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7504
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7505
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7506
|
+
* valid.
|
|
7507
|
+
* @extends {jspb.Message}
|
|
7508
|
+
* @constructor
|
|
7509
|
+
*/
|
|
7510
|
+
proto.clarifai.api.SingleComputeClusterResponse = function (opt_data) {
|
|
7511
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7512
|
+
};
|
|
7513
|
+
goog.inherits(proto.clarifai.api.SingleComputeClusterResponse, jspb.Message);
|
|
7514
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7515
|
+
/**
|
|
7516
|
+
* @public
|
|
7517
|
+
* @override
|
|
7518
|
+
*/
|
|
7519
|
+
proto.clarifai.api.SingleComputeClusterResponse.displayName = 'proto.clarifai.api.SingleComputeClusterResponse';
|
|
7520
|
+
}
|
|
7521
|
+
/**
|
|
7522
|
+
* Generated by JsPbCodeGenerator.
|
|
7523
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7524
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7525
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7526
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7527
|
+
* valid.
|
|
7528
|
+
* @extends {jspb.Message}
|
|
7529
|
+
* @constructor
|
|
7530
|
+
*/
|
|
7531
|
+
proto.clarifai.api.MultiComputeClusterResponse = function (opt_data) {
|
|
7532
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiComputeClusterResponse.repeatedFields_, null);
|
|
7533
|
+
};
|
|
7534
|
+
goog.inherits(proto.clarifai.api.MultiComputeClusterResponse, jspb.Message);
|
|
7535
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7536
|
+
/**
|
|
7537
|
+
* @public
|
|
7538
|
+
* @override
|
|
7539
|
+
*/
|
|
7540
|
+
proto.clarifai.api.MultiComputeClusterResponse.displayName = 'proto.clarifai.api.MultiComputeClusterResponse';
|
|
7541
|
+
}
|
|
7410
7542
|
/**
|
|
7411
7543
|
* Generated by JsPbCodeGenerator.
|
|
7412
7544
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -68210,7 +68342,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
68210
68342
|
proto.clarifai.api.GetRunnerRequest.toObject = function (includeInstance, msg) {
|
|
68211
68343
|
var f, obj = {
|
|
68212
68344
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
68213
|
-
|
|
68345
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
68346
|
+
runnerId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
68214
68347
|
};
|
|
68215
68348
|
if (includeInstance) {
|
|
68216
68349
|
obj.$jspbMessageInstance = msg;
|
|
@@ -68248,6 +68381,10 @@ proto.clarifai.api.GetRunnerRequest.deserializeBinaryFromReader = function (msg,
|
|
|
68248
68381
|
msg.setUserAppId(value);
|
|
68249
68382
|
break;
|
|
68250
68383
|
case 2:
|
|
68384
|
+
var value = /** @type {string} */ (reader.readString());
|
|
68385
|
+
msg.setNodepoolId(value);
|
|
68386
|
+
break;
|
|
68387
|
+
case 3:
|
|
68251
68388
|
var value = /** @type {string} */ (reader.readString());
|
|
68252
68389
|
msg.setRunnerId(value);
|
|
68253
68390
|
break;
|
|
@@ -68280,10 +68417,14 @@ proto.clarifai.api.GetRunnerRequest.serializeBinaryToWriter = function (message,
|
|
|
68280
68417
|
if (f != null) {
|
|
68281
68418
|
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
68282
68419
|
}
|
|
68283
|
-
f = message.
|
|
68420
|
+
f = message.getNodepoolId();
|
|
68284
68421
|
if (f.length > 0) {
|
|
68285
68422
|
writer.writeString(2, f);
|
|
68286
68423
|
}
|
|
68424
|
+
f = message.getRunnerId();
|
|
68425
|
+
if (f.length > 0) {
|
|
68426
|
+
writer.writeString(3, f);
|
|
68427
|
+
}
|
|
68287
68428
|
};
|
|
68288
68429
|
/**
|
|
68289
68430
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -68314,19 +68455,33 @@ proto.clarifai.api.GetRunnerRequest.prototype.hasUserAppId = function () {
|
|
|
68314
68455
|
return jspb.Message.getField(this, 1) != null;
|
|
68315
68456
|
};
|
|
68316
68457
|
/**
|
|
68317
|
-
* optional string
|
|
68458
|
+
* optional string nodepool_id = 2;
|
|
68318
68459
|
* @return {string}
|
|
68319
68460
|
*/
|
|
68320
|
-
proto.clarifai.api.GetRunnerRequest.prototype.
|
|
68461
|
+
proto.clarifai.api.GetRunnerRequest.prototype.getNodepoolId = function () {
|
|
68321
68462
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
68322
68463
|
};
|
|
68323
68464
|
/**
|
|
68324
68465
|
* @param {string} value
|
|
68325
68466
|
* @return {!proto.clarifai.api.GetRunnerRequest} returns this
|
|
68326
68467
|
*/
|
|
68327
|
-
proto.clarifai.api.GetRunnerRequest.prototype.
|
|
68468
|
+
proto.clarifai.api.GetRunnerRequest.prototype.setNodepoolId = function (value) {
|
|
68328
68469
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
68329
68470
|
};
|
|
68471
|
+
/**
|
|
68472
|
+
* optional string runner_id = 3;
|
|
68473
|
+
* @return {string}
|
|
68474
|
+
*/
|
|
68475
|
+
proto.clarifai.api.GetRunnerRequest.prototype.getRunnerId = function () {
|
|
68476
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
68477
|
+
};
|
|
68478
|
+
/**
|
|
68479
|
+
* @param {string} value
|
|
68480
|
+
* @return {!proto.clarifai.api.GetRunnerRequest} returns this
|
|
68481
|
+
*/
|
|
68482
|
+
proto.clarifai.api.GetRunnerRequest.prototype.setRunnerId = function (value) {
|
|
68483
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
68484
|
+
};
|
|
68330
68485
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
68331
68486
|
/**
|
|
68332
68487
|
* Creates an object representation of this proto.
|
|
@@ -68355,8 +68510,9 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
68355
68510
|
proto.clarifai.api.ListRunnersRequest.toObject = function (includeInstance, msg) {
|
|
68356
68511
|
var f, obj = {
|
|
68357
68512
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
68358
|
-
|
|
68359
|
-
|
|
68513
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
68514
|
+
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
68515
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
68360
68516
|
};
|
|
68361
68517
|
if (includeInstance) {
|
|
68362
68518
|
obj.$jspbMessageInstance = msg;
|
|
@@ -68394,10 +68550,14 @@ proto.clarifai.api.ListRunnersRequest.deserializeBinaryFromReader = function (ms
|
|
|
68394
68550
|
msg.setUserAppId(value);
|
|
68395
68551
|
break;
|
|
68396
68552
|
case 2:
|
|
68553
|
+
var value = /** @type {string} */ (reader.readString());
|
|
68554
|
+
msg.setNodepoolId(value);
|
|
68555
|
+
break;
|
|
68556
|
+
case 3:
|
|
68397
68557
|
var value = /** @type {number} */ (reader.readUint32());
|
|
68398
68558
|
msg.setPage(value);
|
|
68399
68559
|
break;
|
|
68400
|
-
case
|
|
68560
|
+
case 4:
|
|
68401
68561
|
var value = /** @type {number} */ (reader.readUint32());
|
|
68402
68562
|
msg.setPerPage(value);
|
|
68403
68563
|
break;
|
|
@@ -68430,13 +68590,17 @@ proto.clarifai.api.ListRunnersRequest.serializeBinaryToWriter = function (messag
|
|
|
68430
68590
|
if (f != null) {
|
|
68431
68591
|
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
68432
68592
|
}
|
|
68593
|
+
f = message.getNodepoolId();
|
|
68594
|
+
if (f.length > 0) {
|
|
68595
|
+
writer.writeString(2, f);
|
|
68596
|
+
}
|
|
68433
68597
|
f = message.getPage();
|
|
68434
68598
|
if (f !== 0) {
|
|
68435
|
-
writer.writeUint32(
|
|
68599
|
+
writer.writeUint32(3, f);
|
|
68436
68600
|
}
|
|
68437
68601
|
f = message.getPerPage();
|
|
68438
68602
|
if (f !== 0) {
|
|
68439
|
-
writer.writeUint32(
|
|
68603
|
+
writer.writeUint32(4, f);
|
|
68440
68604
|
}
|
|
68441
68605
|
};
|
|
68442
68606
|
/**
|
|
@@ -68468,32 +68632,46 @@ proto.clarifai.api.ListRunnersRequest.prototype.hasUserAppId = function () {
|
|
|
68468
68632
|
return jspb.Message.getField(this, 1) != null;
|
|
68469
68633
|
};
|
|
68470
68634
|
/**
|
|
68471
|
-
* optional
|
|
68635
|
+
* optional string nodepool_id = 2;
|
|
68636
|
+
* @return {string}
|
|
68637
|
+
*/
|
|
68638
|
+
proto.clarifai.api.ListRunnersRequest.prototype.getNodepoolId = function () {
|
|
68639
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
68640
|
+
};
|
|
68641
|
+
/**
|
|
68642
|
+
* @param {string} value
|
|
68643
|
+
* @return {!proto.clarifai.api.ListRunnersRequest} returns this
|
|
68644
|
+
*/
|
|
68645
|
+
proto.clarifai.api.ListRunnersRequest.prototype.setNodepoolId = function (value) {
|
|
68646
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
68647
|
+
};
|
|
68648
|
+
/**
|
|
68649
|
+
* optional uint32 page = 3;
|
|
68472
68650
|
* @return {number}
|
|
68473
68651
|
*/
|
|
68474
68652
|
proto.clarifai.api.ListRunnersRequest.prototype.getPage = function () {
|
|
68475
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
68653
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
68476
68654
|
};
|
|
68477
68655
|
/**
|
|
68478
68656
|
* @param {number} value
|
|
68479
68657
|
* @return {!proto.clarifai.api.ListRunnersRequest} returns this
|
|
68480
68658
|
*/
|
|
68481
68659
|
proto.clarifai.api.ListRunnersRequest.prototype.setPage = function (value) {
|
|
68482
|
-
return jspb.Message.setProto3IntField(this,
|
|
68660
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
68483
68661
|
};
|
|
68484
68662
|
/**
|
|
68485
|
-
* optional uint32 per_page =
|
|
68663
|
+
* optional uint32 per_page = 4;
|
|
68486
68664
|
* @return {number}
|
|
68487
68665
|
*/
|
|
68488
68666
|
proto.clarifai.api.ListRunnersRequest.prototype.getPerPage = function () {
|
|
68489
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
68667
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
68490
68668
|
};
|
|
68491
68669
|
/**
|
|
68492
68670
|
* @param {number} value
|
|
68493
68671
|
* @return {!proto.clarifai.api.ListRunnersRequest} returns this
|
|
68494
68672
|
*/
|
|
68495
68673
|
proto.clarifai.api.ListRunnersRequest.prototype.setPerPage = function (value) {
|
|
68496
|
-
return jspb.Message.setProto3IntField(this,
|
|
68674
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
68497
68675
|
};
|
|
68498
68676
|
/**
|
|
68499
68677
|
* List of repeated fields within this message type.
|
|
@@ -68529,6 +68707,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
68529
68707
|
proto.clarifai.api.PostRunnersRequest.toObject = function (includeInstance, msg) {
|
|
68530
68708
|
var f, obj = {
|
|
68531
68709
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
68710
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
68532
68711
|
runnersList: jspb.Message.toObjectList(msg.getRunnersList(), proto_clarifai_api_resources_pb.Runner.toObject, includeInstance)
|
|
68533
68712
|
};
|
|
68534
68713
|
if (includeInstance) {
|
|
@@ -68566,6 +68745,10 @@ proto.clarifai.api.PostRunnersRequest.deserializeBinaryFromReader = function (ms
|
|
|
68566
68745
|
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
68567
68746
|
msg.setUserAppId(value);
|
|
68568
68747
|
break;
|
|
68748
|
+
case 2:
|
|
68749
|
+
var value = /** @type {string} */ (reader.readString());
|
|
68750
|
+
msg.setNodepoolId(value);
|
|
68751
|
+
break;
|
|
68569
68752
|
case 3:
|
|
68570
68753
|
var value = new proto_clarifai_api_resources_pb.Runner;
|
|
68571
68754
|
reader.readMessage(value, proto_clarifai_api_resources_pb.Runner.deserializeBinaryFromReader);
|
|
@@ -68600,6 +68783,10 @@ proto.clarifai.api.PostRunnersRequest.serializeBinaryToWriter = function (messag
|
|
|
68600
68783
|
if (f != null) {
|
|
68601
68784
|
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
68602
68785
|
}
|
|
68786
|
+
f = message.getNodepoolId();
|
|
68787
|
+
if (f.length > 0) {
|
|
68788
|
+
writer.writeString(2, f);
|
|
68789
|
+
}
|
|
68603
68790
|
f = message.getRunnersList();
|
|
68604
68791
|
if (f.length > 0) {
|
|
68605
68792
|
writer.writeRepeatedMessage(3, f, proto_clarifai_api_resources_pb.Runner.serializeBinaryToWriter);
|
|
@@ -68633,6 +68820,20 @@ proto.clarifai.api.PostRunnersRequest.prototype.clearUserAppId = function () {
|
|
|
68633
68820
|
proto.clarifai.api.PostRunnersRequest.prototype.hasUserAppId = function () {
|
|
68634
68821
|
return jspb.Message.getField(this, 1) != null;
|
|
68635
68822
|
};
|
|
68823
|
+
/**
|
|
68824
|
+
* optional string nodepool_id = 2;
|
|
68825
|
+
* @return {string}
|
|
68826
|
+
*/
|
|
68827
|
+
proto.clarifai.api.PostRunnersRequest.prototype.getNodepoolId = function () {
|
|
68828
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
68829
|
+
};
|
|
68830
|
+
/**
|
|
68831
|
+
* @param {string} value
|
|
68832
|
+
* @return {!proto.clarifai.api.PostRunnersRequest} returns this
|
|
68833
|
+
*/
|
|
68834
|
+
proto.clarifai.api.PostRunnersRequest.prototype.setNodepoolId = function (value) {
|
|
68835
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
68836
|
+
};
|
|
68636
68837
|
/**
|
|
68637
68838
|
* repeated Runner runners = 3;
|
|
68638
68839
|
* @return {!Array<!proto.clarifai.api.Runner>}
|
|
@@ -68667,7 +68868,7 @@ proto.clarifai.api.PostRunnersRequest.prototype.clearRunnersList = function () {
|
|
|
68667
68868
|
* @private {!Array<number>}
|
|
68668
68869
|
* @const
|
|
68669
68870
|
*/
|
|
68670
|
-
proto.clarifai.api.DeleteRunnersRequest.repeatedFields_ = [
|
|
68871
|
+
proto.clarifai.api.DeleteRunnersRequest.repeatedFields_ = [3];
|
|
68671
68872
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
68672
68873
|
/**
|
|
68673
68874
|
* Creates an object representation of this proto.
|
|
@@ -68696,7 +68897,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
68696
68897
|
proto.clarifai.api.DeleteRunnersRequest.toObject = function (includeInstance, msg) {
|
|
68697
68898
|
var f, obj = {
|
|
68698
68899
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
68699
|
-
|
|
68900
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
68901
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
68700
68902
|
};
|
|
68701
68903
|
if (includeInstance) {
|
|
68702
68904
|
obj.$jspbMessageInstance = msg;
|
|
@@ -68734,6 +68936,10 @@ proto.clarifai.api.DeleteRunnersRequest.deserializeBinaryFromReader = function (
|
|
|
68734
68936
|
msg.setUserAppId(value);
|
|
68735
68937
|
break;
|
|
68736
68938
|
case 2:
|
|
68939
|
+
var value = /** @type {string} */ (reader.readString());
|
|
68940
|
+
msg.setNodepoolId(value);
|
|
68941
|
+
break;
|
|
68942
|
+
case 3:
|
|
68737
68943
|
var value = /** @type {string} */ (reader.readString());
|
|
68738
68944
|
msg.addIds(value);
|
|
68739
68945
|
break;
|
|
@@ -68766,9 +68972,13 @@ proto.clarifai.api.DeleteRunnersRequest.serializeBinaryToWriter = function (mess
|
|
|
68766
68972
|
if (f != null) {
|
|
68767
68973
|
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
68768
68974
|
}
|
|
68975
|
+
f = message.getNodepoolId();
|
|
68976
|
+
if (f.length > 0) {
|
|
68977
|
+
writer.writeString(2, f);
|
|
68978
|
+
}
|
|
68769
68979
|
f = message.getIdsList();
|
|
68770
68980
|
if (f.length > 0) {
|
|
68771
|
-
writer.writeRepeatedString(
|
|
68981
|
+
writer.writeRepeatedString(3, f);
|
|
68772
68982
|
}
|
|
68773
68983
|
};
|
|
68774
68984
|
/**
|
|
@@ -68800,18 +69010,32 @@ proto.clarifai.api.DeleteRunnersRequest.prototype.hasUserAppId = function () {
|
|
|
68800
69010
|
return jspb.Message.getField(this, 1) != null;
|
|
68801
69011
|
};
|
|
68802
69012
|
/**
|
|
68803
|
-
*
|
|
69013
|
+
* optional string nodepool_id = 2;
|
|
69014
|
+
* @return {string}
|
|
69015
|
+
*/
|
|
69016
|
+
proto.clarifai.api.DeleteRunnersRequest.prototype.getNodepoolId = function () {
|
|
69017
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
69018
|
+
};
|
|
69019
|
+
/**
|
|
69020
|
+
* @param {string} value
|
|
69021
|
+
* @return {!proto.clarifai.api.DeleteRunnersRequest} returns this
|
|
69022
|
+
*/
|
|
69023
|
+
proto.clarifai.api.DeleteRunnersRequest.prototype.setNodepoolId = function (value) {
|
|
69024
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
69025
|
+
};
|
|
69026
|
+
/**
|
|
69027
|
+
* repeated string ids = 3;
|
|
68804
69028
|
* @return {!Array<string>}
|
|
68805
69029
|
*/
|
|
68806
69030
|
proto.clarifai.api.DeleteRunnersRequest.prototype.getIdsList = function () {
|
|
68807
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this,
|
|
69031
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
68808
69032
|
};
|
|
68809
69033
|
/**
|
|
68810
69034
|
* @param {!Array<string>} value
|
|
68811
69035
|
* @return {!proto.clarifai.api.DeleteRunnersRequest} returns this
|
|
68812
69036
|
*/
|
|
68813
69037
|
proto.clarifai.api.DeleteRunnersRequest.prototype.setIdsList = function (value) {
|
|
68814
|
-
return jspb.Message.setField(this,
|
|
69038
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
68815
69039
|
};
|
|
68816
69040
|
/**
|
|
68817
69041
|
* @param {string} value
|
|
@@ -68819,7 +69043,7 @@ proto.clarifai.api.DeleteRunnersRequest.prototype.setIdsList = function (value)
|
|
|
68819
69043
|
* @return {!proto.clarifai.api.DeleteRunnersRequest} returns this
|
|
68820
69044
|
*/
|
|
68821
69045
|
proto.clarifai.api.DeleteRunnersRequest.prototype.addIds = function (value, opt_index) {
|
|
68822
|
-
return jspb.Message.addToRepeatedField(this,
|
|
69046
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
68823
69047
|
};
|
|
68824
69048
|
/**
|
|
68825
69049
|
* Clears the list making it empty but non-null.
|
|
@@ -69183,7 +69407,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
69183
69407
|
proto.clarifai.api.ListRunnerItemsRequest.toObject = function (includeInstance, msg) {
|
|
69184
69408
|
var f, obj = {
|
|
69185
69409
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
69186
|
-
|
|
69410
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
69411
|
+
runnerId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
69187
69412
|
};
|
|
69188
69413
|
if (includeInstance) {
|
|
69189
69414
|
obj.$jspbMessageInstance = msg;
|
|
@@ -69221,6 +69446,10 @@ proto.clarifai.api.ListRunnerItemsRequest.deserializeBinaryFromReader = function
|
|
|
69221
69446
|
msg.setUserAppId(value);
|
|
69222
69447
|
break;
|
|
69223
69448
|
case 2:
|
|
69449
|
+
var value = /** @type {string} */ (reader.readString());
|
|
69450
|
+
msg.setNodepoolId(value);
|
|
69451
|
+
break;
|
|
69452
|
+
case 3:
|
|
69224
69453
|
var value = /** @type {string} */ (reader.readString());
|
|
69225
69454
|
msg.setRunnerId(value);
|
|
69226
69455
|
break;
|
|
@@ -69253,10 +69482,14 @@ proto.clarifai.api.ListRunnerItemsRequest.serializeBinaryToWriter = function (me
|
|
|
69253
69482
|
if (f != null) {
|
|
69254
69483
|
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
69255
69484
|
}
|
|
69256
|
-
f = message.
|
|
69485
|
+
f = message.getNodepoolId();
|
|
69257
69486
|
if (f.length > 0) {
|
|
69258
69487
|
writer.writeString(2, f);
|
|
69259
69488
|
}
|
|
69489
|
+
f = message.getRunnerId();
|
|
69490
|
+
if (f.length > 0) {
|
|
69491
|
+
writer.writeString(3, f);
|
|
69492
|
+
}
|
|
69260
69493
|
};
|
|
69261
69494
|
/**
|
|
69262
69495
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -69287,25 +69520,39 @@ proto.clarifai.api.ListRunnerItemsRequest.prototype.hasUserAppId = function () {
|
|
|
69287
69520
|
return jspb.Message.getField(this, 1) != null;
|
|
69288
69521
|
};
|
|
69289
69522
|
/**
|
|
69290
|
-
* optional string
|
|
69523
|
+
* optional string nodepool_id = 2;
|
|
69291
69524
|
* @return {string}
|
|
69292
69525
|
*/
|
|
69293
|
-
proto.clarifai.api.ListRunnerItemsRequest.prototype.
|
|
69526
|
+
proto.clarifai.api.ListRunnerItemsRequest.prototype.getNodepoolId = function () {
|
|
69294
69527
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
69295
69528
|
};
|
|
69296
69529
|
/**
|
|
69297
69530
|
* @param {string} value
|
|
69298
69531
|
* @return {!proto.clarifai.api.ListRunnerItemsRequest} returns this
|
|
69299
69532
|
*/
|
|
69300
|
-
proto.clarifai.api.ListRunnerItemsRequest.prototype.
|
|
69533
|
+
proto.clarifai.api.ListRunnerItemsRequest.prototype.setNodepoolId = function (value) {
|
|
69301
69534
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
69302
69535
|
};
|
|
69536
|
+
/**
|
|
69537
|
+
* optional string runner_id = 3;
|
|
69538
|
+
* @return {string}
|
|
69539
|
+
*/
|
|
69540
|
+
proto.clarifai.api.ListRunnerItemsRequest.prototype.getRunnerId = function () {
|
|
69541
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
69542
|
+
};
|
|
69543
|
+
/**
|
|
69544
|
+
* @param {string} value
|
|
69545
|
+
* @return {!proto.clarifai.api.ListRunnerItemsRequest} returns this
|
|
69546
|
+
*/
|
|
69547
|
+
proto.clarifai.api.ListRunnerItemsRequest.prototype.setRunnerId = function (value) {
|
|
69548
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
69549
|
+
};
|
|
69303
69550
|
/**
|
|
69304
69551
|
* List of repeated fields within this message type.
|
|
69305
69552
|
* @private {!Array<number>}
|
|
69306
69553
|
* @const
|
|
69307
69554
|
*/
|
|
69308
|
-
proto.clarifai.api.PostRunnerItemOutputsRequest.repeatedFields_ = [
|
|
69555
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.repeatedFields_ = [5];
|
|
69309
69556
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
69310
69557
|
/**
|
|
69311
69558
|
* Creates an object representation of this proto.
|
|
@@ -69334,8 +69581,9 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
69334
69581
|
proto.clarifai.api.PostRunnerItemOutputsRequest.toObject = function (includeInstance, msg) {
|
|
69335
69582
|
var f, obj = {
|
|
69336
69583
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
69337
|
-
|
|
69338
|
-
|
|
69584
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
69585
|
+
runnerId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
69586
|
+
runnerItemId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
69339
69587
|
runnerItemOutputsList: jspb.Message.toObjectList(msg.getRunnerItemOutputsList(), proto.clarifai.api.RunnerItemOutput.toObject, includeInstance),
|
|
69340
69588
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f)
|
|
69341
69589
|
};
|
|
@@ -69376,18 +69624,22 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.deserializeBinaryFromReader = fu
|
|
|
69376
69624
|
break;
|
|
69377
69625
|
case 2:
|
|
69378
69626
|
var value = /** @type {string} */ (reader.readString());
|
|
69379
|
-
msg.
|
|
69627
|
+
msg.setNodepoolId(value);
|
|
69380
69628
|
break;
|
|
69381
69629
|
case 3:
|
|
69382
69630
|
var value = /** @type {string} */ (reader.readString());
|
|
69383
|
-
msg.
|
|
69631
|
+
msg.setRunnerId(value);
|
|
69384
69632
|
break;
|
|
69385
69633
|
case 4:
|
|
69634
|
+
var value = /** @type {string} */ (reader.readString());
|
|
69635
|
+
msg.setRunnerItemId(value);
|
|
69636
|
+
break;
|
|
69637
|
+
case 5:
|
|
69386
69638
|
var value = new proto.clarifai.api.RunnerItemOutput;
|
|
69387
69639
|
reader.readMessage(value, proto.clarifai.api.RunnerItemOutput.deserializeBinaryFromReader);
|
|
69388
69640
|
msg.addRunnerItemOutputs(value);
|
|
69389
69641
|
break;
|
|
69390
|
-
case
|
|
69642
|
+
case 6:
|
|
69391
69643
|
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
69392
69644
|
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
69393
69645
|
msg.setStatus(value);
|
|
@@ -69421,21 +69673,25 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.serializeBinaryToWriter = functi
|
|
|
69421
69673
|
if (f != null) {
|
|
69422
69674
|
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
69423
69675
|
}
|
|
69424
|
-
f = message.
|
|
69676
|
+
f = message.getNodepoolId();
|
|
69425
69677
|
if (f.length > 0) {
|
|
69426
69678
|
writer.writeString(2, f);
|
|
69427
69679
|
}
|
|
69428
|
-
f = message.
|
|
69680
|
+
f = message.getRunnerId();
|
|
69429
69681
|
if (f.length > 0) {
|
|
69430
69682
|
writer.writeString(3, f);
|
|
69431
69683
|
}
|
|
69684
|
+
f = message.getRunnerItemId();
|
|
69685
|
+
if (f.length > 0) {
|
|
69686
|
+
writer.writeString(4, f);
|
|
69687
|
+
}
|
|
69432
69688
|
f = message.getRunnerItemOutputsList();
|
|
69433
69689
|
if (f.length > 0) {
|
|
69434
|
-
writer.writeRepeatedMessage(
|
|
69690
|
+
writer.writeRepeatedMessage(5, f, proto.clarifai.api.RunnerItemOutput.serializeBinaryToWriter);
|
|
69435
69691
|
}
|
|
69436
69692
|
f = message.getStatus();
|
|
69437
69693
|
if (f != null) {
|
|
69438
|
-
writer.writeMessage(
|
|
69694
|
+
writer.writeMessage(6, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
69439
69695
|
}
|
|
69440
69696
|
};
|
|
69441
69697
|
/**
|
|
@@ -69467,46 +69723,60 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.hasUserAppId = functio
|
|
|
69467
69723
|
return jspb.Message.getField(this, 1) != null;
|
|
69468
69724
|
};
|
|
69469
69725
|
/**
|
|
69470
|
-
* optional string
|
|
69726
|
+
* optional string nodepool_id = 2;
|
|
69471
69727
|
* @return {string}
|
|
69472
69728
|
*/
|
|
69473
|
-
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.
|
|
69729
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getNodepoolId = function () {
|
|
69474
69730
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
69475
69731
|
};
|
|
69476
69732
|
/**
|
|
69477
69733
|
* @param {string} value
|
|
69478
69734
|
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
69479
69735
|
*/
|
|
69480
|
-
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.
|
|
69736
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setNodepoolId = function (value) {
|
|
69481
69737
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
69482
69738
|
};
|
|
69483
69739
|
/**
|
|
69484
|
-
* optional string
|
|
69740
|
+
* optional string runner_id = 3;
|
|
69485
69741
|
* @return {string}
|
|
69486
69742
|
*/
|
|
69487
|
-
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.
|
|
69743
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRunnerId = function () {
|
|
69488
69744
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
69489
69745
|
};
|
|
69490
69746
|
/**
|
|
69491
69747
|
* @param {string} value
|
|
69492
69748
|
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
69493
69749
|
*/
|
|
69494
|
-
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.
|
|
69750
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRunnerId = function (value) {
|
|
69495
69751
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
69496
69752
|
};
|
|
69497
69753
|
/**
|
|
69498
|
-
*
|
|
69754
|
+
* optional string runner_item_id = 4;
|
|
69755
|
+
* @return {string}
|
|
69756
|
+
*/
|
|
69757
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRunnerItemId = function () {
|
|
69758
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
69759
|
+
};
|
|
69760
|
+
/**
|
|
69761
|
+
* @param {string} value
|
|
69762
|
+
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
69763
|
+
*/
|
|
69764
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRunnerItemId = function (value) {
|
|
69765
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
69766
|
+
};
|
|
69767
|
+
/**
|
|
69768
|
+
* repeated RunnerItemOutput runner_item_outputs = 5;
|
|
69499
69769
|
* @return {!Array<!proto.clarifai.api.RunnerItemOutput>}
|
|
69500
69770
|
*/
|
|
69501
69771
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRunnerItemOutputsList = function () {
|
|
69502
|
-
return /** @type{!Array<!proto.clarifai.api.RunnerItemOutput>} */ (jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.RunnerItemOutput,
|
|
69772
|
+
return /** @type{!Array<!proto.clarifai.api.RunnerItemOutput>} */ (jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.RunnerItemOutput, 5));
|
|
69503
69773
|
};
|
|
69504
69774
|
/**
|
|
69505
69775
|
* @param {!Array<!proto.clarifai.api.RunnerItemOutput>} value
|
|
69506
69776
|
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
69507
69777
|
*/
|
|
69508
69778
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRunnerItemOutputsList = function (value) {
|
|
69509
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
69779
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
69510
69780
|
};
|
|
69511
69781
|
/**
|
|
69512
69782
|
* @param {!proto.clarifai.api.RunnerItemOutput=} opt_value
|
|
@@ -69514,7 +69784,7 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRunnerItemOutputsLi
|
|
|
69514
69784
|
* @return {!proto.clarifai.api.RunnerItemOutput}
|
|
69515
69785
|
*/
|
|
69516
69786
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.addRunnerItemOutputs = function (opt_value, opt_index) {
|
|
69517
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
69787
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.clarifai.api.RunnerItemOutput, opt_index);
|
|
69518
69788
|
};
|
|
69519
69789
|
/**
|
|
69520
69790
|
* Clears the list making it empty but non-null.
|
|
@@ -69524,18 +69794,18 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.clearRunnerItemOutputs
|
|
|
69524
69794
|
return this.setRunnerItemOutputsList([]);
|
|
69525
69795
|
};
|
|
69526
69796
|
/**
|
|
69527
|
-
* optional status.Status status =
|
|
69797
|
+
* optional status.Status status = 6;
|
|
69528
69798
|
* @return {?proto.clarifai.api.status.Status}
|
|
69529
69799
|
*/
|
|
69530
69800
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getStatus = function () {
|
|
69531
|
-
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status,
|
|
69801
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 6));
|
|
69532
69802
|
};
|
|
69533
69803
|
/**
|
|
69534
69804
|
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
69535
69805
|
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
69536
69806
|
*/
|
|
69537
69807
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setStatus = function (value) {
|
|
69538
|
-
return jspb.Message.setWrapperField(this,
|
|
69808
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
69539
69809
|
};
|
|
69540
69810
|
/**
|
|
69541
69811
|
* Clears the message field making it undefined.
|
|
@@ -69549,7 +69819,7 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.clearStatus = function
|
|
|
69549
69819
|
* @return {boolean}
|
|
69550
69820
|
*/
|
|
69551
69821
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.hasStatus = function () {
|
|
69552
|
-
return jspb.Message.getField(this,
|
|
69822
|
+
return jspb.Message.getField(this, 6) != null;
|
|
69553
69823
|
};
|
|
69554
69824
|
/**
|
|
69555
69825
|
* List of repeated fields within this message type.
|
|
@@ -70650,22 +70920,22 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
70650
70920
|
* http://goto/soy-param-migration
|
|
70651
70921
|
* @return {!Object}
|
|
70652
70922
|
*/
|
|
70653
|
-
proto.clarifai.api.
|
|
70654
|
-
return proto.clarifai.api.
|
|
70923
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.toObject = function (opt_includeInstance) {
|
|
70924
|
+
return proto.clarifai.api.GetComputeClusterRequest.toObject(opt_includeInstance, this);
|
|
70655
70925
|
};
|
|
70656
70926
|
/**
|
|
70657
70927
|
* Static version of the {@see toObject} method.
|
|
70658
70928
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
70659
70929
|
* the JSPB instance for transitional soy proto support:
|
|
70660
70930
|
* http://goto/soy-param-migration
|
|
70661
|
-
* @param {!proto.clarifai.api.
|
|
70931
|
+
* @param {!proto.clarifai.api.GetComputeClusterRequest} msg The msg instance to transform.
|
|
70662
70932
|
* @return {!Object}
|
|
70663
70933
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
70664
70934
|
*/
|
|
70665
|
-
proto.clarifai.api.
|
|
70935
|
+
proto.clarifai.api.GetComputeClusterRequest.toObject = function (includeInstance, msg) {
|
|
70666
70936
|
var f, obj = {
|
|
70667
70937
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
70668
|
-
|
|
70938
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
70669
70939
|
};
|
|
70670
70940
|
if (includeInstance) {
|
|
70671
70941
|
obj.$jspbMessageInstance = msg;
|
|
@@ -70676,21 +70946,21 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
70676
70946
|
/**
|
|
70677
70947
|
* Deserializes binary data (in protobuf wire format).
|
|
70678
70948
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
70679
|
-
* @return {!proto.clarifai.api.
|
|
70949
|
+
* @return {!proto.clarifai.api.GetComputeClusterRequest}
|
|
70680
70950
|
*/
|
|
70681
|
-
proto.clarifai.api.
|
|
70951
|
+
proto.clarifai.api.GetComputeClusterRequest.deserializeBinary = function (bytes) {
|
|
70682
70952
|
var reader = new jspb.BinaryReader(bytes);
|
|
70683
|
-
var msg = new proto.clarifai.api.
|
|
70684
|
-
return proto.clarifai.api.
|
|
70953
|
+
var msg = new proto.clarifai.api.GetComputeClusterRequest;
|
|
70954
|
+
return proto.clarifai.api.GetComputeClusterRequest.deserializeBinaryFromReader(msg, reader);
|
|
70685
70955
|
};
|
|
70686
70956
|
/**
|
|
70687
70957
|
* Deserializes binary data (in protobuf wire format) from the
|
|
70688
70958
|
* given reader into the given message object.
|
|
70689
|
-
* @param {!proto.clarifai.api.
|
|
70959
|
+
* @param {!proto.clarifai.api.GetComputeClusterRequest} msg The message object to deserialize into.
|
|
70690
70960
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
70691
|
-
* @return {!proto.clarifai.api.
|
|
70961
|
+
* @return {!proto.clarifai.api.GetComputeClusterRequest}
|
|
70692
70962
|
*/
|
|
70693
|
-
proto.clarifai.api.
|
|
70963
|
+
proto.clarifai.api.GetComputeClusterRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
70694
70964
|
while (reader.nextField()) {
|
|
70695
70965
|
if (reader.isEndGroup()) {
|
|
70696
70966
|
break;
|
|
@@ -70704,7 +70974,7 @@ proto.clarifai.api.GetNodepoolRequest.deserializeBinaryFromReader = function (ms
|
|
|
70704
70974
|
break;
|
|
70705
70975
|
case 2:
|
|
70706
70976
|
var value = /** @type {string} */ (reader.readString());
|
|
70707
|
-
msg.
|
|
70977
|
+
msg.setComputeClusterId(value);
|
|
70708
70978
|
break;
|
|
70709
70979
|
default:
|
|
70710
70980
|
reader.skipField();
|
|
@@ -70717,25 +70987,25 @@ proto.clarifai.api.GetNodepoolRequest.deserializeBinaryFromReader = function (ms
|
|
|
70717
70987
|
* Serializes the message to binary data (in protobuf wire format).
|
|
70718
70988
|
* @return {!Uint8Array}
|
|
70719
70989
|
*/
|
|
70720
|
-
proto.clarifai.api.
|
|
70990
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.serializeBinary = function () {
|
|
70721
70991
|
var writer = new jspb.BinaryWriter();
|
|
70722
|
-
proto.clarifai.api.
|
|
70992
|
+
proto.clarifai.api.GetComputeClusterRequest.serializeBinaryToWriter(this, writer);
|
|
70723
70993
|
return writer.getResultBuffer();
|
|
70724
70994
|
};
|
|
70725
70995
|
/**
|
|
70726
70996
|
* Serializes the given message to binary data (in protobuf wire
|
|
70727
70997
|
* format), writing to the given BinaryWriter.
|
|
70728
|
-
* @param {!proto.clarifai.api.
|
|
70998
|
+
* @param {!proto.clarifai.api.GetComputeClusterRequest} message
|
|
70729
70999
|
* @param {!jspb.BinaryWriter} writer
|
|
70730
71000
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
70731
71001
|
*/
|
|
70732
|
-
proto.clarifai.api.
|
|
71002
|
+
proto.clarifai.api.GetComputeClusterRequest.serializeBinaryToWriter = function (message, writer) {
|
|
70733
71003
|
var f = undefined;
|
|
70734
71004
|
f = message.getUserAppId();
|
|
70735
71005
|
if (f != null) {
|
|
70736
71006
|
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
70737
71007
|
}
|
|
70738
|
-
f = message.
|
|
71008
|
+
f = message.getComputeClusterId();
|
|
70739
71009
|
if (f.length > 0) {
|
|
70740
71010
|
writer.writeString(2, f);
|
|
70741
71011
|
}
|
|
@@ -70744,42 +71014,42 @@ proto.clarifai.api.GetNodepoolRequest.serializeBinaryToWriter = function (messag
|
|
|
70744
71014
|
* optional UserAppIDSet user_app_id = 1;
|
|
70745
71015
|
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
70746
71016
|
*/
|
|
70747
|
-
proto.clarifai.api.
|
|
71017
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.getUserAppId = function () {
|
|
70748
71018
|
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
70749
71019
|
};
|
|
70750
71020
|
/**
|
|
70751
71021
|
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
70752
|
-
* @return {!proto.clarifai.api.
|
|
71022
|
+
* @return {!proto.clarifai.api.GetComputeClusterRequest} returns this
|
|
70753
71023
|
*/
|
|
70754
|
-
proto.clarifai.api.
|
|
71024
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.setUserAppId = function (value) {
|
|
70755
71025
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
70756
71026
|
};
|
|
70757
71027
|
/**
|
|
70758
71028
|
* Clears the message field making it undefined.
|
|
70759
|
-
* @return {!proto.clarifai.api.
|
|
71029
|
+
* @return {!proto.clarifai.api.GetComputeClusterRequest} returns this
|
|
70760
71030
|
*/
|
|
70761
|
-
proto.clarifai.api.
|
|
71031
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.clearUserAppId = function () {
|
|
70762
71032
|
return this.setUserAppId(undefined);
|
|
70763
71033
|
};
|
|
70764
71034
|
/**
|
|
70765
71035
|
* Returns whether this field is set.
|
|
70766
71036
|
* @return {boolean}
|
|
70767
71037
|
*/
|
|
70768
|
-
proto.clarifai.api.
|
|
71038
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.hasUserAppId = function () {
|
|
70769
71039
|
return jspb.Message.getField(this, 1) != null;
|
|
70770
71040
|
};
|
|
70771
71041
|
/**
|
|
70772
|
-
* optional string
|
|
71042
|
+
* optional string compute_cluster_id = 2;
|
|
70773
71043
|
* @return {string}
|
|
70774
71044
|
*/
|
|
70775
|
-
proto.clarifai.api.
|
|
71045
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.getComputeClusterId = function () {
|
|
70776
71046
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
70777
71047
|
};
|
|
70778
71048
|
/**
|
|
70779
71049
|
* @param {string} value
|
|
70780
|
-
* @return {!proto.clarifai.api.
|
|
71050
|
+
* @return {!proto.clarifai.api.GetComputeClusterRequest} returns this
|
|
70781
71051
|
*/
|
|
70782
|
-
proto.clarifai.api.
|
|
71052
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.setComputeClusterId = function (value) {
|
|
70783
71053
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
70784
71054
|
};
|
|
70785
71055
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -70795,19 +71065,19 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
70795
71065
|
* http://goto/soy-param-migration
|
|
70796
71066
|
* @return {!Object}
|
|
70797
71067
|
*/
|
|
70798
|
-
proto.clarifai.api.
|
|
70799
|
-
return proto.clarifai.api.
|
|
71068
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.toObject = function (opt_includeInstance) {
|
|
71069
|
+
return proto.clarifai.api.ListComputeClustersRequest.toObject(opt_includeInstance, this);
|
|
70800
71070
|
};
|
|
70801
71071
|
/**
|
|
70802
71072
|
* Static version of the {@see toObject} method.
|
|
70803
71073
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
70804
71074
|
* the JSPB instance for transitional soy proto support:
|
|
70805
71075
|
* http://goto/soy-param-migration
|
|
70806
|
-
* @param {!proto.clarifai.api.
|
|
71076
|
+
* @param {!proto.clarifai.api.ListComputeClustersRequest} msg The msg instance to transform.
|
|
70807
71077
|
* @return {!Object}
|
|
70808
71078
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
70809
71079
|
*/
|
|
70810
|
-
proto.clarifai.api.
|
|
71080
|
+
proto.clarifai.api.ListComputeClustersRequest.toObject = function (includeInstance, msg) {
|
|
70811
71081
|
var f, obj = {
|
|
70812
71082
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
70813
71083
|
page: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
@@ -70822,21 +71092,21 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
70822
71092
|
/**
|
|
70823
71093
|
* Deserializes binary data (in protobuf wire format).
|
|
70824
71094
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
70825
|
-
* @return {!proto.clarifai.api.
|
|
71095
|
+
* @return {!proto.clarifai.api.ListComputeClustersRequest}
|
|
70826
71096
|
*/
|
|
70827
|
-
proto.clarifai.api.
|
|
71097
|
+
proto.clarifai.api.ListComputeClustersRequest.deserializeBinary = function (bytes) {
|
|
70828
71098
|
var reader = new jspb.BinaryReader(bytes);
|
|
70829
|
-
var msg = new proto.clarifai.api.
|
|
70830
|
-
return proto.clarifai.api.
|
|
71099
|
+
var msg = new proto.clarifai.api.ListComputeClustersRequest;
|
|
71100
|
+
return proto.clarifai.api.ListComputeClustersRequest.deserializeBinaryFromReader(msg, reader);
|
|
70831
71101
|
};
|
|
70832
71102
|
/**
|
|
70833
71103
|
* Deserializes binary data (in protobuf wire format) from the
|
|
70834
71104
|
* given reader into the given message object.
|
|
70835
|
-
* @param {!proto.clarifai.api.
|
|
71105
|
+
* @param {!proto.clarifai.api.ListComputeClustersRequest} msg The message object to deserialize into.
|
|
70836
71106
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
70837
|
-
* @return {!proto.clarifai.api.
|
|
71107
|
+
* @return {!proto.clarifai.api.ListComputeClustersRequest}
|
|
70838
71108
|
*/
|
|
70839
|
-
proto.clarifai.api.
|
|
71109
|
+
proto.clarifai.api.ListComputeClustersRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
70840
71110
|
while (reader.nextField()) {
|
|
70841
71111
|
if (reader.isEndGroup()) {
|
|
70842
71112
|
break;
|
|
@@ -70867,19 +71137,19 @@ proto.clarifai.api.ListNodepoolsRequest.deserializeBinaryFromReader = function (
|
|
|
70867
71137
|
* Serializes the message to binary data (in protobuf wire format).
|
|
70868
71138
|
* @return {!Uint8Array}
|
|
70869
71139
|
*/
|
|
70870
|
-
proto.clarifai.api.
|
|
71140
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.serializeBinary = function () {
|
|
70871
71141
|
var writer = new jspb.BinaryWriter();
|
|
70872
|
-
proto.clarifai.api.
|
|
71142
|
+
proto.clarifai.api.ListComputeClustersRequest.serializeBinaryToWriter(this, writer);
|
|
70873
71143
|
return writer.getResultBuffer();
|
|
70874
71144
|
};
|
|
70875
71145
|
/**
|
|
70876
71146
|
* Serializes the given message to binary data (in protobuf wire
|
|
70877
71147
|
* format), writing to the given BinaryWriter.
|
|
70878
|
-
* @param {!proto.clarifai.api.
|
|
71148
|
+
* @param {!proto.clarifai.api.ListComputeClustersRequest} message
|
|
70879
71149
|
* @param {!jspb.BinaryWriter} writer
|
|
70880
71150
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
70881
71151
|
*/
|
|
70882
|
-
proto.clarifai.api.
|
|
71152
|
+
proto.clarifai.api.ListComputeClustersRequest.serializeBinaryToWriter = function (message, writer) {
|
|
70883
71153
|
var f = undefined;
|
|
70884
71154
|
f = message.getUserAppId();
|
|
70885
71155
|
if (f != null) {
|
|
@@ -70898,56 +71168,56 @@ proto.clarifai.api.ListNodepoolsRequest.serializeBinaryToWriter = function (mess
|
|
|
70898
71168
|
* optional UserAppIDSet user_app_id = 1;
|
|
70899
71169
|
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
70900
71170
|
*/
|
|
70901
|
-
proto.clarifai.api.
|
|
71171
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.getUserAppId = function () {
|
|
70902
71172
|
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
70903
71173
|
};
|
|
70904
71174
|
/**
|
|
70905
71175
|
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
70906
|
-
* @return {!proto.clarifai.api.
|
|
71176
|
+
* @return {!proto.clarifai.api.ListComputeClustersRequest} returns this
|
|
70907
71177
|
*/
|
|
70908
|
-
proto.clarifai.api.
|
|
71178
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.setUserAppId = function (value) {
|
|
70909
71179
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
70910
71180
|
};
|
|
70911
71181
|
/**
|
|
70912
71182
|
* Clears the message field making it undefined.
|
|
70913
|
-
* @return {!proto.clarifai.api.
|
|
71183
|
+
* @return {!proto.clarifai.api.ListComputeClustersRequest} returns this
|
|
70914
71184
|
*/
|
|
70915
|
-
proto.clarifai.api.
|
|
71185
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.clearUserAppId = function () {
|
|
70916
71186
|
return this.setUserAppId(undefined);
|
|
70917
71187
|
};
|
|
70918
71188
|
/**
|
|
70919
71189
|
* Returns whether this field is set.
|
|
70920
71190
|
* @return {boolean}
|
|
70921
71191
|
*/
|
|
70922
|
-
proto.clarifai.api.
|
|
71192
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.hasUserAppId = function () {
|
|
70923
71193
|
return jspb.Message.getField(this, 1) != null;
|
|
70924
71194
|
};
|
|
70925
71195
|
/**
|
|
70926
71196
|
* optional uint32 page = 2;
|
|
70927
71197
|
* @return {number}
|
|
70928
71198
|
*/
|
|
70929
|
-
proto.clarifai.api.
|
|
71199
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.getPage = function () {
|
|
70930
71200
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
70931
71201
|
};
|
|
70932
71202
|
/**
|
|
70933
71203
|
* @param {number} value
|
|
70934
|
-
* @return {!proto.clarifai.api.
|
|
71204
|
+
* @return {!proto.clarifai.api.ListComputeClustersRequest} returns this
|
|
70935
71205
|
*/
|
|
70936
|
-
proto.clarifai.api.
|
|
71206
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.setPage = function (value) {
|
|
70937
71207
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
70938
71208
|
};
|
|
70939
71209
|
/**
|
|
70940
71210
|
* optional uint32 per_page = 3;
|
|
70941
71211
|
* @return {number}
|
|
70942
71212
|
*/
|
|
70943
|
-
proto.clarifai.api.
|
|
71213
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.getPerPage = function () {
|
|
70944
71214
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
70945
71215
|
};
|
|
70946
71216
|
/**
|
|
70947
71217
|
* @param {number} value
|
|
70948
|
-
* @return {!proto.clarifai.api.
|
|
71218
|
+
* @return {!proto.clarifai.api.ListComputeClustersRequest} returns this
|
|
70949
71219
|
*/
|
|
70950
|
-
proto.clarifai.api.
|
|
71220
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.setPerPage = function (value) {
|
|
70951
71221
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
70952
71222
|
};
|
|
70953
71223
|
/**
|
|
@@ -70955,7 +71225,7 @@ proto.clarifai.api.ListNodepoolsRequest.prototype.setPerPage = function (value)
|
|
|
70955
71225
|
* @private {!Array<number>}
|
|
70956
71226
|
* @const
|
|
70957
71227
|
*/
|
|
70958
|
-
proto.clarifai.api.
|
|
71228
|
+
proto.clarifai.api.PostComputeClustersRequest.repeatedFields_ = [2];
|
|
70959
71229
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
70960
71230
|
/**
|
|
70961
71231
|
* Creates an object representation of this proto.
|
|
@@ -70969,22 +71239,22 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
70969
71239
|
* http://goto/soy-param-migration
|
|
70970
71240
|
* @return {!Object}
|
|
70971
71241
|
*/
|
|
70972
|
-
proto.clarifai.api.
|
|
70973
|
-
return proto.clarifai.api.
|
|
71242
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.toObject = function (opt_includeInstance) {
|
|
71243
|
+
return proto.clarifai.api.PostComputeClustersRequest.toObject(opt_includeInstance, this);
|
|
70974
71244
|
};
|
|
70975
71245
|
/**
|
|
70976
71246
|
* Static version of the {@see toObject} method.
|
|
70977
71247
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
70978
71248
|
* the JSPB instance for transitional soy proto support:
|
|
70979
71249
|
* http://goto/soy-param-migration
|
|
70980
|
-
* @param {!proto.clarifai.api.
|
|
71250
|
+
* @param {!proto.clarifai.api.PostComputeClustersRequest} msg The msg instance to transform.
|
|
70981
71251
|
* @return {!Object}
|
|
70982
71252
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
70983
71253
|
*/
|
|
70984
|
-
proto.clarifai.api.
|
|
71254
|
+
proto.clarifai.api.PostComputeClustersRequest.toObject = function (includeInstance, msg) {
|
|
70985
71255
|
var f, obj = {
|
|
70986
71256
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
70987
|
-
|
|
71257
|
+
computeClustersList: jspb.Message.toObjectList(msg.getComputeClustersList(), proto_clarifai_api_resources_pb.ComputeCluster.toObject, includeInstance)
|
|
70988
71258
|
};
|
|
70989
71259
|
if (includeInstance) {
|
|
70990
71260
|
obj.$jspbMessageInstance = msg;
|
|
@@ -70995,21 +71265,21 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
70995
71265
|
/**
|
|
70996
71266
|
* Deserializes binary data (in protobuf wire format).
|
|
70997
71267
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
70998
|
-
* @return {!proto.clarifai.api.
|
|
71268
|
+
* @return {!proto.clarifai.api.PostComputeClustersRequest}
|
|
70999
71269
|
*/
|
|
71000
|
-
proto.clarifai.api.
|
|
71270
|
+
proto.clarifai.api.PostComputeClustersRequest.deserializeBinary = function (bytes) {
|
|
71001
71271
|
var reader = new jspb.BinaryReader(bytes);
|
|
71002
|
-
var msg = new proto.clarifai.api.
|
|
71003
|
-
return proto.clarifai.api.
|
|
71272
|
+
var msg = new proto.clarifai.api.PostComputeClustersRequest;
|
|
71273
|
+
return proto.clarifai.api.PostComputeClustersRequest.deserializeBinaryFromReader(msg, reader);
|
|
71004
71274
|
};
|
|
71005
71275
|
/**
|
|
71006
71276
|
* Deserializes binary data (in protobuf wire format) from the
|
|
71007
71277
|
* given reader into the given message object.
|
|
71008
|
-
* @param {!proto.clarifai.api.
|
|
71278
|
+
* @param {!proto.clarifai.api.PostComputeClustersRequest} msg The message object to deserialize into.
|
|
71009
71279
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
71010
|
-
* @return {!proto.clarifai.api.
|
|
71280
|
+
* @return {!proto.clarifai.api.PostComputeClustersRequest}
|
|
71011
71281
|
*/
|
|
71012
|
-
proto.clarifai.api.
|
|
71282
|
+
proto.clarifai.api.PostComputeClustersRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
71013
71283
|
while (reader.nextField()) {
|
|
71014
71284
|
if (reader.isEndGroup()) {
|
|
71015
71285
|
break;
|
|
@@ -71022,9 +71292,9 @@ proto.clarifai.api.PostNodepoolsRequest.deserializeBinaryFromReader = function (
|
|
|
71022
71292
|
msg.setUserAppId(value);
|
|
71023
71293
|
break;
|
|
71024
71294
|
case 2:
|
|
71025
|
-
var value = new proto_clarifai_api_resources_pb.
|
|
71026
|
-
reader.readMessage(value, proto_clarifai_api_resources_pb.
|
|
71027
|
-
msg.
|
|
71295
|
+
var value = new proto_clarifai_api_resources_pb.ComputeCluster;
|
|
71296
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.ComputeCluster.deserializeBinaryFromReader);
|
|
71297
|
+
msg.addComputeClusters(value);
|
|
71028
71298
|
break;
|
|
71029
71299
|
default:
|
|
71030
71300
|
reader.skipField();
|
|
@@ -71037,92 +71307,92 @@ proto.clarifai.api.PostNodepoolsRequest.deserializeBinaryFromReader = function (
|
|
|
71037
71307
|
* Serializes the message to binary data (in protobuf wire format).
|
|
71038
71308
|
* @return {!Uint8Array}
|
|
71039
71309
|
*/
|
|
71040
|
-
proto.clarifai.api.
|
|
71310
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.serializeBinary = function () {
|
|
71041
71311
|
var writer = new jspb.BinaryWriter();
|
|
71042
|
-
proto.clarifai.api.
|
|
71312
|
+
proto.clarifai.api.PostComputeClustersRequest.serializeBinaryToWriter(this, writer);
|
|
71043
71313
|
return writer.getResultBuffer();
|
|
71044
71314
|
};
|
|
71045
71315
|
/**
|
|
71046
71316
|
* Serializes the given message to binary data (in protobuf wire
|
|
71047
71317
|
* format), writing to the given BinaryWriter.
|
|
71048
|
-
* @param {!proto.clarifai.api.
|
|
71318
|
+
* @param {!proto.clarifai.api.PostComputeClustersRequest} message
|
|
71049
71319
|
* @param {!jspb.BinaryWriter} writer
|
|
71050
71320
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71051
71321
|
*/
|
|
71052
|
-
proto.clarifai.api.
|
|
71322
|
+
proto.clarifai.api.PostComputeClustersRequest.serializeBinaryToWriter = function (message, writer) {
|
|
71053
71323
|
var f = undefined;
|
|
71054
71324
|
f = message.getUserAppId();
|
|
71055
71325
|
if (f != null) {
|
|
71056
71326
|
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
71057
71327
|
}
|
|
71058
|
-
f = message.
|
|
71328
|
+
f = message.getComputeClustersList();
|
|
71059
71329
|
if (f.length > 0) {
|
|
71060
|
-
writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.
|
|
71330
|
+
writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.ComputeCluster.serializeBinaryToWriter);
|
|
71061
71331
|
}
|
|
71062
71332
|
};
|
|
71063
71333
|
/**
|
|
71064
71334
|
* optional UserAppIDSet user_app_id = 1;
|
|
71065
71335
|
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
71066
71336
|
*/
|
|
71067
|
-
proto.clarifai.api.
|
|
71337
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.getUserAppId = function () {
|
|
71068
71338
|
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
71069
71339
|
};
|
|
71070
71340
|
/**
|
|
71071
71341
|
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
71072
|
-
* @return {!proto.clarifai.api.
|
|
71342
|
+
* @return {!proto.clarifai.api.PostComputeClustersRequest} returns this
|
|
71073
71343
|
*/
|
|
71074
|
-
proto.clarifai.api.
|
|
71344
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.setUserAppId = function (value) {
|
|
71075
71345
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
71076
71346
|
};
|
|
71077
71347
|
/**
|
|
71078
71348
|
* Clears the message field making it undefined.
|
|
71079
|
-
* @return {!proto.clarifai.api.
|
|
71349
|
+
* @return {!proto.clarifai.api.PostComputeClustersRequest} returns this
|
|
71080
71350
|
*/
|
|
71081
|
-
proto.clarifai.api.
|
|
71351
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.clearUserAppId = function () {
|
|
71082
71352
|
return this.setUserAppId(undefined);
|
|
71083
71353
|
};
|
|
71084
71354
|
/**
|
|
71085
71355
|
* Returns whether this field is set.
|
|
71086
71356
|
* @return {boolean}
|
|
71087
71357
|
*/
|
|
71088
|
-
proto.clarifai.api.
|
|
71358
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.hasUserAppId = function () {
|
|
71089
71359
|
return jspb.Message.getField(this, 1) != null;
|
|
71090
71360
|
};
|
|
71091
71361
|
/**
|
|
71092
|
-
* repeated
|
|
71093
|
-
* @return {!Array<!proto.clarifai.api.
|
|
71362
|
+
* repeated ComputeCluster compute_clusters = 2;
|
|
71363
|
+
* @return {!Array<!proto.clarifai.api.ComputeCluster>}
|
|
71094
71364
|
*/
|
|
71095
|
-
proto.clarifai.api.
|
|
71096
|
-
return /** @type{!Array<!proto.clarifai.api.
|
|
71365
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.getComputeClustersList = function () {
|
|
71366
|
+
return /** @type{!Array<!proto.clarifai.api.ComputeCluster>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.ComputeCluster, 2));
|
|
71097
71367
|
};
|
|
71098
71368
|
/**
|
|
71099
|
-
* @param {!Array<!proto.clarifai.api.
|
|
71100
|
-
* @return {!proto.clarifai.api.
|
|
71369
|
+
* @param {!Array<!proto.clarifai.api.ComputeCluster>} value
|
|
71370
|
+
* @return {!proto.clarifai.api.PostComputeClustersRequest} returns this
|
|
71101
71371
|
*/
|
|
71102
|
-
proto.clarifai.api.
|
|
71372
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.setComputeClustersList = function (value) {
|
|
71103
71373
|
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
71104
71374
|
};
|
|
71105
71375
|
/**
|
|
71106
|
-
* @param {!proto.clarifai.api.
|
|
71376
|
+
* @param {!proto.clarifai.api.ComputeCluster=} opt_value
|
|
71107
71377
|
* @param {number=} opt_index
|
|
71108
|
-
* @return {!proto.clarifai.api.
|
|
71378
|
+
* @return {!proto.clarifai.api.ComputeCluster}
|
|
71109
71379
|
*/
|
|
71110
|
-
proto.clarifai.api.
|
|
71111
|
-
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.
|
|
71380
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.addComputeClusters = function (opt_value, opt_index) {
|
|
71381
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.ComputeCluster, opt_index);
|
|
71112
71382
|
};
|
|
71113
71383
|
/**
|
|
71114
71384
|
* Clears the list making it empty but non-null.
|
|
71115
|
-
* @return {!proto.clarifai.api.
|
|
71385
|
+
* @return {!proto.clarifai.api.PostComputeClustersRequest} returns this
|
|
71116
71386
|
*/
|
|
71117
|
-
proto.clarifai.api.
|
|
71118
|
-
return this.
|
|
71387
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.clearComputeClustersList = function () {
|
|
71388
|
+
return this.setComputeClustersList([]);
|
|
71119
71389
|
};
|
|
71120
71390
|
/**
|
|
71121
71391
|
* List of repeated fields within this message type.
|
|
71122
71392
|
* @private {!Array<number>}
|
|
71123
71393
|
* @const
|
|
71124
71394
|
*/
|
|
71125
|
-
proto.clarifai.api.
|
|
71395
|
+
proto.clarifai.api.DeleteComputeClustersRequest.repeatedFields_ = [2];
|
|
71126
71396
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
71127
71397
|
/**
|
|
71128
71398
|
* Creates an object representation of this proto.
|
|
@@ -71136,209 +71406,19 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
71136
71406
|
* http://goto/soy-param-migration
|
|
71137
71407
|
* @return {!Object}
|
|
71138
71408
|
*/
|
|
71139
|
-
proto.clarifai.api.
|
|
71140
|
-
return proto.clarifai.api.
|
|
71409
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.toObject = function (opt_includeInstance) {
|
|
71410
|
+
return proto.clarifai.api.DeleteComputeClustersRequest.toObject(opt_includeInstance, this);
|
|
71141
71411
|
};
|
|
71142
71412
|
/**
|
|
71143
71413
|
* Static version of the {@see toObject} method.
|
|
71144
71414
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
71145
71415
|
* the JSPB instance for transitional soy proto support:
|
|
71146
71416
|
* http://goto/soy-param-migration
|
|
71147
|
-
* @param {!proto.clarifai.api.
|
|
71417
|
+
* @param {!proto.clarifai.api.DeleteComputeClustersRequest} msg The msg instance to transform.
|
|
71148
71418
|
* @return {!Object}
|
|
71149
71419
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71150
71420
|
*/
|
|
71151
|
-
proto.clarifai.api.
|
|
71152
|
-
var f, obj = {
|
|
71153
|
-
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
71154
|
-
nodepoolsList: jspb.Message.toObjectList(msg.getNodepoolsList(), proto_clarifai_api_resources_pb.Nodepool.toObject, includeInstance),
|
|
71155
|
-
action: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
71156
|
-
};
|
|
71157
|
-
if (includeInstance) {
|
|
71158
|
-
obj.$jspbMessageInstance = msg;
|
|
71159
|
-
}
|
|
71160
|
-
return obj;
|
|
71161
|
-
};
|
|
71162
|
-
}
|
|
71163
|
-
/**
|
|
71164
|
-
* Deserializes binary data (in protobuf wire format).
|
|
71165
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
71166
|
-
* @return {!proto.clarifai.api.PatchNodepoolsRequest}
|
|
71167
|
-
*/
|
|
71168
|
-
proto.clarifai.api.PatchNodepoolsRequest.deserializeBinary = function (bytes) {
|
|
71169
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
71170
|
-
var msg = new proto.clarifai.api.PatchNodepoolsRequest;
|
|
71171
|
-
return proto.clarifai.api.PatchNodepoolsRequest.deserializeBinaryFromReader(msg, reader);
|
|
71172
|
-
};
|
|
71173
|
-
/**
|
|
71174
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
71175
|
-
* given reader into the given message object.
|
|
71176
|
-
* @param {!proto.clarifai.api.PatchNodepoolsRequest} msg The message object to deserialize into.
|
|
71177
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
71178
|
-
* @return {!proto.clarifai.api.PatchNodepoolsRequest}
|
|
71179
|
-
*/
|
|
71180
|
-
proto.clarifai.api.PatchNodepoolsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
71181
|
-
while (reader.nextField()) {
|
|
71182
|
-
if (reader.isEndGroup()) {
|
|
71183
|
-
break;
|
|
71184
|
-
}
|
|
71185
|
-
var field = reader.getFieldNumber();
|
|
71186
|
-
switch (field) {
|
|
71187
|
-
case 1:
|
|
71188
|
-
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
71189
|
-
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
71190
|
-
msg.setUserAppId(value);
|
|
71191
|
-
break;
|
|
71192
|
-
case 3:
|
|
71193
|
-
var value = new proto_clarifai_api_resources_pb.Nodepool;
|
|
71194
|
-
reader.readMessage(value, proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
|
|
71195
|
-
msg.addNodepools(value);
|
|
71196
|
-
break;
|
|
71197
|
-
case 4:
|
|
71198
|
-
var value = /** @type {string} */ (reader.readString());
|
|
71199
|
-
msg.setAction(value);
|
|
71200
|
-
break;
|
|
71201
|
-
default:
|
|
71202
|
-
reader.skipField();
|
|
71203
|
-
break;
|
|
71204
|
-
}
|
|
71205
|
-
}
|
|
71206
|
-
return msg;
|
|
71207
|
-
};
|
|
71208
|
-
/**
|
|
71209
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
71210
|
-
* @return {!Uint8Array}
|
|
71211
|
-
*/
|
|
71212
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.serializeBinary = function () {
|
|
71213
|
-
var writer = new jspb.BinaryWriter();
|
|
71214
|
-
proto.clarifai.api.PatchNodepoolsRequest.serializeBinaryToWriter(this, writer);
|
|
71215
|
-
return writer.getResultBuffer();
|
|
71216
|
-
};
|
|
71217
|
-
/**
|
|
71218
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
71219
|
-
* format), writing to the given BinaryWriter.
|
|
71220
|
-
* @param {!proto.clarifai.api.PatchNodepoolsRequest} message
|
|
71221
|
-
* @param {!jspb.BinaryWriter} writer
|
|
71222
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71223
|
-
*/
|
|
71224
|
-
proto.clarifai.api.PatchNodepoolsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
71225
|
-
var f = undefined;
|
|
71226
|
-
f = message.getUserAppId();
|
|
71227
|
-
if (f != null) {
|
|
71228
|
-
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
71229
|
-
}
|
|
71230
|
-
f = message.getNodepoolsList();
|
|
71231
|
-
if (f.length > 0) {
|
|
71232
|
-
writer.writeRepeatedMessage(3, f, proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter);
|
|
71233
|
-
}
|
|
71234
|
-
f = message.getAction();
|
|
71235
|
-
if (f.length > 0) {
|
|
71236
|
-
writer.writeString(4, f);
|
|
71237
|
-
}
|
|
71238
|
-
};
|
|
71239
|
-
/**
|
|
71240
|
-
* optional UserAppIDSet user_app_id = 1;
|
|
71241
|
-
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
71242
|
-
*/
|
|
71243
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.getUserAppId = function () {
|
|
71244
|
-
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
71245
|
-
};
|
|
71246
|
-
/**
|
|
71247
|
-
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
71248
|
-
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
71249
|
-
*/
|
|
71250
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.setUserAppId = function (value) {
|
|
71251
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
71252
|
-
};
|
|
71253
|
-
/**
|
|
71254
|
-
* Clears the message field making it undefined.
|
|
71255
|
-
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
71256
|
-
*/
|
|
71257
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.clearUserAppId = function () {
|
|
71258
|
-
return this.setUserAppId(undefined);
|
|
71259
|
-
};
|
|
71260
|
-
/**
|
|
71261
|
-
* Returns whether this field is set.
|
|
71262
|
-
* @return {boolean}
|
|
71263
|
-
*/
|
|
71264
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.hasUserAppId = function () {
|
|
71265
|
-
return jspb.Message.getField(this, 1) != null;
|
|
71266
|
-
};
|
|
71267
|
-
/**
|
|
71268
|
-
* repeated Nodepool nodepools = 3;
|
|
71269
|
-
* @return {!Array<!proto.clarifai.api.Nodepool>}
|
|
71270
|
-
*/
|
|
71271
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.getNodepoolsList = function () {
|
|
71272
|
-
return /** @type{!Array<!proto.clarifai.api.Nodepool>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 3));
|
|
71273
|
-
};
|
|
71274
|
-
/**
|
|
71275
|
-
* @param {!Array<!proto.clarifai.api.Nodepool>} value
|
|
71276
|
-
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
71277
|
-
*/
|
|
71278
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.setNodepoolsList = function (value) {
|
|
71279
|
-
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
71280
|
-
};
|
|
71281
|
-
/**
|
|
71282
|
-
* @param {!proto.clarifai.api.Nodepool=} opt_value
|
|
71283
|
-
* @param {number=} opt_index
|
|
71284
|
-
* @return {!proto.clarifai.api.Nodepool}
|
|
71285
|
-
*/
|
|
71286
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.addNodepools = function (opt_value, opt_index) {
|
|
71287
|
-
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.Nodepool, opt_index);
|
|
71288
|
-
};
|
|
71289
|
-
/**
|
|
71290
|
-
* Clears the list making it empty but non-null.
|
|
71291
|
-
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
71292
|
-
*/
|
|
71293
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.clearNodepoolsList = function () {
|
|
71294
|
-
return this.setNodepoolsList([]);
|
|
71295
|
-
};
|
|
71296
|
-
/**
|
|
71297
|
-
* optional string action = 4;
|
|
71298
|
-
* @return {string}
|
|
71299
|
-
*/
|
|
71300
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.getAction = function () {
|
|
71301
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
71302
|
-
};
|
|
71303
|
-
/**
|
|
71304
|
-
* @param {string} value
|
|
71305
|
-
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
71306
|
-
*/
|
|
71307
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.setAction = function (value) {
|
|
71308
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
71309
|
-
};
|
|
71310
|
-
/**
|
|
71311
|
-
* List of repeated fields within this message type.
|
|
71312
|
-
* @private {!Array<number>}
|
|
71313
|
-
* @const
|
|
71314
|
-
*/
|
|
71315
|
-
proto.clarifai.api.DeleteNodepoolsRequest.repeatedFields_ = [2];
|
|
71316
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
71317
|
-
/**
|
|
71318
|
-
* Creates an object representation of this proto.
|
|
71319
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
71320
|
-
* Optional fields that are not set will be set to undefined.
|
|
71321
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
71322
|
-
* For the list of reserved names please see:
|
|
71323
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
71324
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
71325
|
-
* JSPB instance for transitional soy proto support:
|
|
71326
|
-
* http://goto/soy-param-migration
|
|
71327
|
-
* @return {!Object}
|
|
71328
|
-
*/
|
|
71329
|
-
proto.clarifai.api.DeleteNodepoolsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
71330
|
-
return proto.clarifai.api.DeleteNodepoolsRequest.toObject(opt_includeInstance, this);
|
|
71331
|
-
};
|
|
71332
|
-
/**
|
|
71333
|
-
* Static version of the {@see toObject} method.
|
|
71334
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
71335
|
-
* the JSPB instance for transitional soy proto support:
|
|
71336
|
-
* http://goto/soy-param-migration
|
|
71337
|
-
* @param {!proto.clarifai.api.DeleteNodepoolsRequest} msg The msg instance to transform.
|
|
71338
|
-
* @return {!Object}
|
|
71339
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71340
|
-
*/
|
|
71341
|
-
proto.clarifai.api.DeleteNodepoolsRequest.toObject = function (includeInstance, msg) {
|
|
71421
|
+
proto.clarifai.api.DeleteComputeClustersRequest.toObject = function (includeInstance, msg) {
|
|
71342
71422
|
var f, obj = {
|
|
71343
71423
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
71344
71424
|
idsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
@@ -71352,21 +71432,21 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
71352
71432
|
/**
|
|
71353
71433
|
* Deserializes binary data (in protobuf wire format).
|
|
71354
71434
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
71355
|
-
* @return {!proto.clarifai.api.
|
|
71435
|
+
* @return {!proto.clarifai.api.DeleteComputeClustersRequest}
|
|
71356
71436
|
*/
|
|
71357
|
-
proto.clarifai.api.
|
|
71437
|
+
proto.clarifai.api.DeleteComputeClustersRequest.deserializeBinary = function (bytes) {
|
|
71358
71438
|
var reader = new jspb.BinaryReader(bytes);
|
|
71359
|
-
var msg = new proto.clarifai.api.
|
|
71360
|
-
return proto.clarifai.api.
|
|
71439
|
+
var msg = new proto.clarifai.api.DeleteComputeClustersRequest;
|
|
71440
|
+
return proto.clarifai.api.DeleteComputeClustersRequest.deserializeBinaryFromReader(msg, reader);
|
|
71361
71441
|
};
|
|
71362
71442
|
/**
|
|
71363
71443
|
* Deserializes binary data (in protobuf wire format) from the
|
|
71364
71444
|
* given reader into the given message object.
|
|
71365
|
-
* @param {!proto.clarifai.api.
|
|
71445
|
+
* @param {!proto.clarifai.api.DeleteComputeClustersRequest} msg The message object to deserialize into.
|
|
71366
71446
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
71367
|
-
* @return {!proto.clarifai.api.
|
|
71447
|
+
* @return {!proto.clarifai.api.DeleteComputeClustersRequest}
|
|
71368
71448
|
*/
|
|
71369
|
-
proto.clarifai.api.
|
|
71449
|
+
proto.clarifai.api.DeleteComputeClustersRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
71370
71450
|
while (reader.nextField()) {
|
|
71371
71451
|
if (reader.isEndGroup()) {
|
|
71372
71452
|
break;
|
|
@@ -71389,6 +71469,1266 @@ proto.clarifai.api.DeleteNodepoolsRequest.deserializeBinaryFromReader = function
|
|
|
71389
71469
|
}
|
|
71390
71470
|
return msg;
|
|
71391
71471
|
};
|
|
71472
|
+
/**
|
|
71473
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
71474
|
+
* @return {!Uint8Array}
|
|
71475
|
+
*/
|
|
71476
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.serializeBinary = function () {
|
|
71477
|
+
var writer = new jspb.BinaryWriter();
|
|
71478
|
+
proto.clarifai.api.DeleteComputeClustersRequest.serializeBinaryToWriter(this, writer);
|
|
71479
|
+
return writer.getResultBuffer();
|
|
71480
|
+
};
|
|
71481
|
+
/**
|
|
71482
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
71483
|
+
* format), writing to the given BinaryWriter.
|
|
71484
|
+
* @param {!proto.clarifai.api.DeleteComputeClustersRequest} message
|
|
71485
|
+
* @param {!jspb.BinaryWriter} writer
|
|
71486
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71487
|
+
*/
|
|
71488
|
+
proto.clarifai.api.DeleteComputeClustersRequest.serializeBinaryToWriter = function (message, writer) {
|
|
71489
|
+
var f = undefined;
|
|
71490
|
+
f = message.getUserAppId();
|
|
71491
|
+
if (f != null) {
|
|
71492
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
71493
|
+
}
|
|
71494
|
+
f = message.getIdsList();
|
|
71495
|
+
if (f.length > 0) {
|
|
71496
|
+
writer.writeRepeatedString(2, f);
|
|
71497
|
+
}
|
|
71498
|
+
};
|
|
71499
|
+
/**
|
|
71500
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
71501
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
71502
|
+
*/
|
|
71503
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.getUserAppId = function () {
|
|
71504
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
71505
|
+
};
|
|
71506
|
+
/**
|
|
71507
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
71508
|
+
* @return {!proto.clarifai.api.DeleteComputeClustersRequest} returns this
|
|
71509
|
+
*/
|
|
71510
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.setUserAppId = function (value) {
|
|
71511
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
71512
|
+
};
|
|
71513
|
+
/**
|
|
71514
|
+
* Clears the message field making it undefined.
|
|
71515
|
+
* @return {!proto.clarifai.api.DeleteComputeClustersRequest} returns this
|
|
71516
|
+
*/
|
|
71517
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.clearUserAppId = function () {
|
|
71518
|
+
return this.setUserAppId(undefined);
|
|
71519
|
+
};
|
|
71520
|
+
/**
|
|
71521
|
+
* Returns whether this field is set.
|
|
71522
|
+
* @return {boolean}
|
|
71523
|
+
*/
|
|
71524
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.hasUserAppId = function () {
|
|
71525
|
+
return jspb.Message.getField(this, 1) != null;
|
|
71526
|
+
};
|
|
71527
|
+
/**
|
|
71528
|
+
* repeated string ids = 2;
|
|
71529
|
+
* @return {!Array<string>}
|
|
71530
|
+
*/
|
|
71531
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.getIdsList = function () {
|
|
71532
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
71533
|
+
};
|
|
71534
|
+
/**
|
|
71535
|
+
* @param {!Array<string>} value
|
|
71536
|
+
* @return {!proto.clarifai.api.DeleteComputeClustersRequest} returns this
|
|
71537
|
+
*/
|
|
71538
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.setIdsList = function (value) {
|
|
71539
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
71540
|
+
};
|
|
71541
|
+
/**
|
|
71542
|
+
* @param {string} value
|
|
71543
|
+
* @param {number=} opt_index
|
|
71544
|
+
* @return {!proto.clarifai.api.DeleteComputeClustersRequest} returns this
|
|
71545
|
+
*/
|
|
71546
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.addIds = function (value, opt_index) {
|
|
71547
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
71548
|
+
};
|
|
71549
|
+
/**
|
|
71550
|
+
* Clears the list making it empty but non-null.
|
|
71551
|
+
* @return {!proto.clarifai.api.DeleteComputeClustersRequest} returns this
|
|
71552
|
+
*/
|
|
71553
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.clearIdsList = function () {
|
|
71554
|
+
return this.setIdsList([]);
|
|
71555
|
+
};
|
|
71556
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
71557
|
+
/**
|
|
71558
|
+
* Creates an object representation of this proto.
|
|
71559
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
71560
|
+
* Optional fields that are not set will be set to undefined.
|
|
71561
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
71562
|
+
* For the list of reserved names please see:
|
|
71563
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
71564
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
71565
|
+
* JSPB instance for transitional soy proto support:
|
|
71566
|
+
* http://goto/soy-param-migration
|
|
71567
|
+
* @return {!Object}
|
|
71568
|
+
*/
|
|
71569
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.toObject = function (opt_includeInstance) {
|
|
71570
|
+
return proto.clarifai.api.SingleComputeClusterResponse.toObject(opt_includeInstance, this);
|
|
71571
|
+
};
|
|
71572
|
+
/**
|
|
71573
|
+
* Static version of the {@see toObject} method.
|
|
71574
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
71575
|
+
* the JSPB instance for transitional soy proto support:
|
|
71576
|
+
* http://goto/soy-param-migration
|
|
71577
|
+
* @param {!proto.clarifai.api.SingleComputeClusterResponse} msg The msg instance to transform.
|
|
71578
|
+
* @return {!Object}
|
|
71579
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71580
|
+
*/
|
|
71581
|
+
proto.clarifai.api.SingleComputeClusterResponse.toObject = function (includeInstance, msg) {
|
|
71582
|
+
var f, obj = {
|
|
71583
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
71584
|
+
computeCluster: (f = msg.getComputeCluster()) && proto_clarifai_api_resources_pb.ComputeCluster.toObject(includeInstance, f)
|
|
71585
|
+
};
|
|
71586
|
+
if (includeInstance) {
|
|
71587
|
+
obj.$jspbMessageInstance = msg;
|
|
71588
|
+
}
|
|
71589
|
+
return obj;
|
|
71590
|
+
};
|
|
71591
|
+
}
|
|
71592
|
+
/**
|
|
71593
|
+
* Deserializes binary data (in protobuf wire format).
|
|
71594
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
71595
|
+
* @return {!proto.clarifai.api.SingleComputeClusterResponse}
|
|
71596
|
+
*/
|
|
71597
|
+
proto.clarifai.api.SingleComputeClusterResponse.deserializeBinary = function (bytes) {
|
|
71598
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
71599
|
+
var msg = new proto.clarifai.api.SingleComputeClusterResponse;
|
|
71600
|
+
return proto.clarifai.api.SingleComputeClusterResponse.deserializeBinaryFromReader(msg, reader);
|
|
71601
|
+
};
|
|
71602
|
+
/**
|
|
71603
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
71604
|
+
* given reader into the given message object.
|
|
71605
|
+
* @param {!proto.clarifai.api.SingleComputeClusterResponse} msg The message object to deserialize into.
|
|
71606
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
71607
|
+
* @return {!proto.clarifai.api.SingleComputeClusterResponse}
|
|
71608
|
+
*/
|
|
71609
|
+
proto.clarifai.api.SingleComputeClusterResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
71610
|
+
while (reader.nextField()) {
|
|
71611
|
+
if (reader.isEndGroup()) {
|
|
71612
|
+
break;
|
|
71613
|
+
}
|
|
71614
|
+
var field = reader.getFieldNumber();
|
|
71615
|
+
switch (field) {
|
|
71616
|
+
case 1:
|
|
71617
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
71618
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
71619
|
+
msg.setStatus(value);
|
|
71620
|
+
break;
|
|
71621
|
+
case 2:
|
|
71622
|
+
var value = new proto_clarifai_api_resources_pb.ComputeCluster;
|
|
71623
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.ComputeCluster.deserializeBinaryFromReader);
|
|
71624
|
+
msg.setComputeCluster(value);
|
|
71625
|
+
break;
|
|
71626
|
+
default:
|
|
71627
|
+
reader.skipField();
|
|
71628
|
+
break;
|
|
71629
|
+
}
|
|
71630
|
+
}
|
|
71631
|
+
return msg;
|
|
71632
|
+
};
|
|
71633
|
+
/**
|
|
71634
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
71635
|
+
* @return {!Uint8Array}
|
|
71636
|
+
*/
|
|
71637
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.serializeBinary = function () {
|
|
71638
|
+
var writer = new jspb.BinaryWriter();
|
|
71639
|
+
proto.clarifai.api.SingleComputeClusterResponse.serializeBinaryToWriter(this, writer);
|
|
71640
|
+
return writer.getResultBuffer();
|
|
71641
|
+
};
|
|
71642
|
+
/**
|
|
71643
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
71644
|
+
* format), writing to the given BinaryWriter.
|
|
71645
|
+
* @param {!proto.clarifai.api.SingleComputeClusterResponse} message
|
|
71646
|
+
* @param {!jspb.BinaryWriter} writer
|
|
71647
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71648
|
+
*/
|
|
71649
|
+
proto.clarifai.api.SingleComputeClusterResponse.serializeBinaryToWriter = function (message, writer) {
|
|
71650
|
+
var f = undefined;
|
|
71651
|
+
f = message.getStatus();
|
|
71652
|
+
if (f != null) {
|
|
71653
|
+
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
71654
|
+
}
|
|
71655
|
+
f = message.getComputeCluster();
|
|
71656
|
+
if (f != null) {
|
|
71657
|
+
writer.writeMessage(2, f, proto_clarifai_api_resources_pb.ComputeCluster.serializeBinaryToWriter);
|
|
71658
|
+
}
|
|
71659
|
+
};
|
|
71660
|
+
/**
|
|
71661
|
+
* optional status.Status status = 1;
|
|
71662
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
71663
|
+
*/
|
|
71664
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.getStatus = function () {
|
|
71665
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
71666
|
+
};
|
|
71667
|
+
/**
|
|
71668
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
71669
|
+
* @return {!proto.clarifai.api.SingleComputeClusterResponse} returns this
|
|
71670
|
+
*/
|
|
71671
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.setStatus = function (value) {
|
|
71672
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
71673
|
+
};
|
|
71674
|
+
/**
|
|
71675
|
+
* Clears the message field making it undefined.
|
|
71676
|
+
* @return {!proto.clarifai.api.SingleComputeClusterResponse} returns this
|
|
71677
|
+
*/
|
|
71678
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.clearStatus = function () {
|
|
71679
|
+
return this.setStatus(undefined);
|
|
71680
|
+
};
|
|
71681
|
+
/**
|
|
71682
|
+
* Returns whether this field is set.
|
|
71683
|
+
* @return {boolean}
|
|
71684
|
+
*/
|
|
71685
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.hasStatus = function () {
|
|
71686
|
+
return jspb.Message.getField(this, 1) != null;
|
|
71687
|
+
};
|
|
71688
|
+
/**
|
|
71689
|
+
* optional ComputeCluster compute_cluster = 2;
|
|
71690
|
+
* @return {?proto.clarifai.api.ComputeCluster}
|
|
71691
|
+
*/
|
|
71692
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.getComputeCluster = function () {
|
|
71693
|
+
return /** @type{?proto.clarifai.api.ComputeCluster} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.ComputeCluster, 2));
|
|
71694
|
+
};
|
|
71695
|
+
/**
|
|
71696
|
+
* @param {?proto.clarifai.api.ComputeCluster|undefined} value
|
|
71697
|
+
* @return {!proto.clarifai.api.SingleComputeClusterResponse} returns this
|
|
71698
|
+
*/
|
|
71699
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.setComputeCluster = function (value) {
|
|
71700
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
71701
|
+
};
|
|
71702
|
+
/**
|
|
71703
|
+
* Clears the message field making it undefined.
|
|
71704
|
+
* @return {!proto.clarifai.api.SingleComputeClusterResponse} returns this
|
|
71705
|
+
*/
|
|
71706
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.clearComputeCluster = function () {
|
|
71707
|
+
return this.setComputeCluster(undefined);
|
|
71708
|
+
};
|
|
71709
|
+
/**
|
|
71710
|
+
* Returns whether this field is set.
|
|
71711
|
+
* @return {boolean}
|
|
71712
|
+
*/
|
|
71713
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.hasComputeCluster = function () {
|
|
71714
|
+
return jspb.Message.getField(this, 2) != null;
|
|
71715
|
+
};
|
|
71716
|
+
/**
|
|
71717
|
+
* List of repeated fields within this message type.
|
|
71718
|
+
* @private {!Array<number>}
|
|
71719
|
+
* @const
|
|
71720
|
+
*/
|
|
71721
|
+
proto.clarifai.api.MultiComputeClusterResponse.repeatedFields_ = [2];
|
|
71722
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
71723
|
+
/**
|
|
71724
|
+
* Creates an object representation of this proto.
|
|
71725
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
71726
|
+
* Optional fields that are not set will be set to undefined.
|
|
71727
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
71728
|
+
* For the list of reserved names please see:
|
|
71729
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
71730
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
71731
|
+
* JSPB instance for transitional soy proto support:
|
|
71732
|
+
* http://goto/soy-param-migration
|
|
71733
|
+
* @return {!Object}
|
|
71734
|
+
*/
|
|
71735
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.toObject = function (opt_includeInstance) {
|
|
71736
|
+
return proto.clarifai.api.MultiComputeClusterResponse.toObject(opt_includeInstance, this);
|
|
71737
|
+
};
|
|
71738
|
+
/**
|
|
71739
|
+
* Static version of the {@see toObject} method.
|
|
71740
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
71741
|
+
* the JSPB instance for transitional soy proto support:
|
|
71742
|
+
* http://goto/soy-param-migration
|
|
71743
|
+
* @param {!proto.clarifai.api.MultiComputeClusterResponse} msg The msg instance to transform.
|
|
71744
|
+
* @return {!Object}
|
|
71745
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71746
|
+
*/
|
|
71747
|
+
proto.clarifai.api.MultiComputeClusterResponse.toObject = function (includeInstance, msg) {
|
|
71748
|
+
var f, obj = {
|
|
71749
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
71750
|
+
computeClustersList: jspb.Message.toObjectList(msg.getComputeClustersList(), proto_clarifai_api_resources_pb.ComputeCluster.toObject, includeInstance)
|
|
71751
|
+
};
|
|
71752
|
+
if (includeInstance) {
|
|
71753
|
+
obj.$jspbMessageInstance = msg;
|
|
71754
|
+
}
|
|
71755
|
+
return obj;
|
|
71756
|
+
};
|
|
71757
|
+
}
|
|
71758
|
+
/**
|
|
71759
|
+
* Deserializes binary data (in protobuf wire format).
|
|
71760
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
71761
|
+
* @return {!proto.clarifai.api.MultiComputeClusterResponse}
|
|
71762
|
+
*/
|
|
71763
|
+
proto.clarifai.api.MultiComputeClusterResponse.deserializeBinary = function (bytes) {
|
|
71764
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
71765
|
+
var msg = new proto.clarifai.api.MultiComputeClusterResponse;
|
|
71766
|
+
return proto.clarifai.api.MultiComputeClusterResponse.deserializeBinaryFromReader(msg, reader);
|
|
71767
|
+
};
|
|
71768
|
+
/**
|
|
71769
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
71770
|
+
* given reader into the given message object.
|
|
71771
|
+
* @param {!proto.clarifai.api.MultiComputeClusterResponse} msg The message object to deserialize into.
|
|
71772
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
71773
|
+
* @return {!proto.clarifai.api.MultiComputeClusterResponse}
|
|
71774
|
+
*/
|
|
71775
|
+
proto.clarifai.api.MultiComputeClusterResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
71776
|
+
while (reader.nextField()) {
|
|
71777
|
+
if (reader.isEndGroup()) {
|
|
71778
|
+
break;
|
|
71779
|
+
}
|
|
71780
|
+
var field = reader.getFieldNumber();
|
|
71781
|
+
switch (field) {
|
|
71782
|
+
case 1:
|
|
71783
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
71784
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
71785
|
+
msg.setStatus(value);
|
|
71786
|
+
break;
|
|
71787
|
+
case 2:
|
|
71788
|
+
var value = new proto_clarifai_api_resources_pb.ComputeCluster;
|
|
71789
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.ComputeCluster.deserializeBinaryFromReader);
|
|
71790
|
+
msg.addComputeClusters(value);
|
|
71791
|
+
break;
|
|
71792
|
+
default:
|
|
71793
|
+
reader.skipField();
|
|
71794
|
+
break;
|
|
71795
|
+
}
|
|
71796
|
+
}
|
|
71797
|
+
return msg;
|
|
71798
|
+
};
|
|
71799
|
+
/**
|
|
71800
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
71801
|
+
* @return {!Uint8Array}
|
|
71802
|
+
*/
|
|
71803
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.serializeBinary = function () {
|
|
71804
|
+
var writer = new jspb.BinaryWriter();
|
|
71805
|
+
proto.clarifai.api.MultiComputeClusterResponse.serializeBinaryToWriter(this, writer);
|
|
71806
|
+
return writer.getResultBuffer();
|
|
71807
|
+
};
|
|
71808
|
+
/**
|
|
71809
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
71810
|
+
* format), writing to the given BinaryWriter.
|
|
71811
|
+
* @param {!proto.clarifai.api.MultiComputeClusterResponse} message
|
|
71812
|
+
* @param {!jspb.BinaryWriter} writer
|
|
71813
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71814
|
+
*/
|
|
71815
|
+
proto.clarifai.api.MultiComputeClusterResponse.serializeBinaryToWriter = function (message, writer) {
|
|
71816
|
+
var f = undefined;
|
|
71817
|
+
f = message.getStatus();
|
|
71818
|
+
if (f != null) {
|
|
71819
|
+
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
71820
|
+
}
|
|
71821
|
+
f = message.getComputeClustersList();
|
|
71822
|
+
if (f.length > 0) {
|
|
71823
|
+
writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.ComputeCluster.serializeBinaryToWriter);
|
|
71824
|
+
}
|
|
71825
|
+
};
|
|
71826
|
+
/**
|
|
71827
|
+
* optional status.Status status = 1;
|
|
71828
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
71829
|
+
*/
|
|
71830
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.getStatus = function () {
|
|
71831
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
71832
|
+
};
|
|
71833
|
+
/**
|
|
71834
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
71835
|
+
* @return {!proto.clarifai.api.MultiComputeClusterResponse} returns this
|
|
71836
|
+
*/
|
|
71837
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.setStatus = function (value) {
|
|
71838
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
71839
|
+
};
|
|
71840
|
+
/**
|
|
71841
|
+
* Clears the message field making it undefined.
|
|
71842
|
+
* @return {!proto.clarifai.api.MultiComputeClusterResponse} returns this
|
|
71843
|
+
*/
|
|
71844
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.clearStatus = function () {
|
|
71845
|
+
return this.setStatus(undefined);
|
|
71846
|
+
};
|
|
71847
|
+
/**
|
|
71848
|
+
* Returns whether this field is set.
|
|
71849
|
+
* @return {boolean}
|
|
71850
|
+
*/
|
|
71851
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.hasStatus = function () {
|
|
71852
|
+
return jspb.Message.getField(this, 1) != null;
|
|
71853
|
+
};
|
|
71854
|
+
/**
|
|
71855
|
+
* repeated ComputeCluster compute_clusters = 2;
|
|
71856
|
+
* @return {!Array<!proto.clarifai.api.ComputeCluster>}
|
|
71857
|
+
*/
|
|
71858
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.getComputeClustersList = function () {
|
|
71859
|
+
return /** @type{!Array<!proto.clarifai.api.ComputeCluster>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.ComputeCluster, 2));
|
|
71860
|
+
};
|
|
71861
|
+
/**
|
|
71862
|
+
* @param {!Array<!proto.clarifai.api.ComputeCluster>} value
|
|
71863
|
+
* @return {!proto.clarifai.api.MultiComputeClusterResponse} returns this
|
|
71864
|
+
*/
|
|
71865
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.setComputeClustersList = function (value) {
|
|
71866
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
71867
|
+
};
|
|
71868
|
+
/**
|
|
71869
|
+
* @param {!proto.clarifai.api.ComputeCluster=} opt_value
|
|
71870
|
+
* @param {number=} opt_index
|
|
71871
|
+
* @return {!proto.clarifai.api.ComputeCluster}
|
|
71872
|
+
*/
|
|
71873
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.addComputeClusters = function (opt_value, opt_index) {
|
|
71874
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.ComputeCluster, opt_index);
|
|
71875
|
+
};
|
|
71876
|
+
/**
|
|
71877
|
+
* Clears the list making it empty but non-null.
|
|
71878
|
+
* @return {!proto.clarifai.api.MultiComputeClusterResponse} returns this
|
|
71879
|
+
*/
|
|
71880
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.clearComputeClustersList = function () {
|
|
71881
|
+
return this.setComputeClustersList([]);
|
|
71882
|
+
};
|
|
71883
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
71884
|
+
/**
|
|
71885
|
+
* Creates an object representation of this proto.
|
|
71886
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
71887
|
+
* Optional fields that are not set will be set to undefined.
|
|
71888
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
71889
|
+
* For the list of reserved names please see:
|
|
71890
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
71891
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
71892
|
+
* JSPB instance for transitional soy proto support:
|
|
71893
|
+
* http://goto/soy-param-migration
|
|
71894
|
+
* @return {!Object}
|
|
71895
|
+
*/
|
|
71896
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.toObject = function (opt_includeInstance) {
|
|
71897
|
+
return proto.clarifai.api.GetNodepoolRequest.toObject(opt_includeInstance, this);
|
|
71898
|
+
};
|
|
71899
|
+
/**
|
|
71900
|
+
* Static version of the {@see toObject} method.
|
|
71901
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
71902
|
+
* the JSPB instance for transitional soy proto support:
|
|
71903
|
+
* http://goto/soy-param-migration
|
|
71904
|
+
* @param {!proto.clarifai.api.GetNodepoolRequest} msg The msg instance to transform.
|
|
71905
|
+
* @return {!Object}
|
|
71906
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71907
|
+
*/
|
|
71908
|
+
proto.clarifai.api.GetNodepoolRequest.toObject = function (includeInstance, msg) {
|
|
71909
|
+
var f, obj = {
|
|
71910
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
71911
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
71912
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
71913
|
+
};
|
|
71914
|
+
if (includeInstance) {
|
|
71915
|
+
obj.$jspbMessageInstance = msg;
|
|
71916
|
+
}
|
|
71917
|
+
return obj;
|
|
71918
|
+
};
|
|
71919
|
+
}
|
|
71920
|
+
/**
|
|
71921
|
+
* Deserializes binary data (in protobuf wire format).
|
|
71922
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
71923
|
+
* @return {!proto.clarifai.api.GetNodepoolRequest}
|
|
71924
|
+
*/
|
|
71925
|
+
proto.clarifai.api.GetNodepoolRequest.deserializeBinary = function (bytes) {
|
|
71926
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
71927
|
+
var msg = new proto.clarifai.api.GetNodepoolRequest;
|
|
71928
|
+
return proto.clarifai.api.GetNodepoolRequest.deserializeBinaryFromReader(msg, reader);
|
|
71929
|
+
};
|
|
71930
|
+
/**
|
|
71931
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
71932
|
+
* given reader into the given message object.
|
|
71933
|
+
* @param {!proto.clarifai.api.GetNodepoolRequest} msg The message object to deserialize into.
|
|
71934
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
71935
|
+
* @return {!proto.clarifai.api.GetNodepoolRequest}
|
|
71936
|
+
*/
|
|
71937
|
+
proto.clarifai.api.GetNodepoolRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
71938
|
+
while (reader.nextField()) {
|
|
71939
|
+
if (reader.isEndGroup()) {
|
|
71940
|
+
break;
|
|
71941
|
+
}
|
|
71942
|
+
var field = reader.getFieldNumber();
|
|
71943
|
+
switch (field) {
|
|
71944
|
+
case 1:
|
|
71945
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
71946
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
71947
|
+
msg.setUserAppId(value);
|
|
71948
|
+
break;
|
|
71949
|
+
case 2:
|
|
71950
|
+
var value = /** @type {string} */ (reader.readString());
|
|
71951
|
+
msg.setComputeClusterId(value);
|
|
71952
|
+
break;
|
|
71953
|
+
case 3:
|
|
71954
|
+
var value = /** @type {string} */ (reader.readString());
|
|
71955
|
+
msg.setNodepoolId(value);
|
|
71956
|
+
break;
|
|
71957
|
+
default:
|
|
71958
|
+
reader.skipField();
|
|
71959
|
+
break;
|
|
71960
|
+
}
|
|
71961
|
+
}
|
|
71962
|
+
return msg;
|
|
71963
|
+
};
|
|
71964
|
+
/**
|
|
71965
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
71966
|
+
* @return {!Uint8Array}
|
|
71967
|
+
*/
|
|
71968
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.serializeBinary = function () {
|
|
71969
|
+
var writer = new jspb.BinaryWriter();
|
|
71970
|
+
proto.clarifai.api.GetNodepoolRequest.serializeBinaryToWriter(this, writer);
|
|
71971
|
+
return writer.getResultBuffer();
|
|
71972
|
+
};
|
|
71973
|
+
/**
|
|
71974
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
71975
|
+
* format), writing to the given BinaryWriter.
|
|
71976
|
+
* @param {!proto.clarifai.api.GetNodepoolRequest} message
|
|
71977
|
+
* @param {!jspb.BinaryWriter} writer
|
|
71978
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71979
|
+
*/
|
|
71980
|
+
proto.clarifai.api.GetNodepoolRequest.serializeBinaryToWriter = function (message, writer) {
|
|
71981
|
+
var f = undefined;
|
|
71982
|
+
f = message.getUserAppId();
|
|
71983
|
+
if (f != null) {
|
|
71984
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
71985
|
+
}
|
|
71986
|
+
f = message.getComputeClusterId();
|
|
71987
|
+
if (f.length > 0) {
|
|
71988
|
+
writer.writeString(2, f);
|
|
71989
|
+
}
|
|
71990
|
+
f = message.getNodepoolId();
|
|
71991
|
+
if (f.length > 0) {
|
|
71992
|
+
writer.writeString(3, f);
|
|
71993
|
+
}
|
|
71994
|
+
};
|
|
71995
|
+
/**
|
|
71996
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
71997
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
71998
|
+
*/
|
|
71999
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.getUserAppId = function () {
|
|
72000
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
72001
|
+
};
|
|
72002
|
+
/**
|
|
72003
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
72004
|
+
* @return {!proto.clarifai.api.GetNodepoolRequest} returns this
|
|
72005
|
+
*/
|
|
72006
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.setUserAppId = function (value) {
|
|
72007
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
72008
|
+
};
|
|
72009
|
+
/**
|
|
72010
|
+
* Clears the message field making it undefined.
|
|
72011
|
+
* @return {!proto.clarifai.api.GetNodepoolRequest} returns this
|
|
72012
|
+
*/
|
|
72013
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.clearUserAppId = function () {
|
|
72014
|
+
return this.setUserAppId(undefined);
|
|
72015
|
+
};
|
|
72016
|
+
/**
|
|
72017
|
+
* Returns whether this field is set.
|
|
72018
|
+
* @return {boolean}
|
|
72019
|
+
*/
|
|
72020
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.hasUserAppId = function () {
|
|
72021
|
+
return jspb.Message.getField(this, 1) != null;
|
|
72022
|
+
};
|
|
72023
|
+
/**
|
|
72024
|
+
* optional string compute_cluster_id = 2;
|
|
72025
|
+
* @return {string}
|
|
72026
|
+
*/
|
|
72027
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.getComputeClusterId = function () {
|
|
72028
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
72029
|
+
};
|
|
72030
|
+
/**
|
|
72031
|
+
* @param {string} value
|
|
72032
|
+
* @return {!proto.clarifai.api.GetNodepoolRequest} returns this
|
|
72033
|
+
*/
|
|
72034
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.setComputeClusterId = function (value) {
|
|
72035
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
72036
|
+
};
|
|
72037
|
+
/**
|
|
72038
|
+
* optional string nodepool_id = 3;
|
|
72039
|
+
* @return {string}
|
|
72040
|
+
*/
|
|
72041
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.getNodepoolId = function () {
|
|
72042
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
72043
|
+
};
|
|
72044
|
+
/**
|
|
72045
|
+
* @param {string} value
|
|
72046
|
+
* @return {!proto.clarifai.api.GetNodepoolRequest} returns this
|
|
72047
|
+
*/
|
|
72048
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.setNodepoolId = function (value) {
|
|
72049
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
72050
|
+
};
|
|
72051
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
72052
|
+
/**
|
|
72053
|
+
* Creates an object representation of this proto.
|
|
72054
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
72055
|
+
* Optional fields that are not set will be set to undefined.
|
|
72056
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
72057
|
+
* For the list of reserved names please see:
|
|
72058
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
72059
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
72060
|
+
* JSPB instance for transitional soy proto support:
|
|
72061
|
+
* http://goto/soy-param-migration
|
|
72062
|
+
* @return {!Object}
|
|
72063
|
+
*/
|
|
72064
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
72065
|
+
return proto.clarifai.api.ListNodepoolsRequest.toObject(opt_includeInstance, this);
|
|
72066
|
+
};
|
|
72067
|
+
/**
|
|
72068
|
+
* Static version of the {@see toObject} method.
|
|
72069
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
72070
|
+
* the JSPB instance for transitional soy proto support:
|
|
72071
|
+
* http://goto/soy-param-migration
|
|
72072
|
+
* @param {!proto.clarifai.api.ListNodepoolsRequest} msg The msg instance to transform.
|
|
72073
|
+
* @return {!Object}
|
|
72074
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72075
|
+
*/
|
|
72076
|
+
proto.clarifai.api.ListNodepoolsRequest.toObject = function (includeInstance, msg) {
|
|
72077
|
+
var f, obj = {
|
|
72078
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
72079
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
72080
|
+
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
72081
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
72082
|
+
};
|
|
72083
|
+
if (includeInstance) {
|
|
72084
|
+
obj.$jspbMessageInstance = msg;
|
|
72085
|
+
}
|
|
72086
|
+
return obj;
|
|
72087
|
+
};
|
|
72088
|
+
}
|
|
72089
|
+
/**
|
|
72090
|
+
* Deserializes binary data (in protobuf wire format).
|
|
72091
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
72092
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest}
|
|
72093
|
+
*/
|
|
72094
|
+
proto.clarifai.api.ListNodepoolsRequest.deserializeBinary = function (bytes) {
|
|
72095
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
72096
|
+
var msg = new proto.clarifai.api.ListNodepoolsRequest;
|
|
72097
|
+
return proto.clarifai.api.ListNodepoolsRequest.deserializeBinaryFromReader(msg, reader);
|
|
72098
|
+
};
|
|
72099
|
+
/**
|
|
72100
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
72101
|
+
* given reader into the given message object.
|
|
72102
|
+
* @param {!proto.clarifai.api.ListNodepoolsRequest} msg The message object to deserialize into.
|
|
72103
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
72104
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest}
|
|
72105
|
+
*/
|
|
72106
|
+
proto.clarifai.api.ListNodepoolsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
72107
|
+
while (reader.nextField()) {
|
|
72108
|
+
if (reader.isEndGroup()) {
|
|
72109
|
+
break;
|
|
72110
|
+
}
|
|
72111
|
+
var field = reader.getFieldNumber();
|
|
72112
|
+
switch (field) {
|
|
72113
|
+
case 1:
|
|
72114
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
72115
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
72116
|
+
msg.setUserAppId(value);
|
|
72117
|
+
break;
|
|
72118
|
+
case 2:
|
|
72119
|
+
var value = /** @type {string} */ (reader.readString());
|
|
72120
|
+
msg.setComputeClusterId(value);
|
|
72121
|
+
break;
|
|
72122
|
+
case 3:
|
|
72123
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
72124
|
+
msg.setPage(value);
|
|
72125
|
+
break;
|
|
72126
|
+
case 4:
|
|
72127
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
72128
|
+
msg.setPerPage(value);
|
|
72129
|
+
break;
|
|
72130
|
+
default:
|
|
72131
|
+
reader.skipField();
|
|
72132
|
+
break;
|
|
72133
|
+
}
|
|
72134
|
+
}
|
|
72135
|
+
return msg;
|
|
72136
|
+
};
|
|
72137
|
+
/**
|
|
72138
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
72139
|
+
* @return {!Uint8Array}
|
|
72140
|
+
*/
|
|
72141
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.serializeBinary = function () {
|
|
72142
|
+
var writer = new jspb.BinaryWriter();
|
|
72143
|
+
proto.clarifai.api.ListNodepoolsRequest.serializeBinaryToWriter(this, writer);
|
|
72144
|
+
return writer.getResultBuffer();
|
|
72145
|
+
};
|
|
72146
|
+
/**
|
|
72147
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
72148
|
+
* format), writing to the given BinaryWriter.
|
|
72149
|
+
* @param {!proto.clarifai.api.ListNodepoolsRequest} message
|
|
72150
|
+
* @param {!jspb.BinaryWriter} writer
|
|
72151
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72152
|
+
*/
|
|
72153
|
+
proto.clarifai.api.ListNodepoolsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
72154
|
+
var f = undefined;
|
|
72155
|
+
f = message.getUserAppId();
|
|
72156
|
+
if (f != null) {
|
|
72157
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
72158
|
+
}
|
|
72159
|
+
f = message.getComputeClusterId();
|
|
72160
|
+
if (f.length > 0) {
|
|
72161
|
+
writer.writeString(2, f);
|
|
72162
|
+
}
|
|
72163
|
+
f = message.getPage();
|
|
72164
|
+
if (f !== 0) {
|
|
72165
|
+
writer.writeUint32(3, f);
|
|
72166
|
+
}
|
|
72167
|
+
f = message.getPerPage();
|
|
72168
|
+
if (f !== 0) {
|
|
72169
|
+
writer.writeUint32(4, f);
|
|
72170
|
+
}
|
|
72171
|
+
};
|
|
72172
|
+
/**
|
|
72173
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
72174
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
72175
|
+
*/
|
|
72176
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.getUserAppId = function () {
|
|
72177
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
72178
|
+
};
|
|
72179
|
+
/**
|
|
72180
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
72181
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
|
|
72182
|
+
*/
|
|
72183
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.setUserAppId = function (value) {
|
|
72184
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
72185
|
+
};
|
|
72186
|
+
/**
|
|
72187
|
+
* Clears the message field making it undefined.
|
|
72188
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
|
|
72189
|
+
*/
|
|
72190
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.clearUserAppId = function () {
|
|
72191
|
+
return this.setUserAppId(undefined);
|
|
72192
|
+
};
|
|
72193
|
+
/**
|
|
72194
|
+
* Returns whether this field is set.
|
|
72195
|
+
* @return {boolean}
|
|
72196
|
+
*/
|
|
72197
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.hasUserAppId = function () {
|
|
72198
|
+
return jspb.Message.getField(this, 1) != null;
|
|
72199
|
+
};
|
|
72200
|
+
/**
|
|
72201
|
+
* optional string compute_cluster_id = 2;
|
|
72202
|
+
* @return {string}
|
|
72203
|
+
*/
|
|
72204
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.getComputeClusterId = function () {
|
|
72205
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
72206
|
+
};
|
|
72207
|
+
/**
|
|
72208
|
+
* @param {string} value
|
|
72209
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
|
|
72210
|
+
*/
|
|
72211
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.setComputeClusterId = function (value) {
|
|
72212
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
72213
|
+
};
|
|
72214
|
+
/**
|
|
72215
|
+
* optional uint32 page = 3;
|
|
72216
|
+
* @return {number}
|
|
72217
|
+
*/
|
|
72218
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.getPage = function () {
|
|
72219
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
72220
|
+
};
|
|
72221
|
+
/**
|
|
72222
|
+
* @param {number} value
|
|
72223
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
|
|
72224
|
+
*/
|
|
72225
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.setPage = function (value) {
|
|
72226
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
72227
|
+
};
|
|
72228
|
+
/**
|
|
72229
|
+
* optional uint32 per_page = 4;
|
|
72230
|
+
* @return {number}
|
|
72231
|
+
*/
|
|
72232
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.getPerPage = function () {
|
|
72233
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
72234
|
+
};
|
|
72235
|
+
/**
|
|
72236
|
+
* @param {number} value
|
|
72237
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
|
|
72238
|
+
*/
|
|
72239
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.setPerPage = function (value) {
|
|
72240
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
72241
|
+
};
|
|
72242
|
+
/**
|
|
72243
|
+
* List of repeated fields within this message type.
|
|
72244
|
+
* @private {!Array<number>}
|
|
72245
|
+
* @const
|
|
72246
|
+
*/
|
|
72247
|
+
proto.clarifai.api.PostNodepoolsRequest.repeatedFields_ = [3];
|
|
72248
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
72249
|
+
/**
|
|
72250
|
+
* Creates an object representation of this proto.
|
|
72251
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
72252
|
+
* Optional fields that are not set will be set to undefined.
|
|
72253
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
72254
|
+
* For the list of reserved names please see:
|
|
72255
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
72256
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
72257
|
+
* JSPB instance for transitional soy proto support:
|
|
72258
|
+
* http://goto/soy-param-migration
|
|
72259
|
+
* @return {!Object}
|
|
72260
|
+
*/
|
|
72261
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
72262
|
+
return proto.clarifai.api.PostNodepoolsRequest.toObject(opt_includeInstance, this);
|
|
72263
|
+
};
|
|
72264
|
+
/**
|
|
72265
|
+
* Static version of the {@see toObject} method.
|
|
72266
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
72267
|
+
* the JSPB instance for transitional soy proto support:
|
|
72268
|
+
* http://goto/soy-param-migration
|
|
72269
|
+
* @param {!proto.clarifai.api.PostNodepoolsRequest} msg The msg instance to transform.
|
|
72270
|
+
* @return {!Object}
|
|
72271
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72272
|
+
*/
|
|
72273
|
+
proto.clarifai.api.PostNodepoolsRequest.toObject = function (includeInstance, msg) {
|
|
72274
|
+
var f, obj = {
|
|
72275
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
72276
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
72277
|
+
nodepoolsList: jspb.Message.toObjectList(msg.getNodepoolsList(), proto_clarifai_api_resources_pb.Nodepool.toObject, includeInstance)
|
|
72278
|
+
};
|
|
72279
|
+
if (includeInstance) {
|
|
72280
|
+
obj.$jspbMessageInstance = msg;
|
|
72281
|
+
}
|
|
72282
|
+
return obj;
|
|
72283
|
+
};
|
|
72284
|
+
}
|
|
72285
|
+
/**
|
|
72286
|
+
* Deserializes binary data (in protobuf wire format).
|
|
72287
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
72288
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest}
|
|
72289
|
+
*/
|
|
72290
|
+
proto.clarifai.api.PostNodepoolsRequest.deserializeBinary = function (bytes) {
|
|
72291
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
72292
|
+
var msg = new proto.clarifai.api.PostNodepoolsRequest;
|
|
72293
|
+
return proto.clarifai.api.PostNodepoolsRequest.deserializeBinaryFromReader(msg, reader);
|
|
72294
|
+
};
|
|
72295
|
+
/**
|
|
72296
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
72297
|
+
* given reader into the given message object.
|
|
72298
|
+
* @param {!proto.clarifai.api.PostNodepoolsRequest} msg The message object to deserialize into.
|
|
72299
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
72300
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest}
|
|
72301
|
+
*/
|
|
72302
|
+
proto.clarifai.api.PostNodepoolsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
72303
|
+
while (reader.nextField()) {
|
|
72304
|
+
if (reader.isEndGroup()) {
|
|
72305
|
+
break;
|
|
72306
|
+
}
|
|
72307
|
+
var field = reader.getFieldNumber();
|
|
72308
|
+
switch (field) {
|
|
72309
|
+
case 1:
|
|
72310
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
72311
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
72312
|
+
msg.setUserAppId(value);
|
|
72313
|
+
break;
|
|
72314
|
+
case 2:
|
|
72315
|
+
var value = /** @type {string} */ (reader.readString());
|
|
72316
|
+
msg.setComputeClusterId(value);
|
|
72317
|
+
break;
|
|
72318
|
+
case 3:
|
|
72319
|
+
var value = new proto_clarifai_api_resources_pb.Nodepool;
|
|
72320
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
|
|
72321
|
+
msg.addNodepools(value);
|
|
72322
|
+
break;
|
|
72323
|
+
default:
|
|
72324
|
+
reader.skipField();
|
|
72325
|
+
break;
|
|
72326
|
+
}
|
|
72327
|
+
}
|
|
72328
|
+
return msg;
|
|
72329
|
+
};
|
|
72330
|
+
/**
|
|
72331
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
72332
|
+
* @return {!Uint8Array}
|
|
72333
|
+
*/
|
|
72334
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.serializeBinary = function () {
|
|
72335
|
+
var writer = new jspb.BinaryWriter();
|
|
72336
|
+
proto.clarifai.api.PostNodepoolsRequest.serializeBinaryToWriter(this, writer);
|
|
72337
|
+
return writer.getResultBuffer();
|
|
72338
|
+
};
|
|
72339
|
+
/**
|
|
72340
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
72341
|
+
* format), writing to the given BinaryWriter.
|
|
72342
|
+
* @param {!proto.clarifai.api.PostNodepoolsRequest} message
|
|
72343
|
+
* @param {!jspb.BinaryWriter} writer
|
|
72344
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72345
|
+
*/
|
|
72346
|
+
proto.clarifai.api.PostNodepoolsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
72347
|
+
var f = undefined;
|
|
72348
|
+
f = message.getUserAppId();
|
|
72349
|
+
if (f != null) {
|
|
72350
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
72351
|
+
}
|
|
72352
|
+
f = message.getComputeClusterId();
|
|
72353
|
+
if (f.length > 0) {
|
|
72354
|
+
writer.writeString(2, f);
|
|
72355
|
+
}
|
|
72356
|
+
f = message.getNodepoolsList();
|
|
72357
|
+
if (f.length > 0) {
|
|
72358
|
+
writer.writeRepeatedMessage(3, f, proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter);
|
|
72359
|
+
}
|
|
72360
|
+
};
|
|
72361
|
+
/**
|
|
72362
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
72363
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
72364
|
+
*/
|
|
72365
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.getUserAppId = function () {
|
|
72366
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
72367
|
+
};
|
|
72368
|
+
/**
|
|
72369
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
72370
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
|
|
72371
|
+
*/
|
|
72372
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.setUserAppId = function (value) {
|
|
72373
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
72374
|
+
};
|
|
72375
|
+
/**
|
|
72376
|
+
* Clears the message field making it undefined.
|
|
72377
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
|
|
72378
|
+
*/
|
|
72379
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.clearUserAppId = function () {
|
|
72380
|
+
return this.setUserAppId(undefined);
|
|
72381
|
+
};
|
|
72382
|
+
/**
|
|
72383
|
+
* Returns whether this field is set.
|
|
72384
|
+
* @return {boolean}
|
|
72385
|
+
*/
|
|
72386
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.hasUserAppId = function () {
|
|
72387
|
+
return jspb.Message.getField(this, 1) != null;
|
|
72388
|
+
};
|
|
72389
|
+
/**
|
|
72390
|
+
* optional string compute_cluster_id = 2;
|
|
72391
|
+
* @return {string}
|
|
72392
|
+
*/
|
|
72393
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.getComputeClusterId = function () {
|
|
72394
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
72395
|
+
};
|
|
72396
|
+
/**
|
|
72397
|
+
* @param {string} value
|
|
72398
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
|
|
72399
|
+
*/
|
|
72400
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.setComputeClusterId = function (value) {
|
|
72401
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
72402
|
+
};
|
|
72403
|
+
/**
|
|
72404
|
+
* repeated Nodepool nodepools = 3;
|
|
72405
|
+
* @return {!Array<!proto.clarifai.api.Nodepool>}
|
|
72406
|
+
*/
|
|
72407
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.getNodepoolsList = function () {
|
|
72408
|
+
return /** @type{!Array<!proto.clarifai.api.Nodepool>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 3));
|
|
72409
|
+
};
|
|
72410
|
+
/**
|
|
72411
|
+
* @param {!Array<!proto.clarifai.api.Nodepool>} value
|
|
72412
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
|
|
72413
|
+
*/
|
|
72414
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.setNodepoolsList = function (value) {
|
|
72415
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
72416
|
+
};
|
|
72417
|
+
/**
|
|
72418
|
+
* @param {!proto.clarifai.api.Nodepool=} opt_value
|
|
72419
|
+
* @param {number=} opt_index
|
|
72420
|
+
* @return {!proto.clarifai.api.Nodepool}
|
|
72421
|
+
*/
|
|
72422
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.addNodepools = function (opt_value, opt_index) {
|
|
72423
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.Nodepool, opt_index);
|
|
72424
|
+
};
|
|
72425
|
+
/**
|
|
72426
|
+
* Clears the list making it empty but non-null.
|
|
72427
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
|
|
72428
|
+
*/
|
|
72429
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.clearNodepoolsList = function () {
|
|
72430
|
+
return this.setNodepoolsList([]);
|
|
72431
|
+
};
|
|
72432
|
+
/**
|
|
72433
|
+
* List of repeated fields within this message type.
|
|
72434
|
+
* @private {!Array<number>}
|
|
72435
|
+
* @const
|
|
72436
|
+
*/
|
|
72437
|
+
proto.clarifai.api.PatchNodepoolsRequest.repeatedFields_ = [3];
|
|
72438
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
72439
|
+
/**
|
|
72440
|
+
* Creates an object representation of this proto.
|
|
72441
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
72442
|
+
* Optional fields that are not set will be set to undefined.
|
|
72443
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
72444
|
+
* For the list of reserved names please see:
|
|
72445
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
72446
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
72447
|
+
* JSPB instance for transitional soy proto support:
|
|
72448
|
+
* http://goto/soy-param-migration
|
|
72449
|
+
* @return {!Object}
|
|
72450
|
+
*/
|
|
72451
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
72452
|
+
return proto.clarifai.api.PatchNodepoolsRequest.toObject(opt_includeInstance, this);
|
|
72453
|
+
};
|
|
72454
|
+
/**
|
|
72455
|
+
* Static version of the {@see toObject} method.
|
|
72456
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
72457
|
+
* the JSPB instance for transitional soy proto support:
|
|
72458
|
+
* http://goto/soy-param-migration
|
|
72459
|
+
* @param {!proto.clarifai.api.PatchNodepoolsRequest} msg The msg instance to transform.
|
|
72460
|
+
* @return {!Object}
|
|
72461
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72462
|
+
*/
|
|
72463
|
+
proto.clarifai.api.PatchNodepoolsRequest.toObject = function (includeInstance, msg) {
|
|
72464
|
+
var f, obj = {
|
|
72465
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
72466
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
72467
|
+
nodepoolsList: jspb.Message.toObjectList(msg.getNodepoolsList(), proto_clarifai_api_resources_pb.Nodepool.toObject, includeInstance),
|
|
72468
|
+
action: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
72469
|
+
};
|
|
72470
|
+
if (includeInstance) {
|
|
72471
|
+
obj.$jspbMessageInstance = msg;
|
|
72472
|
+
}
|
|
72473
|
+
return obj;
|
|
72474
|
+
};
|
|
72475
|
+
}
|
|
72476
|
+
/**
|
|
72477
|
+
* Deserializes binary data (in protobuf wire format).
|
|
72478
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
72479
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest}
|
|
72480
|
+
*/
|
|
72481
|
+
proto.clarifai.api.PatchNodepoolsRequest.deserializeBinary = function (bytes) {
|
|
72482
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
72483
|
+
var msg = new proto.clarifai.api.PatchNodepoolsRequest;
|
|
72484
|
+
return proto.clarifai.api.PatchNodepoolsRequest.deserializeBinaryFromReader(msg, reader);
|
|
72485
|
+
};
|
|
72486
|
+
/**
|
|
72487
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
72488
|
+
* given reader into the given message object.
|
|
72489
|
+
* @param {!proto.clarifai.api.PatchNodepoolsRequest} msg The message object to deserialize into.
|
|
72490
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
72491
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest}
|
|
72492
|
+
*/
|
|
72493
|
+
proto.clarifai.api.PatchNodepoolsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
72494
|
+
while (reader.nextField()) {
|
|
72495
|
+
if (reader.isEndGroup()) {
|
|
72496
|
+
break;
|
|
72497
|
+
}
|
|
72498
|
+
var field = reader.getFieldNumber();
|
|
72499
|
+
switch (field) {
|
|
72500
|
+
case 1:
|
|
72501
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
72502
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
72503
|
+
msg.setUserAppId(value);
|
|
72504
|
+
break;
|
|
72505
|
+
case 2:
|
|
72506
|
+
var value = /** @type {string} */ (reader.readString());
|
|
72507
|
+
msg.setComputeClusterId(value);
|
|
72508
|
+
break;
|
|
72509
|
+
case 3:
|
|
72510
|
+
var value = new proto_clarifai_api_resources_pb.Nodepool;
|
|
72511
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
|
|
72512
|
+
msg.addNodepools(value);
|
|
72513
|
+
break;
|
|
72514
|
+
case 4:
|
|
72515
|
+
var value = /** @type {string} */ (reader.readString());
|
|
72516
|
+
msg.setAction(value);
|
|
72517
|
+
break;
|
|
72518
|
+
default:
|
|
72519
|
+
reader.skipField();
|
|
72520
|
+
break;
|
|
72521
|
+
}
|
|
72522
|
+
}
|
|
72523
|
+
return msg;
|
|
72524
|
+
};
|
|
72525
|
+
/**
|
|
72526
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
72527
|
+
* @return {!Uint8Array}
|
|
72528
|
+
*/
|
|
72529
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.serializeBinary = function () {
|
|
72530
|
+
var writer = new jspb.BinaryWriter();
|
|
72531
|
+
proto.clarifai.api.PatchNodepoolsRequest.serializeBinaryToWriter(this, writer);
|
|
72532
|
+
return writer.getResultBuffer();
|
|
72533
|
+
};
|
|
72534
|
+
/**
|
|
72535
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
72536
|
+
* format), writing to the given BinaryWriter.
|
|
72537
|
+
* @param {!proto.clarifai.api.PatchNodepoolsRequest} message
|
|
72538
|
+
* @param {!jspb.BinaryWriter} writer
|
|
72539
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72540
|
+
*/
|
|
72541
|
+
proto.clarifai.api.PatchNodepoolsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
72542
|
+
var f = undefined;
|
|
72543
|
+
f = message.getUserAppId();
|
|
72544
|
+
if (f != null) {
|
|
72545
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
72546
|
+
}
|
|
72547
|
+
f = message.getComputeClusterId();
|
|
72548
|
+
if (f.length > 0) {
|
|
72549
|
+
writer.writeString(2, f);
|
|
72550
|
+
}
|
|
72551
|
+
f = message.getNodepoolsList();
|
|
72552
|
+
if (f.length > 0) {
|
|
72553
|
+
writer.writeRepeatedMessage(3, f, proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter);
|
|
72554
|
+
}
|
|
72555
|
+
f = message.getAction();
|
|
72556
|
+
if (f.length > 0) {
|
|
72557
|
+
writer.writeString(4, f);
|
|
72558
|
+
}
|
|
72559
|
+
};
|
|
72560
|
+
/**
|
|
72561
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
72562
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
72563
|
+
*/
|
|
72564
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.getUserAppId = function () {
|
|
72565
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
72566
|
+
};
|
|
72567
|
+
/**
|
|
72568
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
72569
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
72570
|
+
*/
|
|
72571
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.setUserAppId = function (value) {
|
|
72572
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
72573
|
+
};
|
|
72574
|
+
/**
|
|
72575
|
+
* Clears the message field making it undefined.
|
|
72576
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
72577
|
+
*/
|
|
72578
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.clearUserAppId = function () {
|
|
72579
|
+
return this.setUserAppId(undefined);
|
|
72580
|
+
};
|
|
72581
|
+
/**
|
|
72582
|
+
* Returns whether this field is set.
|
|
72583
|
+
* @return {boolean}
|
|
72584
|
+
*/
|
|
72585
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.hasUserAppId = function () {
|
|
72586
|
+
return jspb.Message.getField(this, 1) != null;
|
|
72587
|
+
};
|
|
72588
|
+
/**
|
|
72589
|
+
* optional string compute_cluster_id = 2;
|
|
72590
|
+
* @return {string}
|
|
72591
|
+
*/
|
|
72592
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.getComputeClusterId = function () {
|
|
72593
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
72594
|
+
};
|
|
72595
|
+
/**
|
|
72596
|
+
* @param {string} value
|
|
72597
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
72598
|
+
*/
|
|
72599
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.setComputeClusterId = function (value) {
|
|
72600
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
72601
|
+
};
|
|
72602
|
+
/**
|
|
72603
|
+
* repeated Nodepool nodepools = 3;
|
|
72604
|
+
* @return {!Array<!proto.clarifai.api.Nodepool>}
|
|
72605
|
+
*/
|
|
72606
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.getNodepoolsList = function () {
|
|
72607
|
+
return /** @type{!Array<!proto.clarifai.api.Nodepool>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 3));
|
|
72608
|
+
};
|
|
72609
|
+
/**
|
|
72610
|
+
* @param {!Array<!proto.clarifai.api.Nodepool>} value
|
|
72611
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
72612
|
+
*/
|
|
72613
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.setNodepoolsList = function (value) {
|
|
72614
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
72615
|
+
};
|
|
72616
|
+
/**
|
|
72617
|
+
* @param {!proto.clarifai.api.Nodepool=} opt_value
|
|
72618
|
+
* @param {number=} opt_index
|
|
72619
|
+
* @return {!proto.clarifai.api.Nodepool}
|
|
72620
|
+
*/
|
|
72621
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.addNodepools = function (opt_value, opt_index) {
|
|
72622
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.Nodepool, opt_index);
|
|
72623
|
+
};
|
|
72624
|
+
/**
|
|
72625
|
+
* Clears the list making it empty but non-null.
|
|
72626
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
72627
|
+
*/
|
|
72628
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.clearNodepoolsList = function () {
|
|
72629
|
+
return this.setNodepoolsList([]);
|
|
72630
|
+
};
|
|
72631
|
+
/**
|
|
72632
|
+
* optional string action = 4;
|
|
72633
|
+
* @return {string}
|
|
72634
|
+
*/
|
|
72635
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.getAction = function () {
|
|
72636
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
72637
|
+
};
|
|
72638
|
+
/**
|
|
72639
|
+
* @param {string} value
|
|
72640
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
72641
|
+
*/
|
|
72642
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.setAction = function (value) {
|
|
72643
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
72644
|
+
};
|
|
72645
|
+
/**
|
|
72646
|
+
* List of repeated fields within this message type.
|
|
72647
|
+
* @private {!Array<number>}
|
|
72648
|
+
* @const
|
|
72649
|
+
*/
|
|
72650
|
+
proto.clarifai.api.DeleteNodepoolsRequest.repeatedFields_ = [3];
|
|
72651
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
72652
|
+
/**
|
|
72653
|
+
* Creates an object representation of this proto.
|
|
72654
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
72655
|
+
* Optional fields that are not set will be set to undefined.
|
|
72656
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
72657
|
+
* For the list of reserved names please see:
|
|
72658
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
72659
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
72660
|
+
* JSPB instance for transitional soy proto support:
|
|
72661
|
+
* http://goto/soy-param-migration
|
|
72662
|
+
* @return {!Object}
|
|
72663
|
+
*/
|
|
72664
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
72665
|
+
return proto.clarifai.api.DeleteNodepoolsRequest.toObject(opt_includeInstance, this);
|
|
72666
|
+
};
|
|
72667
|
+
/**
|
|
72668
|
+
* Static version of the {@see toObject} method.
|
|
72669
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
72670
|
+
* the JSPB instance for transitional soy proto support:
|
|
72671
|
+
* http://goto/soy-param-migration
|
|
72672
|
+
* @param {!proto.clarifai.api.DeleteNodepoolsRequest} msg The msg instance to transform.
|
|
72673
|
+
* @return {!Object}
|
|
72674
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72675
|
+
*/
|
|
72676
|
+
proto.clarifai.api.DeleteNodepoolsRequest.toObject = function (includeInstance, msg) {
|
|
72677
|
+
var f, obj = {
|
|
72678
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
72679
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
72680
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
72681
|
+
};
|
|
72682
|
+
if (includeInstance) {
|
|
72683
|
+
obj.$jspbMessageInstance = msg;
|
|
72684
|
+
}
|
|
72685
|
+
return obj;
|
|
72686
|
+
};
|
|
72687
|
+
}
|
|
72688
|
+
/**
|
|
72689
|
+
* Deserializes binary data (in protobuf wire format).
|
|
72690
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
72691
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest}
|
|
72692
|
+
*/
|
|
72693
|
+
proto.clarifai.api.DeleteNodepoolsRequest.deserializeBinary = function (bytes) {
|
|
72694
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
72695
|
+
var msg = new proto.clarifai.api.DeleteNodepoolsRequest;
|
|
72696
|
+
return proto.clarifai.api.DeleteNodepoolsRequest.deserializeBinaryFromReader(msg, reader);
|
|
72697
|
+
};
|
|
72698
|
+
/**
|
|
72699
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
72700
|
+
* given reader into the given message object.
|
|
72701
|
+
* @param {!proto.clarifai.api.DeleteNodepoolsRequest} msg The message object to deserialize into.
|
|
72702
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
72703
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest}
|
|
72704
|
+
*/
|
|
72705
|
+
proto.clarifai.api.DeleteNodepoolsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
72706
|
+
while (reader.nextField()) {
|
|
72707
|
+
if (reader.isEndGroup()) {
|
|
72708
|
+
break;
|
|
72709
|
+
}
|
|
72710
|
+
var field = reader.getFieldNumber();
|
|
72711
|
+
switch (field) {
|
|
72712
|
+
case 1:
|
|
72713
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
72714
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
72715
|
+
msg.setUserAppId(value);
|
|
72716
|
+
break;
|
|
72717
|
+
case 2:
|
|
72718
|
+
var value = /** @type {string} */ (reader.readString());
|
|
72719
|
+
msg.setComputeClusterId(value);
|
|
72720
|
+
break;
|
|
72721
|
+
case 3:
|
|
72722
|
+
var value = /** @type {string} */ (reader.readString());
|
|
72723
|
+
msg.addIds(value);
|
|
72724
|
+
break;
|
|
72725
|
+
default:
|
|
72726
|
+
reader.skipField();
|
|
72727
|
+
break;
|
|
72728
|
+
}
|
|
72729
|
+
}
|
|
72730
|
+
return msg;
|
|
72731
|
+
};
|
|
71392
72732
|
/**
|
|
71393
72733
|
* Serializes the message to binary data (in protobuf wire format).
|
|
71394
72734
|
* @return {!Uint8Array}
|
|
@@ -71411,9 +72751,13 @@ proto.clarifai.api.DeleteNodepoolsRequest.serializeBinaryToWriter = function (me
|
|
|
71411
72751
|
if (f != null) {
|
|
71412
72752
|
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
71413
72753
|
}
|
|
72754
|
+
f = message.getComputeClusterId();
|
|
72755
|
+
if (f.length > 0) {
|
|
72756
|
+
writer.writeString(2, f);
|
|
72757
|
+
}
|
|
71414
72758
|
f = message.getIdsList();
|
|
71415
72759
|
if (f.length > 0) {
|
|
71416
|
-
writer.writeRepeatedString(
|
|
72760
|
+
writer.writeRepeatedString(3, f);
|
|
71417
72761
|
}
|
|
71418
72762
|
};
|
|
71419
72763
|
/**
|
|
@@ -71445,18 +72789,32 @@ proto.clarifai.api.DeleteNodepoolsRequest.prototype.hasUserAppId = function () {
|
|
|
71445
72789
|
return jspb.Message.getField(this, 1) != null;
|
|
71446
72790
|
};
|
|
71447
72791
|
/**
|
|
71448
|
-
*
|
|
72792
|
+
* optional string compute_cluster_id = 2;
|
|
72793
|
+
* @return {string}
|
|
72794
|
+
*/
|
|
72795
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.getComputeClusterId = function () {
|
|
72796
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
72797
|
+
};
|
|
72798
|
+
/**
|
|
72799
|
+
* @param {string} value
|
|
72800
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
|
|
72801
|
+
*/
|
|
72802
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.setComputeClusterId = function (value) {
|
|
72803
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
72804
|
+
};
|
|
72805
|
+
/**
|
|
72806
|
+
* repeated string ids = 3;
|
|
71449
72807
|
* @return {!Array<string>}
|
|
71450
72808
|
*/
|
|
71451
72809
|
proto.clarifai.api.DeleteNodepoolsRequest.prototype.getIdsList = function () {
|
|
71452
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this,
|
|
72810
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
71453
72811
|
};
|
|
71454
72812
|
/**
|
|
71455
72813
|
* @param {!Array<string>} value
|
|
71456
72814
|
* @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
|
|
71457
72815
|
*/
|
|
71458
72816
|
proto.clarifai.api.DeleteNodepoolsRequest.prototype.setIdsList = function (value) {
|
|
71459
|
-
return jspb.Message.setField(this,
|
|
72817
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
71460
72818
|
};
|
|
71461
72819
|
/**
|
|
71462
72820
|
* @param {string} value
|
|
@@ -71464,7 +72822,7 @@ proto.clarifai.api.DeleteNodepoolsRequest.prototype.setIdsList = function (value
|
|
|
71464
72822
|
* @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
|
|
71465
72823
|
*/
|
|
71466
72824
|
proto.clarifai.api.DeleteNodepoolsRequest.prototype.addIds = function (value, opt_index) {
|
|
71467
|
-
return jspb.Message.addToRepeatedField(this,
|
|
72825
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
71468
72826
|
};
|
|
71469
72827
|
/**
|
|
71470
72828
|
* Clears the list making it empty but non-null.
|