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
|
@@ -51,6 +51,7 @@ goog.exportSymbol('proto.clarifai.api.DeleteAppRequest', null, global);
|
|
|
51
51
|
goog.exportSymbol('proto.clarifai.api.DeleteBulkOperationRequest', null, global);
|
|
52
52
|
goog.exportSymbol('proto.clarifai.api.DeleteCollaboratorsRequest', null, global);
|
|
53
53
|
goog.exportSymbol('proto.clarifai.api.DeleteCollectorsRequest', null, global);
|
|
54
|
+
goog.exportSymbol('proto.clarifai.api.DeleteComputeClustersRequest', null, global);
|
|
54
55
|
goog.exportSymbol('proto.clarifai.api.DeleteConceptRelationsRequest', null, global);
|
|
55
56
|
goog.exportSymbol('proto.clarifai.api.DeleteDatasetInputsRequest', null, global);
|
|
56
57
|
goog.exportSymbol('proto.clarifai.api.DeleteDatasetVersionsRequest', null, global);
|
|
@@ -65,6 +66,7 @@ goog.exportSymbol('proto.clarifai.api.DeleteModelVersionRequest', null, global);
|
|
|
65
66
|
goog.exportSymbol('proto.clarifai.api.DeleteModelsRequest', null, global);
|
|
66
67
|
goog.exportSymbol('proto.clarifai.api.DeleteModuleVersionsRequest', null, global);
|
|
67
68
|
goog.exportSymbol('proto.clarifai.api.DeleteModulesRequest', null, global);
|
|
69
|
+
goog.exportSymbol('proto.clarifai.api.DeleteNodepoolsRequest', null, global);
|
|
68
70
|
goog.exportSymbol('proto.clarifai.api.DeleteRunnersRequest', null, global);
|
|
69
71
|
goog.exportSymbol('proto.clarifai.api.DeleteSearchRequest', null, global);
|
|
70
72
|
goog.exportSymbol('proto.clarifai.api.DeleteTasksRequest', null, global);
|
|
@@ -79,6 +81,7 @@ goog.exportSymbol('proto.clarifai.api.GetAppDuplicationRequest', null, global);
|
|
|
79
81
|
goog.exportSymbol('proto.clarifai.api.GetAppRequest', null, global);
|
|
80
82
|
goog.exportSymbol('proto.clarifai.api.GetBulkOperationRequest', null, global);
|
|
81
83
|
goog.exportSymbol('proto.clarifai.api.GetCollectorRequest', null, global);
|
|
84
|
+
goog.exportSymbol('proto.clarifai.api.GetComputeClusterRequest', null, global);
|
|
82
85
|
goog.exportSymbol('proto.clarifai.api.GetConceptCountsRequest', null, global);
|
|
83
86
|
goog.exportSymbol('proto.clarifai.api.GetConceptLanguageRequest', null, global);
|
|
84
87
|
goog.exportSymbol('proto.clarifai.api.GetConceptRequest', null, global);
|
|
@@ -104,6 +107,7 @@ goog.exportSymbol('proto.clarifai.api.GetModelVersionRequest', null, global);
|
|
|
104
107
|
goog.exportSymbol('proto.clarifai.api.GetModuleRequest', null, global);
|
|
105
108
|
goog.exportSymbol('proto.clarifai.api.GetModuleVersionRequest', null, global);
|
|
106
109
|
goog.exportSymbol('proto.clarifai.api.GetModuleVersionUsageCountRequest', null, global);
|
|
110
|
+
goog.exportSymbol('proto.clarifai.api.GetNodepoolRequest', null, global);
|
|
107
111
|
goog.exportSymbol('proto.clarifai.api.GetResourceCountsRequest', null, global);
|
|
108
112
|
goog.exportSymbol('proto.clarifai.api.GetResourceCountsResponse', null, global);
|
|
109
113
|
goog.exportSymbol('proto.clarifai.api.GetRunnerRequest', null, global);
|
|
@@ -131,6 +135,7 @@ goog.exportSymbol('proto.clarifai.api.ListBulkOperationsRequest', null, global);
|
|
|
131
135
|
goog.exportSymbol('proto.clarifai.api.ListCollaborationsRequest', null, global);
|
|
132
136
|
goog.exportSymbol('proto.clarifai.api.ListCollaboratorsRequest', null, global);
|
|
133
137
|
goog.exportSymbol('proto.clarifai.api.ListCollectorsRequest', null, global);
|
|
138
|
+
goog.exportSymbol('proto.clarifai.api.ListComputeClustersRequest', null, global);
|
|
134
139
|
goog.exportSymbol('proto.clarifai.api.ListConceptLanguagesRequest', null, global);
|
|
135
140
|
goog.exportSymbol('proto.clarifai.api.ListConceptRelationsRequest', null, global);
|
|
136
141
|
goog.exportSymbol('proto.clarifai.api.ListConceptsRequest', null, global);
|
|
@@ -162,6 +167,7 @@ goog.exportSymbol('proto.clarifai.api.ListModuleVersionsRequest', null, global);
|
|
|
162
167
|
goog.exportSymbol('proto.clarifai.api.ListModulesRequest', null, global);
|
|
163
168
|
goog.exportSymbol('proto.clarifai.api.ListModulesRequest.SortByCase', null, global);
|
|
164
169
|
goog.exportSymbol('proto.clarifai.api.ListNextTaskAssignmentsRequest', null, global);
|
|
170
|
+
goog.exportSymbol('proto.clarifai.api.ListNodepoolsRequest', null, global);
|
|
165
171
|
goog.exportSymbol('proto.clarifai.api.ListOpenSourceLicensesRequest', null, global);
|
|
166
172
|
goog.exportSymbol('proto.clarifai.api.ListOpenSourceLicensesResponse', null, global);
|
|
167
173
|
goog.exportSymbol('proto.clarifai.api.ListRunnerItemsRequest', null, global);
|
|
@@ -186,6 +192,7 @@ goog.exportSymbol('proto.clarifai.api.MultiBulkOperationsResponse', null, global
|
|
|
186
192
|
goog.exportSymbol('proto.clarifai.api.MultiCollaborationsResponse', null, global);
|
|
187
193
|
goog.exportSymbol('proto.clarifai.api.MultiCollaboratorsResponse', null, global);
|
|
188
194
|
goog.exportSymbol('proto.clarifai.api.MultiCollectorResponse', null, global);
|
|
195
|
+
goog.exportSymbol('proto.clarifai.api.MultiComputeClusterResponse', null, global);
|
|
189
196
|
goog.exportSymbol('proto.clarifai.api.MultiConceptCountResponse', null, global);
|
|
190
197
|
goog.exportSymbol('proto.clarifai.api.MultiConceptLanguageResponse', null, global);
|
|
191
198
|
goog.exportSymbol('proto.clarifai.api.MultiConceptMappingJobResponse', null, global);
|
|
@@ -216,6 +223,7 @@ goog.exportSymbol('proto.clarifai.api.MultiModelVersionInputExampleResponse', nu
|
|
|
216
223
|
goog.exportSymbol('proto.clarifai.api.MultiModelVersionResponse', null, global);
|
|
217
224
|
goog.exportSymbol('proto.clarifai.api.MultiModuleResponse', null, global);
|
|
218
225
|
goog.exportSymbol('proto.clarifai.api.MultiModuleVersionResponse', null, global);
|
|
226
|
+
goog.exportSymbol('proto.clarifai.api.MultiNodepoolResponse', null, global);
|
|
219
227
|
goog.exportSymbol('proto.clarifai.api.MultiOutputResponse', null, global);
|
|
220
228
|
goog.exportSymbol('proto.clarifai.api.MultiRunnerItemOutputResponse', null, global);
|
|
221
229
|
goog.exportSymbol('proto.clarifai.api.MultiRunnerItemResponse', null, global);
|
|
@@ -268,6 +276,7 @@ goog.exportSymbol('proto.clarifai.api.PatchModelVersionsRequest', null, global);
|
|
|
268
276
|
goog.exportSymbol('proto.clarifai.api.PatchModelsRequest', null, global);
|
|
269
277
|
goog.exportSymbol('proto.clarifai.api.PatchModuleVersionsRequest', null, global);
|
|
270
278
|
goog.exportSymbol('proto.clarifai.api.PatchModulesRequest', null, global);
|
|
279
|
+
goog.exportSymbol('proto.clarifai.api.PatchNodepoolsRequest', null, global);
|
|
271
280
|
goog.exportSymbol('proto.clarifai.api.PatchSearchesRequest', null, global);
|
|
272
281
|
goog.exportSymbol('proto.clarifai.api.PatchTasksRequest', null, global);
|
|
273
282
|
goog.exportSymbol('proto.clarifai.api.PatchWorkflowIdsRequest', null, global);
|
|
@@ -283,6 +292,7 @@ goog.exportSymbol('proto.clarifai.api.PostAppsSearchesRequest', null, global);
|
|
|
283
292
|
goog.exportSymbol('proto.clarifai.api.PostBulkOperationsRequest', null, global);
|
|
284
293
|
goog.exportSymbol('proto.clarifai.api.PostCollaboratorsRequest', null, global);
|
|
285
294
|
goog.exportSymbol('proto.clarifai.api.PostCollectorsRequest', null, global);
|
|
295
|
+
goog.exportSymbol('proto.clarifai.api.PostComputeClustersRequest', null, global);
|
|
286
296
|
goog.exportSymbol('proto.clarifai.api.PostConceptLanguagesRequest', null, global);
|
|
287
297
|
goog.exportSymbol('proto.clarifai.api.PostConceptMappingJobsRequest', null, global);
|
|
288
298
|
goog.exportSymbol('proto.clarifai.api.PostConceptRelationsRequest', null, global);
|
|
@@ -316,6 +326,7 @@ goog.exportSymbol('proto.clarifai.api.PostModelsRequest', null, global);
|
|
|
316
326
|
goog.exportSymbol('proto.clarifai.api.PostModelsSearchesRequest', null, global);
|
|
317
327
|
goog.exportSymbol('proto.clarifai.api.PostModuleVersionsRequest', null, global);
|
|
318
328
|
goog.exportSymbol('proto.clarifai.api.PostModulesRequest', null, global);
|
|
329
|
+
goog.exportSymbol('proto.clarifai.api.PostNodepoolsRequest', null, global);
|
|
319
330
|
goog.exportSymbol('proto.clarifai.api.PostRunnerItemOutputsRequest', null, global);
|
|
320
331
|
goog.exportSymbol('proto.clarifai.api.PostRunnersRequest', null, global);
|
|
321
332
|
goog.exportSymbol('proto.clarifai.api.PostSearchesByIDRequest', null, global);
|
|
@@ -352,6 +363,7 @@ goog.exportSymbol('proto.clarifai.api.SingleAppDuplicationResponse', null, globa
|
|
|
352
363
|
goog.exportSymbol('proto.clarifai.api.SingleAppResponse', null, global);
|
|
353
364
|
goog.exportSymbol('proto.clarifai.api.SingleBulkOperationsResponse', null, global);
|
|
354
365
|
goog.exportSymbol('proto.clarifai.api.SingleCollectorResponse', null, global);
|
|
366
|
+
goog.exportSymbol('proto.clarifai.api.SingleComputeClusterResponse', null, global);
|
|
355
367
|
goog.exportSymbol('proto.clarifai.api.SingleConceptLanguageResponse', null, global);
|
|
356
368
|
goog.exportSymbol('proto.clarifai.api.SingleConceptResponse', null, global);
|
|
357
369
|
goog.exportSymbol('proto.clarifai.api.SingleDatasetInputResponse', null, global);
|
|
@@ -373,6 +385,7 @@ goog.exportSymbol('proto.clarifai.api.SingleModelVersionResponse', null, global)
|
|
|
373
385
|
goog.exportSymbol('proto.clarifai.api.SingleModuleResponse', null, global);
|
|
374
386
|
goog.exportSymbol('proto.clarifai.api.SingleModuleVersionResponse', null, global);
|
|
375
387
|
goog.exportSymbol('proto.clarifai.api.SingleModuleVersionUsageCountResponse', null, global);
|
|
388
|
+
goog.exportSymbol('proto.clarifai.api.SingleNodepoolResponse', null, global);
|
|
376
389
|
goog.exportSymbol('proto.clarifai.api.SinglePasswordValidationResponse', null, global);
|
|
377
390
|
goog.exportSymbol('proto.clarifai.api.SingleRunnerResponse', null, global);
|
|
378
391
|
goog.exportSymbol('proto.clarifai.api.SingleSearchResponse', null, global);
|
|
@@ -7400,6 +7413,279 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
7400
7413
|
*/
|
|
7401
7414
|
proto.clarifai.api.MultiTrainingTimeEstimateResponse.displayName = 'proto.clarifai.api.MultiTrainingTimeEstimateResponse';
|
|
7402
7415
|
}
|
|
7416
|
+
/**
|
|
7417
|
+
* Generated by JsPbCodeGenerator.
|
|
7418
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7419
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7420
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7421
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7422
|
+
* valid.
|
|
7423
|
+
* @extends {jspb.Message}
|
|
7424
|
+
* @constructor
|
|
7425
|
+
*/
|
|
7426
|
+
proto.clarifai.api.GetComputeClusterRequest = function (opt_data) {
|
|
7427
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7428
|
+
};
|
|
7429
|
+
goog.inherits(proto.clarifai.api.GetComputeClusterRequest, jspb.Message);
|
|
7430
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7431
|
+
/**
|
|
7432
|
+
* @public
|
|
7433
|
+
* @override
|
|
7434
|
+
*/
|
|
7435
|
+
proto.clarifai.api.GetComputeClusterRequest.displayName = 'proto.clarifai.api.GetComputeClusterRequest';
|
|
7436
|
+
}
|
|
7437
|
+
/**
|
|
7438
|
+
* Generated by JsPbCodeGenerator.
|
|
7439
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7440
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7441
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7442
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7443
|
+
* valid.
|
|
7444
|
+
* @extends {jspb.Message}
|
|
7445
|
+
* @constructor
|
|
7446
|
+
*/
|
|
7447
|
+
proto.clarifai.api.ListComputeClustersRequest = function (opt_data) {
|
|
7448
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7449
|
+
};
|
|
7450
|
+
goog.inherits(proto.clarifai.api.ListComputeClustersRequest, jspb.Message);
|
|
7451
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7452
|
+
/**
|
|
7453
|
+
* @public
|
|
7454
|
+
* @override
|
|
7455
|
+
*/
|
|
7456
|
+
proto.clarifai.api.ListComputeClustersRequest.displayName = 'proto.clarifai.api.ListComputeClustersRequest';
|
|
7457
|
+
}
|
|
7458
|
+
/**
|
|
7459
|
+
* Generated by JsPbCodeGenerator.
|
|
7460
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7461
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7462
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7463
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7464
|
+
* valid.
|
|
7465
|
+
* @extends {jspb.Message}
|
|
7466
|
+
* @constructor
|
|
7467
|
+
*/
|
|
7468
|
+
proto.clarifai.api.PostComputeClustersRequest = function (opt_data) {
|
|
7469
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PostComputeClustersRequest.repeatedFields_, null);
|
|
7470
|
+
};
|
|
7471
|
+
goog.inherits(proto.clarifai.api.PostComputeClustersRequest, jspb.Message);
|
|
7472
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7473
|
+
/**
|
|
7474
|
+
* @public
|
|
7475
|
+
* @override
|
|
7476
|
+
*/
|
|
7477
|
+
proto.clarifai.api.PostComputeClustersRequest.displayName = 'proto.clarifai.api.PostComputeClustersRequest';
|
|
7478
|
+
}
|
|
7479
|
+
/**
|
|
7480
|
+
* Generated by JsPbCodeGenerator.
|
|
7481
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7482
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7483
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7484
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7485
|
+
* valid.
|
|
7486
|
+
* @extends {jspb.Message}
|
|
7487
|
+
* @constructor
|
|
7488
|
+
*/
|
|
7489
|
+
proto.clarifai.api.DeleteComputeClustersRequest = function (opt_data) {
|
|
7490
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.DeleteComputeClustersRequest.repeatedFields_, null);
|
|
7491
|
+
};
|
|
7492
|
+
goog.inherits(proto.clarifai.api.DeleteComputeClustersRequest, jspb.Message);
|
|
7493
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7494
|
+
/**
|
|
7495
|
+
* @public
|
|
7496
|
+
* @override
|
|
7497
|
+
*/
|
|
7498
|
+
proto.clarifai.api.DeleteComputeClustersRequest.displayName = 'proto.clarifai.api.DeleteComputeClustersRequest';
|
|
7499
|
+
}
|
|
7500
|
+
/**
|
|
7501
|
+
* Generated by JsPbCodeGenerator.
|
|
7502
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7503
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7504
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7505
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7506
|
+
* valid.
|
|
7507
|
+
* @extends {jspb.Message}
|
|
7508
|
+
* @constructor
|
|
7509
|
+
*/
|
|
7510
|
+
proto.clarifai.api.SingleComputeClusterResponse = function (opt_data) {
|
|
7511
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7512
|
+
};
|
|
7513
|
+
goog.inherits(proto.clarifai.api.SingleComputeClusterResponse, jspb.Message);
|
|
7514
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7515
|
+
/**
|
|
7516
|
+
* @public
|
|
7517
|
+
* @override
|
|
7518
|
+
*/
|
|
7519
|
+
proto.clarifai.api.SingleComputeClusterResponse.displayName = 'proto.clarifai.api.SingleComputeClusterResponse';
|
|
7520
|
+
}
|
|
7521
|
+
/**
|
|
7522
|
+
* Generated by JsPbCodeGenerator.
|
|
7523
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7524
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7525
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7526
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7527
|
+
* valid.
|
|
7528
|
+
* @extends {jspb.Message}
|
|
7529
|
+
* @constructor
|
|
7530
|
+
*/
|
|
7531
|
+
proto.clarifai.api.MultiComputeClusterResponse = function (opt_data) {
|
|
7532
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiComputeClusterResponse.repeatedFields_, null);
|
|
7533
|
+
};
|
|
7534
|
+
goog.inherits(proto.clarifai.api.MultiComputeClusterResponse, jspb.Message);
|
|
7535
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7536
|
+
/**
|
|
7537
|
+
* @public
|
|
7538
|
+
* @override
|
|
7539
|
+
*/
|
|
7540
|
+
proto.clarifai.api.MultiComputeClusterResponse.displayName = 'proto.clarifai.api.MultiComputeClusterResponse';
|
|
7541
|
+
}
|
|
7542
|
+
/**
|
|
7543
|
+
* Generated by JsPbCodeGenerator.
|
|
7544
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7545
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7546
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7547
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7548
|
+
* valid.
|
|
7549
|
+
* @extends {jspb.Message}
|
|
7550
|
+
* @constructor
|
|
7551
|
+
*/
|
|
7552
|
+
proto.clarifai.api.GetNodepoolRequest = function (opt_data) {
|
|
7553
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7554
|
+
};
|
|
7555
|
+
goog.inherits(proto.clarifai.api.GetNodepoolRequest, jspb.Message);
|
|
7556
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7557
|
+
/**
|
|
7558
|
+
* @public
|
|
7559
|
+
* @override
|
|
7560
|
+
*/
|
|
7561
|
+
proto.clarifai.api.GetNodepoolRequest.displayName = 'proto.clarifai.api.GetNodepoolRequest';
|
|
7562
|
+
}
|
|
7563
|
+
/**
|
|
7564
|
+
* Generated by JsPbCodeGenerator.
|
|
7565
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7566
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7567
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7568
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7569
|
+
* valid.
|
|
7570
|
+
* @extends {jspb.Message}
|
|
7571
|
+
* @constructor
|
|
7572
|
+
*/
|
|
7573
|
+
proto.clarifai.api.ListNodepoolsRequest = function (opt_data) {
|
|
7574
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7575
|
+
};
|
|
7576
|
+
goog.inherits(proto.clarifai.api.ListNodepoolsRequest, jspb.Message);
|
|
7577
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7578
|
+
/**
|
|
7579
|
+
* @public
|
|
7580
|
+
* @override
|
|
7581
|
+
*/
|
|
7582
|
+
proto.clarifai.api.ListNodepoolsRequest.displayName = 'proto.clarifai.api.ListNodepoolsRequest';
|
|
7583
|
+
}
|
|
7584
|
+
/**
|
|
7585
|
+
* Generated by JsPbCodeGenerator.
|
|
7586
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7587
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7588
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7589
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7590
|
+
* valid.
|
|
7591
|
+
* @extends {jspb.Message}
|
|
7592
|
+
* @constructor
|
|
7593
|
+
*/
|
|
7594
|
+
proto.clarifai.api.PostNodepoolsRequest = function (opt_data) {
|
|
7595
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PostNodepoolsRequest.repeatedFields_, null);
|
|
7596
|
+
};
|
|
7597
|
+
goog.inherits(proto.clarifai.api.PostNodepoolsRequest, jspb.Message);
|
|
7598
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7599
|
+
/**
|
|
7600
|
+
* @public
|
|
7601
|
+
* @override
|
|
7602
|
+
*/
|
|
7603
|
+
proto.clarifai.api.PostNodepoolsRequest.displayName = 'proto.clarifai.api.PostNodepoolsRequest';
|
|
7604
|
+
}
|
|
7605
|
+
/**
|
|
7606
|
+
* Generated by JsPbCodeGenerator.
|
|
7607
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7608
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7609
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7610
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7611
|
+
* valid.
|
|
7612
|
+
* @extends {jspb.Message}
|
|
7613
|
+
* @constructor
|
|
7614
|
+
*/
|
|
7615
|
+
proto.clarifai.api.PatchNodepoolsRequest = function (opt_data) {
|
|
7616
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PatchNodepoolsRequest.repeatedFields_, null);
|
|
7617
|
+
};
|
|
7618
|
+
goog.inherits(proto.clarifai.api.PatchNodepoolsRequest, jspb.Message);
|
|
7619
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7620
|
+
/**
|
|
7621
|
+
* @public
|
|
7622
|
+
* @override
|
|
7623
|
+
*/
|
|
7624
|
+
proto.clarifai.api.PatchNodepoolsRequest.displayName = 'proto.clarifai.api.PatchNodepoolsRequest';
|
|
7625
|
+
}
|
|
7626
|
+
/**
|
|
7627
|
+
* Generated by JsPbCodeGenerator.
|
|
7628
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7629
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7630
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7631
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7632
|
+
* valid.
|
|
7633
|
+
* @extends {jspb.Message}
|
|
7634
|
+
* @constructor
|
|
7635
|
+
*/
|
|
7636
|
+
proto.clarifai.api.DeleteNodepoolsRequest = function (opt_data) {
|
|
7637
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.DeleteNodepoolsRequest.repeatedFields_, null);
|
|
7638
|
+
};
|
|
7639
|
+
goog.inherits(proto.clarifai.api.DeleteNodepoolsRequest, jspb.Message);
|
|
7640
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7641
|
+
/**
|
|
7642
|
+
* @public
|
|
7643
|
+
* @override
|
|
7644
|
+
*/
|
|
7645
|
+
proto.clarifai.api.DeleteNodepoolsRequest.displayName = 'proto.clarifai.api.DeleteNodepoolsRequest';
|
|
7646
|
+
}
|
|
7647
|
+
/**
|
|
7648
|
+
* Generated by JsPbCodeGenerator.
|
|
7649
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7650
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7651
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7652
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7653
|
+
* valid.
|
|
7654
|
+
* @extends {jspb.Message}
|
|
7655
|
+
* @constructor
|
|
7656
|
+
*/
|
|
7657
|
+
proto.clarifai.api.SingleNodepoolResponse = function (opt_data) {
|
|
7658
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7659
|
+
};
|
|
7660
|
+
goog.inherits(proto.clarifai.api.SingleNodepoolResponse, jspb.Message);
|
|
7661
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7662
|
+
/**
|
|
7663
|
+
* @public
|
|
7664
|
+
* @override
|
|
7665
|
+
*/
|
|
7666
|
+
proto.clarifai.api.SingleNodepoolResponse.displayName = 'proto.clarifai.api.SingleNodepoolResponse';
|
|
7667
|
+
}
|
|
7668
|
+
/**
|
|
7669
|
+
* Generated by JsPbCodeGenerator.
|
|
7670
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7671
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7672
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7673
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7674
|
+
* valid.
|
|
7675
|
+
* @extends {jspb.Message}
|
|
7676
|
+
* @constructor
|
|
7677
|
+
*/
|
|
7678
|
+
proto.clarifai.api.MultiNodepoolResponse = function (opt_data) {
|
|
7679
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiNodepoolResponse.repeatedFields_, null);
|
|
7680
|
+
};
|
|
7681
|
+
goog.inherits(proto.clarifai.api.MultiNodepoolResponse, jspb.Message);
|
|
7682
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7683
|
+
/**
|
|
7684
|
+
* @public
|
|
7685
|
+
* @override
|
|
7686
|
+
*/
|
|
7687
|
+
proto.clarifai.api.MultiNodepoolResponse.displayName = 'proto.clarifai.api.MultiNodepoolResponse';
|
|
7688
|
+
}
|
|
7403
7689
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7404
7690
|
/**
|
|
7405
7691
|
* Creates an object representation of this proto.
|
|
@@ -34730,7 +35016,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
34730
35016
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
34731
35017
|
modelId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
34732
35018
|
modelVersion: (f = msg.getModelVersion()) && proto_clarifai_api_resources_pb.ModelVersion.toObject(includeInstance, f),
|
|
34733
|
-
totalSize: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
35019
|
+
totalSize: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
35020
|
+
isV3: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
34734
35021
|
};
|
|
34735
35022
|
if (includeInstance) {
|
|
34736
35023
|
obj.$jspbMessageInstance = msg;
|
|
@@ -34780,6 +35067,10 @@ proto.clarifai.api.PostModelVersionsUploadConfig.deserializeBinaryFromReader = f
|
|
|
34780
35067
|
var value = /** @type {number} */ (reader.readUint64());
|
|
34781
35068
|
msg.setTotalSize(value);
|
|
34782
35069
|
break;
|
|
35070
|
+
case 5:
|
|
35071
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
35072
|
+
msg.setIsV3(value);
|
|
35073
|
+
break;
|
|
34783
35074
|
default:
|
|
34784
35075
|
reader.skipField();
|
|
34785
35076
|
break;
|
|
@@ -34821,6 +35112,10 @@ proto.clarifai.api.PostModelVersionsUploadConfig.serializeBinaryToWriter = funct
|
|
|
34821
35112
|
if (f !== 0) {
|
|
34822
35113
|
writer.writeUint64(4, f);
|
|
34823
35114
|
}
|
|
35115
|
+
f = message.getIsV3();
|
|
35116
|
+
if (f) {
|
|
35117
|
+
writer.writeBool(5, f);
|
|
35118
|
+
}
|
|
34824
35119
|
};
|
|
34825
35120
|
/**
|
|
34826
35121
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -34906,6 +35201,20 @@ proto.clarifai.api.PostModelVersionsUploadConfig.prototype.getTotalSize = functi
|
|
|
34906
35201
|
proto.clarifai.api.PostModelVersionsUploadConfig.prototype.setTotalSize = function (value) {
|
|
34907
35202
|
return jspb.Message.setProto3IntField(this, 4, value);
|
|
34908
35203
|
};
|
|
35204
|
+
/**
|
|
35205
|
+
* optional bool is_v3 = 5;
|
|
35206
|
+
* @return {boolean}
|
|
35207
|
+
*/
|
|
35208
|
+
proto.clarifai.api.PostModelVersionsUploadConfig.prototype.getIsV3 = function () {
|
|
35209
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
35210
|
+
};
|
|
35211
|
+
/**
|
|
35212
|
+
* @param {boolean} value
|
|
35213
|
+
* @return {!proto.clarifai.api.PostModelVersionsUploadConfig} returns this
|
|
35214
|
+
*/
|
|
35215
|
+
proto.clarifai.api.PostModelVersionsUploadConfig.prototype.setIsV3 = function (value) {
|
|
35216
|
+
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
35217
|
+
};
|
|
34909
35218
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
34910
35219
|
/**
|
|
34911
35220
|
* Creates an object representation of this proto.
|
|
@@ -68033,7 +68342,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
68033
68342
|
proto.clarifai.api.GetRunnerRequest.toObject = function (includeInstance, msg) {
|
|
68034
68343
|
var f, obj = {
|
|
68035
68344
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
68036
|
-
|
|
68345
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
68346
|
+
runnerId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
68037
68347
|
};
|
|
68038
68348
|
if (includeInstance) {
|
|
68039
68349
|
obj.$jspbMessageInstance = msg;
|
|
@@ -68071,6 +68381,10 @@ proto.clarifai.api.GetRunnerRequest.deserializeBinaryFromReader = function (msg,
|
|
|
68071
68381
|
msg.setUserAppId(value);
|
|
68072
68382
|
break;
|
|
68073
68383
|
case 2:
|
|
68384
|
+
var value = /** @type {string} */ (reader.readString());
|
|
68385
|
+
msg.setNodepoolId(value);
|
|
68386
|
+
break;
|
|
68387
|
+
case 3:
|
|
68074
68388
|
var value = /** @type {string} */ (reader.readString());
|
|
68075
68389
|
msg.setRunnerId(value);
|
|
68076
68390
|
break;
|
|
@@ -68103,10 +68417,14 @@ proto.clarifai.api.GetRunnerRequest.serializeBinaryToWriter = function (message,
|
|
|
68103
68417
|
if (f != null) {
|
|
68104
68418
|
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
68105
68419
|
}
|
|
68106
|
-
f = message.
|
|
68420
|
+
f = message.getNodepoolId();
|
|
68107
68421
|
if (f.length > 0) {
|
|
68108
68422
|
writer.writeString(2, f);
|
|
68109
68423
|
}
|
|
68424
|
+
f = message.getRunnerId();
|
|
68425
|
+
if (f.length > 0) {
|
|
68426
|
+
writer.writeString(3, f);
|
|
68427
|
+
}
|
|
68110
68428
|
};
|
|
68111
68429
|
/**
|
|
68112
68430
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -68137,19 +68455,33 @@ proto.clarifai.api.GetRunnerRequest.prototype.hasUserAppId = function () {
|
|
|
68137
68455
|
return jspb.Message.getField(this, 1) != null;
|
|
68138
68456
|
};
|
|
68139
68457
|
/**
|
|
68140
|
-
* optional string
|
|
68458
|
+
* optional string nodepool_id = 2;
|
|
68141
68459
|
* @return {string}
|
|
68142
68460
|
*/
|
|
68143
|
-
proto.clarifai.api.GetRunnerRequest.prototype.
|
|
68461
|
+
proto.clarifai.api.GetRunnerRequest.prototype.getNodepoolId = function () {
|
|
68144
68462
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
68145
68463
|
};
|
|
68146
68464
|
/**
|
|
68147
68465
|
* @param {string} value
|
|
68148
68466
|
* @return {!proto.clarifai.api.GetRunnerRequest} returns this
|
|
68149
68467
|
*/
|
|
68150
|
-
proto.clarifai.api.GetRunnerRequest.prototype.
|
|
68468
|
+
proto.clarifai.api.GetRunnerRequest.prototype.setNodepoolId = function (value) {
|
|
68151
68469
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
68152
68470
|
};
|
|
68471
|
+
/**
|
|
68472
|
+
* optional string runner_id = 3;
|
|
68473
|
+
* @return {string}
|
|
68474
|
+
*/
|
|
68475
|
+
proto.clarifai.api.GetRunnerRequest.prototype.getRunnerId = function () {
|
|
68476
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
68477
|
+
};
|
|
68478
|
+
/**
|
|
68479
|
+
* @param {string} value
|
|
68480
|
+
* @return {!proto.clarifai.api.GetRunnerRequest} returns this
|
|
68481
|
+
*/
|
|
68482
|
+
proto.clarifai.api.GetRunnerRequest.prototype.setRunnerId = function (value) {
|
|
68483
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
68484
|
+
};
|
|
68153
68485
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
68154
68486
|
/**
|
|
68155
68487
|
* Creates an object representation of this proto.
|
|
@@ -68178,8 +68510,9 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
68178
68510
|
proto.clarifai.api.ListRunnersRequest.toObject = function (includeInstance, msg) {
|
|
68179
68511
|
var f, obj = {
|
|
68180
68512
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
68181
|
-
|
|
68182
|
-
|
|
68513
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
68514
|
+
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
68515
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
68183
68516
|
};
|
|
68184
68517
|
if (includeInstance) {
|
|
68185
68518
|
obj.$jspbMessageInstance = msg;
|
|
@@ -68217,10 +68550,14 @@ proto.clarifai.api.ListRunnersRequest.deserializeBinaryFromReader = function (ms
|
|
|
68217
68550
|
msg.setUserAppId(value);
|
|
68218
68551
|
break;
|
|
68219
68552
|
case 2:
|
|
68553
|
+
var value = /** @type {string} */ (reader.readString());
|
|
68554
|
+
msg.setNodepoolId(value);
|
|
68555
|
+
break;
|
|
68556
|
+
case 3:
|
|
68220
68557
|
var value = /** @type {number} */ (reader.readUint32());
|
|
68221
68558
|
msg.setPage(value);
|
|
68222
68559
|
break;
|
|
68223
|
-
case
|
|
68560
|
+
case 4:
|
|
68224
68561
|
var value = /** @type {number} */ (reader.readUint32());
|
|
68225
68562
|
msg.setPerPage(value);
|
|
68226
68563
|
break;
|
|
@@ -68253,13 +68590,17 @@ proto.clarifai.api.ListRunnersRequest.serializeBinaryToWriter = function (messag
|
|
|
68253
68590
|
if (f != null) {
|
|
68254
68591
|
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
68255
68592
|
}
|
|
68593
|
+
f = message.getNodepoolId();
|
|
68594
|
+
if (f.length > 0) {
|
|
68595
|
+
writer.writeString(2, f);
|
|
68596
|
+
}
|
|
68256
68597
|
f = message.getPage();
|
|
68257
68598
|
if (f !== 0) {
|
|
68258
|
-
writer.writeUint32(
|
|
68599
|
+
writer.writeUint32(3, f);
|
|
68259
68600
|
}
|
|
68260
68601
|
f = message.getPerPage();
|
|
68261
68602
|
if (f !== 0) {
|
|
68262
|
-
writer.writeUint32(
|
|
68603
|
+
writer.writeUint32(4, f);
|
|
68263
68604
|
}
|
|
68264
68605
|
};
|
|
68265
68606
|
/**
|
|
@@ -68291,32 +68632,46 @@ proto.clarifai.api.ListRunnersRequest.prototype.hasUserAppId = function () {
|
|
|
68291
68632
|
return jspb.Message.getField(this, 1) != null;
|
|
68292
68633
|
};
|
|
68293
68634
|
/**
|
|
68294
|
-
* optional
|
|
68635
|
+
* optional string nodepool_id = 2;
|
|
68636
|
+
* @return {string}
|
|
68637
|
+
*/
|
|
68638
|
+
proto.clarifai.api.ListRunnersRequest.prototype.getNodepoolId = function () {
|
|
68639
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
68640
|
+
};
|
|
68641
|
+
/**
|
|
68642
|
+
* @param {string} value
|
|
68643
|
+
* @return {!proto.clarifai.api.ListRunnersRequest} returns this
|
|
68644
|
+
*/
|
|
68645
|
+
proto.clarifai.api.ListRunnersRequest.prototype.setNodepoolId = function (value) {
|
|
68646
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
68647
|
+
};
|
|
68648
|
+
/**
|
|
68649
|
+
* optional uint32 page = 3;
|
|
68295
68650
|
* @return {number}
|
|
68296
68651
|
*/
|
|
68297
68652
|
proto.clarifai.api.ListRunnersRequest.prototype.getPage = function () {
|
|
68298
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
68653
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
68299
68654
|
};
|
|
68300
68655
|
/**
|
|
68301
68656
|
* @param {number} value
|
|
68302
68657
|
* @return {!proto.clarifai.api.ListRunnersRequest} returns this
|
|
68303
68658
|
*/
|
|
68304
68659
|
proto.clarifai.api.ListRunnersRequest.prototype.setPage = function (value) {
|
|
68305
|
-
return jspb.Message.setProto3IntField(this,
|
|
68660
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
68306
68661
|
};
|
|
68307
68662
|
/**
|
|
68308
|
-
* optional uint32 per_page =
|
|
68663
|
+
* optional uint32 per_page = 4;
|
|
68309
68664
|
* @return {number}
|
|
68310
68665
|
*/
|
|
68311
68666
|
proto.clarifai.api.ListRunnersRequest.prototype.getPerPage = function () {
|
|
68312
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
68667
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
68313
68668
|
};
|
|
68314
68669
|
/**
|
|
68315
68670
|
* @param {number} value
|
|
68316
68671
|
* @return {!proto.clarifai.api.ListRunnersRequest} returns this
|
|
68317
68672
|
*/
|
|
68318
68673
|
proto.clarifai.api.ListRunnersRequest.prototype.setPerPage = function (value) {
|
|
68319
|
-
return jspb.Message.setProto3IntField(this,
|
|
68674
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
68320
68675
|
};
|
|
68321
68676
|
/**
|
|
68322
68677
|
* List of repeated fields within this message type.
|
|
@@ -68352,6 +68707,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
68352
68707
|
proto.clarifai.api.PostRunnersRequest.toObject = function (includeInstance, msg) {
|
|
68353
68708
|
var f, obj = {
|
|
68354
68709
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
68710
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
68355
68711
|
runnersList: jspb.Message.toObjectList(msg.getRunnersList(), proto_clarifai_api_resources_pb.Runner.toObject, includeInstance)
|
|
68356
68712
|
};
|
|
68357
68713
|
if (includeInstance) {
|
|
@@ -68389,6 +68745,10 @@ proto.clarifai.api.PostRunnersRequest.deserializeBinaryFromReader = function (ms
|
|
|
68389
68745
|
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
68390
68746
|
msg.setUserAppId(value);
|
|
68391
68747
|
break;
|
|
68748
|
+
case 2:
|
|
68749
|
+
var value = /** @type {string} */ (reader.readString());
|
|
68750
|
+
msg.setNodepoolId(value);
|
|
68751
|
+
break;
|
|
68392
68752
|
case 3:
|
|
68393
68753
|
var value = new proto_clarifai_api_resources_pb.Runner;
|
|
68394
68754
|
reader.readMessage(value, proto_clarifai_api_resources_pb.Runner.deserializeBinaryFromReader);
|
|
@@ -68423,6 +68783,10 @@ proto.clarifai.api.PostRunnersRequest.serializeBinaryToWriter = function (messag
|
|
|
68423
68783
|
if (f != null) {
|
|
68424
68784
|
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
68425
68785
|
}
|
|
68786
|
+
f = message.getNodepoolId();
|
|
68787
|
+
if (f.length > 0) {
|
|
68788
|
+
writer.writeString(2, f);
|
|
68789
|
+
}
|
|
68426
68790
|
f = message.getRunnersList();
|
|
68427
68791
|
if (f.length > 0) {
|
|
68428
68792
|
writer.writeRepeatedMessage(3, f, proto_clarifai_api_resources_pb.Runner.serializeBinaryToWriter);
|
|
@@ -68456,6 +68820,20 @@ proto.clarifai.api.PostRunnersRequest.prototype.clearUserAppId = function () {
|
|
|
68456
68820
|
proto.clarifai.api.PostRunnersRequest.prototype.hasUserAppId = function () {
|
|
68457
68821
|
return jspb.Message.getField(this, 1) != null;
|
|
68458
68822
|
};
|
|
68823
|
+
/**
|
|
68824
|
+
* optional string nodepool_id = 2;
|
|
68825
|
+
* @return {string}
|
|
68826
|
+
*/
|
|
68827
|
+
proto.clarifai.api.PostRunnersRequest.prototype.getNodepoolId = function () {
|
|
68828
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
68829
|
+
};
|
|
68830
|
+
/**
|
|
68831
|
+
* @param {string} value
|
|
68832
|
+
* @return {!proto.clarifai.api.PostRunnersRequest} returns this
|
|
68833
|
+
*/
|
|
68834
|
+
proto.clarifai.api.PostRunnersRequest.prototype.setNodepoolId = function (value) {
|
|
68835
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
68836
|
+
};
|
|
68459
68837
|
/**
|
|
68460
68838
|
* repeated Runner runners = 3;
|
|
68461
68839
|
* @return {!Array<!proto.clarifai.api.Runner>}
|
|
@@ -68490,7 +68868,7 @@ proto.clarifai.api.PostRunnersRequest.prototype.clearRunnersList = function () {
|
|
|
68490
68868
|
* @private {!Array<number>}
|
|
68491
68869
|
* @const
|
|
68492
68870
|
*/
|
|
68493
|
-
proto.clarifai.api.DeleteRunnersRequest.repeatedFields_ = [
|
|
68871
|
+
proto.clarifai.api.DeleteRunnersRequest.repeatedFields_ = [3];
|
|
68494
68872
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
68495
68873
|
/**
|
|
68496
68874
|
* Creates an object representation of this proto.
|
|
@@ -68519,7 +68897,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
68519
68897
|
proto.clarifai.api.DeleteRunnersRequest.toObject = function (includeInstance, msg) {
|
|
68520
68898
|
var f, obj = {
|
|
68521
68899
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
68522
|
-
|
|
68900
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
68901
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
68523
68902
|
};
|
|
68524
68903
|
if (includeInstance) {
|
|
68525
68904
|
obj.$jspbMessageInstance = msg;
|
|
@@ -68557,6 +68936,10 @@ proto.clarifai.api.DeleteRunnersRequest.deserializeBinaryFromReader = function (
|
|
|
68557
68936
|
msg.setUserAppId(value);
|
|
68558
68937
|
break;
|
|
68559
68938
|
case 2:
|
|
68939
|
+
var value = /** @type {string} */ (reader.readString());
|
|
68940
|
+
msg.setNodepoolId(value);
|
|
68941
|
+
break;
|
|
68942
|
+
case 3:
|
|
68560
68943
|
var value = /** @type {string} */ (reader.readString());
|
|
68561
68944
|
msg.addIds(value);
|
|
68562
68945
|
break;
|
|
@@ -68589,9 +68972,13 @@ proto.clarifai.api.DeleteRunnersRequest.serializeBinaryToWriter = function (mess
|
|
|
68589
68972
|
if (f != null) {
|
|
68590
68973
|
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
68591
68974
|
}
|
|
68975
|
+
f = message.getNodepoolId();
|
|
68976
|
+
if (f.length > 0) {
|
|
68977
|
+
writer.writeString(2, f);
|
|
68978
|
+
}
|
|
68592
68979
|
f = message.getIdsList();
|
|
68593
68980
|
if (f.length > 0) {
|
|
68594
|
-
writer.writeRepeatedString(
|
|
68981
|
+
writer.writeRepeatedString(3, f);
|
|
68595
68982
|
}
|
|
68596
68983
|
};
|
|
68597
68984
|
/**
|
|
@@ -68623,18 +69010,32 @@ proto.clarifai.api.DeleteRunnersRequest.prototype.hasUserAppId = function () {
|
|
|
68623
69010
|
return jspb.Message.getField(this, 1) != null;
|
|
68624
69011
|
};
|
|
68625
69012
|
/**
|
|
68626
|
-
*
|
|
69013
|
+
* optional string nodepool_id = 2;
|
|
69014
|
+
* @return {string}
|
|
69015
|
+
*/
|
|
69016
|
+
proto.clarifai.api.DeleteRunnersRequest.prototype.getNodepoolId = function () {
|
|
69017
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
69018
|
+
};
|
|
69019
|
+
/**
|
|
69020
|
+
* @param {string} value
|
|
69021
|
+
* @return {!proto.clarifai.api.DeleteRunnersRequest} returns this
|
|
69022
|
+
*/
|
|
69023
|
+
proto.clarifai.api.DeleteRunnersRequest.prototype.setNodepoolId = function (value) {
|
|
69024
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
69025
|
+
};
|
|
69026
|
+
/**
|
|
69027
|
+
* repeated string ids = 3;
|
|
68627
69028
|
* @return {!Array<string>}
|
|
68628
69029
|
*/
|
|
68629
69030
|
proto.clarifai.api.DeleteRunnersRequest.prototype.getIdsList = function () {
|
|
68630
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this,
|
|
69031
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
68631
69032
|
};
|
|
68632
69033
|
/**
|
|
68633
69034
|
* @param {!Array<string>} value
|
|
68634
69035
|
* @return {!proto.clarifai.api.DeleteRunnersRequest} returns this
|
|
68635
69036
|
*/
|
|
68636
69037
|
proto.clarifai.api.DeleteRunnersRequest.prototype.setIdsList = function (value) {
|
|
68637
|
-
return jspb.Message.setField(this,
|
|
69038
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
68638
69039
|
};
|
|
68639
69040
|
/**
|
|
68640
69041
|
* @param {string} value
|
|
@@ -68642,7 +69043,7 @@ proto.clarifai.api.DeleteRunnersRequest.prototype.setIdsList = function (value)
|
|
|
68642
69043
|
* @return {!proto.clarifai.api.DeleteRunnersRequest} returns this
|
|
68643
69044
|
*/
|
|
68644
69045
|
proto.clarifai.api.DeleteRunnersRequest.prototype.addIds = function (value, opt_index) {
|
|
68645
|
-
return jspb.Message.addToRepeatedField(this,
|
|
69046
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
68646
69047
|
};
|
|
68647
69048
|
/**
|
|
68648
69049
|
* Clears the list making it empty but non-null.
|
|
@@ -69006,7 +69407,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
69006
69407
|
proto.clarifai.api.ListRunnerItemsRequest.toObject = function (includeInstance, msg) {
|
|
69007
69408
|
var f, obj = {
|
|
69008
69409
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
69009
|
-
|
|
69410
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
69411
|
+
runnerId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
69010
69412
|
};
|
|
69011
69413
|
if (includeInstance) {
|
|
69012
69414
|
obj.$jspbMessageInstance = msg;
|
|
@@ -69044,6 +69446,10 @@ proto.clarifai.api.ListRunnerItemsRequest.deserializeBinaryFromReader = function
|
|
|
69044
69446
|
msg.setUserAppId(value);
|
|
69045
69447
|
break;
|
|
69046
69448
|
case 2:
|
|
69449
|
+
var value = /** @type {string} */ (reader.readString());
|
|
69450
|
+
msg.setNodepoolId(value);
|
|
69451
|
+
break;
|
|
69452
|
+
case 3:
|
|
69047
69453
|
var value = /** @type {string} */ (reader.readString());
|
|
69048
69454
|
msg.setRunnerId(value);
|
|
69049
69455
|
break;
|
|
@@ -69076,10 +69482,14 @@ proto.clarifai.api.ListRunnerItemsRequest.serializeBinaryToWriter = function (me
|
|
|
69076
69482
|
if (f != null) {
|
|
69077
69483
|
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
69078
69484
|
}
|
|
69079
|
-
f = message.
|
|
69485
|
+
f = message.getNodepoolId();
|
|
69080
69486
|
if (f.length > 0) {
|
|
69081
69487
|
writer.writeString(2, f);
|
|
69082
69488
|
}
|
|
69489
|
+
f = message.getRunnerId();
|
|
69490
|
+
if (f.length > 0) {
|
|
69491
|
+
writer.writeString(3, f);
|
|
69492
|
+
}
|
|
69083
69493
|
};
|
|
69084
69494
|
/**
|
|
69085
69495
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -69110,25 +69520,39 @@ proto.clarifai.api.ListRunnerItemsRequest.prototype.hasUserAppId = function () {
|
|
|
69110
69520
|
return jspb.Message.getField(this, 1) != null;
|
|
69111
69521
|
};
|
|
69112
69522
|
/**
|
|
69113
|
-
* optional string
|
|
69523
|
+
* optional string nodepool_id = 2;
|
|
69114
69524
|
* @return {string}
|
|
69115
69525
|
*/
|
|
69116
|
-
proto.clarifai.api.ListRunnerItemsRequest.prototype.
|
|
69526
|
+
proto.clarifai.api.ListRunnerItemsRequest.prototype.getNodepoolId = function () {
|
|
69117
69527
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
69118
69528
|
};
|
|
69119
69529
|
/**
|
|
69120
69530
|
* @param {string} value
|
|
69121
69531
|
* @return {!proto.clarifai.api.ListRunnerItemsRequest} returns this
|
|
69122
69532
|
*/
|
|
69123
|
-
proto.clarifai.api.ListRunnerItemsRequest.prototype.
|
|
69533
|
+
proto.clarifai.api.ListRunnerItemsRequest.prototype.setNodepoolId = function (value) {
|
|
69124
69534
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
69125
69535
|
};
|
|
69536
|
+
/**
|
|
69537
|
+
* optional string runner_id = 3;
|
|
69538
|
+
* @return {string}
|
|
69539
|
+
*/
|
|
69540
|
+
proto.clarifai.api.ListRunnerItemsRequest.prototype.getRunnerId = function () {
|
|
69541
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
69542
|
+
};
|
|
69543
|
+
/**
|
|
69544
|
+
* @param {string} value
|
|
69545
|
+
* @return {!proto.clarifai.api.ListRunnerItemsRequest} returns this
|
|
69546
|
+
*/
|
|
69547
|
+
proto.clarifai.api.ListRunnerItemsRequest.prototype.setRunnerId = function (value) {
|
|
69548
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
69549
|
+
};
|
|
69126
69550
|
/**
|
|
69127
69551
|
* List of repeated fields within this message type.
|
|
69128
69552
|
* @private {!Array<number>}
|
|
69129
69553
|
* @const
|
|
69130
69554
|
*/
|
|
69131
|
-
proto.clarifai.api.PostRunnerItemOutputsRequest.repeatedFields_ = [
|
|
69555
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.repeatedFields_ = [5];
|
|
69132
69556
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
69133
69557
|
/**
|
|
69134
69558
|
* Creates an object representation of this proto.
|
|
@@ -69157,8 +69581,9 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
69157
69581
|
proto.clarifai.api.PostRunnerItemOutputsRequest.toObject = function (includeInstance, msg) {
|
|
69158
69582
|
var f, obj = {
|
|
69159
69583
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
69160
|
-
|
|
69161
|
-
|
|
69584
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
69585
|
+
runnerId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
69586
|
+
runnerItemId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
69162
69587
|
runnerItemOutputsList: jspb.Message.toObjectList(msg.getRunnerItemOutputsList(), proto.clarifai.api.RunnerItemOutput.toObject, includeInstance),
|
|
69163
69588
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f)
|
|
69164
69589
|
};
|
|
@@ -69199,18 +69624,22 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.deserializeBinaryFromReader = fu
|
|
|
69199
69624
|
break;
|
|
69200
69625
|
case 2:
|
|
69201
69626
|
var value = /** @type {string} */ (reader.readString());
|
|
69202
|
-
msg.
|
|
69627
|
+
msg.setNodepoolId(value);
|
|
69203
69628
|
break;
|
|
69204
69629
|
case 3:
|
|
69205
69630
|
var value = /** @type {string} */ (reader.readString());
|
|
69206
|
-
msg.
|
|
69631
|
+
msg.setRunnerId(value);
|
|
69207
69632
|
break;
|
|
69208
69633
|
case 4:
|
|
69634
|
+
var value = /** @type {string} */ (reader.readString());
|
|
69635
|
+
msg.setRunnerItemId(value);
|
|
69636
|
+
break;
|
|
69637
|
+
case 5:
|
|
69209
69638
|
var value = new proto.clarifai.api.RunnerItemOutput;
|
|
69210
69639
|
reader.readMessage(value, proto.clarifai.api.RunnerItemOutput.deserializeBinaryFromReader);
|
|
69211
69640
|
msg.addRunnerItemOutputs(value);
|
|
69212
69641
|
break;
|
|
69213
|
-
case
|
|
69642
|
+
case 6:
|
|
69214
69643
|
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
69215
69644
|
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
69216
69645
|
msg.setStatus(value);
|
|
@@ -69244,21 +69673,25 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.serializeBinaryToWriter = functi
|
|
|
69244
69673
|
if (f != null) {
|
|
69245
69674
|
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
69246
69675
|
}
|
|
69247
|
-
f = message.
|
|
69676
|
+
f = message.getNodepoolId();
|
|
69248
69677
|
if (f.length > 0) {
|
|
69249
69678
|
writer.writeString(2, f);
|
|
69250
69679
|
}
|
|
69251
|
-
f = message.
|
|
69680
|
+
f = message.getRunnerId();
|
|
69252
69681
|
if (f.length > 0) {
|
|
69253
69682
|
writer.writeString(3, f);
|
|
69254
69683
|
}
|
|
69684
|
+
f = message.getRunnerItemId();
|
|
69685
|
+
if (f.length > 0) {
|
|
69686
|
+
writer.writeString(4, f);
|
|
69687
|
+
}
|
|
69255
69688
|
f = message.getRunnerItemOutputsList();
|
|
69256
69689
|
if (f.length > 0) {
|
|
69257
|
-
writer.writeRepeatedMessage(
|
|
69690
|
+
writer.writeRepeatedMessage(5, f, proto.clarifai.api.RunnerItemOutput.serializeBinaryToWriter);
|
|
69258
69691
|
}
|
|
69259
69692
|
f = message.getStatus();
|
|
69260
69693
|
if (f != null) {
|
|
69261
|
-
writer.writeMessage(
|
|
69694
|
+
writer.writeMessage(6, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
69262
69695
|
}
|
|
69263
69696
|
};
|
|
69264
69697
|
/**
|
|
@@ -69290,46 +69723,60 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.hasUserAppId = functio
|
|
|
69290
69723
|
return jspb.Message.getField(this, 1) != null;
|
|
69291
69724
|
};
|
|
69292
69725
|
/**
|
|
69293
|
-
* optional string
|
|
69726
|
+
* optional string nodepool_id = 2;
|
|
69294
69727
|
* @return {string}
|
|
69295
69728
|
*/
|
|
69296
|
-
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.
|
|
69729
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getNodepoolId = function () {
|
|
69297
69730
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
69298
69731
|
};
|
|
69299
69732
|
/**
|
|
69300
69733
|
* @param {string} value
|
|
69301
69734
|
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
69302
69735
|
*/
|
|
69303
|
-
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.
|
|
69736
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setNodepoolId = function (value) {
|
|
69304
69737
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
69305
69738
|
};
|
|
69306
69739
|
/**
|
|
69307
|
-
* optional string
|
|
69740
|
+
* optional string runner_id = 3;
|
|
69308
69741
|
* @return {string}
|
|
69309
69742
|
*/
|
|
69310
|
-
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.
|
|
69743
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRunnerId = function () {
|
|
69311
69744
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
69312
69745
|
};
|
|
69313
69746
|
/**
|
|
69314
69747
|
* @param {string} value
|
|
69315
69748
|
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
69316
69749
|
*/
|
|
69317
|
-
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.
|
|
69750
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRunnerId = function (value) {
|
|
69318
69751
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
69319
69752
|
};
|
|
69320
69753
|
/**
|
|
69321
|
-
*
|
|
69754
|
+
* optional string runner_item_id = 4;
|
|
69755
|
+
* @return {string}
|
|
69756
|
+
*/
|
|
69757
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRunnerItemId = function () {
|
|
69758
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
69759
|
+
};
|
|
69760
|
+
/**
|
|
69761
|
+
* @param {string} value
|
|
69762
|
+
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
69763
|
+
*/
|
|
69764
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRunnerItemId = function (value) {
|
|
69765
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
69766
|
+
};
|
|
69767
|
+
/**
|
|
69768
|
+
* repeated RunnerItemOutput runner_item_outputs = 5;
|
|
69322
69769
|
* @return {!Array<!proto.clarifai.api.RunnerItemOutput>}
|
|
69323
69770
|
*/
|
|
69324
69771
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRunnerItemOutputsList = function () {
|
|
69325
|
-
return /** @type{!Array<!proto.clarifai.api.RunnerItemOutput>} */ (jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.RunnerItemOutput,
|
|
69772
|
+
return /** @type{!Array<!proto.clarifai.api.RunnerItemOutput>} */ (jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.RunnerItemOutput, 5));
|
|
69326
69773
|
};
|
|
69327
69774
|
/**
|
|
69328
69775
|
* @param {!Array<!proto.clarifai.api.RunnerItemOutput>} value
|
|
69329
69776
|
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
69330
69777
|
*/
|
|
69331
69778
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRunnerItemOutputsList = function (value) {
|
|
69332
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
69779
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
69333
69780
|
};
|
|
69334
69781
|
/**
|
|
69335
69782
|
* @param {!proto.clarifai.api.RunnerItemOutput=} opt_value
|
|
@@ -69337,7 +69784,7 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRunnerItemOutputsLi
|
|
|
69337
69784
|
* @return {!proto.clarifai.api.RunnerItemOutput}
|
|
69338
69785
|
*/
|
|
69339
69786
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.addRunnerItemOutputs = function (opt_value, opt_index) {
|
|
69340
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
69787
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.clarifai.api.RunnerItemOutput, opt_index);
|
|
69341
69788
|
};
|
|
69342
69789
|
/**
|
|
69343
69790
|
* Clears the list making it empty but non-null.
|
|
@@ -69347,18 +69794,18 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.clearRunnerItemOutputs
|
|
|
69347
69794
|
return this.setRunnerItemOutputsList([]);
|
|
69348
69795
|
};
|
|
69349
69796
|
/**
|
|
69350
|
-
* optional status.Status status =
|
|
69797
|
+
* optional status.Status status = 6;
|
|
69351
69798
|
* @return {?proto.clarifai.api.status.Status}
|
|
69352
69799
|
*/
|
|
69353
69800
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getStatus = function () {
|
|
69354
|
-
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status,
|
|
69801
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 6));
|
|
69355
69802
|
};
|
|
69356
69803
|
/**
|
|
69357
69804
|
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
69358
69805
|
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
69359
69806
|
*/
|
|
69360
69807
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setStatus = function (value) {
|
|
69361
|
-
return jspb.Message.setWrapperField(this,
|
|
69808
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
69362
69809
|
};
|
|
69363
69810
|
/**
|
|
69364
69811
|
* Clears the message field making it undefined.
|
|
@@ -69372,7 +69819,7 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.clearStatus = function
|
|
|
69372
69819
|
* @return {boolean}
|
|
69373
69820
|
*/
|
|
69374
69821
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.hasStatus = function () {
|
|
69375
|
-
return jspb.Message.getField(this,
|
|
69822
|
+
return jspb.Message.getField(this, 6) != null;
|
|
69376
69823
|
};
|
|
69377
69824
|
/**
|
|
69378
69825
|
* List of repeated fields within this message type.
|
|
@@ -70460,6 +70907,2257 @@ proto.clarifai.api.MultiTrainingTimeEstimateResponse.prototype.addTrainingTimeEs
|
|
|
70460
70907
|
proto.clarifai.api.MultiTrainingTimeEstimateResponse.prototype.clearTrainingTimeEstimatesList = function () {
|
|
70461
70908
|
return this.setTrainingTimeEstimatesList([]);
|
|
70462
70909
|
};
|
|
70910
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
70911
|
+
/**
|
|
70912
|
+
* Creates an object representation of this proto.
|
|
70913
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
70914
|
+
* Optional fields that are not set will be set to undefined.
|
|
70915
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
70916
|
+
* For the list of reserved names please see:
|
|
70917
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
70918
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
70919
|
+
* JSPB instance for transitional soy proto support:
|
|
70920
|
+
* http://goto/soy-param-migration
|
|
70921
|
+
* @return {!Object}
|
|
70922
|
+
*/
|
|
70923
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.toObject = function (opt_includeInstance) {
|
|
70924
|
+
return proto.clarifai.api.GetComputeClusterRequest.toObject(opt_includeInstance, this);
|
|
70925
|
+
};
|
|
70926
|
+
/**
|
|
70927
|
+
* Static version of the {@see toObject} method.
|
|
70928
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
70929
|
+
* the JSPB instance for transitional soy proto support:
|
|
70930
|
+
* http://goto/soy-param-migration
|
|
70931
|
+
* @param {!proto.clarifai.api.GetComputeClusterRequest} msg The msg instance to transform.
|
|
70932
|
+
* @return {!Object}
|
|
70933
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
70934
|
+
*/
|
|
70935
|
+
proto.clarifai.api.GetComputeClusterRequest.toObject = function (includeInstance, msg) {
|
|
70936
|
+
var f, obj = {
|
|
70937
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
70938
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
70939
|
+
};
|
|
70940
|
+
if (includeInstance) {
|
|
70941
|
+
obj.$jspbMessageInstance = msg;
|
|
70942
|
+
}
|
|
70943
|
+
return obj;
|
|
70944
|
+
};
|
|
70945
|
+
}
|
|
70946
|
+
/**
|
|
70947
|
+
* Deserializes binary data (in protobuf wire format).
|
|
70948
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
70949
|
+
* @return {!proto.clarifai.api.GetComputeClusterRequest}
|
|
70950
|
+
*/
|
|
70951
|
+
proto.clarifai.api.GetComputeClusterRequest.deserializeBinary = function (bytes) {
|
|
70952
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
70953
|
+
var msg = new proto.clarifai.api.GetComputeClusterRequest;
|
|
70954
|
+
return proto.clarifai.api.GetComputeClusterRequest.deserializeBinaryFromReader(msg, reader);
|
|
70955
|
+
};
|
|
70956
|
+
/**
|
|
70957
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
70958
|
+
* given reader into the given message object.
|
|
70959
|
+
* @param {!proto.clarifai.api.GetComputeClusterRequest} msg The message object to deserialize into.
|
|
70960
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
70961
|
+
* @return {!proto.clarifai.api.GetComputeClusterRequest}
|
|
70962
|
+
*/
|
|
70963
|
+
proto.clarifai.api.GetComputeClusterRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
70964
|
+
while (reader.nextField()) {
|
|
70965
|
+
if (reader.isEndGroup()) {
|
|
70966
|
+
break;
|
|
70967
|
+
}
|
|
70968
|
+
var field = reader.getFieldNumber();
|
|
70969
|
+
switch (field) {
|
|
70970
|
+
case 1:
|
|
70971
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
70972
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
70973
|
+
msg.setUserAppId(value);
|
|
70974
|
+
break;
|
|
70975
|
+
case 2:
|
|
70976
|
+
var value = /** @type {string} */ (reader.readString());
|
|
70977
|
+
msg.setComputeClusterId(value);
|
|
70978
|
+
break;
|
|
70979
|
+
default:
|
|
70980
|
+
reader.skipField();
|
|
70981
|
+
break;
|
|
70982
|
+
}
|
|
70983
|
+
}
|
|
70984
|
+
return msg;
|
|
70985
|
+
};
|
|
70986
|
+
/**
|
|
70987
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
70988
|
+
* @return {!Uint8Array}
|
|
70989
|
+
*/
|
|
70990
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.serializeBinary = function () {
|
|
70991
|
+
var writer = new jspb.BinaryWriter();
|
|
70992
|
+
proto.clarifai.api.GetComputeClusterRequest.serializeBinaryToWriter(this, writer);
|
|
70993
|
+
return writer.getResultBuffer();
|
|
70994
|
+
};
|
|
70995
|
+
/**
|
|
70996
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
70997
|
+
* format), writing to the given BinaryWriter.
|
|
70998
|
+
* @param {!proto.clarifai.api.GetComputeClusterRequest} message
|
|
70999
|
+
* @param {!jspb.BinaryWriter} writer
|
|
71000
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71001
|
+
*/
|
|
71002
|
+
proto.clarifai.api.GetComputeClusterRequest.serializeBinaryToWriter = function (message, writer) {
|
|
71003
|
+
var f = undefined;
|
|
71004
|
+
f = message.getUserAppId();
|
|
71005
|
+
if (f != null) {
|
|
71006
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
71007
|
+
}
|
|
71008
|
+
f = message.getComputeClusterId();
|
|
71009
|
+
if (f.length > 0) {
|
|
71010
|
+
writer.writeString(2, f);
|
|
71011
|
+
}
|
|
71012
|
+
};
|
|
71013
|
+
/**
|
|
71014
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
71015
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
71016
|
+
*/
|
|
71017
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.getUserAppId = function () {
|
|
71018
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
71019
|
+
};
|
|
71020
|
+
/**
|
|
71021
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
71022
|
+
* @return {!proto.clarifai.api.GetComputeClusterRequest} returns this
|
|
71023
|
+
*/
|
|
71024
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.setUserAppId = function (value) {
|
|
71025
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
71026
|
+
};
|
|
71027
|
+
/**
|
|
71028
|
+
* Clears the message field making it undefined.
|
|
71029
|
+
* @return {!proto.clarifai.api.GetComputeClusterRequest} returns this
|
|
71030
|
+
*/
|
|
71031
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.clearUserAppId = function () {
|
|
71032
|
+
return this.setUserAppId(undefined);
|
|
71033
|
+
};
|
|
71034
|
+
/**
|
|
71035
|
+
* Returns whether this field is set.
|
|
71036
|
+
* @return {boolean}
|
|
71037
|
+
*/
|
|
71038
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.hasUserAppId = function () {
|
|
71039
|
+
return jspb.Message.getField(this, 1) != null;
|
|
71040
|
+
};
|
|
71041
|
+
/**
|
|
71042
|
+
* optional string compute_cluster_id = 2;
|
|
71043
|
+
* @return {string}
|
|
71044
|
+
*/
|
|
71045
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.getComputeClusterId = function () {
|
|
71046
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
71047
|
+
};
|
|
71048
|
+
/**
|
|
71049
|
+
* @param {string} value
|
|
71050
|
+
* @return {!proto.clarifai.api.GetComputeClusterRequest} returns this
|
|
71051
|
+
*/
|
|
71052
|
+
proto.clarifai.api.GetComputeClusterRequest.prototype.setComputeClusterId = function (value) {
|
|
71053
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
71054
|
+
};
|
|
71055
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
71056
|
+
/**
|
|
71057
|
+
* Creates an object representation of this proto.
|
|
71058
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
71059
|
+
* Optional fields that are not set will be set to undefined.
|
|
71060
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
71061
|
+
* For the list of reserved names please see:
|
|
71062
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
71063
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
71064
|
+
* JSPB instance for transitional soy proto support:
|
|
71065
|
+
* http://goto/soy-param-migration
|
|
71066
|
+
* @return {!Object}
|
|
71067
|
+
*/
|
|
71068
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.toObject = function (opt_includeInstance) {
|
|
71069
|
+
return proto.clarifai.api.ListComputeClustersRequest.toObject(opt_includeInstance, this);
|
|
71070
|
+
};
|
|
71071
|
+
/**
|
|
71072
|
+
* Static version of the {@see toObject} method.
|
|
71073
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
71074
|
+
* the JSPB instance for transitional soy proto support:
|
|
71075
|
+
* http://goto/soy-param-migration
|
|
71076
|
+
* @param {!proto.clarifai.api.ListComputeClustersRequest} msg The msg instance to transform.
|
|
71077
|
+
* @return {!Object}
|
|
71078
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71079
|
+
*/
|
|
71080
|
+
proto.clarifai.api.ListComputeClustersRequest.toObject = function (includeInstance, msg) {
|
|
71081
|
+
var f, obj = {
|
|
71082
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
71083
|
+
page: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
71084
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
71085
|
+
};
|
|
71086
|
+
if (includeInstance) {
|
|
71087
|
+
obj.$jspbMessageInstance = msg;
|
|
71088
|
+
}
|
|
71089
|
+
return obj;
|
|
71090
|
+
};
|
|
71091
|
+
}
|
|
71092
|
+
/**
|
|
71093
|
+
* Deserializes binary data (in protobuf wire format).
|
|
71094
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
71095
|
+
* @return {!proto.clarifai.api.ListComputeClustersRequest}
|
|
71096
|
+
*/
|
|
71097
|
+
proto.clarifai.api.ListComputeClustersRequest.deserializeBinary = function (bytes) {
|
|
71098
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
71099
|
+
var msg = new proto.clarifai.api.ListComputeClustersRequest;
|
|
71100
|
+
return proto.clarifai.api.ListComputeClustersRequest.deserializeBinaryFromReader(msg, reader);
|
|
71101
|
+
};
|
|
71102
|
+
/**
|
|
71103
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
71104
|
+
* given reader into the given message object.
|
|
71105
|
+
* @param {!proto.clarifai.api.ListComputeClustersRequest} msg The message object to deserialize into.
|
|
71106
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
71107
|
+
* @return {!proto.clarifai.api.ListComputeClustersRequest}
|
|
71108
|
+
*/
|
|
71109
|
+
proto.clarifai.api.ListComputeClustersRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
71110
|
+
while (reader.nextField()) {
|
|
71111
|
+
if (reader.isEndGroup()) {
|
|
71112
|
+
break;
|
|
71113
|
+
}
|
|
71114
|
+
var field = reader.getFieldNumber();
|
|
71115
|
+
switch (field) {
|
|
71116
|
+
case 1:
|
|
71117
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
71118
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
71119
|
+
msg.setUserAppId(value);
|
|
71120
|
+
break;
|
|
71121
|
+
case 2:
|
|
71122
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
71123
|
+
msg.setPage(value);
|
|
71124
|
+
break;
|
|
71125
|
+
case 3:
|
|
71126
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
71127
|
+
msg.setPerPage(value);
|
|
71128
|
+
break;
|
|
71129
|
+
default:
|
|
71130
|
+
reader.skipField();
|
|
71131
|
+
break;
|
|
71132
|
+
}
|
|
71133
|
+
}
|
|
71134
|
+
return msg;
|
|
71135
|
+
};
|
|
71136
|
+
/**
|
|
71137
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
71138
|
+
* @return {!Uint8Array}
|
|
71139
|
+
*/
|
|
71140
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.serializeBinary = function () {
|
|
71141
|
+
var writer = new jspb.BinaryWriter();
|
|
71142
|
+
proto.clarifai.api.ListComputeClustersRequest.serializeBinaryToWriter(this, writer);
|
|
71143
|
+
return writer.getResultBuffer();
|
|
71144
|
+
};
|
|
71145
|
+
/**
|
|
71146
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
71147
|
+
* format), writing to the given BinaryWriter.
|
|
71148
|
+
* @param {!proto.clarifai.api.ListComputeClustersRequest} message
|
|
71149
|
+
* @param {!jspb.BinaryWriter} writer
|
|
71150
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71151
|
+
*/
|
|
71152
|
+
proto.clarifai.api.ListComputeClustersRequest.serializeBinaryToWriter = function (message, writer) {
|
|
71153
|
+
var f = undefined;
|
|
71154
|
+
f = message.getUserAppId();
|
|
71155
|
+
if (f != null) {
|
|
71156
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
71157
|
+
}
|
|
71158
|
+
f = message.getPage();
|
|
71159
|
+
if (f !== 0) {
|
|
71160
|
+
writer.writeUint32(2, f);
|
|
71161
|
+
}
|
|
71162
|
+
f = message.getPerPage();
|
|
71163
|
+
if (f !== 0) {
|
|
71164
|
+
writer.writeUint32(3, f);
|
|
71165
|
+
}
|
|
71166
|
+
};
|
|
71167
|
+
/**
|
|
71168
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
71169
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
71170
|
+
*/
|
|
71171
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.getUserAppId = function () {
|
|
71172
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
71173
|
+
};
|
|
71174
|
+
/**
|
|
71175
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
71176
|
+
* @return {!proto.clarifai.api.ListComputeClustersRequest} returns this
|
|
71177
|
+
*/
|
|
71178
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.setUserAppId = function (value) {
|
|
71179
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
71180
|
+
};
|
|
71181
|
+
/**
|
|
71182
|
+
* Clears the message field making it undefined.
|
|
71183
|
+
* @return {!proto.clarifai.api.ListComputeClustersRequest} returns this
|
|
71184
|
+
*/
|
|
71185
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.clearUserAppId = function () {
|
|
71186
|
+
return this.setUserAppId(undefined);
|
|
71187
|
+
};
|
|
71188
|
+
/**
|
|
71189
|
+
* Returns whether this field is set.
|
|
71190
|
+
* @return {boolean}
|
|
71191
|
+
*/
|
|
71192
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.hasUserAppId = function () {
|
|
71193
|
+
return jspb.Message.getField(this, 1) != null;
|
|
71194
|
+
};
|
|
71195
|
+
/**
|
|
71196
|
+
* optional uint32 page = 2;
|
|
71197
|
+
* @return {number}
|
|
71198
|
+
*/
|
|
71199
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.getPage = function () {
|
|
71200
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
71201
|
+
};
|
|
71202
|
+
/**
|
|
71203
|
+
* @param {number} value
|
|
71204
|
+
* @return {!proto.clarifai.api.ListComputeClustersRequest} returns this
|
|
71205
|
+
*/
|
|
71206
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.setPage = function (value) {
|
|
71207
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
71208
|
+
};
|
|
71209
|
+
/**
|
|
71210
|
+
* optional uint32 per_page = 3;
|
|
71211
|
+
* @return {number}
|
|
71212
|
+
*/
|
|
71213
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.getPerPage = function () {
|
|
71214
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
71215
|
+
};
|
|
71216
|
+
/**
|
|
71217
|
+
* @param {number} value
|
|
71218
|
+
* @return {!proto.clarifai.api.ListComputeClustersRequest} returns this
|
|
71219
|
+
*/
|
|
71220
|
+
proto.clarifai.api.ListComputeClustersRequest.prototype.setPerPage = function (value) {
|
|
71221
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
71222
|
+
};
|
|
71223
|
+
/**
|
|
71224
|
+
* List of repeated fields within this message type.
|
|
71225
|
+
* @private {!Array<number>}
|
|
71226
|
+
* @const
|
|
71227
|
+
*/
|
|
71228
|
+
proto.clarifai.api.PostComputeClustersRequest.repeatedFields_ = [2];
|
|
71229
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
71230
|
+
/**
|
|
71231
|
+
* Creates an object representation of this proto.
|
|
71232
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
71233
|
+
* Optional fields that are not set will be set to undefined.
|
|
71234
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
71235
|
+
* For the list of reserved names please see:
|
|
71236
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
71237
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
71238
|
+
* JSPB instance for transitional soy proto support:
|
|
71239
|
+
* http://goto/soy-param-migration
|
|
71240
|
+
* @return {!Object}
|
|
71241
|
+
*/
|
|
71242
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.toObject = function (opt_includeInstance) {
|
|
71243
|
+
return proto.clarifai.api.PostComputeClustersRequest.toObject(opt_includeInstance, this);
|
|
71244
|
+
};
|
|
71245
|
+
/**
|
|
71246
|
+
* Static version of the {@see toObject} method.
|
|
71247
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
71248
|
+
* the JSPB instance for transitional soy proto support:
|
|
71249
|
+
* http://goto/soy-param-migration
|
|
71250
|
+
* @param {!proto.clarifai.api.PostComputeClustersRequest} msg The msg instance to transform.
|
|
71251
|
+
* @return {!Object}
|
|
71252
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71253
|
+
*/
|
|
71254
|
+
proto.clarifai.api.PostComputeClustersRequest.toObject = function (includeInstance, msg) {
|
|
71255
|
+
var f, obj = {
|
|
71256
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
71257
|
+
computeClustersList: jspb.Message.toObjectList(msg.getComputeClustersList(), proto_clarifai_api_resources_pb.ComputeCluster.toObject, includeInstance)
|
|
71258
|
+
};
|
|
71259
|
+
if (includeInstance) {
|
|
71260
|
+
obj.$jspbMessageInstance = msg;
|
|
71261
|
+
}
|
|
71262
|
+
return obj;
|
|
71263
|
+
};
|
|
71264
|
+
}
|
|
71265
|
+
/**
|
|
71266
|
+
* Deserializes binary data (in protobuf wire format).
|
|
71267
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
71268
|
+
* @return {!proto.clarifai.api.PostComputeClustersRequest}
|
|
71269
|
+
*/
|
|
71270
|
+
proto.clarifai.api.PostComputeClustersRequest.deserializeBinary = function (bytes) {
|
|
71271
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
71272
|
+
var msg = new proto.clarifai.api.PostComputeClustersRequest;
|
|
71273
|
+
return proto.clarifai.api.PostComputeClustersRequest.deserializeBinaryFromReader(msg, reader);
|
|
71274
|
+
};
|
|
71275
|
+
/**
|
|
71276
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
71277
|
+
* given reader into the given message object.
|
|
71278
|
+
* @param {!proto.clarifai.api.PostComputeClustersRequest} msg The message object to deserialize into.
|
|
71279
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
71280
|
+
* @return {!proto.clarifai.api.PostComputeClustersRequest}
|
|
71281
|
+
*/
|
|
71282
|
+
proto.clarifai.api.PostComputeClustersRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
71283
|
+
while (reader.nextField()) {
|
|
71284
|
+
if (reader.isEndGroup()) {
|
|
71285
|
+
break;
|
|
71286
|
+
}
|
|
71287
|
+
var field = reader.getFieldNumber();
|
|
71288
|
+
switch (field) {
|
|
71289
|
+
case 1:
|
|
71290
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
71291
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
71292
|
+
msg.setUserAppId(value);
|
|
71293
|
+
break;
|
|
71294
|
+
case 2:
|
|
71295
|
+
var value = new proto_clarifai_api_resources_pb.ComputeCluster;
|
|
71296
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.ComputeCluster.deserializeBinaryFromReader);
|
|
71297
|
+
msg.addComputeClusters(value);
|
|
71298
|
+
break;
|
|
71299
|
+
default:
|
|
71300
|
+
reader.skipField();
|
|
71301
|
+
break;
|
|
71302
|
+
}
|
|
71303
|
+
}
|
|
71304
|
+
return msg;
|
|
71305
|
+
};
|
|
71306
|
+
/**
|
|
71307
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
71308
|
+
* @return {!Uint8Array}
|
|
71309
|
+
*/
|
|
71310
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.serializeBinary = function () {
|
|
71311
|
+
var writer = new jspb.BinaryWriter();
|
|
71312
|
+
proto.clarifai.api.PostComputeClustersRequest.serializeBinaryToWriter(this, writer);
|
|
71313
|
+
return writer.getResultBuffer();
|
|
71314
|
+
};
|
|
71315
|
+
/**
|
|
71316
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
71317
|
+
* format), writing to the given BinaryWriter.
|
|
71318
|
+
* @param {!proto.clarifai.api.PostComputeClustersRequest} message
|
|
71319
|
+
* @param {!jspb.BinaryWriter} writer
|
|
71320
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71321
|
+
*/
|
|
71322
|
+
proto.clarifai.api.PostComputeClustersRequest.serializeBinaryToWriter = function (message, writer) {
|
|
71323
|
+
var f = undefined;
|
|
71324
|
+
f = message.getUserAppId();
|
|
71325
|
+
if (f != null) {
|
|
71326
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
71327
|
+
}
|
|
71328
|
+
f = message.getComputeClustersList();
|
|
71329
|
+
if (f.length > 0) {
|
|
71330
|
+
writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.ComputeCluster.serializeBinaryToWriter);
|
|
71331
|
+
}
|
|
71332
|
+
};
|
|
71333
|
+
/**
|
|
71334
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
71335
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
71336
|
+
*/
|
|
71337
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.getUserAppId = function () {
|
|
71338
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
71339
|
+
};
|
|
71340
|
+
/**
|
|
71341
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
71342
|
+
* @return {!proto.clarifai.api.PostComputeClustersRequest} returns this
|
|
71343
|
+
*/
|
|
71344
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.setUserAppId = function (value) {
|
|
71345
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
71346
|
+
};
|
|
71347
|
+
/**
|
|
71348
|
+
* Clears the message field making it undefined.
|
|
71349
|
+
* @return {!proto.clarifai.api.PostComputeClustersRequest} returns this
|
|
71350
|
+
*/
|
|
71351
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.clearUserAppId = function () {
|
|
71352
|
+
return this.setUserAppId(undefined);
|
|
71353
|
+
};
|
|
71354
|
+
/**
|
|
71355
|
+
* Returns whether this field is set.
|
|
71356
|
+
* @return {boolean}
|
|
71357
|
+
*/
|
|
71358
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.hasUserAppId = function () {
|
|
71359
|
+
return jspb.Message.getField(this, 1) != null;
|
|
71360
|
+
};
|
|
71361
|
+
/**
|
|
71362
|
+
* repeated ComputeCluster compute_clusters = 2;
|
|
71363
|
+
* @return {!Array<!proto.clarifai.api.ComputeCluster>}
|
|
71364
|
+
*/
|
|
71365
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.getComputeClustersList = function () {
|
|
71366
|
+
return /** @type{!Array<!proto.clarifai.api.ComputeCluster>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.ComputeCluster, 2));
|
|
71367
|
+
};
|
|
71368
|
+
/**
|
|
71369
|
+
* @param {!Array<!proto.clarifai.api.ComputeCluster>} value
|
|
71370
|
+
* @return {!proto.clarifai.api.PostComputeClustersRequest} returns this
|
|
71371
|
+
*/
|
|
71372
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.setComputeClustersList = function (value) {
|
|
71373
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
71374
|
+
};
|
|
71375
|
+
/**
|
|
71376
|
+
* @param {!proto.clarifai.api.ComputeCluster=} opt_value
|
|
71377
|
+
* @param {number=} opt_index
|
|
71378
|
+
* @return {!proto.clarifai.api.ComputeCluster}
|
|
71379
|
+
*/
|
|
71380
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.addComputeClusters = function (opt_value, opt_index) {
|
|
71381
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.ComputeCluster, opt_index);
|
|
71382
|
+
};
|
|
71383
|
+
/**
|
|
71384
|
+
* Clears the list making it empty but non-null.
|
|
71385
|
+
* @return {!proto.clarifai.api.PostComputeClustersRequest} returns this
|
|
71386
|
+
*/
|
|
71387
|
+
proto.clarifai.api.PostComputeClustersRequest.prototype.clearComputeClustersList = function () {
|
|
71388
|
+
return this.setComputeClustersList([]);
|
|
71389
|
+
};
|
|
71390
|
+
/**
|
|
71391
|
+
* List of repeated fields within this message type.
|
|
71392
|
+
* @private {!Array<number>}
|
|
71393
|
+
* @const
|
|
71394
|
+
*/
|
|
71395
|
+
proto.clarifai.api.DeleteComputeClustersRequest.repeatedFields_ = [2];
|
|
71396
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
71397
|
+
/**
|
|
71398
|
+
* Creates an object representation of this proto.
|
|
71399
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
71400
|
+
* Optional fields that are not set will be set to undefined.
|
|
71401
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
71402
|
+
* For the list of reserved names please see:
|
|
71403
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
71404
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
71405
|
+
* JSPB instance for transitional soy proto support:
|
|
71406
|
+
* http://goto/soy-param-migration
|
|
71407
|
+
* @return {!Object}
|
|
71408
|
+
*/
|
|
71409
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.toObject = function (opt_includeInstance) {
|
|
71410
|
+
return proto.clarifai.api.DeleteComputeClustersRequest.toObject(opt_includeInstance, this);
|
|
71411
|
+
};
|
|
71412
|
+
/**
|
|
71413
|
+
* Static version of the {@see toObject} method.
|
|
71414
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
71415
|
+
* the JSPB instance for transitional soy proto support:
|
|
71416
|
+
* http://goto/soy-param-migration
|
|
71417
|
+
* @param {!proto.clarifai.api.DeleteComputeClustersRequest} msg The msg instance to transform.
|
|
71418
|
+
* @return {!Object}
|
|
71419
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71420
|
+
*/
|
|
71421
|
+
proto.clarifai.api.DeleteComputeClustersRequest.toObject = function (includeInstance, msg) {
|
|
71422
|
+
var f, obj = {
|
|
71423
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
71424
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
71425
|
+
};
|
|
71426
|
+
if (includeInstance) {
|
|
71427
|
+
obj.$jspbMessageInstance = msg;
|
|
71428
|
+
}
|
|
71429
|
+
return obj;
|
|
71430
|
+
};
|
|
71431
|
+
}
|
|
71432
|
+
/**
|
|
71433
|
+
* Deserializes binary data (in protobuf wire format).
|
|
71434
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
71435
|
+
* @return {!proto.clarifai.api.DeleteComputeClustersRequest}
|
|
71436
|
+
*/
|
|
71437
|
+
proto.clarifai.api.DeleteComputeClustersRequest.deserializeBinary = function (bytes) {
|
|
71438
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
71439
|
+
var msg = new proto.clarifai.api.DeleteComputeClustersRequest;
|
|
71440
|
+
return proto.clarifai.api.DeleteComputeClustersRequest.deserializeBinaryFromReader(msg, reader);
|
|
71441
|
+
};
|
|
71442
|
+
/**
|
|
71443
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
71444
|
+
* given reader into the given message object.
|
|
71445
|
+
* @param {!proto.clarifai.api.DeleteComputeClustersRequest} msg The message object to deserialize into.
|
|
71446
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
71447
|
+
* @return {!proto.clarifai.api.DeleteComputeClustersRequest}
|
|
71448
|
+
*/
|
|
71449
|
+
proto.clarifai.api.DeleteComputeClustersRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
71450
|
+
while (reader.nextField()) {
|
|
71451
|
+
if (reader.isEndGroup()) {
|
|
71452
|
+
break;
|
|
71453
|
+
}
|
|
71454
|
+
var field = reader.getFieldNumber();
|
|
71455
|
+
switch (field) {
|
|
71456
|
+
case 1:
|
|
71457
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
71458
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
71459
|
+
msg.setUserAppId(value);
|
|
71460
|
+
break;
|
|
71461
|
+
case 2:
|
|
71462
|
+
var value = /** @type {string} */ (reader.readString());
|
|
71463
|
+
msg.addIds(value);
|
|
71464
|
+
break;
|
|
71465
|
+
default:
|
|
71466
|
+
reader.skipField();
|
|
71467
|
+
break;
|
|
71468
|
+
}
|
|
71469
|
+
}
|
|
71470
|
+
return msg;
|
|
71471
|
+
};
|
|
71472
|
+
/**
|
|
71473
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
71474
|
+
* @return {!Uint8Array}
|
|
71475
|
+
*/
|
|
71476
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.serializeBinary = function () {
|
|
71477
|
+
var writer = new jspb.BinaryWriter();
|
|
71478
|
+
proto.clarifai.api.DeleteComputeClustersRequest.serializeBinaryToWriter(this, writer);
|
|
71479
|
+
return writer.getResultBuffer();
|
|
71480
|
+
};
|
|
71481
|
+
/**
|
|
71482
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
71483
|
+
* format), writing to the given BinaryWriter.
|
|
71484
|
+
* @param {!proto.clarifai.api.DeleteComputeClustersRequest} message
|
|
71485
|
+
* @param {!jspb.BinaryWriter} writer
|
|
71486
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71487
|
+
*/
|
|
71488
|
+
proto.clarifai.api.DeleteComputeClustersRequest.serializeBinaryToWriter = function (message, writer) {
|
|
71489
|
+
var f = undefined;
|
|
71490
|
+
f = message.getUserAppId();
|
|
71491
|
+
if (f != null) {
|
|
71492
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
71493
|
+
}
|
|
71494
|
+
f = message.getIdsList();
|
|
71495
|
+
if (f.length > 0) {
|
|
71496
|
+
writer.writeRepeatedString(2, f);
|
|
71497
|
+
}
|
|
71498
|
+
};
|
|
71499
|
+
/**
|
|
71500
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
71501
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
71502
|
+
*/
|
|
71503
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.getUserAppId = function () {
|
|
71504
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
71505
|
+
};
|
|
71506
|
+
/**
|
|
71507
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
71508
|
+
* @return {!proto.clarifai.api.DeleteComputeClustersRequest} returns this
|
|
71509
|
+
*/
|
|
71510
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.setUserAppId = function (value) {
|
|
71511
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
71512
|
+
};
|
|
71513
|
+
/**
|
|
71514
|
+
* Clears the message field making it undefined.
|
|
71515
|
+
* @return {!proto.clarifai.api.DeleteComputeClustersRequest} returns this
|
|
71516
|
+
*/
|
|
71517
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.clearUserAppId = function () {
|
|
71518
|
+
return this.setUserAppId(undefined);
|
|
71519
|
+
};
|
|
71520
|
+
/**
|
|
71521
|
+
* Returns whether this field is set.
|
|
71522
|
+
* @return {boolean}
|
|
71523
|
+
*/
|
|
71524
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.hasUserAppId = function () {
|
|
71525
|
+
return jspb.Message.getField(this, 1) != null;
|
|
71526
|
+
};
|
|
71527
|
+
/**
|
|
71528
|
+
* repeated string ids = 2;
|
|
71529
|
+
* @return {!Array<string>}
|
|
71530
|
+
*/
|
|
71531
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.getIdsList = function () {
|
|
71532
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
71533
|
+
};
|
|
71534
|
+
/**
|
|
71535
|
+
* @param {!Array<string>} value
|
|
71536
|
+
* @return {!proto.clarifai.api.DeleteComputeClustersRequest} returns this
|
|
71537
|
+
*/
|
|
71538
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.setIdsList = function (value) {
|
|
71539
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
71540
|
+
};
|
|
71541
|
+
/**
|
|
71542
|
+
* @param {string} value
|
|
71543
|
+
* @param {number=} opt_index
|
|
71544
|
+
* @return {!proto.clarifai.api.DeleteComputeClustersRequest} returns this
|
|
71545
|
+
*/
|
|
71546
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.addIds = function (value, opt_index) {
|
|
71547
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
71548
|
+
};
|
|
71549
|
+
/**
|
|
71550
|
+
* Clears the list making it empty but non-null.
|
|
71551
|
+
* @return {!proto.clarifai.api.DeleteComputeClustersRequest} returns this
|
|
71552
|
+
*/
|
|
71553
|
+
proto.clarifai.api.DeleteComputeClustersRequest.prototype.clearIdsList = function () {
|
|
71554
|
+
return this.setIdsList([]);
|
|
71555
|
+
};
|
|
71556
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
71557
|
+
/**
|
|
71558
|
+
* Creates an object representation of this proto.
|
|
71559
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
71560
|
+
* Optional fields that are not set will be set to undefined.
|
|
71561
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
71562
|
+
* For the list of reserved names please see:
|
|
71563
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
71564
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
71565
|
+
* JSPB instance for transitional soy proto support:
|
|
71566
|
+
* http://goto/soy-param-migration
|
|
71567
|
+
* @return {!Object}
|
|
71568
|
+
*/
|
|
71569
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.toObject = function (opt_includeInstance) {
|
|
71570
|
+
return proto.clarifai.api.SingleComputeClusterResponse.toObject(opt_includeInstance, this);
|
|
71571
|
+
};
|
|
71572
|
+
/**
|
|
71573
|
+
* Static version of the {@see toObject} method.
|
|
71574
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
71575
|
+
* the JSPB instance for transitional soy proto support:
|
|
71576
|
+
* http://goto/soy-param-migration
|
|
71577
|
+
* @param {!proto.clarifai.api.SingleComputeClusterResponse} msg The msg instance to transform.
|
|
71578
|
+
* @return {!Object}
|
|
71579
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71580
|
+
*/
|
|
71581
|
+
proto.clarifai.api.SingleComputeClusterResponse.toObject = function (includeInstance, msg) {
|
|
71582
|
+
var f, obj = {
|
|
71583
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
71584
|
+
computeCluster: (f = msg.getComputeCluster()) && proto_clarifai_api_resources_pb.ComputeCluster.toObject(includeInstance, f)
|
|
71585
|
+
};
|
|
71586
|
+
if (includeInstance) {
|
|
71587
|
+
obj.$jspbMessageInstance = msg;
|
|
71588
|
+
}
|
|
71589
|
+
return obj;
|
|
71590
|
+
};
|
|
71591
|
+
}
|
|
71592
|
+
/**
|
|
71593
|
+
* Deserializes binary data (in protobuf wire format).
|
|
71594
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
71595
|
+
* @return {!proto.clarifai.api.SingleComputeClusterResponse}
|
|
71596
|
+
*/
|
|
71597
|
+
proto.clarifai.api.SingleComputeClusterResponse.deserializeBinary = function (bytes) {
|
|
71598
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
71599
|
+
var msg = new proto.clarifai.api.SingleComputeClusterResponse;
|
|
71600
|
+
return proto.clarifai.api.SingleComputeClusterResponse.deserializeBinaryFromReader(msg, reader);
|
|
71601
|
+
};
|
|
71602
|
+
/**
|
|
71603
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
71604
|
+
* given reader into the given message object.
|
|
71605
|
+
* @param {!proto.clarifai.api.SingleComputeClusterResponse} msg The message object to deserialize into.
|
|
71606
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
71607
|
+
* @return {!proto.clarifai.api.SingleComputeClusterResponse}
|
|
71608
|
+
*/
|
|
71609
|
+
proto.clarifai.api.SingleComputeClusterResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
71610
|
+
while (reader.nextField()) {
|
|
71611
|
+
if (reader.isEndGroup()) {
|
|
71612
|
+
break;
|
|
71613
|
+
}
|
|
71614
|
+
var field = reader.getFieldNumber();
|
|
71615
|
+
switch (field) {
|
|
71616
|
+
case 1:
|
|
71617
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
71618
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
71619
|
+
msg.setStatus(value);
|
|
71620
|
+
break;
|
|
71621
|
+
case 2:
|
|
71622
|
+
var value = new proto_clarifai_api_resources_pb.ComputeCluster;
|
|
71623
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.ComputeCluster.deserializeBinaryFromReader);
|
|
71624
|
+
msg.setComputeCluster(value);
|
|
71625
|
+
break;
|
|
71626
|
+
default:
|
|
71627
|
+
reader.skipField();
|
|
71628
|
+
break;
|
|
71629
|
+
}
|
|
71630
|
+
}
|
|
71631
|
+
return msg;
|
|
71632
|
+
};
|
|
71633
|
+
/**
|
|
71634
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
71635
|
+
* @return {!Uint8Array}
|
|
71636
|
+
*/
|
|
71637
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.serializeBinary = function () {
|
|
71638
|
+
var writer = new jspb.BinaryWriter();
|
|
71639
|
+
proto.clarifai.api.SingleComputeClusterResponse.serializeBinaryToWriter(this, writer);
|
|
71640
|
+
return writer.getResultBuffer();
|
|
71641
|
+
};
|
|
71642
|
+
/**
|
|
71643
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
71644
|
+
* format), writing to the given BinaryWriter.
|
|
71645
|
+
* @param {!proto.clarifai.api.SingleComputeClusterResponse} message
|
|
71646
|
+
* @param {!jspb.BinaryWriter} writer
|
|
71647
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71648
|
+
*/
|
|
71649
|
+
proto.clarifai.api.SingleComputeClusterResponse.serializeBinaryToWriter = function (message, writer) {
|
|
71650
|
+
var f = undefined;
|
|
71651
|
+
f = message.getStatus();
|
|
71652
|
+
if (f != null) {
|
|
71653
|
+
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
71654
|
+
}
|
|
71655
|
+
f = message.getComputeCluster();
|
|
71656
|
+
if (f != null) {
|
|
71657
|
+
writer.writeMessage(2, f, proto_clarifai_api_resources_pb.ComputeCluster.serializeBinaryToWriter);
|
|
71658
|
+
}
|
|
71659
|
+
};
|
|
71660
|
+
/**
|
|
71661
|
+
* optional status.Status status = 1;
|
|
71662
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
71663
|
+
*/
|
|
71664
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.getStatus = function () {
|
|
71665
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
71666
|
+
};
|
|
71667
|
+
/**
|
|
71668
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
71669
|
+
* @return {!proto.clarifai.api.SingleComputeClusterResponse} returns this
|
|
71670
|
+
*/
|
|
71671
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.setStatus = function (value) {
|
|
71672
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
71673
|
+
};
|
|
71674
|
+
/**
|
|
71675
|
+
* Clears the message field making it undefined.
|
|
71676
|
+
* @return {!proto.clarifai.api.SingleComputeClusterResponse} returns this
|
|
71677
|
+
*/
|
|
71678
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.clearStatus = function () {
|
|
71679
|
+
return this.setStatus(undefined);
|
|
71680
|
+
};
|
|
71681
|
+
/**
|
|
71682
|
+
* Returns whether this field is set.
|
|
71683
|
+
* @return {boolean}
|
|
71684
|
+
*/
|
|
71685
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.hasStatus = function () {
|
|
71686
|
+
return jspb.Message.getField(this, 1) != null;
|
|
71687
|
+
};
|
|
71688
|
+
/**
|
|
71689
|
+
* optional ComputeCluster compute_cluster = 2;
|
|
71690
|
+
* @return {?proto.clarifai.api.ComputeCluster}
|
|
71691
|
+
*/
|
|
71692
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.getComputeCluster = function () {
|
|
71693
|
+
return /** @type{?proto.clarifai.api.ComputeCluster} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.ComputeCluster, 2));
|
|
71694
|
+
};
|
|
71695
|
+
/**
|
|
71696
|
+
* @param {?proto.clarifai.api.ComputeCluster|undefined} value
|
|
71697
|
+
* @return {!proto.clarifai.api.SingleComputeClusterResponse} returns this
|
|
71698
|
+
*/
|
|
71699
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.setComputeCluster = function (value) {
|
|
71700
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
71701
|
+
};
|
|
71702
|
+
/**
|
|
71703
|
+
* Clears the message field making it undefined.
|
|
71704
|
+
* @return {!proto.clarifai.api.SingleComputeClusterResponse} returns this
|
|
71705
|
+
*/
|
|
71706
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.clearComputeCluster = function () {
|
|
71707
|
+
return this.setComputeCluster(undefined);
|
|
71708
|
+
};
|
|
71709
|
+
/**
|
|
71710
|
+
* Returns whether this field is set.
|
|
71711
|
+
* @return {boolean}
|
|
71712
|
+
*/
|
|
71713
|
+
proto.clarifai.api.SingleComputeClusterResponse.prototype.hasComputeCluster = function () {
|
|
71714
|
+
return jspb.Message.getField(this, 2) != null;
|
|
71715
|
+
};
|
|
71716
|
+
/**
|
|
71717
|
+
* List of repeated fields within this message type.
|
|
71718
|
+
* @private {!Array<number>}
|
|
71719
|
+
* @const
|
|
71720
|
+
*/
|
|
71721
|
+
proto.clarifai.api.MultiComputeClusterResponse.repeatedFields_ = [2];
|
|
71722
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
71723
|
+
/**
|
|
71724
|
+
* Creates an object representation of this proto.
|
|
71725
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
71726
|
+
* Optional fields that are not set will be set to undefined.
|
|
71727
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
71728
|
+
* For the list of reserved names please see:
|
|
71729
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
71730
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
71731
|
+
* JSPB instance for transitional soy proto support:
|
|
71732
|
+
* http://goto/soy-param-migration
|
|
71733
|
+
* @return {!Object}
|
|
71734
|
+
*/
|
|
71735
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.toObject = function (opt_includeInstance) {
|
|
71736
|
+
return proto.clarifai.api.MultiComputeClusterResponse.toObject(opt_includeInstance, this);
|
|
71737
|
+
};
|
|
71738
|
+
/**
|
|
71739
|
+
* Static version of the {@see toObject} method.
|
|
71740
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
71741
|
+
* the JSPB instance for transitional soy proto support:
|
|
71742
|
+
* http://goto/soy-param-migration
|
|
71743
|
+
* @param {!proto.clarifai.api.MultiComputeClusterResponse} msg The msg instance to transform.
|
|
71744
|
+
* @return {!Object}
|
|
71745
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71746
|
+
*/
|
|
71747
|
+
proto.clarifai.api.MultiComputeClusterResponse.toObject = function (includeInstance, msg) {
|
|
71748
|
+
var f, obj = {
|
|
71749
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
71750
|
+
computeClustersList: jspb.Message.toObjectList(msg.getComputeClustersList(), proto_clarifai_api_resources_pb.ComputeCluster.toObject, includeInstance)
|
|
71751
|
+
};
|
|
71752
|
+
if (includeInstance) {
|
|
71753
|
+
obj.$jspbMessageInstance = msg;
|
|
71754
|
+
}
|
|
71755
|
+
return obj;
|
|
71756
|
+
};
|
|
71757
|
+
}
|
|
71758
|
+
/**
|
|
71759
|
+
* Deserializes binary data (in protobuf wire format).
|
|
71760
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
71761
|
+
* @return {!proto.clarifai.api.MultiComputeClusterResponse}
|
|
71762
|
+
*/
|
|
71763
|
+
proto.clarifai.api.MultiComputeClusterResponse.deserializeBinary = function (bytes) {
|
|
71764
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
71765
|
+
var msg = new proto.clarifai.api.MultiComputeClusterResponse;
|
|
71766
|
+
return proto.clarifai.api.MultiComputeClusterResponse.deserializeBinaryFromReader(msg, reader);
|
|
71767
|
+
};
|
|
71768
|
+
/**
|
|
71769
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
71770
|
+
* given reader into the given message object.
|
|
71771
|
+
* @param {!proto.clarifai.api.MultiComputeClusterResponse} msg The message object to deserialize into.
|
|
71772
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
71773
|
+
* @return {!proto.clarifai.api.MultiComputeClusterResponse}
|
|
71774
|
+
*/
|
|
71775
|
+
proto.clarifai.api.MultiComputeClusterResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
71776
|
+
while (reader.nextField()) {
|
|
71777
|
+
if (reader.isEndGroup()) {
|
|
71778
|
+
break;
|
|
71779
|
+
}
|
|
71780
|
+
var field = reader.getFieldNumber();
|
|
71781
|
+
switch (field) {
|
|
71782
|
+
case 1:
|
|
71783
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
71784
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
71785
|
+
msg.setStatus(value);
|
|
71786
|
+
break;
|
|
71787
|
+
case 2:
|
|
71788
|
+
var value = new proto_clarifai_api_resources_pb.ComputeCluster;
|
|
71789
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.ComputeCluster.deserializeBinaryFromReader);
|
|
71790
|
+
msg.addComputeClusters(value);
|
|
71791
|
+
break;
|
|
71792
|
+
default:
|
|
71793
|
+
reader.skipField();
|
|
71794
|
+
break;
|
|
71795
|
+
}
|
|
71796
|
+
}
|
|
71797
|
+
return msg;
|
|
71798
|
+
};
|
|
71799
|
+
/**
|
|
71800
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
71801
|
+
* @return {!Uint8Array}
|
|
71802
|
+
*/
|
|
71803
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.serializeBinary = function () {
|
|
71804
|
+
var writer = new jspb.BinaryWriter();
|
|
71805
|
+
proto.clarifai.api.MultiComputeClusterResponse.serializeBinaryToWriter(this, writer);
|
|
71806
|
+
return writer.getResultBuffer();
|
|
71807
|
+
};
|
|
71808
|
+
/**
|
|
71809
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
71810
|
+
* format), writing to the given BinaryWriter.
|
|
71811
|
+
* @param {!proto.clarifai.api.MultiComputeClusterResponse} message
|
|
71812
|
+
* @param {!jspb.BinaryWriter} writer
|
|
71813
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71814
|
+
*/
|
|
71815
|
+
proto.clarifai.api.MultiComputeClusterResponse.serializeBinaryToWriter = function (message, writer) {
|
|
71816
|
+
var f = undefined;
|
|
71817
|
+
f = message.getStatus();
|
|
71818
|
+
if (f != null) {
|
|
71819
|
+
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
71820
|
+
}
|
|
71821
|
+
f = message.getComputeClustersList();
|
|
71822
|
+
if (f.length > 0) {
|
|
71823
|
+
writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.ComputeCluster.serializeBinaryToWriter);
|
|
71824
|
+
}
|
|
71825
|
+
};
|
|
71826
|
+
/**
|
|
71827
|
+
* optional status.Status status = 1;
|
|
71828
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
71829
|
+
*/
|
|
71830
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.getStatus = function () {
|
|
71831
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
71832
|
+
};
|
|
71833
|
+
/**
|
|
71834
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
71835
|
+
* @return {!proto.clarifai.api.MultiComputeClusterResponse} returns this
|
|
71836
|
+
*/
|
|
71837
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.setStatus = function (value) {
|
|
71838
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
71839
|
+
};
|
|
71840
|
+
/**
|
|
71841
|
+
* Clears the message field making it undefined.
|
|
71842
|
+
* @return {!proto.clarifai.api.MultiComputeClusterResponse} returns this
|
|
71843
|
+
*/
|
|
71844
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.clearStatus = function () {
|
|
71845
|
+
return this.setStatus(undefined);
|
|
71846
|
+
};
|
|
71847
|
+
/**
|
|
71848
|
+
* Returns whether this field is set.
|
|
71849
|
+
* @return {boolean}
|
|
71850
|
+
*/
|
|
71851
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.hasStatus = function () {
|
|
71852
|
+
return jspb.Message.getField(this, 1) != null;
|
|
71853
|
+
};
|
|
71854
|
+
/**
|
|
71855
|
+
* repeated ComputeCluster compute_clusters = 2;
|
|
71856
|
+
* @return {!Array<!proto.clarifai.api.ComputeCluster>}
|
|
71857
|
+
*/
|
|
71858
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.getComputeClustersList = function () {
|
|
71859
|
+
return /** @type{!Array<!proto.clarifai.api.ComputeCluster>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.ComputeCluster, 2));
|
|
71860
|
+
};
|
|
71861
|
+
/**
|
|
71862
|
+
* @param {!Array<!proto.clarifai.api.ComputeCluster>} value
|
|
71863
|
+
* @return {!proto.clarifai.api.MultiComputeClusterResponse} returns this
|
|
71864
|
+
*/
|
|
71865
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.setComputeClustersList = function (value) {
|
|
71866
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
71867
|
+
};
|
|
71868
|
+
/**
|
|
71869
|
+
* @param {!proto.clarifai.api.ComputeCluster=} opt_value
|
|
71870
|
+
* @param {number=} opt_index
|
|
71871
|
+
* @return {!proto.clarifai.api.ComputeCluster}
|
|
71872
|
+
*/
|
|
71873
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.addComputeClusters = function (opt_value, opt_index) {
|
|
71874
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.ComputeCluster, opt_index);
|
|
71875
|
+
};
|
|
71876
|
+
/**
|
|
71877
|
+
* Clears the list making it empty but non-null.
|
|
71878
|
+
* @return {!proto.clarifai.api.MultiComputeClusterResponse} returns this
|
|
71879
|
+
*/
|
|
71880
|
+
proto.clarifai.api.MultiComputeClusterResponse.prototype.clearComputeClustersList = function () {
|
|
71881
|
+
return this.setComputeClustersList([]);
|
|
71882
|
+
};
|
|
71883
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
71884
|
+
/**
|
|
71885
|
+
* Creates an object representation of this proto.
|
|
71886
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
71887
|
+
* Optional fields that are not set will be set to undefined.
|
|
71888
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
71889
|
+
* For the list of reserved names please see:
|
|
71890
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
71891
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
71892
|
+
* JSPB instance for transitional soy proto support:
|
|
71893
|
+
* http://goto/soy-param-migration
|
|
71894
|
+
* @return {!Object}
|
|
71895
|
+
*/
|
|
71896
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.toObject = function (opt_includeInstance) {
|
|
71897
|
+
return proto.clarifai.api.GetNodepoolRequest.toObject(opt_includeInstance, this);
|
|
71898
|
+
};
|
|
71899
|
+
/**
|
|
71900
|
+
* Static version of the {@see toObject} method.
|
|
71901
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
71902
|
+
* the JSPB instance for transitional soy proto support:
|
|
71903
|
+
* http://goto/soy-param-migration
|
|
71904
|
+
* @param {!proto.clarifai.api.GetNodepoolRequest} msg The msg instance to transform.
|
|
71905
|
+
* @return {!Object}
|
|
71906
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71907
|
+
*/
|
|
71908
|
+
proto.clarifai.api.GetNodepoolRequest.toObject = function (includeInstance, msg) {
|
|
71909
|
+
var f, obj = {
|
|
71910
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
71911
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
71912
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
71913
|
+
};
|
|
71914
|
+
if (includeInstance) {
|
|
71915
|
+
obj.$jspbMessageInstance = msg;
|
|
71916
|
+
}
|
|
71917
|
+
return obj;
|
|
71918
|
+
};
|
|
71919
|
+
}
|
|
71920
|
+
/**
|
|
71921
|
+
* Deserializes binary data (in protobuf wire format).
|
|
71922
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
71923
|
+
* @return {!proto.clarifai.api.GetNodepoolRequest}
|
|
71924
|
+
*/
|
|
71925
|
+
proto.clarifai.api.GetNodepoolRequest.deserializeBinary = function (bytes) {
|
|
71926
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
71927
|
+
var msg = new proto.clarifai.api.GetNodepoolRequest;
|
|
71928
|
+
return proto.clarifai.api.GetNodepoolRequest.deserializeBinaryFromReader(msg, reader);
|
|
71929
|
+
};
|
|
71930
|
+
/**
|
|
71931
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
71932
|
+
* given reader into the given message object.
|
|
71933
|
+
* @param {!proto.clarifai.api.GetNodepoolRequest} msg The message object to deserialize into.
|
|
71934
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
71935
|
+
* @return {!proto.clarifai.api.GetNodepoolRequest}
|
|
71936
|
+
*/
|
|
71937
|
+
proto.clarifai.api.GetNodepoolRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
71938
|
+
while (reader.nextField()) {
|
|
71939
|
+
if (reader.isEndGroup()) {
|
|
71940
|
+
break;
|
|
71941
|
+
}
|
|
71942
|
+
var field = reader.getFieldNumber();
|
|
71943
|
+
switch (field) {
|
|
71944
|
+
case 1:
|
|
71945
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
71946
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
71947
|
+
msg.setUserAppId(value);
|
|
71948
|
+
break;
|
|
71949
|
+
case 2:
|
|
71950
|
+
var value = /** @type {string} */ (reader.readString());
|
|
71951
|
+
msg.setComputeClusterId(value);
|
|
71952
|
+
break;
|
|
71953
|
+
case 3:
|
|
71954
|
+
var value = /** @type {string} */ (reader.readString());
|
|
71955
|
+
msg.setNodepoolId(value);
|
|
71956
|
+
break;
|
|
71957
|
+
default:
|
|
71958
|
+
reader.skipField();
|
|
71959
|
+
break;
|
|
71960
|
+
}
|
|
71961
|
+
}
|
|
71962
|
+
return msg;
|
|
71963
|
+
};
|
|
71964
|
+
/**
|
|
71965
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
71966
|
+
* @return {!Uint8Array}
|
|
71967
|
+
*/
|
|
71968
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.serializeBinary = function () {
|
|
71969
|
+
var writer = new jspb.BinaryWriter();
|
|
71970
|
+
proto.clarifai.api.GetNodepoolRequest.serializeBinaryToWriter(this, writer);
|
|
71971
|
+
return writer.getResultBuffer();
|
|
71972
|
+
};
|
|
71973
|
+
/**
|
|
71974
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
71975
|
+
* format), writing to the given BinaryWriter.
|
|
71976
|
+
* @param {!proto.clarifai.api.GetNodepoolRequest} message
|
|
71977
|
+
* @param {!jspb.BinaryWriter} writer
|
|
71978
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71979
|
+
*/
|
|
71980
|
+
proto.clarifai.api.GetNodepoolRequest.serializeBinaryToWriter = function (message, writer) {
|
|
71981
|
+
var f = undefined;
|
|
71982
|
+
f = message.getUserAppId();
|
|
71983
|
+
if (f != null) {
|
|
71984
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
71985
|
+
}
|
|
71986
|
+
f = message.getComputeClusterId();
|
|
71987
|
+
if (f.length > 0) {
|
|
71988
|
+
writer.writeString(2, f);
|
|
71989
|
+
}
|
|
71990
|
+
f = message.getNodepoolId();
|
|
71991
|
+
if (f.length > 0) {
|
|
71992
|
+
writer.writeString(3, f);
|
|
71993
|
+
}
|
|
71994
|
+
};
|
|
71995
|
+
/**
|
|
71996
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
71997
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
71998
|
+
*/
|
|
71999
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.getUserAppId = function () {
|
|
72000
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
72001
|
+
};
|
|
72002
|
+
/**
|
|
72003
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
72004
|
+
* @return {!proto.clarifai.api.GetNodepoolRequest} returns this
|
|
72005
|
+
*/
|
|
72006
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.setUserAppId = function (value) {
|
|
72007
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
72008
|
+
};
|
|
72009
|
+
/**
|
|
72010
|
+
* Clears the message field making it undefined.
|
|
72011
|
+
* @return {!proto.clarifai.api.GetNodepoolRequest} returns this
|
|
72012
|
+
*/
|
|
72013
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.clearUserAppId = function () {
|
|
72014
|
+
return this.setUserAppId(undefined);
|
|
72015
|
+
};
|
|
72016
|
+
/**
|
|
72017
|
+
* Returns whether this field is set.
|
|
72018
|
+
* @return {boolean}
|
|
72019
|
+
*/
|
|
72020
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.hasUserAppId = function () {
|
|
72021
|
+
return jspb.Message.getField(this, 1) != null;
|
|
72022
|
+
};
|
|
72023
|
+
/**
|
|
72024
|
+
* optional string compute_cluster_id = 2;
|
|
72025
|
+
* @return {string}
|
|
72026
|
+
*/
|
|
72027
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.getComputeClusterId = function () {
|
|
72028
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
72029
|
+
};
|
|
72030
|
+
/**
|
|
72031
|
+
* @param {string} value
|
|
72032
|
+
* @return {!proto.clarifai.api.GetNodepoolRequest} returns this
|
|
72033
|
+
*/
|
|
72034
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.setComputeClusterId = function (value) {
|
|
72035
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
72036
|
+
};
|
|
72037
|
+
/**
|
|
72038
|
+
* optional string nodepool_id = 3;
|
|
72039
|
+
* @return {string}
|
|
72040
|
+
*/
|
|
72041
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.getNodepoolId = function () {
|
|
72042
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
72043
|
+
};
|
|
72044
|
+
/**
|
|
72045
|
+
* @param {string} value
|
|
72046
|
+
* @return {!proto.clarifai.api.GetNodepoolRequest} returns this
|
|
72047
|
+
*/
|
|
72048
|
+
proto.clarifai.api.GetNodepoolRequest.prototype.setNodepoolId = function (value) {
|
|
72049
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
72050
|
+
};
|
|
72051
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
72052
|
+
/**
|
|
72053
|
+
* Creates an object representation of this proto.
|
|
72054
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
72055
|
+
* Optional fields that are not set will be set to undefined.
|
|
72056
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
72057
|
+
* For the list of reserved names please see:
|
|
72058
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
72059
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
72060
|
+
* JSPB instance for transitional soy proto support:
|
|
72061
|
+
* http://goto/soy-param-migration
|
|
72062
|
+
* @return {!Object}
|
|
72063
|
+
*/
|
|
72064
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
72065
|
+
return proto.clarifai.api.ListNodepoolsRequest.toObject(opt_includeInstance, this);
|
|
72066
|
+
};
|
|
72067
|
+
/**
|
|
72068
|
+
* Static version of the {@see toObject} method.
|
|
72069
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
72070
|
+
* the JSPB instance for transitional soy proto support:
|
|
72071
|
+
* http://goto/soy-param-migration
|
|
72072
|
+
* @param {!proto.clarifai.api.ListNodepoolsRequest} msg The msg instance to transform.
|
|
72073
|
+
* @return {!Object}
|
|
72074
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72075
|
+
*/
|
|
72076
|
+
proto.clarifai.api.ListNodepoolsRequest.toObject = function (includeInstance, msg) {
|
|
72077
|
+
var f, obj = {
|
|
72078
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
72079
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
72080
|
+
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
72081
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
72082
|
+
};
|
|
72083
|
+
if (includeInstance) {
|
|
72084
|
+
obj.$jspbMessageInstance = msg;
|
|
72085
|
+
}
|
|
72086
|
+
return obj;
|
|
72087
|
+
};
|
|
72088
|
+
}
|
|
72089
|
+
/**
|
|
72090
|
+
* Deserializes binary data (in protobuf wire format).
|
|
72091
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
72092
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest}
|
|
72093
|
+
*/
|
|
72094
|
+
proto.clarifai.api.ListNodepoolsRequest.deserializeBinary = function (bytes) {
|
|
72095
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
72096
|
+
var msg = new proto.clarifai.api.ListNodepoolsRequest;
|
|
72097
|
+
return proto.clarifai.api.ListNodepoolsRequest.deserializeBinaryFromReader(msg, reader);
|
|
72098
|
+
};
|
|
72099
|
+
/**
|
|
72100
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
72101
|
+
* given reader into the given message object.
|
|
72102
|
+
* @param {!proto.clarifai.api.ListNodepoolsRequest} msg The message object to deserialize into.
|
|
72103
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
72104
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest}
|
|
72105
|
+
*/
|
|
72106
|
+
proto.clarifai.api.ListNodepoolsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
72107
|
+
while (reader.nextField()) {
|
|
72108
|
+
if (reader.isEndGroup()) {
|
|
72109
|
+
break;
|
|
72110
|
+
}
|
|
72111
|
+
var field = reader.getFieldNumber();
|
|
72112
|
+
switch (field) {
|
|
72113
|
+
case 1:
|
|
72114
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
72115
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
72116
|
+
msg.setUserAppId(value);
|
|
72117
|
+
break;
|
|
72118
|
+
case 2:
|
|
72119
|
+
var value = /** @type {string} */ (reader.readString());
|
|
72120
|
+
msg.setComputeClusterId(value);
|
|
72121
|
+
break;
|
|
72122
|
+
case 3:
|
|
72123
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
72124
|
+
msg.setPage(value);
|
|
72125
|
+
break;
|
|
72126
|
+
case 4:
|
|
72127
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
72128
|
+
msg.setPerPage(value);
|
|
72129
|
+
break;
|
|
72130
|
+
default:
|
|
72131
|
+
reader.skipField();
|
|
72132
|
+
break;
|
|
72133
|
+
}
|
|
72134
|
+
}
|
|
72135
|
+
return msg;
|
|
72136
|
+
};
|
|
72137
|
+
/**
|
|
72138
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
72139
|
+
* @return {!Uint8Array}
|
|
72140
|
+
*/
|
|
72141
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.serializeBinary = function () {
|
|
72142
|
+
var writer = new jspb.BinaryWriter();
|
|
72143
|
+
proto.clarifai.api.ListNodepoolsRequest.serializeBinaryToWriter(this, writer);
|
|
72144
|
+
return writer.getResultBuffer();
|
|
72145
|
+
};
|
|
72146
|
+
/**
|
|
72147
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
72148
|
+
* format), writing to the given BinaryWriter.
|
|
72149
|
+
* @param {!proto.clarifai.api.ListNodepoolsRequest} message
|
|
72150
|
+
* @param {!jspb.BinaryWriter} writer
|
|
72151
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72152
|
+
*/
|
|
72153
|
+
proto.clarifai.api.ListNodepoolsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
72154
|
+
var f = undefined;
|
|
72155
|
+
f = message.getUserAppId();
|
|
72156
|
+
if (f != null) {
|
|
72157
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
72158
|
+
}
|
|
72159
|
+
f = message.getComputeClusterId();
|
|
72160
|
+
if (f.length > 0) {
|
|
72161
|
+
writer.writeString(2, f);
|
|
72162
|
+
}
|
|
72163
|
+
f = message.getPage();
|
|
72164
|
+
if (f !== 0) {
|
|
72165
|
+
writer.writeUint32(3, f);
|
|
72166
|
+
}
|
|
72167
|
+
f = message.getPerPage();
|
|
72168
|
+
if (f !== 0) {
|
|
72169
|
+
writer.writeUint32(4, f);
|
|
72170
|
+
}
|
|
72171
|
+
};
|
|
72172
|
+
/**
|
|
72173
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
72174
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
72175
|
+
*/
|
|
72176
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.getUserAppId = function () {
|
|
72177
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
72178
|
+
};
|
|
72179
|
+
/**
|
|
72180
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
72181
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
|
|
72182
|
+
*/
|
|
72183
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.setUserAppId = function (value) {
|
|
72184
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
72185
|
+
};
|
|
72186
|
+
/**
|
|
72187
|
+
* Clears the message field making it undefined.
|
|
72188
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
|
|
72189
|
+
*/
|
|
72190
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.clearUserAppId = function () {
|
|
72191
|
+
return this.setUserAppId(undefined);
|
|
72192
|
+
};
|
|
72193
|
+
/**
|
|
72194
|
+
* Returns whether this field is set.
|
|
72195
|
+
* @return {boolean}
|
|
72196
|
+
*/
|
|
72197
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.hasUserAppId = function () {
|
|
72198
|
+
return jspb.Message.getField(this, 1) != null;
|
|
72199
|
+
};
|
|
72200
|
+
/**
|
|
72201
|
+
* optional string compute_cluster_id = 2;
|
|
72202
|
+
* @return {string}
|
|
72203
|
+
*/
|
|
72204
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.getComputeClusterId = function () {
|
|
72205
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
72206
|
+
};
|
|
72207
|
+
/**
|
|
72208
|
+
* @param {string} value
|
|
72209
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
|
|
72210
|
+
*/
|
|
72211
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.setComputeClusterId = function (value) {
|
|
72212
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
72213
|
+
};
|
|
72214
|
+
/**
|
|
72215
|
+
* optional uint32 page = 3;
|
|
72216
|
+
* @return {number}
|
|
72217
|
+
*/
|
|
72218
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.getPage = function () {
|
|
72219
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
72220
|
+
};
|
|
72221
|
+
/**
|
|
72222
|
+
* @param {number} value
|
|
72223
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
|
|
72224
|
+
*/
|
|
72225
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.setPage = function (value) {
|
|
72226
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
72227
|
+
};
|
|
72228
|
+
/**
|
|
72229
|
+
* optional uint32 per_page = 4;
|
|
72230
|
+
* @return {number}
|
|
72231
|
+
*/
|
|
72232
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.getPerPage = function () {
|
|
72233
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
72234
|
+
};
|
|
72235
|
+
/**
|
|
72236
|
+
* @param {number} value
|
|
72237
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
|
|
72238
|
+
*/
|
|
72239
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.setPerPage = function (value) {
|
|
72240
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
72241
|
+
};
|
|
72242
|
+
/**
|
|
72243
|
+
* List of repeated fields within this message type.
|
|
72244
|
+
* @private {!Array<number>}
|
|
72245
|
+
* @const
|
|
72246
|
+
*/
|
|
72247
|
+
proto.clarifai.api.PostNodepoolsRequest.repeatedFields_ = [3];
|
|
72248
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
72249
|
+
/**
|
|
72250
|
+
* Creates an object representation of this proto.
|
|
72251
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
72252
|
+
* Optional fields that are not set will be set to undefined.
|
|
72253
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
72254
|
+
* For the list of reserved names please see:
|
|
72255
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
72256
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
72257
|
+
* JSPB instance for transitional soy proto support:
|
|
72258
|
+
* http://goto/soy-param-migration
|
|
72259
|
+
* @return {!Object}
|
|
72260
|
+
*/
|
|
72261
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
72262
|
+
return proto.clarifai.api.PostNodepoolsRequest.toObject(opt_includeInstance, this);
|
|
72263
|
+
};
|
|
72264
|
+
/**
|
|
72265
|
+
* Static version of the {@see toObject} method.
|
|
72266
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
72267
|
+
* the JSPB instance for transitional soy proto support:
|
|
72268
|
+
* http://goto/soy-param-migration
|
|
72269
|
+
* @param {!proto.clarifai.api.PostNodepoolsRequest} msg The msg instance to transform.
|
|
72270
|
+
* @return {!Object}
|
|
72271
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72272
|
+
*/
|
|
72273
|
+
proto.clarifai.api.PostNodepoolsRequest.toObject = function (includeInstance, msg) {
|
|
72274
|
+
var f, obj = {
|
|
72275
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
72276
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
72277
|
+
nodepoolsList: jspb.Message.toObjectList(msg.getNodepoolsList(), proto_clarifai_api_resources_pb.Nodepool.toObject, includeInstance)
|
|
72278
|
+
};
|
|
72279
|
+
if (includeInstance) {
|
|
72280
|
+
obj.$jspbMessageInstance = msg;
|
|
72281
|
+
}
|
|
72282
|
+
return obj;
|
|
72283
|
+
};
|
|
72284
|
+
}
|
|
72285
|
+
/**
|
|
72286
|
+
* Deserializes binary data (in protobuf wire format).
|
|
72287
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
72288
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest}
|
|
72289
|
+
*/
|
|
72290
|
+
proto.clarifai.api.PostNodepoolsRequest.deserializeBinary = function (bytes) {
|
|
72291
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
72292
|
+
var msg = new proto.clarifai.api.PostNodepoolsRequest;
|
|
72293
|
+
return proto.clarifai.api.PostNodepoolsRequest.deserializeBinaryFromReader(msg, reader);
|
|
72294
|
+
};
|
|
72295
|
+
/**
|
|
72296
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
72297
|
+
* given reader into the given message object.
|
|
72298
|
+
* @param {!proto.clarifai.api.PostNodepoolsRequest} msg The message object to deserialize into.
|
|
72299
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
72300
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest}
|
|
72301
|
+
*/
|
|
72302
|
+
proto.clarifai.api.PostNodepoolsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
72303
|
+
while (reader.nextField()) {
|
|
72304
|
+
if (reader.isEndGroup()) {
|
|
72305
|
+
break;
|
|
72306
|
+
}
|
|
72307
|
+
var field = reader.getFieldNumber();
|
|
72308
|
+
switch (field) {
|
|
72309
|
+
case 1:
|
|
72310
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
72311
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
72312
|
+
msg.setUserAppId(value);
|
|
72313
|
+
break;
|
|
72314
|
+
case 2:
|
|
72315
|
+
var value = /** @type {string} */ (reader.readString());
|
|
72316
|
+
msg.setComputeClusterId(value);
|
|
72317
|
+
break;
|
|
72318
|
+
case 3:
|
|
72319
|
+
var value = new proto_clarifai_api_resources_pb.Nodepool;
|
|
72320
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
|
|
72321
|
+
msg.addNodepools(value);
|
|
72322
|
+
break;
|
|
72323
|
+
default:
|
|
72324
|
+
reader.skipField();
|
|
72325
|
+
break;
|
|
72326
|
+
}
|
|
72327
|
+
}
|
|
72328
|
+
return msg;
|
|
72329
|
+
};
|
|
72330
|
+
/**
|
|
72331
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
72332
|
+
* @return {!Uint8Array}
|
|
72333
|
+
*/
|
|
72334
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.serializeBinary = function () {
|
|
72335
|
+
var writer = new jspb.BinaryWriter();
|
|
72336
|
+
proto.clarifai.api.PostNodepoolsRequest.serializeBinaryToWriter(this, writer);
|
|
72337
|
+
return writer.getResultBuffer();
|
|
72338
|
+
};
|
|
72339
|
+
/**
|
|
72340
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
72341
|
+
* format), writing to the given BinaryWriter.
|
|
72342
|
+
* @param {!proto.clarifai.api.PostNodepoolsRequest} message
|
|
72343
|
+
* @param {!jspb.BinaryWriter} writer
|
|
72344
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72345
|
+
*/
|
|
72346
|
+
proto.clarifai.api.PostNodepoolsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
72347
|
+
var f = undefined;
|
|
72348
|
+
f = message.getUserAppId();
|
|
72349
|
+
if (f != null) {
|
|
72350
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
72351
|
+
}
|
|
72352
|
+
f = message.getComputeClusterId();
|
|
72353
|
+
if (f.length > 0) {
|
|
72354
|
+
writer.writeString(2, f);
|
|
72355
|
+
}
|
|
72356
|
+
f = message.getNodepoolsList();
|
|
72357
|
+
if (f.length > 0) {
|
|
72358
|
+
writer.writeRepeatedMessage(3, f, proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter);
|
|
72359
|
+
}
|
|
72360
|
+
};
|
|
72361
|
+
/**
|
|
72362
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
72363
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
72364
|
+
*/
|
|
72365
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.getUserAppId = function () {
|
|
72366
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
72367
|
+
};
|
|
72368
|
+
/**
|
|
72369
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
72370
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
|
|
72371
|
+
*/
|
|
72372
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.setUserAppId = function (value) {
|
|
72373
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
72374
|
+
};
|
|
72375
|
+
/**
|
|
72376
|
+
* Clears the message field making it undefined.
|
|
72377
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
|
|
72378
|
+
*/
|
|
72379
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.clearUserAppId = function () {
|
|
72380
|
+
return this.setUserAppId(undefined);
|
|
72381
|
+
};
|
|
72382
|
+
/**
|
|
72383
|
+
* Returns whether this field is set.
|
|
72384
|
+
* @return {boolean}
|
|
72385
|
+
*/
|
|
72386
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.hasUserAppId = function () {
|
|
72387
|
+
return jspb.Message.getField(this, 1) != null;
|
|
72388
|
+
};
|
|
72389
|
+
/**
|
|
72390
|
+
* optional string compute_cluster_id = 2;
|
|
72391
|
+
* @return {string}
|
|
72392
|
+
*/
|
|
72393
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.getComputeClusterId = function () {
|
|
72394
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
72395
|
+
};
|
|
72396
|
+
/**
|
|
72397
|
+
* @param {string} value
|
|
72398
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
|
|
72399
|
+
*/
|
|
72400
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.setComputeClusterId = function (value) {
|
|
72401
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
72402
|
+
};
|
|
72403
|
+
/**
|
|
72404
|
+
* repeated Nodepool nodepools = 3;
|
|
72405
|
+
* @return {!Array<!proto.clarifai.api.Nodepool>}
|
|
72406
|
+
*/
|
|
72407
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.getNodepoolsList = function () {
|
|
72408
|
+
return /** @type{!Array<!proto.clarifai.api.Nodepool>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 3));
|
|
72409
|
+
};
|
|
72410
|
+
/**
|
|
72411
|
+
* @param {!Array<!proto.clarifai.api.Nodepool>} value
|
|
72412
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
|
|
72413
|
+
*/
|
|
72414
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.setNodepoolsList = function (value) {
|
|
72415
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
72416
|
+
};
|
|
72417
|
+
/**
|
|
72418
|
+
* @param {!proto.clarifai.api.Nodepool=} opt_value
|
|
72419
|
+
* @param {number=} opt_index
|
|
72420
|
+
* @return {!proto.clarifai.api.Nodepool}
|
|
72421
|
+
*/
|
|
72422
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.addNodepools = function (opt_value, opt_index) {
|
|
72423
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.Nodepool, opt_index);
|
|
72424
|
+
};
|
|
72425
|
+
/**
|
|
72426
|
+
* Clears the list making it empty but non-null.
|
|
72427
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
|
|
72428
|
+
*/
|
|
72429
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.clearNodepoolsList = function () {
|
|
72430
|
+
return this.setNodepoolsList([]);
|
|
72431
|
+
};
|
|
72432
|
+
/**
|
|
72433
|
+
* List of repeated fields within this message type.
|
|
72434
|
+
* @private {!Array<number>}
|
|
72435
|
+
* @const
|
|
72436
|
+
*/
|
|
72437
|
+
proto.clarifai.api.PatchNodepoolsRequest.repeatedFields_ = [3];
|
|
72438
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
72439
|
+
/**
|
|
72440
|
+
* Creates an object representation of this proto.
|
|
72441
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
72442
|
+
* Optional fields that are not set will be set to undefined.
|
|
72443
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
72444
|
+
* For the list of reserved names please see:
|
|
72445
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
72446
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
72447
|
+
* JSPB instance for transitional soy proto support:
|
|
72448
|
+
* http://goto/soy-param-migration
|
|
72449
|
+
* @return {!Object}
|
|
72450
|
+
*/
|
|
72451
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
72452
|
+
return proto.clarifai.api.PatchNodepoolsRequest.toObject(opt_includeInstance, this);
|
|
72453
|
+
};
|
|
72454
|
+
/**
|
|
72455
|
+
* Static version of the {@see toObject} method.
|
|
72456
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
72457
|
+
* the JSPB instance for transitional soy proto support:
|
|
72458
|
+
* http://goto/soy-param-migration
|
|
72459
|
+
* @param {!proto.clarifai.api.PatchNodepoolsRequest} msg The msg instance to transform.
|
|
72460
|
+
* @return {!Object}
|
|
72461
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72462
|
+
*/
|
|
72463
|
+
proto.clarifai.api.PatchNodepoolsRequest.toObject = function (includeInstance, msg) {
|
|
72464
|
+
var f, obj = {
|
|
72465
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
72466
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
72467
|
+
nodepoolsList: jspb.Message.toObjectList(msg.getNodepoolsList(), proto_clarifai_api_resources_pb.Nodepool.toObject, includeInstance),
|
|
72468
|
+
action: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
72469
|
+
};
|
|
72470
|
+
if (includeInstance) {
|
|
72471
|
+
obj.$jspbMessageInstance = msg;
|
|
72472
|
+
}
|
|
72473
|
+
return obj;
|
|
72474
|
+
};
|
|
72475
|
+
}
|
|
72476
|
+
/**
|
|
72477
|
+
* Deserializes binary data (in protobuf wire format).
|
|
72478
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
72479
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest}
|
|
72480
|
+
*/
|
|
72481
|
+
proto.clarifai.api.PatchNodepoolsRequest.deserializeBinary = function (bytes) {
|
|
72482
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
72483
|
+
var msg = new proto.clarifai.api.PatchNodepoolsRequest;
|
|
72484
|
+
return proto.clarifai.api.PatchNodepoolsRequest.deserializeBinaryFromReader(msg, reader);
|
|
72485
|
+
};
|
|
72486
|
+
/**
|
|
72487
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
72488
|
+
* given reader into the given message object.
|
|
72489
|
+
* @param {!proto.clarifai.api.PatchNodepoolsRequest} msg The message object to deserialize into.
|
|
72490
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
72491
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest}
|
|
72492
|
+
*/
|
|
72493
|
+
proto.clarifai.api.PatchNodepoolsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
72494
|
+
while (reader.nextField()) {
|
|
72495
|
+
if (reader.isEndGroup()) {
|
|
72496
|
+
break;
|
|
72497
|
+
}
|
|
72498
|
+
var field = reader.getFieldNumber();
|
|
72499
|
+
switch (field) {
|
|
72500
|
+
case 1:
|
|
72501
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
72502
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
72503
|
+
msg.setUserAppId(value);
|
|
72504
|
+
break;
|
|
72505
|
+
case 2:
|
|
72506
|
+
var value = /** @type {string} */ (reader.readString());
|
|
72507
|
+
msg.setComputeClusterId(value);
|
|
72508
|
+
break;
|
|
72509
|
+
case 3:
|
|
72510
|
+
var value = new proto_clarifai_api_resources_pb.Nodepool;
|
|
72511
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
|
|
72512
|
+
msg.addNodepools(value);
|
|
72513
|
+
break;
|
|
72514
|
+
case 4:
|
|
72515
|
+
var value = /** @type {string} */ (reader.readString());
|
|
72516
|
+
msg.setAction(value);
|
|
72517
|
+
break;
|
|
72518
|
+
default:
|
|
72519
|
+
reader.skipField();
|
|
72520
|
+
break;
|
|
72521
|
+
}
|
|
72522
|
+
}
|
|
72523
|
+
return msg;
|
|
72524
|
+
};
|
|
72525
|
+
/**
|
|
72526
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
72527
|
+
* @return {!Uint8Array}
|
|
72528
|
+
*/
|
|
72529
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.serializeBinary = function () {
|
|
72530
|
+
var writer = new jspb.BinaryWriter();
|
|
72531
|
+
proto.clarifai.api.PatchNodepoolsRequest.serializeBinaryToWriter(this, writer);
|
|
72532
|
+
return writer.getResultBuffer();
|
|
72533
|
+
};
|
|
72534
|
+
/**
|
|
72535
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
72536
|
+
* format), writing to the given BinaryWriter.
|
|
72537
|
+
* @param {!proto.clarifai.api.PatchNodepoolsRequest} message
|
|
72538
|
+
* @param {!jspb.BinaryWriter} writer
|
|
72539
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72540
|
+
*/
|
|
72541
|
+
proto.clarifai.api.PatchNodepoolsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
72542
|
+
var f = undefined;
|
|
72543
|
+
f = message.getUserAppId();
|
|
72544
|
+
if (f != null) {
|
|
72545
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
72546
|
+
}
|
|
72547
|
+
f = message.getComputeClusterId();
|
|
72548
|
+
if (f.length > 0) {
|
|
72549
|
+
writer.writeString(2, f);
|
|
72550
|
+
}
|
|
72551
|
+
f = message.getNodepoolsList();
|
|
72552
|
+
if (f.length > 0) {
|
|
72553
|
+
writer.writeRepeatedMessage(3, f, proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter);
|
|
72554
|
+
}
|
|
72555
|
+
f = message.getAction();
|
|
72556
|
+
if (f.length > 0) {
|
|
72557
|
+
writer.writeString(4, f);
|
|
72558
|
+
}
|
|
72559
|
+
};
|
|
72560
|
+
/**
|
|
72561
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
72562
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
72563
|
+
*/
|
|
72564
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.getUserAppId = function () {
|
|
72565
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
72566
|
+
};
|
|
72567
|
+
/**
|
|
72568
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
72569
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
72570
|
+
*/
|
|
72571
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.setUserAppId = function (value) {
|
|
72572
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
72573
|
+
};
|
|
72574
|
+
/**
|
|
72575
|
+
* Clears the message field making it undefined.
|
|
72576
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
72577
|
+
*/
|
|
72578
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.clearUserAppId = function () {
|
|
72579
|
+
return this.setUserAppId(undefined);
|
|
72580
|
+
};
|
|
72581
|
+
/**
|
|
72582
|
+
* Returns whether this field is set.
|
|
72583
|
+
* @return {boolean}
|
|
72584
|
+
*/
|
|
72585
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.hasUserAppId = function () {
|
|
72586
|
+
return jspb.Message.getField(this, 1) != null;
|
|
72587
|
+
};
|
|
72588
|
+
/**
|
|
72589
|
+
* optional string compute_cluster_id = 2;
|
|
72590
|
+
* @return {string}
|
|
72591
|
+
*/
|
|
72592
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.getComputeClusterId = function () {
|
|
72593
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
72594
|
+
};
|
|
72595
|
+
/**
|
|
72596
|
+
* @param {string} value
|
|
72597
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
72598
|
+
*/
|
|
72599
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.setComputeClusterId = function (value) {
|
|
72600
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
72601
|
+
};
|
|
72602
|
+
/**
|
|
72603
|
+
* repeated Nodepool nodepools = 3;
|
|
72604
|
+
* @return {!Array<!proto.clarifai.api.Nodepool>}
|
|
72605
|
+
*/
|
|
72606
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.getNodepoolsList = function () {
|
|
72607
|
+
return /** @type{!Array<!proto.clarifai.api.Nodepool>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 3));
|
|
72608
|
+
};
|
|
72609
|
+
/**
|
|
72610
|
+
* @param {!Array<!proto.clarifai.api.Nodepool>} value
|
|
72611
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
72612
|
+
*/
|
|
72613
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.setNodepoolsList = function (value) {
|
|
72614
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
72615
|
+
};
|
|
72616
|
+
/**
|
|
72617
|
+
* @param {!proto.clarifai.api.Nodepool=} opt_value
|
|
72618
|
+
* @param {number=} opt_index
|
|
72619
|
+
* @return {!proto.clarifai.api.Nodepool}
|
|
72620
|
+
*/
|
|
72621
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.addNodepools = function (opt_value, opt_index) {
|
|
72622
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.Nodepool, opt_index);
|
|
72623
|
+
};
|
|
72624
|
+
/**
|
|
72625
|
+
* Clears the list making it empty but non-null.
|
|
72626
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
72627
|
+
*/
|
|
72628
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.clearNodepoolsList = function () {
|
|
72629
|
+
return this.setNodepoolsList([]);
|
|
72630
|
+
};
|
|
72631
|
+
/**
|
|
72632
|
+
* optional string action = 4;
|
|
72633
|
+
* @return {string}
|
|
72634
|
+
*/
|
|
72635
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.getAction = function () {
|
|
72636
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
72637
|
+
};
|
|
72638
|
+
/**
|
|
72639
|
+
* @param {string} value
|
|
72640
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
72641
|
+
*/
|
|
72642
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.setAction = function (value) {
|
|
72643
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
72644
|
+
};
|
|
72645
|
+
/**
|
|
72646
|
+
* List of repeated fields within this message type.
|
|
72647
|
+
* @private {!Array<number>}
|
|
72648
|
+
* @const
|
|
72649
|
+
*/
|
|
72650
|
+
proto.clarifai.api.DeleteNodepoolsRequest.repeatedFields_ = [3];
|
|
72651
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
72652
|
+
/**
|
|
72653
|
+
* Creates an object representation of this proto.
|
|
72654
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
72655
|
+
* Optional fields that are not set will be set to undefined.
|
|
72656
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
72657
|
+
* For the list of reserved names please see:
|
|
72658
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
72659
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
72660
|
+
* JSPB instance for transitional soy proto support:
|
|
72661
|
+
* http://goto/soy-param-migration
|
|
72662
|
+
* @return {!Object}
|
|
72663
|
+
*/
|
|
72664
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
72665
|
+
return proto.clarifai.api.DeleteNodepoolsRequest.toObject(opt_includeInstance, this);
|
|
72666
|
+
};
|
|
72667
|
+
/**
|
|
72668
|
+
* Static version of the {@see toObject} method.
|
|
72669
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
72670
|
+
* the JSPB instance for transitional soy proto support:
|
|
72671
|
+
* http://goto/soy-param-migration
|
|
72672
|
+
* @param {!proto.clarifai.api.DeleteNodepoolsRequest} msg The msg instance to transform.
|
|
72673
|
+
* @return {!Object}
|
|
72674
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72675
|
+
*/
|
|
72676
|
+
proto.clarifai.api.DeleteNodepoolsRequest.toObject = function (includeInstance, msg) {
|
|
72677
|
+
var f, obj = {
|
|
72678
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
72679
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
72680
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
72681
|
+
};
|
|
72682
|
+
if (includeInstance) {
|
|
72683
|
+
obj.$jspbMessageInstance = msg;
|
|
72684
|
+
}
|
|
72685
|
+
return obj;
|
|
72686
|
+
};
|
|
72687
|
+
}
|
|
72688
|
+
/**
|
|
72689
|
+
* Deserializes binary data (in protobuf wire format).
|
|
72690
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
72691
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest}
|
|
72692
|
+
*/
|
|
72693
|
+
proto.clarifai.api.DeleteNodepoolsRequest.deserializeBinary = function (bytes) {
|
|
72694
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
72695
|
+
var msg = new proto.clarifai.api.DeleteNodepoolsRequest;
|
|
72696
|
+
return proto.clarifai.api.DeleteNodepoolsRequest.deserializeBinaryFromReader(msg, reader);
|
|
72697
|
+
};
|
|
72698
|
+
/**
|
|
72699
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
72700
|
+
* given reader into the given message object.
|
|
72701
|
+
* @param {!proto.clarifai.api.DeleteNodepoolsRequest} msg The message object to deserialize into.
|
|
72702
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
72703
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest}
|
|
72704
|
+
*/
|
|
72705
|
+
proto.clarifai.api.DeleteNodepoolsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
72706
|
+
while (reader.nextField()) {
|
|
72707
|
+
if (reader.isEndGroup()) {
|
|
72708
|
+
break;
|
|
72709
|
+
}
|
|
72710
|
+
var field = reader.getFieldNumber();
|
|
72711
|
+
switch (field) {
|
|
72712
|
+
case 1:
|
|
72713
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
72714
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
72715
|
+
msg.setUserAppId(value);
|
|
72716
|
+
break;
|
|
72717
|
+
case 2:
|
|
72718
|
+
var value = /** @type {string} */ (reader.readString());
|
|
72719
|
+
msg.setComputeClusterId(value);
|
|
72720
|
+
break;
|
|
72721
|
+
case 3:
|
|
72722
|
+
var value = /** @type {string} */ (reader.readString());
|
|
72723
|
+
msg.addIds(value);
|
|
72724
|
+
break;
|
|
72725
|
+
default:
|
|
72726
|
+
reader.skipField();
|
|
72727
|
+
break;
|
|
72728
|
+
}
|
|
72729
|
+
}
|
|
72730
|
+
return msg;
|
|
72731
|
+
};
|
|
72732
|
+
/**
|
|
72733
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
72734
|
+
* @return {!Uint8Array}
|
|
72735
|
+
*/
|
|
72736
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.serializeBinary = function () {
|
|
72737
|
+
var writer = new jspb.BinaryWriter();
|
|
72738
|
+
proto.clarifai.api.DeleteNodepoolsRequest.serializeBinaryToWriter(this, writer);
|
|
72739
|
+
return writer.getResultBuffer();
|
|
72740
|
+
};
|
|
72741
|
+
/**
|
|
72742
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
72743
|
+
* format), writing to the given BinaryWriter.
|
|
72744
|
+
* @param {!proto.clarifai.api.DeleteNodepoolsRequest} message
|
|
72745
|
+
* @param {!jspb.BinaryWriter} writer
|
|
72746
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72747
|
+
*/
|
|
72748
|
+
proto.clarifai.api.DeleteNodepoolsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
72749
|
+
var f = undefined;
|
|
72750
|
+
f = message.getUserAppId();
|
|
72751
|
+
if (f != null) {
|
|
72752
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
72753
|
+
}
|
|
72754
|
+
f = message.getComputeClusterId();
|
|
72755
|
+
if (f.length > 0) {
|
|
72756
|
+
writer.writeString(2, f);
|
|
72757
|
+
}
|
|
72758
|
+
f = message.getIdsList();
|
|
72759
|
+
if (f.length > 0) {
|
|
72760
|
+
writer.writeRepeatedString(3, f);
|
|
72761
|
+
}
|
|
72762
|
+
};
|
|
72763
|
+
/**
|
|
72764
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
72765
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
72766
|
+
*/
|
|
72767
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.getUserAppId = function () {
|
|
72768
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
72769
|
+
};
|
|
72770
|
+
/**
|
|
72771
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
72772
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
|
|
72773
|
+
*/
|
|
72774
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.setUserAppId = function (value) {
|
|
72775
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
72776
|
+
};
|
|
72777
|
+
/**
|
|
72778
|
+
* Clears the message field making it undefined.
|
|
72779
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
|
|
72780
|
+
*/
|
|
72781
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.clearUserAppId = function () {
|
|
72782
|
+
return this.setUserAppId(undefined);
|
|
72783
|
+
};
|
|
72784
|
+
/**
|
|
72785
|
+
* Returns whether this field is set.
|
|
72786
|
+
* @return {boolean}
|
|
72787
|
+
*/
|
|
72788
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.hasUserAppId = function () {
|
|
72789
|
+
return jspb.Message.getField(this, 1) != null;
|
|
72790
|
+
};
|
|
72791
|
+
/**
|
|
72792
|
+
* optional string compute_cluster_id = 2;
|
|
72793
|
+
* @return {string}
|
|
72794
|
+
*/
|
|
72795
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.getComputeClusterId = function () {
|
|
72796
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
72797
|
+
};
|
|
72798
|
+
/**
|
|
72799
|
+
* @param {string} value
|
|
72800
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
|
|
72801
|
+
*/
|
|
72802
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.setComputeClusterId = function (value) {
|
|
72803
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
72804
|
+
};
|
|
72805
|
+
/**
|
|
72806
|
+
* repeated string ids = 3;
|
|
72807
|
+
* @return {!Array<string>}
|
|
72808
|
+
*/
|
|
72809
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.getIdsList = function () {
|
|
72810
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
72811
|
+
};
|
|
72812
|
+
/**
|
|
72813
|
+
* @param {!Array<string>} value
|
|
72814
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
|
|
72815
|
+
*/
|
|
72816
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.setIdsList = function (value) {
|
|
72817
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
72818
|
+
};
|
|
72819
|
+
/**
|
|
72820
|
+
* @param {string} value
|
|
72821
|
+
* @param {number=} opt_index
|
|
72822
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
|
|
72823
|
+
*/
|
|
72824
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.addIds = function (value, opt_index) {
|
|
72825
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
72826
|
+
};
|
|
72827
|
+
/**
|
|
72828
|
+
* Clears the list making it empty but non-null.
|
|
72829
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
|
|
72830
|
+
*/
|
|
72831
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.clearIdsList = function () {
|
|
72832
|
+
return this.setIdsList([]);
|
|
72833
|
+
};
|
|
72834
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
72835
|
+
/**
|
|
72836
|
+
* Creates an object representation of this proto.
|
|
72837
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
72838
|
+
* Optional fields that are not set will be set to undefined.
|
|
72839
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
72840
|
+
* For the list of reserved names please see:
|
|
72841
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
72842
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
72843
|
+
* JSPB instance for transitional soy proto support:
|
|
72844
|
+
* http://goto/soy-param-migration
|
|
72845
|
+
* @return {!Object}
|
|
72846
|
+
*/
|
|
72847
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.toObject = function (opt_includeInstance) {
|
|
72848
|
+
return proto.clarifai.api.SingleNodepoolResponse.toObject(opt_includeInstance, this);
|
|
72849
|
+
};
|
|
72850
|
+
/**
|
|
72851
|
+
* Static version of the {@see toObject} method.
|
|
72852
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
72853
|
+
* the JSPB instance for transitional soy proto support:
|
|
72854
|
+
* http://goto/soy-param-migration
|
|
72855
|
+
* @param {!proto.clarifai.api.SingleNodepoolResponse} msg The msg instance to transform.
|
|
72856
|
+
* @return {!Object}
|
|
72857
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72858
|
+
*/
|
|
72859
|
+
proto.clarifai.api.SingleNodepoolResponse.toObject = function (includeInstance, msg) {
|
|
72860
|
+
var f, obj = {
|
|
72861
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
72862
|
+
nodepool: (f = msg.getNodepool()) && proto_clarifai_api_resources_pb.Nodepool.toObject(includeInstance, f)
|
|
72863
|
+
};
|
|
72864
|
+
if (includeInstance) {
|
|
72865
|
+
obj.$jspbMessageInstance = msg;
|
|
72866
|
+
}
|
|
72867
|
+
return obj;
|
|
72868
|
+
};
|
|
72869
|
+
}
|
|
72870
|
+
/**
|
|
72871
|
+
* Deserializes binary data (in protobuf wire format).
|
|
72872
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
72873
|
+
* @return {!proto.clarifai.api.SingleNodepoolResponse}
|
|
72874
|
+
*/
|
|
72875
|
+
proto.clarifai.api.SingleNodepoolResponse.deserializeBinary = function (bytes) {
|
|
72876
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
72877
|
+
var msg = new proto.clarifai.api.SingleNodepoolResponse;
|
|
72878
|
+
return proto.clarifai.api.SingleNodepoolResponse.deserializeBinaryFromReader(msg, reader);
|
|
72879
|
+
};
|
|
72880
|
+
/**
|
|
72881
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
72882
|
+
* given reader into the given message object.
|
|
72883
|
+
* @param {!proto.clarifai.api.SingleNodepoolResponse} msg The message object to deserialize into.
|
|
72884
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
72885
|
+
* @return {!proto.clarifai.api.SingleNodepoolResponse}
|
|
72886
|
+
*/
|
|
72887
|
+
proto.clarifai.api.SingleNodepoolResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
72888
|
+
while (reader.nextField()) {
|
|
72889
|
+
if (reader.isEndGroup()) {
|
|
72890
|
+
break;
|
|
72891
|
+
}
|
|
72892
|
+
var field = reader.getFieldNumber();
|
|
72893
|
+
switch (field) {
|
|
72894
|
+
case 1:
|
|
72895
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
72896
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
72897
|
+
msg.setStatus(value);
|
|
72898
|
+
break;
|
|
72899
|
+
case 2:
|
|
72900
|
+
var value = new proto_clarifai_api_resources_pb.Nodepool;
|
|
72901
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
|
|
72902
|
+
msg.setNodepool(value);
|
|
72903
|
+
break;
|
|
72904
|
+
default:
|
|
72905
|
+
reader.skipField();
|
|
72906
|
+
break;
|
|
72907
|
+
}
|
|
72908
|
+
}
|
|
72909
|
+
return msg;
|
|
72910
|
+
};
|
|
72911
|
+
/**
|
|
72912
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
72913
|
+
* @return {!Uint8Array}
|
|
72914
|
+
*/
|
|
72915
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.serializeBinary = function () {
|
|
72916
|
+
var writer = new jspb.BinaryWriter();
|
|
72917
|
+
proto.clarifai.api.SingleNodepoolResponse.serializeBinaryToWriter(this, writer);
|
|
72918
|
+
return writer.getResultBuffer();
|
|
72919
|
+
};
|
|
72920
|
+
/**
|
|
72921
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
72922
|
+
* format), writing to the given BinaryWriter.
|
|
72923
|
+
* @param {!proto.clarifai.api.SingleNodepoolResponse} message
|
|
72924
|
+
* @param {!jspb.BinaryWriter} writer
|
|
72925
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72926
|
+
*/
|
|
72927
|
+
proto.clarifai.api.SingleNodepoolResponse.serializeBinaryToWriter = function (message, writer) {
|
|
72928
|
+
var f = undefined;
|
|
72929
|
+
f = message.getStatus();
|
|
72930
|
+
if (f != null) {
|
|
72931
|
+
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
72932
|
+
}
|
|
72933
|
+
f = message.getNodepool();
|
|
72934
|
+
if (f != null) {
|
|
72935
|
+
writer.writeMessage(2, f, proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter);
|
|
72936
|
+
}
|
|
72937
|
+
};
|
|
72938
|
+
/**
|
|
72939
|
+
* optional status.Status status = 1;
|
|
72940
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
72941
|
+
*/
|
|
72942
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.getStatus = function () {
|
|
72943
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
72944
|
+
};
|
|
72945
|
+
/**
|
|
72946
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
72947
|
+
* @return {!proto.clarifai.api.SingleNodepoolResponse} returns this
|
|
72948
|
+
*/
|
|
72949
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.setStatus = function (value) {
|
|
72950
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
72951
|
+
};
|
|
72952
|
+
/**
|
|
72953
|
+
* Clears the message field making it undefined.
|
|
72954
|
+
* @return {!proto.clarifai.api.SingleNodepoolResponse} returns this
|
|
72955
|
+
*/
|
|
72956
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.clearStatus = function () {
|
|
72957
|
+
return this.setStatus(undefined);
|
|
72958
|
+
};
|
|
72959
|
+
/**
|
|
72960
|
+
* Returns whether this field is set.
|
|
72961
|
+
* @return {boolean}
|
|
72962
|
+
*/
|
|
72963
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.hasStatus = function () {
|
|
72964
|
+
return jspb.Message.getField(this, 1) != null;
|
|
72965
|
+
};
|
|
72966
|
+
/**
|
|
72967
|
+
* optional Nodepool nodepool = 2;
|
|
72968
|
+
* @return {?proto.clarifai.api.Nodepool}
|
|
72969
|
+
*/
|
|
72970
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.getNodepool = function () {
|
|
72971
|
+
return /** @type{?proto.clarifai.api.Nodepool} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 2));
|
|
72972
|
+
};
|
|
72973
|
+
/**
|
|
72974
|
+
* @param {?proto.clarifai.api.Nodepool|undefined} value
|
|
72975
|
+
* @return {!proto.clarifai.api.SingleNodepoolResponse} returns this
|
|
72976
|
+
*/
|
|
72977
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.setNodepool = function (value) {
|
|
72978
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
72979
|
+
};
|
|
72980
|
+
/**
|
|
72981
|
+
* Clears the message field making it undefined.
|
|
72982
|
+
* @return {!proto.clarifai.api.SingleNodepoolResponse} returns this
|
|
72983
|
+
*/
|
|
72984
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.clearNodepool = function () {
|
|
72985
|
+
return this.setNodepool(undefined);
|
|
72986
|
+
};
|
|
72987
|
+
/**
|
|
72988
|
+
* Returns whether this field is set.
|
|
72989
|
+
* @return {boolean}
|
|
72990
|
+
*/
|
|
72991
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.hasNodepool = function () {
|
|
72992
|
+
return jspb.Message.getField(this, 2) != null;
|
|
72993
|
+
};
|
|
72994
|
+
/**
|
|
72995
|
+
* List of repeated fields within this message type.
|
|
72996
|
+
* @private {!Array<number>}
|
|
72997
|
+
* @const
|
|
72998
|
+
*/
|
|
72999
|
+
proto.clarifai.api.MultiNodepoolResponse.repeatedFields_ = [2];
|
|
73000
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
73001
|
+
/**
|
|
73002
|
+
* Creates an object representation of this proto.
|
|
73003
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
73004
|
+
* Optional fields that are not set will be set to undefined.
|
|
73005
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
73006
|
+
* For the list of reserved names please see:
|
|
73007
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
73008
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
73009
|
+
* JSPB instance for transitional soy proto support:
|
|
73010
|
+
* http://goto/soy-param-migration
|
|
73011
|
+
* @return {!Object}
|
|
73012
|
+
*/
|
|
73013
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.toObject = function (opt_includeInstance) {
|
|
73014
|
+
return proto.clarifai.api.MultiNodepoolResponse.toObject(opt_includeInstance, this);
|
|
73015
|
+
};
|
|
73016
|
+
/**
|
|
73017
|
+
* Static version of the {@see toObject} method.
|
|
73018
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
73019
|
+
* the JSPB instance for transitional soy proto support:
|
|
73020
|
+
* http://goto/soy-param-migration
|
|
73021
|
+
* @param {!proto.clarifai.api.MultiNodepoolResponse} msg The msg instance to transform.
|
|
73022
|
+
* @return {!Object}
|
|
73023
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
73024
|
+
*/
|
|
73025
|
+
proto.clarifai.api.MultiNodepoolResponse.toObject = function (includeInstance, msg) {
|
|
73026
|
+
var f, obj = {
|
|
73027
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
73028
|
+
nodepoolsList: jspb.Message.toObjectList(msg.getNodepoolsList(), proto_clarifai_api_resources_pb.Nodepool.toObject, includeInstance)
|
|
73029
|
+
};
|
|
73030
|
+
if (includeInstance) {
|
|
73031
|
+
obj.$jspbMessageInstance = msg;
|
|
73032
|
+
}
|
|
73033
|
+
return obj;
|
|
73034
|
+
};
|
|
73035
|
+
}
|
|
73036
|
+
/**
|
|
73037
|
+
* Deserializes binary data (in protobuf wire format).
|
|
73038
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
73039
|
+
* @return {!proto.clarifai.api.MultiNodepoolResponse}
|
|
73040
|
+
*/
|
|
73041
|
+
proto.clarifai.api.MultiNodepoolResponse.deserializeBinary = function (bytes) {
|
|
73042
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
73043
|
+
var msg = new proto.clarifai.api.MultiNodepoolResponse;
|
|
73044
|
+
return proto.clarifai.api.MultiNodepoolResponse.deserializeBinaryFromReader(msg, reader);
|
|
73045
|
+
};
|
|
73046
|
+
/**
|
|
73047
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
73048
|
+
* given reader into the given message object.
|
|
73049
|
+
* @param {!proto.clarifai.api.MultiNodepoolResponse} msg The message object to deserialize into.
|
|
73050
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
73051
|
+
* @return {!proto.clarifai.api.MultiNodepoolResponse}
|
|
73052
|
+
*/
|
|
73053
|
+
proto.clarifai.api.MultiNodepoolResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
73054
|
+
while (reader.nextField()) {
|
|
73055
|
+
if (reader.isEndGroup()) {
|
|
73056
|
+
break;
|
|
73057
|
+
}
|
|
73058
|
+
var field = reader.getFieldNumber();
|
|
73059
|
+
switch (field) {
|
|
73060
|
+
case 1:
|
|
73061
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
73062
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
73063
|
+
msg.setStatus(value);
|
|
73064
|
+
break;
|
|
73065
|
+
case 2:
|
|
73066
|
+
var value = new proto_clarifai_api_resources_pb.Nodepool;
|
|
73067
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
|
|
73068
|
+
msg.addNodepools(value);
|
|
73069
|
+
break;
|
|
73070
|
+
default:
|
|
73071
|
+
reader.skipField();
|
|
73072
|
+
break;
|
|
73073
|
+
}
|
|
73074
|
+
}
|
|
73075
|
+
return msg;
|
|
73076
|
+
};
|
|
73077
|
+
/**
|
|
73078
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
73079
|
+
* @return {!Uint8Array}
|
|
73080
|
+
*/
|
|
73081
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.serializeBinary = function () {
|
|
73082
|
+
var writer = new jspb.BinaryWriter();
|
|
73083
|
+
proto.clarifai.api.MultiNodepoolResponse.serializeBinaryToWriter(this, writer);
|
|
73084
|
+
return writer.getResultBuffer();
|
|
73085
|
+
};
|
|
73086
|
+
/**
|
|
73087
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
73088
|
+
* format), writing to the given BinaryWriter.
|
|
73089
|
+
* @param {!proto.clarifai.api.MultiNodepoolResponse} message
|
|
73090
|
+
* @param {!jspb.BinaryWriter} writer
|
|
73091
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
73092
|
+
*/
|
|
73093
|
+
proto.clarifai.api.MultiNodepoolResponse.serializeBinaryToWriter = function (message, writer) {
|
|
73094
|
+
var f = undefined;
|
|
73095
|
+
f = message.getStatus();
|
|
73096
|
+
if (f != null) {
|
|
73097
|
+
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
73098
|
+
}
|
|
73099
|
+
f = message.getNodepoolsList();
|
|
73100
|
+
if (f.length > 0) {
|
|
73101
|
+
writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter);
|
|
73102
|
+
}
|
|
73103
|
+
};
|
|
73104
|
+
/**
|
|
73105
|
+
* optional status.Status status = 1;
|
|
73106
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
73107
|
+
*/
|
|
73108
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.getStatus = function () {
|
|
73109
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
73110
|
+
};
|
|
73111
|
+
/**
|
|
73112
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
73113
|
+
* @return {!proto.clarifai.api.MultiNodepoolResponse} returns this
|
|
73114
|
+
*/
|
|
73115
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.setStatus = function (value) {
|
|
73116
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
73117
|
+
};
|
|
73118
|
+
/**
|
|
73119
|
+
* Clears the message field making it undefined.
|
|
73120
|
+
* @return {!proto.clarifai.api.MultiNodepoolResponse} returns this
|
|
73121
|
+
*/
|
|
73122
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.clearStatus = function () {
|
|
73123
|
+
return this.setStatus(undefined);
|
|
73124
|
+
};
|
|
73125
|
+
/**
|
|
73126
|
+
* Returns whether this field is set.
|
|
73127
|
+
* @return {boolean}
|
|
73128
|
+
*/
|
|
73129
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.hasStatus = function () {
|
|
73130
|
+
return jspb.Message.getField(this, 1) != null;
|
|
73131
|
+
};
|
|
73132
|
+
/**
|
|
73133
|
+
* repeated Nodepool nodepools = 2;
|
|
73134
|
+
* @return {!Array<!proto.clarifai.api.Nodepool>}
|
|
73135
|
+
*/
|
|
73136
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.getNodepoolsList = function () {
|
|
73137
|
+
return /** @type{!Array<!proto.clarifai.api.Nodepool>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 2));
|
|
73138
|
+
};
|
|
73139
|
+
/**
|
|
73140
|
+
* @param {!Array<!proto.clarifai.api.Nodepool>} value
|
|
73141
|
+
* @return {!proto.clarifai.api.MultiNodepoolResponse} returns this
|
|
73142
|
+
*/
|
|
73143
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.setNodepoolsList = function (value) {
|
|
73144
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
73145
|
+
};
|
|
73146
|
+
/**
|
|
73147
|
+
* @param {!proto.clarifai.api.Nodepool=} opt_value
|
|
73148
|
+
* @param {number=} opt_index
|
|
73149
|
+
* @return {!proto.clarifai.api.Nodepool}
|
|
73150
|
+
*/
|
|
73151
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.addNodepools = function (opt_value, opt_index) {
|
|
73152
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.Nodepool, opt_index);
|
|
73153
|
+
};
|
|
73154
|
+
/**
|
|
73155
|
+
* Clears the list making it empty but non-null.
|
|
73156
|
+
* @return {!proto.clarifai.api.MultiNodepoolResponse} returns this
|
|
73157
|
+
*/
|
|
73158
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.clearNodepoolsList = function () {
|
|
73159
|
+
return this.setNodepoolsList([]);
|
|
73160
|
+
};
|
|
70463
73161
|
/**
|
|
70464
73162
|
* @enum {number}
|
|
70465
73163
|
*/
|