clarifai-web-grpc 10.4.1 → 10.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +326 -272
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +210 -42
- package/dist/cjs/proto/clarifai/api/service_pb.js +1364 -378
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +3 -0
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +4 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +326 -272
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +210 -42
- package/dist/esm/proto/clarifai/api/service_pb.js +1364 -378
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +3 -0
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +4 -1
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +49 -43
- package/proto/clarifai/api/resources_pb.js +401 -322
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +60 -12
- package/proto/clarifai/api/service_grpc_web_pb.js +305 -61
- package/proto/clarifai/api/service_pb.d.ts +194 -52
- package/proto/clarifai/api/service_pb.js +2254 -1038
- package/proto/clarifai/api/status/status_code_pb.d.ts +3 -0
- package/proto/clarifai/api/status/status_code_pb.js +3 -0
- package/proto/clarifai/auth/scope/scope_pb.d.ts +3 -0
- package/proto/clarifai/auth/scope/scope_pb.js +4 -1
|
@@ -58,6 +58,7 @@ goog.exportSymbol('proto.clarifai.api.DeleteConceptRelationsRequest', null, glob
|
|
|
58
58
|
goog.exportSymbol('proto.clarifai.api.DeleteDatasetInputsRequest', null, global);
|
|
59
59
|
goog.exportSymbol('proto.clarifai.api.DeleteDatasetVersionsRequest', null, global);
|
|
60
60
|
goog.exportSymbol('proto.clarifai.api.DeleteDatasetsRequest', null, global);
|
|
61
|
+
goog.exportSymbol('proto.clarifai.api.DeleteDeploymentsRequest', null, global);
|
|
61
62
|
goog.exportSymbol('proto.clarifai.api.DeleteInputRequest', null, global);
|
|
62
63
|
goog.exportSymbol('proto.clarifai.api.DeleteInputsRequest', null, global);
|
|
63
64
|
goog.exportSymbol('proto.clarifai.api.DeleteInstalledModuleVersionsRequest', null, global);
|
|
@@ -90,6 +91,7 @@ goog.exportSymbol('proto.clarifai.api.GetConceptRequest', null, global);
|
|
|
90
91
|
goog.exportSymbol('proto.clarifai.api.GetDatasetInputRequest', null, global);
|
|
91
92
|
goog.exportSymbol('proto.clarifai.api.GetDatasetRequest', null, global);
|
|
92
93
|
goog.exportSymbol('proto.clarifai.api.GetDatasetVersionRequest', null, global);
|
|
94
|
+
goog.exportSymbol('proto.clarifai.api.GetDeploymentRequest', null, global);
|
|
93
95
|
goog.exportSymbol('proto.clarifai.api.GetEvaluationRequest', null, global);
|
|
94
96
|
goog.exportSymbol('proto.clarifai.api.GetInputCountRequest', null, global);
|
|
95
97
|
goog.exportSymbol('proto.clarifai.api.GetInputRequest', null, global);
|
|
@@ -146,6 +148,7 @@ goog.exportSymbol('proto.clarifai.api.ListDatasetVersionMetricsGroupsRequest', n
|
|
|
146
148
|
goog.exportSymbol('proto.clarifai.api.ListDatasetVersionsRequest', null, global);
|
|
147
149
|
goog.exportSymbol('proto.clarifai.api.ListDatasetsRequest', null, global);
|
|
148
150
|
goog.exportSymbol('proto.clarifai.api.ListDatasetsRequest.SortByCase', null, global);
|
|
151
|
+
goog.exportSymbol('proto.clarifai.api.ListDeploymentsRequest', null, global);
|
|
149
152
|
goog.exportSymbol('proto.clarifai.api.ListEvaluationsRequest', null, global);
|
|
150
153
|
goog.exportSymbol('proto.clarifai.api.ListEvaluationsRequest.SortByCase', null, global);
|
|
151
154
|
goog.exportSymbol('proto.clarifai.api.ListInputsAddJobsRequest', null, global);
|
|
@@ -197,7 +200,6 @@ goog.exportSymbol('proto.clarifai.api.MultiCollectorResponse', null, global);
|
|
|
197
200
|
goog.exportSymbol('proto.clarifai.api.MultiComputeClusterResponse', null, global);
|
|
198
201
|
goog.exportSymbol('proto.clarifai.api.MultiConceptCountResponse', null, global);
|
|
199
202
|
goog.exportSymbol('proto.clarifai.api.MultiConceptLanguageResponse', null, global);
|
|
200
|
-
goog.exportSymbol('proto.clarifai.api.MultiConceptMappingJobResponse', null, global);
|
|
201
203
|
goog.exportSymbol('proto.clarifai.api.MultiConceptRelationResponse', null, global);
|
|
202
204
|
goog.exportSymbol('proto.clarifai.api.MultiConceptResponse', null, global);
|
|
203
205
|
goog.exportSymbol('proto.clarifai.api.MultiDatasetInputResponse', null, global);
|
|
@@ -205,6 +207,7 @@ goog.exportSymbol('proto.clarifai.api.MultiDatasetResponse', null, global);
|
|
|
205
207
|
goog.exportSymbol('proto.clarifai.api.MultiDatasetVersionExportResponse', null, global);
|
|
206
208
|
goog.exportSymbol('proto.clarifai.api.MultiDatasetVersionMetricsGroupResponse', null, global);
|
|
207
209
|
goog.exportSymbol('proto.clarifai.api.MultiDatasetVersionResponse', null, global);
|
|
210
|
+
goog.exportSymbol('proto.clarifai.api.MultiDeploymentResponse', null, global);
|
|
208
211
|
goog.exportSymbol('proto.clarifai.api.MultiEvalMetricsResponse', null, global);
|
|
209
212
|
goog.exportSymbol('proto.clarifai.api.MultiInputAnnotationResponse', null, global);
|
|
210
213
|
goog.exportSymbol('proto.clarifai.api.MultiInputResponse', null, global);
|
|
@@ -265,6 +268,7 @@ goog.exportSymbol('proto.clarifai.api.PatchConceptLanguagesRequest', null, globa
|
|
|
265
268
|
goog.exportSymbol('proto.clarifai.api.PatchConceptsRequest', null, global);
|
|
266
269
|
goog.exportSymbol('proto.clarifai.api.PatchDatasetVersionsRequest', null, global);
|
|
267
270
|
goog.exportSymbol('proto.clarifai.api.PatchDatasetsRequest', null, global);
|
|
271
|
+
goog.exportSymbol('proto.clarifai.api.PatchDeploymentsRequest', null, global);
|
|
268
272
|
goog.exportSymbol('proto.clarifai.api.PatchInputsRequest', null, global);
|
|
269
273
|
goog.exportSymbol('proto.clarifai.api.PatchInputsSearchesRequest', null, global);
|
|
270
274
|
goog.exportSymbol('proto.clarifai.api.PatchKeysRequest', null, global);
|
|
@@ -296,13 +300,13 @@ goog.exportSymbol('proto.clarifai.api.PostCollaboratorsRequest', null, global);
|
|
|
296
300
|
goog.exportSymbol('proto.clarifai.api.PostCollectorsRequest', null, global);
|
|
297
301
|
goog.exportSymbol('proto.clarifai.api.PostComputeClustersRequest', null, global);
|
|
298
302
|
goog.exportSymbol('proto.clarifai.api.PostConceptLanguagesRequest', null, global);
|
|
299
|
-
goog.exportSymbol('proto.clarifai.api.PostConceptMappingJobsRequest', null, global);
|
|
300
303
|
goog.exportSymbol('proto.clarifai.api.PostConceptRelationsRequest', null, global);
|
|
301
304
|
goog.exportSymbol('proto.clarifai.api.PostConceptsRequest', null, global);
|
|
302
305
|
goog.exportSymbol('proto.clarifai.api.PostConceptsSearchesRequest', null, global);
|
|
303
306
|
goog.exportSymbol('proto.clarifai.api.PostDatasetInputsRequest', null, global);
|
|
304
307
|
goog.exportSymbol('proto.clarifai.api.PostDatasetVersionsRequest', null, global);
|
|
305
308
|
goog.exportSymbol('proto.clarifai.api.PostDatasetsRequest', null, global);
|
|
309
|
+
goog.exportSymbol('proto.clarifai.api.PostDeploymentsRequest', null, global);
|
|
306
310
|
goog.exportSymbol('proto.clarifai.api.PostEvaluationsRequest', null, global);
|
|
307
311
|
goog.exportSymbol('proto.clarifai.api.PostInputsDataSourcesRequest', null, global);
|
|
308
312
|
goog.exportSymbol('proto.clarifai.api.PostInputsRequest', null, global);
|
|
@@ -371,6 +375,7 @@ goog.exportSymbol('proto.clarifai.api.SingleConceptResponse', null, global);
|
|
|
371
375
|
goog.exportSymbol('proto.clarifai.api.SingleDatasetInputResponse', null, global);
|
|
372
376
|
goog.exportSymbol('proto.clarifai.api.SingleDatasetResponse', null, global);
|
|
373
377
|
goog.exportSymbol('proto.clarifai.api.SingleDatasetVersionResponse', null, global);
|
|
378
|
+
goog.exportSymbol('proto.clarifai.api.SingleDeploymentResponse', null, global);
|
|
374
379
|
goog.exportSymbol('proto.clarifai.api.SingleEvalMetricsResponse', null, global);
|
|
375
380
|
goog.exportSymbol('proto.clarifai.api.SingleInputCountResponse', null, global);
|
|
376
381
|
goog.exportSymbol('proto.clarifai.api.SingleInputResponse', null, global);
|
|
@@ -1451,27 +1456,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1451
1456
|
*/
|
|
1452
1457
|
proto.clarifai.api.PostKnowledgeGraphsRequest.displayName = 'proto.clarifai.api.PostKnowledgeGraphsRequest';
|
|
1453
1458
|
}
|
|
1454
|
-
/**
|
|
1455
|
-
* Generated by JsPbCodeGenerator.
|
|
1456
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1457
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
1458
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
1459
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
1460
|
-
* valid.
|
|
1461
|
-
* @extends {jspb.Message}
|
|
1462
|
-
* @constructor
|
|
1463
|
-
*/
|
|
1464
|
-
proto.clarifai.api.PostConceptMappingJobsRequest = function(opt_data) {
|
|
1465
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PostConceptMappingJobsRequest.repeatedFields_, null);
|
|
1466
|
-
};
|
|
1467
|
-
goog.inherits(proto.clarifai.api.PostConceptMappingJobsRequest, jspb.Message);
|
|
1468
|
-
if (goog.DEBUG && !COMPILED) {
|
|
1469
|
-
/**
|
|
1470
|
-
* @public
|
|
1471
|
-
* @override
|
|
1472
|
-
*/
|
|
1473
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.displayName = 'proto.clarifai.api.PostConceptMappingJobsRequest';
|
|
1474
|
-
}
|
|
1475
1459
|
/**
|
|
1476
1460
|
* Generated by JsPbCodeGenerator.
|
|
1477
1461
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1514,27 +1498,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1514
1498
|
*/
|
|
1515
1499
|
proto.clarifai.api.MultiKnowledgeGraphResponse.displayName = 'proto.clarifai.api.MultiKnowledgeGraphResponse';
|
|
1516
1500
|
}
|
|
1517
|
-
/**
|
|
1518
|
-
* Generated by JsPbCodeGenerator.
|
|
1519
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1520
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
1521
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
1522
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
1523
|
-
* valid.
|
|
1524
|
-
* @extends {jspb.Message}
|
|
1525
|
-
* @constructor
|
|
1526
|
-
*/
|
|
1527
|
-
proto.clarifai.api.MultiConceptMappingJobResponse = function(opt_data) {
|
|
1528
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiConceptMappingJobResponse.repeatedFields_, null);
|
|
1529
|
-
};
|
|
1530
|
-
goog.inherits(proto.clarifai.api.MultiConceptMappingJobResponse, jspb.Message);
|
|
1531
|
-
if (goog.DEBUG && !COMPILED) {
|
|
1532
|
-
/**
|
|
1533
|
-
* @public
|
|
1534
|
-
* @override
|
|
1535
|
-
*/
|
|
1536
|
-
proto.clarifai.api.MultiConceptMappingJobResponse.displayName = 'proto.clarifai.api.MultiConceptMappingJobResponse';
|
|
1537
|
-
}
|
|
1538
1501
|
/**
|
|
1539
1502
|
* Generated by JsPbCodeGenerator.
|
|
1540
1503
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -7688,6 +7651,153 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
7688
7651
|
*/
|
|
7689
7652
|
proto.clarifai.api.MultiNodepoolResponse.displayName = 'proto.clarifai.api.MultiNodepoolResponse';
|
|
7690
7653
|
}
|
|
7654
|
+
/**
|
|
7655
|
+
* Generated by JsPbCodeGenerator.
|
|
7656
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7657
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7658
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7659
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7660
|
+
* valid.
|
|
7661
|
+
* @extends {jspb.Message}
|
|
7662
|
+
* @constructor
|
|
7663
|
+
*/
|
|
7664
|
+
proto.clarifai.api.GetDeploymentRequest = function(opt_data) {
|
|
7665
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7666
|
+
};
|
|
7667
|
+
goog.inherits(proto.clarifai.api.GetDeploymentRequest, jspb.Message);
|
|
7668
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7669
|
+
/**
|
|
7670
|
+
* @public
|
|
7671
|
+
* @override
|
|
7672
|
+
*/
|
|
7673
|
+
proto.clarifai.api.GetDeploymentRequest.displayName = 'proto.clarifai.api.GetDeploymentRequest';
|
|
7674
|
+
}
|
|
7675
|
+
/**
|
|
7676
|
+
* Generated by JsPbCodeGenerator.
|
|
7677
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7678
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7679
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7680
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7681
|
+
* valid.
|
|
7682
|
+
* @extends {jspb.Message}
|
|
7683
|
+
* @constructor
|
|
7684
|
+
*/
|
|
7685
|
+
proto.clarifai.api.ListDeploymentsRequest = function(opt_data) {
|
|
7686
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7687
|
+
};
|
|
7688
|
+
goog.inherits(proto.clarifai.api.ListDeploymentsRequest, jspb.Message);
|
|
7689
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7690
|
+
/**
|
|
7691
|
+
* @public
|
|
7692
|
+
* @override
|
|
7693
|
+
*/
|
|
7694
|
+
proto.clarifai.api.ListDeploymentsRequest.displayName = 'proto.clarifai.api.ListDeploymentsRequest';
|
|
7695
|
+
}
|
|
7696
|
+
/**
|
|
7697
|
+
* Generated by JsPbCodeGenerator.
|
|
7698
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7699
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7700
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7701
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7702
|
+
* valid.
|
|
7703
|
+
* @extends {jspb.Message}
|
|
7704
|
+
* @constructor
|
|
7705
|
+
*/
|
|
7706
|
+
proto.clarifai.api.PostDeploymentsRequest = function(opt_data) {
|
|
7707
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PostDeploymentsRequest.repeatedFields_, null);
|
|
7708
|
+
};
|
|
7709
|
+
goog.inherits(proto.clarifai.api.PostDeploymentsRequest, jspb.Message);
|
|
7710
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7711
|
+
/**
|
|
7712
|
+
* @public
|
|
7713
|
+
* @override
|
|
7714
|
+
*/
|
|
7715
|
+
proto.clarifai.api.PostDeploymentsRequest.displayName = 'proto.clarifai.api.PostDeploymentsRequest';
|
|
7716
|
+
}
|
|
7717
|
+
/**
|
|
7718
|
+
* Generated by JsPbCodeGenerator.
|
|
7719
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7720
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7721
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7722
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7723
|
+
* valid.
|
|
7724
|
+
* @extends {jspb.Message}
|
|
7725
|
+
* @constructor
|
|
7726
|
+
*/
|
|
7727
|
+
proto.clarifai.api.DeleteDeploymentsRequest = function(opt_data) {
|
|
7728
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.DeleteDeploymentsRequest.repeatedFields_, null);
|
|
7729
|
+
};
|
|
7730
|
+
goog.inherits(proto.clarifai.api.DeleteDeploymentsRequest, jspb.Message);
|
|
7731
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7732
|
+
/**
|
|
7733
|
+
* @public
|
|
7734
|
+
* @override
|
|
7735
|
+
*/
|
|
7736
|
+
proto.clarifai.api.DeleteDeploymentsRequest.displayName = 'proto.clarifai.api.DeleteDeploymentsRequest';
|
|
7737
|
+
}
|
|
7738
|
+
/**
|
|
7739
|
+
* Generated by JsPbCodeGenerator.
|
|
7740
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7741
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7742
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7743
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7744
|
+
* valid.
|
|
7745
|
+
* @extends {jspb.Message}
|
|
7746
|
+
* @constructor
|
|
7747
|
+
*/
|
|
7748
|
+
proto.clarifai.api.PatchDeploymentsRequest = function(opt_data) {
|
|
7749
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PatchDeploymentsRequest.repeatedFields_, null);
|
|
7750
|
+
};
|
|
7751
|
+
goog.inherits(proto.clarifai.api.PatchDeploymentsRequest, jspb.Message);
|
|
7752
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7753
|
+
/**
|
|
7754
|
+
* @public
|
|
7755
|
+
* @override
|
|
7756
|
+
*/
|
|
7757
|
+
proto.clarifai.api.PatchDeploymentsRequest.displayName = 'proto.clarifai.api.PatchDeploymentsRequest';
|
|
7758
|
+
}
|
|
7759
|
+
/**
|
|
7760
|
+
* Generated by JsPbCodeGenerator.
|
|
7761
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7762
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7763
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7764
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7765
|
+
* valid.
|
|
7766
|
+
* @extends {jspb.Message}
|
|
7767
|
+
* @constructor
|
|
7768
|
+
*/
|
|
7769
|
+
proto.clarifai.api.SingleDeploymentResponse = function(opt_data) {
|
|
7770
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7771
|
+
};
|
|
7772
|
+
goog.inherits(proto.clarifai.api.SingleDeploymentResponse, jspb.Message);
|
|
7773
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7774
|
+
/**
|
|
7775
|
+
* @public
|
|
7776
|
+
* @override
|
|
7777
|
+
*/
|
|
7778
|
+
proto.clarifai.api.SingleDeploymentResponse.displayName = 'proto.clarifai.api.SingleDeploymentResponse';
|
|
7779
|
+
}
|
|
7780
|
+
/**
|
|
7781
|
+
* Generated by JsPbCodeGenerator.
|
|
7782
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7783
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7784
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7785
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7786
|
+
* valid.
|
|
7787
|
+
* @extends {jspb.Message}
|
|
7788
|
+
* @constructor
|
|
7789
|
+
*/
|
|
7790
|
+
proto.clarifai.api.MultiDeploymentResponse = function(opt_data) {
|
|
7791
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiDeploymentResponse.repeatedFields_, null);
|
|
7792
|
+
};
|
|
7793
|
+
goog.inherits(proto.clarifai.api.MultiDeploymentResponse, jspb.Message);
|
|
7794
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7795
|
+
/**
|
|
7796
|
+
* @public
|
|
7797
|
+
* @override
|
|
7798
|
+
*/
|
|
7799
|
+
proto.clarifai.api.MultiDeploymentResponse.displayName = 'proto.clarifai.api.MultiDeploymentResponse';
|
|
7800
|
+
}
|
|
7691
7801
|
|
|
7692
7802
|
|
|
7693
7803
|
|
|
@@ -19821,217 +19931,6 @@ proto.clarifai.api.PostKnowledgeGraphsRequest.prototype.clearKnowledgeGraphsList
|
|
|
19821
19931
|
|
|
19822
19932
|
|
|
19823
19933
|
|
|
19824
|
-
/**
|
|
19825
|
-
* List of repeated fields within this message type.
|
|
19826
|
-
* @private {!Array<number>}
|
|
19827
|
-
* @const
|
|
19828
|
-
*/
|
|
19829
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.repeatedFields_ = [2];
|
|
19830
|
-
|
|
19831
|
-
|
|
19832
|
-
|
|
19833
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
19834
|
-
/**
|
|
19835
|
-
* Creates an object representation of this proto.
|
|
19836
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
19837
|
-
* Optional fields that are not set will be set to undefined.
|
|
19838
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
19839
|
-
* For the list of reserved names please see:
|
|
19840
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
19841
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
19842
|
-
* JSPB instance for transitional soy proto support:
|
|
19843
|
-
* http://goto/soy-param-migration
|
|
19844
|
-
* @return {!Object}
|
|
19845
|
-
*/
|
|
19846
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
19847
|
-
return proto.clarifai.api.PostConceptMappingJobsRequest.toObject(opt_includeInstance, this);
|
|
19848
|
-
};
|
|
19849
|
-
|
|
19850
|
-
|
|
19851
|
-
/**
|
|
19852
|
-
* Static version of the {@see toObject} method.
|
|
19853
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
19854
|
-
* the JSPB instance for transitional soy proto support:
|
|
19855
|
-
* http://goto/soy-param-migration
|
|
19856
|
-
* @param {!proto.clarifai.api.PostConceptMappingJobsRequest} msg The msg instance to transform.
|
|
19857
|
-
* @return {!Object}
|
|
19858
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19859
|
-
*/
|
|
19860
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.toObject = function(includeInstance, msg) {
|
|
19861
|
-
var f, obj = {
|
|
19862
|
-
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
19863
|
-
conceptMappingJobsList: jspb.Message.toObjectList(msg.getConceptMappingJobsList(),
|
|
19864
|
-
proto_clarifai_api_resources_pb.ConceptMappingJob.toObject, includeInstance)
|
|
19865
|
-
};
|
|
19866
|
-
|
|
19867
|
-
if (includeInstance) {
|
|
19868
|
-
obj.$jspbMessageInstance = msg;
|
|
19869
|
-
}
|
|
19870
|
-
return obj;
|
|
19871
|
-
};
|
|
19872
|
-
}
|
|
19873
|
-
|
|
19874
|
-
|
|
19875
|
-
/**
|
|
19876
|
-
* Deserializes binary data (in protobuf wire format).
|
|
19877
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
19878
|
-
* @return {!proto.clarifai.api.PostConceptMappingJobsRequest}
|
|
19879
|
-
*/
|
|
19880
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.deserializeBinary = function(bytes) {
|
|
19881
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
19882
|
-
var msg = new proto.clarifai.api.PostConceptMappingJobsRequest;
|
|
19883
|
-
return proto.clarifai.api.PostConceptMappingJobsRequest.deserializeBinaryFromReader(msg, reader);
|
|
19884
|
-
};
|
|
19885
|
-
|
|
19886
|
-
|
|
19887
|
-
/**
|
|
19888
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
19889
|
-
* given reader into the given message object.
|
|
19890
|
-
* @param {!proto.clarifai.api.PostConceptMappingJobsRequest} msg The message object to deserialize into.
|
|
19891
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
19892
|
-
* @return {!proto.clarifai.api.PostConceptMappingJobsRequest}
|
|
19893
|
-
*/
|
|
19894
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
19895
|
-
while (reader.nextField()) {
|
|
19896
|
-
if (reader.isEndGroup()) {
|
|
19897
|
-
break;
|
|
19898
|
-
}
|
|
19899
|
-
var field = reader.getFieldNumber();
|
|
19900
|
-
switch (field) {
|
|
19901
|
-
case 1:
|
|
19902
|
-
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
19903
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
19904
|
-
msg.setUserAppId(value);
|
|
19905
|
-
break;
|
|
19906
|
-
case 2:
|
|
19907
|
-
var value = new proto_clarifai_api_resources_pb.ConceptMappingJob;
|
|
19908
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.ConceptMappingJob.deserializeBinaryFromReader);
|
|
19909
|
-
msg.addConceptMappingJobs(value);
|
|
19910
|
-
break;
|
|
19911
|
-
default:
|
|
19912
|
-
reader.skipField();
|
|
19913
|
-
break;
|
|
19914
|
-
}
|
|
19915
|
-
}
|
|
19916
|
-
return msg;
|
|
19917
|
-
};
|
|
19918
|
-
|
|
19919
|
-
|
|
19920
|
-
/**
|
|
19921
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
19922
|
-
* @return {!Uint8Array}
|
|
19923
|
-
*/
|
|
19924
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.prototype.serializeBinary = function() {
|
|
19925
|
-
var writer = new jspb.BinaryWriter();
|
|
19926
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.serializeBinaryToWriter(this, writer);
|
|
19927
|
-
return writer.getResultBuffer();
|
|
19928
|
-
};
|
|
19929
|
-
|
|
19930
|
-
|
|
19931
|
-
/**
|
|
19932
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
19933
|
-
* format), writing to the given BinaryWriter.
|
|
19934
|
-
* @param {!proto.clarifai.api.PostConceptMappingJobsRequest} message
|
|
19935
|
-
* @param {!jspb.BinaryWriter} writer
|
|
19936
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
19937
|
-
*/
|
|
19938
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
19939
|
-
var f = undefined;
|
|
19940
|
-
f = message.getUserAppId();
|
|
19941
|
-
if (f != null) {
|
|
19942
|
-
writer.writeMessage(
|
|
19943
|
-
1,
|
|
19944
|
-
f,
|
|
19945
|
-
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
19946
|
-
);
|
|
19947
|
-
}
|
|
19948
|
-
f = message.getConceptMappingJobsList();
|
|
19949
|
-
if (f.length > 0) {
|
|
19950
|
-
writer.writeRepeatedMessage(
|
|
19951
|
-
2,
|
|
19952
|
-
f,
|
|
19953
|
-
proto_clarifai_api_resources_pb.ConceptMappingJob.serializeBinaryToWriter
|
|
19954
|
-
);
|
|
19955
|
-
}
|
|
19956
|
-
};
|
|
19957
|
-
|
|
19958
|
-
|
|
19959
|
-
/**
|
|
19960
|
-
* optional UserAppIDSet user_app_id = 1;
|
|
19961
|
-
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
19962
|
-
*/
|
|
19963
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.prototype.getUserAppId = function() {
|
|
19964
|
-
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
19965
|
-
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
19966
|
-
};
|
|
19967
|
-
|
|
19968
|
-
|
|
19969
|
-
/**
|
|
19970
|
-
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
19971
|
-
* @return {!proto.clarifai.api.PostConceptMappingJobsRequest} returns this
|
|
19972
|
-
*/
|
|
19973
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.prototype.setUserAppId = function(value) {
|
|
19974
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
19975
|
-
};
|
|
19976
|
-
|
|
19977
|
-
|
|
19978
|
-
/**
|
|
19979
|
-
* Clears the message field making it undefined.
|
|
19980
|
-
* @return {!proto.clarifai.api.PostConceptMappingJobsRequest} returns this
|
|
19981
|
-
*/
|
|
19982
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.prototype.clearUserAppId = function() {
|
|
19983
|
-
return this.setUserAppId(undefined);
|
|
19984
|
-
};
|
|
19985
|
-
|
|
19986
|
-
|
|
19987
|
-
/**
|
|
19988
|
-
* Returns whether this field is set.
|
|
19989
|
-
* @return {boolean}
|
|
19990
|
-
*/
|
|
19991
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.prototype.hasUserAppId = function() {
|
|
19992
|
-
return jspb.Message.getField(this, 1) != null;
|
|
19993
|
-
};
|
|
19994
|
-
|
|
19995
|
-
|
|
19996
|
-
/**
|
|
19997
|
-
* repeated ConceptMappingJob concept_mapping_jobs = 2;
|
|
19998
|
-
* @return {!Array<!proto.clarifai.api.ConceptMappingJob>}
|
|
19999
|
-
*/
|
|
20000
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.prototype.getConceptMappingJobsList = function() {
|
|
20001
|
-
return /** @type{!Array<!proto.clarifai.api.ConceptMappingJob>} */ (
|
|
20002
|
-
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.ConceptMappingJob, 2));
|
|
20003
|
-
};
|
|
20004
|
-
|
|
20005
|
-
|
|
20006
|
-
/**
|
|
20007
|
-
* @param {!Array<!proto.clarifai.api.ConceptMappingJob>} value
|
|
20008
|
-
* @return {!proto.clarifai.api.PostConceptMappingJobsRequest} returns this
|
|
20009
|
-
*/
|
|
20010
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.prototype.setConceptMappingJobsList = function(value) {
|
|
20011
|
-
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
20012
|
-
};
|
|
20013
|
-
|
|
20014
|
-
|
|
20015
|
-
/**
|
|
20016
|
-
* @param {!proto.clarifai.api.ConceptMappingJob=} opt_value
|
|
20017
|
-
* @param {number=} opt_index
|
|
20018
|
-
* @return {!proto.clarifai.api.ConceptMappingJob}
|
|
20019
|
-
*/
|
|
20020
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.prototype.addConceptMappingJobs = function(opt_value, opt_index) {
|
|
20021
|
-
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.ConceptMappingJob, opt_index);
|
|
20022
|
-
};
|
|
20023
|
-
|
|
20024
|
-
|
|
20025
|
-
/**
|
|
20026
|
-
* Clears the list making it empty but non-null.
|
|
20027
|
-
* @return {!proto.clarifai.api.PostConceptMappingJobsRequest} returns this
|
|
20028
|
-
*/
|
|
20029
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.prototype.clearConceptMappingJobsList = function() {
|
|
20030
|
-
return this.setConceptMappingJobsList([]);
|
|
20031
|
-
};
|
|
20032
|
-
|
|
20033
|
-
|
|
20034
|
-
|
|
20035
19934
|
/**
|
|
20036
19935
|
* List of repeated fields within this message type.
|
|
20037
19936
|
* @private {!Array<number>}
|
|
@@ -20454,13 +20353,6 @@ proto.clarifai.api.MultiKnowledgeGraphResponse.prototype.clearKnowledgeGraphsLis
|
|
|
20454
20353
|
|
|
20455
20354
|
|
|
20456
20355
|
|
|
20457
|
-
/**
|
|
20458
|
-
* List of repeated fields within this message type.
|
|
20459
|
-
* @private {!Array<number>}
|
|
20460
|
-
* @const
|
|
20461
|
-
*/
|
|
20462
|
-
proto.clarifai.api.MultiConceptMappingJobResponse.repeatedFields_ = [2];
|
|
20463
|
-
|
|
20464
20356
|
|
|
20465
20357
|
|
|
20466
20358
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -20476,8 +20368,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
20476
20368
|
* http://goto/soy-param-migration
|
|
20477
20369
|
* @return {!Object}
|
|
20478
20370
|
*/
|
|
20479
|
-
proto.clarifai.api.
|
|
20480
|
-
return proto.clarifai.api.
|
|
20371
|
+
proto.clarifai.api.GetConceptLanguageRequest.prototype.toObject = function(opt_includeInstance) {
|
|
20372
|
+
return proto.clarifai.api.GetConceptLanguageRequest.toObject(opt_includeInstance, this);
|
|
20481
20373
|
};
|
|
20482
20374
|
|
|
20483
20375
|
|
|
@@ -20486,14 +20378,15 @@ proto.clarifai.api.MultiConceptMappingJobResponse.prototype.toObject = function(
|
|
|
20486
20378
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
20487
20379
|
* the JSPB instance for transitional soy proto support:
|
|
20488
20380
|
* http://goto/soy-param-migration
|
|
20489
|
-
* @param {!proto.clarifai.api.
|
|
20381
|
+
* @param {!proto.clarifai.api.GetConceptLanguageRequest} msg The msg instance to transform.
|
|
20490
20382
|
* @return {!Object}
|
|
20491
20383
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20492
20384
|
*/
|
|
20493
|
-
proto.clarifai.api.
|
|
20385
|
+
proto.clarifai.api.GetConceptLanguageRequest.toObject = function(includeInstance, msg) {
|
|
20494
20386
|
var f, obj = {
|
|
20495
|
-
|
|
20496
|
-
|
|
20387
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
20388
|
+
conceptId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
20389
|
+
language: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
20497
20390
|
};
|
|
20498
20391
|
|
|
20499
20392
|
if (includeInstance) {
|
|
@@ -20507,23 +20400,23 @@ proto.clarifai.api.MultiConceptMappingJobResponse.toObject = function(includeIns
|
|
|
20507
20400
|
/**
|
|
20508
20401
|
* Deserializes binary data (in protobuf wire format).
|
|
20509
20402
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
20510
|
-
* @return {!proto.clarifai.api.
|
|
20403
|
+
* @return {!proto.clarifai.api.GetConceptLanguageRequest}
|
|
20511
20404
|
*/
|
|
20512
|
-
proto.clarifai.api.
|
|
20405
|
+
proto.clarifai.api.GetConceptLanguageRequest.deserializeBinary = function(bytes) {
|
|
20513
20406
|
var reader = new jspb.BinaryReader(bytes);
|
|
20514
|
-
var msg = new proto.clarifai.api.
|
|
20515
|
-
return proto.clarifai.api.
|
|
20407
|
+
var msg = new proto.clarifai.api.GetConceptLanguageRequest;
|
|
20408
|
+
return proto.clarifai.api.GetConceptLanguageRequest.deserializeBinaryFromReader(msg, reader);
|
|
20516
20409
|
};
|
|
20517
20410
|
|
|
20518
20411
|
|
|
20519
20412
|
/**
|
|
20520
20413
|
* Deserializes binary data (in protobuf wire format) from the
|
|
20521
20414
|
* given reader into the given message object.
|
|
20522
|
-
* @param {!proto.clarifai.api.
|
|
20415
|
+
* @param {!proto.clarifai.api.GetConceptLanguageRequest} msg The message object to deserialize into.
|
|
20523
20416
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
20524
|
-
* @return {!proto.clarifai.api.
|
|
20417
|
+
* @return {!proto.clarifai.api.GetConceptLanguageRequest}
|
|
20525
20418
|
*/
|
|
20526
|
-
proto.clarifai.api.
|
|
20419
|
+
proto.clarifai.api.GetConceptLanguageRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
20527
20420
|
while (reader.nextField()) {
|
|
20528
20421
|
if (reader.isEndGroup()) {
|
|
20529
20422
|
break;
|
|
@@ -20531,13 +20424,17 @@ proto.clarifai.api.MultiConceptMappingJobResponse.deserializeBinaryFromReader =
|
|
|
20531
20424
|
var field = reader.getFieldNumber();
|
|
20532
20425
|
switch (field) {
|
|
20533
20426
|
case 1:
|
|
20534
|
-
var value = new
|
|
20535
|
-
reader.readMessage(value,
|
|
20536
|
-
msg.
|
|
20427
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
20428
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
20429
|
+
msg.setUserAppId(value);
|
|
20537
20430
|
break;
|
|
20538
20431
|
case 2:
|
|
20539
20432
|
var value = /** @type {string} */ (reader.readString());
|
|
20540
|
-
msg.
|
|
20433
|
+
msg.setConceptId(value);
|
|
20434
|
+
break;
|
|
20435
|
+
case 3:
|
|
20436
|
+
var value = /** @type {string} */ (reader.readString());
|
|
20437
|
+
msg.setLanguage(value);
|
|
20541
20438
|
break;
|
|
20542
20439
|
default:
|
|
20543
20440
|
reader.skipField();
|
|
@@ -20552,9 +20449,9 @@ proto.clarifai.api.MultiConceptMappingJobResponse.deserializeBinaryFromReader =
|
|
|
20552
20449
|
* Serializes the message to binary data (in protobuf wire format).
|
|
20553
20450
|
* @return {!Uint8Array}
|
|
20554
20451
|
*/
|
|
20555
|
-
proto.clarifai.api.
|
|
20452
|
+
proto.clarifai.api.GetConceptLanguageRequest.prototype.serializeBinary = function() {
|
|
20556
20453
|
var writer = new jspb.BinaryWriter();
|
|
20557
|
-
proto.clarifai.api.
|
|
20454
|
+
proto.clarifai.api.GetConceptLanguageRequest.serializeBinaryToWriter(this, writer);
|
|
20558
20455
|
return writer.getResultBuffer();
|
|
20559
20456
|
};
|
|
20560
20457
|
|
|
@@ -20562,55 +20459,62 @@ proto.clarifai.api.MultiConceptMappingJobResponse.prototype.serializeBinary = fu
|
|
|
20562
20459
|
/**
|
|
20563
20460
|
* Serializes the given message to binary data (in protobuf wire
|
|
20564
20461
|
* format), writing to the given BinaryWriter.
|
|
20565
|
-
* @param {!proto.clarifai.api.
|
|
20462
|
+
* @param {!proto.clarifai.api.GetConceptLanguageRequest} message
|
|
20566
20463
|
* @param {!jspb.BinaryWriter} writer
|
|
20567
20464
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20568
20465
|
*/
|
|
20569
|
-
proto.clarifai.api.
|
|
20466
|
+
proto.clarifai.api.GetConceptLanguageRequest.serializeBinaryToWriter = function(message, writer) {
|
|
20570
20467
|
var f = undefined;
|
|
20571
|
-
f = message.
|
|
20468
|
+
f = message.getUserAppId();
|
|
20572
20469
|
if (f != null) {
|
|
20573
20470
|
writer.writeMessage(
|
|
20574
20471
|
1,
|
|
20575
20472
|
f,
|
|
20576
|
-
|
|
20473
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
20577
20474
|
);
|
|
20578
20475
|
}
|
|
20579
|
-
f = message.
|
|
20476
|
+
f = message.getConceptId();
|
|
20580
20477
|
if (f.length > 0) {
|
|
20581
|
-
writer.
|
|
20478
|
+
writer.writeString(
|
|
20582
20479
|
2,
|
|
20583
20480
|
f
|
|
20584
20481
|
);
|
|
20585
20482
|
}
|
|
20483
|
+
f = message.getLanguage();
|
|
20484
|
+
if (f.length > 0) {
|
|
20485
|
+
writer.writeString(
|
|
20486
|
+
3,
|
|
20487
|
+
f
|
|
20488
|
+
);
|
|
20489
|
+
}
|
|
20586
20490
|
};
|
|
20587
20491
|
|
|
20588
20492
|
|
|
20589
20493
|
/**
|
|
20590
|
-
* optional
|
|
20591
|
-
* @return {?proto.clarifai.api.
|
|
20494
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
20495
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
20592
20496
|
*/
|
|
20593
|
-
proto.clarifai.api.
|
|
20594
|
-
return /** @type{?proto.clarifai.api.
|
|
20595
|
-
jspb.Message.getWrapperField(this,
|
|
20497
|
+
proto.clarifai.api.GetConceptLanguageRequest.prototype.getUserAppId = function() {
|
|
20498
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
20499
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
20596
20500
|
};
|
|
20597
20501
|
|
|
20598
20502
|
|
|
20599
20503
|
/**
|
|
20600
|
-
* @param {?proto.clarifai.api.
|
|
20601
|
-
* @return {!proto.clarifai.api.
|
|
20504
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
20505
|
+
* @return {!proto.clarifai.api.GetConceptLanguageRequest} returns this
|
|
20602
20506
|
*/
|
|
20603
|
-
proto.clarifai.api.
|
|
20507
|
+
proto.clarifai.api.GetConceptLanguageRequest.prototype.setUserAppId = function(value) {
|
|
20604
20508
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
20605
20509
|
};
|
|
20606
20510
|
|
|
20607
20511
|
|
|
20608
20512
|
/**
|
|
20609
20513
|
* Clears the message field making it undefined.
|
|
20610
|
-
* @return {!proto.clarifai.api.
|
|
20514
|
+
* @return {!proto.clarifai.api.GetConceptLanguageRequest} returns this
|
|
20611
20515
|
*/
|
|
20612
|
-
proto.clarifai.api.
|
|
20613
|
-
return this.
|
|
20516
|
+
proto.clarifai.api.GetConceptLanguageRequest.prototype.clearUserAppId = function() {
|
|
20517
|
+
return this.setUserAppId(undefined);
|
|
20614
20518
|
};
|
|
20615
20519
|
|
|
20616
20520
|
|
|
@@ -20618,45 +20522,44 @@ proto.clarifai.api.MultiConceptMappingJobResponse.prototype.clearStatus = functi
|
|
|
20618
20522
|
* Returns whether this field is set.
|
|
20619
20523
|
* @return {boolean}
|
|
20620
20524
|
*/
|
|
20621
|
-
proto.clarifai.api.
|
|
20525
|
+
proto.clarifai.api.GetConceptLanguageRequest.prototype.hasUserAppId = function() {
|
|
20622
20526
|
return jspb.Message.getField(this, 1) != null;
|
|
20623
20527
|
};
|
|
20624
20528
|
|
|
20625
20529
|
|
|
20626
20530
|
/**
|
|
20627
|
-
*
|
|
20628
|
-
* @return {
|
|
20531
|
+
* optional string concept_id = 2;
|
|
20532
|
+
* @return {string}
|
|
20629
20533
|
*/
|
|
20630
|
-
proto.clarifai.api.
|
|
20631
|
-
return /** @type {
|
|
20534
|
+
proto.clarifai.api.GetConceptLanguageRequest.prototype.getConceptId = function() {
|
|
20535
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
20632
20536
|
};
|
|
20633
20537
|
|
|
20634
20538
|
|
|
20635
20539
|
/**
|
|
20636
|
-
* @param {
|
|
20637
|
-
* @return {!proto.clarifai.api.
|
|
20540
|
+
* @param {string} value
|
|
20541
|
+
* @return {!proto.clarifai.api.GetConceptLanguageRequest} returns this
|
|
20638
20542
|
*/
|
|
20639
|
-
proto.clarifai.api.
|
|
20640
|
-
return jspb.Message.
|
|
20543
|
+
proto.clarifai.api.GetConceptLanguageRequest.prototype.setConceptId = function(value) {
|
|
20544
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
20641
20545
|
};
|
|
20642
20546
|
|
|
20643
20547
|
|
|
20644
20548
|
/**
|
|
20645
|
-
*
|
|
20646
|
-
* @
|
|
20647
|
-
* @return {!proto.clarifai.api.MultiConceptMappingJobResponse} returns this
|
|
20549
|
+
* optional string language = 3;
|
|
20550
|
+
* @return {string}
|
|
20648
20551
|
*/
|
|
20649
|
-
proto.clarifai.api.
|
|
20650
|
-
return jspb.Message.
|
|
20552
|
+
proto.clarifai.api.GetConceptLanguageRequest.prototype.getLanguage = function() {
|
|
20553
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
20651
20554
|
};
|
|
20652
20555
|
|
|
20653
20556
|
|
|
20654
20557
|
/**
|
|
20655
|
-
*
|
|
20656
|
-
* @return {!proto.clarifai.api.
|
|
20558
|
+
* @param {string} value
|
|
20559
|
+
* @return {!proto.clarifai.api.GetConceptLanguageRequest} returns this
|
|
20657
20560
|
*/
|
|
20658
|
-
proto.clarifai.api.
|
|
20659
|
-
return
|
|
20561
|
+
proto.clarifai.api.GetConceptLanguageRequest.prototype.setLanguage = function(value) {
|
|
20562
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
20660
20563
|
};
|
|
20661
20564
|
|
|
20662
20565
|
|
|
@@ -20676,8 +20579,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
20676
20579
|
* http://goto/soy-param-migration
|
|
20677
20580
|
* @return {!Object}
|
|
20678
20581
|
*/
|
|
20679
|
-
proto.clarifai.api.
|
|
20680
|
-
return proto.clarifai.api.
|
|
20582
|
+
proto.clarifai.api.ListConceptLanguagesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
20583
|
+
return proto.clarifai.api.ListConceptLanguagesRequest.toObject(opt_includeInstance, this);
|
|
20681
20584
|
};
|
|
20682
20585
|
|
|
20683
20586
|
|
|
@@ -20686,15 +20589,16 @@ proto.clarifai.api.GetConceptLanguageRequest.prototype.toObject = function(opt_i
|
|
|
20686
20589
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
20687
20590
|
* the JSPB instance for transitional soy proto support:
|
|
20688
20591
|
* http://goto/soy-param-migration
|
|
20689
|
-
* @param {!proto.clarifai.api.
|
|
20592
|
+
* @param {!proto.clarifai.api.ListConceptLanguagesRequest} msg The msg instance to transform.
|
|
20690
20593
|
* @return {!Object}
|
|
20691
20594
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20692
20595
|
*/
|
|
20693
|
-
proto.clarifai.api.
|
|
20596
|
+
proto.clarifai.api.ListConceptLanguagesRequest.toObject = function(includeInstance, msg) {
|
|
20694
20597
|
var f, obj = {
|
|
20695
20598
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
20696
20599
|
conceptId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
20697
|
-
|
|
20600
|
+
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
20601
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
20698
20602
|
};
|
|
20699
20603
|
|
|
20700
20604
|
if (includeInstance) {
|
|
@@ -20708,23 +20612,23 @@ proto.clarifai.api.GetConceptLanguageRequest.toObject = function(includeInstance
|
|
|
20708
20612
|
/**
|
|
20709
20613
|
* Deserializes binary data (in protobuf wire format).
|
|
20710
20614
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
20711
|
-
* @return {!proto.clarifai.api.
|
|
20615
|
+
* @return {!proto.clarifai.api.ListConceptLanguagesRequest}
|
|
20712
20616
|
*/
|
|
20713
|
-
proto.clarifai.api.
|
|
20617
|
+
proto.clarifai.api.ListConceptLanguagesRequest.deserializeBinary = function(bytes) {
|
|
20714
20618
|
var reader = new jspb.BinaryReader(bytes);
|
|
20715
|
-
var msg = new proto.clarifai.api.
|
|
20716
|
-
return proto.clarifai.api.
|
|
20619
|
+
var msg = new proto.clarifai.api.ListConceptLanguagesRequest;
|
|
20620
|
+
return proto.clarifai.api.ListConceptLanguagesRequest.deserializeBinaryFromReader(msg, reader);
|
|
20717
20621
|
};
|
|
20718
20622
|
|
|
20719
20623
|
|
|
20720
20624
|
/**
|
|
20721
20625
|
* Deserializes binary data (in protobuf wire format) from the
|
|
20722
20626
|
* given reader into the given message object.
|
|
20723
|
-
* @param {!proto.clarifai.api.
|
|
20627
|
+
* @param {!proto.clarifai.api.ListConceptLanguagesRequest} msg The message object to deserialize into.
|
|
20724
20628
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
20725
|
-
* @return {!proto.clarifai.api.
|
|
20629
|
+
* @return {!proto.clarifai.api.ListConceptLanguagesRequest}
|
|
20726
20630
|
*/
|
|
20727
|
-
proto.clarifai.api.
|
|
20631
|
+
proto.clarifai.api.ListConceptLanguagesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
20728
20632
|
while (reader.nextField()) {
|
|
20729
20633
|
if (reader.isEndGroup()) {
|
|
20730
20634
|
break;
|
|
@@ -20741,8 +20645,12 @@ proto.clarifai.api.GetConceptLanguageRequest.deserializeBinaryFromReader = funct
|
|
|
20741
20645
|
msg.setConceptId(value);
|
|
20742
20646
|
break;
|
|
20743
20647
|
case 3:
|
|
20744
|
-
var value = /** @type {
|
|
20745
|
-
msg.
|
|
20648
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
20649
|
+
msg.setPage(value);
|
|
20650
|
+
break;
|
|
20651
|
+
case 4:
|
|
20652
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
20653
|
+
msg.setPerPage(value);
|
|
20746
20654
|
break;
|
|
20747
20655
|
default:
|
|
20748
20656
|
reader.skipField();
|
|
@@ -20757,9 +20665,9 @@ proto.clarifai.api.GetConceptLanguageRequest.deserializeBinaryFromReader = funct
|
|
|
20757
20665
|
* Serializes the message to binary data (in protobuf wire format).
|
|
20758
20666
|
* @return {!Uint8Array}
|
|
20759
20667
|
*/
|
|
20760
|
-
proto.clarifai.api.
|
|
20668
|
+
proto.clarifai.api.ListConceptLanguagesRequest.prototype.serializeBinary = function() {
|
|
20761
20669
|
var writer = new jspb.BinaryWriter();
|
|
20762
|
-
proto.clarifai.api.
|
|
20670
|
+
proto.clarifai.api.ListConceptLanguagesRequest.serializeBinaryToWriter(this, writer);
|
|
20763
20671
|
return writer.getResultBuffer();
|
|
20764
20672
|
};
|
|
20765
20673
|
|
|
@@ -20767,11 +20675,11 @@ proto.clarifai.api.GetConceptLanguageRequest.prototype.serializeBinary = functio
|
|
|
20767
20675
|
/**
|
|
20768
20676
|
* Serializes the given message to binary data (in protobuf wire
|
|
20769
20677
|
* format), writing to the given BinaryWriter.
|
|
20770
|
-
* @param {!proto.clarifai.api.
|
|
20678
|
+
* @param {!proto.clarifai.api.ListConceptLanguagesRequest} message
|
|
20771
20679
|
* @param {!jspb.BinaryWriter} writer
|
|
20772
20680
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20773
20681
|
*/
|
|
20774
|
-
proto.clarifai.api.
|
|
20682
|
+
proto.clarifai.api.ListConceptLanguagesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
20775
20683
|
var f = undefined;
|
|
20776
20684
|
f = message.getUserAppId();
|
|
20777
20685
|
if (f != null) {
|
|
@@ -20788,13 +20696,20 @@ proto.clarifai.api.GetConceptLanguageRequest.serializeBinaryToWriter = function(
|
|
|
20788
20696
|
f
|
|
20789
20697
|
);
|
|
20790
20698
|
}
|
|
20791
|
-
f = message.
|
|
20792
|
-
if (f
|
|
20793
|
-
writer.
|
|
20699
|
+
f = message.getPage();
|
|
20700
|
+
if (f !== 0) {
|
|
20701
|
+
writer.writeUint32(
|
|
20794
20702
|
3,
|
|
20795
20703
|
f
|
|
20796
20704
|
);
|
|
20797
20705
|
}
|
|
20706
|
+
f = message.getPerPage();
|
|
20707
|
+
if (f !== 0) {
|
|
20708
|
+
writer.writeUint32(
|
|
20709
|
+
4,
|
|
20710
|
+
f
|
|
20711
|
+
);
|
|
20712
|
+
}
|
|
20798
20713
|
};
|
|
20799
20714
|
|
|
20800
20715
|
|
|
@@ -20802,7 +20717,7 @@ proto.clarifai.api.GetConceptLanguageRequest.serializeBinaryToWriter = function(
|
|
|
20802
20717
|
* optional UserAppIDSet user_app_id = 1;
|
|
20803
20718
|
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
20804
20719
|
*/
|
|
20805
|
-
proto.clarifai.api.
|
|
20720
|
+
proto.clarifai.api.ListConceptLanguagesRequest.prototype.getUserAppId = function() {
|
|
20806
20721
|
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
20807
20722
|
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
20808
20723
|
};
|
|
@@ -20810,18 +20725,18 @@ proto.clarifai.api.GetConceptLanguageRequest.prototype.getUserAppId = function()
|
|
|
20810
20725
|
|
|
20811
20726
|
/**
|
|
20812
20727
|
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
20813
|
-
* @return {!proto.clarifai.api.
|
|
20728
|
+
* @return {!proto.clarifai.api.ListConceptLanguagesRequest} returns this
|
|
20814
20729
|
*/
|
|
20815
|
-
proto.clarifai.api.
|
|
20730
|
+
proto.clarifai.api.ListConceptLanguagesRequest.prototype.setUserAppId = function(value) {
|
|
20816
20731
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
20817
20732
|
};
|
|
20818
20733
|
|
|
20819
20734
|
|
|
20820
20735
|
/**
|
|
20821
20736
|
* Clears the message field making it undefined.
|
|
20822
|
-
* @return {!proto.clarifai.api.
|
|
20737
|
+
* @return {!proto.clarifai.api.ListConceptLanguagesRequest} returns this
|
|
20823
20738
|
*/
|
|
20824
|
-
proto.clarifai.api.
|
|
20739
|
+
proto.clarifai.api.ListConceptLanguagesRequest.prototype.clearUserAppId = function() {
|
|
20825
20740
|
return this.setUserAppId(undefined);
|
|
20826
20741
|
};
|
|
20827
20742
|
|
|
@@ -20830,7 +20745,7 @@ proto.clarifai.api.GetConceptLanguageRequest.prototype.clearUserAppId = function
|
|
|
20830
20745
|
* Returns whether this field is set.
|
|
20831
20746
|
* @return {boolean}
|
|
20832
20747
|
*/
|
|
20833
|
-
proto.clarifai.api.
|
|
20748
|
+
proto.clarifai.api.ListConceptLanguagesRequest.prototype.hasUserAppId = function() {
|
|
20834
20749
|
return jspb.Message.getField(this, 1) != null;
|
|
20835
20750
|
};
|
|
20836
20751
|
|
|
@@ -20839,39 +20754,64 @@ proto.clarifai.api.GetConceptLanguageRequest.prototype.hasUserAppId = function()
|
|
|
20839
20754
|
* optional string concept_id = 2;
|
|
20840
20755
|
* @return {string}
|
|
20841
20756
|
*/
|
|
20842
|
-
proto.clarifai.api.
|
|
20757
|
+
proto.clarifai.api.ListConceptLanguagesRequest.prototype.getConceptId = function() {
|
|
20843
20758
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
20844
20759
|
};
|
|
20845
20760
|
|
|
20846
20761
|
|
|
20847
20762
|
/**
|
|
20848
20763
|
* @param {string} value
|
|
20849
|
-
* @return {!proto.clarifai.api.
|
|
20764
|
+
* @return {!proto.clarifai.api.ListConceptLanguagesRequest} returns this
|
|
20850
20765
|
*/
|
|
20851
|
-
proto.clarifai.api.
|
|
20766
|
+
proto.clarifai.api.ListConceptLanguagesRequest.prototype.setConceptId = function(value) {
|
|
20852
20767
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
20853
20768
|
};
|
|
20854
20769
|
|
|
20855
20770
|
|
|
20856
20771
|
/**
|
|
20857
|
-
* optional
|
|
20858
|
-
* @return {
|
|
20772
|
+
* optional uint32 page = 3;
|
|
20773
|
+
* @return {number}
|
|
20859
20774
|
*/
|
|
20860
|
-
proto.clarifai.api.
|
|
20861
|
-
return /** @type {
|
|
20775
|
+
proto.clarifai.api.ListConceptLanguagesRequest.prototype.getPage = function() {
|
|
20776
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
20862
20777
|
};
|
|
20863
20778
|
|
|
20864
20779
|
|
|
20865
20780
|
/**
|
|
20866
|
-
* @param {
|
|
20867
|
-
* @return {!proto.clarifai.api.
|
|
20781
|
+
* @param {number} value
|
|
20782
|
+
* @return {!proto.clarifai.api.ListConceptLanguagesRequest} returns this
|
|
20868
20783
|
*/
|
|
20869
|
-
proto.clarifai.api.
|
|
20870
|
-
return jspb.Message.
|
|
20784
|
+
proto.clarifai.api.ListConceptLanguagesRequest.prototype.setPage = function(value) {
|
|
20785
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
20786
|
+
};
|
|
20787
|
+
|
|
20788
|
+
|
|
20789
|
+
/**
|
|
20790
|
+
* optional uint32 per_page = 4;
|
|
20791
|
+
* @return {number}
|
|
20792
|
+
*/
|
|
20793
|
+
proto.clarifai.api.ListConceptLanguagesRequest.prototype.getPerPage = function() {
|
|
20794
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
20795
|
+
};
|
|
20796
|
+
|
|
20797
|
+
|
|
20798
|
+
/**
|
|
20799
|
+
* @param {number} value
|
|
20800
|
+
* @return {!proto.clarifai.api.ListConceptLanguagesRequest} returns this
|
|
20801
|
+
*/
|
|
20802
|
+
proto.clarifai.api.ListConceptLanguagesRequest.prototype.setPerPage = function(value) {
|
|
20803
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
20871
20804
|
};
|
|
20872
20805
|
|
|
20873
20806
|
|
|
20874
20807
|
|
|
20808
|
+
/**
|
|
20809
|
+
* List of repeated fields within this message type.
|
|
20810
|
+
* @private {!Array<number>}
|
|
20811
|
+
* @const
|
|
20812
|
+
*/
|
|
20813
|
+
proto.clarifai.api.PatchConceptLanguagesRequest.repeatedFields_ = [3];
|
|
20814
|
+
|
|
20875
20815
|
|
|
20876
20816
|
|
|
20877
20817
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -20887,8 +20827,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
20887
20827
|
* http://goto/soy-param-migration
|
|
20888
20828
|
* @return {!Object}
|
|
20889
20829
|
*/
|
|
20890
|
-
proto.clarifai.api.
|
|
20891
|
-
return proto.clarifai.api.
|
|
20830
|
+
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
20831
|
+
return proto.clarifai.api.PatchConceptLanguagesRequest.toObject(opt_includeInstance, this);
|
|
20892
20832
|
};
|
|
20893
20833
|
|
|
20894
20834
|
|
|
@@ -20897,16 +20837,17 @@ proto.clarifai.api.ListConceptLanguagesRequest.prototype.toObject = function(opt
|
|
|
20897
20837
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
20898
20838
|
* the JSPB instance for transitional soy proto support:
|
|
20899
20839
|
* http://goto/soy-param-migration
|
|
20900
|
-
* @param {!proto.clarifai.api.
|
|
20840
|
+
* @param {!proto.clarifai.api.PatchConceptLanguagesRequest} msg The msg instance to transform.
|
|
20901
20841
|
* @return {!Object}
|
|
20902
20842
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20903
20843
|
*/
|
|
20904
|
-
proto.clarifai.api.
|
|
20844
|
+
proto.clarifai.api.PatchConceptLanguagesRequest.toObject = function(includeInstance, msg) {
|
|
20905
20845
|
var f, obj = {
|
|
20906
20846
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
20907
20847
|
conceptId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
20908
|
-
|
|
20909
|
-
|
|
20848
|
+
conceptLanguagesList: jspb.Message.toObjectList(msg.getConceptLanguagesList(),
|
|
20849
|
+
proto_clarifai_api_resources_pb.ConceptLanguage.toObject, includeInstance),
|
|
20850
|
+
action: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
20910
20851
|
};
|
|
20911
20852
|
|
|
20912
20853
|
if (includeInstance) {
|
|
@@ -20920,23 +20861,23 @@ proto.clarifai.api.ListConceptLanguagesRequest.toObject = function(includeInstan
|
|
|
20920
20861
|
/**
|
|
20921
20862
|
* Deserializes binary data (in protobuf wire format).
|
|
20922
20863
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
20923
|
-
* @return {!proto.clarifai.api.
|
|
20864
|
+
* @return {!proto.clarifai.api.PatchConceptLanguagesRequest}
|
|
20924
20865
|
*/
|
|
20925
|
-
proto.clarifai.api.
|
|
20866
|
+
proto.clarifai.api.PatchConceptLanguagesRequest.deserializeBinary = function(bytes) {
|
|
20926
20867
|
var reader = new jspb.BinaryReader(bytes);
|
|
20927
|
-
var msg = new proto.clarifai.api.
|
|
20928
|
-
return proto.clarifai.api.
|
|
20868
|
+
var msg = new proto.clarifai.api.PatchConceptLanguagesRequest;
|
|
20869
|
+
return proto.clarifai.api.PatchConceptLanguagesRequest.deserializeBinaryFromReader(msg, reader);
|
|
20929
20870
|
};
|
|
20930
20871
|
|
|
20931
20872
|
|
|
20932
20873
|
/**
|
|
20933
20874
|
* Deserializes binary data (in protobuf wire format) from the
|
|
20934
20875
|
* given reader into the given message object.
|
|
20935
|
-
* @param {!proto.clarifai.api.
|
|
20876
|
+
* @param {!proto.clarifai.api.PatchConceptLanguagesRequest} msg The message object to deserialize into.
|
|
20936
20877
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
20937
|
-
* @return {!proto.clarifai.api.
|
|
20878
|
+
* @return {!proto.clarifai.api.PatchConceptLanguagesRequest}
|
|
20938
20879
|
*/
|
|
20939
|
-
proto.clarifai.api.
|
|
20880
|
+
proto.clarifai.api.PatchConceptLanguagesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
20940
20881
|
while (reader.nextField()) {
|
|
20941
20882
|
if (reader.isEndGroup()) {
|
|
20942
20883
|
break;
|
|
@@ -20953,12 +20894,13 @@ proto.clarifai.api.ListConceptLanguagesRequest.deserializeBinaryFromReader = fun
|
|
|
20953
20894
|
msg.setConceptId(value);
|
|
20954
20895
|
break;
|
|
20955
20896
|
case 3:
|
|
20956
|
-
var value =
|
|
20957
|
-
|
|
20897
|
+
var value = new proto_clarifai_api_resources_pb.ConceptLanguage;
|
|
20898
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.ConceptLanguage.deserializeBinaryFromReader);
|
|
20899
|
+
msg.addConceptLanguages(value);
|
|
20958
20900
|
break;
|
|
20959
20901
|
case 4:
|
|
20960
|
-
var value = /** @type {
|
|
20961
|
-
msg.
|
|
20902
|
+
var value = /** @type {string} */ (reader.readString());
|
|
20903
|
+
msg.setAction(value);
|
|
20962
20904
|
break;
|
|
20963
20905
|
default:
|
|
20964
20906
|
reader.skipField();
|
|
@@ -20973,9 +20915,9 @@ proto.clarifai.api.ListConceptLanguagesRequest.deserializeBinaryFromReader = fun
|
|
|
20973
20915
|
* Serializes the message to binary data (in protobuf wire format).
|
|
20974
20916
|
* @return {!Uint8Array}
|
|
20975
20917
|
*/
|
|
20976
|
-
proto.clarifai.api.
|
|
20918
|
+
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.serializeBinary = function() {
|
|
20977
20919
|
var writer = new jspb.BinaryWriter();
|
|
20978
|
-
proto.clarifai.api.
|
|
20920
|
+
proto.clarifai.api.PatchConceptLanguagesRequest.serializeBinaryToWriter(this, writer);
|
|
20979
20921
|
return writer.getResultBuffer();
|
|
20980
20922
|
};
|
|
20981
20923
|
|
|
@@ -20983,11 +20925,11 @@ proto.clarifai.api.ListConceptLanguagesRequest.prototype.serializeBinary = funct
|
|
|
20983
20925
|
/**
|
|
20984
20926
|
* Serializes the given message to binary data (in protobuf wire
|
|
20985
20927
|
* format), writing to the given BinaryWriter.
|
|
20986
|
-
* @param {!proto.clarifai.api.
|
|
20928
|
+
* @param {!proto.clarifai.api.PatchConceptLanguagesRequest} message
|
|
20987
20929
|
* @param {!jspb.BinaryWriter} writer
|
|
20988
20930
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20989
20931
|
*/
|
|
20990
|
-
proto.clarifai.api.
|
|
20932
|
+
proto.clarifai.api.PatchConceptLanguagesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
20991
20933
|
var f = undefined;
|
|
20992
20934
|
f = message.getUserAppId();
|
|
20993
20935
|
if (f != null) {
|
|
@@ -21004,16 +20946,17 @@ proto.clarifai.api.ListConceptLanguagesRequest.serializeBinaryToWriter = functio
|
|
|
21004
20946
|
f
|
|
21005
20947
|
);
|
|
21006
20948
|
}
|
|
21007
|
-
f = message.
|
|
21008
|
-
if (f
|
|
21009
|
-
writer.
|
|
20949
|
+
f = message.getConceptLanguagesList();
|
|
20950
|
+
if (f.length > 0) {
|
|
20951
|
+
writer.writeRepeatedMessage(
|
|
21010
20952
|
3,
|
|
21011
|
-
f
|
|
20953
|
+
f,
|
|
20954
|
+
proto_clarifai_api_resources_pb.ConceptLanguage.serializeBinaryToWriter
|
|
21012
20955
|
);
|
|
21013
20956
|
}
|
|
21014
|
-
f = message.
|
|
21015
|
-
if (f
|
|
21016
|
-
writer.
|
|
20957
|
+
f = message.getAction();
|
|
20958
|
+
if (f.length > 0) {
|
|
20959
|
+
writer.writeString(
|
|
21017
20960
|
4,
|
|
21018
20961
|
f
|
|
21019
20962
|
);
|
|
@@ -21025,7 +20968,7 @@ proto.clarifai.api.ListConceptLanguagesRequest.serializeBinaryToWriter = functio
|
|
|
21025
20968
|
* optional UserAppIDSet user_app_id = 1;
|
|
21026
20969
|
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
21027
20970
|
*/
|
|
21028
|
-
proto.clarifai.api.
|
|
20971
|
+
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.getUserAppId = function() {
|
|
21029
20972
|
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
21030
20973
|
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
21031
20974
|
};
|
|
@@ -21033,18 +20976,18 @@ proto.clarifai.api.ListConceptLanguagesRequest.prototype.getUserAppId = function
|
|
|
21033
20976
|
|
|
21034
20977
|
/**
|
|
21035
20978
|
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
21036
|
-
* @return {!proto.clarifai.api.
|
|
20979
|
+
* @return {!proto.clarifai.api.PatchConceptLanguagesRequest} returns this
|
|
21037
20980
|
*/
|
|
21038
|
-
proto.clarifai.api.
|
|
20981
|
+
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.setUserAppId = function(value) {
|
|
21039
20982
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
21040
20983
|
};
|
|
21041
20984
|
|
|
21042
20985
|
|
|
21043
20986
|
/**
|
|
21044
20987
|
* Clears the message field making it undefined.
|
|
21045
|
-
* @return {!proto.clarifai.api.
|
|
20988
|
+
* @return {!proto.clarifai.api.PatchConceptLanguagesRequest} returns this
|
|
21046
20989
|
*/
|
|
21047
|
-
proto.clarifai.api.
|
|
20990
|
+
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.clearUserAppId = function() {
|
|
21048
20991
|
return this.setUserAppId(undefined);
|
|
21049
20992
|
};
|
|
21050
20993
|
|
|
@@ -21053,7 +20996,7 @@ proto.clarifai.api.ListConceptLanguagesRequest.prototype.clearUserAppId = functi
|
|
|
21053
20996
|
* Returns whether this field is set.
|
|
21054
20997
|
* @return {boolean}
|
|
21055
20998
|
*/
|
|
21056
|
-
proto.clarifai.api.
|
|
20999
|
+
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.hasUserAppId = function() {
|
|
21057
21000
|
return jspb.Message.getField(this, 1) != null;
|
|
21058
21001
|
};
|
|
21059
21002
|
|
|
@@ -21062,53 +21005,73 @@ proto.clarifai.api.ListConceptLanguagesRequest.prototype.hasUserAppId = function
|
|
|
21062
21005
|
* optional string concept_id = 2;
|
|
21063
21006
|
* @return {string}
|
|
21064
21007
|
*/
|
|
21065
|
-
proto.clarifai.api.
|
|
21008
|
+
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.getConceptId = function() {
|
|
21066
21009
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
21067
21010
|
};
|
|
21068
21011
|
|
|
21069
21012
|
|
|
21070
21013
|
/**
|
|
21071
21014
|
* @param {string} value
|
|
21072
|
-
* @return {!proto.clarifai.api.
|
|
21015
|
+
* @return {!proto.clarifai.api.PatchConceptLanguagesRequest} returns this
|
|
21073
21016
|
*/
|
|
21074
|
-
proto.clarifai.api.
|
|
21017
|
+
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.setConceptId = function(value) {
|
|
21075
21018
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
21076
21019
|
};
|
|
21077
21020
|
|
|
21078
21021
|
|
|
21079
21022
|
/**
|
|
21080
|
-
*
|
|
21081
|
-
* @return {
|
|
21023
|
+
* repeated ConceptLanguage concept_languages = 3;
|
|
21024
|
+
* @return {!Array<!proto.clarifai.api.ConceptLanguage>}
|
|
21082
21025
|
*/
|
|
21083
|
-
proto.clarifai.api.
|
|
21084
|
-
return /** @type
|
|
21026
|
+
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.getConceptLanguagesList = function() {
|
|
21027
|
+
return /** @type{!Array<!proto.clarifai.api.ConceptLanguage>} */ (
|
|
21028
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.ConceptLanguage, 3));
|
|
21085
21029
|
};
|
|
21086
21030
|
|
|
21087
21031
|
|
|
21088
21032
|
/**
|
|
21089
|
-
* @param {
|
|
21090
|
-
* @return {!proto.clarifai.api.
|
|
21033
|
+
* @param {!Array<!proto.clarifai.api.ConceptLanguage>} value
|
|
21034
|
+
* @return {!proto.clarifai.api.PatchConceptLanguagesRequest} returns this
|
|
21035
|
+
*/
|
|
21036
|
+
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.setConceptLanguagesList = function(value) {
|
|
21037
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
21038
|
+
};
|
|
21039
|
+
|
|
21040
|
+
|
|
21041
|
+
/**
|
|
21042
|
+
* @param {!proto.clarifai.api.ConceptLanguage=} opt_value
|
|
21043
|
+
* @param {number=} opt_index
|
|
21044
|
+
* @return {!proto.clarifai.api.ConceptLanguage}
|
|
21091
21045
|
*/
|
|
21092
|
-
proto.clarifai.api.
|
|
21093
|
-
return jspb.Message.
|
|
21046
|
+
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.addConceptLanguages = function(opt_value, opt_index) {
|
|
21047
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.ConceptLanguage, opt_index);
|
|
21094
21048
|
};
|
|
21095
21049
|
|
|
21096
21050
|
|
|
21097
21051
|
/**
|
|
21098
|
-
*
|
|
21099
|
-
* @return {
|
|
21052
|
+
* Clears the list making it empty but non-null.
|
|
21053
|
+
* @return {!proto.clarifai.api.PatchConceptLanguagesRequest} returns this
|
|
21100
21054
|
*/
|
|
21101
|
-
proto.clarifai.api.
|
|
21102
|
-
return
|
|
21055
|
+
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.clearConceptLanguagesList = function() {
|
|
21056
|
+
return this.setConceptLanguagesList([]);
|
|
21103
21057
|
};
|
|
21104
21058
|
|
|
21105
21059
|
|
|
21106
21060
|
/**
|
|
21107
|
-
*
|
|
21108
|
-
* @return {
|
|
21061
|
+
* optional string action = 4;
|
|
21062
|
+
* @return {string}
|
|
21109
21063
|
*/
|
|
21110
|
-
proto.clarifai.api.
|
|
21111
|
-
return jspb.Message.
|
|
21064
|
+
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.getAction = function() {
|
|
21065
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
21066
|
+
};
|
|
21067
|
+
|
|
21068
|
+
|
|
21069
|
+
/**
|
|
21070
|
+
* @param {string} value
|
|
21071
|
+
* @return {!proto.clarifai.api.PatchConceptLanguagesRequest} returns this
|
|
21072
|
+
*/
|
|
21073
|
+
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.setAction = function(value) {
|
|
21074
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
21112
21075
|
};
|
|
21113
21076
|
|
|
21114
21077
|
|
|
@@ -21118,7 +21081,7 @@ proto.clarifai.api.ListConceptLanguagesRequest.prototype.setPerPage = function(v
|
|
|
21118
21081
|
* @private {!Array<number>}
|
|
21119
21082
|
* @const
|
|
21120
21083
|
*/
|
|
21121
|
-
proto.clarifai.api.
|
|
21084
|
+
proto.clarifai.api.PostConceptLanguagesRequest.repeatedFields_ = [3];
|
|
21122
21085
|
|
|
21123
21086
|
|
|
21124
21087
|
|
|
@@ -21135,8 +21098,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
21135
21098
|
* http://goto/soy-param-migration
|
|
21136
21099
|
* @return {!Object}
|
|
21137
21100
|
*/
|
|
21138
|
-
proto.clarifai.api.
|
|
21139
|
-
return proto.clarifai.api.
|
|
21101
|
+
proto.clarifai.api.PostConceptLanguagesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
21102
|
+
return proto.clarifai.api.PostConceptLanguagesRequest.toObject(opt_includeInstance, this);
|
|
21140
21103
|
};
|
|
21141
21104
|
|
|
21142
21105
|
|
|
@@ -21145,17 +21108,16 @@ proto.clarifai.api.PatchConceptLanguagesRequest.prototype.toObject = function(op
|
|
|
21145
21108
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21146
21109
|
* the JSPB instance for transitional soy proto support:
|
|
21147
21110
|
* http://goto/soy-param-migration
|
|
21148
|
-
* @param {!proto.clarifai.api.
|
|
21111
|
+
* @param {!proto.clarifai.api.PostConceptLanguagesRequest} msg The msg instance to transform.
|
|
21149
21112
|
* @return {!Object}
|
|
21150
21113
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21151
21114
|
*/
|
|
21152
|
-
proto.clarifai.api.
|
|
21115
|
+
proto.clarifai.api.PostConceptLanguagesRequest.toObject = function(includeInstance, msg) {
|
|
21153
21116
|
var f, obj = {
|
|
21154
21117
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
21155
21118
|
conceptId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
21156
21119
|
conceptLanguagesList: jspb.Message.toObjectList(msg.getConceptLanguagesList(),
|
|
21157
|
-
proto_clarifai_api_resources_pb.ConceptLanguage.toObject, includeInstance)
|
|
21158
|
-
action: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
21120
|
+
proto_clarifai_api_resources_pb.ConceptLanguage.toObject, includeInstance)
|
|
21159
21121
|
};
|
|
21160
21122
|
|
|
21161
21123
|
if (includeInstance) {
|
|
@@ -21169,23 +21131,23 @@ proto.clarifai.api.PatchConceptLanguagesRequest.toObject = function(includeInsta
|
|
|
21169
21131
|
/**
|
|
21170
21132
|
* Deserializes binary data (in protobuf wire format).
|
|
21171
21133
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21172
|
-
* @return {!proto.clarifai.api.
|
|
21134
|
+
* @return {!proto.clarifai.api.PostConceptLanguagesRequest}
|
|
21173
21135
|
*/
|
|
21174
|
-
proto.clarifai.api.
|
|
21136
|
+
proto.clarifai.api.PostConceptLanguagesRequest.deserializeBinary = function(bytes) {
|
|
21175
21137
|
var reader = new jspb.BinaryReader(bytes);
|
|
21176
|
-
var msg = new proto.clarifai.api.
|
|
21177
|
-
return proto.clarifai.api.
|
|
21138
|
+
var msg = new proto.clarifai.api.PostConceptLanguagesRequest;
|
|
21139
|
+
return proto.clarifai.api.PostConceptLanguagesRequest.deserializeBinaryFromReader(msg, reader);
|
|
21178
21140
|
};
|
|
21179
21141
|
|
|
21180
21142
|
|
|
21181
21143
|
/**
|
|
21182
21144
|
* Deserializes binary data (in protobuf wire format) from the
|
|
21183
21145
|
* given reader into the given message object.
|
|
21184
|
-
* @param {!proto.clarifai.api.
|
|
21146
|
+
* @param {!proto.clarifai.api.PostConceptLanguagesRequest} msg The message object to deserialize into.
|
|
21185
21147
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21186
|
-
* @return {!proto.clarifai.api.
|
|
21148
|
+
* @return {!proto.clarifai.api.PostConceptLanguagesRequest}
|
|
21187
21149
|
*/
|
|
21188
|
-
proto.clarifai.api.
|
|
21150
|
+
proto.clarifai.api.PostConceptLanguagesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
21189
21151
|
while (reader.nextField()) {
|
|
21190
21152
|
if (reader.isEndGroup()) {
|
|
21191
21153
|
break;
|
|
@@ -21206,10 +21168,6 @@ proto.clarifai.api.PatchConceptLanguagesRequest.deserializeBinaryFromReader = fu
|
|
|
21206
21168
|
reader.readMessage(value,proto_clarifai_api_resources_pb.ConceptLanguage.deserializeBinaryFromReader);
|
|
21207
21169
|
msg.addConceptLanguages(value);
|
|
21208
21170
|
break;
|
|
21209
|
-
case 4:
|
|
21210
|
-
var value = /** @type {string} */ (reader.readString());
|
|
21211
|
-
msg.setAction(value);
|
|
21212
|
-
break;
|
|
21213
21171
|
default:
|
|
21214
21172
|
reader.skipField();
|
|
21215
21173
|
break;
|
|
@@ -21223,9 +21181,9 @@ proto.clarifai.api.PatchConceptLanguagesRequest.deserializeBinaryFromReader = fu
|
|
|
21223
21181
|
* Serializes the message to binary data (in protobuf wire format).
|
|
21224
21182
|
* @return {!Uint8Array}
|
|
21225
21183
|
*/
|
|
21226
|
-
proto.clarifai.api.
|
|
21184
|
+
proto.clarifai.api.PostConceptLanguagesRequest.prototype.serializeBinary = function() {
|
|
21227
21185
|
var writer = new jspb.BinaryWriter();
|
|
21228
|
-
proto.clarifai.api.
|
|
21186
|
+
proto.clarifai.api.PostConceptLanguagesRequest.serializeBinaryToWriter(this, writer);
|
|
21229
21187
|
return writer.getResultBuffer();
|
|
21230
21188
|
};
|
|
21231
21189
|
|
|
@@ -21233,277 +21191,11 @@ proto.clarifai.api.PatchConceptLanguagesRequest.prototype.serializeBinary = func
|
|
|
21233
21191
|
/**
|
|
21234
21192
|
* Serializes the given message to binary data (in protobuf wire
|
|
21235
21193
|
* format), writing to the given BinaryWriter.
|
|
21236
|
-
* @param {!proto.clarifai.api.
|
|
21194
|
+
* @param {!proto.clarifai.api.PostConceptLanguagesRequest} message
|
|
21237
21195
|
* @param {!jspb.BinaryWriter} writer
|
|
21238
21196
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21239
21197
|
*/
|
|
21240
|
-
proto.clarifai.api.
|
|
21241
|
-
var f = undefined;
|
|
21242
|
-
f = message.getUserAppId();
|
|
21243
|
-
if (f != null) {
|
|
21244
|
-
writer.writeMessage(
|
|
21245
|
-
1,
|
|
21246
|
-
f,
|
|
21247
|
-
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
21248
|
-
);
|
|
21249
|
-
}
|
|
21250
|
-
f = message.getConceptId();
|
|
21251
|
-
if (f.length > 0) {
|
|
21252
|
-
writer.writeString(
|
|
21253
|
-
2,
|
|
21254
|
-
f
|
|
21255
|
-
);
|
|
21256
|
-
}
|
|
21257
|
-
f = message.getConceptLanguagesList();
|
|
21258
|
-
if (f.length > 0) {
|
|
21259
|
-
writer.writeRepeatedMessage(
|
|
21260
|
-
3,
|
|
21261
|
-
f,
|
|
21262
|
-
proto_clarifai_api_resources_pb.ConceptLanguage.serializeBinaryToWriter
|
|
21263
|
-
);
|
|
21264
|
-
}
|
|
21265
|
-
f = message.getAction();
|
|
21266
|
-
if (f.length > 0) {
|
|
21267
|
-
writer.writeString(
|
|
21268
|
-
4,
|
|
21269
|
-
f
|
|
21270
|
-
);
|
|
21271
|
-
}
|
|
21272
|
-
};
|
|
21273
|
-
|
|
21274
|
-
|
|
21275
|
-
/**
|
|
21276
|
-
* optional UserAppIDSet user_app_id = 1;
|
|
21277
|
-
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
21278
|
-
*/
|
|
21279
|
-
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.getUserAppId = function() {
|
|
21280
|
-
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
21281
|
-
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
21282
|
-
};
|
|
21283
|
-
|
|
21284
|
-
|
|
21285
|
-
/**
|
|
21286
|
-
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
21287
|
-
* @return {!proto.clarifai.api.PatchConceptLanguagesRequest} returns this
|
|
21288
|
-
*/
|
|
21289
|
-
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.setUserAppId = function(value) {
|
|
21290
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
21291
|
-
};
|
|
21292
|
-
|
|
21293
|
-
|
|
21294
|
-
/**
|
|
21295
|
-
* Clears the message field making it undefined.
|
|
21296
|
-
* @return {!proto.clarifai.api.PatchConceptLanguagesRequest} returns this
|
|
21297
|
-
*/
|
|
21298
|
-
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.clearUserAppId = function() {
|
|
21299
|
-
return this.setUserAppId(undefined);
|
|
21300
|
-
};
|
|
21301
|
-
|
|
21302
|
-
|
|
21303
|
-
/**
|
|
21304
|
-
* Returns whether this field is set.
|
|
21305
|
-
* @return {boolean}
|
|
21306
|
-
*/
|
|
21307
|
-
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.hasUserAppId = function() {
|
|
21308
|
-
return jspb.Message.getField(this, 1) != null;
|
|
21309
|
-
};
|
|
21310
|
-
|
|
21311
|
-
|
|
21312
|
-
/**
|
|
21313
|
-
* optional string concept_id = 2;
|
|
21314
|
-
* @return {string}
|
|
21315
|
-
*/
|
|
21316
|
-
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.getConceptId = function() {
|
|
21317
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
21318
|
-
};
|
|
21319
|
-
|
|
21320
|
-
|
|
21321
|
-
/**
|
|
21322
|
-
* @param {string} value
|
|
21323
|
-
* @return {!proto.clarifai.api.PatchConceptLanguagesRequest} returns this
|
|
21324
|
-
*/
|
|
21325
|
-
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.setConceptId = function(value) {
|
|
21326
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
21327
|
-
};
|
|
21328
|
-
|
|
21329
|
-
|
|
21330
|
-
/**
|
|
21331
|
-
* repeated ConceptLanguage concept_languages = 3;
|
|
21332
|
-
* @return {!Array<!proto.clarifai.api.ConceptLanguage>}
|
|
21333
|
-
*/
|
|
21334
|
-
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.getConceptLanguagesList = function() {
|
|
21335
|
-
return /** @type{!Array<!proto.clarifai.api.ConceptLanguage>} */ (
|
|
21336
|
-
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.ConceptLanguage, 3));
|
|
21337
|
-
};
|
|
21338
|
-
|
|
21339
|
-
|
|
21340
|
-
/**
|
|
21341
|
-
* @param {!Array<!proto.clarifai.api.ConceptLanguage>} value
|
|
21342
|
-
* @return {!proto.clarifai.api.PatchConceptLanguagesRequest} returns this
|
|
21343
|
-
*/
|
|
21344
|
-
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.setConceptLanguagesList = function(value) {
|
|
21345
|
-
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
21346
|
-
};
|
|
21347
|
-
|
|
21348
|
-
|
|
21349
|
-
/**
|
|
21350
|
-
* @param {!proto.clarifai.api.ConceptLanguage=} opt_value
|
|
21351
|
-
* @param {number=} opt_index
|
|
21352
|
-
* @return {!proto.clarifai.api.ConceptLanguage}
|
|
21353
|
-
*/
|
|
21354
|
-
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.addConceptLanguages = function(opt_value, opt_index) {
|
|
21355
|
-
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.ConceptLanguage, opt_index);
|
|
21356
|
-
};
|
|
21357
|
-
|
|
21358
|
-
|
|
21359
|
-
/**
|
|
21360
|
-
* Clears the list making it empty but non-null.
|
|
21361
|
-
* @return {!proto.clarifai.api.PatchConceptLanguagesRequest} returns this
|
|
21362
|
-
*/
|
|
21363
|
-
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.clearConceptLanguagesList = function() {
|
|
21364
|
-
return this.setConceptLanguagesList([]);
|
|
21365
|
-
};
|
|
21366
|
-
|
|
21367
|
-
|
|
21368
|
-
/**
|
|
21369
|
-
* optional string action = 4;
|
|
21370
|
-
* @return {string}
|
|
21371
|
-
*/
|
|
21372
|
-
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.getAction = function() {
|
|
21373
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
21374
|
-
};
|
|
21375
|
-
|
|
21376
|
-
|
|
21377
|
-
/**
|
|
21378
|
-
* @param {string} value
|
|
21379
|
-
* @return {!proto.clarifai.api.PatchConceptLanguagesRequest} returns this
|
|
21380
|
-
*/
|
|
21381
|
-
proto.clarifai.api.PatchConceptLanguagesRequest.prototype.setAction = function(value) {
|
|
21382
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
21383
|
-
};
|
|
21384
|
-
|
|
21385
|
-
|
|
21386
|
-
|
|
21387
|
-
/**
|
|
21388
|
-
* List of repeated fields within this message type.
|
|
21389
|
-
* @private {!Array<number>}
|
|
21390
|
-
* @const
|
|
21391
|
-
*/
|
|
21392
|
-
proto.clarifai.api.PostConceptLanguagesRequest.repeatedFields_ = [3];
|
|
21393
|
-
|
|
21394
|
-
|
|
21395
|
-
|
|
21396
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21397
|
-
/**
|
|
21398
|
-
* Creates an object representation of this proto.
|
|
21399
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21400
|
-
* Optional fields that are not set will be set to undefined.
|
|
21401
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21402
|
-
* For the list of reserved names please see:
|
|
21403
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
21404
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
21405
|
-
* JSPB instance for transitional soy proto support:
|
|
21406
|
-
* http://goto/soy-param-migration
|
|
21407
|
-
* @return {!Object}
|
|
21408
|
-
*/
|
|
21409
|
-
proto.clarifai.api.PostConceptLanguagesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
21410
|
-
return proto.clarifai.api.PostConceptLanguagesRequest.toObject(opt_includeInstance, this);
|
|
21411
|
-
};
|
|
21412
|
-
|
|
21413
|
-
|
|
21414
|
-
/**
|
|
21415
|
-
* Static version of the {@see toObject} method.
|
|
21416
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21417
|
-
* the JSPB instance for transitional soy proto support:
|
|
21418
|
-
* http://goto/soy-param-migration
|
|
21419
|
-
* @param {!proto.clarifai.api.PostConceptLanguagesRequest} msg The msg instance to transform.
|
|
21420
|
-
* @return {!Object}
|
|
21421
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21422
|
-
*/
|
|
21423
|
-
proto.clarifai.api.PostConceptLanguagesRequest.toObject = function(includeInstance, msg) {
|
|
21424
|
-
var f, obj = {
|
|
21425
|
-
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
21426
|
-
conceptId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
21427
|
-
conceptLanguagesList: jspb.Message.toObjectList(msg.getConceptLanguagesList(),
|
|
21428
|
-
proto_clarifai_api_resources_pb.ConceptLanguage.toObject, includeInstance)
|
|
21429
|
-
};
|
|
21430
|
-
|
|
21431
|
-
if (includeInstance) {
|
|
21432
|
-
obj.$jspbMessageInstance = msg;
|
|
21433
|
-
}
|
|
21434
|
-
return obj;
|
|
21435
|
-
};
|
|
21436
|
-
}
|
|
21437
|
-
|
|
21438
|
-
|
|
21439
|
-
/**
|
|
21440
|
-
* Deserializes binary data (in protobuf wire format).
|
|
21441
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21442
|
-
* @return {!proto.clarifai.api.PostConceptLanguagesRequest}
|
|
21443
|
-
*/
|
|
21444
|
-
proto.clarifai.api.PostConceptLanguagesRequest.deserializeBinary = function(bytes) {
|
|
21445
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
21446
|
-
var msg = new proto.clarifai.api.PostConceptLanguagesRequest;
|
|
21447
|
-
return proto.clarifai.api.PostConceptLanguagesRequest.deserializeBinaryFromReader(msg, reader);
|
|
21448
|
-
};
|
|
21449
|
-
|
|
21450
|
-
|
|
21451
|
-
/**
|
|
21452
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
21453
|
-
* given reader into the given message object.
|
|
21454
|
-
* @param {!proto.clarifai.api.PostConceptLanguagesRequest} msg The message object to deserialize into.
|
|
21455
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21456
|
-
* @return {!proto.clarifai.api.PostConceptLanguagesRequest}
|
|
21457
|
-
*/
|
|
21458
|
-
proto.clarifai.api.PostConceptLanguagesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
21459
|
-
while (reader.nextField()) {
|
|
21460
|
-
if (reader.isEndGroup()) {
|
|
21461
|
-
break;
|
|
21462
|
-
}
|
|
21463
|
-
var field = reader.getFieldNumber();
|
|
21464
|
-
switch (field) {
|
|
21465
|
-
case 1:
|
|
21466
|
-
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
21467
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
21468
|
-
msg.setUserAppId(value);
|
|
21469
|
-
break;
|
|
21470
|
-
case 2:
|
|
21471
|
-
var value = /** @type {string} */ (reader.readString());
|
|
21472
|
-
msg.setConceptId(value);
|
|
21473
|
-
break;
|
|
21474
|
-
case 3:
|
|
21475
|
-
var value = new proto_clarifai_api_resources_pb.ConceptLanguage;
|
|
21476
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.ConceptLanguage.deserializeBinaryFromReader);
|
|
21477
|
-
msg.addConceptLanguages(value);
|
|
21478
|
-
break;
|
|
21479
|
-
default:
|
|
21480
|
-
reader.skipField();
|
|
21481
|
-
break;
|
|
21482
|
-
}
|
|
21483
|
-
}
|
|
21484
|
-
return msg;
|
|
21485
|
-
};
|
|
21486
|
-
|
|
21487
|
-
|
|
21488
|
-
/**
|
|
21489
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
21490
|
-
* @return {!Uint8Array}
|
|
21491
|
-
*/
|
|
21492
|
-
proto.clarifai.api.PostConceptLanguagesRequest.prototype.serializeBinary = function() {
|
|
21493
|
-
var writer = new jspb.BinaryWriter();
|
|
21494
|
-
proto.clarifai.api.PostConceptLanguagesRequest.serializeBinaryToWriter(this, writer);
|
|
21495
|
-
return writer.getResultBuffer();
|
|
21496
|
-
};
|
|
21497
|
-
|
|
21498
|
-
|
|
21499
|
-
/**
|
|
21500
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
21501
|
-
* format), writing to the given BinaryWriter.
|
|
21502
|
-
* @param {!proto.clarifai.api.PostConceptLanguagesRequest} message
|
|
21503
|
-
* @param {!jspb.BinaryWriter} writer
|
|
21504
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21505
|
-
*/
|
|
21506
|
-
proto.clarifai.api.PostConceptLanguagesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
21198
|
+
proto.clarifai.api.PostConceptLanguagesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
21507
21199
|
var f = undefined;
|
|
21508
21200
|
f = message.getUserAppId();
|
|
21509
21201
|
if (f != null) {
|
|
@@ -85897,7 +85589,8 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.toObject = function(includeInsta
|
|
|
85897
85589
|
runnerItemId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
85898
85590
|
runnerItemOutputsList: jspb.Message.toObjectList(msg.getRunnerItemOutputsList(),
|
|
85899
85591
|
proto.clarifai.api.RunnerItemOutput.toObject, includeInstance),
|
|
85900
|
-
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f)
|
|
85592
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
85593
|
+
runnerReplicaId: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
85901
85594
|
};
|
|
85902
85595
|
|
|
85903
85596
|
if (includeInstance) {
|
|
@@ -85961,6 +85654,10 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.deserializeBinaryFromReader = fu
|
|
|
85961
85654
|
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
85962
85655
|
msg.setStatus(value);
|
|
85963
85656
|
break;
|
|
85657
|
+
case 7:
|
|
85658
|
+
var value = /** @type {string} */ (reader.readString());
|
|
85659
|
+
msg.setRunnerReplicaId(value);
|
|
85660
|
+
break;
|
|
85964
85661
|
default:
|
|
85965
85662
|
reader.skipField();
|
|
85966
85663
|
break;
|
|
@@ -86035,6 +85732,13 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.serializeBinaryToWriter = functi
|
|
|
86035
85732
|
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
86036
85733
|
);
|
|
86037
85734
|
}
|
|
85735
|
+
f = message.getRunnerReplicaId();
|
|
85736
|
+
if (f.length > 0) {
|
|
85737
|
+
writer.writeString(
|
|
85738
|
+
7,
|
|
85739
|
+
f
|
|
85740
|
+
);
|
|
85741
|
+
}
|
|
86038
85742
|
};
|
|
86039
85743
|
|
|
86040
85744
|
|
|
@@ -86204,6 +85908,24 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.hasStatus = function()
|
|
|
86204
85908
|
};
|
|
86205
85909
|
|
|
86206
85910
|
|
|
85911
|
+
/**
|
|
85912
|
+
* optional string runner_replica_id = 7;
|
|
85913
|
+
* @return {string}
|
|
85914
|
+
*/
|
|
85915
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRunnerReplicaId = function() {
|
|
85916
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
85917
|
+
};
|
|
85918
|
+
|
|
85919
|
+
|
|
85920
|
+
/**
|
|
85921
|
+
* @param {string} value
|
|
85922
|
+
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
85923
|
+
*/
|
|
85924
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRunnerReplicaId = function(value) {
|
|
85925
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
85926
|
+
};
|
|
85927
|
+
|
|
85928
|
+
|
|
86207
85929
|
|
|
86208
85930
|
/**
|
|
86209
85931
|
* List of repeated fields within this message type.
|
|
@@ -89159,7 +88881,1591 @@ proto.clarifai.api.ListNodepoolsRequest.serializeBinaryToWriter = function(messa
|
|
|
89159
88881
|
* optional UserAppIDSet user_app_id = 1;
|
|
89160
88882
|
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
89161
88883
|
*/
|
|
89162
|
-
proto.clarifai.api.ListNodepoolsRequest.prototype.getUserAppId = function() {
|
|
88884
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.getUserAppId = function() {
|
|
88885
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
88886
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
88887
|
+
};
|
|
88888
|
+
|
|
88889
|
+
|
|
88890
|
+
/**
|
|
88891
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
88892
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
|
|
88893
|
+
*/
|
|
88894
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.setUserAppId = function(value) {
|
|
88895
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
88896
|
+
};
|
|
88897
|
+
|
|
88898
|
+
|
|
88899
|
+
/**
|
|
88900
|
+
* Clears the message field making it undefined.
|
|
88901
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
|
|
88902
|
+
*/
|
|
88903
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.clearUserAppId = function() {
|
|
88904
|
+
return this.setUserAppId(undefined);
|
|
88905
|
+
};
|
|
88906
|
+
|
|
88907
|
+
|
|
88908
|
+
/**
|
|
88909
|
+
* Returns whether this field is set.
|
|
88910
|
+
* @return {boolean}
|
|
88911
|
+
*/
|
|
88912
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.hasUserAppId = function() {
|
|
88913
|
+
return jspb.Message.getField(this, 1) != null;
|
|
88914
|
+
};
|
|
88915
|
+
|
|
88916
|
+
|
|
88917
|
+
/**
|
|
88918
|
+
* optional string compute_cluster_id = 2;
|
|
88919
|
+
* @return {string}
|
|
88920
|
+
*/
|
|
88921
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.getComputeClusterId = function() {
|
|
88922
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
88923
|
+
};
|
|
88924
|
+
|
|
88925
|
+
|
|
88926
|
+
/**
|
|
88927
|
+
* @param {string} value
|
|
88928
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
|
|
88929
|
+
*/
|
|
88930
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.setComputeClusterId = function(value) {
|
|
88931
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
88932
|
+
};
|
|
88933
|
+
|
|
88934
|
+
|
|
88935
|
+
/**
|
|
88936
|
+
* optional uint32 page = 3;
|
|
88937
|
+
* @return {number}
|
|
88938
|
+
*/
|
|
88939
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.getPage = function() {
|
|
88940
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
88941
|
+
};
|
|
88942
|
+
|
|
88943
|
+
|
|
88944
|
+
/**
|
|
88945
|
+
* @param {number} value
|
|
88946
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
|
|
88947
|
+
*/
|
|
88948
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.setPage = function(value) {
|
|
88949
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
88950
|
+
};
|
|
88951
|
+
|
|
88952
|
+
|
|
88953
|
+
/**
|
|
88954
|
+
* optional uint32 per_page = 4;
|
|
88955
|
+
* @return {number}
|
|
88956
|
+
*/
|
|
88957
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.getPerPage = function() {
|
|
88958
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
88959
|
+
};
|
|
88960
|
+
|
|
88961
|
+
|
|
88962
|
+
/**
|
|
88963
|
+
* @param {number} value
|
|
88964
|
+
* @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
|
|
88965
|
+
*/
|
|
88966
|
+
proto.clarifai.api.ListNodepoolsRequest.prototype.setPerPage = function(value) {
|
|
88967
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
88968
|
+
};
|
|
88969
|
+
|
|
88970
|
+
|
|
88971
|
+
|
|
88972
|
+
/**
|
|
88973
|
+
* List of repeated fields within this message type.
|
|
88974
|
+
* @private {!Array<number>}
|
|
88975
|
+
* @const
|
|
88976
|
+
*/
|
|
88977
|
+
proto.clarifai.api.PostNodepoolsRequest.repeatedFields_ = [3];
|
|
88978
|
+
|
|
88979
|
+
|
|
88980
|
+
|
|
88981
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
88982
|
+
/**
|
|
88983
|
+
* Creates an object representation of this proto.
|
|
88984
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
88985
|
+
* Optional fields that are not set will be set to undefined.
|
|
88986
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
88987
|
+
* For the list of reserved names please see:
|
|
88988
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
88989
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
88990
|
+
* JSPB instance for transitional soy proto support:
|
|
88991
|
+
* http://goto/soy-param-migration
|
|
88992
|
+
* @return {!Object}
|
|
88993
|
+
*/
|
|
88994
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
88995
|
+
return proto.clarifai.api.PostNodepoolsRequest.toObject(opt_includeInstance, this);
|
|
88996
|
+
};
|
|
88997
|
+
|
|
88998
|
+
|
|
88999
|
+
/**
|
|
89000
|
+
* Static version of the {@see toObject} method.
|
|
89001
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
89002
|
+
* the JSPB instance for transitional soy proto support:
|
|
89003
|
+
* http://goto/soy-param-migration
|
|
89004
|
+
* @param {!proto.clarifai.api.PostNodepoolsRequest} msg The msg instance to transform.
|
|
89005
|
+
* @return {!Object}
|
|
89006
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
89007
|
+
*/
|
|
89008
|
+
proto.clarifai.api.PostNodepoolsRequest.toObject = function(includeInstance, msg) {
|
|
89009
|
+
var f, obj = {
|
|
89010
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
89011
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
89012
|
+
nodepoolsList: jspb.Message.toObjectList(msg.getNodepoolsList(),
|
|
89013
|
+
proto_clarifai_api_resources_pb.Nodepool.toObject, includeInstance)
|
|
89014
|
+
};
|
|
89015
|
+
|
|
89016
|
+
if (includeInstance) {
|
|
89017
|
+
obj.$jspbMessageInstance = msg;
|
|
89018
|
+
}
|
|
89019
|
+
return obj;
|
|
89020
|
+
};
|
|
89021
|
+
}
|
|
89022
|
+
|
|
89023
|
+
|
|
89024
|
+
/**
|
|
89025
|
+
* Deserializes binary data (in protobuf wire format).
|
|
89026
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
89027
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest}
|
|
89028
|
+
*/
|
|
89029
|
+
proto.clarifai.api.PostNodepoolsRequest.deserializeBinary = function(bytes) {
|
|
89030
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
89031
|
+
var msg = new proto.clarifai.api.PostNodepoolsRequest;
|
|
89032
|
+
return proto.clarifai.api.PostNodepoolsRequest.deserializeBinaryFromReader(msg, reader);
|
|
89033
|
+
};
|
|
89034
|
+
|
|
89035
|
+
|
|
89036
|
+
/**
|
|
89037
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
89038
|
+
* given reader into the given message object.
|
|
89039
|
+
* @param {!proto.clarifai.api.PostNodepoolsRequest} msg The message object to deserialize into.
|
|
89040
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
89041
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest}
|
|
89042
|
+
*/
|
|
89043
|
+
proto.clarifai.api.PostNodepoolsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
89044
|
+
while (reader.nextField()) {
|
|
89045
|
+
if (reader.isEndGroup()) {
|
|
89046
|
+
break;
|
|
89047
|
+
}
|
|
89048
|
+
var field = reader.getFieldNumber();
|
|
89049
|
+
switch (field) {
|
|
89050
|
+
case 1:
|
|
89051
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
89052
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
89053
|
+
msg.setUserAppId(value);
|
|
89054
|
+
break;
|
|
89055
|
+
case 2:
|
|
89056
|
+
var value = /** @type {string} */ (reader.readString());
|
|
89057
|
+
msg.setComputeClusterId(value);
|
|
89058
|
+
break;
|
|
89059
|
+
case 3:
|
|
89060
|
+
var value = new proto_clarifai_api_resources_pb.Nodepool;
|
|
89061
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
|
|
89062
|
+
msg.addNodepools(value);
|
|
89063
|
+
break;
|
|
89064
|
+
default:
|
|
89065
|
+
reader.skipField();
|
|
89066
|
+
break;
|
|
89067
|
+
}
|
|
89068
|
+
}
|
|
89069
|
+
return msg;
|
|
89070
|
+
};
|
|
89071
|
+
|
|
89072
|
+
|
|
89073
|
+
/**
|
|
89074
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
89075
|
+
* @return {!Uint8Array}
|
|
89076
|
+
*/
|
|
89077
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.serializeBinary = function() {
|
|
89078
|
+
var writer = new jspb.BinaryWriter();
|
|
89079
|
+
proto.clarifai.api.PostNodepoolsRequest.serializeBinaryToWriter(this, writer);
|
|
89080
|
+
return writer.getResultBuffer();
|
|
89081
|
+
};
|
|
89082
|
+
|
|
89083
|
+
|
|
89084
|
+
/**
|
|
89085
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
89086
|
+
* format), writing to the given BinaryWriter.
|
|
89087
|
+
* @param {!proto.clarifai.api.PostNodepoolsRequest} message
|
|
89088
|
+
* @param {!jspb.BinaryWriter} writer
|
|
89089
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
89090
|
+
*/
|
|
89091
|
+
proto.clarifai.api.PostNodepoolsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
89092
|
+
var f = undefined;
|
|
89093
|
+
f = message.getUserAppId();
|
|
89094
|
+
if (f != null) {
|
|
89095
|
+
writer.writeMessage(
|
|
89096
|
+
1,
|
|
89097
|
+
f,
|
|
89098
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
89099
|
+
);
|
|
89100
|
+
}
|
|
89101
|
+
f = message.getComputeClusterId();
|
|
89102
|
+
if (f.length > 0) {
|
|
89103
|
+
writer.writeString(
|
|
89104
|
+
2,
|
|
89105
|
+
f
|
|
89106
|
+
);
|
|
89107
|
+
}
|
|
89108
|
+
f = message.getNodepoolsList();
|
|
89109
|
+
if (f.length > 0) {
|
|
89110
|
+
writer.writeRepeatedMessage(
|
|
89111
|
+
3,
|
|
89112
|
+
f,
|
|
89113
|
+
proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter
|
|
89114
|
+
);
|
|
89115
|
+
}
|
|
89116
|
+
};
|
|
89117
|
+
|
|
89118
|
+
|
|
89119
|
+
/**
|
|
89120
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
89121
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
89122
|
+
*/
|
|
89123
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.getUserAppId = function() {
|
|
89124
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
89125
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
89126
|
+
};
|
|
89127
|
+
|
|
89128
|
+
|
|
89129
|
+
/**
|
|
89130
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
89131
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
|
|
89132
|
+
*/
|
|
89133
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.setUserAppId = function(value) {
|
|
89134
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
89135
|
+
};
|
|
89136
|
+
|
|
89137
|
+
|
|
89138
|
+
/**
|
|
89139
|
+
* Clears the message field making it undefined.
|
|
89140
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
|
|
89141
|
+
*/
|
|
89142
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.clearUserAppId = function() {
|
|
89143
|
+
return this.setUserAppId(undefined);
|
|
89144
|
+
};
|
|
89145
|
+
|
|
89146
|
+
|
|
89147
|
+
/**
|
|
89148
|
+
* Returns whether this field is set.
|
|
89149
|
+
* @return {boolean}
|
|
89150
|
+
*/
|
|
89151
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.hasUserAppId = function() {
|
|
89152
|
+
return jspb.Message.getField(this, 1) != null;
|
|
89153
|
+
};
|
|
89154
|
+
|
|
89155
|
+
|
|
89156
|
+
/**
|
|
89157
|
+
* optional string compute_cluster_id = 2;
|
|
89158
|
+
* @return {string}
|
|
89159
|
+
*/
|
|
89160
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.getComputeClusterId = function() {
|
|
89161
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
89162
|
+
};
|
|
89163
|
+
|
|
89164
|
+
|
|
89165
|
+
/**
|
|
89166
|
+
* @param {string} value
|
|
89167
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
|
|
89168
|
+
*/
|
|
89169
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.setComputeClusterId = function(value) {
|
|
89170
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
89171
|
+
};
|
|
89172
|
+
|
|
89173
|
+
|
|
89174
|
+
/**
|
|
89175
|
+
* repeated Nodepool nodepools = 3;
|
|
89176
|
+
* @return {!Array<!proto.clarifai.api.Nodepool>}
|
|
89177
|
+
*/
|
|
89178
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.getNodepoolsList = function() {
|
|
89179
|
+
return /** @type{!Array<!proto.clarifai.api.Nodepool>} */ (
|
|
89180
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 3));
|
|
89181
|
+
};
|
|
89182
|
+
|
|
89183
|
+
|
|
89184
|
+
/**
|
|
89185
|
+
* @param {!Array<!proto.clarifai.api.Nodepool>} value
|
|
89186
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
|
|
89187
|
+
*/
|
|
89188
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.setNodepoolsList = function(value) {
|
|
89189
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
89190
|
+
};
|
|
89191
|
+
|
|
89192
|
+
|
|
89193
|
+
/**
|
|
89194
|
+
* @param {!proto.clarifai.api.Nodepool=} opt_value
|
|
89195
|
+
* @param {number=} opt_index
|
|
89196
|
+
* @return {!proto.clarifai.api.Nodepool}
|
|
89197
|
+
*/
|
|
89198
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.addNodepools = function(opt_value, opt_index) {
|
|
89199
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.Nodepool, opt_index);
|
|
89200
|
+
};
|
|
89201
|
+
|
|
89202
|
+
|
|
89203
|
+
/**
|
|
89204
|
+
* Clears the list making it empty but non-null.
|
|
89205
|
+
* @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
|
|
89206
|
+
*/
|
|
89207
|
+
proto.clarifai.api.PostNodepoolsRequest.prototype.clearNodepoolsList = function() {
|
|
89208
|
+
return this.setNodepoolsList([]);
|
|
89209
|
+
};
|
|
89210
|
+
|
|
89211
|
+
|
|
89212
|
+
|
|
89213
|
+
/**
|
|
89214
|
+
* List of repeated fields within this message type.
|
|
89215
|
+
* @private {!Array<number>}
|
|
89216
|
+
* @const
|
|
89217
|
+
*/
|
|
89218
|
+
proto.clarifai.api.PatchNodepoolsRequest.repeatedFields_ = [3];
|
|
89219
|
+
|
|
89220
|
+
|
|
89221
|
+
|
|
89222
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
89223
|
+
/**
|
|
89224
|
+
* Creates an object representation of this proto.
|
|
89225
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
89226
|
+
* Optional fields that are not set will be set to undefined.
|
|
89227
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
89228
|
+
* For the list of reserved names please see:
|
|
89229
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
89230
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
89231
|
+
* JSPB instance for transitional soy proto support:
|
|
89232
|
+
* http://goto/soy-param-migration
|
|
89233
|
+
* @return {!Object}
|
|
89234
|
+
*/
|
|
89235
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
89236
|
+
return proto.clarifai.api.PatchNodepoolsRequest.toObject(opt_includeInstance, this);
|
|
89237
|
+
};
|
|
89238
|
+
|
|
89239
|
+
|
|
89240
|
+
/**
|
|
89241
|
+
* Static version of the {@see toObject} method.
|
|
89242
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
89243
|
+
* the JSPB instance for transitional soy proto support:
|
|
89244
|
+
* http://goto/soy-param-migration
|
|
89245
|
+
* @param {!proto.clarifai.api.PatchNodepoolsRequest} msg The msg instance to transform.
|
|
89246
|
+
* @return {!Object}
|
|
89247
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
89248
|
+
*/
|
|
89249
|
+
proto.clarifai.api.PatchNodepoolsRequest.toObject = function(includeInstance, msg) {
|
|
89250
|
+
var f, obj = {
|
|
89251
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
89252
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
89253
|
+
nodepoolsList: jspb.Message.toObjectList(msg.getNodepoolsList(),
|
|
89254
|
+
proto_clarifai_api_resources_pb.Nodepool.toObject, includeInstance),
|
|
89255
|
+
action: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
89256
|
+
};
|
|
89257
|
+
|
|
89258
|
+
if (includeInstance) {
|
|
89259
|
+
obj.$jspbMessageInstance = msg;
|
|
89260
|
+
}
|
|
89261
|
+
return obj;
|
|
89262
|
+
};
|
|
89263
|
+
}
|
|
89264
|
+
|
|
89265
|
+
|
|
89266
|
+
/**
|
|
89267
|
+
* Deserializes binary data (in protobuf wire format).
|
|
89268
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
89269
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest}
|
|
89270
|
+
*/
|
|
89271
|
+
proto.clarifai.api.PatchNodepoolsRequest.deserializeBinary = function(bytes) {
|
|
89272
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
89273
|
+
var msg = new proto.clarifai.api.PatchNodepoolsRequest;
|
|
89274
|
+
return proto.clarifai.api.PatchNodepoolsRequest.deserializeBinaryFromReader(msg, reader);
|
|
89275
|
+
};
|
|
89276
|
+
|
|
89277
|
+
|
|
89278
|
+
/**
|
|
89279
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
89280
|
+
* given reader into the given message object.
|
|
89281
|
+
* @param {!proto.clarifai.api.PatchNodepoolsRequest} msg The message object to deserialize into.
|
|
89282
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
89283
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest}
|
|
89284
|
+
*/
|
|
89285
|
+
proto.clarifai.api.PatchNodepoolsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
89286
|
+
while (reader.nextField()) {
|
|
89287
|
+
if (reader.isEndGroup()) {
|
|
89288
|
+
break;
|
|
89289
|
+
}
|
|
89290
|
+
var field = reader.getFieldNumber();
|
|
89291
|
+
switch (field) {
|
|
89292
|
+
case 1:
|
|
89293
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
89294
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
89295
|
+
msg.setUserAppId(value);
|
|
89296
|
+
break;
|
|
89297
|
+
case 2:
|
|
89298
|
+
var value = /** @type {string} */ (reader.readString());
|
|
89299
|
+
msg.setComputeClusterId(value);
|
|
89300
|
+
break;
|
|
89301
|
+
case 3:
|
|
89302
|
+
var value = new proto_clarifai_api_resources_pb.Nodepool;
|
|
89303
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
|
|
89304
|
+
msg.addNodepools(value);
|
|
89305
|
+
break;
|
|
89306
|
+
case 4:
|
|
89307
|
+
var value = /** @type {string} */ (reader.readString());
|
|
89308
|
+
msg.setAction(value);
|
|
89309
|
+
break;
|
|
89310
|
+
default:
|
|
89311
|
+
reader.skipField();
|
|
89312
|
+
break;
|
|
89313
|
+
}
|
|
89314
|
+
}
|
|
89315
|
+
return msg;
|
|
89316
|
+
};
|
|
89317
|
+
|
|
89318
|
+
|
|
89319
|
+
/**
|
|
89320
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
89321
|
+
* @return {!Uint8Array}
|
|
89322
|
+
*/
|
|
89323
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.serializeBinary = function() {
|
|
89324
|
+
var writer = new jspb.BinaryWriter();
|
|
89325
|
+
proto.clarifai.api.PatchNodepoolsRequest.serializeBinaryToWriter(this, writer);
|
|
89326
|
+
return writer.getResultBuffer();
|
|
89327
|
+
};
|
|
89328
|
+
|
|
89329
|
+
|
|
89330
|
+
/**
|
|
89331
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
89332
|
+
* format), writing to the given BinaryWriter.
|
|
89333
|
+
* @param {!proto.clarifai.api.PatchNodepoolsRequest} message
|
|
89334
|
+
* @param {!jspb.BinaryWriter} writer
|
|
89335
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
89336
|
+
*/
|
|
89337
|
+
proto.clarifai.api.PatchNodepoolsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
89338
|
+
var f = undefined;
|
|
89339
|
+
f = message.getUserAppId();
|
|
89340
|
+
if (f != null) {
|
|
89341
|
+
writer.writeMessage(
|
|
89342
|
+
1,
|
|
89343
|
+
f,
|
|
89344
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
89345
|
+
);
|
|
89346
|
+
}
|
|
89347
|
+
f = message.getComputeClusterId();
|
|
89348
|
+
if (f.length > 0) {
|
|
89349
|
+
writer.writeString(
|
|
89350
|
+
2,
|
|
89351
|
+
f
|
|
89352
|
+
);
|
|
89353
|
+
}
|
|
89354
|
+
f = message.getNodepoolsList();
|
|
89355
|
+
if (f.length > 0) {
|
|
89356
|
+
writer.writeRepeatedMessage(
|
|
89357
|
+
3,
|
|
89358
|
+
f,
|
|
89359
|
+
proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter
|
|
89360
|
+
);
|
|
89361
|
+
}
|
|
89362
|
+
f = message.getAction();
|
|
89363
|
+
if (f.length > 0) {
|
|
89364
|
+
writer.writeString(
|
|
89365
|
+
4,
|
|
89366
|
+
f
|
|
89367
|
+
);
|
|
89368
|
+
}
|
|
89369
|
+
};
|
|
89370
|
+
|
|
89371
|
+
|
|
89372
|
+
/**
|
|
89373
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
89374
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
89375
|
+
*/
|
|
89376
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.getUserAppId = function() {
|
|
89377
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
89378
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
89379
|
+
};
|
|
89380
|
+
|
|
89381
|
+
|
|
89382
|
+
/**
|
|
89383
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
89384
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
89385
|
+
*/
|
|
89386
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.setUserAppId = function(value) {
|
|
89387
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
89388
|
+
};
|
|
89389
|
+
|
|
89390
|
+
|
|
89391
|
+
/**
|
|
89392
|
+
* Clears the message field making it undefined.
|
|
89393
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
89394
|
+
*/
|
|
89395
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.clearUserAppId = function() {
|
|
89396
|
+
return this.setUserAppId(undefined);
|
|
89397
|
+
};
|
|
89398
|
+
|
|
89399
|
+
|
|
89400
|
+
/**
|
|
89401
|
+
* Returns whether this field is set.
|
|
89402
|
+
* @return {boolean}
|
|
89403
|
+
*/
|
|
89404
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.hasUserAppId = function() {
|
|
89405
|
+
return jspb.Message.getField(this, 1) != null;
|
|
89406
|
+
};
|
|
89407
|
+
|
|
89408
|
+
|
|
89409
|
+
/**
|
|
89410
|
+
* optional string compute_cluster_id = 2;
|
|
89411
|
+
* @return {string}
|
|
89412
|
+
*/
|
|
89413
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.getComputeClusterId = function() {
|
|
89414
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
89415
|
+
};
|
|
89416
|
+
|
|
89417
|
+
|
|
89418
|
+
/**
|
|
89419
|
+
* @param {string} value
|
|
89420
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
89421
|
+
*/
|
|
89422
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.setComputeClusterId = function(value) {
|
|
89423
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
89424
|
+
};
|
|
89425
|
+
|
|
89426
|
+
|
|
89427
|
+
/**
|
|
89428
|
+
* repeated Nodepool nodepools = 3;
|
|
89429
|
+
* @return {!Array<!proto.clarifai.api.Nodepool>}
|
|
89430
|
+
*/
|
|
89431
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.getNodepoolsList = function() {
|
|
89432
|
+
return /** @type{!Array<!proto.clarifai.api.Nodepool>} */ (
|
|
89433
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 3));
|
|
89434
|
+
};
|
|
89435
|
+
|
|
89436
|
+
|
|
89437
|
+
/**
|
|
89438
|
+
* @param {!Array<!proto.clarifai.api.Nodepool>} value
|
|
89439
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
89440
|
+
*/
|
|
89441
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.setNodepoolsList = function(value) {
|
|
89442
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
89443
|
+
};
|
|
89444
|
+
|
|
89445
|
+
|
|
89446
|
+
/**
|
|
89447
|
+
* @param {!proto.clarifai.api.Nodepool=} opt_value
|
|
89448
|
+
* @param {number=} opt_index
|
|
89449
|
+
* @return {!proto.clarifai.api.Nodepool}
|
|
89450
|
+
*/
|
|
89451
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.addNodepools = function(opt_value, opt_index) {
|
|
89452
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.Nodepool, opt_index);
|
|
89453
|
+
};
|
|
89454
|
+
|
|
89455
|
+
|
|
89456
|
+
/**
|
|
89457
|
+
* Clears the list making it empty but non-null.
|
|
89458
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
89459
|
+
*/
|
|
89460
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.clearNodepoolsList = function() {
|
|
89461
|
+
return this.setNodepoolsList([]);
|
|
89462
|
+
};
|
|
89463
|
+
|
|
89464
|
+
|
|
89465
|
+
/**
|
|
89466
|
+
* optional string action = 4;
|
|
89467
|
+
* @return {string}
|
|
89468
|
+
*/
|
|
89469
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.getAction = function() {
|
|
89470
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
89471
|
+
};
|
|
89472
|
+
|
|
89473
|
+
|
|
89474
|
+
/**
|
|
89475
|
+
* @param {string} value
|
|
89476
|
+
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
89477
|
+
*/
|
|
89478
|
+
proto.clarifai.api.PatchNodepoolsRequest.prototype.setAction = function(value) {
|
|
89479
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
89480
|
+
};
|
|
89481
|
+
|
|
89482
|
+
|
|
89483
|
+
|
|
89484
|
+
/**
|
|
89485
|
+
* List of repeated fields within this message type.
|
|
89486
|
+
* @private {!Array<number>}
|
|
89487
|
+
* @const
|
|
89488
|
+
*/
|
|
89489
|
+
proto.clarifai.api.DeleteNodepoolsRequest.repeatedFields_ = [3];
|
|
89490
|
+
|
|
89491
|
+
|
|
89492
|
+
|
|
89493
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
89494
|
+
/**
|
|
89495
|
+
* Creates an object representation of this proto.
|
|
89496
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
89497
|
+
* Optional fields that are not set will be set to undefined.
|
|
89498
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
89499
|
+
* For the list of reserved names please see:
|
|
89500
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
89501
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
89502
|
+
* JSPB instance for transitional soy proto support:
|
|
89503
|
+
* http://goto/soy-param-migration
|
|
89504
|
+
* @return {!Object}
|
|
89505
|
+
*/
|
|
89506
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
89507
|
+
return proto.clarifai.api.DeleteNodepoolsRequest.toObject(opt_includeInstance, this);
|
|
89508
|
+
};
|
|
89509
|
+
|
|
89510
|
+
|
|
89511
|
+
/**
|
|
89512
|
+
* Static version of the {@see toObject} method.
|
|
89513
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
89514
|
+
* the JSPB instance for transitional soy proto support:
|
|
89515
|
+
* http://goto/soy-param-migration
|
|
89516
|
+
* @param {!proto.clarifai.api.DeleteNodepoolsRequest} msg The msg instance to transform.
|
|
89517
|
+
* @return {!Object}
|
|
89518
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
89519
|
+
*/
|
|
89520
|
+
proto.clarifai.api.DeleteNodepoolsRequest.toObject = function(includeInstance, msg) {
|
|
89521
|
+
var f, obj = {
|
|
89522
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
89523
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
89524
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
89525
|
+
};
|
|
89526
|
+
|
|
89527
|
+
if (includeInstance) {
|
|
89528
|
+
obj.$jspbMessageInstance = msg;
|
|
89529
|
+
}
|
|
89530
|
+
return obj;
|
|
89531
|
+
};
|
|
89532
|
+
}
|
|
89533
|
+
|
|
89534
|
+
|
|
89535
|
+
/**
|
|
89536
|
+
* Deserializes binary data (in protobuf wire format).
|
|
89537
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
89538
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest}
|
|
89539
|
+
*/
|
|
89540
|
+
proto.clarifai.api.DeleteNodepoolsRequest.deserializeBinary = function(bytes) {
|
|
89541
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
89542
|
+
var msg = new proto.clarifai.api.DeleteNodepoolsRequest;
|
|
89543
|
+
return proto.clarifai.api.DeleteNodepoolsRequest.deserializeBinaryFromReader(msg, reader);
|
|
89544
|
+
};
|
|
89545
|
+
|
|
89546
|
+
|
|
89547
|
+
/**
|
|
89548
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
89549
|
+
* given reader into the given message object.
|
|
89550
|
+
* @param {!proto.clarifai.api.DeleteNodepoolsRequest} msg The message object to deserialize into.
|
|
89551
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
89552
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest}
|
|
89553
|
+
*/
|
|
89554
|
+
proto.clarifai.api.DeleteNodepoolsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
89555
|
+
while (reader.nextField()) {
|
|
89556
|
+
if (reader.isEndGroup()) {
|
|
89557
|
+
break;
|
|
89558
|
+
}
|
|
89559
|
+
var field = reader.getFieldNumber();
|
|
89560
|
+
switch (field) {
|
|
89561
|
+
case 1:
|
|
89562
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
89563
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
89564
|
+
msg.setUserAppId(value);
|
|
89565
|
+
break;
|
|
89566
|
+
case 2:
|
|
89567
|
+
var value = /** @type {string} */ (reader.readString());
|
|
89568
|
+
msg.setComputeClusterId(value);
|
|
89569
|
+
break;
|
|
89570
|
+
case 3:
|
|
89571
|
+
var value = /** @type {string} */ (reader.readString());
|
|
89572
|
+
msg.addIds(value);
|
|
89573
|
+
break;
|
|
89574
|
+
default:
|
|
89575
|
+
reader.skipField();
|
|
89576
|
+
break;
|
|
89577
|
+
}
|
|
89578
|
+
}
|
|
89579
|
+
return msg;
|
|
89580
|
+
};
|
|
89581
|
+
|
|
89582
|
+
|
|
89583
|
+
/**
|
|
89584
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
89585
|
+
* @return {!Uint8Array}
|
|
89586
|
+
*/
|
|
89587
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.serializeBinary = function() {
|
|
89588
|
+
var writer = new jspb.BinaryWriter();
|
|
89589
|
+
proto.clarifai.api.DeleteNodepoolsRequest.serializeBinaryToWriter(this, writer);
|
|
89590
|
+
return writer.getResultBuffer();
|
|
89591
|
+
};
|
|
89592
|
+
|
|
89593
|
+
|
|
89594
|
+
/**
|
|
89595
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
89596
|
+
* format), writing to the given BinaryWriter.
|
|
89597
|
+
* @param {!proto.clarifai.api.DeleteNodepoolsRequest} message
|
|
89598
|
+
* @param {!jspb.BinaryWriter} writer
|
|
89599
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
89600
|
+
*/
|
|
89601
|
+
proto.clarifai.api.DeleteNodepoolsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
89602
|
+
var f = undefined;
|
|
89603
|
+
f = message.getUserAppId();
|
|
89604
|
+
if (f != null) {
|
|
89605
|
+
writer.writeMessage(
|
|
89606
|
+
1,
|
|
89607
|
+
f,
|
|
89608
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
89609
|
+
);
|
|
89610
|
+
}
|
|
89611
|
+
f = message.getComputeClusterId();
|
|
89612
|
+
if (f.length > 0) {
|
|
89613
|
+
writer.writeString(
|
|
89614
|
+
2,
|
|
89615
|
+
f
|
|
89616
|
+
);
|
|
89617
|
+
}
|
|
89618
|
+
f = message.getIdsList();
|
|
89619
|
+
if (f.length > 0) {
|
|
89620
|
+
writer.writeRepeatedString(
|
|
89621
|
+
3,
|
|
89622
|
+
f
|
|
89623
|
+
);
|
|
89624
|
+
}
|
|
89625
|
+
};
|
|
89626
|
+
|
|
89627
|
+
|
|
89628
|
+
/**
|
|
89629
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
89630
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
89631
|
+
*/
|
|
89632
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.getUserAppId = function() {
|
|
89633
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
89634
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
89635
|
+
};
|
|
89636
|
+
|
|
89637
|
+
|
|
89638
|
+
/**
|
|
89639
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
89640
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
|
|
89641
|
+
*/
|
|
89642
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.setUserAppId = function(value) {
|
|
89643
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
89644
|
+
};
|
|
89645
|
+
|
|
89646
|
+
|
|
89647
|
+
/**
|
|
89648
|
+
* Clears the message field making it undefined.
|
|
89649
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
|
|
89650
|
+
*/
|
|
89651
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.clearUserAppId = function() {
|
|
89652
|
+
return this.setUserAppId(undefined);
|
|
89653
|
+
};
|
|
89654
|
+
|
|
89655
|
+
|
|
89656
|
+
/**
|
|
89657
|
+
* Returns whether this field is set.
|
|
89658
|
+
* @return {boolean}
|
|
89659
|
+
*/
|
|
89660
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.hasUserAppId = function() {
|
|
89661
|
+
return jspb.Message.getField(this, 1) != null;
|
|
89662
|
+
};
|
|
89663
|
+
|
|
89664
|
+
|
|
89665
|
+
/**
|
|
89666
|
+
* optional string compute_cluster_id = 2;
|
|
89667
|
+
* @return {string}
|
|
89668
|
+
*/
|
|
89669
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.getComputeClusterId = function() {
|
|
89670
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
89671
|
+
};
|
|
89672
|
+
|
|
89673
|
+
|
|
89674
|
+
/**
|
|
89675
|
+
* @param {string} value
|
|
89676
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
|
|
89677
|
+
*/
|
|
89678
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.setComputeClusterId = function(value) {
|
|
89679
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
89680
|
+
};
|
|
89681
|
+
|
|
89682
|
+
|
|
89683
|
+
/**
|
|
89684
|
+
* repeated string ids = 3;
|
|
89685
|
+
* @return {!Array<string>}
|
|
89686
|
+
*/
|
|
89687
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.getIdsList = function() {
|
|
89688
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
89689
|
+
};
|
|
89690
|
+
|
|
89691
|
+
|
|
89692
|
+
/**
|
|
89693
|
+
* @param {!Array<string>} value
|
|
89694
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
|
|
89695
|
+
*/
|
|
89696
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.setIdsList = function(value) {
|
|
89697
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
89698
|
+
};
|
|
89699
|
+
|
|
89700
|
+
|
|
89701
|
+
/**
|
|
89702
|
+
* @param {string} value
|
|
89703
|
+
* @param {number=} opt_index
|
|
89704
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
|
|
89705
|
+
*/
|
|
89706
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.addIds = function(value, opt_index) {
|
|
89707
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
89708
|
+
};
|
|
89709
|
+
|
|
89710
|
+
|
|
89711
|
+
/**
|
|
89712
|
+
* Clears the list making it empty but non-null.
|
|
89713
|
+
* @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
|
|
89714
|
+
*/
|
|
89715
|
+
proto.clarifai.api.DeleteNodepoolsRequest.prototype.clearIdsList = function() {
|
|
89716
|
+
return this.setIdsList([]);
|
|
89717
|
+
};
|
|
89718
|
+
|
|
89719
|
+
|
|
89720
|
+
|
|
89721
|
+
|
|
89722
|
+
|
|
89723
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
89724
|
+
/**
|
|
89725
|
+
* Creates an object representation of this proto.
|
|
89726
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
89727
|
+
* Optional fields that are not set will be set to undefined.
|
|
89728
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
89729
|
+
* For the list of reserved names please see:
|
|
89730
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
89731
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
89732
|
+
* JSPB instance for transitional soy proto support:
|
|
89733
|
+
* http://goto/soy-param-migration
|
|
89734
|
+
* @return {!Object}
|
|
89735
|
+
*/
|
|
89736
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.toObject = function(opt_includeInstance) {
|
|
89737
|
+
return proto.clarifai.api.SingleNodepoolResponse.toObject(opt_includeInstance, this);
|
|
89738
|
+
};
|
|
89739
|
+
|
|
89740
|
+
|
|
89741
|
+
/**
|
|
89742
|
+
* Static version of the {@see toObject} method.
|
|
89743
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
89744
|
+
* the JSPB instance for transitional soy proto support:
|
|
89745
|
+
* http://goto/soy-param-migration
|
|
89746
|
+
* @param {!proto.clarifai.api.SingleNodepoolResponse} msg The msg instance to transform.
|
|
89747
|
+
* @return {!Object}
|
|
89748
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
89749
|
+
*/
|
|
89750
|
+
proto.clarifai.api.SingleNodepoolResponse.toObject = function(includeInstance, msg) {
|
|
89751
|
+
var f, obj = {
|
|
89752
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
89753
|
+
nodepool: (f = msg.getNodepool()) && proto_clarifai_api_resources_pb.Nodepool.toObject(includeInstance, f)
|
|
89754
|
+
};
|
|
89755
|
+
|
|
89756
|
+
if (includeInstance) {
|
|
89757
|
+
obj.$jspbMessageInstance = msg;
|
|
89758
|
+
}
|
|
89759
|
+
return obj;
|
|
89760
|
+
};
|
|
89761
|
+
}
|
|
89762
|
+
|
|
89763
|
+
|
|
89764
|
+
/**
|
|
89765
|
+
* Deserializes binary data (in protobuf wire format).
|
|
89766
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
89767
|
+
* @return {!proto.clarifai.api.SingleNodepoolResponse}
|
|
89768
|
+
*/
|
|
89769
|
+
proto.clarifai.api.SingleNodepoolResponse.deserializeBinary = function(bytes) {
|
|
89770
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
89771
|
+
var msg = new proto.clarifai.api.SingleNodepoolResponse;
|
|
89772
|
+
return proto.clarifai.api.SingleNodepoolResponse.deserializeBinaryFromReader(msg, reader);
|
|
89773
|
+
};
|
|
89774
|
+
|
|
89775
|
+
|
|
89776
|
+
/**
|
|
89777
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
89778
|
+
* given reader into the given message object.
|
|
89779
|
+
* @param {!proto.clarifai.api.SingleNodepoolResponse} msg The message object to deserialize into.
|
|
89780
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
89781
|
+
* @return {!proto.clarifai.api.SingleNodepoolResponse}
|
|
89782
|
+
*/
|
|
89783
|
+
proto.clarifai.api.SingleNodepoolResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
89784
|
+
while (reader.nextField()) {
|
|
89785
|
+
if (reader.isEndGroup()) {
|
|
89786
|
+
break;
|
|
89787
|
+
}
|
|
89788
|
+
var field = reader.getFieldNumber();
|
|
89789
|
+
switch (field) {
|
|
89790
|
+
case 1:
|
|
89791
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
89792
|
+
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
89793
|
+
msg.setStatus(value);
|
|
89794
|
+
break;
|
|
89795
|
+
case 2:
|
|
89796
|
+
var value = new proto_clarifai_api_resources_pb.Nodepool;
|
|
89797
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
|
|
89798
|
+
msg.setNodepool(value);
|
|
89799
|
+
break;
|
|
89800
|
+
default:
|
|
89801
|
+
reader.skipField();
|
|
89802
|
+
break;
|
|
89803
|
+
}
|
|
89804
|
+
}
|
|
89805
|
+
return msg;
|
|
89806
|
+
};
|
|
89807
|
+
|
|
89808
|
+
|
|
89809
|
+
/**
|
|
89810
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
89811
|
+
* @return {!Uint8Array}
|
|
89812
|
+
*/
|
|
89813
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.serializeBinary = function() {
|
|
89814
|
+
var writer = new jspb.BinaryWriter();
|
|
89815
|
+
proto.clarifai.api.SingleNodepoolResponse.serializeBinaryToWriter(this, writer);
|
|
89816
|
+
return writer.getResultBuffer();
|
|
89817
|
+
};
|
|
89818
|
+
|
|
89819
|
+
|
|
89820
|
+
/**
|
|
89821
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
89822
|
+
* format), writing to the given BinaryWriter.
|
|
89823
|
+
* @param {!proto.clarifai.api.SingleNodepoolResponse} message
|
|
89824
|
+
* @param {!jspb.BinaryWriter} writer
|
|
89825
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
89826
|
+
*/
|
|
89827
|
+
proto.clarifai.api.SingleNodepoolResponse.serializeBinaryToWriter = function(message, writer) {
|
|
89828
|
+
var f = undefined;
|
|
89829
|
+
f = message.getStatus();
|
|
89830
|
+
if (f != null) {
|
|
89831
|
+
writer.writeMessage(
|
|
89832
|
+
1,
|
|
89833
|
+
f,
|
|
89834
|
+
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
89835
|
+
);
|
|
89836
|
+
}
|
|
89837
|
+
f = message.getNodepool();
|
|
89838
|
+
if (f != null) {
|
|
89839
|
+
writer.writeMessage(
|
|
89840
|
+
2,
|
|
89841
|
+
f,
|
|
89842
|
+
proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter
|
|
89843
|
+
);
|
|
89844
|
+
}
|
|
89845
|
+
};
|
|
89846
|
+
|
|
89847
|
+
|
|
89848
|
+
/**
|
|
89849
|
+
* optional status.Status status = 1;
|
|
89850
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
89851
|
+
*/
|
|
89852
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.getStatus = function() {
|
|
89853
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
89854
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
89855
|
+
};
|
|
89856
|
+
|
|
89857
|
+
|
|
89858
|
+
/**
|
|
89859
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
89860
|
+
* @return {!proto.clarifai.api.SingleNodepoolResponse} returns this
|
|
89861
|
+
*/
|
|
89862
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.setStatus = function(value) {
|
|
89863
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
89864
|
+
};
|
|
89865
|
+
|
|
89866
|
+
|
|
89867
|
+
/**
|
|
89868
|
+
* Clears the message field making it undefined.
|
|
89869
|
+
* @return {!proto.clarifai.api.SingleNodepoolResponse} returns this
|
|
89870
|
+
*/
|
|
89871
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.clearStatus = function() {
|
|
89872
|
+
return this.setStatus(undefined);
|
|
89873
|
+
};
|
|
89874
|
+
|
|
89875
|
+
|
|
89876
|
+
/**
|
|
89877
|
+
* Returns whether this field is set.
|
|
89878
|
+
* @return {boolean}
|
|
89879
|
+
*/
|
|
89880
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.hasStatus = function() {
|
|
89881
|
+
return jspb.Message.getField(this, 1) != null;
|
|
89882
|
+
};
|
|
89883
|
+
|
|
89884
|
+
|
|
89885
|
+
/**
|
|
89886
|
+
* optional Nodepool nodepool = 2;
|
|
89887
|
+
* @return {?proto.clarifai.api.Nodepool}
|
|
89888
|
+
*/
|
|
89889
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.getNodepool = function() {
|
|
89890
|
+
return /** @type{?proto.clarifai.api.Nodepool} */ (
|
|
89891
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 2));
|
|
89892
|
+
};
|
|
89893
|
+
|
|
89894
|
+
|
|
89895
|
+
/**
|
|
89896
|
+
* @param {?proto.clarifai.api.Nodepool|undefined} value
|
|
89897
|
+
* @return {!proto.clarifai.api.SingleNodepoolResponse} returns this
|
|
89898
|
+
*/
|
|
89899
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.setNodepool = function(value) {
|
|
89900
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
89901
|
+
};
|
|
89902
|
+
|
|
89903
|
+
|
|
89904
|
+
/**
|
|
89905
|
+
* Clears the message field making it undefined.
|
|
89906
|
+
* @return {!proto.clarifai.api.SingleNodepoolResponse} returns this
|
|
89907
|
+
*/
|
|
89908
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.clearNodepool = function() {
|
|
89909
|
+
return this.setNodepool(undefined);
|
|
89910
|
+
};
|
|
89911
|
+
|
|
89912
|
+
|
|
89913
|
+
/**
|
|
89914
|
+
* Returns whether this field is set.
|
|
89915
|
+
* @return {boolean}
|
|
89916
|
+
*/
|
|
89917
|
+
proto.clarifai.api.SingleNodepoolResponse.prototype.hasNodepool = function() {
|
|
89918
|
+
return jspb.Message.getField(this, 2) != null;
|
|
89919
|
+
};
|
|
89920
|
+
|
|
89921
|
+
|
|
89922
|
+
|
|
89923
|
+
/**
|
|
89924
|
+
* List of repeated fields within this message type.
|
|
89925
|
+
* @private {!Array<number>}
|
|
89926
|
+
* @const
|
|
89927
|
+
*/
|
|
89928
|
+
proto.clarifai.api.MultiNodepoolResponse.repeatedFields_ = [2];
|
|
89929
|
+
|
|
89930
|
+
|
|
89931
|
+
|
|
89932
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
89933
|
+
/**
|
|
89934
|
+
* Creates an object representation of this proto.
|
|
89935
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
89936
|
+
* Optional fields that are not set will be set to undefined.
|
|
89937
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
89938
|
+
* For the list of reserved names please see:
|
|
89939
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
89940
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
89941
|
+
* JSPB instance for transitional soy proto support:
|
|
89942
|
+
* http://goto/soy-param-migration
|
|
89943
|
+
* @return {!Object}
|
|
89944
|
+
*/
|
|
89945
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.toObject = function(opt_includeInstance) {
|
|
89946
|
+
return proto.clarifai.api.MultiNodepoolResponse.toObject(opt_includeInstance, this);
|
|
89947
|
+
};
|
|
89948
|
+
|
|
89949
|
+
|
|
89950
|
+
/**
|
|
89951
|
+
* Static version of the {@see toObject} method.
|
|
89952
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
89953
|
+
* the JSPB instance for transitional soy proto support:
|
|
89954
|
+
* http://goto/soy-param-migration
|
|
89955
|
+
* @param {!proto.clarifai.api.MultiNodepoolResponse} msg The msg instance to transform.
|
|
89956
|
+
* @return {!Object}
|
|
89957
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
89958
|
+
*/
|
|
89959
|
+
proto.clarifai.api.MultiNodepoolResponse.toObject = function(includeInstance, msg) {
|
|
89960
|
+
var f, obj = {
|
|
89961
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
89962
|
+
nodepoolsList: jspb.Message.toObjectList(msg.getNodepoolsList(),
|
|
89963
|
+
proto_clarifai_api_resources_pb.Nodepool.toObject, includeInstance)
|
|
89964
|
+
};
|
|
89965
|
+
|
|
89966
|
+
if (includeInstance) {
|
|
89967
|
+
obj.$jspbMessageInstance = msg;
|
|
89968
|
+
}
|
|
89969
|
+
return obj;
|
|
89970
|
+
};
|
|
89971
|
+
}
|
|
89972
|
+
|
|
89973
|
+
|
|
89974
|
+
/**
|
|
89975
|
+
* Deserializes binary data (in protobuf wire format).
|
|
89976
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
89977
|
+
* @return {!proto.clarifai.api.MultiNodepoolResponse}
|
|
89978
|
+
*/
|
|
89979
|
+
proto.clarifai.api.MultiNodepoolResponse.deserializeBinary = function(bytes) {
|
|
89980
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
89981
|
+
var msg = new proto.clarifai.api.MultiNodepoolResponse;
|
|
89982
|
+
return proto.clarifai.api.MultiNodepoolResponse.deserializeBinaryFromReader(msg, reader);
|
|
89983
|
+
};
|
|
89984
|
+
|
|
89985
|
+
|
|
89986
|
+
/**
|
|
89987
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
89988
|
+
* given reader into the given message object.
|
|
89989
|
+
* @param {!proto.clarifai.api.MultiNodepoolResponse} msg The message object to deserialize into.
|
|
89990
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
89991
|
+
* @return {!proto.clarifai.api.MultiNodepoolResponse}
|
|
89992
|
+
*/
|
|
89993
|
+
proto.clarifai.api.MultiNodepoolResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
89994
|
+
while (reader.nextField()) {
|
|
89995
|
+
if (reader.isEndGroup()) {
|
|
89996
|
+
break;
|
|
89997
|
+
}
|
|
89998
|
+
var field = reader.getFieldNumber();
|
|
89999
|
+
switch (field) {
|
|
90000
|
+
case 1:
|
|
90001
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
90002
|
+
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
90003
|
+
msg.setStatus(value);
|
|
90004
|
+
break;
|
|
90005
|
+
case 2:
|
|
90006
|
+
var value = new proto_clarifai_api_resources_pb.Nodepool;
|
|
90007
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
|
|
90008
|
+
msg.addNodepools(value);
|
|
90009
|
+
break;
|
|
90010
|
+
default:
|
|
90011
|
+
reader.skipField();
|
|
90012
|
+
break;
|
|
90013
|
+
}
|
|
90014
|
+
}
|
|
90015
|
+
return msg;
|
|
90016
|
+
};
|
|
90017
|
+
|
|
90018
|
+
|
|
90019
|
+
/**
|
|
90020
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
90021
|
+
* @return {!Uint8Array}
|
|
90022
|
+
*/
|
|
90023
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.serializeBinary = function() {
|
|
90024
|
+
var writer = new jspb.BinaryWriter();
|
|
90025
|
+
proto.clarifai.api.MultiNodepoolResponse.serializeBinaryToWriter(this, writer);
|
|
90026
|
+
return writer.getResultBuffer();
|
|
90027
|
+
};
|
|
90028
|
+
|
|
90029
|
+
|
|
90030
|
+
/**
|
|
90031
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
90032
|
+
* format), writing to the given BinaryWriter.
|
|
90033
|
+
* @param {!proto.clarifai.api.MultiNodepoolResponse} message
|
|
90034
|
+
* @param {!jspb.BinaryWriter} writer
|
|
90035
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
90036
|
+
*/
|
|
90037
|
+
proto.clarifai.api.MultiNodepoolResponse.serializeBinaryToWriter = function(message, writer) {
|
|
90038
|
+
var f = undefined;
|
|
90039
|
+
f = message.getStatus();
|
|
90040
|
+
if (f != null) {
|
|
90041
|
+
writer.writeMessage(
|
|
90042
|
+
1,
|
|
90043
|
+
f,
|
|
90044
|
+
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
90045
|
+
);
|
|
90046
|
+
}
|
|
90047
|
+
f = message.getNodepoolsList();
|
|
90048
|
+
if (f.length > 0) {
|
|
90049
|
+
writer.writeRepeatedMessage(
|
|
90050
|
+
2,
|
|
90051
|
+
f,
|
|
90052
|
+
proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter
|
|
90053
|
+
);
|
|
90054
|
+
}
|
|
90055
|
+
};
|
|
90056
|
+
|
|
90057
|
+
|
|
90058
|
+
/**
|
|
90059
|
+
* optional status.Status status = 1;
|
|
90060
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
90061
|
+
*/
|
|
90062
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.getStatus = function() {
|
|
90063
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
90064
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
90065
|
+
};
|
|
90066
|
+
|
|
90067
|
+
|
|
90068
|
+
/**
|
|
90069
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
90070
|
+
* @return {!proto.clarifai.api.MultiNodepoolResponse} returns this
|
|
90071
|
+
*/
|
|
90072
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.setStatus = function(value) {
|
|
90073
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
90074
|
+
};
|
|
90075
|
+
|
|
90076
|
+
|
|
90077
|
+
/**
|
|
90078
|
+
* Clears the message field making it undefined.
|
|
90079
|
+
* @return {!proto.clarifai.api.MultiNodepoolResponse} returns this
|
|
90080
|
+
*/
|
|
90081
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.clearStatus = function() {
|
|
90082
|
+
return this.setStatus(undefined);
|
|
90083
|
+
};
|
|
90084
|
+
|
|
90085
|
+
|
|
90086
|
+
/**
|
|
90087
|
+
* Returns whether this field is set.
|
|
90088
|
+
* @return {boolean}
|
|
90089
|
+
*/
|
|
90090
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.hasStatus = function() {
|
|
90091
|
+
return jspb.Message.getField(this, 1) != null;
|
|
90092
|
+
};
|
|
90093
|
+
|
|
90094
|
+
|
|
90095
|
+
/**
|
|
90096
|
+
* repeated Nodepool nodepools = 2;
|
|
90097
|
+
* @return {!Array<!proto.clarifai.api.Nodepool>}
|
|
90098
|
+
*/
|
|
90099
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.getNodepoolsList = function() {
|
|
90100
|
+
return /** @type{!Array<!proto.clarifai.api.Nodepool>} */ (
|
|
90101
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 2));
|
|
90102
|
+
};
|
|
90103
|
+
|
|
90104
|
+
|
|
90105
|
+
/**
|
|
90106
|
+
* @param {!Array<!proto.clarifai.api.Nodepool>} value
|
|
90107
|
+
* @return {!proto.clarifai.api.MultiNodepoolResponse} returns this
|
|
90108
|
+
*/
|
|
90109
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.setNodepoolsList = function(value) {
|
|
90110
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
90111
|
+
};
|
|
90112
|
+
|
|
90113
|
+
|
|
90114
|
+
/**
|
|
90115
|
+
* @param {!proto.clarifai.api.Nodepool=} opt_value
|
|
90116
|
+
* @param {number=} opt_index
|
|
90117
|
+
* @return {!proto.clarifai.api.Nodepool}
|
|
90118
|
+
*/
|
|
90119
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.addNodepools = function(opt_value, opt_index) {
|
|
90120
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.Nodepool, opt_index);
|
|
90121
|
+
};
|
|
90122
|
+
|
|
90123
|
+
|
|
90124
|
+
/**
|
|
90125
|
+
* Clears the list making it empty but non-null.
|
|
90126
|
+
* @return {!proto.clarifai.api.MultiNodepoolResponse} returns this
|
|
90127
|
+
*/
|
|
90128
|
+
proto.clarifai.api.MultiNodepoolResponse.prototype.clearNodepoolsList = function() {
|
|
90129
|
+
return this.setNodepoolsList([]);
|
|
90130
|
+
};
|
|
90131
|
+
|
|
90132
|
+
|
|
90133
|
+
|
|
90134
|
+
|
|
90135
|
+
|
|
90136
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
90137
|
+
/**
|
|
90138
|
+
* Creates an object representation of this proto.
|
|
90139
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
90140
|
+
* Optional fields that are not set will be set to undefined.
|
|
90141
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
90142
|
+
* For the list of reserved names please see:
|
|
90143
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
90144
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
90145
|
+
* JSPB instance for transitional soy proto support:
|
|
90146
|
+
* http://goto/soy-param-migration
|
|
90147
|
+
* @return {!Object}
|
|
90148
|
+
*/
|
|
90149
|
+
proto.clarifai.api.GetDeploymentRequest.prototype.toObject = function(opt_includeInstance) {
|
|
90150
|
+
return proto.clarifai.api.GetDeploymentRequest.toObject(opt_includeInstance, this);
|
|
90151
|
+
};
|
|
90152
|
+
|
|
90153
|
+
|
|
90154
|
+
/**
|
|
90155
|
+
* Static version of the {@see toObject} method.
|
|
90156
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
90157
|
+
* the JSPB instance for transitional soy proto support:
|
|
90158
|
+
* http://goto/soy-param-migration
|
|
90159
|
+
* @param {!proto.clarifai.api.GetDeploymentRequest} msg The msg instance to transform.
|
|
90160
|
+
* @return {!Object}
|
|
90161
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
90162
|
+
*/
|
|
90163
|
+
proto.clarifai.api.GetDeploymentRequest.toObject = function(includeInstance, msg) {
|
|
90164
|
+
var f, obj = {
|
|
90165
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
90166
|
+
deploymentId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
90167
|
+
};
|
|
90168
|
+
|
|
90169
|
+
if (includeInstance) {
|
|
90170
|
+
obj.$jspbMessageInstance = msg;
|
|
90171
|
+
}
|
|
90172
|
+
return obj;
|
|
90173
|
+
};
|
|
90174
|
+
}
|
|
90175
|
+
|
|
90176
|
+
|
|
90177
|
+
/**
|
|
90178
|
+
* Deserializes binary data (in protobuf wire format).
|
|
90179
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
90180
|
+
* @return {!proto.clarifai.api.GetDeploymentRequest}
|
|
90181
|
+
*/
|
|
90182
|
+
proto.clarifai.api.GetDeploymentRequest.deserializeBinary = function(bytes) {
|
|
90183
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
90184
|
+
var msg = new proto.clarifai.api.GetDeploymentRequest;
|
|
90185
|
+
return proto.clarifai.api.GetDeploymentRequest.deserializeBinaryFromReader(msg, reader);
|
|
90186
|
+
};
|
|
90187
|
+
|
|
90188
|
+
|
|
90189
|
+
/**
|
|
90190
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
90191
|
+
* given reader into the given message object.
|
|
90192
|
+
* @param {!proto.clarifai.api.GetDeploymentRequest} msg The message object to deserialize into.
|
|
90193
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
90194
|
+
* @return {!proto.clarifai.api.GetDeploymentRequest}
|
|
90195
|
+
*/
|
|
90196
|
+
proto.clarifai.api.GetDeploymentRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
90197
|
+
while (reader.nextField()) {
|
|
90198
|
+
if (reader.isEndGroup()) {
|
|
90199
|
+
break;
|
|
90200
|
+
}
|
|
90201
|
+
var field = reader.getFieldNumber();
|
|
90202
|
+
switch (field) {
|
|
90203
|
+
case 1:
|
|
90204
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
90205
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
90206
|
+
msg.setUserAppId(value);
|
|
90207
|
+
break;
|
|
90208
|
+
case 2:
|
|
90209
|
+
var value = /** @type {string} */ (reader.readString());
|
|
90210
|
+
msg.setDeploymentId(value);
|
|
90211
|
+
break;
|
|
90212
|
+
default:
|
|
90213
|
+
reader.skipField();
|
|
90214
|
+
break;
|
|
90215
|
+
}
|
|
90216
|
+
}
|
|
90217
|
+
return msg;
|
|
90218
|
+
};
|
|
90219
|
+
|
|
90220
|
+
|
|
90221
|
+
/**
|
|
90222
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
90223
|
+
* @return {!Uint8Array}
|
|
90224
|
+
*/
|
|
90225
|
+
proto.clarifai.api.GetDeploymentRequest.prototype.serializeBinary = function() {
|
|
90226
|
+
var writer = new jspb.BinaryWriter();
|
|
90227
|
+
proto.clarifai.api.GetDeploymentRequest.serializeBinaryToWriter(this, writer);
|
|
90228
|
+
return writer.getResultBuffer();
|
|
90229
|
+
};
|
|
90230
|
+
|
|
90231
|
+
|
|
90232
|
+
/**
|
|
90233
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
90234
|
+
* format), writing to the given BinaryWriter.
|
|
90235
|
+
* @param {!proto.clarifai.api.GetDeploymentRequest} message
|
|
90236
|
+
* @param {!jspb.BinaryWriter} writer
|
|
90237
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
90238
|
+
*/
|
|
90239
|
+
proto.clarifai.api.GetDeploymentRequest.serializeBinaryToWriter = function(message, writer) {
|
|
90240
|
+
var f = undefined;
|
|
90241
|
+
f = message.getUserAppId();
|
|
90242
|
+
if (f != null) {
|
|
90243
|
+
writer.writeMessage(
|
|
90244
|
+
1,
|
|
90245
|
+
f,
|
|
90246
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
90247
|
+
);
|
|
90248
|
+
}
|
|
90249
|
+
f = message.getDeploymentId();
|
|
90250
|
+
if (f.length > 0) {
|
|
90251
|
+
writer.writeString(
|
|
90252
|
+
2,
|
|
90253
|
+
f
|
|
90254
|
+
);
|
|
90255
|
+
}
|
|
90256
|
+
};
|
|
90257
|
+
|
|
90258
|
+
|
|
90259
|
+
/**
|
|
90260
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
90261
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
90262
|
+
*/
|
|
90263
|
+
proto.clarifai.api.GetDeploymentRequest.prototype.getUserAppId = function() {
|
|
90264
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
90265
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
90266
|
+
};
|
|
90267
|
+
|
|
90268
|
+
|
|
90269
|
+
/**
|
|
90270
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
90271
|
+
* @return {!proto.clarifai.api.GetDeploymentRequest} returns this
|
|
90272
|
+
*/
|
|
90273
|
+
proto.clarifai.api.GetDeploymentRequest.prototype.setUserAppId = function(value) {
|
|
90274
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
90275
|
+
};
|
|
90276
|
+
|
|
90277
|
+
|
|
90278
|
+
/**
|
|
90279
|
+
* Clears the message field making it undefined.
|
|
90280
|
+
* @return {!proto.clarifai.api.GetDeploymentRequest} returns this
|
|
90281
|
+
*/
|
|
90282
|
+
proto.clarifai.api.GetDeploymentRequest.prototype.clearUserAppId = function() {
|
|
90283
|
+
return this.setUserAppId(undefined);
|
|
90284
|
+
};
|
|
90285
|
+
|
|
90286
|
+
|
|
90287
|
+
/**
|
|
90288
|
+
* Returns whether this field is set.
|
|
90289
|
+
* @return {boolean}
|
|
90290
|
+
*/
|
|
90291
|
+
proto.clarifai.api.GetDeploymentRequest.prototype.hasUserAppId = function() {
|
|
90292
|
+
return jspb.Message.getField(this, 1) != null;
|
|
90293
|
+
};
|
|
90294
|
+
|
|
90295
|
+
|
|
90296
|
+
/**
|
|
90297
|
+
* optional string deployment_id = 2;
|
|
90298
|
+
* @return {string}
|
|
90299
|
+
*/
|
|
90300
|
+
proto.clarifai.api.GetDeploymentRequest.prototype.getDeploymentId = function() {
|
|
90301
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
90302
|
+
};
|
|
90303
|
+
|
|
90304
|
+
|
|
90305
|
+
/**
|
|
90306
|
+
* @param {string} value
|
|
90307
|
+
* @return {!proto.clarifai.api.GetDeploymentRequest} returns this
|
|
90308
|
+
*/
|
|
90309
|
+
proto.clarifai.api.GetDeploymentRequest.prototype.setDeploymentId = function(value) {
|
|
90310
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
90311
|
+
};
|
|
90312
|
+
|
|
90313
|
+
|
|
90314
|
+
|
|
90315
|
+
|
|
90316
|
+
|
|
90317
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
90318
|
+
/**
|
|
90319
|
+
* Creates an object representation of this proto.
|
|
90320
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
90321
|
+
* Optional fields that are not set will be set to undefined.
|
|
90322
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
90323
|
+
* For the list of reserved names please see:
|
|
90324
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
90325
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
90326
|
+
* JSPB instance for transitional soy proto support:
|
|
90327
|
+
* http://goto/soy-param-migration
|
|
90328
|
+
* @return {!Object}
|
|
90329
|
+
*/
|
|
90330
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
90331
|
+
return proto.clarifai.api.ListDeploymentsRequest.toObject(opt_includeInstance, this);
|
|
90332
|
+
};
|
|
90333
|
+
|
|
90334
|
+
|
|
90335
|
+
/**
|
|
90336
|
+
* Static version of the {@see toObject} method.
|
|
90337
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
90338
|
+
* the JSPB instance for transitional soy proto support:
|
|
90339
|
+
* http://goto/soy-param-migration
|
|
90340
|
+
* @param {!proto.clarifai.api.ListDeploymentsRequest} msg The msg instance to transform.
|
|
90341
|
+
* @return {!Object}
|
|
90342
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
90343
|
+
*/
|
|
90344
|
+
proto.clarifai.api.ListDeploymentsRequest.toObject = function(includeInstance, msg) {
|
|
90345
|
+
var f, obj = {
|
|
90346
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
90347
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
90348
|
+
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
90349
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
90350
|
+
};
|
|
90351
|
+
|
|
90352
|
+
if (includeInstance) {
|
|
90353
|
+
obj.$jspbMessageInstance = msg;
|
|
90354
|
+
}
|
|
90355
|
+
return obj;
|
|
90356
|
+
};
|
|
90357
|
+
}
|
|
90358
|
+
|
|
90359
|
+
|
|
90360
|
+
/**
|
|
90361
|
+
* Deserializes binary data (in protobuf wire format).
|
|
90362
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
90363
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest}
|
|
90364
|
+
*/
|
|
90365
|
+
proto.clarifai.api.ListDeploymentsRequest.deserializeBinary = function(bytes) {
|
|
90366
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
90367
|
+
var msg = new proto.clarifai.api.ListDeploymentsRequest;
|
|
90368
|
+
return proto.clarifai.api.ListDeploymentsRequest.deserializeBinaryFromReader(msg, reader);
|
|
90369
|
+
};
|
|
90370
|
+
|
|
90371
|
+
|
|
90372
|
+
/**
|
|
90373
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
90374
|
+
* given reader into the given message object.
|
|
90375
|
+
* @param {!proto.clarifai.api.ListDeploymentsRequest} msg The message object to deserialize into.
|
|
90376
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
90377
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest}
|
|
90378
|
+
*/
|
|
90379
|
+
proto.clarifai.api.ListDeploymentsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
90380
|
+
while (reader.nextField()) {
|
|
90381
|
+
if (reader.isEndGroup()) {
|
|
90382
|
+
break;
|
|
90383
|
+
}
|
|
90384
|
+
var field = reader.getFieldNumber();
|
|
90385
|
+
switch (field) {
|
|
90386
|
+
case 1:
|
|
90387
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
90388
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
90389
|
+
msg.setUserAppId(value);
|
|
90390
|
+
break;
|
|
90391
|
+
case 2:
|
|
90392
|
+
var value = /** @type {string} */ (reader.readString());
|
|
90393
|
+
msg.setNodepoolId(value);
|
|
90394
|
+
break;
|
|
90395
|
+
case 3:
|
|
90396
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
90397
|
+
msg.setPage(value);
|
|
90398
|
+
break;
|
|
90399
|
+
case 4:
|
|
90400
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
90401
|
+
msg.setPerPage(value);
|
|
90402
|
+
break;
|
|
90403
|
+
default:
|
|
90404
|
+
reader.skipField();
|
|
90405
|
+
break;
|
|
90406
|
+
}
|
|
90407
|
+
}
|
|
90408
|
+
return msg;
|
|
90409
|
+
};
|
|
90410
|
+
|
|
90411
|
+
|
|
90412
|
+
/**
|
|
90413
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
90414
|
+
* @return {!Uint8Array}
|
|
90415
|
+
*/
|
|
90416
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.serializeBinary = function() {
|
|
90417
|
+
var writer = new jspb.BinaryWriter();
|
|
90418
|
+
proto.clarifai.api.ListDeploymentsRequest.serializeBinaryToWriter(this, writer);
|
|
90419
|
+
return writer.getResultBuffer();
|
|
90420
|
+
};
|
|
90421
|
+
|
|
90422
|
+
|
|
90423
|
+
/**
|
|
90424
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
90425
|
+
* format), writing to the given BinaryWriter.
|
|
90426
|
+
* @param {!proto.clarifai.api.ListDeploymentsRequest} message
|
|
90427
|
+
* @param {!jspb.BinaryWriter} writer
|
|
90428
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
90429
|
+
*/
|
|
90430
|
+
proto.clarifai.api.ListDeploymentsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
90431
|
+
var f = undefined;
|
|
90432
|
+
f = message.getUserAppId();
|
|
90433
|
+
if (f != null) {
|
|
90434
|
+
writer.writeMessage(
|
|
90435
|
+
1,
|
|
90436
|
+
f,
|
|
90437
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
90438
|
+
);
|
|
90439
|
+
}
|
|
90440
|
+
f = message.getNodepoolId();
|
|
90441
|
+
if (f.length > 0) {
|
|
90442
|
+
writer.writeString(
|
|
90443
|
+
2,
|
|
90444
|
+
f
|
|
90445
|
+
);
|
|
90446
|
+
}
|
|
90447
|
+
f = message.getPage();
|
|
90448
|
+
if (f !== 0) {
|
|
90449
|
+
writer.writeUint32(
|
|
90450
|
+
3,
|
|
90451
|
+
f
|
|
90452
|
+
);
|
|
90453
|
+
}
|
|
90454
|
+
f = message.getPerPage();
|
|
90455
|
+
if (f !== 0) {
|
|
90456
|
+
writer.writeUint32(
|
|
90457
|
+
4,
|
|
90458
|
+
f
|
|
90459
|
+
);
|
|
90460
|
+
}
|
|
90461
|
+
};
|
|
90462
|
+
|
|
90463
|
+
|
|
90464
|
+
/**
|
|
90465
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
90466
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
90467
|
+
*/
|
|
90468
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.getUserAppId = function() {
|
|
89163
90469
|
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
89164
90470
|
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
89165
90471
|
};
|
|
@@ -89167,18 +90473,18 @@ proto.clarifai.api.ListNodepoolsRequest.prototype.getUserAppId = function() {
|
|
|
89167
90473
|
|
|
89168
90474
|
/**
|
|
89169
90475
|
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
89170
|
-
* @return {!proto.clarifai.api.
|
|
90476
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
|
|
89171
90477
|
*/
|
|
89172
|
-
proto.clarifai.api.
|
|
90478
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.setUserAppId = function(value) {
|
|
89173
90479
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
89174
90480
|
};
|
|
89175
90481
|
|
|
89176
90482
|
|
|
89177
90483
|
/**
|
|
89178
90484
|
* Clears the message field making it undefined.
|
|
89179
|
-
* @return {!proto.clarifai.api.
|
|
90485
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
|
|
89180
90486
|
*/
|
|
89181
|
-
proto.clarifai.api.
|
|
90487
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.clearUserAppId = function() {
|
|
89182
90488
|
return this.setUserAppId(undefined);
|
|
89183
90489
|
};
|
|
89184
90490
|
|
|
@@ -89187,25 +90493,25 @@ proto.clarifai.api.ListNodepoolsRequest.prototype.clearUserAppId = function() {
|
|
|
89187
90493
|
* Returns whether this field is set.
|
|
89188
90494
|
* @return {boolean}
|
|
89189
90495
|
*/
|
|
89190
|
-
proto.clarifai.api.
|
|
90496
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.hasUserAppId = function() {
|
|
89191
90497
|
return jspb.Message.getField(this, 1) != null;
|
|
89192
90498
|
};
|
|
89193
90499
|
|
|
89194
90500
|
|
|
89195
90501
|
/**
|
|
89196
|
-
* optional string
|
|
90502
|
+
* optional string nodepool_id = 2;
|
|
89197
90503
|
* @return {string}
|
|
89198
90504
|
*/
|
|
89199
|
-
proto.clarifai.api.
|
|
90505
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.getNodepoolId = function() {
|
|
89200
90506
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
89201
90507
|
};
|
|
89202
90508
|
|
|
89203
90509
|
|
|
89204
90510
|
/**
|
|
89205
90511
|
* @param {string} value
|
|
89206
|
-
* @return {!proto.clarifai.api.
|
|
90512
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
|
|
89207
90513
|
*/
|
|
89208
|
-
proto.clarifai.api.
|
|
90514
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.setNodepoolId = function(value) {
|
|
89209
90515
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
89210
90516
|
};
|
|
89211
90517
|
|
|
@@ -89214,16 +90520,16 @@ proto.clarifai.api.ListNodepoolsRequest.prototype.setComputeClusterId = function
|
|
|
89214
90520
|
* optional uint32 page = 3;
|
|
89215
90521
|
* @return {number}
|
|
89216
90522
|
*/
|
|
89217
|
-
proto.clarifai.api.
|
|
90523
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.getPage = function() {
|
|
89218
90524
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
89219
90525
|
};
|
|
89220
90526
|
|
|
89221
90527
|
|
|
89222
90528
|
/**
|
|
89223
90529
|
* @param {number} value
|
|
89224
|
-
* @return {!proto.clarifai.api.
|
|
90530
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
|
|
89225
90531
|
*/
|
|
89226
|
-
proto.clarifai.api.
|
|
90532
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.setPage = function(value) {
|
|
89227
90533
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
89228
90534
|
};
|
|
89229
90535
|
|
|
@@ -89232,16 +90538,16 @@ proto.clarifai.api.ListNodepoolsRequest.prototype.setPage = function(value) {
|
|
|
89232
90538
|
* optional uint32 per_page = 4;
|
|
89233
90539
|
* @return {number}
|
|
89234
90540
|
*/
|
|
89235
|
-
proto.clarifai.api.
|
|
90541
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.getPerPage = function() {
|
|
89236
90542
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
89237
90543
|
};
|
|
89238
90544
|
|
|
89239
90545
|
|
|
89240
90546
|
/**
|
|
89241
90547
|
* @param {number} value
|
|
89242
|
-
* @return {!proto.clarifai.api.
|
|
90548
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
|
|
89243
90549
|
*/
|
|
89244
|
-
proto.clarifai.api.
|
|
90550
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.setPerPage = function(value) {
|
|
89245
90551
|
return jspb.Message.setProto3IntField(this, 4, value);
|
|
89246
90552
|
};
|
|
89247
90553
|
|
|
@@ -89252,7 +90558,7 @@ proto.clarifai.api.ListNodepoolsRequest.prototype.setPerPage = function(value) {
|
|
|
89252
90558
|
* @private {!Array<number>}
|
|
89253
90559
|
* @const
|
|
89254
90560
|
*/
|
|
89255
|
-
proto.clarifai.api.
|
|
90561
|
+
proto.clarifai.api.PostDeploymentsRequest.repeatedFields_ = [2];
|
|
89256
90562
|
|
|
89257
90563
|
|
|
89258
90564
|
|
|
@@ -89269,8 +90575,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
89269
90575
|
* http://goto/soy-param-migration
|
|
89270
90576
|
* @return {!Object}
|
|
89271
90577
|
*/
|
|
89272
|
-
proto.clarifai.api.
|
|
89273
|
-
return proto.clarifai.api.
|
|
90578
|
+
proto.clarifai.api.PostDeploymentsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
90579
|
+
return proto.clarifai.api.PostDeploymentsRequest.toObject(opt_includeInstance, this);
|
|
89274
90580
|
};
|
|
89275
90581
|
|
|
89276
90582
|
|
|
@@ -89279,16 +90585,15 @@ proto.clarifai.api.PostNodepoolsRequest.prototype.toObject = function(opt_includ
|
|
|
89279
90585
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
89280
90586
|
* the JSPB instance for transitional soy proto support:
|
|
89281
90587
|
* http://goto/soy-param-migration
|
|
89282
|
-
* @param {!proto.clarifai.api.
|
|
90588
|
+
* @param {!proto.clarifai.api.PostDeploymentsRequest} msg The msg instance to transform.
|
|
89283
90589
|
* @return {!Object}
|
|
89284
90590
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
89285
90591
|
*/
|
|
89286
|
-
proto.clarifai.api.
|
|
90592
|
+
proto.clarifai.api.PostDeploymentsRequest.toObject = function(includeInstance, msg) {
|
|
89287
90593
|
var f, obj = {
|
|
89288
90594
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
89289
|
-
|
|
89290
|
-
|
|
89291
|
-
proto_clarifai_api_resources_pb.Nodepool.toObject, includeInstance)
|
|
90595
|
+
deploymentsList: jspb.Message.toObjectList(msg.getDeploymentsList(),
|
|
90596
|
+
proto_clarifai_api_resources_pb.Deployment.toObject, includeInstance)
|
|
89292
90597
|
};
|
|
89293
90598
|
|
|
89294
90599
|
if (includeInstance) {
|
|
@@ -89302,23 +90607,23 @@ proto.clarifai.api.PostNodepoolsRequest.toObject = function(includeInstance, msg
|
|
|
89302
90607
|
/**
|
|
89303
90608
|
* Deserializes binary data (in protobuf wire format).
|
|
89304
90609
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
89305
|
-
* @return {!proto.clarifai.api.
|
|
90610
|
+
* @return {!proto.clarifai.api.PostDeploymentsRequest}
|
|
89306
90611
|
*/
|
|
89307
|
-
proto.clarifai.api.
|
|
90612
|
+
proto.clarifai.api.PostDeploymentsRequest.deserializeBinary = function(bytes) {
|
|
89308
90613
|
var reader = new jspb.BinaryReader(bytes);
|
|
89309
|
-
var msg = new proto.clarifai.api.
|
|
89310
|
-
return proto.clarifai.api.
|
|
90614
|
+
var msg = new proto.clarifai.api.PostDeploymentsRequest;
|
|
90615
|
+
return proto.clarifai.api.PostDeploymentsRequest.deserializeBinaryFromReader(msg, reader);
|
|
89311
90616
|
};
|
|
89312
90617
|
|
|
89313
90618
|
|
|
89314
90619
|
/**
|
|
89315
90620
|
* Deserializes binary data (in protobuf wire format) from the
|
|
89316
90621
|
* given reader into the given message object.
|
|
89317
|
-
* @param {!proto.clarifai.api.
|
|
90622
|
+
* @param {!proto.clarifai.api.PostDeploymentsRequest} msg The message object to deserialize into.
|
|
89318
90623
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
89319
|
-
* @return {!proto.clarifai.api.
|
|
90624
|
+
* @return {!proto.clarifai.api.PostDeploymentsRequest}
|
|
89320
90625
|
*/
|
|
89321
|
-
proto.clarifai.api.
|
|
90626
|
+
proto.clarifai.api.PostDeploymentsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
89322
90627
|
while (reader.nextField()) {
|
|
89323
90628
|
if (reader.isEndGroup()) {
|
|
89324
90629
|
break;
|
|
@@ -89331,13 +90636,9 @@ proto.clarifai.api.PostNodepoolsRequest.deserializeBinaryFromReader = function(m
|
|
|
89331
90636
|
msg.setUserAppId(value);
|
|
89332
90637
|
break;
|
|
89333
90638
|
case 2:
|
|
89334
|
-
var value =
|
|
89335
|
-
|
|
89336
|
-
|
|
89337
|
-
case 3:
|
|
89338
|
-
var value = new proto_clarifai_api_resources_pb.Nodepool;
|
|
89339
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
|
|
89340
|
-
msg.addNodepools(value);
|
|
90639
|
+
var value = new proto_clarifai_api_resources_pb.Deployment;
|
|
90640
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.Deployment.deserializeBinaryFromReader);
|
|
90641
|
+
msg.addDeployments(value);
|
|
89341
90642
|
break;
|
|
89342
90643
|
default:
|
|
89343
90644
|
reader.skipField();
|
|
@@ -89352,9 +90653,9 @@ proto.clarifai.api.PostNodepoolsRequest.deserializeBinaryFromReader = function(m
|
|
|
89352
90653
|
* Serializes the message to binary data (in protobuf wire format).
|
|
89353
90654
|
* @return {!Uint8Array}
|
|
89354
90655
|
*/
|
|
89355
|
-
proto.clarifai.api.
|
|
90656
|
+
proto.clarifai.api.PostDeploymentsRequest.prototype.serializeBinary = function() {
|
|
89356
90657
|
var writer = new jspb.BinaryWriter();
|
|
89357
|
-
proto.clarifai.api.
|
|
90658
|
+
proto.clarifai.api.PostDeploymentsRequest.serializeBinaryToWriter(this, writer);
|
|
89358
90659
|
return writer.getResultBuffer();
|
|
89359
90660
|
};
|
|
89360
90661
|
|
|
@@ -89362,11 +90663,11 @@ proto.clarifai.api.PostNodepoolsRequest.prototype.serializeBinary = function() {
|
|
|
89362
90663
|
/**
|
|
89363
90664
|
* Serializes the given message to binary data (in protobuf wire
|
|
89364
90665
|
* format), writing to the given BinaryWriter.
|
|
89365
|
-
* @param {!proto.clarifai.api.
|
|
90666
|
+
* @param {!proto.clarifai.api.PostDeploymentsRequest} message
|
|
89366
90667
|
* @param {!jspb.BinaryWriter} writer
|
|
89367
90668
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
89368
90669
|
*/
|
|
89369
|
-
proto.clarifai.api.
|
|
90670
|
+
proto.clarifai.api.PostDeploymentsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
89370
90671
|
var f = undefined;
|
|
89371
90672
|
f = message.getUserAppId();
|
|
89372
90673
|
if (f != null) {
|
|
@@ -89376,19 +90677,12 @@ proto.clarifai.api.PostNodepoolsRequest.serializeBinaryToWriter = function(messa
|
|
|
89376
90677
|
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
89377
90678
|
);
|
|
89378
90679
|
}
|
|
89379
|
-
f = message.
|
|
89380
|
-
if (f.length > 0) {
|
|
89381
|
-
writer.writeString(
|
|
89382
|
-
2,
|
|
89383
|
-
f
|
|
89384
|
-
);
|
|
89385
|
-
}
|
|
89386
|
-
f = message.getNodepoolsList();
|
|
90680
|
+
f = message.getDeploymentsList();
|
|
89387
90681
|
if (f.length > 0) {
|
|
89388
90682
|
writer.writeRepeatedMessage(
|
|
89389
|
-
|
|
90683
|
+
2,
|
|
89390
90684
|
f,
|
|
89391
|
-
proto_clarifai_api_resources_pb.
|
|
90685
|
+
proto_clarifai_api_resources_pb.Deployment.serializeBinaryToWriter
|
|
89392
90686
|
);
|
|
89393
90687
|
}
|
|
89394
90688
|
};
|
|
@@ -89398,7 +90692,7 @@ proto.clarifai.api.PostNodepoolsRequest.serializeBinaryToWriter = function(messa
|
|
|
89398
90692
|
* optional UserAppIDSet user_app_id = 1;
|
|
89399
90693
|
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
89400
90694
|
*/
|
|
89401
|
-
proto.clarifai.api.
|
|
90695
|
+
proto.clarifai.api.PostDeploymentsRequest.prototype.getUserAppId = function() {
|
|
89402
90696
|
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
89403
90697
|
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
89404
90698
|
};
|
|
@@ -89406,18 +90700,18 @@ proto.clarifai.api.PostNodepoolsRequest.prototype.getUserAppId = function() {
|
|
|
89406
90700
|
|
|
89407
90701
|
/**
|
|
89408
90702
|
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
89409
|
-
* @return {!proto.clarifai.api.
|
|
90703
|
+
* @return {!proto.clarifai.api.PostDeploymentsRequest} returns this
|
|
89410
90704
|
*/
|
|
89411
|
-
proto.clarifai.api.
|
|
90705
|
+
proto.clarifai.api.PostDeploymentsRequest.prototype.setUserAppId = function(value) {
|
|
89412
90706
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
89413
90707
|
};
|
|
89414
90708
|
|
|
89415
90709
|
|
|
89416
90710
|
/**
|
|
89417
90711
|
* Clears the message field making it undefined.
|
|
89418
|
-
* @return {!proto.clarifai.api.
|
|
90712
|
+
* @return {!proto.clarifai.api.PostDeploymentsRequest} returns this
|
|
89419
90713
|
*/
|
|
89420
|
-
proto.clarifai.api.
|
|
90714
|
+
proto.clarifai.api.PostDeploymentsRequest.prototype.clearUserAppId = function() {
|
|
89421
90715
|
return this.setUserAppId(undefined);
|
|
89422
90716
|
};
|
|
89423
90717
|
|
|
@@ -89426,64 +90720,46 @@ proto.clarifai.api.PostNodepoolsRequest.prototype.clearUserAppId = function() {
|
|
|
89426
90720
|
* Returns whether this field is set.
|
|
89427
90721
|
* @return {boolean}
|
|
89428
90722
|
*/
|
|
89429
|
-
proto.clarifai.api.
|
|
90723
|
+
proto.clarifai.api.PostDeploymentsRequest.prototype.hasUserAppId = function() {
|
|
89430
90724
|
return jspb.Message.getField(this, 1) != null;
|
|
89431
90725
|
};
|
|
89432
90726
|
|
|
89433
90727
|
|
|
89434
90728
|
/**
|
|
89435
|
-
*
|
|
89436
|
-
* @return {
|
|
90729
|
+
* repeated Deployment deployments = 2;
|
|
90730
|
+
* @return {!Array<!proto.clarifai.api.Deployment>}
|
|
89437
90731
|
*/
|
|
89438
|
-
proto.clarifai.api.
|
|
89439
|
-
return /** @type
|
|
90732
|
+
proto.clarifai.api.PostDeploymentsRequest.prototype.getDeploymentsList = function() {
|
|
90733
|
+
return /** @type{!Array<!proto.clarifai.api.Deployment>} */ (
|
|
90734
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Deployment, 2));
|
|
89440
90735
|
};
|
|
89441
90736
|
|
|
89442
90737
|
|
|
89443
90738
|
/**
|
|
89444
|
-
* @param {
|
|
89445
|
-
* @return {!proto.clarifai.api.
|
|
89446
|
-
*/
|
|
89447
|
-
proto.clarifai.api.PostNodepoolsRequest.prototype.setComputeClusterId = function(value) {
|
|
89448
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
89449
|
-
};
|
|
89450
|
-
|
|
89451
|
-
|
|
89452
|
-
/**
|
|
89453
|
-
* repeated Nodepool nodepools = 3;
|
|
89454
|
-
* @return {!Array<!proto.clarifai.api.Nodepool>}
|
|
89455
|
-
*/
|
|
89456
|
-
proto.clarifai.api.PostNodepoolsRequest.prototype.getNodepoolsList = function() {
|
|
89457
|
-
return /** @type{!Array<!proto.clarifai.api.Nodepool>} */ (
|
|
89458
|
-
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 3));
|
|
89459
|
-
};
|
|
89460
|
-
|
|
89461
|
-
|
|
89462
|
-
/**
|
|
89463
|
-
* @param {!Array<!proto.clarifai.api.Nodepool>} value
|
|
89464
|
-
* @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
|
|
90739
|
+
* @param {!Array<!proto.clarifai.api.Deployment>} value
|
|
90740
|
+
* @return {!proto.clarifai.api.PostDeploymentsRequest} returns this
|
|
89465
90741
|
*/
|
|
89466
|
-
proto.clarifai.api.
|
|
89467
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
90742
|
+
proto.clarifai.api.PostDeploymentsRequest.prototype.setDeploymentsList = function(value) {
|
|
90743
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
89468
90744
|
};
|
|
89469
90745
|
|
|
89470
90746
|
|
|
89471
90747
|
/**
|
|
89472
|
-
* @param {!proto.clarifai.api.
|
|
90748
|
+
* @param {!proto.clarifai.api.Deployment=} opt_value
|
|
89473
90749
|
* @param {number=} opt_index
|
|
89474
|
-
* @return {!proto.clarifai.api.
|
|
90750
|
+
* @return {!proto.clarifai.api.Deployment}
|
|
89475
90751
|
*/
|
|
89476
|
-
proto.clarifai.api.
|
|
89477
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
90752
|
+
proto.clarifai.api.PostDeploymentsRequest.prototype.addDeployments = function(opt_value, opt_index) {
|
|
90753
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.Deployment, opt_index);
|
|
89478
90754
|
};
|
|
89479
90755
|
|
|
89480
90756
|
|
|
89481
90757
|
/**
|
|
89482
90758
|
* Clears the list making it empty but non-null.
|
|
89483
|
-
* @return {!proto.clarifai.api.
|
|
90759
|
+
* @return {!proto.clarifai.api.PostDeploymentsRequest} returns this
|
|
89484
90760
|
*/
|
|
89485
|
-
proto.clarifai.api.
|
|
89486
|
-
return this.
|
|
90761
|
+
proto.clarifai.api.PostDeploymentsRequest.prototype.clearDeploymentsList = function() {
|
|
90762
|
+
return this.setDeploymentsList([]);
|
|
89487
90763
|
};
|
|
89488
90764
|
|
|
89489
90765
|
|
|
@@ -89493,7 +90769,7 @@ proto.clarifai.api.PostNodepoolsRequest.prototype.clearNodepoolsList = function(
|
|
|
89493
90769
|
* @private {!Array<number>}
|
|
89494
90770
|
* @const
|
|
89495
90771
|
*/
|
|
89496
|
-
proto.clarifai.api.
|
|
90772
|
+
proto.clarifai.api.DeleteDeploymentsRequest.repeatedFields_ = [2];
|
|
89497
90773
|
|
|
89498
90774
|
|
|
89499
90775
|
|
|
@@ -89510,8 +90786,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
89510
90786
|
* http://goto/soy-param-migration
|
|
89511
90787
|
* @return {!Object}
|
|
89512
90788
|
*/
|
|
89513
|
-
proto.clarifai.api.
|
|
89514
|
-
return proto.clarifai.api.
|
|
90789
|
+
proto.clarifai.api.DeleteDeploymentsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
90790
|
+
return proto.clarifai.api.DeleteDeploymentsRequest.toObject(opt_includeInstance, this);
|
|
89515
90791
|
};
|
|
89516
90792
|
|
|
89517
90793
|
|
|
@@ -89520,17 +90796,14 @@ proto.clarifai.api.PatchNodepoolsRequest.prototype.toObject = function(opt_inclu
|
|
|
89520
90796
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
89521
90797
|
* the JSPB instance for transitional soy proto support:
|
|
89522
90798
|
* http://goto/soy-param-migration
|
|
89523
|
-
* @param {!proto.clarifai.api.
|
|
90799
|
+
* @param {!proto.clarifai.api.DeleteDeploymentsRequest} msg The msg instance to transform.
|
|
89524
90800
|
* @return {!Object}
|
|
89525
90801
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
89526
90802
|
*/
|
|
89527
|
-
proto.clarifai.api.
|
|
90803
|
+
proto.clarifai.api.DeleteDeploymentsRequest.toObject = function(includeInstance, msg) {
|
|
89528
90804
|
var f, obj = {
|
|
89529
90805
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
89530
|
-
|
|
89531
|
-
nodepoolsList: jspb.Message.toObjectList(msg.getNodepoolsList(),
|
|
89532
|
-
proto_clarifai_api_resources_pb.Nodepool.toObject, includeInstance),
|
|
89533
|
-
action: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
90806
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
89534
90807
|
};
|
|
89535
90808
|
|
|
89536
90809
|
if (includeInstance) {
|
|
@@ -89544,23 +90817,23 @@ proto.clarifai.api.PatchNodepoolsRequest.toObject = function(includeInstance, ms
|
|
|
89544
90817
|
/**
|
|
89545
90818
|
* Deserializes binary data (in protobuf wire format).
|
|
89546
90819
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
89547
|
-
* @return {!proto.clarifai.api.
|
|
90820
|
+
* @return {!proto.clarifai.api.DeleteDeploymentsRequest}
|
|
89548
90821
|
*/
|
|
89549
|
-
proto.clarifai.api.
|
|
90822
|
+
proto.clarifai.api.DeleteDeploymentsRequest.deserializeBinary = function(bytes) {
|
|
89550
90823
|
var reader = new jspb.BinaryReader(bytes);
|
|
89551
|
-
var msg = new proto.clarifai.api.
|
|
89552
|
-
return proto.clarifai.api.
|
|
90824
|
+
var msg = new proto.clarifai.api.DeleteDeploymentsRequest;
|
|
90825
|
+
return proto.clarifai.api.DeleteDeploymentsRequest.deserializeBinaryFromReader(msg, reader);
|
|
89553
90826
|
};
|
|
89554
90827
|
|
|
89555
90828
|
|
|
89556
90829
|
/**
|
|
89557
90830
|
* Deserializes binary data (in protobuf wire format) from the
|
|
89558
90831
|
* given reader into the given message object.
|
|
89559
|
-
* @param {!proto.clarifai.api.
|
|
90832
|
+
* @param {!proto.clarifai.api.DeleteDeploymentsRequest} msg The message object to deserialize into.
|
|
89560
90833
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
89561
|
-
* @return {!proto.clarifai.api.
|
|
90834
|
+
* @return {!proto.clarifai.api.DeleteDeploymentsRequest}
|
|
89562
90835
|
*/
|
|
89563
|
-
proto.clarifai.api.
|
|
90836
|
+
proto.clarifai.api.DeleteDeploymentsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
89564
90837
|
while (reader.nextField()) {
|
|
89565
90838
|
if (reader.isEndGroup()) {
|
|
89566
90839
|
break;
|
|
@@ -89574,16 +90847,7 @@ proto.clarifai.api.PatchNodepoolsRequest.deserializeBinaryFromReader = function(
|
|
|
89574
90847
|
break;
|
|
89575
90848
|
case 2:
|
|
89576
90849
|
var value = /** @type {string} */ (reader.readString());
|
|
89577
|
-
msg.
|
|
89578
|
-
break;
|
|
89579
|
-
case 3:
|
|
89580
|
-
var value = new proto_clarifai_api_resources_pb.Nodepool;
|
|
89581
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
|
|
89582
|
-
msg.addNodepools(value);
|
|
89583
|
-
break;
|
|
89584
|
-
case 4:
|
|
89585
|
-
var value = /** @type {string} */ (reader.readString());
|
|
89586
|
-
msg.setAction(value);
|
|
90850
|
+
msg.addIds(value);
|
|
89587
90851
|
break;
|
|
89588
90852
|
default:
|
|
89589
90853
|
reader.skipField();
|
|
@@ -89598,9 +90862,9 @@ proto.clarifai.api.PatchNodepoolsRequest.deserializeBinaryFromReader = function(
|
|
|
89598
90862
|
* Serializes the message to binary data (in protobuf wire format).
|
|
89599
90863
|
* @return {!Uint8Array}
|
|
89600
90864
|
*/
|
|
89601
|
-
proto.clarifai.api.
|
|
90865
|
+
proto.clarifai.api.DeleteDeploymentsRequest.prototype.serializeBinary = function() {
|
|
89602
90866
|
var writer = new jspb.BinaryWriter();
|
|
89603
|
-
proto.clarifai.api.
|
|
90867
|
+
proto.clarifai.api.DeleteDeploymentsRequest.serializeBinaryToWriter(this, writer);
|
|
89604
90868
|
return writer.getResultBuffer();
|
|
89605
90869
|
};
|
|
89606
90870
|
|
|
@@ -89608,11 +90872,11 @@ proto.clarifai.api.PatchNodepoolsRequest.prototype.serializeBinary = function()
|
|
|
89608
90872
|
/**
|
|
89609
90873
|
* Serializes the given message to binary data (in protobuf wire
|
|
89610
90874
|
* format), writing to the given BinaryWriter.
|
|
89611
|
-
* @param {!proto.clarifai.api.
|
|
90875
|
+
* @param {!proto.clarifai.api.DeleteDeploymentsRequest} message
|
|
89612
90876
|
* @param {!jspb.BinaryWriter} writer
|
|
89613
90877
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
89614
90878
|
*/
|
|
89615
|
-
proto.clarifai.api.
|
|
90879
|
+
proto.clarifai.api.DeleteDeploymentsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
89616
90880
|
var f = undefined;
|
|
89617
90881
|
f = message.getUserAppId();
|
|
89618
90882
|
if (f != null) {
|
|
@@ -89622,28 +90886,13 @@ proto.clarifai.api.PatchNodepoolsRequest.serializeBinaryToWriter = function(mess
|
|
|
89622
90886
|
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
89623
90887
|
);
|
|
89624
90888
|
}
|
|
89625
|
-
f = message.
|
|
90889
|
+
f = message.getIdsList();
|
|
89626
90890
|
if (f.length > 0) {
|
|
89627
|
-
writer.
|
|
90891
|
+
writer.writeRepeatedString(
|
|
89628
90892
|
2,
|
|
89629
90893
|
f
|
|
89630
90894
|
);
|
|
89631
90895
|
}
|
|
89632
|
-
f = message.getNodepoolsList();
|
|
89633
|
-
if (f.length > 0) {
|
|
89634
|
-
writer.writeRepeatedMessage(
|
|
89635
|
-
3,
|
|
89636
|
-
f,
|
|
89637
|
-
proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter
|
|
89638
|
-
);
|
|
89639
|
-
}
|
|
89640
|
-
f = message.getAction();
|
|
89641
|
-
if (f.length > 0) {
|
|
89642
|
-
writer.writeString(
|
|
89643
|
-
4,
|
|
89644
|
-
f
|
|
89645
|
-
);
|
|
89646
|
-
}
|
|
89647
90896
|
};
|
|
89648
90897
|
|
|
89649
90898
|
|
|
@@ -89651,7 +90900,7 @@ proto.clarifai.api.PatchNodepoolsRequest.serializeBinaryToWriter = function(mess
|
|
|
89651
90900
|
* optional UserAppIDSet user_app_id = 1;
|
|
89652
90901
|
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
89653
90902
|
*/
|
|
89654
|
-
proto.clarifai.api.
|
|
90903
|
+
proto.clarifai.api.DeleteDeploymentsRequest.prototype.getUserAppId = function() {
|
|
89655
90904
|
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
89656
90905
|
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
89657
90906
|
};
|
|
@@ -89659,18 +90908,18 @@ proto.clarifai.api.PatchNodepoolsRequest.prototype.getUserAppId = function() {
|
|
|
89659
90908
|
|
|
89660
90909
|
/**
|
|
89661
90910
|
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
89662
|
-
* @return {!proto.clarifai.api.
|
|
90911
|
+
* @return {!proto.clarifai.api.DeleteDeploymentsRequest} returns this
|
|
89663
90912
|
*/
|
|
89664
|
-
proto.clarifai.api.
|
|
90913
|
+
proto.clarifai.api.DeleteDeploymentsRequest.prototype.setUserAppId = function(value) {
|
|
89665
90914
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
89666
90915
|
};
|
|
89667
90916
|
|
|
89668
90917
|
|
|
89669
90918
|
/**
|
|
89670
90919
|
* Clears the message field making it undefined.
|
|
89671
|
-
* @return {!proto.clarifai.api.
|
|
90920
|
+
* @return {!proto.clarifai.api.DeleteDeploymentsRequest} returns this
|
|
89672
90921
|
*/
|
|
89673
|
-
proto.clarifai.api.
|
|
90922
|
+
proto.clarifai.api.DeleteDeploymentsRequest.prototype.clearUserAppId = function() {
|
|
89674
90923
|
return this.setUserAppId(undefined);
|
|
89675
90924
|
};
|
|
89676
90925
|
|
|
@@ -89679,82 +90928,45 @@ proto.clarifai.api.PatchNodepoolsRequest.prototype.clearUserAppId = function() {
|
|
|
89679
90928
|
* Returns whether this field is set.
|
|
89680
90929
|
* @return {boolean}
|
|
89681
90930
|
*/
|
|
89682
|
-
proto.clarifai.api.
|
|
90931
|
+
proto.clarifai.api.DeleteDeploymentsRequest.prototype.hasUserAppId = function() {
|
|
89683
90932
|
return jspb.Message.getField(this, 1) != null;
|
|
89684
90933
|
};
|
|
89685
90934
|
|
|
89686
90935
|
|
|
89687
90936
|
/**
|
|
89688
|
-
*
|
|
89689
|
-
* @return {string}
|
|
89690
|
-
*/
|
|
89691
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.getComputeClusterId = function() {
|
|
89692
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
89693
|
-
};
|
|
89694
|
-
|
|
89695
|
-
|
|
89696
|
-
/**
|
|
89697
|
-
* @param {string} value
|
|
89698
|
-
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
90937
|
+
* repeated string ids = 2;
|
|
90938
|
+
* @return {!Array<string>}
|
|
89699
90939
|
*/
|
|
89700
|
-
proto.clarifai.api.
|
|
89701
|
-
return jspb.Message.
|
|
90940
|
+
proto.clarifai.api.DeleteDeploymentsRequest.prototype.getIdsList = function() {
|
|
90941
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
89702
90942
|
};
|
|
89703
90943
|
|
|
89704
90944
|
|
|
89705
90945
|
/**
|
|
89706
|
-
*
|
|
89707
|
-
* @return {!
|
|
90946
|
+
* @param {!Array<string>} value
|
|
90947
|
+
* @return {!proto.clarifai.api.DeleteDeploymentsRequest} returns this
|
|
89708
90948
|
*/
|
|
89709
|
-
proto.clarifai.api.
|
|
89710
|
-
return
|
|
89711
|
-
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 3));
|
|
89712
|
-
};
|
|
89713
|
-
|
|
89714
|
-
|
|
89715
|
-
/**
|
|
89716
|
-
* @param {!Array<!proto.clarifai.api.Nodepool>} value
|
|
89717
|
-
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
89718
|
-
*/
|
|
89719
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.setNodepoolsList = function(value) {
|
|
89720
|
-
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
90949
|
+
proto.clarifai.api.DeleteDeploymentsRequest.prototype.setIdsList = function(value) {
|
|
90950
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
89721
90951
|
};
|
|
89722
90952
|
|
|
89723
90953
|
|
|
89724
90954
|
/**
|
|
89725
|
-
* @param {
|
|
90955
|
+
* @param {string} value
|
|
89726
90956
|
* @param {number=} opt_index
|
|
89727
|
-
* @return {!proto.clarifai.api.
|
|
90957
|
+
* @return {!proto.clarifai.api.DeleteDeploymentsRequest} returns this
|
|
89728
90958
|
*/
|
|
89729
|
-
proto.clarifai.api.
|
|
89730
|
-
return jspb.Message.
|
|
90959
|
+
proto.clarifai.api.DeleteDeploymentsRequest.prototype.addIds = function(value, opt_index) {
|
|
90960
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
89731
90961
|
};
|
|
89732
90962
|
|
|
89733
90963
|
|
|
89734
90964
|
/**
|
|
89735
90965
|
* Clears the list making it empty but non-null.
|
|
89736
|
-
* @return {!proto.clarifai.api.
|
|
89737
|
-
*/
|
|
89738
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.clearNodepoolsList = function() {
|
|
89739
|
-
return this.setNodepoolsList([]);
|
|
89740
|
-
};
|
|
89741
|
-
|
|
89742
|
-
|
|
89743
|
-
/**
|
|
89744
|
-
* optional string action = 4;
|
|
89745
|
-
* @return {string}
|
|
90966
|
+
* @return {!proto.clarifai.api.DeleteDeploymentsRequest} returns this
|
|
89746
90967
|
*/
|
|
89747
|
-
proto.clarifai.api.
|
|
89748
|
-
return
|
|
89749
|
-
};
|
|
89750
|
-
|
|
89751
|
-
|
|
89752
|
-
/**
|
|
89753
|
-
* @param {string} value
|
|
89754
|
-
* @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
|
|
89755
|
-
*/
|
|
89756
|
-
proto.clarifai.api.PatchNodepoolsRequest.prototype.setAction = function(value) {
|
|
89757
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
90968
|
+
proto.clarifai.api.DeleteDeploymentsRequest.prototype.clearIdsList = function() {
|
|
90969
|
+
return this.setIdsList([]);
|
|
89758
90970
|
};
|
|
89759
90971
|
|
|
89760
90972
|
|
|
@@ -89764,7 +90976,7 @@ proto.clarifai.api.PatchNodepoolsRequest.prototype.setAction = function(value) {
|
|
|
89764
90976
|
* @private {!Array<number>}
|
|
89765
90977
|
* @const
|
|
89766
90978
|
*/
|
|
89767
|
-
proto.clarifai.api.
|
|
90979
|
+
proto.clarifai.api.PatchDeploymentsRequest.repeatedFields_ = [3];
|
|
89768
90980
|
|
|
89769
90981
|
|
|
89770
90982
|
|
|
@@ -89781,8 +90993,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
89781
90993
|
* http://goto/soy-param-migration
|
|
89782
90994
|
* @return {!Object}
|
|
89783
90995
|
*/
|
|
89784
|
-
proto.clarifai.api.
|
|
89785
|
-
return proto.clarifai.api.
|
|
90996
|
+
proto.clarifai.api.PatchDeploymentsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
90997
|
+
return proto.clarifai.api.PatchDeploymentsRequest.toObject(opt_includeInstance, this);
|
|
89786
90998
|
};
|
|
89787
90999
|
|
|
89788
91000
|
|
|
@@ -89791,15 +91003,16 @@ proto.clarifai.api.DeleteNodepoolsRequest.prototype.toObject = function(opt_incl
|
|
|
89791
91003
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
89792
91004
|
* the JSPB instance for transitional soy proto support:
|
|
89793
91005
|
* http://goto/soy-param-migration
|
|
89794
|
-
* @param {!proto.clarifai.api.
|
|
91006
|
+
* @param {!proto.clarifai.api.PatchDeploymentsRequest} msg The msg instance to transform.
|
|
89795
91007
|
* @return {!Object}
|
|
89796
91008
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
89797
91009
|
*/
|
|
89798
|
-
proto.clarifai.api.
|
|
91010
|
+
proto.clarifai.api.PatchDeploymentsRequest.toObject = function(includeInstance, msg) {
|
|
89799
91011
|
var f, obj = {
|
|
89800
91012
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
89801
|
-
|
|
89802
|
-
|
|
91013
|
+
deploymentsList: jspb.Message.toObjectList(msg.getDeploymentsList(),
|
|
91014
|
+
proto_clarifai_api_resources_pb.Deployment.toObject, includeInstance),
|
|
91015
|
+
action: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
89803
91016
|
};
|
|
89804
91017
|
|
|
89805
91018
|
if (includeInstance) {
|
|
@@ -89813,23 +91026,23 @@ proto.clarifai.api.DeleteNodepoolsRequest.toObject = function(includeInstance, m
|
|
|
89813
91026
|
/**
|
|
89814
91027
|
* Deserializes binary data (in protobuf wire format).
|
|
89815
91028
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
89816
|
-
* @return {!proto.clarifai.api.
|
|
91029
|
+
* @return {!proto.clarifai.api.PatchDeploymentsRequest}
|
|
89817
91030
|
*/
|
|
89818
|
-
proto.clarifai.api.
|
|
91031
|
+
proto.clarifai.api.PatchDeploymentsRequest.deserializeBinary = function(bytes) {
|
|
89819
91032
|
var reader = new jspb.BinaryReader(bytes);
|
|
89820
|
-
var msg = new proto.clarifai.api.
|
|
89821
|
-
return proto.clarifai.api.
|
|
91033
|
+
var msg = new proto.clarifai.api.PatchDeploymentsRequest;
|
|
91034
|
+
return proto.clarifai.api.PatchDeploymentsRequest.deserializeBinaryFromReader(msg, reader);
|
|
89822
91035
|
};
|
|
89823
91036
|
|
|
89824
91037
|
|
|
89825
91038
|
/**
|
|
89826
91039
|
* Deserializes binary data (in protobuf wire format) from the
|
|
89827
91040
|
* given reader into the given message object.
|
|
89828
|
-
* @param {!proto.clarifai.api.
|
|
91041
|
+
* @param {!proto.clarifai.api.PatchDeploymentsRequest} msg The message object to deserialize into.
|
|
89829
91042
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
89830
|
-
* @return {!proto.clarifai.api.
|
|
91043
|
+
* @return {!proto.clarifai.api.PatchDeploymentsRequest}
|
|
89831
91044
|
*/
|
|
89832
|
-
proto.clarifai.api.
|
|
91045
|
+
proto.clarifai.api.PatchDeploymentsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
89833
91046
|
while (reader.nextField()) {
|
|
89834
91047
|
if (reader.isEndGroup()) {
|
|
89835
91048
|
break;
|
|
@@ -89841,13 +91054,14 @@ proto.clarifai.api.DeleteNodepoolsRequest.deserializeBinaryFromReader = function
|
|
|
89841
91054
|
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
89842
91055
|
msg.setUserAppId(value);
|
|
89843
91056
|
break;
|
|
89844
|
-
case 2:
|
|
89845
|
-
var value = /** @type {string} */ (reader.readString());
|
|
89846
|
-
msg.setComputeClusterId(value);
|
|
89847
|
-
break;
|
|
89848
91057
|
case 3:
|
|
91058
|
+
var value = new proto_clarifai_api_resources_pb.Deployment;
|
|
91059
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.Deployment.deserializeBinaryFromReader);
|
|
91060
|
+
msg.addDeployments(value);
|
|
91061
|
+
break;
|
|
91062
|
+
case 4:
|
|
89849
91063
|
var value = /** @type {string} */ (reader.readString());
|
|
89850
|
-
msg.
|
|
91064
|
+
msg.setAction(value);
|
|
89851
91065
|
break;
|
|
89852
91066
|
default:
|
|
89853
91067
|
reader.skipField();
|
|
@@ -89862,9 +91076,9 @@ proto.clarifai.api.DeleteNodepoolsRequest.deserializeBinaryFromReader = function
|
|
|
89862
91076
|
* Serializes the message to binary data (in protobuf wire format).
|
|
89863
91077
|
* @return {!Uint8Array}
|
|
89864
91078
|
*/
|
|
89865
|
-
proto.clarifai.api.
|
|
91079
|
+
proto.clarifai.api.PatchDeploymentsRequest.prototype.serializeBinary = function() {
|
|
89866
91080
|
var writer = new jspb.BinaryWriter();
|
|
89867
|
-
proto.clarifai.api.
|
|
91081
|
+
proto.clarifai.api.PatchDeploymentsRequest.serializeBinaryToWriter(this, writer);
|
|
89868
91082
|
return writer.getResultBuffer();
|
|
89869
91083
|
};
|
|
89870
91084
|
|
|
@@ -89872,11 +91086,11 @@ proto.clarifai.api.DeleteNodepoolsRequest.prototype.serializeBinary = function()
|
|
|
89872
91086
|
/**
|
|
89873
91087
|
* Serializes the given message to binary data (in protobuf wire
|
|
89874
91088
|
* format), writing to the given BinaryWriter.
|
|
89875
|
-
* @param {!proto.clarifai.api.
|
|
91089
|
+
* @param {!proto.clarifai.api.PatchDeploymentsRequest} message
|
|
89876
91090
|
* @param {!jspb.BinaryWriter} writer
|
|
89877
91091
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
89878
91092
|
*/
|
|
89879
|
-
proto.clarifai.api.
|
|
91093
|
+
proto.clarifai.api.PatchDeploymentsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
89880
91094
|
var f = undefined;
|
|
89881
91095
|
f = message.getUserAppId();
|
|
89882
91096
|
if (f != null) {
|
|
@@ -89886,17 +91100,18 @@ proto.clarifai.api.DeleteNodepoolsRequest.serializeBinaryToWriter = function(mes
|
|
|
89886
91100
|
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
89887
91101
|
);
|
|
89888
91102
|
}
|
|
89889
|
-
f = message.
|
|
91103
|
+
f = message.getDeploymentsList();
|
|
89890
91104
|
if (f.length > 0) {
|
|
89891
|
-
writer.
|
|
89892
|
-
|
|
89893
|
-
f
|
|
91105
|
+
writer.writeRepeatedMessage(
|
|
91106
|
+
3,
|
|
91107
|
+
f,
|
|
91108
|
+
proto_clarifai_api_resources_pb.Deployment.serializeBinaryToWriter
|
|
89894
91109
|
);
|
|
89895
91110
|
}
|
|
89896
|
-
f = message.
|
|
91111
|
+
f = message.getAction();
|
|
89897
91112
|
if (f.length > 0) {
|
|
89898
|
-
writer.
|
|
89899
|
-
|
|
91113
|
+
writer.writeString(
|
|
91114
|
+
4,
|
|
89900
91115
|
f
|
|
89901
91116
|
);
|
|
89902
91117
|
}
|
|
@@ -89907,7 +91122,7 @@ proto.clarifai.api.DeleteNodepoolsRequest.serializeBinaryToWriter = function(mes
|
|
|
89907
91122
|
* optional UserAppIDSet user_app_id = 1;
|
|
89908
91123
|
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
89909
91124
|
*/
|
|
89910
|
-
proto.clarifai.api.
|
|
91125
|
+
proto.clarifai.api.PatchDeploymentsRequest.prototype.getUserAppId = function() {
|
|
89911
91126
|
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
89912
91127
|
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
89913
91128
|
};
|
|
@@ -89915,18 +91130,18 @@ proto.clarifai.api.DeleteNodepoolsRequest.prototype.getUserAppId = function() {
|
|
|
89915
91130
|
|
|
89916
91131
|
/**
|
|
89917
91132
|
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
89918
|
-
* @return {!proto.clarifai.api.
|
|
91133
|
+
* @return {!proto.clarifai.api.PatchDeploymentsRequest} returns this
|
|
89919
91134
|
*/
|
|
89920
|
-
proto.clarifai.api.
|
|
91135
|
+
proto.clarifai.api.PatchDeploymentsRequest.prototype.setUserAppId = function(value) {
|
|
89921
91136
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
89922
91137
|
};
|
|
89923
91138
|
|
|
89924
91139
|
|
|
89925
91140
|
/**
|
|
89926
91141
|
* Clears the message field making it undefined.
|
|
89927
|
-
* @return {!proto.clarifai.api.
|
|
91142
|
+
* @return {!proto.clarifai.api.PatchDeploymentsRequest} returns this
|
|
89928
91143
|
*/
|
|
89929
|
-
proto.clarifai.api.
|
|
91144
|
+
proto.clarifai.api.PatchDeploymentsRequest.prototype.clearUserAppId = function() {
|
|
89930
91145
|
return this.setUserAppId(undefined);
|
|
89931
91146
|
};
|
|
89932
91147
|
|
|
@@ -89935,63 +91150,64 @@ proto.clarifai.api.DeleteNodepoolsRequest.prototype.clearUserAppId = function()
|
|
|
89935
91150
|
* Returns whether this field is set.
|
|
89936
91151
|
* @return {boolean}
|
|
89937
91152
|
*/
|
|
89938
|
-
proto.clarifai.api.
|
|
91153
|
+
proto.clarifai.api.PatchDeploymentsRequest.prototype.hasUserAppId = function() {
|
|
89939
91154
|
return jspb.Message.getField(this, 1) != null;
|
|
89940
91155
|
};
|
|
89941
91156
|
|
|
89942
91157
|
|
|
89943
91158
|
/**
|
|
89944
|
-
*
|
|
89945
|
-
* @return {
|
|
91159
|
+
* repeated Deployment deployments = 3;
|
|
91160
|
+
* @return {!Array<!proto.clarifai.api.Deployment>}
|
|
89946
91161
|
*/
|
|
89947
|
-
proto.clarifai.api.
|
|
89948
|
-
return /** @type
|
|
91162
|
+
proto.clarifai.api.PatchDeploymentsRequest.prototype.getDeploymentsList = function() {
|
|
91163
|
+
return /** @type{!Array<!proto.clarifai.api.Deployment>} */ (
|
|
91164
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Deployment, 3));
|
|
89949
91165
|
};
|
|
89950
91166
|
|
|
89951
91167
|
|
|
89952
91168
|
/**
|
|
89953
|
-
* @param {
|
|
89954
|
-
* @return {!proto.clarifai.api.
|
|
89955
|
-
|
|
89956
|
-
proto.clarifai.api.
|
|
89957
|
-
return jspb.Message.
|
|
91169
|
+
* @param {!Array<!proto.clarifai.api.Deployment>} value
|
|
91170
|
+
* @return {!proto.clarifai.api.PatchDeploymentsRequest} returns this
|
|
91171
|
+
*/
|
|
91172
|
+
proto.clarifai.api.PatchDeploymentsRequest.prototype.setDeploymentsList = function(value) {
|
|
91173
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
89958
91174
|
};
|
|
89959
91175
|
|
|
89960
91176
|
|
|
89961
91177
|
/**
|
|
89962
|
-
*
|
|
89963
|
-
* @
|
|
91178
|
+
* @param {!proto.clarifai.api.Deployment=} opt_value
|
|
91179
|
+
* @param {number=} opt_index
|
|
91180
|
+
* @return {!proto.clarifai.api.Deployment}
|
|
89964
91181
|
*/
|
|
89965
|
-
proto.clarifai.api.
|
|
89966
|
-
return
|
|
91182
|
+
proto.clarifai.api.PatchDeploymentsRequest.prototype.addDeployments = function(opt_value, opt_index) {
|
|
91183
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.Deployment, opt_index);
|
|
89967
91184
|
};
|
|
89968
91185
|
|
|
89969
91186
|
|
|
89970
91187
|
/**
|
|
89971
|
-
*
|
|
89972
|
-
* @return {!proto.clarifai.api.
|
|
91188
|
+
* Clears the list making it empty but non-null.
|
|
91189
|
+
* @return {!proto.clarifai.api.PatchDeploymentsRequest} returns this
|
|
89973
91190
|
*/
|
|
89974
|
-
proto.clarifai.api.
|
|
89975
|
-
return
|
|
91191
|
+
proto.clarifai.api.PatchDeploymentsRequest.prototype.clearDeploymentsList = function() {
|
|
91192
|
+
return this.setDeploymentsList([]);
|
|
89976
91193
|
};
|
|
89977
91194
|
|
|
89978
91195
|
|
|
89979
91196
|
/**
|
|
89980
|
-
*
|
|
89981
|
-
* @
|
|
89982
|
-
* @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
|
|
91197
|
+
* optional string action = 4;
|
|
91198
|
+
* @return {string}
|
|
89983
91199
|
*/
|
|
89984
|
-
proto.clarifai.api.
|
|
89985
|
-
return jspb.Message.
|
|
91200
|
+
proto.clarifai.api.PatchDeploymentsRequest.prototype.getAction = function() {
|
|
91201
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
89986
91202
|
};
|
|
89987
91203
|
|
|
89988
91204
|
|
|
89989
91205
|
/**
|
|
89990
|
-
*
|
|
89991
|
-
* @return {!proto.clarifai.api.
|
|
91206
|
+
* @param {string} value
|
|
91207
|
+
* @return {!proto.clarifai.api.PatchDeploymentsRequest} returns this
|
|
89992
91208
|
*/
|
|
89993
|
-
proto.clarifai.api.
|
|
89994
|
-
return
|
|
91209
|
+
proto.clarifai.api.PatchDeploymentsRequest.prototype.setAction = function(value) {
|
|
91210
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
89995
91211
|
};
|
|
89996
91212
|
|
|
89997
91213
|
|
|
@@ -90011,8 +91227,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
90011
91227
|
* http://goto/soy-param-migration
|
|
90012
91228
|
* @return {!Object}
|
|
90013
91229
|
*/
|
|
90014
|
-
proto.clarifai.api.
|
|
90015
|
-
return proto.clarifai.api.
|
|
91230
|
+
proto.clarifai.api.SingleDeploymentResponse.prototype.toObject = function(opt_includeInstance) {
|
|
91231
|
+
return proto.clarifai.api.SingleDeploymentResponse.toObject(opt_includeInstance, this);
|
|
90016
91232
|
};
|
|
90017
91233
|
|
|
90018
91234
|
|
|
@@ -90021,14 +91237,14 @@ proto.clarifai.api.SingleNodepoolResponse.prototype.toObject = function(opt_incl
|
|
|
90021
91237
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
90022
91238
|
* the JSPB instance for transitional soy proto support:
|
|
90023
91239
|
* http://goto/soy-param-migration
|
|
90024
|
-
* @param {!proto.clarifai.api.
|
|
91240
|
+
* @param {!proto.clarifai.api.SingleDeploymentResponse} msg The msg instance to transform.
|
|
90025
91241
|
* @return {!Object}
|
|
90026
91242
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
90027
91243
|
*/
|
|
90028
|
-
proto.clarifai.api.
|
|
91244
|
+
proto.clarifai.api.SingleDeploymentResponse.toObject = function(includeInstance, msg) {
|
|
90029
91245
|
var f, obj = {
|
|
90030
91246
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
90031
|
-
|
|
91247
|
+
deployment: (f = msg.getDeployment()) && proto_clarifai_api_resources_pb.Deployment.toObject(includeInstance, f)
|
|
90032
91248
|
};
|
|
90033
91249
|
|
|
90034
91250
|
if (includeInstance) {
|
|
@@ -90042,23 +91258,23 @@ proto.clarifai.api.SingleNodepoolResponse.toObject = function(includeInstance, m
|
|
|
90042
91258
|
/**
|
|
90043
91259
|
* Deserializes binary data (in protobuf wire format).
|
|
90044
91260
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
90045
|
-
* @return {!proto.clarifai.api.
|
|
91261
|
+
* @return {!proto.clarifai.api.SingleDeploymentResponse}
|
|
90046
91262
|
*/
|
|
90047
|
-
proto.clarifai.api.
|
|
91263
|
+
proto.clarifai.api.SingleDeploymentResponse.deserializeBinary = function(bytes) {
|
|
90048
91264
|
var reader = new jspb.BinaryReader(bytes);
|
|
90049
|
-
var msg = new proto.clarifai.api.
|
|
90050
|
-
return proto.clarifai.api.
|
|
91265
|
+
var msg = new proto.clarifai.api.SingleDeploymentResponse;
|
|
91266
|
+
return proto.clarifai.api.SingleDeploymentResponse.deserializeBinaryFromReader(msg, reader);
|
|
90051
91267
|
};
|
|
90052
91268
|
|
|
90053
91269
|
|
|
90054
91270
|
/**
|
|
90055
91271
|
* Deserializes binary data (in protobuf wire format) from the
|
|
90056
91272
|
* given reader into the given message object.
|
|
90057
|
-
* @param {!proto.clarifai.api.
|
|
91273
|
+
* @param {!proto.clarifai.api.SingleDeploymentResponse} msg The message object to deserialize into.
|
|
90058
91274
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
90059
|
-
* @return {!proto.clarifai.api.
|
|
91275
|
+
* @return {!proto.clarifai.api.SingleDeploymentResponse}
|
|
90060
91276
|
*/
|
|
90061
|
-
proto.clarifai.api.
|
|
91277
|
+
proto.clarifai.api.SingleDeploymentResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
90062
91278
|
while (reader.nextField()) {
|
|
90063
91279
|
if (reader.isEndGroup()) {
|
|
90064
91280
|
break;
|
|
@@ -90071,9 +91287,9 @@ proto.clarifai.api.SingleNodepoolResponse.deserializeBinaryFromReader = function
|
|
|
90071
91287
|
msg.setStatus(value);
|
|
90072
91288
|
break;
|
|
90073
91289
|
case 2:
|
|
90074
|
-
var value = new proto_clarifai_api_resources_pb.
|
|
90075
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.
|
|
90076
|
-
msg.
|
|
91290
|
+
var value = new proto_clarifai_api_resources_pb.Deployment;
|
|
91291
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.Deployment.deserializeBinaryFromReader);
|
|
91292
|
+
msg.setDeployment(value);
|
|
90077
91293
|
break;
|
|
90078
91294
|
default:
|
|
90079
91295
|
reader.skipField();
|
|
@@ -90088,9 +91304,9 @@ proto.clarifai.api.SingleNodepoolResponse.deserializeBinaryFromReader = function
|
|
|
90088
91304
|
* Serializes the message to binary data (in protobuf wire format).
|
|
90089
91305
|
* @return {!Uint8Array}
|
|
90090
91306
|
*/
|
|
90091
|
-
proto.clarifai.api.
|
|
91307
|
+
proto.clarifai.api.SingleDeploymentResponse.prototype.serializeBinary = function() {
|
|
90092
91308
|
var writer = new jspb.BinaryWriter();
|
|
90093
|
-
proto.clarifai.api.
|
|
91309
|
+
proto.clarifai.api.SingleDeploymentResponse.serializeBinaryToWriter(this, writer);
|
|
90094
91310
|
return writer.getResultBuffer();
|
|
90095
91311
|
};
|
|
90096
91312
|
|
|
@@ -90098,11 +91314,11 @@ proto.clarifai.api.SingleNodepoolResponse.prototype.serializeBinary = function()
|
|
|
90098
91314
|
/**
|
|
90099
91315
|
* Serializes the given message to binary data (in protobuf wire
|
|
90100
91316
|
* format), writing to the given BinaryWriter.
|
|
90101
|
-
* @param {!proto.clarifai.api.
|
|
91317
|
+
* @param {!proto.clarifai.api.SingleDeploymentResponse} message
|
|
90102
91318
|
* @param {!jspb.BinaryWriter} writer
|
|
90103
91319
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
90104
91320
|
*/
|
|
90105
|
-
proto.clarifai.api.
|
|
91321
|
+
proto.clarifai.api.SingleDeploymentResponse.serializeBinaryToWriter = function(message, writer) {
|
|
90106
91322
|
var f = undefined;
|
|
90107
91323
|
f = message.getStatus();
|
|
90108
91324
|
if (f != null) {
|
|
@@ -90112,12 +91328,12 @@ proto.clarifai.api.SingleNodepoolResponse.serializeBinaryToWriter = function(mes
|
|
|
90112
91328
|
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
90113
91329
|
);
|
|
90114
91330
|
}
|
|
90115
|
-
f = message.
|
|
91331
|
+
f = message.getDeployment();
|
|
90116
91332
|
if (f != null) {
|
|
90117
91333
|
writer.writeMessage(
|
|
90118
91334
|
2,
|
|
90119
91335
|
f,
|
|
90120
|
-
proto_clarifai_api_resources_pb.
|
|
91336
|
+
proto_clarifai_api_resources_pb.Deployment.serializeBinaryToWriter
|
|
90121
91337
|
);
|
|
90122
91338
|
}
|
|
90123
91339
|
};
|
|
@@ -90127,7 +91343,7 @@ proto.clarifai.api.SingleNodepoolResponse.serializeBinaryToWriter = function(mes
|
|
|
90127
91343
|
* optional status.Status status = 1;
|
|
90128
91344
|
* @return {?proto.clarifai.api.status.Status}
|
|
90129
91345
|
*/
|
|
90130
|
-
proto.clarifai.api.
|
|
91346
|
+
proto.clarifai.api.SingleDeploymentResponse.prototype.getStatus = function() {
|
|
90131
91347
|
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
90132
91348
|
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
90133
91349
|
};
|
|
@@ -90135,18 +91351,18 @@ proto.clarifai.api.SingleNodepoolResponse.prototype.getStatus = function() {
|
|
|
90135
91351
|
|
|
90136
91352
|
/**
|
|
90137
91353
|
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
90138
|
-
* @return {!proto.clarifai.api.
|
|
91354
|
+
* @return {!proto.clarifai.api.SingleDeploymentResponse} returns this
|
|
90139
91355
|
*/
|
|
90140
|
-
proto.clarifai.api.
|
|
91356
|
+
proto.clarifai.api.SingleDeploymentResponse.prototype.setStatus = function(value) {
|
|
90141
91357
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
90142
91358
|
};
|
|
90143
91359
|
|
|
90144
91360
|
|
|
90145
91361
|
/**
|
|
90146
91362
|
* Clears the message field making it undefined.
|
|
90147
|
-
* @return {!proto.clarifai.api.
|
|
91363
|
+
* @return {!proto.clarifai.api.SingleDeploymentResponse} returns this
|
|
90148
91364
|
*/
|
|
90149
|
-
proto.clarifai.api.
|
|
91365
|
+
proto.clarifai.api.SingleDeploymentResponse.prototype.clearStatus = function() {
|
|
90150
91366
|
return this.setStatus(undefined);
|
|
90151
91367
|
};
|
|
90152
91368
|
|
|
@@ -90155,36 +91371,36 @@ proto.clarifai.api.SingleNodepoolResponse.prototype.clearStatus = function() {
|
|
|
90155
91371
|
* Returns whether this field is set.
|
|
90156
91372
|
* @return {boolean}
|
|
90157
91373
|
*/
|
|
90158
|
-
proto.clarifai.api.
|
|
91374
|
+
proto.clarifai.api.SingleDeploymentResponse.prototype.hasStatus = function() {
|
|
90159
91375
|
return jspb.Message.getField(this, 1) != null;
|
|
90160
91376
|
};
|
|
90161
91377
|
|
|
90162
91378
|
|
|
90163
91379
|
/**
|
|
90164
|
-
* optional
|
|
90165
|
-
* @return {?proto.clarifai.api.
|
|
91380
|
+
* optional Deployment deployment = 2;
|
|
91381
|
+
* @return {?proto.clarifai.api.Deployment}
|
|
90166
91382
|
*/
|
|
90167
|
-
proto.clarifai.api.
|
|
90168
|
-
return /** @type{?proto.clarifai.api.
|
|
90169
|
-
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.
|
|
91383
|
+
proto.clarifai.api.SingleDeploymentResponse.prototype.getDeployment = function() {
|
|
91384
|
+
return /** @type{?proto.clarifai.api.Deployment} */ (
|
|
91385
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Deployment, 2));
|
|
90170
91386
|
};
|
|
90171
91387
|
|
|
90172
91388
|
|
|
90173
91389
|
/**
|
|
90174
|
-
* @param {?proto.clarifai.api.
|
|
90175
|
-
* @return {!proto.clarifai.api.
|
|
91390
|
+
* @param {?proto.clarifai.api.Deployment|undefined} value
|
|
91391
|
+
* @return {!proto.clarifai.api.SingleDeploymentResponse} returns this
|
|
90176
91392
|
*/
|
|
90177
|
-
proto.clarifai.api.
|
|
91393
|
+
proto.clarifai.api.SingleDeploymentResponse.prototype.setDeployment = function(value) {
|
|
90178
91394
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
90179
91395
|
};
|
|
90180
91396
|
|
|
90181
91397
|
|
|
90182
91398
|
/**
|
|
90183
91399
|
* Clears the message field making it undefined.
|
|
90184
|
-
* @return {!proto.clarifai.api.
|
|
91400
|
+
* @return {!proto.clarifai.api.SingleDeploymentResponse} returns this
|
|
90185
91401
|
*/
|
|
90186
|
-
proto.clarifai.api.
|
|
90187
|
-
return this.
|
|
91402
|
+
proto.clarifai.api.SingleDeploymentResponse.prototype.clearDeployment = function() {
|
|
91403
|
+
return this.setDeployment(undefined);
|
|
90188
91404
|
};
|
|
90189
91405
|
|
|
90190
91406
|
|
|
@@ -90192,7 +91408,7 @@ proto.clarifai.api.SingleNodepoolResponse.prototype.clearNodepool = function() {
|
|
|
90192
91408
|
* Returns whether this field is set.
|
|
90193
91409
|
* @return {boolean}
|
|
90194
91410
|
*/
|
|
90195
|
-
proto.clarifai.api.
|
|
91411
|
+
proto.clarifai.api.SingleDeploymentResponse.prototype.hasDeployment = function() {
|
|
90196
91412
|
return jspb.Message.getField(this, 2) != null;
|
|
90197
91413
|
};
|
|
90198
91414
|
|
|
@@ -90203,7 +91419,7 @@ proto.clarifai.api.SingleNodepoolResponse.prototype.hasNodepool = function() {
|
|
|
90203
91419
|
* @private {!Array<number>}
|
|
90204
91420
|
* @const
|
|
90205
91421
|
*/
|
|
90206
|
-
proto.clarifai.api.
|
|
91422
|
+
proto.clarifai.api.MultiDeploymentResponse.repeatedFields_ = [2];
|
|
90207
91423
|
|
|
90208
91424
|
|
|
90209
91425
|
|
|
@@ -90220,8 +91436,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
90220
91436
|
* http://goto/soy-param-migration
|
|
90221
91437
|
* @return {!Object}
|
|
90222
91438
|
*/
|
|
90223
|
-
proto.clarifai.api.
|
|
90224
|
-
return proto.clarifai.api.
|
|
91439
|
+
proto.clarifai.api.MultiDeploymentResponse.prototype.toObject = function(opt_includeInstance) {
|
|
91440
|
+
return proto.clarifai.api.MultiDeploymentResponse.toObject(opt_includeInstance, this);
|
|
90225
91441
|
};
|
|
90226
91442
|
|
|
90227
91443
|
|
|
@@ -90230,15 +91446,15 @@ proto.clarifai.api.MultiNodepoolResponse.prototype.toObject = function(opt_inclu
|
|
|
90230
91446
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
90231
91447
|
* the JSPB instance for transitional soy proto support:
|
|
90232
91448
|
* http://goto/soy-param-migration
|
|
90233
|
-
* @param {!proto.clarifai.api.
|
|
91449
|
+
* @param {!proto.clarifai.api.MultiDeploymentResponse} msg The msg instance to transform.
|
|
90234
91450
|
* @return {!Object}
|
|
90235
91451
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
90236
91452
|
*/
|
|
90237
|
-
proto.clarifai.api.
|
|
91453
|
+
proto.clarifai.api.MultiDeploymentResponse.toObject = function(includeInstance, msg) {
|
|
90238
91454
|
var f, obj = {
|
|
90239
91455
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
90240
|
-
|
|
90241
|
-
proto_clarifai_api_resources_pb.
|
|
91456
|
+
deploymentsList: jspb.Message.toObjectList(msg.getDeploymentsList(),
|
|
91457
|
+
proto_clarifai_api_resources_pb.Deployment.toObject, includeInstance)
|
|
90242
91458
|
};
|
|
90243
91459
|
|
|
90244
91460
|
if (includeInstance) {
|
|
@@ -90252,23 +91468,23 @@ proto.clarifai.api.MultiNodepoolResponse.toObject = function(includeInstance, ms
|
|
|
90252
91468
|
/**
|
|
90253
91469
|
* Deserializes binary data (in protobuf wire format).
|
|
90254
91470
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
90255
|
-
* @return {!proto.clarifai.api.
|
|
91471
|
+
* @return {!proto.clarifai.api.MultiDeploymentResponse}
|
|
90256
91472
|
*/
|
|
90257
|
-
proto.clarifai.api.
|
|
91473
|
+
proto.clarifai.api.MultiDeploymentResponse.deserializeBinary = function(bytes) {
|
|
90258
91474
|
var reader = new jspb.BinaryReader(bytes);
|
|
90259
|
-
var msg = new proto.clarifai.api.
|
|
90260
|
-
return proto.clarifai.api.
|
|
91475
|
+
var msg = new proto.clarifai.api.MultiDeploymentResponse;
|
|
91476
|
+
return proto.clarifai.api.MultiDeploymentResponse.deserializeBinaryFromReader(msg, reader);
|
|
90261
91477
|
};
|
|
90262
91478
|
|
|
90263
91479
|
|
|
90264
91480
|
/**
|
|
90265
91481
|
* Deserializes binary data (in protobuf wire format) from the
|
|
90266
91482
|
* given reader into the given message object.
|
|
90267
|
-
* @param {!proto.clarifai.api.
|
|
91483
|
+
* @param {!proto.clarifai.api.MultiDeploymentResponse} msg The message object to deserialize into.
|
|
90268
91484
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
90269
|
-
* @return {!proto.clarifai.api.
|
|
91485
|
+
* @return {!proto.clarifai.api.MultiDeploymentResponse}
|
|
90270
91486
|
*/
|
|
90271
|
-
proto.clarifai.api.
|
|
91487
|
+
proto.clarifai.api.MultiDeploymentResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
90272
91488
|
while (reader.nextField()) {
|
|
90273
91489
|
if (reader.isEndGroup()) {
|
|
90274
91490
|
break;
|
|
@@ -90281,9 +91497,9 @@ proto.clarifai.api.MultiNodepoolResponse.deserializeBinaryFromReader = function(
|
|
|
90281
91497
|
msg.setStatus(value);
|
|
90282
91498
|
break;
|
|
90283
91499
|
case 2:
|
|
90284
|
-
var value = new proto_clarifai_api_resources_pb.
|
|
90285
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.
|
|
90286
|
-
msg.
|
|
91500
|
+
var value = new proto_clarifai_api_resources_pb.Deployment;
|
|
91501
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.Deployment.deserializeBinaryFromReader);
|
|
91502
|
+
msg.addDeployments(value);
|
|
90287
91503
|
break;
|
|
90288
91504
|
default:
|
|
90289
91505
|
reader.skipField();
|
|
@@ -90298,9 +91514,9 @@ proto.clarifai.api.MultiNodepoolResponse.deserializeBinaryFromReader = function(
|
|
|
90298
91514
|
* Serializes the message to binary data (in protobuf wire format).
|
|
90299
91515
|
* @return {!Uint8Array}
|
|
90300
91516
|
*/
|
|
90301
|
-
proto.clarifai.api.
|
|
91517
|
+
proto.clarifai.api.MultiDeploymentResponse.prototype.serializeBinary = function() {
|
|
90302
91518
|
var writer = new jspb.BinaryWriter();
|
|
90303
|
-
proto.clarifai.api.
|
|
91519
|
+
proto.clarifai.api.MultiDeploymentResponse.serializeBinaryToWriter(this, writer);
|
|
90304
91520
|
return writer.getResultBuffer();
|
|
90305
91521
|
};
|
|
90306
91522
|
|
|
@@ -90308,11 +91524,11 @@ proto.clarifai.api.MultiNodepoolResponse.prototype.serializeBinary = function()
|
|
|
90308
91524
|
/**
|
|
90309
91525
|
* Serializes the given message to binary data (in protobuf wire
|
|
90310
91526
|
* format), writing to the given BinaryWriter.
|
|
90311
|
-
* @param {!proto.clarifai.api.
|
|
91527
|
+
* @param {!proto.clarifai.api.MultiDeploymentResponse} message
|
|
90312
91528
|
* @param {!jspb.BinaryWriter} writer
|
|
90313
91529
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
90314
91530
|
*/
|
|
90315
|
-
proto.clarifai.api.
|
|
91531
|
+
proto.clarifai.api.MultiDeploymentResponse.serializeBinaryToWriter = function(message, writer) {
|
|
90316
91532
|
var f = undefined;
|
|
90317
91533
|
f = message.getStatus();
|
|
90318
91534
|
if (f != null) {
|
|
@@ -90322,12 +91538,12 @@ proto.clarifai.api.MultiNodepoolResponse.serializeBinaryToWriter = function(mess
|
|
|
90322
91538
|
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
90323
91539
|
);
|
|
90324
91540
|
}
|
|
90325
|
-
f = message.
|
|
91541
|
+
f = message.getDeploymentsList();
|
|
90326
91542
|
if (f.length > 0) {
|
|
90327
91543
|
writer.writeRepeatedMessage(
|
|
90328
91544
|
2,
|
|
90329
91545
|
f,
|
|
90330
|
-
proto_clarifai_api_resources_pb.
|
|
91546
|
+
proto_clarifai_api_resources_pb.Deployment.serializeBinaryToWriter
|
|
90331
91547
|
);
|
|
90332
91548
|
}
|
|
90333
91549
|
};
|
|
@@ -90337,7 +91553,7 @@ proto.clarifai.api.MultiNodepoolResponse.serializeBinaryToWriter = function(mess
|
|
|
90337
91553
|
* optional status.Status status = 1;
|
|
90338
91554
|
* @return {?proto.clarifai.api.status.Status}
|
|
90339
91555
|
*/
|
|
90340
|
-
proto.clarifai.api.
|
|
91556
|
+
proto.clarifai.api.MultiDeploymentResponse.prototype.getStatus = function() {
|
|
90341
91557
|
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
90342
91558
|
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
90343
91559
|
};
|
|
@@ -90345,18 +91561,18 @@ proto.clarifai.api.MultiNodepoolResponse.prototype.getStatus = function() {
|
|
|
90345
91561
|
|
|
90346
91562
|
/**
|
|
90347
91563
|
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
90348
|
-
* @return {!proto.clarifai.api.
|
|
91564
|
+
* @return {!proto.clarifai.api.MultiDeploymentResponse} returns this
|
|
90349
91565
|
*/
|
|
90350
|
-
proto.clarifai.api.
|
|
91566
|
+
proto.clarifai.api.MultiDeploymentResponse.prototype.setStatus = function(value) {
|
|
90351
91567
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
90352
91568
|
};
|
|
90353
91569
|
|
|
90354
91570
|
|
|
90355
91571
|
/**
|
|
90356
91572
|
* Clears the message field making it undefined.
|
|
90357
|
-
* @return {!proto.clarifai.api.
|
|
91573
|
+
* @return {!proto.clarifai.api.MultiDeploymentResponse} returns this
|
|
90358
91574
|
*/
|
|
90359
|
-
proto.clarifai.api.
|
|
91575
|
+
proto.clarifai.api.MultiDeploymentResponse.prototype.clearStatus = function() {
|
|
90360
91576
|
return this.setStatus(undefined);
|
|
90361
91577
|
};
|
|
90362
91578
|
|
|
@@ -90365,46 +91581,46 @@ proto.clarifai.api.MultiNodepoolResponse.prototype.clearStatus = function() {
|
|
|
90365
91581
|
* Returns whether this field is set.
|
|
90366
91582
|
* @return {boolean}
|
|
90367
91583
|
*/
|
|
90368
|
-
proto.clarifai.api.
|
|
91584
|
+
proto.clarifai.api.MultiDeploymentResponse.prototype.hasStatus = function() {
|
|
90369
91585
|
return jspb.Message.getField(this, 1) != null;
|
|
90370
91586
|
};
|
|
90371
91587
|
|
|
90372
91588
|
|
|
90373
91589
|
/**
|
|
90374
|
-
* repeated
|
|
90375
|
-
* @return {!Array<!proto.clarifai.api.
|
|
91590
|
+
* repeated Deployment deployments = 2;
|
|
91591
|
+
* @return {!Array<!proto.clarifai.api.Deployment>}
|
|
90376
91592
|
*/
|
|
90377
|
-
proto.clarifai.api.
|
|
90378
|
-
return /** @type{!Array<!proto.clarifai.api.
|
|
90379
|
-
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.
|
|
91593
|
+
proto.clarifai.api.MultiDeploymentResponse.prototype.getDeploymentsList = function() {
|
|
91594
|
+
return /** @type{!Array<!proto.clarifai.api.Deployment>} */ (
|
|
91595
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Deployment, 2));
|
|
90380
91596
|
};
|
|
90381
91597
|
|
|
90382
91598
|
|
|
90383
91599
|
/**
|
|
90384
|
-
* @param {!Array<!proto.clarifai.api.
|
|
90385
|
-
* @return {!proto.clarifai.api.
|
|
91600
|
+
* @param {!Array<!proto.clarifai.api.Deployment>} value
|
|
91601
|
+
* @return {!proto.clarifai.api.MultiDeploymentResponse} returns this
|
|
90386
91602
|
*/
|
|
90387
|
-
proto.clarifai.api.
|
|
91603
|
+
proto.clarifai.api.MultiDeploymentResponse.prototype.setDeploymentsList = function(value) {
|
|
90388
91604
|
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
90389
91605
|
};
|
|
90390
91606
|
|
|
90391
91607
|
|
|
90392
91608
|
/**
|
|
90393
|
-
* @param {!proto.clarifai.api.
|
|
91609
|
+
* @param {!proto.clarifai.api.Deployment=} opt_value
|
|
90394
91610
|
* @param {number=} opt_index
|
|
90395
|
-
* @return {!proto.clarifai.api.
|
|
91611
|
+
* @return {!proto.clarifai.api.Deployment}
|
|
90396
91612
|
*/
|
|
90397
|
-
proto.clarifai.api.
|
|
90398
|
-
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.
|
|
91613
|
+
proto.clarifai.api.MultiDeploymentResponse.prototype.addDeployments = function(opt_value, opt_index) {
|
|
91614
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.Deployment, opt_index);
|
|
90399
91615
|
};
|
|
90400
91616
|
|
|
90401
91617
|
|
|
90402
91618
|
/**
|
|
90403
91619
|
* Clears the list making it empty but non-null.
|
|
90404
|
-
* @return {!proto.clarifai.api.
|
|
91620
|
+
* @return {!proto.clarifai.api.MultiDeploymentResponse} returns this
|
|
90405
91621
|
*/
|
|
90406
|
-
proto.clarifai.api.
|
|
90407
|
-
return this.
|
|
91622
|
+
proto.clarifai.api.MultiDeploymentResponse.prototype.clearDeploymentsList = function() {
|
|
91623
|
+
return this.setDeploymentsList([]);
|
|
90408
91624
|
};
|
|
90409
91625
|
|
|
90410
91626
|
|