clarifai-web-grpc 10.3.3 → 10.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +1335 -215
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +378 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +2751 -53
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +9 -0
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +7 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +1335 -215
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +378 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +2751 -53
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +9 -0
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +7 -1
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +216 -55
- package/proto/clarifai/api/resources_pb.js +1657 -238
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +108 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +549 -0
- package/proto/clarifai/api/service_pb.d.ts +390 -0
- package/proto/clarifai/api/service_pb.js +3386 -53
- package/proto/clarifai/api/status/status_code_pb.d.ts +9 -0
- package/proto/clarifai/api/status/status_code_pb.js +9 -0
- package/proto/clarifai/auth/scope/scope_pb.d.ts +6 -0
- package/proto/clarifai/auth/scope/scope_pb.js +7 -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);
|
|
@@ -67,6 +68,7 @@ goog.exportSymbol('proto.clarifai.api.DeleteModelVersionRequest', null, global);
|
|
|
67
68
|
goog.exportSymbol('proto.clarifai.api.DeleteModelsRequest', null, global);
|
|
68
69
|
goog.exportSymbol('proto.clarifai.api.DeleteModuleVersionsRequest', null, global);
|
|
69
70
|
goog.exportSymbol('proto.clarifai.api.DeleteModulesRequest', null, global);
|
|
71
|
+
goog.exportSymbol('proto.clarifai.api.DeleteNodepoolsRequest', null, global);
|
|
70
72
|
goog.exportSymbol('proto.clarifai.api.DeleteRunnersRequest', null, global);
|
|
71
73
|
goog.exportSymbol('proto.clarifai.api.DeleteSearchRequest', null, global);
|
|
72
74
|
goog.exportSymbol('proto.clarifai.api.DeleteTasksRequest', null, global);
|
|
@@ -81,6 +83,7 @@ goog.exportSymbol('proto.clarifai.api.GetAppDuplicationRequest', null, global);
|
|
|
81
83
|
goog.exportSymbol('proto.clarifai.api.GetAppRequest', null, global);
|
|
82
84
|
goog.exportSymbol('proto.clarifai.api.GetBulkOperationRequest', null, global);
|
|
83
85
|
goog.exportSymbol('proto.clarifai.api.GetCollectorRequest', null, global);
|
|
86
|
+
goog.exportSymbol('proto.clarifai.api.GetComputeClusterRequest', null, global);
|
|
84
87
|
goog.exportSymbol('proto.clarifai.api.GetConceptCountsRequest', null, global);
|
|
85
88
|
goog.exportSymbol('proto.clarifai.api.GetConceptLanguageRequest', null, global);
|
|
86
89
|
goog.exportSymbol('proto.clarifai.api.GetConceptRequest', null, global);
|
|
@@ -106,6 +109,7 @@ goog.exportSymbol('proto.clarifai.api.GetModelVersionRequest', null, global);
|
|
|
106
109
|
goog.exportSymbol('proto.clarifai.api.GetModuleRequest', null, global);
|
|
107
110
|
goog.exportSymbol('proto.clarifai.api.GetModuleVersionRequest', null, global);
|
|
108
111
|
goog.exportSymbol('proto.clarifai.api.GetModuleVersionUsageCountRequest', null, global);
|
|
112
|
+
goog.exportSymbol('proto.clarifai.api.GetNodepoolRequest', null, global);
|
|
109
113
|
goog.exportSymbol('proto.clarifai.api.GetResourceCountsRequest', null, global);
|
|
110
114
|
goog.exportSymbol('proto.clarifai.api.GetResourceCountsResponse', null, global);
|
|
111
115
|
goog.exportSymbol('proto.clarifai.api.GetRunnerRequest', null, global);
|
|
@@ -133,6 +137,7 @@ goog.exportSymbol('proto.clarifai.api.ListBulkOperationsRequest', null, global);
|
|
|
133
137
|
goog.exportSymbol('proto.clarifai.api.ListCollaborationsRequest', null, global);
|
|
134
138
|
goog.exportSymbol('proto.clarifai.api.ListCollaboratorsRequest', null, global);
|
|
135
139
|
goog.exportSymbol('proto.clarifai.api.ListCollectorsRequest', null, global);
|
|
140
|
+
goog.exportSymbol('proto.clarifai.api.ListComputeClustersRequest', null, global);
|
|
136
141
|
goog.exportSymbol('proto.clarifai.api.ListConceptLanguagesRequest', null, global);
|
|
137
142
|
goog.exportSymbol('proto.clarifai.api.ListConceptRelationsRequest', null, global);
|
|
138
143
|
goog.exportSymbol('proto.clarifai.api.ListConceptsRequest', null, global);
|
|
@@ -164,6 +169,7 @@ goog.exportSymbol('proto.clarifai.api.ListModuleVersionsRequest', null, global);
|
|
|
164
169
|
goog.exportSymbol('proto.clarifai.api.ListModulesRequest', null, global);
|
|
165
170
|
goog.exportSymbol('proto.clarifai.api.ListModulesRequest.SortByCase', null, global);
|
|
166
171
|
goog.exportSymbol('proto.clarifai.api.ListNextTaskAssignmentsRequest', null, global);
|
|
172
|
+
goog.exportSymbol('proto.clarifai.api.ListNodepoolsRequest', null, global);
|
|
167
173
|
goog.exportSymbol('proto.clarifai.api.ListOpenSourceLicensesRequest', null, global);
|
|
168
174
|
goog.exportSymbol('proto.clarifai.api.ListOpenSourceLicensesResponse', null, global);
|
|
169
175
|
goog.exportSymbol('proto.clarifai.api.ListRunnerItemsRequest', null, global);
|
|
@@ -188,6 +194,7 @@ goog.exportSymbol('proto.clarifai.api.MultiBulkOperationsResponse', null, global
|
|
|
188
194
|
goog.exportSymbol('proto.clarifai.api.MultiCollaborationsResponse', null, global);
|
|
189
195
|
goog.exportSymbol('proto.clarifai.api.MultiCollaboratorsResponse', null, global);
|
|
190
196
|
goog.exportSymbol('proto.clarifai.api.MultiCollectorResponse', null, global);
|
|
197
|
+
goog.exportSymbol('proto.clarifai.api.MultiComputeClusterResponse', null, global);
|
|
191
198
|
goog.exportSymbol('proto.clarifai.api.MultiConceptCountResponse', null, global);
|
|
192
199
|
goog.exportSymbol('proto.clarifai.api.MultiConceptLanguageResponse', null, global);
|
|
193
200
|
goog.exportSymbol('proto.clarifai.api.MultiConceptMappingJobResponse', null, global);
|
|
@@ -218,6 +225,7 @@ goog.exportSymbol('proto.clarifai.api.MultiModelVersionInputExampleResponse', nu
|
|
|
218
225
|
goog.exportSymbol('proto.clarifai.api.MultiModelVersionResponse', null, global);
|
|
219
226
|
goog.exportSymbol('proto.clarifai.api.MultiModuleResponse', null, global);
|
|
220
227
|
goog.exportSymbol('proto.clarifai.api.MultiModuleVersionResponse', null, global);
|
|
228
|
+
goog.exportSymbol('proto.clarifai.api.MultiNodepoolResponse', null, global);
|
|
221
229
|
goog.exportSymbol('proto.clarifai.api.MultiOutputResponse', null, global);
|
|
222
230
|
goog.exportSymbol('proto.clarifai.api.MultiRunnerItemOutputResponse', null, global);
|
|
223
231
|
goog.exportSymbol('proto.clarifai.api.MultiRunnerItemResponse', null, global);
|
|
@@ -270,6 +278,7 @@ goog.exportSymbol('proto.clarifai.api.PatchModelVersionsRequest', null, global);
|
|
|
270
278
|
goog.exportSymbol('proto.clarifai.api.PatchModelsRequest', null, global);
|
|
271
279
|
goog.exportSymbol('proto.clarifai.api.PatchModuleVersionsRequest', null, global);
|
|
272
280
|
goog.exportSymbol('proto.clarifai.api.PatchModulesRequest', null, global);
|
|
281
|
+
goog.exportSymbol('proto.clarifai.api.PatchNodepoolsRequest', null, global);
|
|
273
282
|
goog.exportSymbol('proto.clarifai.api.PatchSearchesRequest', null, global);
|
|
274
283
|
goog.exportSymbol('proto.clarifai.api.PatchTasksRequest', null, global);
|
|
275
284
|
goog.exportSymbol('proto.clarifai.api.PatchWorkflowIdsRequest', null, global);
|
|
@@ -285,6 +294,7 @@ goog.exportSymbol('proto.clarifai.api.PostAppsSearchesRequest', null, global);
|
|
|
285
294
|
goog.exportSymbol('proto.clarifai.api.PostBulkOperationsRequest', null, global);
|
|
286
295
|
goog.exportSymbol('proto.clarifai.api.PostCollaboratorsRequest', null, global);
|
|
287
296
|
goog.exportSymbol('proto.clarifai.api.PostCollectorsRequest', null, global);
|
|
297
|
+
goog.exportSymbol('proto.clarifai.api.PostComputeClustersRequest', null, global);
|
|
288
298
|
goog.exportSymbol('proto.clarifai.api.PostConceptLanguagesRequest', null, global);
|
|
289
299
|
goog.exportSymbol('proto.clarifai.api.PostConceptMappingJobsRequest', null, global);
|
|
290
300
|
goog.exportSymbol('proto.clarifai.api.PostConceptRelationsRequest', null, global);
|
|
@@ -318,6 +328,7 @@ goog.exportSymbol('proto.clarifai.api.PostModelsRequest', null, global);
|
|
|
318
328
|
goog.exportSymbol('proto.clarifai.api.PostModelsSearchesRequest', null, global);
|
|
319
329
|
goog.exportSymbol('proto.clarifai.api.PostModuleVersionsRequest', null, global);
|
|
320
330
|
goog.exportSymbol('proto.clarifai.api.PostModulesRequest', null, global);
|
|
331
|
+
goog.exportSymbol('proto.clarifai.api.PostNodepoolsRequest', null, global);
|
|
321
332
|
goog.exportSymbol('proto.clarifai.api.PostRunnerItemOutputsRequest', null, global);
|
|
322
333
|
goog.exportSymbol('proto.clarifai.api.PostRunnersRequest', null, global);
|
|
323
334
|
goog.exportSymbol('proto.clarifai.api.PostSearchesByIDRequest', null, global);
|
|
@@ -354,6 +365,7 @@ goog.exportSymbol('proto.clarifai.api.SingleAppDuplicationResponse', null, globa
|
|
|
354
365
|
goog.exportSymbol('proto.clarifai.api.SingleAppResponse', null, global);
|
|
355
366
|
goog.exportSymbol('proto.clarifai.api.SingleBulkOperationsResponse', null, global);
|
|
356
367
|
goog.exportSymbol('proto.clarifai.api.SingleCollectorResponse', null, global);
|
|
368
|
+
goog.exportSymbol('proto.clarifai.api.SingleComputeClusterResponse', null, global);
|
|
357
369
|
goog.exportSymbol('proto.clarifai.api.SingleConceptLanguageResponse', null, global);
|
|
358
370
|
goog.exportSymbol('proto.clarifai.api.SingleConceptResponse', null, global);
|
|
359
371
|
goog.exportSymbol('proto.clarifai.api.SingleDatasetInputResponse', null, global);
|
|
@@ -375,6 +387,7 @@ goog.exportSymbol('proto.clarifai.api.SingleModelVersionResponse', null, global)
|
|
|
375
387
|
goog.exportSymbol('proto.clarifai.api.SingleModuleResponse', null, global);
|
|
376
388
|
goog.exportSymbol('proto.clarifai.api.SingleModuleVersionResponse', null, global);
|
|
377
389
|
goog.exportSymbol('proto.clarifai.api.SingleModuleVersionUsageCountResponse', null, global);
|
|
390
|
+
goog.exportSymbol('proto.clarifai.api.SingleNodepoolResponse', null, global);
|
|
378
391
|
goog.exportSymbol('proto.clarifai.api.SinglePasswordValidationResponse', null, global);
|
|
379
392
|
goog.exportSymbol('proto.clarifai.api.SingleRunnerResponse', null, global);
|
|
380
393
|
goog.exportSymbol('proto.clarifai.api.SingleSearchResponse', null, global);
|
|
@@ -7402,6 +7415,279 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
7402
7415
|
*/
|
|
7403
7416
|
proto.clarifai.api.MultiTrainingTimeEstimateResponse.displayName = 'proto.clarifai.api.MultiTrainingTimeEstimateResponse';
|
|
7404
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
|
+
}
|
|
7544
|
+
/**
|
|
7545
|
+
* Generated by JsPbCodeGenerator.
|
|
7546
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7547
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7548
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7549
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7550
|
+
* valid.
|
|
7551
|
+
* @extends {jspb.Message}
|
|
7552
|
+
* @constructor
|
|
7553
|
+
*/
|
|
7554
|
+
proto.clarifai.api.GetNodepoolRequest = function(opt_data) {
|
|
7555
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7556
|
+
};
|
|
7557
|
+
goog.inherits(proto.clarifai.api.GetNodepoolRequest, jspb.Message);
|
|
7558
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7559
|
+
/**
|
|
7560
|
+
* @public
|
|
7561
|
+
* @override
|
|
7562
|
+
*/
|
|
7563
|
+
proto.clarifai.api.GetNodepoolRequest.displayName = 'proto.clarifai.api.GetNodepoolRequest';
|
|
7564
|
+
}
|
|
7565
|
+
/**
|
|
7566
|
+
* Generated by JsPbCodeGenerator.
|
|
7567
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7568
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7569
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7570
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7571
|
+
* valid.
|
|
7572
|
+
* @extends {jspb.Message}
|
|
7573
|
+
* @constructor
|
|
7574
|
+
*/
|
|
7575
|
+
proto.clarifai.api.ListNodepoolsRequest = function(opt_data) {
|
|
7576
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7577
|
+
};
|
|
7578
|
+
goog.inherits(proto.clarifai.api.ListNodepoolsRequest, jspb.Message);
|
|
7579
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7580
|
+
/**
|
|
7581
|
+
* @public
|
|
7582
|
+
* @override
|
|
7583
|
+
*/
|
|
7584
|
+
proto.clarifai.api.ListNodepoolsRequest.displayName = 'proto.clarifai.api.ListNodepoolsRequest';
|
|
7585
|
+
}
|
|
7586
|
+
/**
|
|
7587
|
+
* Generated by JsPbCodeGenerator.
|
|
7588
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7589
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7590
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7591
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7592
|
+
* valid.
|
|
7593
|
+
* @extends {jspb.Message}
|
|
7594
|
+
* @constructor
|
|
7595
|
+
*/
|
|
7596
|
+
proto.clarifai.api.PostNodepoolsRequest = function(opt_data) {
|
|
7597
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PostNodepoolsRequest.repeatedFields_, null);
|
|
7598
|
+
};
|
|
7599
|
+
goog.inherits(proto.clarifai.api.PostNodepoolsRequest, jspb.Message);
|
|
7600
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7601
|
+
/**
|
|
7602
|
+
* @public
|
|
7603
|
+
* @override
|
|
7604
|
+
*/
|
|
7605
|
+
proto.clarifai.api.PostNodepoolsRequest.displayName = 'proto.clarifai.api.PostNodepoolsRequest';
|
|
7606
|
+
}
|
|
7607
|
+
/**
|
|
7608
|
+
* Generated by JsPbCodeGenerator.
|
|
7609
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7610
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7611
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7612
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7613
|
+
* valid.
|
|
7614
|
+
* @extends {jspb.Message}
|
|
7615
|
+
* @constructor
|
|
7616
|
+
*/
|
|
7617
|
+
proto.clarifai.api.PatchNodepoolsRequest = function(opt_data) {
|
|
7618
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PatchNodepoolsRequest.repeatedFields_, null);
|
|
7619
|
+
};
|
|
7620
|
+
goog.inherits(proto.clarifai.api.PatchNodepoolsRequest, jspb.Message);
|
|
7621
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7622
|
+
/**
|
|
7623
|
+
* @public
|
|
7624
|
+
* @override
|
|
7625
|
+
*/
|
|
7626
|
+
proto.clarifai.api.PatchNodepoolsRequest.displayName = 'proto.clarifai.api.PatchNodepoolsRequest';
|
|
7627
|
+
}
|
|
7628
|
+
/**
|
|
7629
|
+
* Generated by JsPbCodeGenerator.
|
|
7630
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7631
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7632
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7633
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7634
|
+
* valid.
|
|
7635
|
+
* @extends {jspb.Message}
|
|
7636
|
+
* @constructor
|
|
7637
|
+
*/
|
|
7638
|
+
proto.clarifai.api.DeleteNodepoolsRequest = function(opt_data) {
|
|
7639
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.DeleteNodepoolsRequest.repeatedFields_, null);
|
|
7640
|
+
};
|
|
7641
|
+
goog.inherits(proto.clarifai.api.DeleteNodepoolsRequest, jspb.Message);
|
|
7642
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7643
|
+
/**
|
|
7644
|
+
* @public
|
|
7645
|
+
* @override
|
|
7646
|
+
*/
|
|
7647
|
+
proto.clarifai.api.DeleteNodepoolsRequest.displayName = 'proto.clarifai.api.DeleteNodepoolsRequest';
|
|
7648
|
+
}
|
|
7649
|
+
/**
|
|
7650
|
+
* Generated by JsPbCodeGenerator.
|
|
7651
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7652
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7653
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7654
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7655
|
+
* valid.
|
|
7656
|
+
* @extends {jspb.Message}
|
|
7657
|
+
* @constructor
|
|
7658
|
+
*/
|
|
7659
|
+
proto.clarifai.api.SingleNodepoolResponse = function(opt_data) {
|
|
7660
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7661
|
+
};
|
|
7662
|
+
goog.inherits(proto.clarifai.api.SingleNodepoolResponse, jspb.Message);
|
|
7663
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7664
|
+
/**
|
|
7665
|
+
* @public
|
|
7666
|
+
* @override
|
|
7667
|
+
*/
|
|
7668
|
+
proto.clarifai.api.SingleNodepoolResponse.displayName = 'proto.clarifai.api.SingleNodepoolResponse';
|
|
7669
|
+
}
|
|
7670
|
+
/**
|
|
7671
|
+
* Generated by JsPbCodeGenerator.
|
|
7672
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7673
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7674
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7675
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7676
|
+
* valid.
|
|
7677
|
+
* @extends {jspb.Message}
|
|
7678
|
+
* @constructor
|
|
7679
|
+
*/
|
|
7680
|
+
proto.clarifai.api.MultiNodepoolResponse = function(opt_data) {
|
|
7681
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiNodepoolResponse.repeatedFields_, null);
|
|
7682
|
+
};
|
|
7683
|
+
goog.inherits(proto.clarifai.api.MultiNodepoolResponse, jspb.Message);
|
|
7684
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7685
|
+
/**
|
|
7686
|
+
* @public
|
|
7687
|
+
* @override
|
|
7688
|
+
*/
|
|
7689
|
+
proto.clarifai.api.MultiNodepoolResponse.displayName = 'proto.clarifai.api.MultiNodepoolResponse';
|
|
7690
|
+
}
|
|
7405
7691
|
|
|
7406
7692
|
|
|
7407
7693
|
|
|
@@ -41946,7 +42232,8 @@ proto.clarifai.api.PostModelVersionsUploadConfig.toObject = function(includeInst
|
|
|
41946
42232
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
41947
42233
|
modelId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
41948
42234
|
modelVersion: (f = msg.getModelVersion()) && proto_clarifai_api_resources_pb.ModelVersion.toObject(includeInstance, f),
|
|
41949
|
-
totalSize: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
42235
|
+
totalSize: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
42236
|
+
isV3: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
41950
42237
|
};
|
|
41951
42238
|
|
|
41952
42239
|
if (includeInstance) {
|
|
@@ -42001,6 +42288,10 @@ proto.clarifai.api.PostModelVersionsUploadConfig.deserializeBinaryFromReader = f
|
|
|
42001
42288
|
var value = /** @type {number} */ (reader.readUint64());
|
|
42002
42289
|
msg.setTotalSize(value);
|
|
42003
42290
|
break;
|
|
42291
|
+
case 5:
|
|
42292
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
42293
|
+
msg.setIsV3(value);
|
|
42294
|
+
break;
|
|
42004
42295
|
default:
|
|
42005
42296
|
reader.skipField();
|
|
42006
42297
|
break;
|
|
@@ -42060,6 +42351,13 @@ proto.clarifai.api.PostModelVersionsUploadConfig.serializeBinaryToWriter = funct
|
|
|
42060
42351
|
f
|
|
42061
42352
|
);
|
|
42062
42353
|
}
|
|
42354
|
+
f = message.getIsV3();
|
|
42355
|
+
if (f) {
|
|
42356
|
+
writer.writeBool(
|
|
42357
|
+
5,
|
|
42358
|
+
f
|
|
42359
|
+
);
|
|
42360
|
+
}
|
|
42063
42361
|
};
|
|
42064
42362
|
|
|
42065
42363
|
|
|
@@ -42173,6 +42471,24 @@ proto.clarifai.api.PostModelVersionsUploadConfig.prototype.setTotalSize = functi
|
|
|
42173
42471
|
};
|
|
42174
42472
|
|
|
42175
42473
|
|
|
42474
|
+
/**
|
|
42475
|
+
* optional bool is_v3 = 5;
|
|
42476
|
+
* @return {boolean}
|
|
42477
|
+
*/
|
|
42478
|
+
proto.clarifai.api.PostModelVersionsUploadConfig.prototype.getIsV3 = function() {
|
|
42479
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
42480
|
+
};
|
|
42481
|
+
|
|
42482
|
+
|
|
42483
|
+
/**
|
|
42484
|
+
* @param {boolean} value
|
|
42485
|
+
* @return {!proto.clarifai.api.PostModelVersionsUploadConfig} returns this
|
|
42486
|
+
*/
|
|
42487
|
+
proto.clarifai.api.PostModelVersionsUploadConfig.prototype.setIsV3 = function(value) {
|
|
42488
|
+
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
42489
|
+
};
|
|
42490
|
+
|
|
42491
|
+
|
|
42176
42492
|
|
|
42177
42493
|
|
|
42178
42494
|
|
|
@@ -84015,7 +84331,8 @@ proto.clarifai.api.GetRunnerRequest.prototype.toObject = function(opt_includeIns
|
|
|
84015
84331
|
proto.clarifai.api.GetRunnerRequest.toObject = function(includeInstance, msg) {
|
|
84016
84332
|
var f, obj = {
|
|
84017
84333
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
84018
|
-
|
|
84334
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
84335
|
+
runnerId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
84019
84336
|
};
|
|
84020
84337
|
|
|
84021
84338
|
if (includeInstance) {
|
|
@@ -84058,6 +84375,10 @@ proto.clarifai.api.GetRunnerRequest.deserializeBinaryFromReader = function(msg,
|
|
|
84058
84375
|
msg.setUserAppId(value);
|
|
84059
84376
|
break;
|
|
84060
84377
|
case 2:
|
|
84378
|
+
var value = /** @type {string} */ (reader.readString());
|
|
84379
|
+
msg.setNodepoolId(value);
|
|
84380
|
+
break;
|
|
84381
|
+
case 3:
|
|
84061
84382
|
var value = /** @type {string} */ (reader.readString());
|
|
84062
84383
|
msg.setRunnerId(value);
|
|
84063
84384
|
break;
|
|
@@ -84098,13 +84419,20 @@ proto.clarifai.api.GetRunnerRequest.serializeBinaryToWriter = function(message,
|
|
|
84098
84419
|
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
84099
84420
|
);
|
|
84100
84421
|
}
|
|
84101
|
-
f = message.
|
|
84422
|
+
f = message.getNodepoolId();
|
|
84102
84423
|
if (f.length > 0) {
|
|
84103
84424
|
writer.writeString(
|
|
84104
84425
|
2,
|
|
84105
84426
|
f
|
|
84106
84427
|
);
|
|
84107
84428
|
}
|
|
84429
|
+
f = message.getRunnerId();
|
|
84430
|
+
if (f.length > 0) {
|
|
84431
|
+
writer.writeString(
|
|
84432
|
+
3,
|
|
84433
|
+
f
|
|
84434
|
+
);
|
|
84435
|
+
}
|
|
84108
84436
|
};
|
|
84109
84437
|
|
|
84110
84438
|
|
|
@@ -84146,10 +84474,10 @@ proto.clarifai.api.GetRunnerRequest.prototype.hasUserAppId = function() {
|
|
|
84146
84474
|
|
|
84147
84475
|
|
|
84148
84476
|
/**
|
|
84149
|
-
* optional string
|
|
84477
|
+
* optional string nodepool_id = 2;
|
|
84150
84478
|
* @return {string}
|
|
84151
84479
|
*/
|
|
84152
|
-
proto.clarifai.api.GetRunnerRequest.prototype.
|
|
84480
|
+
proto.clarifai.api.GetRunnerRequest.prototype.getNodepoolId = function() {
|
|
84153
84481
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
84154
84482
|
};
|
|
84155
84483
|
|
|
@@ -84158,11 +84486,29 @@ proto.clarifai.api.GetRunnerRequest.prototype.getRunnerId = function() {
|
|
|
84158
84486
|
* @param {string} value
|
|
84159
84487
|
* @return {!proto.clarifai.api.GetRunnerRequest} returns this
|
|
84160
84488
|
*/
|
|
84161
|
-
proto.clarifai.api.GetRunnerRequest.prototype.
|
|
84489
|
+
proto.clarifai.api.GetRunnerRequest.prototype.setNodepoolId = function(value) {
|
|
84162
84490
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
84163
84491
|
};
|
|
84164
84492
|
|
|
84165
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
|
+
|
|
84166
84512
|
|
|
84167
84513
|
|
|
84168
84514
|
|
|
@@ -84196,8 +84542,9 @@ proto.clarifai.api.ListRunnersRequest.prototype.toObject = function(opt_includeI
|
|
|
84196
84542
|
proto.clarifai.api.ListRunnersRequest.toObject = function(includeInstance, msg) {
|
|
84197
84543
|
var f, obj = {
|
|
84198
84544
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
84199
|
-
|
|
84200
|
-
|
|
84545
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
84546
|
+
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
84547
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
84201
84548
|
};
|
|
84202
84549
|
|
|
84203
84550
|
if (includeInstance) {
|
|
@@ -84240,10 +84587,14 @@ proto.clarifai.api.ListRunnersRequest.deserializeBinaryFromReader = function(msg
|
|
|
84240
84587
|
msg.setUserAppId(value);
|
|
84241
84588
|
break;
|
|
84242
84589
|
case 2:
|
|
84590
|
+
var value = /** @type {string} */ (reader.readString());
|
|
84591
|
+
msg.setNodepoolId(value);
|
|
84592
|
+
break;
|
|
84593
|
+
case 3:
|
|
84243
84594
|
var value = /** @type {number} */ (reader.readUint32());
|
|
84244
84595
|
msg.setPage(value);
|
|
84245
84596
|
break;
|
|
84246
|
-
case
|
|
84597
|
+
case 4:
|
|
84247
84598
|
var value = /** @type {number} */ (reader.readUint32());
|
|
84248
84599
|
msg.setPerPage(value);
|
|
84249
84600
|
break;
|
|
@@ -84284,17 +84635,24 @@ proto.clarifai.api.ListRunnersRequest.serializeBinaryToWriter = function(message
|
|
|
84284
84635
|
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
84285
84636
|
);
|
|
84286
84637
|
}
|
|
84638
|
+
f = message.getNodepoolId();
|
|
84639
|
+
if (f.length > 0) {
|
|
84640
|
+
writer.writeString(
|
|
84641
|
+
2,
|
|
84642
|
+
f
|
|
84643
|
+
);
|
|
84644
|
+
}
|
|
84287
84645
|
f = message.getPage();
|
|
84288
84646
|
if (f !== 0) {
|
|
84289
84647
|
writer.writeUint32(
|
|
84290
|
-
|
|
84648
|
+
3,
|
|
84291
84649
|
f
|
|
84292
84650
|
);
|
|
84293
84651
|
}
|
|
84294
84652
|
f = message.getPerPage();
|
|
84295
84653
|
if (f !== 0) {
|
|
84296
84654
|
writer.writeUint32(
|
|
84297
|
-
|
|
84655
|
+
4,
|
|
84298
84656
|
f
|
|
84299
84657
|
);
|
|
84300
84658
|
}
|
|
@@ -84339,11 +84697,29 @@ proto.clarifai.api.ListRunnersRequest.prototype.hasUserAppId = function() {
|
|
|
84339
84697
|
|
|
84340
84698
|
|
|
84341
84699
|
/**
|
|
84342
|
-
* 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;
|
|
84343
84719
|
* @return {number}
|
|
84344
84720
|
*/
|
|
84345
84721
|
proto.clarifai.api.ListRunnersRequest.prototype.getPage = function() {
|
|
84346
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
84722
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
84347
84723
|
};
|
|
84348
84724
|
|
|
84349
84725
|
|
|
@@ -84352,16 +84728,16 @@ proto.clarifai.api.ListRunnersRequest.prototype.getPage = function() {
|
|
|
84352
84728
|
* @return {!proto.clarifai.api.ListRunnersRequest} returns this
|
|
84353
84729
|
*/
|
|
84354
84730
|
proto.clarifai.api.ListRunnersRequest.prototype.setPage = function(value) {
|
|
84355
|
-
return jspb.Message.setProto3IntField(this,
|
|
84731
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
84356
84732
|
};
|
|
84357
84733
|
|
|
84358
84734
|
|
|
84359
84735
|
/**
|
|
84360
|
-
* optional uint32 per_page =
|
|
84736
|
+
* optional uint32 per_page = 4;
|
|
84361
84737
|
* @return {number}
|
|
84362
84738
|
*/
|
|
84363
84739
|
proto.clarifai.api.ListRunnersRequest.prototype.getPerPage = function() {
|
|
84364
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
84740
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
84365
84741
|
};
|
|
84366
84742
|
|
|
84367
84743
|
|
|
@@ -84370,7 +84746,7 @@ proto.clarifai.api.ListRunnersRequest.prototype.getPerPage = function() {
|
|
|
84370
84746
|
* @return {!proto.clarifai.api.ListRunnersRequest} returns this
|
|
84371
84747
|
*/
|
|
84372
84748
|
proto.clarifai.api.ListRunnersRequest.prototype.setPerPage = function(value) {
|
|
84373
|
-
return jspb.Message.setProto3IntField(this,
|
|
84749
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
84374
84750
|
};
|
|
84375
84751
|
|
|
84376
84752
|
|
|
@@ -84414,6 +84790,7 @@ proto.clarifai.api.PostRunnersRequest.prototype.toObject = function(opt_includeI
|
|
|
84414
84790
|
proto.clarifai.api.PostRunnersRequest.toObject = function(includeInstance, msg) {
|
|
84415
84791
|
var f, obj = {
|
|
84416
84792
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
84793
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
84417
84794
|
runnersList: jspb.Message.toObjectList(msg.getRunnersList(),
|
|
84418
84795
|
proto_clarifai_api_resources_pb.Runner.toObject, includeInstance)
|
|
84419
84796
|
};
|
|
@@ -84457,6 +84834,10 @@ proto.clarifai.api.PostRunnersRequest.deserializeBinaryFromReader = function(msg
|
|
|
84457
84834
|
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
84458
84835
|
msg.setUserAppId(value);
|
|
84459
84836
|
break;
|
|
84837
|
+
case 2:
|
|
84838
|
+
var value = /** @type {string} */ (reader.readString());
|
|
84839
|
+
msg.setNodepoolId(value);
|
|
84840
|
+
break;
|
|
84460
84841
|
case 3:
|
|
84461
84842
|
var value = new proto_clarifai_api_resources_pb.Runner;
|
|
84462
84843
|
reader.readMessage(value,proto_clarifai_api_resources_pb.Runner.deserializeBinaryFromReader);
|
|
@@ -84499,6 +84880,13 @@ proto.clarifai.api.PostRunnersRequest.serializeBinaryToWriter = function(message
|
|
|
84499
84880
|
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
84500
84881
|
);
|
|
84501
84882
|
}
|
|
84883
|
+
f = message.getNodepoolId();
|
|
84884
|
+
if (f.length > 0) {
|
|
84885
|
+
writer.writeString(
|
|
84886
|
+
2,
|
|
84887
|
+
f
|
|
84888
|
+
);
|
|
84889
|
+
}
|
|
84502
84890
|
f = message.getRunnersList();
|
|
84503
84891
|
if (f.length > 0) {
|
|
84504
84892
|
writer.writeRepeatedMessage(
|
|
@@ -84547,6 +84935,24 @@ proto.clarifai.api.PostRunnersRequest.prototype.hasUserAppId = function() {
|
|
|
84547
84935
|
};
|
|
84548
84936
|
|
|
84549
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
|
+
|
|
84550
84956
|
/**
|
|
84551
84957
|
* repeated Runner runners = 3;
|
|
84552
84958
|
* @return {!Array<!proto.clarifai.api.Runner>}
|
|
@@ -84591,7 +84997,7 @@ proto.clarifai.api.PostRunnersRequest.prototype.clearRunnersList = function() {
|
|
|
84591
84997
|
* @private {!Array<number>}
|
|
84592
84998
|
* @const
|
|
84593
84999
|
*/
|
|
84594
|
-
proto.clarifai.api.DeleteRunnersRequest.repeatedFields_ = [
|
|
85000
|
+
proto.clarifai.api.DeleteRunnersRequest.repeatedFields_ = [3];
|
|
84595
85001
|
|
|
84596
85002
|
|
|
84597
85003
|
|
|
@@ -84625,7 +85031,8 @@ proto.clarifai.api.DeleteRunnersRequest.prototype.toObject = function(opt_includ
|
|
|
84625
85031
|
proto.clarifai.api.DeleteRunnersRequest.toObject = function(includeInstance, msg) {
|
|
84626
85032
|
var f, obj = {
|
|
84627
85033
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
84628
|
-
|
|
85034
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
85035
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
84629
85036
|
};
|
|
84630
85037
|
|
|
84631
85038
|
if (includeInstance) {
|
|
@@ -84668,6 +85075,10 @@ proto.clarifai.api.DeleteRunnersRequest.deserializeBinaryFromReader = function(m
|
|
|
84668
85075
|
msg.setUserAppId(value);
|
|
84669
85076
|
break;
|
|
84670
85077
|
case 2:
|
|
85078
|
+
var value = /** @type {string} */ (reader.readString());
|
|
85079
|
+
msg.setNodepoolId(value);
|
|
85080
|
+
break;
|
|
85081
|
+
case 3:
|
|
84671
85082
|
var value = /** @type {string} */ (reader.readString());
|
|
84672
85083
|
msg.addIds(value);
|
|
84673
85084
|
break;
|
|
@@ -84708,10 +85119,17 @@ proto.clarifai.api.DeleteRunnersRequest.serializeBinaryToWriter = function(messa
|
|
|
84708
85119
|
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
84709
85120
|
);
|
|
84710
85121
|
}
|
|
85122
|
+
f = message.getNodepoolId();
|
|
85123
|
+
if (f.length > 0) {
|
|
85124
|
+
writer.writeString(
|
|
85125
|
+
2,
|
|
85126
|
+
f
|
|
85127
|
+
);
|
|
85128
|
+
}
|
|
84711
85129
|
f = message.getIdsList();
|
|
84712
85130
|
if (f.length > 0) {
|
|
84713
85131
|
writer.writeRepeatedString(
|
|
84714
|
-
|
|
85132
|
+
3,
|
|
84715
85133
|
f
|
|
84716
85134
|
);
|
|
84717
85135
|
}
|
|
@@ -84756,11 +85174,29 @@ proto.clarifai.api.DeleteRunnersRequest.prototype.hasUserAppId = function() {
|
|
|
84756
85174
|
|
|
84757
85175
|
|
|
84758
85176
|
/**
|
|
84759
|
-
*
|
|
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;
|
|
84760
85196
|
* @return {!Array<string>}
|
|
84761
85197
|
*/
|
|
84762
85198
|
proto.clarifai.api.DeleteRunnersRequest.prototype.getIdsList = function() {
|
|
84763
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this,
|
|
85199
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
84764
85200
|
};
|
|
84765
85201
|
|
|
84766
85202
|
|
|
@@ -84769,7 +85205,7 @@ proto.clarifai.api.DeleteRunnersRequest.prototype.getIdsList = function() {
|
|
|
84769
85205
|
* @return {!proto.clarifai.api.DeleteRunnersRequest} returns this
|
|
84770
85206
|
*/
|
|
84771
85207
|
proto.clarifai.api.DeleteRunnersRequest.prototype.setIdsList = function(value) {
|
|
84772
|
-
return jspb.Message.setField(this,
|
|
85208
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
84773
85209
|
};
|
|
84774
85210
|
|
|
84775
85211
|
|
|
@@ -84779,7 +85215,7 @@ proto.clarifai.api.DeleteRunnersRequest.prototype.setIdsList = function(value) {
|
|
|
84779
85215
|
* @return {!proto.clarifai.api.DeleteRunnersRequest} returns this
|
|
84780
85216
|
*/
|
|
84781
85217
|
proto.clarifai.api.DeleteRunnersRequest.prototype.addIds = function(value, opt_index) {
|
|
84782
|
-
return jspb.Message.addToRepeatedField(this,
|
|
85218
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
84783
85219
|
};
|
|
84784
85220
|
|
|
84785
85221
|
|
|
@@ -85238,7 +85674,8 @@ proto.clarifai.api.ListRunnerItemsRequest.prototype.toObject = function(opt_incl
|
|
|
85238
85674
|
proto.clarifai.api.ListRunnerItemsRequest.toObject = function(includeInstance, msg) {
|
|
85239
85675
|
var f, obj = {
|
|
85240
85676
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
85241
|
-
|
|
85677
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
85678
|
+
runnerId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
85242
85679
|
};
|
|
85243
85680
|
|
|
85244
85681
|
if (includeInstance) {
|
|
@@ -85281,6 +85718,10 @@ proto.clarifai.api.ListRunnerItemsRequest.deserializeBinaryFromReader = function
|
|
|
85281
85718
|
msg.setUserAppId(value);
|
|
85282
85719
|
break;
|
|
85283
85720
|
case 2:
|
|
85721
|
+
var value = /** @type {string} */ (reader.readString());
|
|
85722
|
+
msg.setNodepoolId(value);
|
|
85723
|
+
break;
|
|
85724
|
+
case 3:
|
|
85284
85725
|
var value = /** @type {string} */ (reader.readString());
|
|
85285
85726
|
msg.setRunnerId(value);
|
|
85286
85727
|
break;
|
|
@@ -85321,13 +85762,20 @@ proto.clarifai.api.ListRunnerItemsRequest.serializeBinaryToWriter = function(mes
|
|
|
85321
85762
|
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
85322
85763
|
);
|
|
85323
85764
|
}
|
|
85324
|
-
f = message.
|
|
85765
|
+
f = message.getNodepoolId();
|
|
85325
85766
|
if (f.length > 0) {
|
|
85326
85767
|
writer.writeString(
|
|
85327
85768
|
2,
|
|
85328
85769
|
f
|
|
85329
85770
|
);
|
|
85330
85771
|
}
|
|
85772
|
+
f = message.getRunnerId();
|
|
85773
|
+
if (f.length > 0) {
|
|
85774
|
+
writer.writeString(
|
|
85775
|
+
3,
|
|
85776
|
+
f
|
|
85777
|
+
);
|
|
85778
|
+
}
|
|
85331
85779
|
};
|
|
85332
85780
|
|
|
85333
85781
|
|
|
@@ -85369,10 +85817,10 @@ proto.clarifai.api.ListRunnerItemsRequest.prototype.hasUserAppId = function() {
|
|
|
85369
85817
|
|
|
85370
85818
|
|
|
85371
85819
|
/**
|
|
85372
|
-
* optional string
|
|
85820
|
+
* optional string nodepool_id = 2;
|
|
85373
85821
|
* @return {string}
|
|
85374
85822
|
*/
|
|
85375
|
-
proto.clarifai.api.ListRunnerItemsRequest.prototype.
|
|
85823
|
+
proto.clarifai.api.ListRunnerItemsRequest.prototype.getNodepoolId = function() {
|
|
85376
85824
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
85377
85825
|
};
|
|
85378
85826
|
|
|
@@ -85381,18 +85829,36 @@ proto.clarifai.api.ListRunnerItemsRequest.prototype.getRunnerId = function() {
|
|
|
85381
85829
|
* @param {string} value
|
|
85382
85830
|
* @return {!proto.clarifai.api.ListRunnerItemsRequest} returns this
|
|
85383
85831
|
*/
|
|
85384
|
-
proto.clarifai.api.ListRunnerItemsRequest.prototype.
|
|
85832
|
+
proto.clarifai.api.ListRunnerItemsRequest.prototype.setNodepoolId = function(value) {
|
|
85385
85833
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
85386
85834
|
};
|
|
85387
85835
|
|
|
85388
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
|
+
|
|
85389
85855
|
|
|
85390
85856
|
/**
|
|
85391
85857
|
* List of repeated fields within this message type.
|
|
85392
85858
|
* @private {!Array<number>}
|
|
85393
85859
|
* @const
|
|
85394
85860
|
*/
|
|
85395
|
-
proto.clarifai.api.PostRunnerItemOutputsRequest.repeatedFields_ = [
|
|
85861
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.repeatedFields_ = [5];
|
|
85396
85862
|
|
|
85397
85863
|
|
|
85398
85864
|
|
|
@@ -85426,8 +85892,9 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.toObject = function(op
|
|
|
85426
85892
|
proto.clarifai.api.PostRunnerItemOutputsRequest.toObject = function(includeInstance, msg) {
|
|
85427
85893
|
var f, obj = {
|
|
85428
85894
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
85429
|
-
|
|
85430
|
-
|
|
85895
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
85896
|
+
runnerId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
85897
|
+
runnerItemId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
85431
85898
|
runnerItemOutputsList: jspb.Message.toObjectList(msg.getRunnerItemOutputsList(),
|
|
85432
85899
|
proto.clarifai.api.RunnerItemOutput.toObject, includeInstance),
|
|
85433
85900
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f)
|
|
@@ -85474,18 +85941,22 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.deserializeBinaryFromReader = fu
|
|
|
85474
85941
|
break;
|
|
85475
85942
|
case 2:
|
|
85476
85943
|
var value = /** @type {string} */ (reader.readString());
|
|
85477
|
-
msg.
|
|
85944
|
+
msg.setNodepoolId(value);
|
|
85478
85945
|
break;
|
|
85479
85946
|
case 3:
|
|
85480
85947
|
var value = /** @type {string} */ (reader.readString());
|
|
85481
|
-
msg.
|
|
85948
|
+
msg.setRunnerId(value);
|
|
85482
85949
|
break;
|
|
85483
85950
|
case 4:
|
|
85951
|
+
var value = /** @type {string} */ (reader.readString());
|
|
85952
|
+
msg.setRunnerItemId(value);
|
|
85953
|
+
break;
|
|
85954
|
+
case 5:
|
|
85484
85955
|
var value = new proto.clarifai.api.RunnerItemOutput;
|
|
85485
85956
|
reader.readMessage(value,proto.clarifai.api.RunnerItemOutput.deserializeBinaryFromReader);
|
|
85486
85957
|
msg.addRunnerItemOutputs(value);
|
|
85487
85958
|
break;
|
|
85488
|
-
case
|
|
85959
|
+
case 6:
|
|
85489
85960
|
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
85490
85961
|
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
85491
85962
|
msg.setStatus(value);
|
|
@@ -85527,24 +85998,31 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.serializeBinaryToWriter = functi
|
|
|
85527
85998
|
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
85528
85999
|
);
|
|
85529
86000
|
}
|
|
85530
|
-
f = message.
|
|
86001
|
+
f = message.getNodepoolId();
|
|
85531
86002
|
if (f.length > 0) {
|
|
85532
86003
|
writer.writeString(
|
|
85533
86004
|
2,
|
|
85534
86005
|
f
|
|
85535
86006
|
);
|
|
85536
86007
|
}
|
|
85537
|
-
f = message.
|
|
86008
|
+
f = message.getRunnerId();
|
|
85538
86009
|
if (f.length > 0) {
|
|
85539
86010
|
writer.writeString(
|
|
85540
86011
|
3,
|
|
85541
86012
|
f
|
|
85542
86013
|
);
|
|
85543
86014
|
}
|
|
86015
|
+
f = message.getRunnerItemId();
|
|
86016
|
+
if (f.length > 0) {
|
|
86017
|
+
writer.writeString(
|
|
86018
|
+
4,
|
|
86019
|
+
f
|
|
86020
|
+
);
|
|
86021
|
+
}
|
|
85544
86022
|
f = message.getRunnerItemOutputsList();
|
|
85545
86023
|
if (f.length > 0) {
|
|
85546
86024
|
writer.writeRepeatedMessage(
|
|
85547
|
-
|
|
86025
|
+
5,
|
|
85548
86026
|
f,
|
|
85549
86027
|
proto.clarifai.api.RunnerItemOutput.serializeBinaryToWriter
|
|
85550
86028
|
);
|
|
@@ -85552,7 +86030,7 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.serializeBinaryToWriter = functi
|
|
|
85552
86030
|
f = message.getStatus();
|
|
85553
86031
|
if (f != null) {
|
|
85554
86032
|
writer.writeMessage(
|
|
85555
|
-
|
|
86033
|
+
6,
|
|
85556
86034
|
f,
|
|
85557
86035
|
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
85558
86036
|
);
|
|
@@ -85598,10 +86076,10 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.hasUserAppId = functio
|
|
|
85598
86076
|
|
|
85599
86077
|
|
|
85600
86078
|
/**
|
|
85601
|
-
* optional string
|
|
86079
|
+
* optional string nodepool_id = 2;
|
|
85602
86080
|
* @return {string}
|
|
85603
86081
|
*/
|
|
85604
|
-
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.
|
|
86082
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getNodepoolId = function() {
|
|
85605
86083
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
85606
86084
|
};
|
|
85607
86085
|
|
|
@@ -85610,16 +86088,16 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRunnerId = function
|
|
|
85610
86088
|
* @param {string} value
|
|
85611
86089
|
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
85612
86090
|
*/
|
|
85613
|
-
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.
|
|
86091
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setNodepoolId = function(value) {
|
|
85614
86092
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
85615
86093
|
};
|
|
85616
86094
|
|
|
85617
86095
|
|
|
85618
86096
|
/**
|
|
85619
|
-
* optional string
|
|
86097
|
+
* optional string runner_id = 3;
|
|
85620
86098
|
* @return {string}
|
|
85621
86099
|
*/
|
|
85622
|
-
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.
|
|
86100
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRunnerId = function() {
|
|
85623
86101
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
85624
86102
|
};
|
|
85625
86103
|
|
|
@@ -85628,18 +86106,36 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRunnerItemId = func
|
|
|
85628
86106
|
* @param {string} value
|
|
85629
86107
|
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
85630
86108
|
*/
|
|
85631
|
-
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.
|
|
86109
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRunnerId = function(value) {
|
|
85632
86110
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
85633
86111
|
};
|
|
85634
86112
|
|
|
85635
86113
|
|
|
85636
86114
|
/**
|
|
85637
|
-
*
|
|
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;
|
|
85638
86134
|
* @return {!Array<!proto.clarifai.api.RunnerItemOutput>}
|
|
85639
86135
|
*/
|
|
85640
86136
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRunnerItemOutputsList = function() {
|
|
85641
86137
|
return /** @type{!Array<!proto.clarifai.api.RunnerItemOutput>} */ (
|
|
85642
|
-
jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.RunnerItemOutput,
|
|
86138
|
+
jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.RunnerItemOutput, 5));
|
|
85643
86139
|
};
|
|
85644
86140
|
|
|
85645
86141
|
|
|
@@ -85648,7 +86144,7 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRunnerItemOutputsLi
|
|
|
85648
86144
|
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
85649
86145
|
*/
|
|
85650
86146
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRunnerItemOutputsList = function(value) {
|
|
85651
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
86147
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
85652
86148
|
};
|
|
85653
86149
|
|
|
85654
86150
|
|
|
@@ -85658,7 +86154,7 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRunnerItemOutputsLi
|
|
|
85658
86154
|
* @return {!proto.clarifai.api.RunnerItemOutput}
|
|
85659
86155
|
*/
|
|
85660
86156
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.addRunnerItemOutputs = function(opt_value, opt_index) {
|
|
85661
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
86157
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.clarifai.api.RunnerItemOutput, opt_index);
|
|
85662
86158
|
};
|
|
85663
86159
|
|
|
85664
86160
|
|
|
@@ -85672,12 +86168,12 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.clearRunnerItemOutputs
|
|
|
85672
86168
|
|
|
85673
86169
|
|
|
85674
86170
|
/**
|
|
85675
|
-
* optional status.Status status =
|
|
86171
|
+
* optional status.Status status = 6;
|
|
85676
86172
|
* @return {?proto.clarifai.api.status.Status}
|
|
85677
86173
|
*/
|
|
85678
86174
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getStatus = function() {
|
|
85679
86175
|
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
85680
|
-
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status,
|
|
86176
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 6));
|
|
85681
86177
|
};
|
|
85682
86178
|
|
|
85683
86179
|
|
|
@@ -85686,7 +86182,7 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getStatus = function()
|
|
|
85686
86182
|
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
85687
86183
|
*/
|
|
85688
86184
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setStatus = function(value) {
|
|
85689
|
-
return jspb.Message.setWrapperField(this,
|
|
86185
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
85690
86186
|
};
|
|
85691
86187
|
|
|
85692
86188
|
|
|
@@ -85704,7 +86200,7 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.clearStatus = function
|
|
|
85704
86200
|
* @return {boolean}
|
|
85705
86201
|
*/
|
|
85706
86202
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.hasStatus = function() {
|
|
85707
|
-
return jspb.Message.getField(this,
|
|
86203
|
+
return jspb.Message.getField(this, 6) != null;
|
|
85708
86204
|
};
|
|
85709
86205
|
|
|
85710
86206
|
|
|
@@ -87075,6 +87571,2843 @@ proto.clarifai.api.MultiTrainingTimeEstimateResponse.prototype.clearTrainingTime
|
|
|
87075
87571
|
};
|
|
87076
87572
|
|
|
87077
87573
|
|
|
87574
|
+
|
|
87575
|
+
|
|
87576
|
+
|
|
87577
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
87578
|
+
/**
|
|
87579
|
+
* Creates an object representation of this proto.
|
|
87580
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
87581
|
+
* Optional fields that are not set will be set to undefined.
|
|
87582
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
87583
|
+
* For the list of reserved names please see:
|
|
87584
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
87585
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
87586
|
+
* JSPB instance for transitional soy proto support:
|
|
87587
|
+
* http://goto/soy-param-migration
|
|
87588
|
+
* @return {!Object}
|
|
87589
|
+
*/
|
|
87590
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.toObject = function(opt_includeInstance) {
|
|
87591
|
+
return proto.clarifai.api.GetComputeClusterRequest.toObject(opt_includeInstance, this);
|
|
87592
|
+
};
|
|
87593
|
+
|
|
87594
|
+
|
|
87595
|
+
/**
|
|
87596
|
+
* Static version of the {@see toObject} method.
|
|
87597
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
87598
|
+
* the JSPB instance for transitional soy proto support:
|
|
87599
|
+
* http://goto/soy-param-migration
|
|
87600
|
+
* @param {!proto.clarifai.api.GetComputeClusterRequest} msg The msg instance to transform.
|
|
87601
|
+
* @return {!Object}
|
|
87602
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
87603
|
+
*/
|
|
87604
|
+
proto.clarifai.api.GetComputeClusterRequest.toObject = function(includeInstance, msg) {
|
|
87605
|
+
var f, obj = {
|
|
87606
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
87607
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
87608
|
+
};
|
|
87609
|
+
|
|
87610
|
+
if (includeInstance) {
|
|
87611
|
+
obj.$jspbMessageInstance = msg;
|
|
87612
|
+
}
|
|
87613
|
+
return obj;
|
|
87614
|
+
};
|
|
87615
|
+
}
|
|
87616
|
+
|
|
87617
|
+
|
|
87618
|
+
/**
|
|
87619
|
+
* Deserializes binary data (in protobuf wire format).
|
|
87620
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
87621
|
+
* @return {!proto.clarifai.api.GetComputeClusterRequest}
|
|
87622
|
+
*/
|
|
87623
|
+
proto.clarifai.api.GetComputeClusterRequest.deserializeBinary = function(bytes) {
|
|
87624
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
87625
|
+
var msg = new proto.clarifai.api.GetComputeClusterRequest;
|
|
87626
|
+
return proto.clarifai.api.GetComputeClusterRequest.deserializeBinaryFromReader(msg, reader);
|
|
87627
|
+
};
|
|
87628
|
+
|
|
87629
|
+
|
|
87630
|
+
/**
|
|
87631
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
87632
|
+
* given reader into the given message object.
|
|
87633
|
+
* @param {!proto.clarifai.api.GetComputeClusterRequest} msg The message object to deserialize into.
|
|
87634
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
87635
|
+
* @return {!proto.clarifai.api.GetComputeClusterRequest}
|
|
87636
|
+
*/
|
|
87637
|
+
proto.clarifai.api.GetComputeClusterRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
87638
|
+
while (reader.nextField()) {
|
|
87639
|
+
if (reader.isEndGroup()) {
|
|
87640
|
+
break;
|
|
87641
|
+
}
|
|
87642
|
+
var field = reader.getFieldNumber();
|
|
87643
|
+
switch (field) {
|
|
87644
|
+
case 1:
|
|
87645
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
87646
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
87647
|
+
msg.setUserAppId(value);
|
|
87648
|
+
break;
|
|
87649
|
+
case 2:
|
|
87650
|
+
var value = /** @type {string} */ (reader.readString());
|
|
87651
|
+
msg.setComputeClusterId(value);
|
|
87652
|
+
break;
|
|
87653
|
+
default:
|
|
87654
|
+
reader.skipField();
|
|
87655
|
+
break;
|
|
87656
|
+
}
|
|
87657
|
+
}
|
|
87658
|
+
return msg;
|
|
87659
|
+
};
|
|
87660
|
+
|
|
87661
|
+
|
|
87662
|
+
/**
|
|
87663
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
87664
|
+
* @return {!Uint8Array}
|
|
87665
|
+
*/
|
|
87666
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.serializeBinary = function() {
|
|
87667
|
+
var writer = new jspb.BinaryWriter();
|
|
87668
|
+
proto.clarifai.api.GetComputeClusterRequest.serializeBinaryToWriter(this, writer);
|
|
87669
|
+
return writer.getResultBuffer();
|
|
87670
|
+
};
|
|
87671
|
+
|
|
87672
|
+
|
|
87673
|
+
/**
|
|
87674
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
87675
|
+
* format), writing to the given BinaryWriter.
|
|
87676
|
+
* @param {!proto.clarifai.api.GetComputeClusterRequest} message
|
|
87677
|
+
* @param {!jspb.BinaryWriter} writer
|
|
87678
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
87679
|
+
*/
|
|
87680
|
+
proto.clarifai.api.GetComputeClusterRequest.serializeBinaryToWriter = function(message, writer) {
|
|
87681
|
+
var f = undefined;
|
|
87682
|
+
f = message.getUserAppId();
|
|
87683
|
+
if (f != null) {
|
|
87684
|
+
writer.writeMessage(
|
|
87685
|
+
1,
|
|
87686
|
+
f,
|
|
87687
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
87688
|
+
);
|
|
87689
|
+
}
|
|
87690
|
+
f = message.getComputeClusterId();
|
|
87691
|
+
if (f.length > 0) {
|
|
87692
|
+
writer.writeString(
|
|
87693
|
+
2,
|
|
87694
|
+
f
|
|
87695
|
+
);
|
|
87696
|
+
}
|
|
87697
|
+
};
|
|
87698
|
+
|
|
87699
|
+
|
|
87700
|
+
/**
|
|
87701
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
87702
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
87703
|
+
*/
|
|
87704
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.getUserAppId = function() {
|
|
87705
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
87706
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
87707
|
+
};
|
|
87708
|
+
|
|
87709
|
+
|
|
87710
|
+
/**
|
|
87711
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
87712
|
+
* @return {!proto.clarifai.api.GetComputeClusterRequest} returns this
|
|
87713
|
+
*/
|
|
87714
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.setUserAppId = function(value) {
|
|
87715
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
87716
|
+
};
|
|
87717
|
+
|
|
87718
|
+
|
|
87719
|
+
/**
|
|
87720
|
+
* Clears the message field making it undefined.
|
|
87721
|
+
* @return {!proto.clarifai.api.GetComputeClusterRequest} returns this
|
|
87722
|
+
*/
|
|
87723
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.clearUserAppId = function() {
|
|
87724
|
+
return this.setUserAppId(undefined);
|
|
87725
|
+
};
|
|
87726
|
+
|
|
87727
|
+
|
|
87728
|
+
/**
|
|
87729
|
+
* Returns whether this field is set.
|
|
87730
|
+
* @return {boolean}
|
|
87731
|
+
*/
|
|
87732
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.hasUserAppId = function() {
|
|
87733
|
+
return jspb.Message.getField(this, 1) != null;
|
|
87734
|
+
};
|
|
87735
|
+
|
|
87736
|
+
|
|
87737
|
+
/**
|
|
87738
|
+
* optional string compute_cluster_id = 2;
|
|
87739
|
+
* @return {string}
|
|
87740
|
+
*/
|
|
87741
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.getComputeClusterId = function() {
|
|
87742
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
87743
|
+
};
|
|
87744
|
+
|
|
87745
|
+
|
|
87746
|
+
/**
|
|
87747
|
+
* @param {string} value
|
|
87748
|
+
* @return {!proto.clarifai.api.GetComputeClusterRequest} returns this
|
|
87749
|
+
*/
|
|
87750
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.setComputeClusterId = function(value) {
|
|
87751
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
87752
|
+
};
|
|
87753
|
+
|
|
87754
|
+
|
|
87755
|
+
|
|
87756
|
+
|
|
87757
|
+
|
|
87758
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
87759
|
+
/**
|
|
87760
|
+
* Creates an object representation of this proto.
|
|
87761
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
87762
|
+
* Optional fields that are not set will be set to undefined.
|
|
87763
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
87764
|
+
* For the list of reserved names please see:
|
|
87765
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
87766
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
87767
|
+
* JSPB instance for transitional soy proto support:
|
|
87768
|
+
* http://goto/soy-param-migration
|
|
87769
|
+
* @return {!Object}
|
|
87770
|
+
*/
|
|
87771
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.toObject = function(opt_includeInstance) {
|
|
87772
|
+
return proto.clarifai.api.ListComputeClustersRequest.toObject(opt_includeInstance, this);
|
|
87773
|
+
};
|
|
87774
|
+
|
|
87775
|
+
|
|
87776
|
+
/**
|
|
87777
|
+
* Static version of the {@see toObject} method.
|
|
87778
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
87779
|
+
* the JSPB instance for transitional soy proto support:
|
|
87780
|
+
* http://goto/soy-param-migration
|
|
87781
|
+
* @param {!proto.clarifai.api.ListComputeClustersRequest} msg The msg instance to transform.
|
|
87782
|
+
* @return {!Object}
|
|
87783
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
87784
|
+
*/
|
|
87785
|
+
proto.clarifai.api.ListComputeClustersRequest.toObject = function(includeInstance, msg) {
|
|
87786
|
+
var f, obj = {
|
|
87787
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
87788
|
+
page: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
87789
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
87790
|
+
};
|
|
87791
|
+
|
|
87792
|
+
if (includeInstance) {
|
|
87793
|
+
obj.$jspbMessageInstance = msg;
|
|
87794
|
+
}
|
|
87795
|
+
return obj;
|
|
87796
|
+
};
|
|
87797
|
+
}
|
|
87798
|
+
|
|
87799
|
+
|
|
87800
|
+
/**
|
|
87801
|
+
* Deserializes binary data (in protobuf wire format).
|
|
87802
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
87803
|
+
* @return {!proto.clarifai.api.ListComputeClustersRequest}
|
|
87804
|
+
*/
|
|
87805
|
+
proto.clarifai.api.ListComputeClustersRequest.deserializeBinary = function(bytes) {
|
|
87806
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
87807
|
+
var msg = new proto.clarifai.api.ListComputeClustersRequest;
|
|
87808
|
+
return proto.clarifai.api.ListComputeClustersRequest.deserializeBinaryFromReader(msg, reader);
|
|
87809
|
+
};
|
|
87810
|
+
|
|
87811
|
+
|
|
87812
|
+
/**
|
|
87813
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
87814
|
+
* given reader into the given message object.
|
|
87815
|
+
* @param {!proto.clarifai.api.ListComputeClustersRequest} msg The message object to deserialize into.
|
|
87816
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
87817
|
+
* @return {!proto.clarifai.api.ListComputeClustersRequest}
|
|
87818
|
+
*/
|
|
87819
|
+
proto.clarifai.api.ListComputeClustersRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
87820
|
+
while (reader.nextField()) {
|
|
87821
|
+
if (reader.isEndGroup()) {
|
|
87822
|
+
break;
|
|
87823
|
+
}
|
|
87824
|
+
var field = reader.getFieldNumber();
|
|
87825
|
+
switch (field) {
|
|
87826
|
+
case 1:
|
|
87827
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
87828
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
87829
|
+
msg.setUserAppId(value);
|
|
87830
|
+
break;
|
|
87831
|
+
case 2:
|
|
87832
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
87833
|
+
msg.setPage(value);
|
|
87834
|
+
break;
|
|
87835
|
+
case 3:
|
|
87836
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
87837
|
+
msg.setPerPage(value);
|
|
87838
|
+
break;
|
|
87839
|
+
default:
|
|
87840
|
+
reader.skipField();
|
|
87841
|
+
break;
|
|
87842
|
+
}
|
|
87843
|
+
}
|
|
87844
|
+
return msg;
|
|
87845
|
+
};
|
|
87846
|
+
|
|
87847
|
+
|
|
87848
|
+
/**
|
|
87849
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
87850
|
+
* @return {!Uint8Array}
|
|
87851
|
+
*/
|
|
87852
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.serializeBinary = function() {
|
|
87853
|
+
var writer = new jspb.BinaryWriter();
|
|
87854
|
+
proto.clarifai.api.ListComputeClustersRequest.serializeBinaryToWriter(this, writer);
|
|
87855
|
+
return writer.getResultBuffer();
|
|
87856
|
+
};
|
|
87857
|
+
|
|
87858
|
+
|
|
87859
|
+
/**
|
|
87860
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
87861
|
+
* format), writing to the given BinaryWriter.
|
|
87862
|
+
* @param {!proto.clarifai.api.ListComputeClustersRequest} message
|
|
87863
|
+
* @param {!jspb.BinaryWriter} writer
|
|
87864
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
87865
|
+
*/
|
|
87866
|
+
proto.clarifai.api.ListComputeClustersRequest.serializeBinaryToWriter = function(message, writer) {
|
|
87867
|
+
var f = undefined;
|
|
87868
|
+
f = message.getUserAppId();
|
|
87869
|
+
if (f != null) {
|
|
87870
|
+
writer.writeMessage(
|
|
87871
|
+
1,
|
|
87872
|
+
f,
|
|
87873
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
87874
|
+
);
|
|
87875
|
+
}
|
|
87876
|
+
f = message.getPage();
|
|
87877
|
+
if (f !== 0) {
|
|
87878
|
+
writer.writeUint32(
|
|
87879
|
+
2,
|
|
87880
|
+
f
|
|
87881
|
+
);
|
|
87882
|
+
}
|
|
87883
|
+
f = message.getPerPage();
|
|
87884
|
+
if (f !== 0) {
|
|
87885
|
+
writer.writeUint32(
|
|
87886
|
+
3,
|
|
87887
|
+
f
|
|
87888
|
+
);
|
|
87889
|
+
}
|
|
87890
|
+
};
|
|
87891
|
+
|
|
87892
|
+
|
|
87893
|
+
/**
|
|
87894
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
87895
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
87896
|
+
*/
|
|
87897
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.getUserAppId = function() {
|
|
87898
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
87899
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
87900
|
+
};
|
|
87901
|
+
|
|
87902
|
+
|
|
87903
|
+
/**
|
|
87904
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
87905
|
+
* @return {!proto.clarifai.api.ListComputeClustersRequest} returns this
|
|
87906
|
+
*/
|
|
87907
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.setUserAppId = function(value) {
|
|
87908
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
87909
|
+
};
|
|
87910
|
+
|
|
87911
|
+
|
|
87912
|
+
/**
|
|
87913
|
+
* Clears the message field making it undefined.
|
|
87914
|
+
* @return {!proto.clarifai.api.ListComputeClustersRequest} returns this
|
|
87915
|
+
*/
|
|
87916
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.clearUserAppId = function() {
|
|
87917
|
+
return this.setUserAppId(undefined);
|
|
87918
|
+
};
|
|
87919
|
+
|
|
87920
|
+
|
|
87921
|
+
/**
|
|
87922
|
+
* Returns whether this field is set.
|
|
87923
|
+
* @return {boolean}
|
|
87924
|
+
*/
|
|
87925
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.hasUserAppId = function() {
|
|
87926
|
+
return jspb.Message.getField(this, 1) != null;
|
|
87927
|
+
};
|
|
87928
|
+
|
|
87929
|
+
|
|
87930
|
+
/**
|
|
87931
|
+
* optional uint32 page = 2;
|
|
87932
|
+
* @return {number}
|
|
87933
|
+
*/
|
|
87934
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.getPage = function() {
|
|
87935
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
87936
|
+
};
|
|
87937
|
+
|
|
87938
|
+
|
|
87939
|
+
/**
|
|
87940
|
+
* @param {number} value
|
|
87941
|
+
* @return {!proto.clarifai.api.ListComputeClustersRequest} returns this
|
|
87942
|
+
*/
|
|
87943
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.setPage = function(value) {
|
|
87944
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
87945
|
+
};
|
|
87946
|
+
|
|
87947
|
+
|
|
87948
|
+
/**
|
|
87949
|
+
* optional uint32 per_page = 3;
|
|
87950
|
+
* @return {number}
|
|
87951
|
+
*/
|
|
87952
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.getPerPage = function() {
|
|
87953
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
87954
|
+
};
|
|
87955
|
+
|
|
87956
|
+
|
|
87957
|
+
/**
|
|
87958
|
+
* @param {number} value
|
|
87959
|
+
* @return {!proto.clarifai.api.ListComputeClustersRequest} returns this
|
|
87960
|
+
*/
|
|
87961
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.setPerPage = function(value) {
|
|
87962
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
87963
|
+
};
|
|
87964
|
+
|
|
87965
|
+
|
|
87966
|
+
|
|
87967
|
+
/**
|
|
87968
|
+
* List of repeated fields within this message type.
|
|
87969
|
+
* @private {!Array<number>}
|
|
87970
|
+
* @const
|
|
87971
|
+
*/
|
|
87972
|
+
proto.clarifai.api.PostComputeClustersRequest.repeatedFields_ = [2];
|
|
87973
|
+
|
|
87974
|
+
|
|
87975
|
+
|
|
87976
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
87977
|
+
/**
|
|
87978
|
+
* Creates an object representation of this proto.
|
|
87979
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
87980
|
+
* Optional fields that are not set will be set to undefined.
|
|
87981
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
87982
|
+
* For the list of reserved names please see:
|
|
87983
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
87984
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
87985
|
+
* JSPB instance for transitional soy proto support:
|
|
87986
|
+
* http://goto/soy-param-migration
|
|
87987
|
+
* @return {!Object}
|
|
87988
|
+
*/
|
|
87989
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.toObject = function(opt_includeInstance) {
|
|
87990
|
+
return proto.clarifai.api.PostComputeClustersRequest.toObject(opt_includeInstance, this);
|
|
87991
|
+
};
|
|
87992
|
+
|
|
87993
|
+
|
|
87994
|
+
/**
|
|
87995
|
+
* Static version of the {@see toObject} method.
|
|
87996
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
87997
|
+
* the JSPB instance for transitional soy proto support:
|
|
87998
|
+
* http://goto/soy-param-migration
|
|
87999
|
+
* @param {!proto.clarifai.api.PostComputeClustersRequest} msg The msg instance to transform.
|
|
88000
|
+
* @return {!Object}
|
|
88001
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
88002
|
+
*/
|
|
88003
|
+
proto.clarifai.api.PostComputeClustersRequest.toObject = function(includeInstance, msg) {
|
|
88004
|
+
var f, obj = {
|
|
88005
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
88006
|
+
computeClustersList: jspb.Message.toObjectList(msg.getComputeClustersList(),
|
|
88007
|
+
proto_clarifai_api_resources_pb.ComputeCluster.toObject, includeInstance)
|
|
88008
|
+
};
|
|
88009
|
+
|
|
88010
|
+
if (includeInstance) {
|
|
88011
|
+
obj.$jspbMessageInstance = msg;
|
|
88012
|
+
}
|
|
88013
|
+
return obj;
|
|
88014
|
+
};
|
|
88015
|
+
}
|
|
88016
|
+
|
|
88017
|
+
|
|
88018
|
+
/**
|
|
88019
|
+
* Deserializes binary data (in protobuf wire format).
|
|
88020
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
88021
|
+
* @return {!proto.clarifai.api.PostComputeClustersRequest}
|
|
88022
|
+
*/
|
|
88023
|
+
proto.clarifai.api.PostComputeClustersRequest.deserializeBinary = function(bytes) {
|
|
88024
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
88025
|
+
var msg = new proto.clarifai.api.PostComputeClustersRequest;
|
|
88026
|
+
return proto.clarifai.api.PostComputeClustersRequest.deserializeBinaryFromReader(msg, reader);
|
|
88027
|
+
};
|
|
88028
|
+
|
|
88029
|
+
|
|
88030
|
+
/**
|
|
88031
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
88032
|
+
* given reader into the given message object.
|
|
88033
|
+
* @param {!proto.clarifai.api.PostComputeClustersRequest} msg The message object to deserialize into.
|
|
88034
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
88035
|
+
* @return {!proto.clarifai.api.PostComputeClustersRequest}
|
|
88036
|
+
*/
|
|
88037
|
+
proto.clarifai.api.PostComputeClustersRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
88038
|
+
while (reader.nextField()) {
|
|
88039
|
+
if (reader.isEndGroup()) {
|
|
88040
|
+
break;
|
|
88041
|
+
}
|
|
88042
|
+
var field = reader.getFieldNumber();
|
|
88043
|
+
switch (field) {
|
|
88044
|
+
case 1:
|
|
88045
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
88046
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
88047
|
+
msg.setUserAppId(value);
|
|
88048
|
+
break;
|
|
88049
|
+
case 2:
|
|
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);
|
|
88053
|
+
break;
|
|
88054
|
+
default:
|
|
88055
|
+
reader.skipField();
|
|
88056
|
+
break;
|
|
88057
|
+
}
|
|
88058
|
+
}
|
|
88059
|
+
return msg;
|
|
88060
|
+
};
|
|
88061
|
+
|
|
88062
|
+
|
|
88063
|
+
/**
|
|
88064
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
88065
|
+
* @return {!Uint8Array}
|
|
88066
|
+
*/
|
|
88067
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.serializeBinary = function() {
|
|
88068
|
+
var writer = new jspb.BinaryWriter();
|
|
88069
|
+
proto.clarifai.api.PostComputeClustersRequest.serializeBinaryToWriter(this, writer);
|
|
88070
|
+
return writer.getResultBuffer();
|
|
88071
|
+
};
|
|
88072
|
+
|
|
88073
|
+
|
|
88074
|
+
/**
|
|
88075
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
88076
|
+
* format), writing to the given BinaryWriter.
|
|
88077
|
+
* @param {!proto.clarifai.api.PostComputeClustersRequest} message
|
|
88078
|
+
* @param {!jspb.BinaryWriter} writer
|
|
88079
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
88080
|
+
*/
|
|
88081
|
+
proto.clarifai.api.PostComputeClustersRequest.serializeBinaryToWriter = function(message, writer) {
|
|
88082
|
+
var f = undefined;
|
|
88083
|
+
f = message.getUserAppId();
|
|
88084
|
+
if (f != null) {
|
|
88085
|
+
writer.writeMessage(
|
|
88086
|
+
1,
|
|
88087
|
+
f,
|
|
88088
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
88089
|
+
);
|
|
88090
|
+
}
|
|
88091
|
+
f = message.getComputeClustersList();
|
|
88092
|
+
if (f.length > 0) {
|
|
88093
|
+
writer.writeRepeatedMessage(
|
|
88094
|
+
2,
|
|
88095
|
+
f,
|
|
88096
|
+
proto_clarifai_api_resources_pb.ComputeCluster.serializeBinaryToWriter
|
|
88097
|
+
);
|
|
88098
|
+
}
|
|
88099
|
+
};
|
|
88100
|
+
|
|
88101
|
+
|
|
88102
|
+
/**
|
|
88103
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
88104
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
88105
|
+
*/
|
|
88106
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.getUserAppId = function() {
|
|
88107
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
88108
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
88109
|
+
};
|
|
88110
|
+
|
|
88111
|
+
|
|
88112
|
+
/**
|
|
88113
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
88114
|
+
* @return {!proto.clarifai.api.PostComputeClustersRequest} returns this
|
|
88115
|
+
*/
|
|
88116
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.setUserAppId = function(value) {
|
|
88117
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
88118
|
+
};
|
|
88119
|
+
|
|
88120
|
+
|
|
88121
|
+
/**
|
|
88122
|
+
* Clears the message field making it undefined.
|
|
88123
|
+
* @return {!proto.clarifai.api.PostComputeClustersRequest} returns this
|
|
88124
|
+
*/
|
|
88125
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.clearUserAppId = function() {
|
|
88126
|
+
return this.setUserAppId(undefined);
|
|
88127
|
+
};
|
|
88128
|
+
|
|
88129
|
+
|
|
88130
|
+
/**
|
|
88131
|
+
* Returns whether this field is set.
|
|
88132
|
+
* @return {boolean}
|
|
88133
|
+
*/
|
|
88134
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.hasUserAppId = function() {
|
|
88135
|
+
return jspb.Message.getField(this, 1) != null;
|
|
88136
|
+
};
|
|
88137
|
+
|
|
88138
|
+
|
|
88139
|
+
/**
|
|
88140
|
+
* repeated ComputeCluster compute_clusters = 2;
|
|
88141
|
+
* @return {!Array<!proto.clarifai.api.ComputeCluster>}
|
|
88142
|
+
*/
|
|
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));
|
|
88146
|
+
};
|
|
88147
|
+
|
|
88148
|
+
|
|
88149
|
+
/**
|
|
88150
|
+
* @param {!Array<!proto.clarifai.api.ComputeCluster>} value
|
|
88151
|
+
* @return {!proto.clarifai.api.PostComputeClustersRequest} returns this
|
|
88152
|
+
*/
|
|
88153
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.setComputeClustersList = function(value) {
|
|
88154
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
88155
|
+
};
|
|
88156
|
+
|
|
88157
|
+
|
|
88158
|
+
/**
|
|
88159
|
+
* @param {!proto.clarifai.api.ComputeCluster=} opt_value
|
|
88160
|
+
* @param {number=} opt_index
|
|
88161
|
+
* @return {!proto.clarifai.api.ComputeCluster}
|
|
88162
|
+
*/
|
|
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);
|
|
88165
|
+
};
|
|
88166
|
+
|
|
88167
|
+
|
|
88168
|
+
/**
|
|
88169
|
+
* Clears the list making it empty but non-null.
|
|
88170
|
+
* @return {!proto.clarifai.api.PostComputeClustersRequest} returns this
|
|
88171
|
+
*/
|
|
88172
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.clearComputeClustersList = function() {
|
|
88173
|
+
return this.setComputeClustersList([]);
|
|
88174
|
+
};
|
|
88175
|
+
|
|
88176
|
+
|
|
88177
|
+
|
|
88178
|
+
/**
|
|
88179
|
+
* List of repeated fields within this message type.
|
|
88180
|
+
* @private {!Array<number>}
|
|
88181
|
+
* @const
|
|
88182
|
+
*/
|
|
88183
|
+
proto.clarifai.api.DeleteComputeClustersRequest.repeatedFields_ = [2];
|
|
88184
|
+
|
|
88185
|
+
|
|
88186
|
+
|
|
88187
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
88188
|
+
/**
|
|
88189
|
+
* Creates an object representation of this proto.
|
|
88190
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
88191
|
+
* Optional fields that are not set will be set to undefined.
|
|
88192
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
88193
|
+
* For the list of reserved names please see:
|
|
88194
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
88195
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
88196
|
+
* JSPB instance for transitional soy proto support:
|
|
88197
|
+
* http://goto/soy-param-migration
|
|
88198
|
+
* @return {!Object}
|
|
88199
|
+
*/
|
|
88200
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.toObject = function(opt_includeInstance) {
|
|
88201
|
+
return proto.clarifai.api.DeleteComputeClustersRequest.toObject(opt_includeInstance, this);
|
|
88202
|
+
};
|
|
88203
|
+
|
|
88204
|
+
|
|
88205
|
+
/**
|
|
88206
|
+
* Static version of the {@see toObject} method.
|
|
88207
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
88208
|
+
* the JSPB instance for transitional soy proto support:
|
|
88209
|
+
* http://goto/soy-param-migration
|
|
88210
|
+
* @param {!proto.clarifai.api.DeleteComputeClustersRequest} msg The msg instance to transform.
|
|
88211
|
+
* @return {!Object}
|
|
88212
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
88213
|
+
*/
|
|
88214
|
+
proto.clarifai.api.DeleteComputeClustersRequest.toObject = function(includeInstance, msg) {
|
|
88215
|
+
var f, obj = {
|
|
88216
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
88217
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
88218
|
+
};
|
|
88219
|
+
|
|
88220
|
+
if (includeInstance) {
|
|
88221
|
+
obj.$jspbMessageInstance = msg;
|
|
88222
|
+
}
|
|
88223
|
+
return obj;
|
|
88224
|
+
};
|
|
88225
|
+
}
|
|
88226
|
+
|
|
88227
|
+
|
|
88228
|
+
/**
|
|
88229
|
+
* Deserializes binary data (in protobuf wire format).
|
|
88230
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
88231
|
+
* @return {!proto.clarifai.api.DeleteComputeClustersRequest}
|
|
88232
|
+
*/
|
|
88233
|
+
proto.clarifai.api.DeleteComputeClustersRequest.deserializeBinary = function(bytes) {
|
|
88234
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
88235
|
+
var msg = new proto.clarifai.api.DeleteComputeClustersRequest;
|
|
88236
|
+
return proto.clarifai.api.DeleteComputeClustersRequest.deserializeBinaryFromReader(msg, reader);
|
|
88237
|
+
};
|
|
88238
|
+
|
|
88239
|
+
|
|
88240
|
+
/**
|
|
88241
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
88242
|
+
* given reader into the given message object.
|
|
88243
|
+
* @param {!proto.clarifai.api.DeleteComputeClustersRequest} msg The message object to deserialize into.
|
|
88244
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
88245
|
+
* @return {!proto.clarifai.api.DeleteComputeClustersRequest}
|
|
88246
|
+
*/
|
|
88247
|
+
proto.clarifai.api.DeleteComputeClustersRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
88248
|
+
while (reader.nextField()) {
|
|
88249
|
+
if (reader.isEndGroup()) {
|
|
88250
|
+
break;
|
|
88251
|
+
}
|
|
88252
|
+
var field = reader.getFieldNumber();
|
|
88253
|
+
switch (field) {
|
|
88254
|
+
case 1:
|
|
88255
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
88256
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
88257
|
+
msg.setUserAppId(value);
|
|
88258
|
+
break;
|
|
88259
|
+
case 2:
|
|
88260
|
+
var value = /** @type {string} */ (reader.readString());
|
|
88261
|
+
msg.addIds(value);
|
|
88262
|
+
break;
|
|
88263
|
+
default:
|
|
88264
|
+
reader.skipField();
|
|
88265
|
+
break;
|
|
88266
|
+
}
|
|
88267
|
+
}
|
|
88268
|
+
return msg;
|
|
88269
|
+
};
|
|
88270
|
+
|
|
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
|
+
|
|
89861
|
+
/**
|
|
89862
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
89863
|
+
* @return {!Uint8Array}
|
|
89864
|
+
*/
|
|
89865
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.serializeBinary = function() {
|
|
89866
|
+
var writer = new jspb.BinaryWriter();
|
|
89867
|
+
proto.clarifai.api.DeleteNodepoolsRequest.serializeBinaryToWriter(this, writer);
|
|
89868
|
+
return writer.getResultBuffer();
|
|
89869
|
+
};
|
|
89870
|
+
|
|
89871
|
+
|
|
89872
|
+
/**
|
|
89873
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
89874
|
+
* format), writing to the given BinaryWriter.
|
|
89875
|
+
* @param {!proto.clarifai.api.DeleteNodepoolsRequest} message
|
|
89876
|
+
* @param {!jspb.BinaryWriter} writer
|
|
89877
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
89878
|
+
*/
|
|
89879
|
+
proto.clarifai.api.DeleteNodepoolsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
89880
|
+
var f = undefined;
|
|
89881
|
+
f = message.getUserAppId();
|
|
89882
|
+
if (f != null) {
|
|
89883
|
+
writer.writeMessage(
|
|
89884
|
+
1,
|
|
89885
|
+
f,
|
|
89886
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
89887
|
+
);
|
|
89888
|
+
}
|
|
89889
|
+
f = message.getComputeClusterId();
|
|
89890
|
+
if (f.length > 0) {
|
|
89891
|
+
writer.writeString(
|
|
89892
|
+
2,
|
|
89893
|
+
f
|
|
89894
|
+
);
|
|
89895
|
+
}
|
|
89896
|
+
f = message.getIdsList();
|
|
89897
|
+
if (f.length > 0) {
|
|
89898
|
+
writer.writeRepeatedString(
|
|
89899
|
+
3,
|
|
89900
|
+
f
|
|
89901
|
+
);
|
|
89902
|
+
}
|
|
89903
|
+
};
|
|
89904
|
+
|
|
89905
|
+
|
|
89906
|
+
/**
|
|
89907
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
89908
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
89909
|
+
*/
|
|
89910
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.getUserAppId = function() {
|
|
89911
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
89912
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
89913
|
+
};
|
|
89914
|
+
|
|
89915
|
+
|
|
89916
|
+
/**
|
|
89917
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
89918
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
|
|
89919
|
+
*/
|
|
89920
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.setUserAppId = function(value) {
|
|
89921
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
89922
|
+
};
|
|
89923
|
+
|
|
89924
|
+
|
|
89925
|
+
/**
|
|
89926
|
+
* Clears the message field making it undefined.
|
|
89927
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
|
|
89928
|
+
*/
|
|
89929
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.clearUserAppId = function() {
|
|
89930
|
+
return this.setUserAppId(undefined);
|
|
89931
|
+
};
|
|
89932
|
+
|
|
89933
|
+
|
|
89934
|
+
/**
|
|
89935
|
+
* Returns whether this field is set.
|
|
89936
|
+
* @return {boolean}
|
|
89937
|
+
*/
|
|
89938
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.hasUserAppId = function() {
|
|
89939
|
+
return jspb.Message.getField(this, 1) != null;
|
|
89940
|
+
};
|
|
89941
|
+
|
|
89942
|
+
|
|
89943
|
+
/**
|
|
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;
|
|
89963
|
+
* @return {!Array<string>}
|
|
89964
|
+
*/
|
|
89965
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.getIdsList = function() {
|
|
89966
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
89967
|
+
};
|
|
89968
|
+
|
|
89969
|
+
|
|
89970
|
+
/**
|
|
89971
|
+
* @param {!Array<string>} value
|
|
89972
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
|
|
89973
|
+
*/
|
|
89974
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.setIdsList = function(value) {
|
|
89975
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
89976
|
+
};
|
|
89977
|
+
|
|
89978
|
+
|
|
89979
|
+
/**
|
|
89980
|
+
* @param {string} value
|
|
89981
|
+
* @param {number=} opt_index
|
|
89982
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
|
|
89983
|
+
*/
|
|
89984
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.addIds = function(value, opt_index) {
|
|
89985
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
89986
|
+
};
|
|
89987
|
+
|
|
89988
|
+
|
|
89989
|
+
/**
|
|
89990
|
+
* Clears the list making it empty but non-null.
|
|
89991
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
|
|
89992
|
+
*/
|
|
89993
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.clearIdsList = function() {
|
|
89994
|
+
return this.setIdsList([]);
|
|
89995
|
+
};
|
|
89996
|
+
|
|
89997
|
+
|
|
89998
|
+
|
|
89999
|
+
|
|
90000
|
+
|
|
90001
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
90002
|
+
/**
|
|
90003
|
+
* Creates an object representation of this proto.
|
|
90004
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
90005
|
+
* Optional fields that are not set will be set to undefined.
|
|
90006
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
90007
|
+
* For the list of reserved names please see:
|
|
90008
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
90009
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
90010
|
+
* JSPB instance for transitional soy proto support:
|
|
90011
|
+
* http://goto/soy-param-migration
|
|
90012
|
+
* @return {!Object}
|
|
90013
|
+
*/
|
|
90014
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.toObject = function(opt_includeInstance) {
|
|
90015
|
+
return proto.clarifai.api.SingleNodepoolResponse.toObject(opt_includeInstance, this);
|
|
90016
|
+
};
|
|
90017
|
+
|
|
90018
|
+
|
|
90019
|
+
/**
|
|
90020
|
+
* Static version of the {@see toObject} method.
|
|
90021
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
90022
|
+
* the JSPB instance for transitional soy proto support:
|
|
90023
|
+
* http://goto/soy-param-migration
|
|
90024
|
+
* @param {!proto.clarifai.api.SingleNodepoolResponse} msg The msg instance to transform.
|
|
90025
|
+
* @return {!Object}
|
|
90026
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
90027
|
+
*/
|
|
90028
|
+
proto.clarifai.api.SingleNodepoolResponse.toObject = function(includeInstance, msg) {
|
|
90029
|
+
var f, obj = {
|
|
90030
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
90031
|
+
nodepool: (f = msg.getNodepool()) && proto_clarifai_api_resources_pb.Nodepool.toObject(includeInstance, f)
|
|
90032
|
+
};
|
|
90033
|
+
|
|
90034
|
+
if (includeInstance) {
|
|
90035
|
+
obj.$jspbMessageInstance = msg;
|
|
90036
|
+
}
|
|
90037
|
+
return obj;
|
|
90038
|
+
};
|
|
90039
|
+
}
|
|
90040
|
+
|
|
90041
|
+
|
|
90042
|
+
/**
|
|
90043
|
+
* Deserializes binary data (in protobuf wire format).
|
|
90044
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
90045
|
+
* @return {!proto.clarifai.api.SingleNodepoolResponse}
|
|
90046
|
+
*/
|
|
90047
|
+
proto.clarifai.api.SingleNodepoolResponse.deserializeBinary = function(bytes) {
|
|
90048
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
90049
|
+
var msg = new proto.clarifai.api.SingleNodepoolResponse;
|
|
90050
|
+
return proto.clarifai.api.SingleNodepoolResponse.deserializeBinaryFromReader(msg, reader);
|
|
90051
|
+
};
|
|
90052
|
+
|
|
90053
|
+
|
|
90054
|
+
/**
|
|
90055
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
90056
|
+
* given reader into the given message object.
|
|
90057
|
+
* @param {!proto.clarifai.api.SingleNodepoolResponse} msg The message object to deserialize into.
|
|
90058
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
90059
|
+
* @return {!proto.clarifai.api.SingleNodepoolResponse}
|
|
90060
|
+
*/
|
|
90061
|
+
proto.clarifai.api.SingleNodepoolResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
90062
|
+
while (reader.nextField()) {
|
|
90063
|
+
if (reader.isEndGroup()) {
|
|
90064
|
+
break;
|
|
90065
|
+
}
|
|
90066
|
+
var field = reader.getFieldNumber();
|
|
90067
|
+
switch (field) {
|
|
90068
|
+
case 1:
|
|
90069
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
90070
|
+
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
90071
|
+
msg.setStatus(value);
|
|
90072
|
+
break;
|
|
90073
|
+
case 2:
|
|
90074
|
+
var value = new proto_clarifai_api_resources_pb.Nodepool;
|
|
90075
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
|
|
90076
|
+
msg.setNodepool(value);
|
|
90077
|
+
break;
|
|
90078
|
+
default:
|
|
90079
|
+
reader.skipField();
|
|
90080
|
+
break;
|
|
90081
|
+
}
|
|
90082
|
+
}
|
|
90083
|
+
return msg;
|
|
90084
|
+
};
|
|
90085
|
+
|
|
90086
|
+
|
|
90087
|
+
/**
|
|
90088
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
90089
|
+
* @return {!Uint8Array}
|
|
90090
|
+
*/
|
|
90091
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.serializeBinary = function() {
|
|
90092
|
+
var writer = new jspb.BinaryWriter();
|
|
90093
|
+
proto.clarifai.api.SingleNodepoolResponse.serializeBinaryToWriter(this, writer);
|
|
90094
|
+
return writer.getResultBuffer();
|
|
90095
|
+
};
|
|
90096
|
+
|
|
90097
|
+
|
|
90098
|
+
/**
|
|
90099
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
90100
|
+
* format), writing to the given BinaryWriter.
|
|
90101
|
+
* @param {!proto.clarifai.api.SingleNodepoolResponse} message
|
|
90102
|
+
* @param {!jspb.BinaryWriter} writer
|
|
90103
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
90104
|
+
*/
|
|
90105
|
+
proto.clarifai.api.SingleNodepoolResponse.serializeBinaryToWriter = function(message, writer) {
|
|
90106
|
+
var f = undefined;
|
|
90107
|
+
f = message.getStatus();
|
|
90108
|
+
if (f != null) {
|
|
90109
|
+
writer.writeMessage(
|
|
90110
|
+
1,
|
|
90111
|
+
f,
|
|
90112
|
+
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
90113
|
+
);
|
|
90114
|
+
}
|
|
90115
|
+
f = message.getNodepool();
|
|
90116
|
+
if (f != null) {
|
|
90117
|
+
writer.writeMessage(
|
|
90118
|
+
2,
|
|
90119
|
+
f,
|
|
90120
|
+
proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter
|
|
90121
|
+
);
|
|
90122
|
+
}
|
|
90123
|
+
};
|
|
90124
|
+
|
|
90125
|
+
|
|
90126
|
+
/**
|
|
90127
|
+
* optional status.Status status = 1;
|
|
90128
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
90129
|
+
*/
|
|
90130
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.getStatus = function() {
|
|
90131
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
90132
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
90133
|
+
};
|
|
90134
|
+
|
|
90135
|
+
|
|
90136
|
+
/**
|
|
90137
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
90138
|
+
* @return {!proto.clarifai.api.SingleNodepoolResponse} returns this
|
|
90139
|
+
*/
|
|
90140
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.setStatus = function(value) {
|
|
90141
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
90142
|
+
};
|
|
90143
|
+
|
|
90144
|
+
|
|
90145
|
+
/**
|
|
90146
|
+
* Clears the message field making it undefined.
|
|
90147
|
+
* @return {!proto.clarifai.api.SingleNodepoolResponse} returns this
|
|
90148
|
+
*/
|
|
90149
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.clearStatus = function() {
|
|
90150
|
+
return this.setStatus(undefined);
|
|
90151
|
+
};
|
|
90152
|
+
|
|
90153
|
+
|
|
90154
|
+
/**
|
|
90155
|
+
* Returns whether this field is set.
|
|
90156
|
+
* @return {boolean}
|
|
90157
|
+
*/
|
|
90158
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.hasStatus = function() {
|
|
90159
|
+
return jspb.Message.getField(this, 1) != null;
|
|
90160
|
+
};
|
|
90161
|
+
|
|
90162
|
+
|
|
90163
|
+
/**
|
|
90164
|
+
* optional Nodepool nodepool = 2;
|
|
90165
|
+
* @return {?proto.clarifai.api.Nodepool}
|
|
90166
|
+
*/
|
|
90167
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.getNodepool = function() {
|
|
90168
|
+
return /** @type{?proto.clarifai.api.Nodepool} */ (
|
|
90169
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 2));
|
|
90170
|
+
};
|
|
90171
|
+
|
|
90172
|
+
|
|
90173
|
+
/**
|
|
90174
|
+
* @param {?proto.clarifai.api.Nodepool|undefined} value
|
|
90175
|
+
* @return {!proto.clarifai.api.SingleNodepoolResponse} returns this
|
|
90176
|
+
*/
|
|
90177
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.setNodepool = function(value) {
|
|
90178
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
90179
|
+
};
|
|
90180
|
+
|
|
90181
|
+
|
|
90182
|
+
/**
|
|
90183
|
+
* Clears the message field making it undefined.
|
|
90184
|
+
* @return {!proto.clarifai.api.SingleNodepoolResponse} returns this
|
|
90185
|
+
*/
|
|
90186
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.clearNodepool = function() {
|
|
90187
|
+
return this.setNodepool(undefined);
|
|
90188
|
+
};
|
|
90189
|
+
|
|
90190
|
+
|
|
90191
|
+
/**
|
|
90192
|
+
* Returns whether this field is set.
|
|
90193
|
+
* @return {boolean}
|
|
90194
|
+
*/
|
|
90195
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.hasNodepool = function() {
|
|
90196
|
+
return jspb.Message.getField(this, 2) != null;
|
|
90197
|
+
};
|
|
90198
|
+
|
|
90199
|
+
|
|
90200
|
+
|
|
90201
|
+
/**
|
|
90202
|
+
* List of repeated fields within this message type.
|
|
90203
|
+
* @private {!Array<number>}
|
|
90204
|
+
* @const
|
|
90205
|
+
*/
|
|
90206
|
+
proto.clarifai.api.MultiNodepoolResponse.repeatedFields_ = [2];
|
|
90207
|
+
|
|
90208
|
+
|
|
90209
|
+
|
|
90210
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
90211
|
+
/**
|
|
90212
|
+
* Creates an object representation of this proto.
|
|
90213
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
90214
|
+
* Optional fields that are not set will be set to undefined.
|
|
90215
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
90216
|
+
* For the list of reserved names please see:
|
|
90217
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
90218
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
90219
|
+
* JSPB instance for transitional soy proto support:
|
|
90220
|
+
* http://goto/soy-param-migration
|
|
90221
|
+
* @return {!Object}
|
|
90222
|
+
*/
|
|
90223
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.toObject = function(opt_includeInstance) {
|
|
90224
|
+
return proto.clarifai.api.MultiNodepoolResponse.toObject(opt_includeInstance, this);
|
|
90225
|
+
};
|
|
90226
|
+
|
|
90227
|
+
|
|
90228
|
+
/**
|
|
90229
|
+
* Static version of the {@see toObject} method.
|
|
90230
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
90231
|
+
* the JSPB instance for transitional soy proto support:
|
|
90232
|
+
* http://goto/soy-param-migration
|
|
90233
|
+
* @param {!proto.clarifai.api.MultiNodepoolResponse} msg The msg instance to transform.
|
|
90234
|
+
* @return {!Object}
|
|
90235
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
90236
|
+
*/
|
|
90237
|
+
proto.clarifai.api.MultiNodepoolResponse.toObject = function(includeInstance, msg) {
|
|
90238
|
+
var f, obj = {
|
|
90239
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
90240
|
+
nodepoolsList: jspb.Message.toObjectList(msg.getNodepoolsList(),
|
|
90241
|
+
proto_clarifai_api_resources_pb.Nodepool.toObject, includeInstance)
|
|
90242
|
+
};
|
|
90243
|
+
|
|
90244
|
+
if (includeInstance) {
|
|
90245
|
+
obj.$jspbMessageInstance = msg;
|
|
90246
|
+
}
|
|
90247
|
+
return obj;
|
|
90248
|
+
};
|
|
90249
|
+
}
|
|
90250
|
+
|
|
90251
|
+
|
|
90252
|
+
/**
|
|
90253
|
+
* Deserializes binary data (in protobuf wire format).
|
|
90254
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
90255
|
+
* @return {!proto.clarifai.api.MultiNodepoolResponse}
|
|
90256
|
+
*/
|
|
90257
|
+
proto.clarifai.api.MultiNodepoolResponse.deserializeBinary = function(bytes) {
|
|
90258
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
90259
|
+
var msg = new proto.clarifai.api.MultiNodepoolResponse;
|
|
90260
|
+
return proto.clarifai.api.MultiNodepoolResponse.deserializeBinaryFromReader(msg, reader);
|
|
90261
|
+
};
|
|
90262
|
+
|
|
90263
|
+
|
|
90264
|
+
/**
|
|
90265
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
90266
|
+
* given reader into the given message object.
|
|
90267
|
+
* @param {!proto.clarifai.api.MultiNodepoolResponse} msg The message object to deserialize into.
|
|
90268
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
90269
|
+
* @return {!proto.clarifai.api.MultiNodepoolResponse}
|
|
90270
|
+
*/
|
|
90271
|
+
proto.clarifai.api.MultiNodepoolResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
90272
|
+
while (reader.nextField()) {
|
|
90273
|
+
if (reader.isEndGroup()) {
|
|
90274
|
+
break;
|
|
90275
|
+
}
|
|
90276
|
+
var field = reader.getFieldNumber();
|
|
90277
|
+
switch (field) {
|
|
90278
|
+
case 1:
|
|
90279
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
90280
|
+
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
90281
|
+
msg.setStatus(value);
|
|
90282
|
+
break;
|
|
90283
|
+
case 2:
|
|
90284
|
+
var value = new proto_clarifai_api_resources_pb.Nodepool;
|
|
90285
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
|
|
90286
|
+
msg.addNodepools(value);
|
|
90287
|
+
break;
|
|
90288
|
+
default:
|
|
90289
|
+
reader.skipField();
|
|
90290
|
+
break;
|
|
90291
|
+
}
|
|
90292
|
+
}
|
|
90293
|
+
return msg;
|
|
90294
|
+
};
|
|
90295
|
+
|
|
90296
|
+
|
|
90297
|
+
/**
|
|
90298
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
90299
|
+
* @return {!Uint8Array}
|
|
90300
|
+
*/
|
|
90301
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.serializeBinary = function() {
|
|
90302
|
+
var writer = new jspb.BinaryWriter();
|
|
90303
|
+
proto.clarifai.api.MultiNodepoolResponse.serializeBinaryToWriter(this, writer);
|
|
90304
|
+
return writer.getResultBuffer();
|
|
90305
|
+
};
|
|
90306
|
+
|
|
90307
|
+
|
|
90308
|
+
/**
|
|
90309
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
90310
|
+
* format), writing to the given BinaryWriter.
|
|
90311
|
+
* @param {!proto.clarifai.api.MultiNodepoolResponse} message
|
|
90312
|
+
* @param {!jspb.BinaryWriter} writer
|
|
90313
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
90314
|
+
*/
|
|
90315
|
+
proto.clarifai.api.MultiNodepoolResponse.serializeBinaryToWriter = function(message, writer) {
|
|
90316
|
+
var f = undefined;
|
|
90317
|
+
f = message.getStatus();
|
|
90318
|
+
if (f != null) {
|
|
90319
|
+
writer.writeMessage(
|
|
90320
|
+
1,
|
|
90321
|
+
f,
|
|
90322
|
+
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
90323
|
+
);
|
|
90324
|
+
}
|
|
90325
|
+
f = message.getNodepoolsList();
|
|
90326
|
+
if (f.length > 0) {
|
|
90327
|
+
writer.writeRepeatedMessage(
|
|
90328
|
+
2,
|
|
90329
|
+
f,
|
|
90330
|
+
proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter
|
|
90331
|
+
);
|
|
90332
|
+
}
|
|
90333
|
+
};
|
|
90334
|
+
|
|
90335
|
+
|
|
90336
|
+
/**
|
|
90337
|
+
* optional status.Status status = 1;
|
|
90338
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
90339
|
+
*/
|
|
90340
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.getStatus = function() {
|
|
90341
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
90342
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
90343
|
+
};
|
|
90344
|
+
|
|
90345
|
+
|
|
90346
|
+
/**
|
|
90347
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
90348
|
+
* @return {!proto.clarifai.api.MultiNodepoolResponse} returns this
|
|
90349
|
+
*/
|
|
90350
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.setStatus = function(value) {
|
|
90351
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
90352
|
+
};
|
|
90353
|
+
|
|
90354
|
+
|
|
90355
|
+
/**
|
|
90356
|
+
* Clears the message field making it undefined.
|
|
90357
|
+
* @return {!proto.clarifai.api.MultiNodepoolResponse} returns this
|
|
90358
|
+
*/
|
|
90359
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.clearStatus = function() {
|
|
90360
|
+
return this.setStatus(undefined);
|
|
90361
|
+
};
|
|
90362
|
+
|
|
90363
|
+
|
|
90364
|
+
/**
|
|
90365
|
+
* Returns whether this field is set.
|
|
90366
|
+
* @return {boolean}
|
|
90367
|
+
*/
|
|
90368
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.hasStatus = function() {
|
|
90369
|
+
return jspb.Message.getField(this, 1) != null;
|
|
90370
|
+
};
|
|
90371
|
+
|
|
90372
|
+
|
|
90373
|
+
/**
|
|
90374
|
+
* repeated Nodepool nodepools = 2;
|
|
90375
|
+
* @return {!Array<!proto.clarifai.api.Nodepool>}
|
|
90376
|
+
*/
|
|
90377
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.getNodepoolsList = function() {
|
|
90378
|
+
return /** @type{!Array<!proto.clarifai.api.Nodepool>} */ (
|
|
90379
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 2));
|
|
90380
|
+
};
|
|
90381
|
+
|
|
90382
|
+
|
|
90383
|
+
/**
|
|
90384
|
+
* @param {!Array<!proto.clarifai.api.Nodepool>} value
|
|
90385
|
+
* @return {!proto.clarifai.api.MultiNodepoolResponse} returns this
|
|
90386
|
+
*/
|
|
90387
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.setNodepoolsList = function(value) {
|
|
90388
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
90389
|
+
};
|
|
90390
|
+
|
|
90391
|
+
|
|
90392
|
+
/**
|
|
90393
|
+
* @param {!proto.clarifai.api.Nodepool=} opt_value
|
|
90394
|
+
* @param {number=} opt_index
|
|
90395
|
+
* @return {!proto.clarifai.api.Nodepool}
|
|
90396
|
+
*/
|
|
90397
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.addNodepools = function(opt_value, opt_index) {
|
|
90398
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.Nodepool, opt_index);
|
|
90399
|
+
};
|
|
90400
|
+
|
|
90401
|
+
|
|
90402
|
+
/**
|
|
90403
|
+
* Clears the list making it empty but non-null.
|
|
90404
|
+
* @return {!proto.clarifai.api.MultiNodepoolResponse} returns this
|
|
90405
|
+
*/
|
|
90406
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.clearNodepoolsList = function() {
|
|
90407
|
+
return this.setNodepoolsList([]);
|
|
90408
|
+
};
|
|
90409
|
+
|
|
90410
|
+
|
|
87078
90411
|
/**
|
|
87079
90412
|
* @enum {number}
|
|
87080
90413
|
*/
|