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
|
@@ -53,6 +53,7 @@ goog.exportSymbol('proto.clarifai.api.DeleteAppRequest', null, global);
|
|
|
53
53
|
goog.exportSymbol('proto.clarifai.api.DeleteBulkOperationRequest', null, global);
|
|
54
54
|
goog.exportSymbol('proto.clarifai.api.DeleteCollaboratorsRequest', null, global);
|
|
55
55
|
goog.exportSymbol('proto.clarifai.api.DeleteCollectorsRequest', null, global);
|
|
56
|
+
goog.exportSymbol('proto.clarifai.api.DeleteComputeClustersRequest', null, global);
|
|
56
57
|
goog.exportSymbol('proto.clarifai.api.DeleteConceptRelationsRequest', null, global);
|
|
57
58
|
goog.exportSymbol('proto.clarifai.api.DeleteDatasetInputsRequest', null, global);
|
|
58
59
|
goog.exportSymbol('proto.clarifai.api.DeleteDatasetVersionsRequest', null, global);
|
|
@@ -82,6 +83,7 @@ goog.exportSymbol('proto.clarifai.api.GetAppDuplicationRequest', null, global);
|
|
|
82
83
|
goog.exportSymbol('proto.clarifai.api.GetAppRequest', null, global);
|
|
83
84
|
goog.exportSymbol('proto.clarifai.api.GetBulkOperationRequest', null, global);
|
|
84
85
|
goog.exportSymbol('proto.clarifai.api.GetCollectorRequest', null, global);
|
|
86
|
+
goog.exportSymbol('proto.clarifai.api.GetComputeClusterRequest', null, global);
|
|
85
87
|
goog.exportSymbol('proto.clarifai.api.GetConceptCountsRequest', null, global);
|
|
86
88
|
goog.exportSymbol('proto.clarifai.api.GetConceptLanguageRequest', null, global);
|
|
87
89
|
goog.exportSymbol('proto.clarifai.api.GetConceptRequest', null, global);
|
|
@@ -135,6 +137,7 @@ goog.exportSymbol('proto.clarifai.api.ListBulkOperationsRequest', null, global);
|
|
|
135
137
|
goog.exportSymbol('proto.clarifai.api.ListCollaborationsRequest', null, global);
|
|
136
138
|
goog.exportSymbol('proto.clarifai.api.ListCollaboratorsRequest', null, global);
|
|
137
139
|
goog.exportSymbol('proto.clarifai.api.ListCollectorsRequest', null, global);
|
|
140
|
+
goog.exportSymbol('proto.clarifai.api.ListComputeClustersRequest', null, global);
|
|
138
141
|
goog.exportSymbol('proto.clarifai.api.ListConceptLanguagesRequest', null, global);
|
|
139
142
|
goog.exportSymbol('proto.clarifai.api.ListConceptRelationsRequest', null, global);
|
|
140
143
|
goog.exportSymbol('proto.clarifai.api.ListConceptsRequest', null, global);
|
|
@@ -191,6 +194,7 @@ goog.exportSymbol('proto.clarifai.api.MultiBulkOperationsResponse', null, global
|
|
|
191
194
|
goog.exportSymbol('proto.clarifai.api.MultiCollaborationsResponse', null, global);
|
|
192
195
|
goog.exportSymbol('proto.clarifai.api.MultiCollaboratorsResponse', null, global);
|
|
193
196
|
goog.exportSymbol('proto.clarifai.api.MultiCollectorResponse', null, global);
|
|
197
|
+
goog.exportSymbol('proto.clarifai.api.MultiComputeClusterResponse', null, global);
|
|
194
198
|
goog.exportSymbol('proto.clarifai.api.MultiConceptCountResponse', null, global);
|
|
195
199
|
goog.exportSymbol('proto.clarifai.api.MultiConceptLanguageResponse', null, global);
|
|
196
200
|
goog.exportSymbol('proto.clarifai.api.MultiConceptMappingJobResponse', null, global);
|
|
@@ -290,6 +294,7 @@ goog.exportSymbol('proto.clarifai.api.PostAppsSearchesRequest', null, global);
|
|
|
290
294
|
goog.exportSymbol('proto.clarifai.api.PostBulkOperationsRequest', null, global);
|
|
291
295
|
goog.exportSymbol('proto.clarifai.api.PostCollaboratorsRequest', null, global);
|
|
292
296
|
goog.exportSymbol('proto.clarifai.api.PostCollectorsRequest', null, global);
|
|
297
|
+
goog.exportSymbol('proto.clarifai.api.PostComputeClustersRequest', null, global);
|
|
293
298
|
goog.exportSymbol('proto.clarifai.api.PostConceptLanguagesRequest', null, global);
|
|
294
299
|
goog.exportSymbol('proto.clarifai.api.PostConceptMappingJobsRequest', null, global);
|
|
295
300
|
goog.exportSymbol('proto.clarifai.api.PostConceptRelationsRequest', null, global);
|
|
@@ -360,6 +365,7 @@ goog.exportSymbol('proto.clarifai.api.SingleAppDuplicationResponse', null, globa
|
|
|
360
365
|
goog.exportSymbol('proto.clarifai.api.SingleAppResponse', null, global);
|
|
361
366
|
goog.exportSymbol('proto.clarifai.api.SingleBulkOperationsResponse', null, global);
|
|
362
367
|
goog.exportSymbol('proto.clarifai.api.SingleCollectorResponse', null, global);
|
|
368
|
+
goog.exportSymbol('proto.clarifai.api.SingleComputeClusterResponse', null, global);
|
|
363
369
|
goog.exportSymbol('proto.clarifai.api.SingleConceptLanguageResponse', null, global);
|
|
364
370
|
goog.exportSymbol('proto.clarifai.api.SingleConceptResponse', null, global);
|
|
365
371
|
goog.exportSymbol('proto.clarifai.api.SingleDatasetInputResponse', null, global);
|
|
@@ -7409,6 +7415,132 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
7409
7415
|
*/
|
|
7410
7416
|
proto.clarifai.api.MultiTrainingTimeEstimateResponse.displayName = 'proto.clarifai.api.MultiTrainingTimeEstimateResponse';
|
|
7411
7417
|
}
|
|
7418
|
+
/**
|
|
7419
|
+
* Generated by JsPbCodeGenerator.
|
|
7420
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7421
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7422
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7423
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7424
|
+
* valid.
|
|
7425
|
+
* @extends {jspb.Message}
|
|
7426
|
+
* @constructor
|
|
7427
|
+
*/
|
|
7428
|
+
proto.clarifai.api.GetComputeClusterRequest = function(opt_data) {
|
|
7429
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7430
|
+
};
|
|
7431
|
+
goog.inherits(proto.clarifai.api.GetComputeClusterRequest, jspb.Message);
|
|
7432
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7433
|
+
/**
|
|
7434
|
+
* @public
|
|
7435
|
+
* @override
|
|
7436
|
+
*/
|
|
7437
|
+
proto.clarifai.api.GetComputeClusterRequest.displayName = 'proto.clarifai.api.GetComputeClusterRequest';
|
|
7438
|
+
}
|
|
7439
|
+
/**
|
|
7440
|
+
* Generated by JsPbCodeGenerator.
|
|
7441
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7442
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7443
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7444
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7445
|
+
* valid.
|
|
7446
|
+
* @extends {jspb.Message}
|
|
7447
|
+
* @constructor
|
|
7448
|
+
*/
|
|
7449
|
+
proto.clarifai.api.ListComputeClustersRequest = function(opt_data) {
|
|
7450
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7451
|
+
};
|
|
7452
|
+
goog.inherits(proto.clarifai.api.ListComputeClustersRequest, jspb.Message);
|
|
7453
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7454
|
+
/**
|
|
7455
|
+
* @public
|
|
7456
|
+
* @override
|
|
7457
|
+
*/
|
|
7458
|
+
proto.clarifai.api.ListComputeClustersRequest.displayName = 'proto.clarifai.api.ListComputeClustersRequest';
|
|
7459
|
+
}
|
|
7460
|
+
/**
|
|
7461
|
+
* Generated by JsPbCodeGenerator.
|
|
7462
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7463
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7464
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7465
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7466
|
+
* valid.
|
|
7467
|
+
* @extends {jspb.Message}
|
|
7468
|
+
* @constructor
|
|
7469
|
+
*/
|
|
7470
|
+
proto.clarifai.api.PostComputeClustersRequest = function(opt_data) {
|
|
7471
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PostComputeClustersRequest.repeatedFields_, null);
|
|
7472
|
+
};
|
|
7473
|
+
goog.inherits(proto.clarifai.api.PostComputeClustersRequest, jspb.Message);
|
|
7474
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7475
|
+
/**
|
|
7476
|
+
* @public
|
|
7477
|
+
* @override
|
|
7478
|
+
*/
|
|
7479
|
+
proto.clarifai.api.PostComputeClustersRequest.displayName = 'proto.clarifai.api.PostComputeClustersRequest';
|
|
7480
|
+
}
|
|
7481
|
+
/**
|
|
7482
|
+
* Generated by JsPbCodeGenerator.
|
|
7483
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7484
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7485
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7486
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7487
|
+
* valid.
|
|
7488
|
+
* @extends {jspb.Message}
|
|
7489
|
+
* @constructor
|
|
7490
|
+
*/
|
|
7491
|
+
proto.clarifai.api.DeleteComputeClustersRequest = function(opt_data) {
|
|
7492
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.DeleteComputeClustersRequest.repeatedFields_, null);
|
|
7493
|
+
};
|
|
7494
|
+
goog.inherits(proto.clarifai.api.DeleteComputeClustersRequest, jspb.Message);
|
|
7495
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7496
|
+
/**
|
|
7497
|
+
* @public
|
|
7498
|
+
* @override
|
|
7499
|
+
*/
|
|
7500
|
+
proto.clarifai.api.DeleteComputeClustersRequest.displayName = 'proto.clarifai.api.DeleteComputeClustersRequest';
|
|
7501
|
+
}
|
|
7502
|
+
/**
|
|
7503
|
+
* Generated by JsPbCodeGenerator.
|
|
7504
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7505
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7506
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7507
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7508
|
+
* valid.
|
|
7509
|
+
* @extends {jspb.Message}
|
|
7510
|
+
* @constructor
|
|
7511
|
+
*/
|
|
7512
|
+
proto.clarifai.api.SingleComputeClusterResponse = function(opt_data) {
|
|
7513
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7514
|
+
};
|
|
7515
|
+
goog.inherits(proto.clarifai.api.SingleComputeClusterResponse, jspb.Message);
|
|
7516
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7517
|
+
/**
|
|
7518
|
+
* @public
|
|
7519
|
+
* @override
|
|
7520
|
+
*/
|
|
7521
|
+
proto.clarifai.api.SingleComputeClusterResponse.displayName = 'proto.clarifai.api.SingleComputeClusterResponse';
|
|
7522
|
+
}
|
|
7523
|
+
/**
|
|
7524
|
+
* Generated by JsPbCodeGenerator.
|
|
7525
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7526
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7527
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7528
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7529
|
+
* valid.
|
|
7530
|
+
* @extends {jspb.Message}
|
|
7531
|
+
* @constructor
|
|
7532
|
+
*/
|
|
7533
|
+
proto.clarifai.api.MultiComputeClusterResponse = function(opt_data) {
|
|
7534
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiComputeClusterResponse.repeatedFields_, null);
|
|
7535
|
+
};
|
|
7536
|
+
goog.inherits(proto.clarifai.api.MultiComputeClusterResponse, jspb.Message);
|
|
7537
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7538
|
+
/**
|
|
7539
|
+
* @public
|
|
7540
|
+
* @override
|
|
7541
|
+
*/
|
|
7542
|
+
proto.clarifai.api.MultiComputeClusterResponse.displayName = 'proto.clarifai.api.MultiComputeClusterResponse';
|
|
7543
|
+
}
|
|
7412
7544
|
/**
|
|
7413
7545
|
* Generated by JsPbCodeGenerator.
|
|
7414
7546
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -84199,7 +84331,8 @@ proto.clarifai.api.GetRunnerRequest.prototype.toObject = function(opt_includeIns
|
|
|
84199
84331
|
proto.clarifai.api.GetRunnerRequest.toObject = function(includeInstance, msg) {
|
|
84200
84332
|
var f, obj = {
|
|
84201
84333
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
84202
|
-
|
|
84334
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
84335
|
+
runnerId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
84203
84336
|
};
|
|
84204
84337
|
|
|
84205
84338
|
if (includeInstance) {
|
|
@@ -84242,6 +84375,10 @@ proto.clarifai.api.GetRunnerRequest.deserializeBinaryFromReader = function(msg,
|
|
|
84242
84375
|
msg.setUserAppId(value);
|
|
84243
84376
|
break;
|
|
84244
84377
|
case 2:
|
|
84378
|
+
var value = /** @type {string} */ (reader.readString());
|
|
84379
|
+
msg.setNodepoolId(value);
|
|
84380
|
+
break;
|
|
84381
|
+
case 3:
|
|
84245
84382
|
var value = /** @type {string} */ (reader.readString());
|
|
84246
84383
|
msg.setRunnerId(value);
|
|
84247
84384
|
break;
|
|
@@ -84282,13 +84419,20 @@ proto.clarifai.api.GetRunnerRequest.serializeBinaryToWriter = function(message,
|
|
|
84282
84419
|
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
84283
84420
|
);
|
|
84284
84421
|
}
|
|
84285
|
-
f = message.
|
|
84422
|
+
f = message.getNodepoolId();
|
|
84286
84423
|
if (f.length > 0) {
|
|
84287
84424
|
writer.writeString(
|
|
84288
84425
|
2,
|
|
84289
84426
|
f
|
|
84290
84427
|
);
|
|
84291
84428
|
}
|
|
84429
|
+
f = message.getRunnerId();
|
|
84430
|
+
if (f.length > 0) {
|
|
84431
|
+
writer.writeString(
|
|
84432
|
+
3,
|
|
84433
|
+
f
|
|
84434
|
+
);
|
|
84435
|
+
}
|
|
84292
84436
|
};
|
|
84293
84437
|
|
|
84294
84438
|
|
|
@@ -84330,10 +84474,10 @@ proto.clarifai.api.GetRunnerRequest.prototype.hasUserAppId = function() {
|
|
|
84330
84474
|
|
|
84331
84475
|
|
|
84332
84476
|
/**
|
|
84333
|
-
* optional string
|
|
84477
|
+
* optional string nodepool_id = 2;
|
|
84334
84478
|
* @return {string}
|
|
84335
84479
|
*/
|
|
84336
|
-
proto.clarifai.api.GetRunnerRequest.prototype.
|
|
84480
|
+
proto.clarifai.api.GetRunnerRequest.prototype.getNodepoolId = function() {
|
|
84337
84481
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
84338
84482
|
};
|
|
84339
84483
|
|
|
@@ -84342,11 +84486,29 @@ proto.clarifai.api.GetRunnerRequest.prototype.getRunnerId = function() {
|
|
|
84342
84486
|
* @param {string} value
|
|
84343
84487
|
* @return {!proto.clarifai.api.GetRunnerRequest} returns this
|
|
84344
84488
|
*/
|
|
84345
|
-
proto.clarifai.api.GetRunnerRequest.prototype.
|
|
84489
|
+
proto.clarifai.api.GetRunnerRequest.prototype.setNodepoolId = function(value) {
|
|
84346
84490
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
84347
84491
|
};
|
|
84348
84492
|
|
|
84349
84493
|
|
|
84494
|
+
/**
|
|
84495
|
+
* optional string runner_id = 3;
|
|
84496
|
+
* @return {string}
|
|
84497
|
+
*/
|
|
84498
|
+
proto.clarifai.api.GetRunnerRequest.prototype.getRunnerId = function() {
|
|
84499
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
84500
|
+
};
|
|
84501
|
+
|
|
84502
|
+
|
|
84503
|
+
/**
|
|
84504
|
+
* @param {string} value
|
|
84505
|
+
* @return {!proto.clarifai.api.GetRunnerRequest} returns this
|
|
84506
|
+
*/
|
|
84507
|
+
proto.clarifai.api.GetRunnerRequest.prototype.setRunnerId = function(value) {
|
|
84508
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
84509
|
+
};
|
|
84510
|
+
|
|
84511
|
+
|
|
84350
84512
|
|
|
84351
84513
|
|
|
84352
84514
|
|
|
@@ -84380,8 +84542,9 @@ proto.clarifai.api.ListRunnersRequest.prototype.toObject = function(opt_includeI
|
|
|
84380
84542
|
proto.clarifai.api.ListRunnersRequest.toObject = function(includeInstance, msg) {
|
|
84381
84543
|
var f, obj = {
|
|
84382
84544
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
84383
|
-
|
|
84384
|
-
|
|
84545
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
84546
|
+
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
84547
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
84385
84548
|
};
|
|
84386
84549
|
|
|
84387
84550
|
if (includeInstance) {
|
|
@@ -84424,10 +84587,14 @@ proto.clarifai.api.ListRunnersRequest.deserializeBinaryFromReader = function(msg
|
|
|
84424
84587
|
msg.setUserAppId(value);
|
|
84425
84588
|
break;
|
|
84426
84589
|
case 2:
|
|
84590
|
+
var value = /** @type {string} */ (reader.readString());
|
|
84591
|
+
msg.setNodepoolId(value);
|
|
84592
|
+
break;
|
|
84593
|
+
case 3:
|
|
84427
84594
|
var value = /** @type {number} */ (reader.readUint32());
|
|
84428
84595
|
msg.setPage(value);
|
|
84429
84596
|
break;
|
|
84430
|
-
case
|
|
84597
|
+
case 4:
|
|
84431
84598
|
var value = /** @type {number} */ (reader.readUint32());
|
|
84432
84599
|
msg.setPerPage(value);
|
|
84433
84600
|
break;
|
|
@@ -84468,17 +84635,24 @@ proto.clarifai.api.ListRunnersRequest.serializeBinaryToWriter = function(message
|
|
|
84468
84635
|
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
84469
84636
|
);
|
|
84470
84637
|
}
|
|
84638
|
+
f = message.getNodepoolId();
|
|
84639
|
+
if (f.length > 0) {
|
|
84640
|
+
writer.writeString(
|
|
84641
|
+
2,
|
|
84642
|
+
f
|
|
84643
|
+
);
|
|
84644
|
+
}
|
|
84471
84645
|
f = message.getPage();
|
|
84472
84646
|
if (f !== 0) {
|
|
84473
84647
|
writer.writeUint32(
|
|
84474
|
-
|
|
84648
|
+
3,
|
|
84475
84649
|
f
|
|
84476
84650
|
);
|
|
84477
84651
|
}
|
|
84478
84652
|
f = message.getPerPage();
|
|
84479
84653
|
if (f !== 0) {
|
|
84480
84654
|
writer.writeUint32(
|
|
84481
|
-
|
|
84655
|
+
4,
|
|
84482
84656
|
f
|
|
84483
84657
|
);
|
|
84484
84658
|
}
|
|
@@ -84523,11 +84697,29 @@ proto.clarifai.api.ListRunnersRequest.prototype.hasUserAppId = function() {
|
|
|
84523
84697
|
|
|
84524
84698
|
|
|
84525
84699
|
/**
|
|
84526
|
-
* optional
|
|
84700
|
+
* optional string nodepool_id = 2;
|
|
84701
|
+
* @return {string}
|
|
84702
|
+
*/
|
|
84703
|
+
proto.clarifai.api.ListRunnersRequest.prototype.getNodepoolId = function() {
|
|
84704
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
84705
|
+
};
|
|
84706
|
+
|
|
84707
|
+
|
|
84708
|
+
/**
|
|
84709
|
+
* @param {string} value
|
|
84710
|
+
* @return {!proto.clarifai.api.ListRunnersRequest} returns this
|
|
84711
|
+
*/
|
|
84712
|
+
proto.clarifai.api.ListRunnersRequest.prototype.setNodepoolId = function(value) {
|
|
84713
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
84714
|
+
};
|
|
84715
|
+
|
|
84716
|
+
|
|
84717
|
+
/**
|
|
84718
|
+
* optional uint32 page = 3;
|
|
84527
84719
|
* @return {number}
|
|
84528
84720
|
*/
|
|
84529
84721
|
proto.clarifai.api.ListRunnersRequest.prototype.getPage = function() {
|
|
84530
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
84722
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
84531
84723
|
};
|
|
84532
84724
|
|
|
84533
84725
|
|
|
@@ -84536,16 +84728,16 @@ proto.clarifai.api.ListRunnersRequest.prototype.getPage = function() {
|
|
|
84536
84728
|
* @return {!proto.clarifai.api.ListRunnersRequest} returns this
|
|
84537
84729
|
*/
|
|
84538
84730
|
proto.clarifai.api.ListRunnersRequest.prototype.setPage = function(value) {
|
|
84539
|
-
return jspb.Message.setProto3IntField(this,
|
|
84731
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
84540
84732
|
};
|
|
84541
84733
|
|
|
84542
84734
|
|
|
84543
84735
|
/**
|
|
84544
|
-
* optional uint32 per_page =
|
|
84736
|
+
* optional uint32 per_page = 4;
|
|
84545
84737
|
* @return {number}
|
|
84546
84738
|
*/
|
|
84547
84739
|
proto.clarifai.api.ListRunnersRequest.prototype.getPerPage = function() {
|
|
84548
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
84740
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
84549
84741
|
};
|
|
84550
84742
|
|
|
84551
84743
|
|
|
@@ -84554,7 +84746,7 @@ proto.clarifai.api.ListRunnersRequest.prototype.getPerPage = function() {
|
|
|
84554
84746
|
* @return {!proto.clarifai.api.ListRunnersRequest} returns this
|
|
84555
84747
|
*/
|
|
84556
84748
|
proto.clarifai.api.ListRunnersRequest.prototype.setPerPage = function(value) {
|
|
84557
|
-
return jspb.Message.setProto3IntField(this,
|
|
84749
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
84558
84750
|
};
|
|
84559
84751
|
|
|
84560
84752
|
|
|
@@ -84598,6 +84790,7 @@ proto.clarifai.api.PostRunnersRequest.prototype.toObject = function(opt_includeI
|
|
|
84598
84790
|
proto.clarifai.api.PostRunnersRequest.toObject = function(includeInstance, msg) {
|
|
84599
84791
|
var f, obj = {
|
|
84600
84792
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
84793
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
84601
84794
|
runnersList: jspb.Message.toObjectList(msg.getRunnersList(),
|
|
84602
84795
|
proto_clarifai_api_resources_pb.Runner.toObject, includeInstance)
|
|
84603
84796
|
};
|
|
@@ -84641,6 +84834,10 @@ proto.clarifai.api.PostRunnersRequest.deserializeBinaryFromReader = function(msg
|
|
|
84641
84834
|
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
84642
84835
|
msg.setUserAppId(value);
|
|
84643
84836
|
break;
|
|
84837
|
+
case 2:
|
|
84838
|
+
var value = /** @type {string} */ (reader.readString());
|
|
84839
|
+
msg.setNodepoolId(value);
|
|
84840
|
+
break;
|
|
84644
84841
|
case 3:
|
|
84645
84842
|
var value = new proto_clarifai_api_resources_pb.Runner;
|
|
84646
84843
|
reader.readMessage(value,proto_clarifai_api_resources_pb.Runner.deserializeBinaryFromReader);
|
|
@@ -84683,6 +84880,13 @@ proto.clarifai.api.PostRunnersRequest.serializeBinaryToWriter = function(message
|
|
|
84683
84880
|
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
84684
84881
|
);
|
|
84685
84882
|
}
|
|
84883
|
+
f = message.getNodepoolId();
|
|
84884
|
+
if (f.length > 0) {
|
|
84885
|
+
writer.writeString(
|
|
84886
|
+
2,
|
|
84887
|
+
f
|
|
84888
|
+
);
|
|
84889
|
+
}
|
|
84686
84890
|
f = message.getRunnersList();
|
|
84687
84891
|
if (f.length > 0) {
|
|
84688
84892
|
writer.writeRepeatedMessage(
|
|
@@ -84731,6 +84935,24 @@ proto.clarifai.api.PostRunnersRequest.prototype.hasUserAppId = function() {
|
|
|
84731
84935
|
};
|
|
84732
84936
|
|
|
84733
84937
|
|
|
84938
|
+
/**
|
|
84939
|
+
* optional string nodepool_id = 2;
|
|
84940
|
+
* @return {string}
|
|
84941
|
+
*/
|
|
84942
|
+
proto.clarifai.api.PostRunnersRequest.prototype.getNodepoolId = function() {
|
|
84943
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
84944
|
+
};
|
|
84945
|
+
|
|
84946
|
+
|
|
84947
|
+
/**
|
|
84948
|
+
* @param {string} value
|
|
84949
|
+
* @return {!proto.clarifai.api.PostRunnersRequest} returns this
|
|
84950
|
+
*/
|
|
84951
|
+
proto.clarifai.api.PostRunnersRequest.prototype.setNodepoolId = function(value) {
|
|
84952
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
84953
|
+
};
|
|
84954
|
+
|
|
84955
|
+
|
|
84734
84956
|
/**
|
|
84735
84957
|
* repeated Runner runners = 3;
|
|
84736
84958
|
* @return {!Array<!proto.clarifai.api.Runner>}
|
|
@@ -84775,7 +84997,7 @@ proto.clarifai.api.PostRunnersRequest.prototype.clearRunnersList = function() {
|
|
|
84775
84997
|
* @private {!Array<number>}
|
|
84776
84998
|
* @const
|
|
84777
84999
|
*/
|
|
84778
|
-
proto.clarifai.api.DeleteRunnersRequest.repeatedFields_ = [
|
|
85000
|
+
proto.clarifai.api.DeleteRunnersRequest.repeatedFields_ = [3];
|
|
84779
85001
|
|
|
84780
85002
|
|
|
84781
85003
|
|
|
@@ -84809,7 +85031,8 @@ proto.clarifai.api.DeleteRunnersRequest.prototype.toObject = function(opt_includ
|
|
|
84809
85031
|
proto.clarifai.api.DeleteRunnersRequest.toObject = function(includeInstance, msg) {
|
|
84810
85032
|
var f, obj = {
|
|
84811
85033
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
84812
|
-
|
|
85034
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
85035
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
84813
85036
|
};
|
|
84814
85037
|
|
|
84815
85038
|
if (includeInstance) {
|
|
@@ -84852,6 +85075,10 @@ proto.clarifai.api.DeleteRunnersRequest.deserializeBinaryFromReader = function(m
|
|
|
84852
85075
|
msg.setUserAppId(value);
|
|
84853
85076
|
break;
|
|
84854
85077
|
case 2:
|
|
85078
|
+
var value = /** @type {string} */ (reader.readString());
|
|
85079
|
+
msg.setNodepoolId(value);
|
|
85080
|
+
break;
|
|
85081
|
+
case 3:
|
|
84855
85082
|
var value = /** @type {string} */ (reader.readString());
|
|
84856
85083
|
msg.addIds(value);
|
|
84857
85084
|
break;
|
|
@@ -84892,10 +85119,17 @@ proto.clarifai.api.DeleteRunnersRequest.serializeBinaryToWriter = function(messa
|
|
|
84892
85119
|
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
84893
85120
|
);
|
|
84894
85121
|
}
|
|
85122
|
+
f = message.getNodepoolId();
|
|
85123
|
+
if (f.length > 0) {
|
|
85124
|
+
writer.writeString(
|
|
85125
|
+
2,
|
|
85126
|
+
f
|
|
85127
|
+
);
|
|
85128
|
+
}
|
|
84895
85129
|
f = message.getIdsList();
|
|
84896
85130
|
if (f.length > 0) {
|
|
84897
85131
|
writer.writeRepeatedString(
|
|
84898
|
-
|
|
85132
|
+
3,
|
|
84899
85133
|
f
|
|
84900
85134
|
);
|
|
84901
85135
|
}
|
|
@@ -84940,11 +85174,29 @@ proto.clarifai.api.DeleteRunnersRequest.prototype.hasUserAppId = function() {
|
|
|
84940
85174
|
|
|
84941
85175
|
|
|
84942
85176
|
/**
|
|
84943
|
-
*
|
|
85177
|
+
* optional string nodepool_id = 2;
|
|
85178
|
+
* @return {string}
|
|
85179
|
+
*/
|
|
85180
|
+
proto.clarifai.api.DeleteRunnersRequest.prototype.getNodepoolId = function() {
|
|
85181
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
85182
|
+
};
|
|
85183
|
+
|
|
85184
|
+
|
|
85185
|
+
/**
|
|
85186
|
+
* @param {string} value
|
|
85187
|
+
* @return {!proto.clarifai.api.DeleteRunnersRequest} returns this
|
|
85188
|
+
*/
|
|
85189
|
+
proto.clarifai.api.DeleteRunnersRequest.prototype.setNodepoolId = function(value) {
|
|
85190
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
85191
|
+
};
|
|
85192
|
+
|
|
85193
|
+
|
|
85194
|
+
/**
|
|
85195
|
+
* repeated string ids = 3;
|
|
84944
85196
|
* @return {!Array<string>}
|
|
84945
85197
|
*/
|
|
84946
85198
|
proto.clarifai.api.DeleteRunnersRequest.prototype.getIdsList = function() {
|
|
84947
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this,
|
|
85199
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
84948
85200
|
};
|
|
84949
85201
|
|
|
84950
85202
|
|
|
@@ -84953,7 +85205,7 @@ proto.clarifai.api.DeleteRunnersRequest.prototype.getIdsList = function() {
|
|
|
84953
85205
|
* @return {!proto.clarifai.api.DeleteRunnersRequest} returns this
|
|
84954
85206
|
*/
|
|
84955
85207
|
proto.clarifai.api.DeleteRunnersRequest.prototype.setIdsList = function(value) {
|
|
84956
|
-
return jspb.Message.setField(this,
|
|
85208
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
84957
85209
|
};
|
|
84958
85210
|
|
|
84959
85211
|
|
|
@@ -84963,7 +85215,7 @@ proto.clarifai.api.DeleteRunnersRequest.prototype.setIdsList = function(value) {
|
|
|
84963
85215
|
* @return {!proto.clarifai.api.DeleteRunnersRequest} returns this
|
|
84964
85216
|
*/
|
|
84965
85217
|
proto.clarifai.api.DeleteRunnersRequest.prototype.addIds = function(value, opt_index) {
|
|
84966
|
-
return jspb.Message.addToRepeatedField(this,
|
|
85218
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
84967
85219
|
};
|
|
84968
85220
|
|
|
84969
85221
|
|
|
@@ -85422,7 +85674,8 @@ proto.clarifai.api.ListRunnerItemsRequest.prototype.toObject = function(opt_incl
|
|
|
85422
85674
|
proto.clarifai.api.ListRunnerItemsRequest.toObject = function(includeInstance, msg) {
|
|
85423
85675
|
var f, obj = {
|
|
85424
85676
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
85425
|
-
|
|
85677
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
85678
|
+
runnerId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
85426
85679
|
};
|
|
85427
85680
|
|
|
85428
85681
|
if (includeInstance) {
|
|
@@ -85465,6 +85718,10 @@ proto.clarifai.api.ListRunnerItemsRequest.deserializeBinaryFromReader = function
|
|
|
85465
85718
|
msg.setUserAppId(value);
|
|
85466
85719
|
break;
|
|
85467
85720
|
case 2:
|
|
85721
|
+
var value = /** @type {string} */ (reader.readString());
|
|
85722
|
+
msg.setNodepoolId(value);
|
|
85723
|
+
break;
|
|
85724
|
+
case 3:
|
|
85468
85725
|
var value = /** @type {string} */ (reader.readString());
|
|
85469
85726
|
msg.setRunnerId(value);
|
|
85470
85727
|
break;
|
|
@@ -85505,13 +85762,20 @@ proto.clarifai.api.ListRunnerItemsRequest.serializeBinaryToWriter = function(mes
|
|
|
85505
85762
|
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
85506
85763
|
);
|
|
85507
85764
|
}
|
|
85508
|
-
f = message.
|
|
85765
|
+
f = message.getNodepoolId();
|
|
85509
85766
|
if (f.length > 0) {
|
|
85510
85767
|
writer.writeString(
|
|
85511
85768
|
2,
|
|
85512
85769
|
f
|
|
85513
85770
|
);
|
|
85514
85771
|
}
|
|
85772
|
+
f = message.getRunnerId();
|
|
85773
|
+
if (f.length > 0) {
|
|
85774
|
+
writer.writeString(
|
|
85775
|
+
3,
|
|
85776
|
+
f
|
|
85777
|
+
);
|
|
85778
|
+
}
|
|
85515
85779
|
};
|
|
85516
85780
|
|
|
85517
85781
|
|
|
@@ -85553,10 +85817,10 @@ proto.clarifai.api.ListRunnerItemsRequest.prototype.hasUserAppId = function() {
|
|
|
85553
85817
|
|
|
85554
85818
|
|
|
85555
85819
|
/**
|
|
85556
|
-
* optional string
|
|
85820
|
+
* optional string nodepool_id = 2;
|
|
85557
85821
|
* @return {string}
|
|
85558
85822
|
*/
|
|
85559
|
-
proto.clarifai.api.ListRunnerItemsRequest.prototype.
|
|
85823
|
+
proto.clarifai.api.ListRunnerItemsRequest.prototype.getNodepoolId = function() {
|
|
85560
85824
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
85561
85825
|
};
|
|
85562
85826
|
|
|
@@ -85565,18 +85829,36 @@ proto.clarifai.api.ListRunnerItemsRequest.prototype.getRunnerId = function() {
|
|
|
85565
85829
|
* @param {string} value
|
|
85566
85830
|
* @return {!proto.clarifai.api.ListRunnerItemsRequest} returns this
|
|
85567
85831
|
*/
|
|
85568
|
-
proto.clarifai.api.ListRunnerItemsRequest.prototype.
|
|
85832
|
+
proto.clarifai.api.ListRunnerItemsRequest.prototype.setNodepoolId = function(value) {
|
|
85569
85833
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
85570
85834
|
};
|
|
85571
85835
|
|
|
85572
85836
|
|
|
85837
|
+
/**
|
|
85838
|
+
* optional string runner_id = 3;
|
|
85839
|
+
* @return {string}
|
|
85840
|
+
*/
|
|
85841
|
+
proto.clarifai.api.ListRunnerItemsRequest.prototype.getRunnerId = function() {
|
|
85842
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
85843
|
+
};
|
|
85844
|
+
|
|
85845
|
+
|
|
85846
|
+
/**
|
|
85847
|
+
* @param {string} value
|
|
85848
|
+
* @return {!proto.clarifai.api.ListRunnerItemsRequest} returns this
|
|
85849
|
+
*/
|
|
85850
|
+
proto.clarifai.api.ListRunnerItemsRequest.prototype.setRunnerId = function(value) {
|
|
85851
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
85852
|
+
};
|
|
85853
|
+
|
|
85854
|
+
|
|
85573
85855
|
|
|
85574
85856
|
/**
|
|
85575
85857
|
* List of repeated fields within this message type.
|
|
85576
85858
|
* @private {!Array<number>}
|
|
85577
85859
|
* @const
|
|
85578
85860
|
*/
|
|
85579
|
-
proto.clarifai.api.PostRunnerItemOutputsRequest.repeatedFields_ = [
|
|
85861
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.repeatedFields_ = [5];
|
|
85580
85862
|
|
|
85581
85863
|
|
|
85582
85864
|
|
|
@@ -85610,8 +85892,9 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.toObject = function(op
|
|
|
85610
85892
|
proto.clarifai.api.PostRunnerItemOutputsRequest.toObject = function(includeInstance, msg) {
|
|
85611
85893
|
var f, obj = {
|
|
85612
85894
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
85613
|
-
|
|
85614
|
-
|
|
85895
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
85896
|
+
runnerId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
85897
|
+
runnerItemId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
85615
85898
|
runnerItemOutputsList: jspb.Message.toObjectList(msg.getRunnerItemOutputsList(),
|
|
85616
85899
|
proto.clarifai.api.RunnerItemOutput.toObject, includeInstance),
|
|
85617
85900
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f)
|
|
@@ -85658,18 +85941,22 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.deserializeBinaryFromReader = fu
|
|
|
85658
85941
|
break;
|
|
85659
85942
|
case 2:
|
|
85660
85943
|
var value = /** @type {string} */ (reader.readString());
|
|
85661
|
-
msg.
|
|
85944
|
+
msg.setNodepoolId(value);
|
|
85662
85945
|
break;
|
|
85663
85946
|
case 3:
|
|
85664
85947
|
var value = /** @type {string} */ (reader.readString());
|
|
85665
|
-
msg.
|
|
85948
|
+
msg.setRunnerId(value);
|
|
85666
85949
|
break;
|
|
85667
85950
|
case 4:
|
|
85951
|
+
var value = /** @type {string} */ (reader.readString());
|
|
85952
|
+
msg.setRunnerItemId(value);
|
|
85953
|
+
break;
|
|
85954
|
+
case 5:
|
|
85668
85955
|
var value = new proto.clarifai.api.RunnerItemOutput;
|
|
85669
85956
|
reader.readMessage(value,proto.clarifai.api.RunnerItemOutput.deserializeBinaryFromReader);
|
|
85670
85957
|
msg.addRunnerItemOutputs(value);
|
|
85671
85958
|
break;
|
|
85672
|
-
case
|
|
85959
|
+
case 6:
|
|
85673
85960
|
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
85674
85961
|
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
85675
85962
|
msg.setStatus(value);
|
|
@@ -85711,24 +85998,31 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.serializeBinaryToWriter = functi
|
|
|
85711
85998
|
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
85712
85999
|
);
|
|
85713
86000
|
}
|
|
85714
|
-
f = message.
|
|
86001
|
+
f = message.getNodepoolId();
|
|
85715
86002
|
if (f.length > 0) {
|
|
85716
86003
|
writer.writeString(
|
|
85717
86004
|
2,
|
|
85718
86005
|
f
|
|
85719
86006
|
);
|
|
85720
86007
|
}
|
|
85721
|
-
f = message.
|
|
86008
|
+
f = message.getRunnerId();
|
|
85722
86009
|
if (f.length > 0) {
|
|
85723
86010
|
writer.writeString(
|
|
85724
86011
|
3,
|
|
85725
86012
|
f
|
|
85726
86013
|
);
|
|
85727
86014
|
}
|
|
86015
|
+
f = message.getRunnerItemId();
|
|
86016
|
+
if (f.length > 0) {
|
|
86017
|
+
writer.writeString(
|
|
86018
|
+
4,
|
|
86019
|
+
f
|
|
86020
|
+
);
|
|
86021
|
+
}
|
|
85728
86022
|
f = message.getRunnerItemOutputsList();
|
|
85729
86023
|
if (f.length > 0) {
|
|
85730
86024
|
writer.writeRepeatedMessage(
|
|
85731
|
-
|
|
86025
|
+
5,
|
|
85732
86026
|
f,
|
|
85733
86027
|
proto.clarifai.api.RunnerItemOutput.serializeBinaryToWriter
|
|
85734
86028
|
);
|
|
@@ -85736,7 +86030,7 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.serializeBinaryToWriter = functi
|
|
|
85736
86030
|
f = message.getStatus();
|
|
85737
86031
|
if (f != null) {
|
|
85738
86032
|
writer.writeMessage(
|
|
85739
|
-
|
|
86033
|
+
6,
|
|
85740
86034
|
f,
|
|
85741
86035
|
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
85742
86036
|
);
|
|
@@ -85782,10 +86076,10 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.hasUserAppId = functio
|
|
|
85782
86076
|
|
|
85783
86077
|
|
|
85784
86078
|
/**
|
|
85785
|
-
* optional string
|
|
86079
|
+
* optional string nodepool_id = 2;
|
|
85786
86080
|
* @return {string}
|
|
85787
86081
|
*/
|
|
85788
|
-
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.
|
|
86082
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getNodepoolId = function() {
|
|
85789
86083
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
85790
86084
|
};
|
|
85791
86085
|
|
|
@@ -85794,16 +86088,16 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRunnerId = function
|
|
|
85794
86088
|
* @param {string} value
|
|
85795
86089
|
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
85796
86090
|
*/
|
|
85797
|
-
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.
|
|
86091
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setNodepoolId = function(value) {
|
|
85798
86092
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
85799
86093
|
};
|
|
85800
86094
|
|
|
85801
86095
|
|
|
85802
86096
|
/**
|
|
85803
|
-
* optional string
|
|
86097
|
+
* optional string runner_id = 3;
|
|
85804
86098
|
* @return {string}
|
|
85805
86099
|
*/
|
|
85806
|
-
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.
|
|
86100
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRunnerId = function() {
|
|
85807
86101
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
85808
86102
|
};
|
|
85809
86103
|
|
|
@@ -85812,18 +86106,36 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRunnerItemId = func
|
|
|
85812
86106
|
* @param {string} value
|
|
85813
86107
|
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
85814
86108
|
*/
|
|
85815
|
-
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.
|
|
86109
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRunnerId = function(value) {
|
|
85816
86110
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
85817
86111
|
};
|
|
85818
86112
|
|
|
85819
86113
|
|
|
85820
86114
|
/**
|
|
85821
|
-
*
|
|
86115
|
+
* optional string runner_item_id = 4;
|
|
86116
|
+
* @return {string}
|
|
86117
|
+
*/
|
|
86118
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRunnerItemId = function() {
|
|
86119
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
86120
|
+
};
|
|
86121
|
+
|
|
86122
|
+
|
|
86123
|
+
/**
|
|
86124
|
+
* @param {string} value
|
|
86125
|
+
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
86126
|
+
*/
|
|
86127
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRunnerItemId = function(value) {
|
|
86128
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
86129
|
+
};
|
|
86130
|
+
|
|
86131
|
+
|
|
86132
|
+
/**
|
|
86133
|
+
* repeated RunnerItemOutput runner_item_outputs = 5;
|
|
85822
86134
|
* @return {!Array<!proto.clarifai.api.RunnerItemOutput>}
|
|
85823
86135
|
*/
|
|
85824
86136
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRunnerItemOutputsList = function() {
|
|
85825
86137
|
return /** @type{!Array<!proto.clarifai.api.RunnerItemOutput>} */ (
|
|
85826
|
-
jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.RunnerItemOutput,
|
|
86138
|
+
jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.RunnerItemOutput, 5));
|
|
85827
86139
|
};
|
|
85828
86140
|
|
|
85829
86141
|
|
|
@@ -85832,7 +86144,7 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRunnerItemOutputsLi
|
|
|
85832
86144
|
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
85833
86145
|
*/
|
|
85834
86146
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRunnerItemOutputsList = function(value) {
|
|
85835
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
86147
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
85836
86148
|
};
|
|
85837
86149
|
|
|
85838
86150
|
|
|
@@ -85842,7 +86154,7 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRunnerItemOutputsLi
|
|
|
85842
86154
|
* @return {!proto.clarifai.api.RunnerItemOutput}
|
|
85843
86155
|
*/
|
|
85844
86156
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.addRunnerItemOutputs = function(opt_value, opt_index) {
|
|
85845
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
86157
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.clarifai.api.RunnerItemOutput, opt_index);
|
|
85846
86158
|
};
|
|
85847
86159
|
|
|
85848
86160
|
|
|
@@ -85856,12 +86168,12 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.clearRunnerItemOutputs
|
|
|
85856
86168
|
|
|
85857
86169
|
|
|
85858
86170
|
/**
|
|
85859
|
-
* optional status.Status status =
|
|
86171
|
+
* optional status.Status status = 6;
|
|
85860
86172
|
* @return {?proto.clarifai.api.status.Status}
|
|
85861
86173
|
*/
|
|
85862
86174
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getStatus = function() {
|
|
85863
86175
|
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
85864
|
-
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status,
|
|
86176
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 6));
|
|
85865
86177
|
};
|
|
85866
86178
|
|
|
85867
86179
|
|
|
@@ -85870,7 +86182,7 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getStatus = function()
|
|
|
85870
86182
|
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
85871
86183
|
*/
|
|
85872
86184
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setStatus = function(value) {
|
|
85873
|
-
return jspb.Message.setWrapperField(this,
|
|
86185
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
85874
86186
|
};
|
|
85875
86187
|
|
|
85876
86188
|
|
|
@@ -85888,7 +86200,7 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.clearStatus = function
|
|
|
85888
86200
|
* @return {boolean}
|
|
85889
86201
|
*/
|
|
85890
86202
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.hasStatus = function() {
|
|
85891
|
-
return jspb.Message.getField(this,
|
|
86203
|
+
return jspb.Message.getField(this, 6) != null;
|
|
85892
86204
|
};
|
|
85893
86205
|
|
|
85894
86206
|
|
|
@@ -87275,8 +87587,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
87275
87587
|
* http://goto/soy-param-migration
|
|
87276
87588
|
* @return {!Object}
|
|
87277
87589
|
*/
|
|
87278
|
-
proto.clarifai.api.
|
|
87279
|
-
return proto.clarifai.api.
|
|
87590
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.toObject = function(opt_includeInstance) {
|
|
87591
|
+
return proto.clarifai.api.GetComputeClusterRequest.toObject(opt_includeInstance, this);
|
|
87280
87592
|
};
|
|
87281
87593
|
|
|
87282
87594
|
|
|
@@ -87285,14 +87597,14 @@ proto.clarifai.api.GetNodepoolRequest.prototype.toObject = function(opt_includeI
|
|
|
87285
87597
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
87286
87598
|
* the JSPB instance for transitional soy proto support:
|
|
87287
87599
|
* http://goto/soy-param-migration
|
|
87288
|
-
* @param {!proto.clarifai.api.
|
|
87600
|
+
* @param {!proto.clarifai.api.GetComputeClusterRequest} msg The msg instance to transform.
|
|
87289
87601
|
* @return {!Object}
|
|
87290
87602
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
87291
87603
|
*/
|
|
87292
|
-
proto.clarifai.api.
|
|
87604
|
+
proto.clarifai.api.GetComputeClusterRequest.toObject = function(includeInstance, msg) {
|
|
87293
87605
|
var f, obj = {
|
|
87294
87606
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
87295
|
-
|
|
87607
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
87296
87608
|
};
|
|
87297
87609
|
|
|
87298
87610
|
if (includeInstance) {
|
|
@@ -87306,23 +87618,23 @@ proto.clarifai.api.GetNodepoolRequest.toObject = function(includeInstance, msg)
|
|
|
87306
87618
|
/**
|
|
87307
87619
|
* Deserializes binary data (in protobuf wire format).
|
|
87308
87620
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
87309
|
-
* @return {!proto.clarifai.api.
|
|
87621
|
+
* @return {!proto.clarifai.api.GetComputeClusterRequest}
|
|
87310
87622
|
*/
|
|
87311
|
-
proto.clarifai.api.
|
|
87623
|
+
proto.clarifai.api.GetComputeClusterRequest.deserializeBinary = function(bytes) {
|
|
87312
87624
|
var reader = new jspb.BinaryReader(bytes);
|
|
87313
|
-
var msg = new proto.clarifai.api.
|
|
87314
|
-
return proto.clarifai.api.
|
|
87625
|
+
var msg = new proto.clarifai.api.GetComputeClusterRequest;
|
|
87626
|
+
return proto.clarifai.api.GetComputeClusterRequest.deserializeBinaryFromReader(msg, reader);
|
|
87315
87627
|
};
|
|
87316
87628
|
|
|
87317
87629
|
|
|
87318
87630
|
/**
|
|
87319
87631
|
* Deserializes binary data (in protobuf wire format) from the
|
|
87320
87632
|
* given reader into the given message object.
|
|
87321
|
-
* @param {!proto.clarifai.api.
|
|
87633
|
+
* @param {!proto.clarifai.api.GetComputeClusterRequest} msg The message object to deserialize into.
|
|
87322
87634
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
87323
|
-
* @return {!proto.clarifai.api.
|
|
87635
|
+
* @return {!proto.clarifai.api.GetComputeClusterRequest}
|
|
87324
87636
|
*/
|
|
87325
|
-
proto.clarifai.api.
|
|
87637
|
+
proto.clarifai.api.GetComputeClusterRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
87326
87638
|
while (reader.nextField()) {
|
|
87327
87639
|
if (reader.isEndGroup()) {
|
|
87328
87640
|
break;
|
|
@@ -87336,7 +87648,7 @@ proto.clarifai.api.GetNodepoolRequest.deserializeBinaryFromReader = function(msg
|
|
|
87336
87648
|
break;
|
|
87337
87649
|
case 2:
|
|
87338
87650
|
var value = /** @type {string} */ (reader.readString());
|
|
87339
|
-
msg.
|
|
87651
|
+
msg.setComputeClusterId(value);
|
|
87340
87652
|
break;
|
|
87341
87653
|
default:
|
|
87342
87654
|
reader.skipField();
|
|
@@ -87351,9 +87663,9 @@ proto.clarifai.api.GetNodepoolRequest.deserializeBinaryFromReader = function(msg
|
|
|
87351
87663
|
* Serializes the message to binary data (in protobuf wire format).
|
|
87352
87664
|
* @return {!Uint8Array}
|
|
87353
87665
|
*/
|
|
87354
|
-
proto.clarifai.api.
|
|
87666
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.serializeBinary = function() {
|
|
87355
87667
|
var writer = new jspb.BinaryWriter();
|
|
87356
|
-
proto.clarifai.api.
|
|
87668
|
+
proto.clarifai.api.GetComputeClusterRequest.serializeBinaryToWriter(this, writer);
|
|
87357
87669
|
return writer.getResultBuffer();
|
|
87358
87670
|
};
|
|
87359
87671
|
|
|
@@ -87361,11 +87673,11 @@ proto.clarifai.api.GetNodepoolRequest.prototype.serializeBinary = function() {
|
|
|
87361
87673
|
/**
|
|
87362
87674
|
* Serializes the given message to binary data (in protobuf wire
|
|
87363
87675
|
* format), writing to the given BinaryWriter.
|
|
87364
|
-
* @param {!proto.clarifai.api.
|
|
87676
|
+
* @param {!proto.clarifai.api.GetComputeClusterRequest} message
|
|
87365
87677
|
* @param {!jspb.BinaryWriter} writer
|
|
87366
87678
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
87367
87679
|
*/
|
|
87368
|
-
proto.clarifai.api.
|
|
87680
|
+
proto.clarifai.api.GetComputeClusterRequest.serializeBinaryToWriter = function(message, writer) {
|
|
87369
87681
|
var f = undefined;
|
|
87370
87682
|
f = message.getUserAppId();
|
|
87371
87683
|
if (f != null) {
|
|
@@ -87375,7 +87687,7 @@ proto.clarifai.api.GetNodepoolRequest.serializeBinaryToWriter = function(message
|
|
|
87375
87687
|
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
87376
87688
|
);
|
|
87377
87689
|
}
|
|
87378
|
-
f = message.
|
|
87690
|
+
f = message.getComputeClusterId();
|
|
87379
87691
|
if (f.length > 0) {
|
|
87380
87692
|
writer.writeString(
|
|
87381
87693
|
2,
|
|
@@ -87389,7 +87701,7 @@ proto.clarifai.api.GetNodepoolRequest.serializeBinaryToWriter = function(message
|
|
|
87389
87701
|
* optional UserAppIDSet user_app_id = 1;
|
|
87390
87702
|
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
87391
87703
|
*/
|
|
87392
|
-
proto.clarifai.api.
|
|
87704
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.getUserAppId = function() {
|
|
87393
87705
|
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
87394
87706
|
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
87395
87707
|
};
|
|
@@ -87397,18 +87709,18 @@ proto.clarifai.api.GetNodepoolRequest.prototype.getUserAppId = function() {
|
|
|
87397
87709
|
|
|
87398
87710
|
/**
|
|
87399
87711
|
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
87400
|
-
* @return {!proto.clarifai.api.
|
|
87712
|
+
* @return {!proto.clarifai.api.GetComputeClusterRequest} returns this
|
|
87401
87713
|
*/
|
|
87402
|
-
proto.clarifai.api.
|
|
87714
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.setUserAppId = function(value) {
|
|
87403
87715
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
87404
87716
|
};
|
|
87405
87717
|
|
|
87406
87718
|
|
|
87407
87719
|
/**
|
|
87408
87720
|
* Clears the message field making it undefined.
|
|
87409
|
-
* @return {!proto.clarifai.api.
|
|
87721
|
+
* @return {!proto.clarifai.api.GetComputeClusterRequest} returns this
|
|
87410
87722
|
*/
|
|
87411
|
-
proto.clarifai.api.
|
|
87723
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.clearUserAppId = function() {
|
|
87412
87724
|
return this.setUserAppId(undefined);
|
|
87413
87725
|
};
|
|
87414
87726
|
|
|
@@ -87417,25 +87729,25 @@ proto.clarifai.api.GetNodepoolRequest.prototype.clearUserAppId = function() {
|
|
|
87417
87729
|
* Returns whether this field is set.
|
|
87418
87730
|
* @return {boolean}
|
|
87419
87731
|
*/
|
|
87420
|
-
proto.clarifai.api.
|
|
87732
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.hasUserAppId = function() {
|
|
87421
87733
|
return jspb.Message.getField(this, 1) != null;
|
|
87422
87734
|
};
|
|
87423
87735
|
|
|
87424
87736
|
|
|
87425
87737
|
/**
|
|
87426
|
-
* optional string
|
|
87738
|
+
* optional string compute_cluster_id = 2;
|
|
87427
87739
|
* @return {string}
|
|
87428
87740
|
*/
|
|
87429
|
-
proto.clarifai.api.
|
|
87741
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.getComputeClusterId = function() {
|
|
87430
87742
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
87431
87743
|
};
|
|
87432
87744
|
|
|
87433
87745
|
|
|
87434
87746
|
/**
|
|
87435
87747
|
* @param {string} value
|
|
87436
|
-
* @return {!proto.clarifai.api.
|
|
87748
|
+
* @return {!proto.clarifai.api.GetComputeClusterRequest} returns this
|
|
87437
87749
|
*/
|
|
87438
|
-
proto.clarifai.api.
|
|
87750
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.setComputeClusterId = function(value) {
|
|
87439
87751
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
87440
87752
|
};
|
|
87441
87753
|
|
|
@@ -87456,8 +87768,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
87456
87768
|
* http://goto/soy-param-migration
|
|
87457
87769
|
* @return {!Object}
|
|
87458
87770
|
*/
|
|
87459
|
-
proto.clarifai.api.
|
|
87460
|
-
return proto.clarifai.api.
|
|
87771
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.toObject = function(opt_includeInstance) {
|
|
87772
|
+
return proto.clarifai.api.ListComputeClustersRequest.toObject(opt_includeInstance, this);
|
|
87461
87773
|
};
|
|
87462
87774
|
|
|
87463
87775
|
|
|
@@ -87466,11 +87778,11 @@ proto.clarifai.api.ListNodepoolsRequest.prototype.toObject = function(opt_includ
|
|
|
87466
87778
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
87467
87779
|
* the JSPB instance for transitional soy proto support:
|
|
87468
87780
|
* http://goto/soy-param-migration
|
|
87469
|
-
* @param {!proto.clarifai.api.
|
|
87781
|
+
* @param {!proto.clarifai.api.ListComputeClustersRequest} msg The msg instance to transform.
|
|
87470
87782
|
* @return {!Object}
|
|
87471
87783
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
87472
87784
|
*/
|
|
87473
|
-
proto.clarifai.api.
|
|
87785
|
+
proto.clarifai.api.ListComputeClustersRequest.toObject = function(includeInstance, msg) {
|
|
87474
87786
|
var f, obj = {
|
|
87475
87787
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
87476
87788
|
page: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
@@ -87488,23 +87800,23 @@ proto.clarifai.api.ListNodepoolsRequest.toObject = function(includeInstance, msg
|
|
|
87488
87800
|
/**
|
|
87489
87801
|
* Deserializes binary data (in protobuf wire format).
|
|
87490
87802
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
87491
|
-
* @return {!proto.clarifai.api.
|
|
87803
|
+
* @return {!proto.clarifai.api.ListComputeClustersRequest}
|
|
87492
87804
|
*/
|
|
87493
|
-
proto.clarifai.api.
|
|
87805
|
+
proto.clarifai.api.ListComputeClustersRequest.deserializeBinary = function(bytes) {
|
|
87494
87806
|
var reader = new jspb.BinaryReader(bytes);
|
|
87495
|
-
var msg = new proto.clarifai.api.
|
|
87496
|
-
return proto.clarifai.api.
|
|
87807
|
+
var msg = new proto.clarifai.api.ListComputeClustersRequest;
|
|
87808
|
+
return proto.clarifai.api.ListComputeClustersRequest.deserializeBinaryFromReader(msg, reader);
|
|
87497
87809
|
};
|
|
87498
87810
|
|
|
87499
87811
|
|
|
87500
87812
|
/**
|
|
87501
87813
|
* Deserializes binary data (in protobuf wire format) from the
|
|
87502
87814
|
* given reader into the given message object.
|
|
87503
|
-
* @param {!proto.clarifai.api.
|
|
87815
|
+
* @param {!proto.clarifai.api.ListComputeClustersRequest} msg The message object to deserialize into.
|
|
87504
87816
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
87505
|
-
* @return {!proto.clarifai.api.
|
|
87817
|
+
* @return {!proto.clarifai.api.ListComputeClustersRequest}
|
|
87506
87818
|
*/
|
|
87507
|
-
proto.clarifai.api.
|
|
87819
|
+
proto.clarifai.api.ListComputeClustersRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
87508
87820
|
while (reader.nextField()) {
|
|
87509
87821
|
if (reader.isEndGroup()) {
|
|
87510
87822
|
break;
|
|
@@ -87537,9 +87849,9 @@ proto.clarifai.api.ListNodepoolsRequest.deserializeBinaryFromReader = function(m
|
|
|
87537
87849
|
* Serializes the message to binary data (in protobuf wire format).
|
|
87538
87850
|
* @return {!Uint8Array}
|
|
87539
87851
|
*/
|
|
87540
|
-
proto.clarifai.api.
|
|
87852
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.serializeBinary = function() {
|
|
87541
87853
|
var writer = new jspb.BinaryWriter();
|
|
87542
|
-
proto.clarifai.api.
|
|
87854
|
+
proto.clarifai.api.ListComputeClustersRequest.serializeBinaryToWriter(this, writer);
|
|
87543
87855
|
return writer.getResultBuffer();
|
|
87544
87856
|
};
|
|
87545
87857
|
|
|
@@ -87547,11 +87859,11 @@ proto.clarifai.api.ListNodepoolsRequest.prototype.serializeBinary = function() {
|
|
|
87547
87859
|
/**
|
|
87548
87860
|
* Serializes the given message to binary data (in protobuf wire
|
|
87549
87861
|
* format), writing to the given BinaryWriter.
|
|
87550
|
-
* @param {!proto.clarifai.api.
|
|
87862
|
+
* @param {!proto.clarifai.api.ListComputeClustersRequest} message
|
|
87551
87863
|
* @param {!jspb.BinaryWriter} writer
|
|
87552
87864
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
87553
87865
|
*/
|
|
87554
|
-
proto.clarifai.api.
|
|
87866
|
+
proto.clarifai.api.ListComputeClustersRequest.serializeBinaryToWriter = function(message, writer) {
|
|
87555
87867
|
var f = undefined;
|
|
87556
87868
|
f = message.getUserAppId();
|
|
87557
87869
|
if (f != null) {
|
|
@@ -87582,7 +87894,7 @@ proto.clarifai.api.ListNodepoolsRequest.serializeBinaryToWriter = function(messa
|
|
|
87582
87894
|
* optional UserAppIDSet user_app_id = 1;
|
|
87583
87895
|
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
87584
87896
|
*/
|
|
87585
|
-
proto.clarifai.api.
|
|
87897
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.getUserAppId = function() {
|
|
87586
87898
|
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
87587
87899
|
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
87588
87900
|
};
|
|
@@ -87590,18 +87902,18 @@ proto.clarifai.api.ListNodepoolsRequest.prototype.getUserAppId = function() {
|
|
|
87590
87902
|
|
|
87591
87903
|
/**
|
|
87592
87904
|
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
87593
|
-
* @return {!proto.clarifai.api.
|
|
87905
|
+
* @return {!proto.clarifai.api.ListComputeClustersRequest} returns this
|
|
87594
87906
|
*/
|
|
87595
|
-
proto.clarifai.api.
|
|
87907
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.setUserAppId = function(value) {
|
|
87596
87908
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
87597
87909
|
};
|
|
87598
87910
|
|
|
87599
87911
|
|
|
87600
87912
|
/**
|
|
87601
87913
|
* Clears the message field making it undefined.
|
|
87602
|
-
* @return {!proto.clarifai.api.
|
|
87914
|
+
* @return {!proto.clarifai.api.ListComputeClustersRequest} returns this
|
|
87603
87915
|
*/
|
|
87604
|
-
proto.clarifai.api.
|
|
87916
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.clearUserAppId = function() {
|
|
87605
87917
|
return this.setUserAppId(undefined);
|
|
87606
87918
|
};
|
|
87607
87919
|
|
|
@@ -87610,7 +87922,7 @@ proto.clarifai.api.ListNodepoolsRequest.prototype.clearUserAppId = function() {
|
|
|
87610
87922
|
* Returns whether this field is set.
|
|
87611
87923
|
* @return {boolean}
|
|
87612
87924
|
*/
|
|
87613
|
-
proto.clarifai.api.
|
|
87925
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.hasUserAppId = function() {
|
|
87614
87926
|
return jspb.Message.getField(this, 1) != null;
|
|
87615
87927
|
};
|
|
87616
87928
|
|
|
@@ -87619,16 +87931,16 @@ proto.clarifai.api.ListNodepoolsRequest.prototype.hasUserAppId = function() {
|
|
|
87619
87931
|
* optional uint32 page = 2;
|
|
87620
87932
|
* @return {number}
|
|
87621
87933
|
*/
|
|
87622
|
-
proto.clarifai.api.
|
|
87934
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.getPage = function() {
|
|
87623
87935
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
87624
87936
|
};
|
|
87625
87937
|
|
|
87626
87938
|
|
|
87627
87939
|
/**
|
|
87628
87940
|
* @param {number} value
|
|
87629
|
-
* @return {!proto.clarifai.api.
|
|
87941
|
+
* @return {!proto.clarifai.api.ListComputeClustersRequest} returns this
|
|
87630
87942
|
*/
|
|
87631
|
-
proto.clarifai.api.
|
|
87943
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.setPage = function(value) {
|
|
87632
87944
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
87633
87945
|
};
|
|
87634
87946
|
|
|
@@ -87637,16 +87949,16 @@ proto.clarifai.api.ListNodepoolsRequest.prototype.setPage = function(value) {
|
|
|
87637
87949
|
* optional uint32 per_page = 3;
|
|
87638
87950
|
* @return {number}
|
|
87639
87951
|
*/
|
|
87640
|
-
proto.clarifai.api.
|
|
87952
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.getPerPage = function() {
|
|
87641
87953
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
87642
87954
|
};
|
|
87643
87955
|
|
|
87644
87956
|
|
|
87645
87957
|
/**
|
|
87646
87958
|
* @param {number} value
|
|
87647
|
-
* @return {!proto.clarifai.api.
|
|
87959
|
+
* @return {!proto.clarifai.api.ListComputeClustersRequest} returns this
|
|
87648
87960
|
*/
|
|
87649
|
-
proto.clarifai.api.
|
|
87961
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.setPerPage = function(value) {
|
|
87650
87962
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
87651
87963
|
};
|
|
87652
87964
|
|
|
@@ -87657,7 +87969,7 @@ proto.clarifai.api.ListNodepoolsRequest.prototype.setPerPage = function(value) {
|
|
|
87657
87969
|
* @private {!Array<number>}
|
|
87658
87970
|
* @const
|
|
87659
87971
|
*/
|
|
87660
|
-
proto.clarifai.api.
|
|
87972
|
+
proto.clarifai.api.PostComputeClustersRequest.repeatedFields_ = [2];
|
|
87661
87973
|
|
|
87662
87974
|
|
|
87663
87975
|
|
|
@@ -87674,8 +87986,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
87674
87986
|
* http://goto/soy-param-migration
|
|
87675
87987
|
* @return {!Object}
|
|
87676
87988
|
*/
|
|
87677
|
-
proto.clarifai.api.
|
|
87678
|
-
return proto.clarifai.api.
|
|
87989
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.toObject = function(opt_includeInstance) {
|
|
87990
|
+
return proto.clarifai.api.PostComputeClustersRequest.toObject(opt_includeInstance, this);
|
|
87679
87991
|
};
|
|
87680
87992
|
|
|
87681
87993
|
|
|
@@ -87684,15 +87996,15 @@ proto.clarifai.api.PostNodepoolsRequest.prototype.toObject = function(opt_includ
|
|
|
87684
87996
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
87685
87997
|
* the JSPB instance for transitional soy proto support:
|
|
87686
87998
|
* http://goto/soy-param-migration
|
|
87687
|
-
* @param {!proto.clarifai.api.
|
|
87999
|
+
* @param {!proto.clarifai.api.PostComputeClustersRequest} msg The msg instance to transform.
|
|
87688
88000
|
* @return {!Object}
|
|
87689
88001
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
87690
88002
|
*/
|
|
87691
|
-
proto.clarifai.api.
|
|
88003
|
+
proto.clarifai.api.PostComputeClustersRequest.toObject = function(includeInstance, msg) {
|
|
87692
88004
|
var f, obj = {
|
|
87693
88005
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
87694
|
-
|
|
87695
|
-
proto_clarifai_api_resources_pb.
|
|
88006
|
+
computeClustersList: jspb.Message.toObjectList(msg.getComputeClustersList(),
|
|
88007
|
+
proto_clarifai_api_resources_pb.ComputeCluster.toObject, includeInstance)
|
|
87696
88008
|
};
|
|
87697
88009
|
|
|
87698
88010
|
if (includeInstance) {
|
|
@@ -87706,23 +88018,23 @@ proto.clarifai.api.PostNodepoolsRequest.toObject = function(includeInstance, msg
|
|
|
87706
88018
|
/**
|
|
87707
88019
|
* Deserializes binary data (in protobuf wire format).
|
|
87708
88020
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
87709
|
-
* @return {!proto.clarifai.api.
|
|
88021
|
+
* @return {!proto.clarifai.api.PostComputeClustersRequest}
|
|
87710
88022
|
*/
|
|
87711
|
-
proto.clarifai.api.
|
|
88023
|
+
proto.clarifai.api.PostComputeClustersRequest.deserializeBinary = function(bytes) {
|
|
87712
88024
|
var reader = new jspb.BinaryReader(bytes);
|
|
87713
|
-
var msg = new proto.clarifai.api.
|
|
87714
|
-
return proto.clarifai.api.
|
|
88025
|
+
var msg = new proto.clarifai.api.PostComputeClustersRequest;
|
|
88026
|
+
return proto.clarifai.api.PostComputeClustersRequest.deserializeBinaryFromReader(msg, reader);
|
|
87715
88027
|
};
|
|
87716
88028
|
|
|
87717
88029
|
|
|
87718
88030
|
/**
|
|
87719
88031
|
* Deserializes binary data (in protobuf wire format) from the
|
|
87720
88032
|
* given reader into the given message object.
|
|
87721
|
-
* @param {!proto.clarifai.api.
|
|
88033
|
+
* @param {!proto.clarifai.api.PostComputeClustersRequest} msg The message object to deserialize into.
|
|
87722
88034
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
87723
|
-
* @return {!proto.clarifai.api.
|
|
88035
|
+
* @return {!proto.clarifai.api.PostComputeClustersRequest}
|
|
87724
88036
|
*/
|
|
87725
|
-
proto.clarifai.api.
|
|
88037
|
+
proto.clarifai.api.PostComputeClustersRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
87726
88038
|
while (reader.nextField()) {
|
|
87727
88039
|
if (reader.isEndGroup()) {
|
|
87728
88040
|
break;
|
|
@@ -87735,9 +88047,9 @@ proto.clarifai.api.PostNodepoolsRequest.deserializeBinaryFromReader = function(m
|
|
|
87735
88047
|
msg.setUserAppId(value);
|
|
87736
88048
|
break;
|
|
87737
88049
|
case 2:
|
|
87738
|
-
var value = new proto_clarifai_api_resources_pb.
|
|
87739
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.
|
|
87740
|
-
msg.
|
|
88050
|
+
var value = new proto_clarifai_api_resources_pb.ComputeCluster;
|
|
88051
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.ComputeCluster.deserializeBinaryFromReader);
|
|
88052
|
+
msg.addComputeClusters(value);
|
|
87741
88053
|
break;
|
|
87742
88054
|
default:
|
|
87743
88055
|
reader.skipField();
|
|
@@ -87752,9 +88064,9 @@ proto.clarifai.api.PostNodepoolsRequest.deserializeBinaryFromReader = function(m
|
|
|
87752
88064
|
* Serializes the message to binary data (in protobuf wire format).
|
|
87753
88065
|
* @return {!Uint8Array}
|
|
87754
88066
|
*/
|
|
87755
|
-
proto.clarifai.api.
|
|
88067
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.serializeBinary = function() {
|
|
87756
88068
|
var writer = new jspb.BinaryWriter();
|
|
87757
|
-
proto.clarifai.api.
|
|
88069
|
+
proto.clarifai.api.PostComputeClustersRequest.serializeBinaryToWriter(this, writer);
|
|
87758
88070
|
return writer.getResultBuffer();
|
|
87759
88071
|
};
|
|
87760
88072
|
|
|
@@ -87762,11 +88074,11 @@ proto.clarifai.api.PostNodepoolsRequest.prototype.serializeBinary = function() {
|
|
|
87762
88074
|
/**
|
|
87763
88075
|
* Serializes the given message to binary data (in protobuf wire
|
|
87764
88076
|
* format), writing to the given BinaryWriter.
|
|
87765
|
-
* @param {!proto.clarifai.api.
|
|
88077
|
+
* @param {!proto.clarifai.api.PostComputeClustersRequest} message
|
|
87766
88078
|
* @param {!jspb.BinaryWriter} writer
|
|
87767
88079
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
87768
88080
|
*/
|
|
87769
|
-
proto.clarifai.api.
|
|
88081
|
+
proto.clarifai.api.PostComputeClustersRequest.serializeBinaryToWriter = function(message, writer) {
|
|
87770
88082
|
var f = undefined;
|
|
87771
88083
|
f = message.getUserAppId();
|
|
87772
88084
|
if (f != null) {
|
|
@@ -87776,12 +88088,12 @@ proto.clarifai.api.PostNodepoolsRequest.serializeBinaryToWriter = function(messa
|
|
|
87776
88088
|
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
87777
88089
|
);
|
|
87778
88090
|
}
|
|
87779
|
-
f = message.
|
|
88091
|
+
f = message.getComputeClustersList();
|
|
87780
88092
|
if (f.length > 0) {
|
|
87781
88093
|
writer.writeRepeatedMessage(
|
|
87782
88094
|
2,
|
|
87783
88095
|
f,
|
|
87784
|
-
proto_clarifai_api_resources_pb.
|
|
88096
|
+
proto_clarifai_api_resources_pb.ComputeCluster.serializeBinaryToWriter
|
|
87785
88097
|
);
|
|
87786
88098
|
}
|
|
87787
88099
|
};
|
|
@@ -87791,7 +88103,7 @@ proto.clarifai.api.PostNodepoolsRequest.serializeBinaryToWriter = function(messa
|
|
|
87791
88103
|
* optional UserAppIDSet user_app_id = 1;
|
|
87792
88104
|
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
87793
88105
|
*/
|
|
87794
|
-
proto.clarifai.api.
|
|
88106
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.getUserAppId = function() {
|
|
87795
88107
|
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
87796
88108
|
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
87797
88109
|
};
|
|
@@ -87799,18 +88111,18 @@ proto.clarifai.api.PostNodepoolsRequest.prototype.getUserAppId = function() {
|
|
|
87799
88111
|
|
|
87800
88112
|
/**
|
|
87801
88113
|
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
87802
|
-
* @return {!proto.clarifai.api.
|
|
88114
|
+
* @return {!proto.clarifai.api.PostComputeClustersRequest} returns this
|
|
87803
88115
|
*/
|
|
87804
|
-
proto.clarifai.api.
|
|
88116
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.setUserAppId = function(value) {
|
|
87805
88117
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
87806
88118
|
};
|
|
87807
88119
|
|
|
87808
88120
|
|
|
87809
88121
|
/**
|
|
87810
88122
|
* Clears the message field making it undefined.
|
|
87811
|
-
* @return {!proto.clarifai.api.
|
|
88123
|
+
* @return {!proto.clarifai.api.PostComputeClustersRequest} returns this
|
|
87812
88124
|
*/
|
|
87813
|
-
proto.clarifai.api.
|
|
88125
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.clearUserAppId = function() {
|
|
87814
88126
|
return this.setUserAppId(undefined);
|
|
87815
88127
|
};
|
|
87816
88128
|
|
|
@@ -87819,46 +88131,46 @@ proto.clarifai.api.PostNodepoolsRequest.prototype.clearUserAppId = function() {
|
|
|
87819
88131
|
* Returns whether this field is set.
|
|
87820
88132
|
* @return {boolean}
|
|
87821
88133
|
*/
|
|
87822
|
-
proto.clarifai.api.
|
|
88134
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.hasUserAppId = function() {
|
|
87823
88135
|
return jspb.Message.getField(this, 1) != null;
|
|
87824
88136
|
};
|
|
87825
88137
|
|
|
87826
88138
|
|
|
87827
88139
|
/**
|
|
87828
|
-
* repeated
|
|
87829
|
-
* @return {!Array<!proto.clarifai.api.
|
|
88140
|
+
* repeated ComputeCluster compute_clusters = 2;
|
|
88141
|
+
* @return {!Array<!proto.clarifai.api.ComputeCluster>}
|
|
87830
88142
|
*/
|
|
87831
|
-
proto.clarifai.api.
|
|
87832
|
-
return /** @type{!Array<!proto.clarifai.api.
|
|
87833
|
-
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.
|
|
88143
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.getComputeClustersList = function() {
|
|
88144
|
+
return /** @type{!Array<!proto.clarifai.api.ComputeCluster>} */ (
|
|
88145
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.ComputeCluster, 2));
|
|
87834
88146
|
};
|
|
87835
88147
|
|
|
87836
88148
|
|
|
87837
88149
|
/**
|
|
87838
|
-
* @param {!Array<!proto.clarifai.api.
|
|
87839
|
-
* @return {!proto.clarifai.api.
|
|
88150
|
+
* @param {!Array<!proto.clarifai.api.ComputeCluster>} value
|
|
88151
|
+
* @return {!proto.clarifai.api.PostComputeClustersRequest} returns this
|
|
87840
88152
|
*/
|
|
87841
|
-
proto.clarifai.api.
|
|
88153
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.setComputeClustersList = function(value) {
|
|
87842
88154
|
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
87843
88155
|
};
|
|
87844
88156
|
|
|
87845
88157
|
|
|
87846
88158
|
/**
|
|
87847
|
-
* @param {!proto.clarifai.api.
|
|
88159
|
+
* @param {!proto.clarifai.api.ComputeCluster=} opt_value
|
|
87848
88160
|
* @param {number=} opt_index
|
|
87849
|
-
* @return {!proto.clarifai.api.
|
|
88161
|
+
* @return {!proto.clarifai.api.ComputeCluster}
|
|
87850
88162
|
*/
|
|
87851
|
-
proto.clarifai.api.
|
|
87852
|
-
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.
|
|
88163
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.addComputeClusters = function(opt_value, opt_index) {
|
|
88164
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.ComputeCluster, opt_index);
|
|
87853
88165
|
};
|
|
87854
88166
|
|
|
87855
88167
|
|
|
87856
88168
|
/**
|
|
87857
88169
|
* Clears the list making it empty but non-null.
|
|
87858
|
-
* @return {!proto.clarifai.api.
|
|
88170
|
+
* @return {!proto.clarifai.api.PostComputeClustersRequest} returns this
|
|
87859
88171
|
*/
|
|
87860
|
-
proto.clarifai.api.
|
|
87861
|
-
return this.
|
|
88172
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.clearComputeClustersList = function() {
|
|
88173
|
+
return this.setComputeClustersList([]);
|
|
87862
88174
|
};
|
|
87863
88175
|
|
|
87864
88176
|
|
|
@@ -87868,7 +88180,7 @@ proto.clarifai.api.PostNodepoolsRequest.prototype.clearNodepoolsList = function(
|
|
|
87868
88180
|
* @private {!Array<number>}
|
|
87869
88181
|
* @const
|
|
87870
88182
|
*/
|
|
87871
|
-
proto.clarifai.api.
|
|
88183
|
+
proto.clarifai.api.DeleteComputeClustersRequest.repeatedFields_ = [2];
|
|
87872
88184
|
|
|
87873
88185
|
|
|
87874
88186
|
|
|
@@ -87885,8 +88197,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
87885
88197
|
* http://goto/soy-param-migration
|
|
87886
88198
|
* @return {!Object}
|
|
87887
88199
|
*/
|
|
87888
|
-
proto.clarifai.api.
|
|
87889
|
-
return proto.clarifai.api.
|
|
88200
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.toObject = function(opt_includeInstance) {
|
|
88201
|
+
return proto.clarifai.api.DeleteComputeClustersRequest.toObject(opt_includeInstance, this);
|
|
87890
88202
|
};
|
|
87891
88203
|
|
|
87892
88204
|
|
|
@@ -87895,252 +88207,11 @@ proto.clarifai.api.PatchNodepoolsRequest.prototype.toObject = function(opt_inclu
|
|
|
87895
88207
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
87896
88208
|
* the JSPB instance for transitional soy proto support:
|
|
87897
88209
|
* http://goto/soy-param-migration
|
|
87898
|
-
* @param {!proto.clarifai.api.
|
|
88210
|
+
* @param {!proto.clarifai.api.DeleteComputeClustersRequest} msg The msg instance to transform.
|
|
87899
88211
|
* @return {!Object}
|
|
87900
88212
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
87901
88213
|
*/
|
|
87902
|
-
proto.clarifai.api.
|
|
87903
|
-
var f, obj = {
|
|
87904
|
-
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
87905
|
-
nodepoolsList: jspb.Message.toObjectList(msg.getNodepoolsList(),
|
|
87906
|
-
proto_clarifai_api_resources_pb.Nodepool.toObject, includeInstance),
|
|
87907
|
-
action: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
87908
|
-
};
|
|
87909
|
-
|
|
87910
|
-
if (includeInstance) {
|
|
87911
|
-
obj.$jspbMessageInstance = msg;
|
|
87912
|
-
}
|
|
87913
|
-
return obj;
|
|
87914
|
-
};
|
|
87915
|
-
}
|
|
87916
|
-
|
|
87917
|
-
|
|
87918
|
-
/**
|
|
87919
|
-
* Deserializes binary data (in protobuf wire format).
|
|
87920
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
87921
|
-
* @return {!proto.clarifai.api.PatchNodepoolsRequest}
|
|
87922
|
-
*/
|
|
87923
|
-
proto.clarifai.api.PatchNodepoolsRequest.deserializeBinary = function(bytes) {
|
|
87924
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
87925
|
-
var msg = new proto.clarifai.api.PatchNodepoolsRequest;
|
|
87926
|
-
return proto.clarifai.api.PatchNodepoolsRequest.deserializeBinaryFromReader(msg, reader);
|
|
87927
|
-
};
|
|
87928
|
-
|
|
87929
|
-
|
|
87930
|
-
/**
|
|
87931
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
87932
|
-
* given reader into the given message object.
|
|
87933
|
-
* @param {!proto.clarifai.api.PatchNodepoolsRequest} msg The message object to deserialize into.
|
|
87934
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
87935
|
-
* @return {!proto.clarifai.api.PatchNodepoolsRequest}
|
|
87936
|
-
*/
|
|
87937
|
-
proto.clarifai.api.PatchNodepoolsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
87938
|
-
while (reader.nextField()) {
|
|
87939
|
-
if (reader.isEndGroup()) {
|
|
87940
|
-
break;
|
|
87941
|
-
}
|
|
87942
|
-
var field = reader.getFieldNumber();
|
|
87943
|
-
switch (field) {
|
|
87944
|
-
case 1:
|
|
87945
|
-
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
87946
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
87947
|
-
msg.setUserAppId(value);
|
|
87948
|
-
break;
|
|
87949
|
-
case 3:
|
|
87950
|
-
var value = new proto_clarifai_api_resources_pb.Nodepool;
|
|
87951
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
|
|
87952
|
-
msg.addNodepools(value);
|
|
87953
|
-
break;
|
|
87954
|
-
case 4:
|
|
87955
|
-
var value = /** @type {string} */ (reader.readString());
|
|
87956
|
-
msg.setAction(value);
|
|
87957
|
-
break;
|
|
87958
|
-
default:
|
|
87959
|
-
reader.skipField();
|
|
87960
|
-
break;
|
|
87961
|
-
}
|
|
87962
|
-
}
|
|
87963
|
-
return msg;
|
|
87964
|
-
};
|
|
87965
|
-
|
|
87966
|
-
|
|
87967
|
-
/**
|
|
87968
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
87969
|
-
* @return {!Uint8Array}
|
|
87970
|
-
*/
|
|
87971
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.serializeBinary = function() {
|
|
87972
|
-
var writer = new jspb.BinaryWriter();
|
|
87973
|
-
proto.clarifai.api.PatchNodepoolsRequest.serializeBinaryToWriter(this, writer);
|
|
87974
|
-
return writer.getResultBuffer();
|
|
87975
|
-
};
|
|
87976
|
-
|
|
87977
|
-
|
|
87978
|
-
/**
|
|
87979
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
87980
|
-
* format), writing to the given BinaryWriter.
|
|
87981
|
-
* @param {!proto.clarifai.api.PatchNodepoolsRequest} message
|
|
87982
|
-
* @param {!jspb.BinaryWriter} writer
|
|
87983
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
87984
|
-
*/
|
|
87985
|
-
proto.clarifai.api.PatchNodepoolsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
87986
|
-
var f = undefined;
|
|
87987
|
-
f = message.getUserAppId();
|
|
87988
|
-
if (f != null) {
|
|
87989
|
-
writer.writeMessage(
|
|
87990
|
-
1,
|
|
87991
|
-
f,
|
|
87992
|
-
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
87993
|
-
);
|
|
87994
|
-
}
|
|
87995
|
-
f = message.getNodepoolsList();
|
|
87996
|
-
if (f.length > 0) {
|
|
87997
|
-
writer.writeRepeatedMessage(
|
|
87998
|
-
3,
|
|
87999
|
-
f,
|
|
88000
|
-
proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter
|
|
88001
|
-
);
|
|
88002
|
-
}
|
|
88003
|
-
f = message.getAction();
|
|
88004
|
-
if (f.length > 0) {
|
|
88005
|
-
writer.writeString(
|
|
88006
|
-
4,
|
|
88007
|
-
f
|
|
88008
|
-
);
|
|
88009
|
-
}
|
|
88010
|
-
};
|
|
88011
|
-
|
|
88012
|
-
|
|
88013
|
-
/**
|
|
88014
|
-
* optional UserAppIDSet user_app_id = 1;
|
|
88015
|
-
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
88016
|
-
*/
|
|
88017
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.getUserAppId = function() {
|
|
88018
|
-
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
88019
|
-
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
88020
|
-
};
|
|
88021
|
-
|
|
88022
|
-
|
|
88023
|
-
/**
|
|
88024
|
-
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
88025
|
-
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
88026
|
-
*/
|
|
88027
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.setUserAppId = function(value) {
|
|
88028
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
88029
|
-
};
|
|
88030
|
-
|
|
88031
|
-
|
|
88032
|
-
/**
|
|
88033
|
-
* Clears the message field making it undefined.
|
|
88034
|
-
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
88035
|
-
*/
|
|
88036
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.clearUserAppId = function() {
|
|
88037
|
-
return this.setUserAppId(undefined);
|
|
88038
|
-
};
|
|
88039
|
-
|
|
88040
|
-
|
|
88041
|
-
/**
|
|
88042
|
-
* Returns whether this field is set.
|
|
88043
|
-
* @return {boolean}
|
|
88044
|
-
*/
|
|
88045
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.hasUserAppId = function() {
|
|
88046
|
-
return jspb.Message.getField(this, 1) != null;
|
|
88047
|
-
};
|
|
88048
|
-
|
|
88049
|
-
|
|
88050
|
-
/**
|
|
88051
|
-
* repeated Nodepool nodepools = 3;
|
|
88052
|
-
* @return {!Array<!proto.clarifai.api.Nodepool>}
|
|
88053
|
-
*/
|
|
88054
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.getNodepoolsList = function() {
|
|
88055
|
-
return /** @type{!Array<!proto.clarifai.api.Nodepool>} */ (
|
|
88056
|
-
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 3));
|
|
88057
|
-
};
|
|
88058
|
-
|
|
88059
|
-
|
|
88060
|
-
/**
|
|
88061
|
-
* @param {!Array<!proto.clarifai.api.Nodepool>} value
|
|
88062
|
-
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
88063
|
-
*/
|
|
88064
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.setNodepoolsList = function(value) {
|
|
88065
|
-
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
88066
|
-
};
|
|
88067
|
-
|
|
88068
|
-
|
|
88069
|
-
/**
|
|
88070
|
-
* @param {!proto.clarifai.api.Nodepool=} opt_value
|
|
88071
|
-
* @param {number=} opt_index
|
|
88072
|
-
* @return {!proto.clarifai.api.Nodepool}
|
|
88073
|
-
*/
|
|
88074
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.addNodepools = function(opt_value, opt_index) {
|
|
88075
|
-
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.Nodepool, opt_index);
|
|
88076
|
-
};
|
|
88077
|
-
|
|
88078
|
-
|
|
88079
|
-
/**
|
|
88080
|
-
* Clears the list making it empty but non-null.
|
|
88081
|
-
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
88082
|
-
*/
|
|
88083
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.clearNodepoolsList = function() {
|
|
88084
|
-
return this.setNodepoolsList([]);
|
|
88085
|
-
};
|
|
88086
|
-
|
|
88087
|
-
|
|
88088
|
-
/**
|
|
88089
|
-
* optional string action = 4;
|
|
88090
|
-
* @return {string}
|
|
88091
|
-
*/
|
|
88092
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.getAction = function() {
|
|
88093
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
88094
|
-
};
|
|
88095
|
-
|
|
88096
|
-
|
|
88097
|
-
/**
|
|
88098
|
-
* @param {string} value
|
|
88099
|
-
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
88100
|
-
*/
|
|
88101
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.setAction = function(value) {
|
|
88102
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
88103
|
-
};
|
|
88104
|
-
|
|
88105
|
-
|
|
88106
|
-
|
|
88107
|
-
/**
|
|
88108
|
-
* List of repeated fields within this message type.
|
|
88109
|
-
* @private {!Array<number>}
|
|
88110
|
-
* @const
|
|
88111
|
-
*/
|
|
88112
|
-
proto.clarifai.api.DeleteNodepoolsRequest.repeatedFields_ = [2];
|
|
88113
|
-
|
|
88114
|
-
|
|
88115
|
-
|
|
88116
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
88117
|
-
/**
|
|
88118
|
-
* Creates an object representation of this proto.
|
|
88119
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
88120
|
-
* Optional fields that are not set will be set to undefined.
|
|
88121
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
88122
|
-
* For the list of reserved names please see:
|
|
88123
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
88124
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
88125
|
-
* JSPB instance for transitional soy proto support:
|
|
88126
|
-
* http://goto/soy-param-migration
|
|
88127
|
-
* @return {!Object}
|
|
88128
|
-
*/
|
|
88129
|
-
proto.clarifai.api.DeleteNodepoolsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
88130
|
-
return proto.clarifai.api.DeleteNodepoolsRequest.toObject(opt_includeInstance, this);
|
|
88131
|
-
};
|
|
88132
|
-
|
|
88133
|
-
|
|
88134
|
-
/**
|
|
88135
|
-
* Static version of the {@see toObject} method.
|
|
88136
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
88137
|
-
* the JSPB instance for transitional soy proto support:
|
|
88138
|
-
* http://goto/soy-param-migration
|
|
88139
|
-
* @param {!proto.clarifai.api.DeleteNodepoolsRequest} msg The msg instance to transform.
|
|
88140
|
-
* @return {!Object}
|
|
88141
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
88142
|
-
*/
|
|
88143
|
-
proto.clarifai.api.DeleteNodepoolsRequest.toObject = function(includeInstance, msg) {
|
|
88214
|
+
proto.clarifai.api.DeleteComputeClustersRequest.toObject = function(includeInstance, msg) {
|
|
88144
88215
|
var f, obj = {
|
|
88145
88216
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
88146
88217
|
idsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
@@ -88157,23 +88228,23 @@ proto.clarifai.api.DeleteNodepoolsRequest.toObject = function(includeInstance, m
|
|
|
88157
88228
|
/**
|
|
88158
88229
|
* Deserializes binary data (in protobuf wire format).
|
|
88159
88230
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
88160
|
-
* @return {!proto.clarifai.api.
|
|
88231
|
+
* @return {!proto.clarifai.api.DeleteComputeClustersRequest}
|
|
88161
88232
|
*/
|
|
88162
|
-
proto.clarifai.api.
|
|
88233
|
+
proto.clarifai.api.DeleteComputeClustersRequest.deserializeBinary = function(bytes) {
|
|
88163
88234
|
var reader = new jspb.BinaryReader(bytes);
|
|
88164
|
-
var msg = new proto.clarifai.api.
|
|
88165
|
-
return proto.clarifai.api.
|
|
88235
|
+
var msg = new proto.clarifai.api.DeleteComputeClustersRequest;
|
|
88236
|
+
return proto.clarifai.api.DeleteComputeClustersRequest.deserializeBinaryFromReader(msg, reader);
|
|
88166
88237
|
};
|
|
88167
88238
|
|
|
88168
88239
|
|
|
88169
88240
|
/**
|
|
88170
88241
|
* Deserializes binary data (in protobuf wire format) from the
|
|
88171
88242
|
* given reader into the given message object.
|
|
88172
|
-
* @param {!proto.clarifai.api.
|
|
88243
|
+
* @param {!proto.clarifai.api.DeleteComputeClustersRequest} msg The message object to deserialize into.
|
|
88173
88244
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
88174
|
-
* @return {!proto.clarifai.api.
|
|
88245
|
+
* @return {!proto.clarifai.api.DeleteComputeClustersRequest}
|
|
88175
88246
|
*/
|
|
88176
|
-
proto.clarifai.api.
|
|
88247
|
+
proto.clarifai.api.DeleteComputeClustersRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
88177
88248
|
while (reader.nextField()) {
|
|
88178
88249
|
if (reader.isEndGroup()) {
|
|
88179
88250
|
break;
|
|
@@ -88198,6 +88269,1595 @@ proto.clarifai.api.DeleteNodepoolsRequest.deserializeBinaryFromReader = function
|
|
|
88198
88269
|
};
|
|
88199
88270
|
|
|
88200
88271
|
|
|
88272
|
+
/**
|
|
88273
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
88274
|
+
* @return {!Uint8Array}
|
|
88275
|
+
*/
|
|
88276
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.serializeBinary = function() {
|
|
88277
|
+
var writer = new jspb.BinaryWriter();
|
|
88278
|
+
proto.clarifai.api.DeleteComputeClustersRequest.serializeBinaryToWriter(this, writer);
|
|
88279
|
+
return writer.getResultBuffer();
|
|
88280
|
+
};
|
|
88281
|
+
|
|
88282
|
+
|
|
88283
|
+
/**
|
|
88284
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
88285
|
+
* format), writing to the given BinaryWriter.
|
|
88286
|
+
* @param {!proto.clarifai.api.DeleteComputeClustersRequest} message
|
|
88287
|
+
* @param {!jspb.BinaryWriter} writer
|
|
88288
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
88289
|
+
*/
|
|
88290
|
+
proto.clarifai.api.DeleteComputeClustersRequest.serializeBinaryToWriter = function(message, writer) {
|
|
88291
|
+
var f = undefined;
|
|
88292
|
+
f = message.getUserAppId();
|
|
88293
|
+
if (f != null) {
|
|
88294
|
+
writer.writeMessage(
|
|
88295
|
+
1,
|
|
88296
|
+
f,
|
|
88297
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
88298
|
+
);
|
|
88299
|
+
}
|
|
88300
|
+
f = message.getIdsList();
|
|
88301
|
+
if (f.length > 0) {
|
|
88302
|
+
writer.writeRepeatedString(
|
|
88303
|
+
2,
|
|
88304
|
+
f
|
|
88305
|
+
);
|
|
88306
|
+
}
|
|
88307
|
+
};
|
|
88308
|
+
|
|
88309
|
+
|
|
88310
|
+
/**
|
|
88311
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
88312
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
88313
|
+
*/
|
|
88314
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.getUserAppId = function() {
|
|
88315
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
88316
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
88317
|
+
};
|
|
88318
|
+
|
|
88319
|
+
|
|
88320
|
+
/**
|
|
88321
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
88322
|
+
* @return {!proto.clarifai.api.DeleteComputeClustersRequest} returns this
|
|
88323
|
+
*/
|
|
88324
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.setUserAppId = function(value) {
|
|
88325
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
88326
|
+
};
|
|
88327
|
+
|
|
88328
|
+
|
|
88329
|
+
/**
|
|
88330
|
+
* Clears the message field making it undefined.
|
|
88331
|
+
* @return {!proto.clarifai.api.DeleteComputeClustersRequest} returns this
|
|
88332
|
+
*/
|
|
88333
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.clearUserAppId = function() {
|
|
88334
|
+
return this.setUserAppId(undefined);
|
|
88335
|
+
};
|
|
88336
|
+
|
|
88337
|
+
|
|
88338
|
+
/**
|
|
88339
|
+
* Returns whether this field is set.
|
|
88340
|
+
* @return {boolean}
|
|
88341
|
+
*/
|
|
88342
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.hasUserAppId = function() {
|
|
88343
|
+
return jspb.Message.getField(this, 1) != null;
|
|
88344
|
+
};
|
|
88345
|
+
|
|
88346
|
+
|
|
88347
|
+
/**
|
|
88348
|
+
* repeated string ids = 2;
|
|
88349
|
+
* @return {!Array<string>}
|
|
88350
|
+
*/
|
|
88351
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.getIdsList = function() {
|
|
88352
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
88353
|
+
};
|
|
88354
|
+
|
|
88355
|
+
|
|
88356
|
+
/**
|
|
88357
|
+
* @param {!Array<string>} value
|
|
88358
|
+
* @return {!proto.clarifai.api.DeleteComputeClustersRequest} returns this
|
|
88359
|
+
*/
|
|
88360
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.setIdsList = function(value) {
|
|
88361
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
88362
|
+
};
|
|
88363
|
+
|
|
88364
|
+
|
|
88365
|
+
/**
|
|
88366
|
+
* @param {string} value
|
|
88367
|
+
* @param {number=} opt_index
|
|
88368
|
+
* @return {!proto.clarifai.api.DeleteComputeClustersRequest} returns this
|
|
88369
|
+
*/
|
|
88370
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.addIds = function(value, opt_index) {
|
|
88371
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
88372
|
+
};
|
|
88373
|
+
|
|
88374
|
+
|
|
88375
|
+
/**
|
|
88376
|
+
* Clears the list making it empty but non-null.
|
|
88377
|
+
* @return {!proto.clarifai.api.DeleteComputeClustersRequest} returns this
|
|
88378
|
+
*/
|
|
88379
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.clearIdsList = function() {
|
|
88380
|
+
return this.setIdsList([]);
|
|
88381
|
+
};
|
|
88382
|
+
|
|
88383
|
+
|
|
88384
|
+
|
|
88385
|
+
|
|
88386
|
+
|
|
88387
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
88388
|
+
/**
|
|
88389
|
+
* Creates an object representation of this proto.
|
|
88390
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
88391
|
+
* Optional fields that are not set will be set to undefined.
|
|
88392
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
88393
|
+
* For the list of reserved names please see:
|
|
88394
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
88395
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
88396
|
+
* JSPB instance for transitional soy proto support:
|
|
88397
|
+
* http://goto/soy-param-migration
|
|
88398
|
+
* @return {!Object}
|
|
88399
|
+
*/
|
|
88400
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.toObject = function(opt_includeInstance) {
|
|
88401
|
+
return proto.clarifai.api.SingleComputeClusterResponse.toObject(opt_includeInstance, this);
|
|
88402
|
+
};
|
|
88403
|
+
|
|
88404
|
+
|
|
88405
|
+
/**
|
|
88406
|
+
* Static version of the {@see toObject} method.
|
|
88407
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
88408
|
+
* the JSPB instance for transitional soy proto support:
|
|
88409
|
+
* http://goto/soy-param-migration
|
|
88410
|
+
* @param {!proto.clarifai.api.SingleComputeClusterResponse} msg The msg instance to transform.
|
|
88411
|
+
* @return {!Object}
|
|
88412
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
88413
|
+
*/
|
|
88414
|
+
proto.clarifai.api.SingleComputeClusterResponse.toObject = function(includeInstance, msg) {
|
|
88415
|
+
var f, obj = {
|
|
88416
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
88417
|
+
computeCluster: (f = msg.getComputeCluster()) && proto_clarifai_api_resources_pb.ComputeCluster.toObject(includeInstance, f)
|
|
88418
|
+
};
|
|
88419
|
+
|
|
88420
|
+
if (includeInstance) {
|
|
88421
|
+
obj.$jspbMessageInstance = msg;
|
|
88422
|
+
}
|
|
88423
|
+
return obj;
|
|
88424
|
+
};
|
|
88425
|
+
}
|
|
88426
|
+
|
|
88427
|
+
|
|
88428
|
+
/**
|
|
88429
|
+
* Deserializes binary data (in protobuf wire format).
|
|
88430
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
88431
|
+
* @return {!proto.clarifai.api.SingleComputeClusterResponse}
|
|
88432
|
+
*/
|
|
88433
|
+
proto.clarifai.api.SingleComputeClusterResponse.deserializeBinary = function(bytes) {
|
|
88434
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
88435
|
+
var msg = new proto.clarifai.api.SingleComputeClusterResponse;
|
|
88436
|
+
return proto.clarifai.api.SingleComputeClusterResponse.deserializeBinaryFromReader(msg, reader);
|
|
88437
|
+
};
|
|
88438
|
+
|
|
88439
|
+
|
|
88440
|
+
/**
|
|
88441
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
88442
|
+
* given reader into the given message object.
|
|
88443
|
+
* @param {!proto.clarifai.api.SingleComputeClusterResponse} msg The message object to deserialize into.
|
|
88444
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
88445
|
+
* @return {!proto.clarifai.api.SingleComputeClusterResponse}
|
|
88446
|
+
*/
|
|
88447
|
+
proto.clarifai.api.SingleComputeClusterResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
88448
|
+
while (reader.nextField()) {
|
|
88449
|
+
if (reader.isEndGroup()) {
|
|
88450
|
+
break;
|
|
88451
|
+
}
|
|
88452
|
+
var field = reader.getFieldNumber();
|
|
88453
|
+
switch (field) {
|
|
88454
|
+
case 1:
|
|
88455
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
88456
|
+
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
88457
|
+
msg.setStatus(value);
|
|
88458
|
+
break;
|
|
88459
|
+
case 2:
|
|
88460
|
+
var value = new proto_clarifai_api_resources_pb.ComputeCluster;
|
|
88461
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.ComputeCluster.deserializeBinaryFromReader);
|
|
88462
|
+
msg.setComputeCluster(value);
|
|
88463
|
+
break;
|
|
88464
|
+
default:
|
|
88465
|
+
reader.skipField();
|
|
88466
|
+
break;
|
|
88467
|
+
}
|
|
88468
|
+
}
|
|
88469
|
+
return msg;
|
|
88470
|
+
};
|
|
88471
|
+
|
|
88472
|
+
|
|
88473
|
+
/**
|
|
88474
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
88475
|
+
* @return {!Uint8Array}
|
|
88476
|
+
*/
|
|
88477
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.serializeBinary = function() {
|
|
88478
|
+
var writer = new jspb.BinaryWriter();
|
|
88479
|
+
proto.clarifai.api.SingleComputeClusterResponse.serializeBinaryToWriter(this, writer);
|
|
88480
|
+
return writer.getResultBuffer();
|
|
88481
|
+
};
|
|
88482
|
+
|
|
88483
|
+
|
|
88484
|
+
/**
|
|
88485
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
88486
|
+
* format), writing to the given BinaryWriter.
|
|
88487
|
+
* @param {!proto.clarifai.api.SingleComputeClusterResponse} message
|
|
88488
|
+
* @param {!jspb.BinaryWriter} writer
|
|
88489
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
88490
|
+
*/
|
|
88491
|
+
proto.clarifai.api.SingleComputeClusterResponse.serializeBinaryToWriter = function(message, writer) {
|
|
88492
|
+
var f = undefined;
|
|
88493
|
+
f = message.getStatus();
|
|
88494
|
+
if (f != null) {
|
|
88495
|
+
writer.writeMessage(
|
|
88496
|
+
1,
|
|
88497
|
+
f,
|
|
88498
|
+
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
88499
|
+
);
|
|
88500
|
+
}
|
|
88501
|
+
f = message.getComputeCluster();
|
|
88502
|
+
if (f != null) {
|
|
88503
|
+
writer.writeMessage(
|
|
88504
|
+
2,
|
|
88505
|
+
f,
|
|
88506
|
+
proto_clarifai_api_resources_pb.ComputeCluster.serializeBinaryToWriter
|
|
88507
|
+
);
|
|
88508
|
+
}
|
|
88509
|
+
};
|
|
88510
|
+
|
|
88511
|
+
|
|
88512
|
+
/**
|
|
88513
|
+
* optional status.Status status = 1;
|
|
88514
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
88515
|
+
*/
|
|
88516
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.getStatus = function() {
|
|
88517
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
88518
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
88519
|
+
};
|
|
88520
|
+
|
|
88521
|
+
|
|
88522
|
+
/**
|
|
88523
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
88524
|
+
* @return {!proto.clarifai.api.SingleComputeClusterResponse} returns this
|
|
88525
|
+
*/
|
|
88526
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.setStatus = function(value) {
|
|
88527
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
88528
|
+
};
|
|
88529
|
+
|
|
88530
|
+
|
|
88531
|
+
/**
|
|
88532
|
+
* Clears the message field making it undefined.
|
|
88533
|
+
* @return {!proto.clarifai.api.SingleComputeClusterResponse} returns this
|
|
88534
|
+
*/
|
|
88535
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.clearStatus = function() {
|
|
88536
|
+
return this.setStatus(undefined);
|
|
88537
|
+
};
|
|
88538
|
+
|
|
88539
|
+
|
|
88540
|
+
/**
|
|
88541
|
+
* Returns whether this field is set.
|
|
88542
|
+
* @return {boolean}
|
|
88543
|
+
*/
|
|
88544
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.hasStatus = function() {
|
|
88545
|
+
return jspb.Message.getField(this, 1) != null;
|
|
88546
|
+
};
|
|
88547
|
+
|
|
88548
|
+
|
|
88549
|
+
/**
|
|
88550
|
+
* optional ComputeCluster compute_cluster = 2;
|
|
88551
|
+
* @return {?proto.clarifai.api.ComputeCluster}
|
|
88552
|
+
*/
|
|
88553
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.getComputeCluster = function() {
|
|
88554
|
+
return /** @type{?proto.clarifai.api.ComputeCluster} */ (
|
|
88555
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.ComputeCluster, 2));
|
|
88556
|
+
};
|
|
88557
|
+
|
|
88558
|
+
|
|
88559
|
+
/**
|
|
88560
|
+
* @param {?proto.clarifai.api.ComputeCluster|undefined} value
|
|
88561
|
+
* @return {!proto.clarifai.api.SingleComputeClusterResponse} returns this
|
|
88562
|
+
*/
|
|
88563
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.setComputeCluster = function(value) {
|
|
88564
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
88565
|
+
};
|
|
88566
|
+
|
|
88567
|
+
|
|
88568
|
+
/**
|
|
88569
|
+
* Clears the message field making it undefined.
|
|
88570
|
+
* @return {!proto.clarifai.api.SingleComputeClusterResponse} returns this
|
|
88571
|
+
*/
|
|
88572
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.clearComputeCluster = function() {
|
|
88573
|
+
return this.setComputeCluster(undefined);
|
|
88574
|
+
};
|
|
88575
|
+
|
|
88576
|
+
|
|
88577
|
+
/**
|
|
88578
|
+
* Returns whether this field is set.
|
|
88579
|
+
* @return {boolean}
|
|
88580
|
+
*/
|
|
88581
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.hasComputeCluster = function() {
|
|
88582
|
+
return jspb.Message.getField(this, 2) != null;
|
|
88583
|
+
};
|
|
88584
|
+
|
|
88585
|
+
|
|
88586
|
+
|
|
88587
|
+
/**
|
|
88588
|
+
* List of repeated fields within this message type.
|
|
88589
|
+
* @private {!Array<number>}
|
|
88590
|
+
* @const
|
|
88591
|
+
*/
|
|
88592
|
+
proto.clarifai.api.MultiComputeClusterResponse.repeatedFields_ = [2];
|
|
88593
|
+
|
|
88594
|
+
|
|
88595
|
+
|
|
88596
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
88597
|
+
/**
|
|
88598
|
+
* Creates an object representation of this proto.
|
|
88599
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
88600
|
+
* Optional fields that are not set will be set to undefined.
|
|
88601
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
88602
|
+
* For the list of reserved names please see:
|
|
88603
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
88604
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
88605
|
+
* JSPB instance for transitional soy proto support:
|
|
88606
|
+
* http://goto/soy-param-migration
|
|
88607
|
+
* @return {!Object}
|
|
88608
|
+
*/
|
|
88609
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.toObject = function(opt_includeInstance) {
|
|
88610
|
+
return proto.clarifai.api.MultiComputeClusterResponse.toObject(opt_includeInstance, this);
|
|
88611
|
+
};
|
|
88612
|
+
|
|
88613
|
+
|
|
88614
|
+
/**
|
|
88615
|
+
* Static version of the {@see toObject} method.
|
|
88616
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
88617
|
+
* the JSPB instance for transitional soy proto support:
|
|
88618
|
+
* http://goto/soy-param-migration
|
|
88619
|
+
* @param {!proto.clarifai.api.MultiComputeClusterResponse} msg The msg instance to transform.
|
|
88620
|
+
* @return {!Object}
|
|
88621
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
88622
|
+
*/
|
|
88623
|
+
proto.clarifai.api.MultiComputeClusterResponse.toObject = function(includeInstance, msg) {
|
|
88624
|
+
var f, obj = {
|
|
88625
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
88626
|
+
computeClustersList: jspb.Message.toObjectList(msg.getComputeClustersList(),
|
|
88627
|
+
proto_clarifai_api_resources_pb.ComputeCluster.toObject, includeInstance)
|
|
88628
|
+
};
|
|
88629
|
+
|
|
88630
|
+
if (includeInstance) {
|
|
88631
|
+
obj.$jspbMessageInstance = msg;
|
|
88632
|
+
}
|
|
88633
|
+
return obj;
|
|
88634
|
+
};
|
|
88635
|
+
}
|
|
88636
|
+
|
|
88637
|
+
|
|
88638
|
+
/**
|
|
88639
|
+
* Deserializes binary data (in protobuf wire format).
|
|
88640
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
88641
|
+
* @return {!proto.clarifai.api.MultiComputeClusterResponse}
|
|
88642
|
+
*/
|
|
88643
|
+
proto.clarifai.api.MultiComputeClusterResponse.deserializeBinary = function(bytes) {
|
|
88644
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
88645
|
+
var msg = new proto.clarifai.api.MultiComputeClusterResponse;
|
|
88646
|
+
return proto.clarifai.api.MultiComputeClusterResponse.deserializeBinaryFromReader(msg, reader);
|
|
88647
|
+
};
|
|
88648
|
+
|
|
88649
|
+
|
|
88650
|
+
/**
|
|
88651
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
88652
|
+
* given reader into the given message object.
|
|
88653
|
+
* @param {!proto.clarifai.api.MultiComputeClusterResponse} msg The message object to deserialize into.
|
|
88654
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
88655
|
+
* @return {!proto.clarifai.api.MultiComputeClusterResponse}
|
|
88656
|
+
*/
|
|
88657
|
+
proto.clarifai.api.MultiComputeClusterResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
88658
|
+
while (reader.nextField()) {
|
|
88659
|
+
if (reader.isEndGroup()) {
|
|
88660
|
+
break;
|
|
88661
|
+
}
|
|
88662
|
+
var field = reader.getFieldNumber();
|
|
88663
|
+
switch (field) {
|
|
88664
|
+
case 1:
|
|
88665
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
88666
|
+
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
88667
|
+
msg.setStatus(value);
|
|
88668
|
+
break;
|
|
88669
|
+
case 2:
|
|
88670
|
+
var value = new proto_clarifai_api_resources_pb.ComputeCluster;
|
|
88671
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.ComputeCluster.deserializeBinaryFromReader);
|
|
88672
|
+
msg.addComputeClusters(value);
|
|
88673
|
+
break;
|
|
88674
|
+
default:
|
|
88675
|
+
reader.skipField();
|
|
88676
|
+
break;
|
|
88677
|
+
}
|
|
88678
|
+
}
|
|
88679
|
+
return msg;
|
|
88680
|
+
};
|
|
88681
|
+
|
|
88682
|
+
|
|
88683
|
+
/**
|
|
88684
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
88685
|
+
* @return {!Uint8Array}
|
|
88686
|
+
*/
|
|
88687
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.serializeBinary = function() {
|
|
88688
|
+
var writer = new jspb.BinaryWriter();
|
|
88689
|
+
proto.clarifai.api.MultiComputeClusterResponse.serializeBinaryToWriter(this, writer);
|
|
88690
|
+
return writer.getResultBuffer();
|
|
88691
|
+
};
|
|
88692
|
+
|
|
88693
|
+
|
|
88694
|
+
/**
|
|
88695
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
88696
|
+
* format), writing to the given BinaryWriter.
|
|
88697
|
+
* @param {!proto.clarifai.api.MultiComputeClusterResponse} message
|
|
88698
|
+
* @param {!jspb.BinaryWriter} writer
|
|
88699
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
88700
|
+
*/
|
|
88701
|
+
proto.clarifai.api.MultiComputeClusterResponse.serializeBinaryToWriter = function(message, writer) {
|
|
88702
|
+
var f = undefined;
|
|
88703
|
+
f = message.getStatus();
|
|
88704
|
+
if (f != null) {
|
|
88705
|
+
writer.writeMessage(
|
|
88706
|
+
1,
|
|
88707
|
+
f,
|
|
88708
|
+
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
88709
|
+
);
|
|
88710
|
+
}
|
|
88711
|
+
f = message.getComputeClustersList();
|
|
88712
|
+
if (f.length > 0) {
|
|
88713
|
+
writer.writeRepeatedMessage(
|
|
88714
|
+
2,
|
|
88715
|
+
f,
|
|
88716
|
+
proto_clarifai_api_resources_pb.ComputeCluster.serializeBinaryToWriter
|
|
88717
|
+
);
|
|
88718
|
+
}
|
|
88719
|
+
};
|
|
88720
|
+
|
|
88721
|
+
|
|
88722
|
+
/**
|
|
88723
|
+
* optional status.Status status = 1;
|
|
88724
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
88725
|
+
*/
|
|
88726
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.getStatus = function() {
|
|
88727
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
88728
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
88729
|
+
};
|
|
88730
|
+
|
|
88731
|
+
|
|
88732
|
+
/**
|
|
88733
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
88734
|
+
* @return {!proto.clarifai.api.MultiComputeClusterResponse} returns this
|
|
88735
|
+
*/
|
|
88736
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.setStatus = function(value) {
|
|
88737
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
88738
|
+
};
|
|
88739
|
+
|
|
88740
|
+
|
|
88741
|
+
/**
|
|
88742
|
+
* Clears the message field making it undefined.
|
|
88743
|
+
* @return {!proto.clarifai.api.MultiComputeClusterResponse} returns this
|
|
88744
|
+
*/
|
|
88745
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.clearStatus = function() {
|
|
88746
|
+
return this.setStatus(undefined);
|
|
88747
|
+
};
|
|
88748
|
+
|
|
88749
|
+
|
|
88750
|
+
/**
|
|
88751
|
+
* Returns whether this field is set.
|
|
88752
|
+
* @return {boolean}
|
|
88753
|
+
*/
|
|
88754
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.hasStatus = function() {
|
|
88755
|
+
return jspb.Message.getField(this, 1) != null;
|
|
88756
|
+
};
|
|
88757
|
+
|
|
88758
|
+
|
|
88759
|
+
/**
|
|
88760
|
+
* repeated ComputeCluster compute_clusters = 2;
|
|
88761
|
+
* @return {!Array<!proto.clarifai.api.ComputeCluster>}
|
|
88762
|
+
*/
|
|
88763
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.getComputeClustersList = function() {
|
|
88764
|
+
return /** @type{!Array<!proto.clarifai.api.ComputeCluster>} */ (
|
|
88765
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.ComputeCluster, 2));
|
|
88766
|
+
};
|
|
88767
|
+
|
|
88768
|
+
|
|
88769
|
+
/**
|
|
88770
|
+
* @param {!Array<!proto.clarifai.api.ComputeCluster>} value
|
|
88771
|
+
* @return {!proto.clarifai.api.MultiComputeClusterResponse} returns this
|
|
88772
|
+
*/
|
|
88773
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.setComputeClustersList = function(value) {
|
|
88774
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
88775
|
+
};
|
|
88776
|
+
|
|
88777
|
+
|
|
88778
|
+
/**
|
|
88779
|
+
* @param {!proto.clarifai.api.ComputeCluster=} opt_value
|
|
88780
|
+
* @param {number=} opt_index
|
|
88781
|
+
* @return {!proto.clarifai.api.ComputeCluster}
|
|
88782
|
+
*/
|
|
88783
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.addComputeClusters = function(opt_value, opt_index) {
|
|
88784
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.ComputeCluster, opt_index);
|
|
88785
|
+
};
|
|
88786
|
+
|
|
88787
|
+
|
|
88788
|
+
/**
|
|
88789
|
+
* Clears the list making it empty but non-null.
|
|
88790
|
+
* @return {!proto.clarifai.api.MultiComputeClusterResponse} returns this
|
|
88791
|
+
*/
|
|
88792
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.clearComputeClustersList = function() {
|
|
88793
|
+
return this.setComputeClustersList([]);
|
|
88794
|
+
};
|
|
88795
|
+
|
|
88796
|
+
|
|
88797
|
+
|
|
88798
|
+
|
|
88799
|
+
|
|
88800
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
88801
|
+
/**
|
|
88802
|
+
* Creates an object representation of this proto.
|
|
88803
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
88804
|
+
* Optional fields that are not set will be set to undefined.
|
|
88805
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
88806
|
+
* For the list of reserved names please see:
|
|
88807
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
88808
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
88809
|
+
* JSPB instance for transitional soy proto support:
|
|
88810
|
+
* http://goto/soy-param-migration
|
|
88811
|
+
* @return {!Object}
|
|
88812
|
+
*/
|
|
88813
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.toObject = function(opt_includeInstance) {
|
|
88814
|
+
return proto.clarifai.api.GetNodepoolRequest.toObject(opt_includeInstance, this);
|
|
88815
|
+
};
|
|
88816
|
+
|
|
88817
|
+
|
|
88818
|
+
/**
|
|
88819
|
+
* Static version of the {@see toObject} method.
|
|
88820
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
88821
|
+
* the JSPB instance for transitional soy proto support:
|
|
88822
|
+
* http://goto/soy-param-migration
|
|
88823
|
+
* @param {!proto.clarifai.api.GetNodepoolRequest} msg The msg instance to transform.
|
|
88824
|
+
* @return {!Object}
|
|
88825
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
88826
|
+
*/
|
|
88827
|
+
proto.clarifai.api.GetNodepoolRequest.toObject = function(includeInstance, msg) {
|
|
88828
|
+
var f, obj = {
|
|
88829
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
88830
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
88831
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
88832
|
+
};
|
|
88833
|
+
|
|
88834
|
+
if (includeInstance) {
|
|
88835
|
+
obj.$jspbMessageInstance = msg;
|
|
88836
|
+
}
|
|
88837
|
+
return obj;
|
|
88838
|
+
};
|
|
88839
|
+
}
|
|
88840
|
+
|
|
88841
|
+
|
|
88842
|
+
/**
|
|
88843
|
+
* Deserializes binary data (in protobuf wire format).
|
|
88844
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
88845
|
+
* @return {!proto.clarifai.api.GetNodepoolRequest}
|
|
88846
|
+
*/
|
|
88847
|
+
proto.clarifai.api.GetNodepoolRequest.deserializeBinary = function(bytes) {
|
|
88848
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
88849
|
+
var msg = new proto.clarifai.api.GetNodepoolRequest;
|
|
88850
|
+
return proto.clarifai.api.GetNodepoolRequest.deserializeBinaryFromReader(msg, reader);
|
|
88851
|
+
};
|
|
88852
|
+
|
|
88853
|
+
|
|
88854
|
+
/**
|
|
88855
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
88856
|
+
* given reader into the given message object.
|
|
88857
|
+
* @param {!proto.clarifai.api.GetNodepoolRequest} msg The message object to deserialize into.
|
|
88858
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
88859
|
+
* @return {!proto.clarifai.api.GetNodepoolRequest}
|
|
88860
|
+
*/
|
|
88861
|
+
proto.clarifai.api.GetNodepoolRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
88862
|
+
while (reader.nextField()) {
|
|
88863
|
+
if (reader.isEndGroup()) {
|
|
88864
|
+
break;
|
|
88865
|
+
}
|
|
88866
|
+
var field = reader.getFieldNumber();
|
|
88867
|
+
switch (field) {
|
|
88868
|
+
case 1:
|
|
88869
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
88870
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
88871
|
+
msg.setUserAppId(value);
|
|
88872
|
+
break;
|
|
88873
|
+
case 2:
|
|
88874
|
+
var value = /** @type {string} */ (reader.readString());
|
|
88875
|
+
msg.setComputeClusterId(value);
|
|
88876
|
+
break;
|
|
88877
|
+
case 3:
|
|
88878
|
+
var value = /** @type {string} */ (reader.readString());
|
|
88879
|
+
msg.setNodepoolId(value);
|
|
88880
|
+
break;
|
|
88881
|
+
default:
|
|
88882
|
+
reader.skipField();
|
|
88883
|
+
break;
|
|
88884
|
+
}
|
|
88885
|
+
}
|
|
88886
|
+
return msg;
|
|
88887
|
+
};
|
|
88888
|
+
|
|
88889
|
+
|
|
88890
|
+
/**
|
|
88891
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
88892
|
+
* @return {!Uint8Array}
|
|
88893
|
+
*/
|
|
88894
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.serializeBinary = function() {
|
|
88895
|
+
var writer = new jspb.BinaryWriter();
|
|
88896
|
+
proto.clarifai.api.GetNodepoolRequest.serializeBinaryToWriter(this, writer);
|
|
88897
|
+
return writer.getResultBuffer();
|
|
88898
|
+
};
|
|
88899
|
+
|
|
88900
|
+
|
|
88901
|
+
/**
|
|
88902
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
88903
|
+
* format), writing to the given BinaryWriter.
|
|
88904
|
+
* @param {!proto.clarifai.api.GetNodepoolRequest} message
|
|
88905
|
+
* @param {!jspb.BinaryWriter} writer
|
|
88906
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
88907
|
+
*/
|
|
88908
|
+
proto.clarifai.api.GetNodepoolRequest.serializeBinaryToWriter = function(message, writer) {
|
|
88909
|
+
var f = undefined;
|
|
88910
|
+
f = message.getUserAppId();
|
|
88911
|
+
if (f != null) {
|
|
88912
|
+
writer.writeMessage(
|
|
88913
|
+
1,
|
|
88914
|
+
f,
|
|
88915
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
88916
|
+
);
|
|
88917
|
+
}
|
|
88918
|
+
f = message.getComputeClusterId();
|
|
88919
|
+
if (f.length > 0) {
|
|
88920
|
+
writer.writeString(
|
|
88921
|
+
2,
|
|
88922
|
+
f
|
|
88923
|
+
);
|
|
88924
|
+
}
|
|
88925
|
+
f = message.getNodepoolId();
|
|
88926
|
+
if (f.length > 0) {
|
|
88927
|
+
writer.writeString(
|
|
88928
|
+
3,
|
|
88929
|
+
f
|
|
88930
|
+
);
|
|
88931
|
+
}
|
|
88932
|
+
};
|
|
88933
|
+
|
|
88934
|
+
|
|
88935
|
+
/**
|
|
88936
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
88937
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
88938
|
+
*/
|
|
88939
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.getUserAppId = function() {
|
|
88940
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
88941
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
88942
|
+
};
|
|
88943
|
+
|
|
88944
|
+
|
|
88945
|
+
/**
|
|
88946
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
88947
|
+
* @return {!proto.clarifai.api.GetNodepoolRequest} returns this
|
|
88948
|
+
*/
|
|
88949
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.setUserAppId = function(value) {
|
|
88950
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
88951
|
+
};
|
|
88952
|
+
|
|
88953
|
+
|
|
88954
|
+
/**
|
|
88955
|
+
* Clears the message field making it undefined.
|
|
88956
|
+
* @return {!proto.clarifai.api.GetNodepoolRequest} returns this
|
|
88957
|
+
*/
|
|
88958
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.clearUserAppId = function() {
|
|
88959
|
+
return this.setUserAppId(undefined);
|
|
88960
|
+
};
|
|
88961
|
+
|
|
88962
|
+
|
|
88963
|
+
/**
|
|
88964
|
+
* Returns whether this field is set.
|
|
88965
|
+
* @return {boolean}
|
|
88966
|
+
*/
|
|
88967
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.hasUserAppId = function() {
|
|
88968
|
+
return jspb.Message.getField(this, 1) != null;
|
|
88969
|
+
};
|
|
88970
|
+
|
|
88971
|
+
|
|
88972
|
+
/**
|
|
88973
|
+
* optional string compute_cluster_id = 2;
|
|
88974
|
+
* @return {string}
|
|
88975
|
+
*/
|
|
88976
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.getComputeClusterId = function() {
|
|
88977
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
88978
|
+
};
|
|
88979
|
+
|
|
88980
|
+
|
|
88981
|
+
/**
|
|
88982
|
+
* @param {string} value
|
|
88983
|
+
* @return {!proto.clarifai.api.GetNodepoolRequest} returns this
|
|
88984
|
+
*/
|
|
88985
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.setComputeClusterId = function(value) {
|
|
88986
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
88987
|
+
};
|
|
88988
|
+
|
|
88989
|
+
|
|
88990
|
+
/**
|
|
88991
|
+
* optional string nodepool_id = 3;
|
|
88992
|
+
* @return {string}
|
|
88993
|
+
*/
|
|
88994
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.getNodepoolId = function() {
|
|
88995
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
88996
|
+
};
|
|
88997
|
+
|
|
88998
|
+
|
|
88999
|
+
/**
|
|
89000
|
+
* @param {string} value
|
|
89001
|
+
* @return {!proto.clarifai.api.GetNodepoolRequest} returns this
|
|
89002
|
+
*/
|
|
89003
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.setNodepoolId = function(value) {
|
|
89004
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
89005
|
+
};
|
|
89006
|
+
|
|
89007
|
+
|
|
89008
|
+
|
|
89009
|
+
|
|
89010
|
+
|
|
89011
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
89012
|
+
/**
|
|
89013
|
+
* Creates an object representation of this proto.
|
|
89014
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
89015
|
+
* Optional fields that are not set will be set to undefined.
|
|
89016
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
89017
|
+
* For the list of reserved names please see:
|
|
89018
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
89019
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
89020
|
+
* JSPB instance for transitional soy proto support:
|
|
89021
|
+
* http://goto/soy-param-migration
|
|
89022
|
+
* @return {!Object}
|
|
89023
|
+
*/
|
|
89024
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
89025
|
+
return proto.clarifai.api.ListNodepoolsRequest.toObject(opt_includeInstance, this);
|
|
89026
|
+
};
|
|
89027
|
+
|
|
89028
|
+
|
|
89029
|
+
/**
|
|
89030
|
+
* Static version of the {@see toObject} method.
|
|
89031
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
89032
|
+
* the JSPB instance for transitional soy proto support:
|
|
89033
|
+
* http://goto/soy-param-migration
|
|
89034
|
+
* @param {!proto.clarifai.api.ListNodepoolsRequest} msg The msg instance to transform.
|
|
89035
|
+
* @return {!Object}
|
|
89036
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
89037
|
+
*/
|
|
89038
|
+
proto.clarifai.api.ListNodepoolsRequest.toObject = function(includeInstance, msg) {
|
|
89039
|
+
var f, obj = {
|
|
89040
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
89041
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
89042
|
+
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
89043
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
89044
|
+
};
|
|
89045
|
+
|
|
89046
|
+
if (includeInstance) {
|
|
89047
|
+
obj.$jspbMessageInstance = msg;
|
|
89048
|
+
}
|
|
89049
|
+
return obj;
|
|
89050
|
+
};
|
|
89051
|
+
}
|
|
89052
|
+
|
|
89053
|
+
|
|
89054
|
+
/**
|
|
89055
|
+
* Deserializes binary data (in protobuf wire format).
|
|
89056
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
89057
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest}
|
|
89058
|
+
*/
|
|
89059
|
+
proto.clarifai.api.ListNodepoolsRequest.deserializeBinary = function(bytes) {
|
|
89060
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
89061
|
+
var msg = new proto.clarifai.api.ListNodepoolsRequest;
|
|
89062
|
+
return proto.clarifai.api.ListNodepoolsRequest.deserializeBinaryFromReader(msg, reader);
|
|
89063
|
+
};
|
|
89064
|
+
|
|
89065
|
+
|
|
89066
|
+
/**
|
|
89067
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
89068
|
+
* given reader into the given message object.
|
|
89069
|
+
* @param {!proto.clarifai.api.ListNodepoolsRequest} msg The message object to deserialize into.
|
|
89070
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
89071
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest}
|
|
89072
|
+
*/
|
|
89073
|
+
proto.clarifai.api.ListNodepoolsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
89074
|
+
while (reader.nextField()) {
|
|
89075
|
+
if (reader.isEndGroup()) {
|
|
89076
|
+
break;
|
|
89077
|
+
}
|
|
89078
|
+
var field = reader.getFieldNumber();
|
|
89079
|
+
switch (field) {
|
|
89080
|
+
case 1:
|
|
89081
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
89082
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
89083
|
+
msg.setUserAppId(value);
|
|
89084
|
+
break;
|
|
89085
|
+
case 2:
|
|
89086
|
+
var value = /** @type {string} */ (reader.readString());
|
|
89087
|
+
msg.setComputeClusterId(value);
|
|
89088
|
+
break;
|
|
89089
|
+
case 3:
|
|
89090
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
89091
|
+
msg.setPage(value);
|
|
89092
|
+
break;
|
|
89093
|
+
case 4:
|
|
89094
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
89095
|
+
msg.setPerPage(value);
|
|
89096
|
+
break;
|
|
89097
|
+
default:
|
|
89098
|
+
reader.skipField();
|
|
89099
|
+
break;
|
|
89100
|
+
}
|
|
89101
|
+
}
|
|
89102
|
+
return msg;
|
|
89103
|
+
};
|
|
89104
|
+
|
|
89105
|
+
|
|
89106
|
+
/**
|
|
89107
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
89108
|
+
* @return {!Uint8Array}
|
|
89109
|
+
*/
|
|
89110
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.serializeBinary = function() {
|
|
89111
|
+
var writer = new jspb.BinaryWriter();
|
|
89112
|
+
proto.clarifai.api.ListNodepoolsRequest.serializeBinaryToWriter(this, writer);
|
|
89113
|
+
return writer.getResultBuffer();
|
|
89114
|
+
};
|
|
89115
|
+
|
|
89116
|
+
|
|
89117
|
+
/**
|
|
89118
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
89119
|
+
* format), writing to the given BinaryWriter.
|
|
89120
|
+
* @param {!proto.clarifai.api.ListNodepoolsRequest} message
|
|
89121
|
+
* @param {!jspb.BinaryWriter} writer
|
|
89122
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
89123
|
+
*/
|
|
89124
|
+
proto.clarifai.api.ListNodepoolsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
89125
|
+
var f = undefined;
|
|
89126
|
+
f = message.getUserAppId();
|
|
89127
|
+
if (f != null) {
|
|
89128
|
+
writer.writeMessage(
|
|
89129
|
+
1,
|
|
89130
|
+
f,
|
|
89131
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
89132
|
+
);
|
|
89133
|
+
}
|
|
89134
|
+
f = message.getComputeClusterId();
|
|
89135
|
+
if (f.length > 0) {
|
|
89136
|
+
writer.writeString(
|
|
89137
|
+
2,
|
|
89138
|
+
f
|
|
89139
|
+
);
|
|
89140
|
+
}
|
|
89141
|
+
f = message.getPage();
|
|
89142
|
+
if (f !== 0) {
|
|
89143
|
+
writer.writeUint32(
|
|
89144
|
+
3,
|
|
89145
|
+
f
|
|
89146
|
+
);
|
|
89147
|
+
}
|
|
89148
|
+
f = message.getPerPage();
|
|
89149
|
+
if (f !== 0) {
|
|
89150
|
+
writer.writeUint32(
|
|
89151
|
+
4,
|
|
89152
|
+
f
|
|
89153
|
+
);
|
|
89154
|
+
}
|
|
89155
|
+
};
|
|
89156
|
+
|
|
89157
|
+
|
|
89158
|
+
/**
|
|
89159
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
89160
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
89161
|
+
*/
|
|
89162
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.getUserAppId = function() {
|
|
89163
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
89164
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
89165
|
+
};
|
|
89166
|
+
|
|
89167
|
+
|
|
89168
|
+
/**
|
|
89169
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
89170
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
|
|
89171
|
+
*/
|
|
89172
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.setUserAppId = function(value) {
|
|
89173
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
89174
|
+
};
|
|
89175
|
+
|
|
89176
|
+
|
|
89177
|
+
/**
|
|
89178
|
+
* Clears the message field making it undefined.
|
|
89179
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
|
|
89180
|
+
*/
|
|
89181
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.clearUserAppId = function() {
|
|
89182
|
+
return this.setUserAppId(undefined);
|
|
89183
|
+
};
|
|
89184
|
+
|
|
89185
|
+
|
|
89186
|
+
/**
|
|
89187
|
+
* Returns whether this field is set.
|
|
89188
|
+
* @return {boolean}
|
|
89189
|
+
*/
|
|
89190
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.hasUserAppId = function() {
|
|
89191
|
+
return jspb.Message.getField(this, 1) != null;
|
|
89192
|
+
};
|
|
89193
|
+
|
|
89194
|
+
|
|
89195
|
+
/**
|
|
89196
|
+
* optional string compute_cluster_id = 2;
|
|
89197
|
+
* @return {string}
|
|
89198
|
+
*/
|
|
89199
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.getComputeClusterId = function() {
|
|
89200
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
89201
|
+
};
|
|
89202
|
+
|
|
89203
|
+
|
|
89204
|
+
/**
|
|
89205
|
+
* @param {string} value
|
|
89206
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
|
|
89207
|
+
*/
|
|
89208
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.setComputeClusterId = function(value) {
|
|
89209
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
89210
|
+
};
|
|
89211
|
+
|
|
89212
|
+
|
|
89213
|
+
/**
|
|
89214
|
+
* optional uint32 page = 3;
|
|
89215
|
+
* @return {number}
|
|
89216
|
+
*/
|
|
89217
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.getPage = function() {
|
|
89218
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
89219
|
+
};
|
|
89220
|
+
|
|
89221
|
+
|
|
89222
|
+
/**
|
|
89223
|
+
* @param {number} value
|
|
89224
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
|
|
89225
|
+
*/
|
|
89226
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.setPage = function(value) {
|
|
89227
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
89228
|
+
};
|
|
89229
|
+
|
|
89230
|
+
|
|
89231
|
+
/**
|
|
89232
|
+
* optional uint32 per_page = 4;
|
|
89233
|
+
* @return {number}
|
|
89234
|
+
*/
|
|
89235
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.getPerPage = function() {
|
|
89236
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
89237
|
+
};
|
|
89238
|
+
|
|
89239
|
+
|
|
89240
|
+
/**
|
|
89241
|
+
* @param {number} value
|
|
89242
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
|
|
89243
|
+
*/
|
|
89244
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.setPerPage = function(value) {
|
|
89245
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
89246
|
+
};
|
|
89247
|
+
|
|
89248
|
+
|
|
89249
|
+
|
|
89250
|
+
/**
|
|
89251
|
+
* List of repeated fields within this message type.
|
|
89252
|
+
* @private {!Array<number>}
|
|
89253
|
+
* @const
|
|
89254
|
+
*/
|
|
89255
|
+
proto.clarifai.api.PostNodepoolsRequest.repeatedFields_ = [3];
|
|
89256
|
+
|
|
89257
|
+
|
|
89258
|
+
|
|
89259
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
89260
|
+
/**
|
|
89261
|
+
* Creates an object representation of this proto.
|
|
89262
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
89263
|
+
* Optional fields that are not set will be set to undefined.
|
|
89264
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
89265
|
+
* For the list of reserved names please see:
|
|
89266
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
89267
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
89268
|
+
* JSPB instance for transitional soy proto support:
|
|
89269
|
+
* http://goto/soy-param-migration
|
|
89270
|
+
* @return {!Object}
|
|
89271
|
+
*/
|
|
89272
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
89273
|
+
return proto.clarifai.api.PostNodepoolsRequest.toObject(opt_includeInstance, this);
|
|
89274
|
+
};
|
|
89275
|
+
|
|
89276
|
+
|
|
89277
|
+
/**
|
|
89278
|
+
* Static version of the {@see toObject} method.
|
|
89279
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
89280
|
+
* the JSPB instance for transitional soy proto support:
|
|
89281
|
+
* http://goto/soy-param-migration
|
|
89282
|
+
* @param {!proto.clarifai.api.PostNodepoolsRequest} msg The msg instance to transform.
|
|
89283
|
+
* @return {!Object}
|
|
89284
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
89285
|
+
*/
|
|
89286
|
+
proto.clarifai.api.PostNodepoolsRequest.toObject = function(includeInstance, msg) {
|
|
89287
|
+
var f, obj = {
|
|
89288
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
89289
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
89290
|
+
nodepoolsList: jspb.Message.toObjectList(msg.getNodepoolsList(),
|
|
89291
|
+
proto_clarifai_api_resources_pb.Nodepool.toObject, includeInstance)
|
|
89292
|
+
};
|
|
89293
|
+
|
|
89294
|
+
if (includeInstance) {
|
|
89295
|
+
obj.$jspbMessageInstance = msg;
|
|
89296
|
+
}
|
|
89297
|
+
return obj;
|
|
89298
|
+
};
|
|
89299
|
+
}
|
|
89300
|
+
|
|
89301
|
+
|
|
89302
|
+
/**
|
|
89303
|
+
* Deserializes binary data (in protobuf wire format).
|
|
89304
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
89305
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest}
|
|
89306
|
+
*/
|
|
89307
|
+
proto.clarifai.api.PostNodepoolsRequest.deserializeBinary = function(bytes) {
|
|
89308
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
89309
|
+
var msg = new proto.clarifai.api.PostNodepoolsRequest;
|
|
89310
|
+
return proto.clarifai.api.PostNodepoolsRequest.deserializeBinaryFromReader(msg, reader);
|
|
89311
|
+
};
|
|
89312
|
+
|
|
89313
|
+
|
|
89314
|
+
/**
|
|
89315
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
89316
|
+
* given reader into the given message object.
|
|
89317
|
+
* @param {!proto.clarifai.api.PostNodepoolsRequest} msg The message object to deserialize into.
|
|
89318
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
89319
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest}
|
|
89320
|
+
*/
|
|
89321
|
+
proto.clarifai.api.PostNodepoolsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
89322
|
+
while (reader.nextField()) {
|
|
89323
|
+
if (reader.isEndGroup()) {
|
|
89324
|
+
break;
|
|
89325
|
+
}
|
|
89326
|
+
var field = reader.getFieldNumber();
|
|
89327
|
+
switch (field) {
|
|
89328
|
+
case 1:
|
|
89329
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
89330
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
89331
|
+
msg.setUserAppId(value);
|
|
89332
|
+
break;
|
|
89333
|
+
case 2:
|
|
89334
|
+
var value = /** @type {string} */ (reader.readString());
|
|
89335
|
+
msg.setComputeClusterId(value);
|
|
89336
|
+
break;
|
|
89337
|
+
case 3:
|
|
89338
|
+
var value = new proto_clarifai_api_resources_pb.Nodepool;
|
|
89339
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
|
|
89340
|
+
msg.addNodepools(value);
|
|
89341
|
+
break;
|
|
89342
|
+
default:
|
|
89343
|
+
reader.skipField();
|
|
89344
|
+
break;
|
|
89345
|
+
}
|
|
89346
|
+
}
|
|
89347
|
+
return msg;
|
|
89348
|
+
};
|
|
89349
|
+
|
|
89350
|
+
|
|
89351
|
+
/**
|
|
89352
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
89353
|
+
* @return {!Uint8Array}
|
|
89354
|
+
*/
|
|
89355
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.serializeBinary = function() {
|
|
89356
|
+
var writer = new jspb.BinaryWriter();
|
|
89357
|
+
proto.clarifai.api.PostNodepoolsRequest.serializeBinaryToWriter(this, writer);
|
|
89358
|
+
return writer.getResultBuffer();
|
|
89359
|
+
};
|
|
89360
|
+
|
|
89361
|
+
|
|
89362
|
+
/**
|
|
89363
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
89364
|
+
* format), writing to the given BinaryWriter.
|
|
89365
|
+
* @param {!proto.clarifai.api.PostNodepoolsRequest} message
|
|
89366
|
+
* @param {!jspb.BinaryWriter} writer
|
|
89367
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
89368
|
+
*/
|
|
89369
|
+
proto.clarifai.api.PostNodepoolsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
89370
|
+
var f = undefined;
|
|
89371
|
+
f = message.getUserAppId();
|
|
89372
|
+
if (f != null) {
|
|
89373
|
+
writer.writeMessage(
|
|
89374
|
+
1,
|
|
89375
|
+
f,
|
|
89376
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
89377
|
+
);
|
|
89378
|
+
}
|
|
89379
|
+
f = message.getComputeClusterId();
|
|
89380
|
+
if (f.length > 0) {
|
|
89381
|
+
writer.writeString(
|
|
89382
|
+
2,
|
|
89383
|
+
f
|
|
89384
|
+
);
|
|
89385
|
+
}
|
|
89386
|
+
f = message.getNodepoolsList();
|
|
89387
|
+
if (f.length > 0) {
|
|
89388
|
+
writer.writeRepeatedMessage(
|
|
89389
|
+
3,
|
|
89390
|
+
f,
|
|
89391
|
+
proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter
|
|
89392
|
+
);
|
|
89393
|
+
}
|
|
89394
|
+
};
|
|
89395
|
+
|
|
89396
|
+
|
|
89397
|
+
/**
|
|
89398
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
89399
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
89400
|
+
*/
|
|
89401
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.getUserAppId = function() {
|
|
89402
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
89403
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
89404
|
+
};
|
|
89405
|
+
|
|
89406
|
+
|
|
89407
|
+
/**
|
|
89408
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
89409
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
|
|
89410
|
+
*/
|
|
89411
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.setUserAppId = function(value) {
|
|
89412
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
89413
|
+
};
|
|
89414
|
+
|
|
89415
|
+
|
|
89416
|
+
/**
|
|
89417
|
+
* Clears the message field making it undefined.
|
|
89418
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
|
|
89419
|
+
*/
|
|
89420
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.clearUserAppId = function() {
|
|
89421
|
+
return this.setUserAppId(undefined);
|
|
89422
|
+
};
|
|
89423
|
+
|
|
89424
|
+
|
|
89425
|
+
/**
|
|
89426
|
+
* Returns whether this field is set.
|
|
89427
|
+
* @return {boolean}
|
|
89428
|
+
*/
|
|
89429
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.hasUserAppId = function() {
|
|
89430
|
+
return jspb.Message.getField(this, 1) != null;
|
|
89431
|
+
};
|
|
89432
|
+
|
|
89433
|
+
|
|
89434
|
+
/**
|
|
89435
|
+
* optional string compute_cluster_id = 2;
|
|
89436
|
+
* @return {string}
|
|
89437
|
+
*/
|
|
89438
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.getComputeClusterId = function() {
|
|
89439
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
89440
|
+
};
|
|
89441
|
+
|
|
89442
|
+
|
|
89443
|
+
/**
|
|
89444
|
+
* @param {string} value
|
|
89445
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
|
|
89446
|
+
*/
|
|
89447
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.setComputeClusterId = function(value) {
|
|
89448
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
89449
|
+
};
|
|
89450
|
+
|
|
89451
|
+
|
|
89452
|
+
/**
|
|
89453
|
+
* repeated Nodepool nodepools = 3;
|
|
89454
|
+
* @return {!Array<!proto.clarifai.api.Nodepool>}
|
|
89455
|
+
*/
|
|
89456
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.getNodepoolsList = function() {
|
|
89457
|
+
return /** @type{!Array<!proto.clarifai.api.Nodepool>} */ (
|
|
89458
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 3));
|
|
89459
|
+
};
|
|
89460
|
+
|
|
89461
|
+
|
|
89462
|
+
/**
|
|
89463
|
+
* @param {!Array<!proto.clarifai.api.Nodepool>} value
|
|
89464
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
|
|
89465
|
+
*/
|
|
89466
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.setNodepoolsList = function(value) {
|
|
89467
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
89468
|
+
};
|
|
89469
|
+
|
|
89470
|
+
|
|
89471
|
+
/**
|
|
89472
|
+
* @param {!proto.clarifai.api.Nodepool=} opt_value
|
|
89473
|
+
* @param {number=} opt_index
|
|
89474
|
+
* @return {!proto.clarifai.api.Nodepool}
|
|
89475
|
+
*/
|
|
89476
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.addNodepools = function(opt_value, opt_index) {
|
|
89477
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.Nodepool, opt_index);
|
|
89478
|
+
};
|
|
89479
|
+
|
|
89480
|
+
|
|
89481
|
+
/**
|
|
89482
|
+
* Clears the list making it empty but non-null.
|
|
89483
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
|
|
89484
|
+
*/
|
|
89485
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.clearNodepoolsList = function() {
|
|
89486
|
+
return this.setNodepoolsList([]);
|
|
89487
|
+
};
|
|
89488
|
+
|
|
89489
|
+
|
|
89490
|
+
|
|
89491
|
+
/**
|
|
89492
|
+
* List of repeated fields within this message type.
|
|
89493
|
+
* @private {!Array<number>}
|
|
89494
|
+
* @const
|
|
89495
|
+
*/
|
|
89496
|
+
proto.clarifai.api.PatchNodepoolsRequest.repeatedFields_ = [3];
|
|
89497
|
+
|
|
89498
|
+
|
|
89499
|
+
|
|
89500
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
89501
|
+
/**
|
|
89502
|
+
* Creates an object representation of this proto.
|
|
89503
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
89504
|
+
* Optional fields that are not set will be set to undefined.
|
|
89505
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
89506
|
+
* For the list of reserved names please see:
|
|
89507
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
89508
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
89509
|
+
* JSPB instance for transitional soy proto support:
|
|
89510
|
+
* http://goto/soy-param-migration
|
|
89511
|
+
* @return {!Object}
|
|
89512
|
+
*/
|
|
89513
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
89514
|
+
return proto.clarifai.api.PatchNodepoolsRequest.toObject(opt_includeInstance, this);
|
|
89515
|
+
};
|
|
89516
|
+
|
|
89517
|
+
|
|
89518
|
+
/**
|
|
89519
|
+
* Static version of the {@see toObject} method.
|
|
89520
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
89521
|
+
* the JSPB instance for transitional soy proto support:
|
|
89522
|
+
* http://goto/soy-param-migration
|
|
89523
|
+
* @param {!proto.clarifai.api.PatchNodepoolsRequest} msg The msg instance to transform.
|
|
89524
|
+
* @return {!Object}
|
|
89525
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
89526
|
+
*/
|
|
89527
|
+
proto.clarifai.api.PatchNodepoolsRequest.toObject = function(includeInstance, msg) {
|
|
89528
|
+
var f, obj = {
|
|
89529
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
89530
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
89531
|
+
nodepoolsList: jspb.Message.toObjectList(msg.getNodepoolsList(),
|
|
89532
|
+
proto_clarifai_api_resources_pb.Nodepool.toObject, includeInstance),
|
|
89533
|
+
action: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
89534
|
+
};
|
|
89535
|
+
|
|
89536
|
+
if (includeInstance) {
|
|
89537
|
+
obj.$jspbMessageInstance = msg;
|
|
89538
|
+
}
|
|
89539
|
+
return obj;
|
|
89540
|
+
};
|
|
89541
|
+
}
|
|
89542
|
+
|
|
89543
|
+
|
|
89544
|
+
/**
|
|
89545
|
+
* Deserializes binary data (in protobuf wire format).
|
|
89546
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
89547
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest}
|
|
89548
|
+
*/
|
|
89549
|
+
proto.clarifai.api.PatchNodepoolsRequest.deserializeBinary = function(bytes) {
|
|
89550
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
89551
|
+
var msg = new proto.clarifai.api.PatchNodepoolsRequest;
|
|
89552
|
+
return proto.clarifai.api.PatchNodepoolsRequest.deserializeBinaryFromReader(msg, reader);
|
|
89553
|
+
};
|
|
89554
|
+
|
|
89555
|
+
|
|
89556
|
+
/**
|
|
89557
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
89558
|
+
* given reader into the given message object.
|
|
89559
|
+
* @param {!proto.clarifai.api.PatchNodepoolsRequest} msg The message object to deserialize into.
|
|
89560
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
89561
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest}
|
|
89562
|
+
*/
|
|
89563
|
+
proto.clarifai.api.PatchNodepoolsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
89564
|
+
while (reader.nextField()) {
|
|
89565
|
+
if (reader.isEndGroup()) {
|
|
89566
|
+
break;
|
|
89567
|
+
}
|
|
89568
|
+
var field = reader.getFieldNumber();
|
|
89569
|
+
switch (field) {
|
|
89570
|
+
case 1:
|
|
89571
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
89572
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
89573
|
+
msg.setUserAppId(value);
|
|
89574
|
+
break;
|
|
89575
|
+
case 2:
|
|
89576
|
+
var value = /** @type {string} */ (reader.readString());
|
|
89577
|
+
msg.setComputeClusterId(value);
|
|
89578
|
+
break;
|
|
89579
|
+
case 3:
|
|
89580
|
+
var value = new proto_clarifai_api_resources_pb.Nodepool;
|
|
89581
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
|
|
89582
|
+
msg.addNodepools(value);
|
|
89583
|
+
break;
|
|
89584
|
+
case 4:
|
|
89585
|
+
var value = /** @type {string} */ (reader.readString());
|
|
89586
|
+
msg.setAction(value);
|
|
89587
|
+
break;
|
|
89588
|
+
default:
|
|
89589
|
+
reader.skipField();
|
|
89590
|
+
break;
|
|
89591
|
+
}
|
|
89592
|
+
}
|
|
89593
|
+
return msg;
|
|
89594
|
+
};
|
|
89595
|
+
|
|
89596
|
+
|
|
89597
|
+
/**
|
|
89598
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
89599
|
+
* @return {!Uint8Array}
|
|
89600
|
+
*/
|
|
89601
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.serializeBinary = function() {
|
|
89602
|
+
var writer = new jspb.BinaryWriter();
|
|
89603
|
+
proto.clarifai.api.PatchNodepoolsRequest.serializeBinaryToWriter(this, writer);
|
|
89604
|
+
return writer.getResultBuffer();
|
|
89605
|
+
};
|
|
89606
|
+
|
|
89607
|
+
|
|
89608
|
+
/**
|
|
89609
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
89610
|
+
* format), writing to the given BinaryWriter.
|
|
89611
|
+
* @param {!proto.clarifai.api.PatchNodepoolsRequest} message
|
|
89612
|
+
* @param {!jspb.BinaryWriter} writer
|
|
89613
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
89614
|
+
*/
|
|
89615
|
+
proto.clarifai.api.PatchNodepoolsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
89616
|
+
var f = undefined;
|
|
89617
|
+
f = message.getUserAppId();
|
|
89618
|
+
if (f != null) {
|
|
89619
|
+
writer.writeMessage(
|
|
89620
|
+
1,
|
|
89621
|
+
f,
|
|
89622
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
89623
|
+
);
|
|
89624
|
+
}
|
|
89625
|
+
f = message.getComputeClusterId();
|
|
89626
|
+
if (f.length > 0) {
|
|
89627
|
+
writer.writeString(
|
|
89628
|
+
2,
|
|
89629
|
+
f
|
|
89630
|
+
);
|
|
89631
|
+
}
|
|
89632
|
+
f = message.getNodepoolsList();
|
|
89633
|
+
if (f.length > 0) {
|
|
89634
|
+
writer.writeRepeatedMessage(
|
|
89635
|
+
3,
|
|
89636
|
+
f,
|
|
89637
|
+
proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter
|
|
89638
|
+
);
|
|
89639
|
+
}
|
|
89640
|
+
f = message.getAction();
|
|
89641
|
+
if (f.length > 0) {
|
|
89642
|
+
writer.writeString(
|
|
89643
|
+
4,
|
|
89644
|
+
f
|
|
89645
|
+
);
|
|
89646
|
+
}
|
|
89647
|
+
};
|
|
89648
|
+
|
|
89649
|
+
|
|
89650
|
+
/**
|
|
89651
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
89652
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
89653
|
+
*/
|
|
89654
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.getUserAppId = function() {
|
|
89655
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
89656
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
89657
|
+
};
|
|
89658
|
+
|
|
89659
|
+
|
|
89660
|
+
/**
|
|
89661
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
89662
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
89663
|
+
*/
|
|
89664
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.setUserAppId = function(value) {
|
|
89665
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
89666
|
+
};
|
|
89667
|
+
|
|
89668
|
+
|
|
89669
|
+
/**
|
|
89670
|
+
* Clears the message field making it undefined.
|
|
89671
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
89672
|
+
*/
|
|
89673
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.clearUserAppId = function() {
|
|
89674
|
+
return this.setUserAppId(undefined);
|
|
89675
|
+
};
|
|
89676
|
+
|
|
89677
|
+
|
|
89678
|
+
/**
|
|
89679
|
+
* Returns whether this field is set.
|
|
89680
|
+
* @return {boolean}
|
|
89681
|
+
*/
|
|
89682
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.hasUserAppId = function() {
|
|
89683
|
+
return jspb.Message.getField(this, 1) != null;
|
|
89684
|
+
};
|
|
89685
|
+
|
|
89686
|
+
|
|
89687
|
+
/**
|
|
89688
|
+
* optional string compute_cluster_id = 2;
|
|
89689
|
+
* @return {string}
|
|
89690
|
+
*/
|
|
89691
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.getComputeClusterId = function() {
|
|
89692
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
89693
|
+
};
|
|
89694
|
+
|
|
89695
|
+
|
|
89696
|
+
/**
|
|
89697
|
+
* @param {string} value
|
|
89698
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
89699
|
+
*/
|
|
89700
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.setComputeClusterId = function(value) {
|
|
89701
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
89702
|
+
};
|
|
89703
|
+
|
|
89704
|
+
|
|
89705
|
+
/**
|
|
89706
|
+
* repeated Nodepool nodepools = 3;
|
|
89707
|
+
* @return {!Array<!proto.clarifai.api.Nodepool>}
|
|
89708
|
+
*/
|
|
89709
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.getNodepoolsList = function() {
|
|
89710
|
+
return /** @type{!Array<!proto.clarifai.api.Nodepool>} */ (
|
|
89711
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 3));
|
|
89712
|
+
};
|
|
89713
|
+
|
|
89714
|
+
|
|
89715
|
+
/**
|
|
89716
|
+
* @param {!Array<!proto.clarifai.api.Nodepool>} value
|
|
89717
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
89718
|
+
*/
|
|
89719
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.setNodepoolsList = function(value) {
|
|
89720
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
89721
|
+
};
|
|
89722
|
+
|
|
89723
|
+
|
|
89724
|
+
/**
|
|
89725
|
+
* @param {!proto.clarifai.api.Nodepool=} opt_value
|
|
89726
|
+
* @param {number=} opt_index
|
|
89727
|
+
* @return {!proto.clarifai.api.Nodepool}
|
|
89728
|
+
*/
|
|
89729
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.addNodepools = function(opt_value, opt_index) {
|
|
89730
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.Nodepool, opt_index);
|
|
89731
|
+
};
|
|
89732
|
+
|
|
89733
|
+
|
|
89734
|
+
/**
|
|
89735
|
+
* Clears the list making it empty but non-null.
|
|
89736
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
89737
|
+
*/
|
|
89738
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.clearNodepoolsList = function() {
|
|
89739
|
+
return this.setNodepoolsList([]);
|
|
89740
|
+
};
|
|
89741
|
+
|
|
89742
|
+
|
|
89743
|
+
/**
|
|
89744
|
+
* optional string action = 4;
|
|
89745
|
+
* @return {string}
|
|
89746
|
+
*/
|
|
89747
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.getAction = function() {
|
|
89748
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
89749
|
+
};
|
|
89750
|
+
|
|
89751
|
+
|
|
89752
|
+
/**
|
|
89753
|
+
* @param {string} value
|
|
89754
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
89755
|
+
*/
|
|
89756
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.setAction = function(value) {
|
|
89757
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
89758
|
+
};
|
|
89759
|
+
|
|
89760
|
+
|
|
89761
|
+
|
|
89762
|
+
/**
|
|
89763
|
+
* List of repeated fields within this message type.
|
|
89764
|
+
* @private {!Array<number>}
|
|
89765
|
+
* @const
|
|
89766
|
+
*/
|
|
89767
|
+
proto.clarifai.api.DeleteNodepoolsRequest.repeatedFields_ = [3];
|
|
89768
|
+
|
|
89769
|
+
|
|
89770
|
+
|
|
89771
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
89772
|
+
/**
|
|
89773
|
+
* Creates an object representation of this proto.
|
|
89774
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
89775
|
+
* Optional fields that are not set will be set to undefined.
|
|
89776
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
89777
|
+
* For the list of reserved names please see:
|
|
89778
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
89779
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
89780
|
+
* JSPB instance for transitional soy proto support:
|
|
89781
|
+
* http://goto/soy-param-migration
|
|
89782
|
+
* @return {!Object}
|
|
89783
|
+
*/
|
|
89784
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
89785
|
+
return proto.clarifai.api.DeleteNodepoolsRequest.toObject(opt_includeInstance, this);
|
|
89786
|
+
};
|
|
89787
|
+
|
|
89788
|
+
|
|
89789
|
+
/**
|
|
89790
|
+
* Static version of the {@see toObject} method.
|
|
89791
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
89792
|
+
* the JSPB instance for transitional soy proto support:
|
|
89793
|
+
* http://goto/soy-param-migration
|
|
89794
|
+
* @param {!proto.clarifai.api.DeleteNodepoolsRequest} msg The msg instance to transform.
|
|
89795
|
+
* @return {!Object}
|
|
89796
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
89797
|
+
*/
|
|
89798
|
+
proto.clarifai.api.DeleteNodepoolsRequest.toObject = function(includeInstance, msg) {
|
|
89799
|
+
var f, obj = {
|
|
89800
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
89801
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
89802
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
89803
|
+
};
|
|
89804
|
+
|
|
89805
|
+
if (includeInstance) {
|
|
89806
|
+
obj.$jspbMessageInstance = msg;
|
|
89807
|
+
}
|
|
89808
|
+
return obj;
|
|
89809
|
+
};
|
|
89810
|
+
}
|
|
89811
|
+
|
|
89812
|
+
|
|
89813
|
+
/**
|
|
89814
|
+
* Deserializes binary data (in protobuf wire format).
|
|
89815
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
89816
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest}
|
|
89817
|
+
*/
|
|
89818
|
+
proto.clarifai.api.DeleteNodepoolsRequest.deserializeBinary = function(bytes) {
|
|
89819
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
89820
|
+
var msg = new proto.clarifai.api.DeleteNodepoolsRequest;
|
|
89821
|
+
return proto.clarifai.api.DeleteNodepoolsRequest.deserializeBinaryFromReader(msg, reader);
|
|
89822
|
+
};
|
|
89823
|
+
|
|
89824
|
+
|
|
89825
|
+
/**
|
|
89826
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
89827
|
+
* given reader into the given message object.
|
|
89828
|
+
* @param {!proto.clarifai.api.DeleteNodepoolsRequest} msg The message object to deserialize into.
|
|
89829
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
89830
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest}
|
|
89831
|
+
*/
|
|
89832
|
+
proto.clarifai.api.DeleteNodepoolsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
89833
|
+
while (reader.nextField()) {
|
|
89834
|
+
if (reader.isEndGroup()) {
|
|
89835
|
+
break;
|
|
89836
|
+
}
|
|
89837
|
+
var field = reader.getFieldNumber();
|
|
89838
|
+
switch (field) {
|
|
89839
|
+
case 1:
|
|
89840
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
89841
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
89842
|
+
msg.setUserAppId(value);
|
|
89843
|
+
break;
|
|
89844
|
+
case 2:
|
|
89845
|
+
var value = /** @type {string} */ (reader.readString());
|
|
89846
|
+
msg.setComputeClusterId(value);
|
|
89847
|
+
break;
|
|
89848
|
+
case 3:
|
|
89849
|
+
var value = /** @type {string} */ (reader.readString());
|
|
89850
|
+
msg.addIds(value);
|
|
89851
|
+
break;
|
|
89852
|
+
default:
|
|
89853
|
+
reader.skipField();
|
|
89854
|
+
break;
|
|
89855
|
+
}
|
|
89856
|
+
}
|
|
89857
|
+
return msg;
|
|
89858
|
+
};
|
|
89859
|
+
|
|
89860
|
+
|
|
88201
89861
|
/**
|
|
88202
89862
|
* Serializes the message to binary data (in protobuf wire format).
|
|
88203
89863
|
* @return {!Uint8Array}
|
|
@@ -88226,10 +89886,17 @@ proto.clarifai.api.DeleteNodepoolsRequest.serializeBinaryToWriter = function(mes
|
|
|
88226
89886
|
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
88227
89887
|
);
|
|
88228
89888
|
}
|
|
89889
|
+
f = message.getComputeClusterId();
|
|
89890
|
+
if (f.length > 0) {
|
|
89891
|
+
writer.writeString(
|
|
89892
|
+
2,
|
|
89893
|
+
f
|
|
89894
|
+
);
|
|
89895
|
+
}
|
|
88229
89896
|
f = message.getIdsList();
|
|
88230
89897
|
if (f.length > 0) {
|
|
88231
89898
|
writer.writeRepeatedString(
|
|
88232
|
-
|
|
89899
|
+
3,
|
|
88233
89900
|
f
|
|
88234
89901
|
);
|
|
88235
89902
|
}
|
|
@@ -88274,11 +89941,29 @@ proto.clarifai.api.DeleteNodepoolsRequest.prototype.hasUserAppId = function() {
|
|
|
88274
89941
|
|
|
88275
89942
|
|
|
88276
89943
|
/**
|
|
88277
|
-
*
|
|
89944
|
+
* optional string compute_cluster_id = 2;
|
|
89945
|
+
* @return {string}
|
|
89946
|
+
*/
|
|
89947
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.getComputeClusterId = function() {
|
|
89948
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
89949
|
+
};
|
|
89950
|
+
|
|
89951
|
+
|
|
89952
|
+
/**
|
|
89953
|
+
* @param {string} value
|
|
89954
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
|
|
89955
|
+
*/
|
|
89956
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.setComputeClusterId = function(value) {
|
|
89957
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
89958
|
+
};
|
|
89959
|
+
|
|
89960
|
+
|
|
89961
|
+
/**
|
|
89962
|
+
* repeated string ids = 3;
|
|
88278
89963
|
* @return {!Array<string>}
|
|
88279
89964
|
*/
|
|
88280
89965
|
proto.clarifai.api.DeleteNodepoolsRequest.prototype.getIdsList = function() {
|
|
88281
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this,
|
|
89966
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
88282
89967
|
};
|
|
88283
89968
|
|
|
88284
89969
|
|
|
@@ -88287,7 +89972,7 @@ proto.clarifai.api.DeleteNodepoolsRequest.prototype.getIdsList = function() {
|
|
|
88287
89972
|
* @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
|
|
88288
89973
|
*/
|
|
88289
89974
|
proto.clarifai.api.DeleteNodepoolsRequest.prototype.setIdsList = function(value) {
|
|
88290
|
-
return jspb.Message.setField(this,
|
|
89975
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
88291
89976
|
};
|
|
88292
89977
|
|
|
88293
89978
|
|
|
@@ -88297,7 +89982,7 @@ proto.clarifai.api.DeleteNodepoolsRequest.prototype.setIdsList = function(value)
|
|
|
88297
89982
|
* @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
|
|
88298
89983
|
*/
|
|
88299
89984
|
proto.clarifai.api.DeleteNodepoolsRequest.prototype.addIds = function(value, opt_index) {
|
|
88300
|
-
return jspb.Message.addToRepeatedField(this,
|
|
89985
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
88301
89986
|
};
|
|
88302
89987
|
|
|
88303
89988
|
|