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
|
@@ -56,6 +56,7 @@ goog.exportSymbol('proto.clarifai.api.DeleteConceptRelationsRequest', null, glob
|
|
|
56
56
|
goog.exportSymbol('proto.clarifai.api.DeleteDatasetInputsRequest', null, global);
|
|
57
57
|
goog.exportSymbol('proto.clarifai.api.DeleteDatasetVersionsRequest', null, global);
|
|
58
58
|
goog.exportSymbol('proto.clarifai.api.DeleteDatasetsRequest', null, global);
|
|
59
|
+
goog.exportSymbol('proto.clarifai.api.DeleteDeploymentsRequest', null, global);
|
|
59
60
|
goog.exportSymbol('proto.clarifai.api.DeleteInputRequest', null, global);
|
|
60
61
|
goog.exportSymbol('proto.clarifai.api.DeleteInputsRequest', null, global);
|
|
61
62
|
goog.exportSymbol('proto.clarifai.api.DeleteInstalledModuleVersionsRequest', null, global);
|
|
@@ -88,6 +89,7 @@ goog.exportSymbol('proto.clarifai.api.GetConceptRequest', null, global);
|
|
|
88
89
|
goog.exportSymbol('proto.clarifai.api.GetDatasetInputRequest', null, global);
|
|
89
90
|
goog.exportSymbol('proto.clarifai.api.GetDatasetRequest', null, global);
|
|
90
91
|
goog.exportSymbol('proto.clarifai.api.GetDatasetVersionRequest', null, global);
|
|
92
|
+
goog.exportSymbol('proto.clarifai.api.GetDeploymentRequest', null, global);
|
|
91
93
|
goog.exportSymbol('proto.clarifai.api.GetEvaluationRequest', null, global);
|
|
92
94
|
goog.exportSymbol('proto.clarifai.api.GetInputCountRequest', null, global);
|
|
93
95
|
goog.exportSymbol('proto.clarifai.api.GetInputRequest', null, global);
|
|
@@ -144,6 +146,7 @@ goog.exportSymbol('proto.clarifai.api.ListDatasetVersionMetricsGroupsRequest', n
|
|
|
144
146
|
goog.exportSymbol('proto.clarifai.api.ListDatasetVersionsRequest', null, global);
|
|
145
147
|
goog.exportSymbol('proto.clarifai.api.ListDatasetsRequest', null, global);
|
|
146
148
|
goog.exportSymbol('proto.clarifai.api.ListDatasetsRequest.SortByCase', null, global);
|
|
149
|
+
goog.exportSymbol('proto.clarifai.api.ListDeploymentsRequest', null, global);
|
|
147
150
|
goog.exportSymbol('proto.clarifai.api.ListEvaluationsRequest', null, global);
|
|
148
151
|
goog.exportSymbol('proto.clarifai.api.ListEvaluationsRequest.SortByCase', null, global);
|
|
149
152
|
goog.exportSymbol('proto.clarifai.api.ListInputsAddJobsRequest', null, global);
|
|
@@ -195,7 +198,6 @@ goog.exportSymbol('proto.clarifai.api.MultiCollectorResponse', null, global);
|
|
|
195
198
|
goog.exportSymbol('proto.clarifai.api.MultiComputeClusterResponse', null, global);
|
|
196
199
|
goog.exportSymbol('proto.clarifai.api.MultiConceptCountResponse', null, global);
|
|
197
200
|
goog.exportSymbol('proto.clarifai.api.MultiConceptLanguageResponse', null, global);
|
|
198
|
-
goog.exportSymbol('proto.clarifai.api.MultiConceptMappingJobResponse', null, global);
|
|
199
201
|
goog.exportSymbol('proto.clarifai.api.MultiConceptRelationResponse', null, global);
|
|
200
202
|
goog.exportSymbol('proto.clarifai.api.MultiConceptResponse', null, global);
|
|
201
203
|
goog.exportSymbol('proto.clarifai.api.MultiDatasetInputResponse', null, global);
|
|
@@ -203,6 +205,7 @@ goog.exportSymbol('proto.clarifai.api.MultiDatasetResponse', null, global);
|
|
|
203
205
|
goog.exportSymbol('proto.clarifai.api.MultiDatasetVersionExportResponse', null, global);
|
|
204
206
|
goog.exportSymbol('proto.clarifai.api.MultiDatasetVersionMetricsGroupResponse', null, global);
|
|
205
207
|
goog.exportSymbol('proto.clarifai.api.MultiDatasetVersionResponse', null, global);
|
|
208
|
+
goog.exportSymbol('proto.clarifai.api.MultiDeploymentResponse', null, global);
|
|
206
209
|
goog.exportSymbol('proto.clarifai.api.MultiEvalMetricsResponse', null, global);
|
|
207
210
|
goog.exportSymbol('proto.clarifai.api.MultiInputAnnotationResponse', null, global);
|
|
208
211
|
goog.exportSymbol('proto.clarifai.api.MultiInputResponse', null, global);
|
|
@@ -263,6 +266,7 @@ goog.exportSymbol('proto.clarifai.api.PatchConceptLanguagesRequest', null, globa
|
|
|
263
266
|
goog.exportSymbol('proto.clarifai.api.PatchConceptsRequest', null, global);
|
|
264
267
|
goog.exportSymbol('proto.clarifai.api.PatchDatasetVersionsRequest', null, global);
|
|
265
268
|
goog.exportSymbol('proto.clarifai.api.PatchDatasetsRequest', null, global);
|
|
269
|
+
goog.exportSymbol('proto.clarifai.api.PatchDeploymentsRequest', null, global);
|
|
266
270
|
goog.exportSymbol('proto.clarifai.api.PatchInputsRequest', null, global);
|
|
267
271
|
goog.exportSymbol('proto.clarifai.api.PatchInputsSearchesRequest', null, global);
|
|
268
272
|
goog.exportSymbol('proto.clarifai.api.PatchKeysRequest', null, global);
|
|
@@ -294,13 +298,13 @@ goog.exportSymbol('proto.clarifai.api.PostCollaboratorsRequest', null, global);
|
|
|
294
298
|
goog.exportSymbol('proto.clarifai.api.PostCollectorsRequest', null, global);
|
|
295
299
|
goog.exportSymbol('proto.clarifai.api.PostComputeClustersRequest', null, global);
|
|
296
300
|
goog.exportSymbol('proto.clarifai.api.PostConceptLanguagesRequest', null, global);
|
|
297
|
-
goog.exportSymbol('proto.clarifai.api.PostConceptMappingJobsRequest', null, global);
|
|
298
301
|
goog.exportSymbol('proto.clarifai.api.PostConceptRelationsRequest', null, global);
|
|
299
302
|
goog.exportSymbol('proto.clarifai.api.PostConceptsRequest', null, global);
|
|
300
303
|
goog.exportSymbol('proto.clarifai.api.PostConceptsSearchesRequest', null, global);
|
|
301
304
|
goog.exportSymbol('proto.clarifai.api.PostDatasetInputsRequest', null, global);
|
|
302
305
|
goog.exportSymbol('proto.clarifai.api.PostDatasetVersionsRequest', null, global);
|
|
303
306
|
goog.exportSymbol('proto.clarifai.api.PostDatasetsRequest', null, global);
|
|
307
|
+
goog.exportSymbol('proto.clarifai.api.PostDeploymentsRequest', null, global);
|
|
304
308
|
goog.exportSymbol('proto.clarifai.api.PostEvaluationsRequest', null, global);
|
|
305
309
|
goog.exportSymbol('proto.clarifai.api.PostInputsDataSourcesRequest', null, global);
|
|
306
310
|
goog.exportSymbol('proto.clarifai.api.PostInputsRequest', null, global);
|
|
@@ -369,6 +373,7 @@ goog.exportSymbol('proto.clarifai.api.SingleConceptResponse', null, global);
|
|
|
369
373
|
goog.exportSymbol('proto.clarifai.api.SingleDatasetInputResponse', null, global);
|
|
370
374
|
goog.exportSymbol('proto.clarifai.api.SingleDatasetResponse', null, global);
|
|
371
375
|
goog.exportSymbol('proto.clarifai.api.SingleDatasetVersionResponse', null, global);
|
|
376
|
+
goog.exportSymbol('proto.clarifai.api.SingleDeploymentResponse', null, global);
|
|
372
377
|
goog.exportSymbol('proto.clarifai.api.SingleEvalMetricsResponse', null, global);
|
|
373
378
|
goog.exportSymbol('proto.clarifai.api.SingleInputCountResponse', null, global);
|
|
374
379
|
goog.exportSymbol('proto.clarifai.api.SingleInputResponse', null, global);
|
|
@@ -1449,27 +1454,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1449
1454
|
*/
|
|
1450
1455
|
proto.clarifai.api.PostKnowledgeGraphsRequest.displayName = 'proto.clarifai.api.PostKnowledgeGraphsRequest';
|
|
1451
1456
|
}
|
|
1452
|
-
/**
|
|
1453
|
-
* Generated by JsPbCodeGenerator.
|
|
1454
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1455
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
1456
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
1457
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
1458
|
-
* valid.
|
|
1459
|
-
* @extends {jspb.Message}
|
|
1460
|
-
* @constructor
|
|
1461
|
-
*/
|
|
1462
|
-
proto.clarifai.api.PostConceptMappingJobsRequest = function (opt_data) {
|
|
1463
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PostConceptMappingJobsRequest.repeatedFields_, null);
|
|
1464
|
-
};
|
|
1465
|
-
goog.inherits(proto.clarifai.api.PostConceptMappingJobsRequest, jspb.Message);
|
|
1466
|
-
if (goog.DEBUG && !COMPILED) {
|
|
1467
|
-
/**
|
|
1468
|
-
* @public
|
|
1469
|
-
* @override
|
|
1470
|
-
*/
|
|
1471
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.displayName = 'proto.clarifai.api.PostConceptMappingJobsRequest';
|
|
1472
|
-
}
|
|
1473
1457
|
/**
|
|
1474
1458
|
* Generated by JsPbCodeGenerator.
|
|
1475
1459
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1512,27 +1496,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1512
1496
|
*/
|
|
1513
1497
|
proto.clarifai.api.MultiKnowledgeGraphResponse.displayName = 'proto.clarifai.api.MultiKnowledgeGraphResponse';
|
|
1514
1498
|
}
|
|
1515
|
-
/**
|
|
1516
|
-
* Generated by JsPbCodeGenerator.
|
|
1517
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1518
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
1519
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
1520
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
1521
|
-
* valid.
|
|
1522
|
-
* @extends {jspb.Message}
|
|
1523
|
-
* @constructor
|
|
1524
|
-
*/
|
|
1525
|
-
proto.clarifai.api.MultiConceptMappingJobResponse = function (opt_data) {
|
|
1526
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiConceptMappingJobResponse.repeatedFields_, null);
|
|
1527
|
-
};
|
|
1528
|
-
goog.inherits(proto.clarifai.api.MultiConceptMappingJobResponse, jspb.Message);
|
|
1529
|
-
if (goog.DEBUG && !COMPILED) {
|
|
1530
|
-
/**
|
|
1531
|
-
* @public
|
|
1532
|
-
* @override
|
|
1533
|
-
*/
|
|
1534
|
-
proto.clarifai.api.MultiConceptMappingJobResponse.displayName = 'proto.clarifai.api.MultiConceptMappingJobResponse';
|
|
1535
|
-
}
|
|
1536
1499
|
/**
|
|
1537
1500
|
* Generated by JsPbCodeGenerator.
|
|
1538
1501
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -7686,6 +7649,153 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
7686
7649
|
*/
|
|
7687
7650
|
proto.clarifai.api.MultiNodepoolResponse.displayName = 'proto.clarifai.api.MultiNodepoolResponse';
|
|
7688
7651
|
}
|
|
7652
|
+
/**
|
|
7653
|
+
* Generated by JsPbCodeGenerator.
|
|
7654
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7655
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7656
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7657
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7658
|
+
* valid.
|
|
7659
|
+
* @extends {jspb.Message}
|
|
7660
|
+
* @constructor
|
|
7661
|
+
*/
|
|
7662
|
+
proto.clarifai.api.GetDeploymentRequest = function (opt_data) {
|
|
7663
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7664
|
+
};
|
|
7665
|
+
goog.inherits(proto.clarifai.api.GetDeploymentRequest, jspb.Message);
|
|
7666
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7667
|
+
/**
|
|
7668
|
+
* @public
|
|
7669
|
+
* @override
|
|
7670
|
+
*/
|
|
7671
|
+
proto.clarifai.api.GetDeploymentRequest.displayName = 'proto.clarifai.api.GetDeploymentRequest';
|
|
7672
|
+
}
|
|
7673
|
+
/**
|
|
7674
|
+
* Generated by JsPbCodeGenerator.
|
|
7675
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7676
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7677
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7678
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7679
|
+
* valid.
|
|
7680
|
+
* @extends {jspb.Message}
|
|
7681
|
+
* @constructor
|
|
7682
|
+
*/
|
|
7683
|
+
proto.clarifai.api.ListDeploymentsRequest = function (opt_data) {
|
|
7684
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7685
|
+
};
|
|
7686
|
+
goog.inherits(proto.clarifai.api.ListDeploymentsRequest, jspb.Message);
|
|
7687
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7688
|
+
/**
|
|
7689
|
+
* @public
|
|
7690
|
+
* @override
|
|
7691
|
+
*/
|
|
7692
|
+
proto.clarifai.api.ListDeploymentsRequest.displayName = 'proto.clarifai.api.ListDeploymentsRequest';
|
|
7693
|
+
}
|
|
7694
|
+
/**
|
|
7695
|
+
* Generated by JsPbCodeGenerator.
|
|
7696
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7697
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7698
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7699
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7700
|
+
* valid.
|
|
7701
|
+
* @extends {jspb.Message}
|
|
7702
|
+
* @constructor
|
|
7703
|
+
*/
|
|
7704
|
+
proto.clarifai.api.PostDeploymentsRequest = function (opt_data) {
|
|
7705
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PostDeploymentsRequest.repeatedFields_, null);
|
|
7706
|
+
};
|
|
7707
|
+
goog.inherits(proto.clarifai.api.PostDeploymentsRequest, jspb.Message);
|
|
7708
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7709
|
+
/**
|
|
7710
|
+
* @public
|
|
7711
|
+
* @override
|
|
7712
|
+
*/
|
|
7713
|
+
proto.clarifai.api.PostDeploymentsRequest.displayName = 'proto.clarifai.api.PostDeploymentsRequest';
|
|
7714
|
+
}
|
|
7715
|
+
/**
|
|
7716
|
+
* Generated by JsPbCodeGenerator.
|
|
7717
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7718
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7719
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7720
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7721
|
+
* valid.
|
|
7722
|
+
* @extends {jspb.Message}
|
|
7723
|
+
* @constructor
|
|
7724
|
+
*/
|
|
7725
|
+
proto.clarifai.api.DeleteDeploymentsRequest = function (opt_data) {
|
|
7726
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.DeleteDeploymentsRequest.repeatedFields_, null);
|
|
7727
|
+
};
|
|
7728
|
+
goog.inherits(proto.clarifai.api.DeleteDeploymentsRequest, jspb.Message);
|
|
7729
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7730
|
+
/**
|
|
7731
|
+
* @public
|
|
7732
|
+
* @override
|
|
7733
|
+
*/
|
|
7734
|
+
proto.clarifai.api.DeleteDeploymentsRequest.displayName = 'proto.clarifai.api.DeleteDeploymentsRequest';
|
|
7735
|
+
}
|
|
7736
|
+
/**
|
|
7737
|
+
* Generated by JsPbCodeGenerator.
|
|
7738
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7739
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7740
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7741
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7742
|
+
* valid.
|
|
7743
|
+
* @extends {jspb.Message}
|
|
7744
|
+
* @constructor
|
|
7745
|
+
*/
|
|
7746
|
+
proto.clarifai.api.PatchDeploymentsRequest = function (opt_data) {
|
|
7747
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PatchDeploymentsRequest.repeatedFields_, null);
|
|
7748
|
+
};
|
|
7749
|
+
goog.inherits(proto.clarifai.api.PatchDeploymentsRequest, jspb.Message);
|
|
7750
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7751
|
+
/**
|
|
7752
|
+
* @public
|
|
7753
|
+
* @override
|
|
7754
|
+
*/
|
|
7755
|
+
proto.clarifai.api.PatchDeploymentsRequest.displayName = 'proto.clarifai.api.PatchDeploymentsRequest';
|
|
7756
|
+
}
|
|
7757
|
+
/**
|
|
7758
|
+
* Generated by JsPbCodeGenerator.
|
|
7759
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7760
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7761
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7762
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7763
|
+
* valid.
|
|
7764
|
+
* @extends {jspb.Message}
|
|
7765
|
+
* @constructor
|
|
7766
|
+
*/
|
|
7767
|
+
proto.clarifai.api.SingleDeploymentResponse = function (opt_data) {
|
|
7768
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7769
|
+
};
|
|
7770
|
+
goog.inherits(proto.clarifai.api.SingleDeploymentResponse, jspb.Message);
|
|
7771
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7772
|
+
/**
|
|
7773
|
+
* @public
|
|
7774
|
+
* @override
|
|
7775
|
+
*/
|
|
7776
|
+
proto.clarifai.api.SingleDeploymentResponse.displayName = 'proto.clarifai.api.SingleDeploymentResponse';
|
|
7777
|
+
}
|
|
7778
|
+
/**
|
|
7779
|
+
* Generated by JsPbCodeGenerator.
|
|
7780
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7781
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7782
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7783
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7784
|
+
* valid.
|
|
7785
|
+
* @extends {jspb.Message}
|
|
7786
|
+
* @constructor
|
|
7787
|
+
*/
|
|
7788
|
+
proto.clarifai.api.MultiDeploymentResponse = function (opt_data) {
|
|
7789
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiDeploymentResponse.repeatedFields_, null);
|
|
7790
|
+
};
|
|
7791
|
+
goog.inherits(proto.clarifai.api.MultiDeploymentResponse, jspb.Message);
|
|
7792
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7793
|
+
/**
|
|
7794
|
+
* @public
|
|
7795
|
+
* @override
|
|
7796
|
+
*/
|
|
7797
|
+
proto.clarifai.api.MultiDeploymentResponse.displayName = 'proto.clarifai.api.MultiDeploymentResponse';
|
|
7798
|
+
}
|
|
7689
7799
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7690
7800
|
/**
|
|
7691
7801
|
* Creates an object representation of this proto.
|
|
@@ -17284,173 +17394,6 @@ proto.clarifai.api.PostKnowledgeGraphsRequest.prototype.addKnowledgeGraphs = fun
|
|
|
17284
17394
|
proto.clarifai.api.PostKnowledgeGraphsRequest.prototype.clearKnowledgeGraphsList = function () {
|
|
17285
17395
|
return this.setKnowledgeGraphsList([]);
|
|
17286
17396
|
};
|
|
17287
|
-
/**
|
|
17288
|
-
* List of repeated fields within this message type.
|
|
17289
|
-
* @private {!Array<number>}
|
|
17290
|
-
* @const
|
|
17291
|
-
*/
|
|
17292
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.repeatedFields_ = [2];
|
|
17293
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
17294
|
-
/**
|
|
17295
|
-
* Creates an object representation of this proto.
|
|
17296
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
17297
|
-
* Optional fields that are not set will be set to undefined.
|
|
17298
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
17299
|
-
* For the list of reserved names please see:
|
|
17300
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
17301
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
17302
|
-
* JSPB instance for transitional soy proto support:
|
|
17303
|
-
* http://goto/soy-param-migration
|
|
17304
|
-
* @return {!Object}
|
|
17305
|
-
*/
|
|
17306
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
17307
|
-
return proto.clarifai.api.PostConceptMappingJobsRequest.toObject(opt_includeInstance, this);
|
|
17308
|
-
};
|
|
17309
|
-
/**
|
|
17310
|
-
* Static version of the {@see toObject} method.
|
|
17311
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
17312
|
-
* the JSPB instance for transitional soy proto support:
|
|
17313
|
-
* http://goto/soy-param-migration
|
|
17314
|
-
* @param {!proto.clarifai.api.PostConceptMappingJobsRequest} msg The msg instance to transform.
|
|
17315
|
-
* @return {!Object}
|
|
17316
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17317
|
-
*/
|
|
17318
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.toObject = function (includeInstance, msg) {
|
|
17319
|
-
var f, obj = {
|
|
17320
|
-
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
17321
|
-
conceptMappingJobsList: jspb.Message.toObjectList(msg.getConceptMappingJobsList(), proto_clarifai_api_resources_pb.ConceptMappingJob.toObject, includeInstance)
|
|
17322
|
-
};
|
|
17323
|
-
if (includeInstance) {
|
|
17324
|
-
obj.$jspbMessageInstance = msg;
|
|
17325
|
-
}
|
|
17326
|
-
return obj;
|
|
17327
|
-
};
|
|
17328
|
-
}
|
|
17329
|
-
/**
|
|
17330
|
-
* Deserializes binary data (in protobuf wire format).
|
|
17331
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
17332
|
-
* @return {!proto.clarifai.api.PostConceptMappingJobsRequest}
|
|
17333
|
-
*/
|
|
17334
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.deserializeBinary = function (bytes) {
|
|
17335
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
17336
|
-
var msg = new proto.clarifai.api.PostConceptMappingJobsRequest;
|
|
17337
|
-
return proto.clarifai.api.PostConceptMappingJobsRequest.deserializeBinaryFromReader(msg, reader);
|
|
17338
|
-
};
|
|
17339
|
-
/**
|
|
17340
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
17341
|
-
* given reader into the given message object.
|
|
17342
|
-
* @param {!proto.clarifai.api.PostConceptMappingJobsRequest} msg The message object to deserialize into.
|
|
17343
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
17344
|
-
* @return {!proto.clarifai.api.PostConceptMappingJobsRequest}
|
|
17345
|
-
*/
|
|
17346
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
17347
|
-
while (reader.nextField()) {
|
|
17348
|
-
if (reader.isEndGroup()) {
|
|
17349
|
-
break;
|
|
17350
|
-
}
|
|
17351
|
-
var field = reader.getFieldNumber();
|
|
17352
|
-
switch (field) {
|
|
17353
|
-
case 1:
|
|
17354
|
-
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
17355
|
-
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
17356
|
-
msg.setUserAppId(value);
|
|
17357
|
-
break;
|
|
17358
|
-
case 2:
|
|
17359
|
-
var value = new proto_clarifai_api_resources_pb.ConceptMappingJob;
|
|
17360
|
-
reader.readMessage(value, proto_clarifai_api_resources_pb.ConceptMappingJob.deserializeBinaryFromReader);
|
|
17361
|
-
msg.addConceptMappingJobs(value);
|
|
17362
|
-
break;
|
|
17363
|
-
default:
|
|
17364
|
-
reader.skipField();
|
|
17365
|
-
break;
|
|
17366
|
-
}
|
|
17367
|
-
}
|
|
17368
|
-
return msg;
|
|
17369
|
-
};
|
|
17370
|
-
/**
|
|
17371
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
17372
|
-
* @return {!Uint8Array}
|
|
17373
|
-
*/
|
|
17374
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.prototype.serializeBinary = function () {
|
|
17375
|
-
var writer = new jspb.BinaryWriter();
|
|
17376
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.serializeBinaryToWriter(this, writer);
|
|
17377
|
-
return writer.getResultBuffer();
|
|
17378
|
-
};
|
|
17379
|
-
/**
|
|
17380
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
17381
|
-
* format), writing to the given BinaryWriter.
|
|
17382
|
-
* @param {!proto.clarifai.api.PostConceptMappingJobsRequest} message
|
|
17383
|
-
* @param {!jspb.BinaryWriter} writer
|
|
17384
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17385
|
-
*/
|
|
17386
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
17387
|
-
var f = undefined;
|
|
17388
|
-
f = message.getUserAppId();
|
|
17389
|
-
if (f != null) {
|
|
17390
|
-
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
17391
|
-
}
|
|
17392
|
-
f = message.getConceptMappingJobsList();
|
|
17393
|
-
if (f.length > 0) {
|
|
17394
|
-
writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.ConceptMappingJob.serializeBinaryToWriter);
|
|
17395
|
-
}
|
|
17396
|
-
};
|
|
17397
|
-
/**
|
|
17398
|
-
* optional UserAppIDSet user_app_id = 1;
|
|
17399
|
-
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
17400
|
-
*/
|
|
17401
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.prototype.getUserAppId = function () {
|
|
17402
|
-
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
17403
|
-
};
|
|
17404
|
-
/**
|
|
17405
|
-
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
17406
|
-
* @return {!proto.clarifai.api.PostConceptMappingJobsRequest} returns this
|
|
17407
|
-
*/
|
|
17408
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.prototype.setUserAppId = function (value) {
|
|
17409
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
17410
|
-
};
|
|
17411
|
-
/**
|
|
17412
|
-
* Clears the message field making it undefined.
|
|
17413
|
-
* @return {!proto.clarifai.api.PostConceptMappingJobsRequest} returns this
|
|
17414
|
-
*/
|
|
17415
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.prototype.clearUserAppId = function () {
|
|
17416
|
-
return this.setUserAppId(undefined);
|
|
17417
|
-
};
|
|
17418
|
-
/**
|
|
17419
|
-
* Returns whether this field is set.
|
|
17420
|
-
* @return {boolean}
|
|
17421
|
-
*/
|
|
17422
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.prototype.hasUserAppId = function () {
|
|
17423
|
-
return jspb.Message.getField(this, 1) != null;
|
|
17424
|
-
};
|
|
17425
|
-
/**
|
|
17426
|
-
* repeated ConceptMappingJob concept_mapping_jobs = 2;
|
|
17427
|
-
* @return {!Array<!proto.clarifai.api.ConceptMappingJob>}
|
|
17428
|
-
*/
|
|
17429
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.prototype.getConceptMappingJobsList = function () {
|
|
17430
|
-
return /** @type{!Array<!proto.clarifai.api.ConceptMappingJob>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.ConceptMappingJob, 2));
|
|
17431
|
-
};
|
|
17432
|
-
/**
|
|
17433
|
-
* @param {!Array<!proto.clarifai.api.ConceptMappingJob>} value
|
|
17434
|
-
* @return {!proto.clarifai.api.PostConceptMappingJobsRequest} returns this
|
|
17435
|
-
*/
|
|
17436
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.prototype.setConceptMappingJobsList = function (value) {
|
|
17437
|
-
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
17438
|
-
};
|
|
17439
|
-
/**
|
|
17440
|
-
* @param {!proto.clarifai.api.ConceptMappingJob=} opt_value
|
|
17441
|
-
* @param {number=} opt_index
|
|
17442
|
-
* @return {!proto.clarifai.api.ConceptMappingJob}
|
|
17443
|
-
*/
|
|
17444
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.prototype.addConceptMappingJobs = function (opt_value, opt_index) {
|
|
17445
|
-
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.ConceptMappingJob, opt_index);
|
|
17446
|
-
};
|
|
17447
|
-
/**
|
|
17448
|
-
* Clears the list making it empty but non-null.
|
|
17449
|
-
* @return {!proto.clarifai.api.PostConceptMappingJobsRequest} returns this
|
|
17450
|
-
*/
|
|
17451
|
-
proto.clarifai.api.PostConceptMappingJobsRequest.prototype.clearConceptMappingJobsList = function () {
|
|
17452
|
-
return this.setConceptMappingJobsList([]);
|
|
17453
|
-
};
|
|
17454
17397
|
/**
|
|
17455
17398
|
* List of repeated fields within this message type.
|
|
17456
17399
|
* @private {!Array<number>}
|
|
@@ -17785,172 +17728,6 @@ proto.clarifai.api.MultiKnowledgeGraphResponse.prototype.addKnowledgeGraphs = fu
|
|
|
17785
17728
|
proto.clarifai.api.MultiKnowledgeGraphResponse.prototype.clearKnowledgeGraphsList = function () {
|
|
17786
17729
|
return this.setKnowledgeGraphsList([]);
|
|
17787
17730
|
};
|
|
17788
|
-
/**
|
|
17789
|
-
* List of repeated fields within this message type.
|
|
17790
|
-
* @private {!Array<number>}
|
|
17791
|
-
* @const
|
|
17792
|
-
*/
|
|
17793
|
-
proto.clarifai.api.MultiConceptMappingJobResponse.repeatedFields_ = [2];
|
|
17794
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
17795
|
-
/**
|
|
17796
|
-
* Creates an object representation of this proto.
|
|
17797
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
17798
|
-
* Optional fields that are not set will be set to undefined.
|
|
17799
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
17800
|
-
* For the list of reserved names please see:
|
|
17801
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
17802
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
17803
|
-
* JSPB instance for transitional soy proto support:
|
|
17804
|
-
* http://goto/soy-param-migration
|
|
17805
|
-
* @return {!Object}
|
|
17806
|
-
*/
|
|
17807
|
-
proto.clarifai.api.MultiConceptMappingJobResponse.prototype.toObject = function (opt_includeInstance) {
|
|
17808
|
-
return proto.clarifai.api.MultiConceptMappingJobResponse.toObject(opt_includeInstance, this);
|
|
17809
|
-
};
|
|
17810
|
-
/**
|
|
17811
|
-
* Static version of the {@see toObject} method.
|
|
17812
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
17813
|
-
* the JSPB instance for transitional soy proto support:
|
|
17814
|
-
* http://goto/soy-param-migration
|
|
17815
|
-
* @param {!proto.clarifai.api.MultiConceptMappingJobResponse} msg The msg instance to transform.
|
|
17816
|
-
* @return {!Object}
|
|
17817
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17818
|
-
*/
|
|
17819
|
-
proto.clarifai.api.MultiConceptMappingJobResponse.toObject = function (includeInstance, msg) {
|
|
17820
|
-
var f, obj = {
|
|
17821
|
-
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
17822
|
-
idsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
17823
|
-
};
|
|
17824
|
-
if (includeInstance) {
|
|
17825
|
-
obj.$jspbMessageInstance = msg;
|
|
17826
|
-
}
|
|
17827
|
-
return obj;
|
|
17828
|
-
};
|
|
17829
|
-
}
|
|
17830
|
-
/**
|
|
17831
|
-
* Deserializes binary data (in protobuf wire format).
|
|
17832
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
17833
|
-
* @return {!proto.clarifai.api.MultiConceptMappingJobResponse}
|
|
17834
|
-
*/
|
|
17835
|
-
proto.clarifai.api.MultiConceptMappingJobResponse.deserializeBinary = function (bytes) {
|
|
17836
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
17837
|
-
var msg = new proto.clarifai.api.MultiConceptMappingJobResponse;
|
|
17838
|
-
return proto.clarifai.api.MultiConceptMappingJobResponse.deserializeBinaryFromReader(msg, reader);
|
|
17839
|
-
};
|
|
17840
|
-
/**
|
|
17841
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
17842
|
-
* given reader into the given message object.
|
|
17843
|
-
* @param {!proto.clarifai.api.MultiConceptMappingJobResponse} msg The message object to deserialize into.
|
|
17844
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
17845
|
-
* @return {!proto.clarifai.api.MultiConceptMappingJobResponse}
|
|
17846
|
-
*/
|
|
17847
|
-
proto.clarifai.api.MultiConceptMappingJobResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
17848
|
-
while (reader.nextField()) {
|
|
17849
|
-
if (reader.isEndGroup()) {
|
|
17850
|
-
break;
|
|
17851
|
-
}
|
|
17852
|
-
var field = reader.getFieldNumber();
|
|
17853
|
-
switch (field) {
|
|
17854
|
-
case 1:
|
|
17855
|
-
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
17856
|
-
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
17857
|
-
msg.setStatus(value);
|
|
17858
|
-
break;
|
|
17859
|
-
case 2:
|
|
17860
|
-
var value = /** @type {string} */ (reader.readString());
|
|
17861
|
-
msg.addIds(value);
|
|
17862
|
-
break;
|
|
17863
|
-
default:
|
|
17864
|
-
reader.skipField();
|
|
17865
|
-
break;
|
|
17866
|
-
}
|
|
17867
|
-
}
|
|
17868
|
-
return msg;
|
|
17869
|
-
};
|
|
17870
|
-
/**
|
|
17871
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
17872
|
-
* @return {!Uint8Array}
|
|
17873
|
-
*/
|
|
17874
|
-
proto.clarifai.api.MultiConceptMappingJobResponse.prototype.serializeBinary = function () {
|
|
17875
|
-
var writer = new jspb.BinaryWriter();
|
|
17876
|
-
proto.clarifai.api.MultiConceptMappingJobResponse.serializeBinaryToWriter(this, writer);
|
|
17877
|
-
return writer.getResultBuffer();
|
|
17878
|
-
};
|
|
17879
|
-
/**
|
|
17880
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
17881
|
-
* format), writing to the given BinaryWriter.
|
|
17882
|
-
* @param {!proto.clarifai.api.MultiConceptMappingJobResponse} message
|
|
17883
|
-
* @param {!jspb.BinaryWriter} writer
|
|
17884
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17885
|
-
*/
|
|
17886
|
-
proto.clarifai.api.MultiConceptMappingJobResponse.serializeBinaryToWriter = function (message, writer) {
|
|
17887
|
-
var f = undefined;
|
|
17888
|
-
f = message.getStatus();
|
|
17889
|
-
if (f != null) {
|
|
17890
|
-
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
17891
|
-
}
|
|
17892
|
-
f = message.getIdsList();
|
|
17893
|
-
if (f.length > 0) {
|
|
17894
|
-
writer.writeRepeatedString(2, f);
|
|
17895
|
-
}
|
|
17896
|
-
};
|
|
17897
|
-
/**
|
|
17898
|
-
* optional status.Status status = 1;
|
|
17899
|
-
* @return {?proto.clarifai.api.status.Status}
|
|
17900
|
-
*/
|
|
17901
|
-
proto.clarifai.api.MultiConceptMappingJobResponse.prototype.getStatus = function () {
|
|
17902
|
-
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
17903
|
-
};
|
|
17904
|
-
/**
|
|
17905
|
-
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
17906
|
-
* @return {!proto.clarifai.api.MultiConceptMappingJobResponse} returns this
|
|
17907
|
-
*/
|
|
17908
|
-
proto.clarifai.api.MultiConceptMappingJobResponse.prototype.setStatus = function (value) {
|
|
17909
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
17910
|
-
};
|
|
17911
|
-
/**
|
|
17912
|
-
* Clears the message field making it undefined.
|
|
17913
|
-
* @return {!proto.clarifai.api.MultiConceptMappingJobResponse} returns this
|
|
17914
|
-
*/
|
|
17915
|
-
proto.clarifai.api.MultiConceptMappingJobResponse.prototype.clearStatus = function () {
|
|
17916
|
-
return this.setStatus(undefined);
|
|
17917
|
-
};
|
|
17918
|
-
/**
|
|
17919
|
-
* Returns whether this field is set.
|
|
17920
|
-
* @return {boolean}
|
|
17921
|
-
*/
|
|
17922
|
-
proto.clarifai.api.MultiConceptMappingJobResponse.prototype.hasStatus = function () {
|
|
17923
|
-
return jspb.Message.getField(this, 1) != null;
|
|
17924
|
-
};
|
|
17925
|
-
/**
|
|
17926
|
-
* repeated string ids = 2;
|
|
17927
|
-
* @return {!Array<string>}
|
|
17928
|
-
*/
|
|
17929
|
-
proto.clarifai.api.MultiConceptMappingJobResponse.prototype.getIdsList = function () {
|
|
17930
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
17931
|
-
};
|
|
17932
|
-
/**
|
|
17933
|
-
* @param {!Array<string>} value
|
|
17934
|
-
* @return {!proto.clarifai.api.MultiConceptMappingJobResponse} returns this
|
|
17935
|
-
*/
|
|
17936
|
-
proto.clarifai.api.MultiConceptMappingJobResponse.prototype.setIdsList = function (value) {
|
|
17937
|
-
return jspb.Message.setField(this, 2, value || []);
|
|
17938
|
-
};
|
|
17939
|
-
/**
|
|
17940
|
-
* @param {string} value
|
|
17941
|
-
* @param {number=} opt_index
|
|
17942
|
-
* @return {!proto.clarifai.api.MultiConceptMappingJobResponse} returns this
|
|
17943
|
-
*/
|
|
17944
|
-
proto.clarifai.api.MultiConceptMappingJobResponse.prototype.addIds = function (value, opt_index) {
|
|
17945
|
-
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
17946
|
-
};
|
|
17947
|
-
/**
|
|
17948
|
-
* Clears the list making it empty but non-null.
|
|
17949
|
-
* @return {!proto.clarifai.api.MultiConceptMappingJobResponse} returns this
|
|
17950
|
-
*/
|
|
17951
|
-
proto.clarifai.api.MultiConceptMappingJobResponse.prototype.clearIdsList = function () {
|
|
17952
|
-
return this.setIdsList([]);
|
|
17953
|
-
};
|
|
17954
17731
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
17955
17732
|
/**
|
|
17956
17733
|
* Creates an object representation of this proto.
|
|
@@ -69585,7 +69362,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
69585
69362
|
runnerId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
69586
69363
|
runnerItemId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
69587
69364
|
runnerItemOutputsList: jspb.Message.toObjectList(msg.getRunnerItemOutputsList(), proto.clarifai.api.RunnerItemOutput.toObject, includeInstance),
|
|
69588
|
-
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f)
|
|
69365
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
69366
|
+
runnerReplicaId: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
69589
69367
|
};
|
|
69590
69368
|
if (includeInstance) {
|
|
69591
69369
|
obj.$jspbMessageInstance = msg;
|
|
@@ -69644,6 +69422,10 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.deserializeBinaryFromReader = fu
|
|
|
69644
69422
|
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
69645
69423
|
msg.setStatus(value);
|
|
69646
69424
|
break;
|
|
69425
|
+
case 7:
|
|
69426
|
+
var value = /** @type {string} */ (reader.readString());
|
|
69427
|
+
msg.setRunnerReplicaId(value);
|
|
69428
|
+
break;
|
|
69647
69429
|
default:
|
|
69648
69430
|
reader.skipField();
|
|
69649
69431
|
break;
|
|
@@ -69693,6 +69475,10 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.serializeBinaryToWriter = functi
|
|
|
69693
69475
|
if (f != null) {
|
|
69694
69476
|
writer.writeMessage(6, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
69695
69477
|
}
|
|
69478
|
+
f = message.getRunnerReplicaId();
|
|
69479
|
+
if (f.length > 0) {
|
|
69480
|
+
writer.writeString(7, f);
|
|
69481
|
+
}
|
|
69696
69482
|
};
|
|
69697
69483
|
/**
|
|
69698
69484
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -69821,6 +69607,20 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.clearStatus = function
|
|
|
69821
69607
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.hasStatus = function () {
|
|
69822
69608
|
return jspb.Message.getField(this, 6) != null;
|
|
69823
69609
|
};
|
|
69610
|
+
/**
|
|
69611
|
+
* optional string runner_replica_id = 7;
|
|
69612
|
+
* @return {string}
|
|
69613
|
+
*/
|
|
69614
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRunnerReplicaId = function () {
|
|
69615
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
69616
|
+
};
|
|
69617
|
+
/**
|
|
69618
|
+
* @param {string} value
|
|
69619
|
+
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
69620
|
+
*/
|
|
69621
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRunnerReplicaId = function (value) {
|
|
69622
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
69623
|
+
};
|
|
69824
69624
|
/**
|
|
69825
69625
|
* List of repeated fields within this message type.
|
|
69826
69626
|
* @private {!Array<number>}
|
|
@@ -73158,6 +72958,1192 @@ proto.clarifai.api.MultiNodepoolResponse.prototype.addNodepools = function (opt_
|
|
|
73158
72958
|
proto.clarifai.api.MultiNodepoolResponse.prototype.clearNodepoolsList = function () {
|
|
73159
72959
|
return this.setNodepoolsList([]);
|
|
73160
72960
|
};
|
|
72961
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
72962
|
+
/**
|
|
72963
|
+
* Creates an object representation of this proto.
|
|
72964
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
72965
|
+
* Optional fields that are not set will be set to undefined.
|
|
72966
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
72967
|
+
* For the list of reserved names please see:
|
|
72968
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
72969
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
72970
|
+
* JSPB instance for transitional soy proto support:
|
|
72971
|
+
* http://goto/soy-param-migration
|
|
72972
|
+
* @return {!Object}
|
|
72973
|
+
*/
|
|
72974
|
+
proto.clarifai.api.GetDeploymentRequest.prototype.toObject = function (opt_includeInstance) {
|
|
72975
|
+
return proto.clarifai.api.GetDeploymentRequest.toObject(opt_includeInstance, this);
|
|
72976
|
+
};
|
|
72977
|
+
/**
|
|
72978
|
+
* Static version of the {@see toObject} method.
|
|
72979
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
72980
|
+
* the JSPB instance for transitional soy proto support:
|
|
72981
|
+
* http://goto/soy-param-migration
|
|
72982
|
+
* @param {!proto.clarifai.api.GetDeploymentRequest} msg The msg instance to transform.
|
|
72983
|
+
* @return {!Object}
|
|
72984
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
72985
|
+
*/
|
|
72986
|
+
proto.clarifai.api.GetDeploymentRequest.toObject = function (includeInstance, msg) {
|
|
72987
|
+
var f, obj = {
|
|
72988
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
72989
|
+
deploymentId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
72990
|
+
};
|
|
72991
|
+
if (includeInstance) {
|
|
72992
|
+
obj.$jspbMessageInstance = msg;
|
|
72993
|
+
}
|
|
72994
|
+
return obj;
|
|
72995
|
+
};
|
|
72996
|
+
}
|
|
72997
|
+
/**
|
|
72998
|
+
* Deserializes binary data (in protobuf wire format).
|
|
72999
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
73000
|
+
* @return {!proto.clarifai.api.GetDeploymentRequest}
|
|
73001
|
+
*/
|
|
73002
|
+
proto.clarifai.api.GetDeploymentRequest.deserializeBinary = function (bytes) {
|
|
73003
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
73004
|
+
var msg = new proto.clarifai.api.GetDeploymentRequest;
|
|
73005
|
+
return proto.clarifai.api.GetDeploymentRequest.deserializeBinaryFromReader(msg, reader);
|
|
73006
|
+
};
|
|
73007
|
+
/**
|
|
73008
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
73009
|
+
* given reader into the given message object.
|
|
73010
|
+
* @param {!proto.clarifai.api.GetDeploymentRequest} msg The message object to deserialize into.
|
|
73011
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
73012
|
+
* @return {!proto.clarifai.api.GetDeploymentRequest}
|
|
73013
|
+
*/
|
|
73014
|
+
proto.clarifai.api.GetDeploymentRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
73015
|
+
while (reader.nextField()) {
|
|
73016
|
+
if (reader.isEndGroup()) {
|
|
73017
|
+
break;
|
|
73018
|
+
}
|
|
73019
|
+
var field = reader.getFieldNumber();
|
|
73020
|
+
switch (field) {
|
|
73021
|
+
case 1:
|
|
73022
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
73023
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
73024
|
+
msg.setUserAppId(value);
|
|
73025
|
+
break;
|
|
73026
|
+
case 2:
|
|
73027
|
+
var value = /** @type {string} */ (reader.readString());
|
|
73028
|
+
msg.setDeploymentId(value);
|
|
73029
|
+
break;
|
|
73030
|
+
default:
|
|
73031
|
+
reader.skipField();
|
|
73032
|
+
break;
|
|
73033
|
+
}
|
|
73034
|
+
}
|
|
73035
|
+
return msg;
|
|
73036
|
+
};
|
|
73037
|
+
/**
|
|
73038
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
73039
|
+
* @return {!Uint8Array}
|
|
73040
|
+
*/
|
|
73041
|
+
proto.clarifai.api.GetDeploymentRequest.prototype.serializeBinary = function () {
|
|
73042
|
+
var writer = new jspb.BinaryWriter();
|
|
73043
|
+
proto.clarifai.api.GetDeploymentRequest.serializeBinaryToWriter(this, writer);
|
|
73044
|
+
return writer.getResultBuffer();
|
|
73045
|
+
};
|
|
73046
|
+
/**
|
|
73047
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
73048
|
+
* format), writing to the given BinaryWriter.
|
|
73049
|
+
* @param {!proto.clarifai.api.GetDeploymentRequest} message
|
|
73050
|
+
* @param {!jspb.BinaryWriter} writer
|
|
73051
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
73052
|
+
*/
|
|
73053
|
+
proto.clarifai.api.GetDeploymentRequest.serializeBinaryToWriter = function (message, writer) {
|
|
73054
|
+
var f = undefined;
|
|
73055
|
+
f = message.getUserAppId();
|
|
73056
|
+
if (f != null) {
|
|
73057
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
73058
|
+
}
|
|
73059
|
+
f = message.getDeploymentId();
|
|
73060
|
+
if (f.length > 0) {
|
|
73061
|
+
writer.writeString(2, f);
|
|
73062
|
+
}
|
|
73063
|
+
};
|
|
73064
|
+
/**
|
|
73065
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
73066
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
73067
|
+
*/
|
|
73068
|
+
proto.clarifai.api.GetDeploymentRequest.prototype.getUserAppId = function () {
|
|
73069
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
73070
|
+
};
|
|
73071
|
+
/**
|
|
73072
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
73073
|
+
* @return {!proto.clarifai.api.GetDeploymentRequest} returns this
|
|
73074
|
+
*/
|
|
73075
|
+
proto.clarifai.api.GetDeploymentRequest.prototype.setUserAppId = function (value) {
|
|
73076
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
73077
|
+
};
|
|
73078
|
+
/**
|
|
73079
|
+
* Clears the message field making it undefined.
|
|
73080
|
+
* @return {!proto.clarifai.api.GetDeploymentRequest} returns this
|
|
73081
|
+
*/
|
|
73082
|
+
proto.clarifai.api.GetDeploymentRequest.prototype.clearUserAppId = function () {
|
|
73083
|
+
return this.setUserAppId(undefined);
|
|
73084
|
+
};
|
|
73085
|
+
/**
|
|
73086
|
+
* Returns whether this field is set.
|
|
73087
|
+
* @return {boolean}
|
|
73088
|
+
*/
|
|
73089
|
+
proto.clarifai.api.GetDeploymentRequest.prototype.hasUserAppId = function () {
|
|
73090
|
+
return jspb.Message.getField(this, 1) != null;
|
|
73091
|
+
};
|
|
73092
|
+
/**
|
|
73093
|
+
* optional string deployment_id = 2;
|
|
73094
|
+
* @return {string}
|
|
73095
|
+
*/
|
|
73096
|
+
proto.clarifai.api.GetDeploymentRequest.prototype.getDeploymentId = function () {
|
|
73097
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
73098
|
+
};
|
|
73099
|
+
/**
|
|
73100
|
+
* @param {string} value
|
|
73101
|
+
* @return {!proto.clarifai.api.GetDeploymentRequest} returns this
|
|
73102
|
+
*/
|
|
73103
|
+
proto.clarifai.api.GetDeploymentRequest.prototype.setDeploymentId = function (value) {
|
|
73104
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
73105
|
+
};
|
|
73106
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
73107
|
+
/**
|
|
73108
|
+
* Creates an object representation of this proto.
|
|
73109
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
73110
|
+
* Optional fields that are not set will be set to undefined.
|
|
73111
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
73112
|
+
* For the list of reserved names please see:
|
|
73113
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
73114
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
73115
|
+
* JSPB instance for transitional soy proto support:
|
|
73116
|
+
* http://goto/soy-param-migration
|
|
73117
|
+
* @return {!Object}
|
|
73118
|
+
*/
|
|
73119
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
73120
|
+
return proto.clarifai.api.ListDeploymentsRequest.toObject(opt_includeInstance, this);
|
|
73121
|
+
};
|
|
73122
|
+
/**
|
|
73123
|
+
* Static version of the {@see toObject} method.
|
|
73124
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
73125
|
+
* the JSPB instance for transitional soy proto support:
|
|
73126
|
+
* http://goto/soy-param-migration
|
|
73127
|
+
* @param {!proto.clarifai.api.ListDeploymentsRequest} msg The msg instance to transform.
|
|
73128
|
+
* @return {!Object}
|
|
73129
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
73130
|
+
*/
|
|
73131
|
+
proto.clarifai.api.ListDeploymentsRequest.toObject = function (includeInstance, msg) {
|
|
73132
|
+
var f, obj = {
|
|
73133
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
73134
|
+
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
73135
|
+
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
73136
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
73137
|
+
};
|
|
73138
|
+
if (includeInstance) {
|
|
73139
|
+
obj.$jspbMessageInstance = msg;
|
|
73140
|
+
}
|
|
73141
|
+
return obj;
|
|
73142
|
+
};
|
|
73143
|
+
}
|
|
73144
|
+
/**
|
|
73145
|
+
* Deserializes binary data (in protobuf wire format).
|
|
73146
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
73147
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest}
|
|
73148
|
+
*/
|
|
73149
|
+
proto.clarifai.api.ListDeploymentsRequest.deserializeBinary = function (bytes) {
|
|
73150
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
73151
|
+
var msg = new proto.clarifai.api.ListDeploymentsRequest;
|
|
73152
|
+
return proto.clarifai.api.ListDeploymentsRequest.deserializeBinaryFromReader(msg, reader);
|
|
73153
|
+
};
|
|
73154
|
+
/**
|
|
73155
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
73156
|
+
* given reader into the given message object.
|
|
73157
|
+
* @param {!proto.clarifai.api.ListDeploymentsRequest} msg The message object to deserialize into.
|
|
73158
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
73159
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest}
|
|
73160
|
+
*/
|
|
73161
|
+
proto.clarifai.api.ListDeploymentsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
73162
|
+
while (reader.nextField()) {
|
|
73163
|
+
if (reader.isEndGroup()) {
|
|
73164
|
+
break;
|
|
73165
|
+
}
|
|
73166
|
+
var field = reader.getFieldNumber();
|
|
73167
|
+
switch (field) {
|
|
73168
|
+
case 1:
|
|
73169
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
73170
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
73171
|
+
msg.setUserAppId(value);
|
|
73172
|
+
break;
|
|
73173
|
+
case 2:
|
|
73174
|
+
var value = /** @type {string} */ (reader.readString());
|
|
73175
|
+
msg.setNodepoolId(value);
|
|
73176
|
+
break;
|
|
73177
|
+
case 3:
|
|
73178
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
73179
|
+
msg.setPage(value);
|
|
73180
|
+
break;
|
|
73181
|
+
case 4:
|
|
73182
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
73183
|
+
msg.setPerPage(value);
|
|
73184
|
+
break;
|
|
73185
|
+
default:
|
|
73186
|
+
reader.skipField();
|
|
73187
|
+
break;
|
|
73188
|
+
}
|
|
73189
|
+
}
|
|
73190
|
+
return msg;
|
|
73191
|
+
};
|
|
73192
|
+
/**
|
|
73193
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
73194
|
+
* @return {!Uint8Array}
|
|
73195
|
+
*/
|
|
73196
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.serializeBinary = function () {
|
|
73197
|
+
var writer = new jspb.BinaryWriter();
|
|
73198
|
+
proto.clarifai.api.ListDeploymentsRequest.serializeBinaryToWriter(this, writer);
|
|
73199
|
+
return writer.getResultBuffer();
|
|
73200
|
+
};
|
|
73201
|
+
/**
|
|
73202
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
73203
|
+
* format), writing to the given BinaryWriter.
|
|
73204
|
+
* @param {!proto.clarifai.api.ListDeploymentsRequest} message
|
|
73205
|
+
* @param {!jspb.BinaryWriter} writer
|
|
73206
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
73207
|
+
*/
|
|
73208
|
+
proto.clarifai.api.ListDeploymentsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
73209
|
+
var f = undefined;
|
|
73210
|
+
f = message.getUserAppId();
|
|
73211
|
+
if (f != null) {
|
|
73212
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
73213
|
+
}
|
|
73214
|
+
f = message.getNodepoolId();
|
|
73215
|
+
if (f.length > 0) {
|
|
73216
|
+
writer.writeString(2, f);
|
|
73217
|
+
}
|
|
73218
|
+
f = message.getPage();
|
|
73219
|
+
if (f !== 0) {
|
|
73220
|
+
writer.writeUint32(3, f);
|
|
73221
|
+
}
|
|
73222
|
+
f = message.getPerPage();
|
|
73223
|
+
if (f !== 0) {
|
|
73224
|
+
writer.writeUint32(4, f);
|
|
73225
|
+
}
|
|
73226
|
+
};
|
|
73227
|
+
/**
|
|
73228
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
73229
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
73230
|
+
*/
|
|
73231
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.getUserAppId = function () {
|
|
73232
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
73233
|
+
};
|
|
73234
|
+
/**
|
|
73235
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
73236
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
|
|
73237
|
+
*/
|
|
73238
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.setUserAppId = function (value) {
|
|
73239
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
73240
|
+
};
|
|
73241
|
+
/**
|
|
73242
|
+
* Clears the message field making it undefined.
|
|
73243
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
|
|
73244
|
+
*/
|
|
73245
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.clearUserAppId = function () {
|
|
73246
|
+
return this.setUserAppId(undefined);
|
|
73247
|
+
};
|
|
73248
|
+
/**
|
|
73249
|
+
* Returns whether this field is set.
|
|
73250
|
+
* @return {boolean}
|
|
73251
|
+
*/
|
|
73252
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.hasUserAppId = function () {
|
|
73253
|
+
return jspb.Message.getField(this, 1) != null;
|
|
73254
|
+
};
|
|
73255
|
+
/**
|
|
73256
|
+
* optional string nodepool_id = 2;
|
|
73257
|
+
* @return {string}
|
|
73258
|
+
*/
|
|
73259
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.getNodepoolId = function () {
|
|
73260
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
73261
|
+
};
|
|
73262
|
+
/**
|
|
73263
|
+
* @param {string} value
|
|
73264
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
|
|
73265
|
+
*/
|
|
73266
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.setNodepoolId = function (value) {
|
|
73267
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
73268
|
+
};
|
|
73269
|
+
/**
|
|
73270
|
+
* optional uint32 page = 3;
|
|
73271
|
+
* @return {number}
|
|
73272
|
+
*/
|
|
73273
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.getPage = function () {
|
|
73274
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
73275
|
+
};
|
|
73276
|
+
/**
|
|
73277
|
+
* @param {number} value
|
|
73278
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
|
|
73279
|
+
*/
|
|
73280
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.setPage = function (value) {
|
|
73281
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
73282
|
+
};
|
|
73283
|
+
/**
|
|
73284
|
+
* optional uint32 per_page = 4;
|
|
73285
|
+
* @return {number}
|
|
73286
|
+
*/
|
|
73287
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.getPerPage = function () {
|
|
73288
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
73289
|
+
};
|
|
73290
|
+
/**
|
|
73291
|
+
* @param {number} value
|
|
73292
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
|
|
73293
|
+
*/
|
|
73294
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.setPerPage = function (value) {
|
|
73295
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
73296
|
+
};
|
|
73297
|
+
/**
|
|
73298
|
+
* List of repeated fields within this message type.
|
|
73299
|
+
* @private {!Array<number>}
|
|
73300
|
+
* @const
|
|
73301
|
+
*/
|
|
73302
|
+
proto.clarifai.api.PostDeploymentsRequest.repeatedFields_ = [2];
|
|
73303
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
73304
|
+
/**
|
|
73305
|
+
* Creates an object representation of this proto.
|
|
73306
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
73307
|
+
* Optional fields that are not set will be set to undefined.
|
|
73308
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
73309
|
+
* For the list of reserved names please see:
|
|
73310
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
73311
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
73312
|
+
* JSPB instance for transitional soy proto support:
|
|
73313
|
+
* http://goto/soy-param-migration
|
|
73314
|
+
* @return {!Object}
|
|
73315
|
+
*/
|
|
73316
|
+
proto.clarifai.api.PostDeploymentsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
73317
|
+
return proto.clarifai.api.PostDeploymentsRequest.toObject(opt_includeInstance, this);
|
|
73318
|
+
};
|
|
73319
|
+
/**
|
|
73320
|
+
* Static version of the {@see toObject} method.
|
|
73321
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
73322
|
+
* the JSPB instance for transitional soy proto support:
|
|
73323
|
+
* http://goto/soy-param-migration
|
|
73324
|
+
* @param {!proto.clarifai.api.PostDeploymentsRequest} msg The msg instance to transform.
|
|
73325
|
+
* @return {!Object}
|
|
73326
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
73327
|
+
*/
|
|
73328
|
+
proto.clarifai.api.PostDeploymentsRequest.toObject = function (includeInstance, msg) {
|
|
73329
|
+
var f, obj = {
|
|
73330
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
73331
|
+
deploymentsList: jspb.Message.toObjectList(msg.getDeploymentsList(), proto_clarifai_api_resources_pb.Deployment.toObject, includeInstance)
|
|
73332
|
+
};
|
|
73333
|
+
if (includeInstance) {
|
|
73334
|
+
obj.$jspbMessageInstance = msg;
|
|
73335
|
+
}
|
|
73336
|
+
return obj;
|
|
73337
|
+
};
|
|
73338
|
+
}
|
|
73339
|
+
/**
|
|
73340
|
+
* Deserializes binary data (in protobuf wire format).
|
|
73341
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
73342
|
+
* @return {!proto.clarifai.api.PostDeploymentsRequest}
|
|
73343
|
+
*/
|
|
73344
|
+
proto.clarifai.api.PostDeploymentsRequest.deserializeBinary = function (bytes) {
|
|
73345
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
73346
|
+
var msg = new proto.clarifai.api.PostDeploymentsRequest;
|
|
73347
|
+
return proto.clarifai.api.PostDeploymentsRequest.deserializeBinaryFromReader(msg, reader);
|
|
73348
|
+
};
|
|
73349
|
+
/**
|
|
73350
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
73351
|
+
* given reader into the given message object.
|
|
73352
|
+
* @param {!proto.clarifai.api.PostDeploymentsRequest} msg The message object to deserialize into.
|
|
73353
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
73354
|
+
* @return {!proto.clarifai.api.PostDeploymentsRequest}
|
|
73355
|
+
*/
|
|
73356
|
+
proto.clarifai.api.PostDeploymentsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
73357
|
+
while (reader.nextField()) {
|
|
73358
|
+
if (reader.isEndGroup()) {
|
|
73359
|
+
break;
|
|
73360
|
+
}
|
|
73361
|
+
var field = reader.getFieldNumber();
|
|
73362
|
+
switch (field) {
|
|
73363
|
+
case 1:
|
|
73364
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
73365
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
73366
|
+
msg.setUserAppId(value);
|
|
73367
|
+
break;
|
|
73368
|
+
case 2:
|
|
73369
|
+
var value = new proto_clarifai_api_resources_pb.Deployment;
|
|
73370
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.Deployment.deserializeBinaryFromReader);
|
|
73371
|
+
msg.addDeployments(value);
|
|
73372
|
+
break;
|
|
73373
|
+
default:
|
|
73374
|
+
reader.skipField();
|
|
73375
|
+
break;
|
|
73376
|
+
}
|
|
73377
|
+
}
|
|
73378
|
+
return msg;
|
|
73379
|
+
};
|
|
73380
|
+
/**
|
|
73381
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
73382
|
+
* @return {!Uint8Array}
|
|
73383
|
+
*/
|
|
73384
|
+
proto.clarifai.api.PostDeploymentsRequest.prototype.serializeBinary = function () {
|
|
73385
|
+
var writer = new jspb.BinaryWriter();
|
|
73386
|
+
proto.clarifai.api.PostDeploymentsRequest.serializeBinaryToWriter(this, writer);
|
|
73387
|
+
return writer.getResultBuffer();
|
|
73388
|
+
};
|
|
73389
|
+
/**
|
|
73390
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
73391
|
+
* format), writing to the given BinaryWriter.
|
|
73392
|
+
* @param {!proto.clarifai.api.PostDeploymentsRequest} message
|
|
73393
|
+
* @param {!jspb.BinaryWriter} writer
|
|
73394
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
73395
|
+
*/
|
|
73396
|
+
proto.clarifai.api.PostDeploymentsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
73397
|
+
var f = undefined;
|
|
73398
|
+
f = message.getUserAppId();
|
|
73399
|
+
if (f != null) {
|
|
73400
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
73401
|
+
}
|
|
73402
|
+
f = message.getDeploymentsList();
|
|
73403
|
+
if (f.length > 0) {
|
|
73404
|
+
writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.Deployment.serializeBinaryToWriter);
|
|
73405
|
+
}
|
|
73406
|
+
};
|
|
73407
|
+
/**
|
|
73408
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
73409
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
73410
|
+
*/
|
|
73411
|
+
proto.clarifai.api.PostDeploymentsRequest.prototype.getUserAppId = function () {
|
|
73412
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
73413
|
+
};
|
|
73414
|
+
/**
|
|
73415
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
73416
|
+
* @return {!proto.clarifai.api.PostDeploymentsRequest} returns this
|
|
73417
|
+
*/
|
|
73418
|
+
proto.clarifai.api.PostDeploymentsRequest.prototype.setUserAppId = function (value) {
|
|
73419
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
73420
|
+
};
|
|
73421
|
+
/**
|
|
73422
|
+
* Clears the message field making it undefined.
|
|
73423
|
+
* @return {!proto.clarifai.api.PostDeploymentsRequest} returns this
|
|
73424
|
+
*/
|
|
73425
|
+
proto.clarifai.api.PostDeploymentsRequest.prototype.clearUserAppId = function () {
|
|
73426
|
+
return this.setUserAppId(undefined);
|
|
73427
|
+
};
|
|
73428
|
+
/**
|
|
73429
|
+
* Returns whether this field is set.
|
|
73430
|
+
* @return {boolean}
|
|
73431
|
+
*/
|
|
73432
|
+
proto.clarifai.api.PostDeploymentsRequest.prototype.hasUserAppId = function () {
|
|
73433
|
+
return jspb.Message.getField(this, 1) != null;
|
|
73434
|
+
};
|
|
73435
|
+
/**
|
|
73436
|
+
* repeated Deployment deployments = 2;
|
|
73437
|
+
* @return {!Array<!proto.clarifai.api.Deployment>}
|
|
73438
|
+
*/
|
|
73439
|
+
proto.clarifai.api.PostDeploymentsRequest.prototype.getDeploymentsList = function () {
|
|
73440
|
+
return /** @type{!Array<!proto.clarifai.api.Deployment>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Deployment, 2));
|
|
73441
|
+
};
|
|
73442
|
+
/**
|
|
73443
|
+
* @param {!Array<!proto.clarifai.api.Deployment>} value
|
|
73444
|
+
* @return {!proto.clarifai.api.PostDeploymentsRequest} returns this
|
|
73445
|
+
*/
|
|
73446
|
+
proto.clarifai.api.PostDeploymentsRequest.prototype.setDeploymentsList = function (value) {
|
|
73447
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
73448
|
+
};
|
|
73449
|
+
/**
|
|
73450
|
+
* @param {!proto.clarifai.api.Deployment=} opt_value
|
|
73451
|
+
* @param {number=} opt_index
|
|
73452
|
+
* @return {!proto.clarifai.api.Deployment}
|
|
73453
|
+
*/
|
|
73454
|
+
proto.clarifai.api.PostDeploymentsRequest.prototype.addDeployments = function (opt_value, opt_index) {
|
|
73455
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.Deployment, opt_index);
|
|
73456
|
+
};
|
|
73457
|
+
/**
|
|
73458
|
+
* Clears the list making it empty but non-null.
|
|
73459
|
+
* @return {!proto.clarifai.api.PostDeploymentsRequest} returns this
|
|
73460
|
+
*/
|
|
73461
|
+
proto.clarifai.api.PostDeploymentsRequest.prototype.clearDeploymentsList = function () {
|
|
73462
|
+
return this.setDeploymentsList([]);
|
|
73463
|
+
};
|
|
73464
|
+
/**
|
|
73465
|
+
* List of repeated fields within this message type.
|
|
73466
|
+
* @private {!Array<number>}
|
|
73467
|
+
* @const
|
|
73468
|
+
*/
|
|
73469
|
+
proto.clarifai.api.DeleteDeploymentsRequest.repeatedFields_ = [2];
|
|
73470
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
73471
|
+
/**
|
|
73472
|
+
* Creates an object representation of this proto.
|
|
73473
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
73474
|
+
* Optional fields that are not set will be set to undefined.
|
|
73475
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
73476
|
+
* For the list of reserved names please see:
|
|
73477
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
73478
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
73479
|
+
* JSPB instance for transitional soy proto support:
|
|
73480
|
+
* http://goto/soy-param-migration
|
|
73481
|
+
* @return {!Object}
|
|
73482
|
+
*/
|
|
73483
|
+
proto.clarifai.api.DeleteDeploymentsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
73484
|
+
return proto.clarifai.api.DeleteDeploymentsRequest.toObject(opt_includeInstance, this);
|
|
73485
|
+
};
|
|
73486
|
+
/**
|
|
73487
|
+
* Static version of the {@see toObject} method.
|
|
73488
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
73489
|
+
* the JSPB instance for transitional soy proto support:
|
|
73490
|
+
* http://goto/soy-param-migration
|
|
73491
|
+
* @param {!proto.clarifai.api.DeleteDeploymentsRequest} msg The msg instance to transform.
|
|
73492
|
+
* @return {!Object}
|
|
73493
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
73494
|
+
*/
|
|
73495
|
+
proto.clarifai.api.DeleteDeploymentsRequest.toObject = function (includeInstance, msg) {
|
|
73496
|
+
var f, obj = {
|
|
73497
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
73498
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
73499
|
+
};
|
|
73500
|
+
if (includeInstance) {
|
|
73501
|
+
obj.$jspbMessageInstance = msg;
|
|
73502
|
+
}
|
|
73503
|
+
return obj;
|
|
73504
|
+
};
|
|
73505
|
+
}
|
|
73506
|
+
/**
|
|
73507
|
+
* Deserializes binary data (in protobuf wire format).
|
|
73508
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
73509
|
+
* @return {!proto.clarifai.api.DeleteDeploymentsRequest}
|
|
73510
|
+
*/
|
|
73511
|
+
proto.clarifai.api.DeleteDeploymentsRequest.deserializeBinary = function (bytes) {
|
|
73512
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
73513
|
+
var msg = new proto.clarifai.api.DeleteDeploymentsRequest;
|
|
73514
|
+
return proto.clarifai.api.DeleteDeploymentsRequest.deserializeBinaryFromReader(msg, reader);
|
|
73515
|
+
};
|
|
73516
|
+
/**
|
|
73517
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
73518
|
+
* given reader into the given message object.
|
|
73519
|
+
* @param {!proto.clarifai.api.DeleteDeploymentsRequest} msg The message object to deserialize into.
|
|
73520
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
73521
|
+
* @return {!proto.clarifai.api.DeleteDeploymentsRequest}
|
|
73522
|
+
*/
|
|
73523
|
+
proto.clarifai.api.DeleteDeploymentsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
73524
|
+
while (reader.nextField()) {
|
|
73525
|
+
if (reader.isEndGroup()) {
|
|
73526
|
+
break;
|
|
73527
|
+
}
|
|
73528
|
+
var field = reader.getFieldNumber();
|
|
73529
|
+
switch (field) {
|
|
73530
|
+
case 1:
|
|
73531
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
73532
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
73533
|
+
msg.setUserAppId(value);
|
|
73534
|
+
break;
|
|
73535
|
+
case 2:
|
|
73536
|
+
var value = /** @type {string} */ (reader.readString());
|
|
73537
|
+
msg.addIds(value);
|
|
73538
|
+
break;
|
|
73539
|
+
default:
|
|
73540
|
+
reader.skipField();
|
|
73541
|
+
break;
|
|
73542
|
+
}
|
|
73543
|
+
}
|
|
73544
|
+
return msg;
|
|
73545
|
+
};
|
|
73546
|
+
/**
|
|
73547
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
73548
|
+
* @return {!Uint8Array}
|
|
73549
|
+
*/
|
|
73550
|
+
proto.clarifai.api.DeleteDeploymentsRequest.prototype.serializeBinary = function () {
|
|
73551
|
+
var writer = new jspb.BinaryWriter();
|
|
73552
|
+
proto.clarifai.api.DeleteDeploymentsRequest.serializeBinaryToWriter(this, writer);
|
|
73553
|
+
return writer.getResultBuffer();
|
|
73554
|
+
};
|
|
73555
|
+
/**
|
|
73556
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
73557
|
+
* format), writing to the given BinaryWriter.
|
|
73558
|
+
* @param {!proto.clarifai.api.DeleteDeploymentsRequest} message
|
|
73559
|
+
* @param {!jspb.BinaryWriter} writer
|
|
73560
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
73561
|
+
*/
|
|
73562
|
+
proto.clarifai.api.DeleteDeploymentsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
73563
|
+
var f = undefined;
|
|
73564
|
+
f = message.getUserAppId();
|
|
73565
|
+
if (f != null) {
|
|
73566
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
73567
|
+
}
|
|
73568
|
+
f = message.getIdsList();
|
|
73569
|
+
if (f.length > 0) {
|
|
73570
|
+
writer.writeRepeatedString(2, f);
|
|
73571
|
+
}
|
|
73572
|
+
};
|
|
73573
|
+
/**
|
|
73574
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
73575
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
73576
|
+
*/
|
|
73577
|
+
proto.clarifai.api.DeleteDeploymentsRequest.prototype.getUserAppId = function () {
|
|
73578
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
73579
|
+
};
|
|
73580
|
+
/**
|
|
73581
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
73582
|
+
* @return {!proto.clarifai.api.DeleteDeploymentsRequest} returns this
|
|
73583
|
+
*/
|
|
73584
|
+
proto.clarifai.api.DeleteDeploymentsRequest.prototype.setUserAppId = function (value) {
|
|
73585
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
73586
|
+
};
|
|
73587
|
+
/**
|
|
73588
|
+
* Clears the message field making it undefined.
|
|
73589
|
+
* @return {!proto.clarifai.api.DeleteDeploymentsRequest} returns this
|
|
73590
|
+
*/
|
|
73591
|
+
proto.clarifai.api.DeleteDeploymentsRequest.prototype.clearUserAppId = function () {
|
|
73592
|
+
return this.setUserAppId(undefined);
|
|
73593
|
+
};
|
|
73594
|
+
/**
|
|
73595
|
+
* Returns whether this field is set.
|
|
73596
|
+
* @return {boolean}
|
|
73597
|
+
*/
|
|
73598
|
+
proto.clarifai.api.DeleteDeploymentsRequest.prototype.hasUserAppId = function () {
|
|
73599
|
+
return jspb.Message.getField(this, 1) != null;
|
|
73600
|
+
};
|
|
73601
|
+
/**
|
|
73602
|
+
* repeated string ids = 2;
|
|
73603
|
+
* @return {!Array<string>}
|
|
73604
|
+
*/
|
|
73605
|
+
proto.clarifai.api.DeleteDeploymentsRequest.prototype.getIdsList = function () {
|
|
73606
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
73607
|
+
};
|
|
73608
|
+
/**
|
|
73609
|
+
* @param {!Array<string>} value
|
|
73610
|
+
* @return {!proto.clarifai.api.DeleteDeploymentsRequest} returns this
|
|
73611
|
+
*/
|
|
73612
|
+
proto.clarifai.api.DeleteDeploymentsRequest.prototype.setIdsList = function (value) {
|
|
73613
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
73614
|
+
};
|
|
73615
|
+
/**
|
|
73616
|
+
* @param {string} value
|
|
73617
|
+
* @param {number=} opt_index
|
|
73618
|
+
* @return {!proto.clarifai.api.DeleteDeploymentsRequest} returns this
|
|
73619
|
+
*/
|
|
73620
|
+
proto.clarifai.api.DeleteDeploymentsRequest.prototype.addIds = function (value, opt_index) {
|
|
73621
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
73622
|
+
};
|
|
73623
|
+
/**
|
|
73624
|
+
* Clears the list making it empty but non-null.
|
|
73625
|
+
* @return {!proto.clarifai.api.DeleteDeploymentsRequest} returns this
|
|
73626
|
+
*/
|
|
73627
|
+
proto.clarifai.api.DeleteDeploymentsRequest.prototype.clearIdsList = function () {
|
|
73628
|
+
return this.setIdsList([]);
|
|
73629
|
+
};
|
|
73630
|
+
/**
|
|
73631
|
+
* List of repeated fields within this message type.
|
|
73632
|
+
* @private {!Array<number>}
|
|
73633
|
+
* @const
|
|
73634
|
+
*/
|
|
73635
|
+
proto.clarifai.api.PatchDeploymentsRequest.repeatedFields_ = [3];
|
|
73636
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
73637
|
+
/**
|
|
73638
|
+
* Creates an object representation of this proto.
|
|
73639
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
73640
|
+
* Optional fields that are not set will be set to undefined.
|
|
73641
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
73642
|
+
* For the list of reserved names please see:
|
|
73643
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
73644
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
73645
|
+
* JSPB instance for transitional soy proto support:
|
|
73646
|
+
* http://goto/soy-param-migration
|
|
73647
|
+
* @return {!Object}
|
|
73648
|
+
*/
|
|
73649
|
+
proto.clarifai.api.PatchDeploymentsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
73650
|
+
return proto.clarifai.api.PatchDeploymentsRequest.toObject(opt_includeInstance, this);
|
|
73651
|
+
};
|
|
73652
|
+
/**
|
|
73653
|
+
* Static version of the {@see toObject} method.
|
|
73654
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
73655
|
+
* the JSPB instance for transitional soy proto support:
|
|
73656
|
+
* http://goto/soy-param-migration
|
|
73657
|
+
* @param {!proto.clarifai.api.PatchDeploymentsRequest} msg The msg instance to transform.
|
|
73658
|
+
* @return {!Object}
|
|
73659
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
73660
|
+
*/
|
|
73661
|
+
proto.clarifai.api.PatchDeploymentsRequest.toObject = function (includeInstance, msg) {
|
|
73662
|
+
var f, obj = {
|
|
73663
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
73664
|
+
deploymentsList: jspb.Message.toObjectList(msg.getDeploymentsList(), proto_clarifai_api_resources_pb.Deployment.toObject, includeInstance),
|
|
73665
|
+
action: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
73666
|
+
};
|
|
73667
|
+
if (includeInstance) {
|
|
73668
|
+
obj.$jspbMessageInstance = msg;
|
|
73669
|
+
}
|
|
73670
|
+
return obj;
|
|
73671
|
+
};
|
|
73672
|
+
}
|
|
73673
|
+
/**
|
|
73674
|
+
* Deserializes binary data (in protobuf wire format).
|
|
73675
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
73676
|
+
* @return {!proto.clarifai.api.PatchDeploymentsRequest}
|
|
73677
|
+
*/
|
|
73678
|
+
proto.clarifai.api.PatchDeploymentsRequest.deserializeBinary = function (bytes) {
|
|
73679
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
73680
|
+
var msg = new proto.clarifai.api.PatchDeploymentsRequest;
|
|
73681
|
+
return proto.clarifai.api.PatchDeploymentsRequest.deserializeBinaryFromReader(msg, reader);
|
|
73682
|
+
};
|
|
73683
|
+
/**
|
|
73684
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
73685
|
+
* given reader into the given message object.
|
|
73686
|
+
* @param {!proto.clarifai.api.PatchDeploymentsRequest} msg The message object to deserialize into.
|
|
73687
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
73688
|
+
* @return {!proto.clarifai.api.PatchDeploymentsRequest}
|
|
73689
|
+
*/
|
|
73690
|
+
proto.clarifai.api.PatchDeploymentsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
73691
|
+
while (reader.nextField()) {
|
|
73692
|
+
if (reader.isEndGroup()) {
|
|
73693
|
+
break;
|
|
73694
|
+
}
|
|
73695
|
+
var field = reader.getFieldNumber();
|
|
73696
|
+
switch (field) {
|
|
73697
|
+
case 1:
|
|
73698
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
73699
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
73700
|
+
msg.setUserAppId(value);
|
|
73701
|
+
break;
|
|
73702
|
+
case 3:
|
|
73703
|
+
var value = new proto_clarifai_api_resources_pb.Deployment;
|
|
73704
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.Deployment.deserializeBinaryFromReader);
|
|
73705
|
+
msg.addDeployments(value);
|
|
73706
|
+
break;
|
|
73707
|
+
case 4:
|
|
73708
|
+
var value = /** @type {string} */ (reader.readString());
|
|
73709
|
+
msg.setAction(value);
|
|
73710
|
+
break;
|
|
73711
|
+
default:
|
|
73712
|
+
reader.skipField();
|
|
73713
|
+
break;
|
|
73714
|
+
}
|
|
73715
|
+
}
|
|
73716
|
+
return msg;
|
|
73717
|
+
};
|
|
73718
|
+
/**
|
|
73719
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
73720
|
+
* @return {!Uint8Array}
|
|
73721
|
+
*/
|
|
73722
|
+
proto.clarifai.api.PatchDeploymentsRequest.prototype.serializeBinary = function () {
|
|
73723
|
+
var writer = new jspb.BinaryWriter();
|
|
73724
|
+
proto.clarifai.api.PatchDeploymentsRequest.serializeBinaryToWriter(this, writer);
|
|
73725
|
+
return writer.getResultBuffer();
|
|
73726
|
+
};
|
|
73727
|
+
/**
|
|
73728
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
73729
|
+
* format), writing to the given BinaryWriter.
|
|
73730
|
+
* @param {!proto.clarifai.api.PatchDeploymentsRequest} message
|
|
73731
|
+
* @param {!jspb.BinaryWriter} writer
|
|
73732
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
73733
|
+
*/
|
|
73734
|
+
proto.clarifai.api.PatchDeploymentsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
73735
|
+
var f = undefined;
|
|
73736
|
+
f = message.getUserAppId();
|
|
73737
|
+
if (f != null) {
|
|
73738
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
73739
|
+
}
|
|
73740
|
+
f = message.getDeploymentsList();
|
|
73741
|
+
if (f.length > 0) {
|
|
73742
|
+
writer.writeRepeatedMessage(3, f, proto_clarifai_api_resources_pb.Deployment.serializeBinaryToWriter);
|
|
73743
|
+
}
|
|
73744
|
+
f = message.getAction();
|
|
73745
|
+
if (f.length > 0) {
|
|
73746
|
+
writer.writeString(4, f);
|
|
73747
|
+
}
|
|
73748
|
+
};
|
|
73749
|
+
/**
|
|
73750
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
73751
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
73752
|
+
*/
|
|
73753
|
+
proto.clarifai.api.PatchDeploymentsRequest.prototype.getUserAppId = function () {
|
|
73754
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
73755
|
+
};
|
|
73756
|
+
/**
|
|
73757
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
73758
|
+
* @return {!proto.clarifai.api.PatchDeploymentsRequest} returns this
|
|
73759
|
+
*/
|
|
73760
|
+
proto.clarifai.api.PatchDeploymentsRequest.prototype.setUserAppId = function (value) {
|
|
73761
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
73762
|
+
};
|
|
73763
|
+
/**
|
|
73764
|
+
* Clears the message field making it undefined.
|
|
73765
|
+
* @return {!proto.clarifai.api.PatchDeploymentsRequest} returns this
|
|
73766
|
+
*/
|
|
73767
|
+
proto.clarifai.api.PatchDeploymentsRequest.prototype.clearUserAppId = function () {
|
|
73768
|
+
return this.setUserAppId(undefined);
|
|
73769
|
+
};
|
|
73770
|
+
/**
|
|
73771
|
+
* Returns whether this field is set.
|
|
73772
|
+
* @return {boolean}
|
|
73773
|
+
*/
|
|
73774
|
+
proto.clarifai.api.PatchDeploymentsRequest.prototype.hasUserAppId = function () {
|
|
73775
|
+
return jspb.Message.getField(this, 1) != null;
|
|
73776
|
+
};
|
|
73777
|
+
/**
|
|
73778
|
+
* repeated Deployment deployments = 3;
|
|
73779
|
+
* @return {!Array<!proto.clarifai.api.Deployment>}
|
|
73780
|
+
*/
|
|
73781
|
+
proto.clarifai.api.PatchDeploymentsRequest.prototype.getDeploymentsList = function () {
|
|
73782
|
+
return /** @type{!Array<!proto.clarifai.api.Deployment>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Deployment, 3));
|
|
73783
|
+
};
|
|
73784
|
+
/**
|
|
73785
|
+
* @param {!Array<!proto.clarifai.api.Deployment>} value
|
|
73786
|
+
* @return {!proto.clarifai.api.PatchDeploymentsRequest} returns this
|
|
73787
|
+
*/
|
|
73788
|
+
proto.clarifai.api.PatchDeploymentsRequest.prototype.setDeploymentsList = function (value) {
|
|
73789
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
73790
|
+
};
|
|
73791
|
+
/**
|
|
73792
|
+
* @param {!proto.clarifai.api.Deployment=} opt_value
|
|
73793
|
+
* @param {number=} opt_index
|
|
73794
|
+
* @return {!proto.clarifai.api.Deployment}
|
|
73795
|
+
*/
|
|
73796
|
+
proto.clarifai.api.PatchDeploymentsRequest.prototype.addDeployments = function (opt_value, opt_index) {
|
|
73797
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.Deployment, opt_index);
|
|
73798
|
+
};
|
|
73799
|
+
/**
|
|
73800
|
+
* Clears the list making it empty but non-null.
|
|
73801
|
+
* @return {!proto.clarifai.api.PatchDeploymentsRequest} returns this
|
|
73802
|
+
*/
|
|
73803
|
+
proto.clarifai.api.PatchDeploymentsRequest.prototype.clearDeploymentsList = function () {
|
|
73804
|
+
return this.setDeploymentsList([]);
|
|
73805
|
+
};
|
|
73806
|
+
/**
|
|
73807
|
+
* optional string action = 4;
|
|
73808
|
+
* @return {string}
|
|
73809
|
+
*/
|
|
73810
|
+
proto.clarifai.api.PatchDeploymentsRequest.prototype.getAction = function () {
|
|
73811
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
73812
|
+
};
|
|
73813
|
+
/**
|
|
73814
|
+
* @param {string} value
|
|
73815
|
+
* @return {!proto.clarifai.api.PatchDeploymentsRequest} returns this
|
|
73816
|
+
*/
|
|
73817
|
+
proto.clarifai.api.PatchDeploymentsRequest.prototype.setAction = function (value) {
|
|
73818
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
73819
|
+
};
|
|
73820
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
73821
|
+
/**
|
|
73822
|
+
* Creates an object representation of this proto.
|
|
73823
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
73824
|
+
* Optional fields that are not set will be set to undefined.
|
|
73825
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
73826
|
+
* For the list of reserved names please see:
|
|
73827
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
73828
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
73829
|
+
* JSPB instance for transitional soy proto support:
|
|
73830
|
+
* http://goto/soy-param-migration
|
|
73831
|
+
* @return {!Object}
|
|
73832
|
+
*/
|
|
73833
|
+
proto.clarifai.api.SingleDeploymentResponse.prototype.toObject = function (opt_includeInstance) {
|
|
73834
|
+
return proto.clarifai.api.SingleDeploymentResponse.toObject(opt_includeInstance, this);
|
|
73835
|
+
};
|
|
73836
|
+
/**
|
|
73837
|
+
* Static version of the {@see toObject} method.
|
|
73838
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
73839
|
+
* the JSPB instance for transitional soy proto support:
|
|
73840
|
+
* http://goto/soy-param-migration
|
|
73841
|
+
* @param {!proto.clarifai.api.SingleDeploymentResponse} msg The msg instance to transform.
|
|
73842
|
+
* @return {!Object}
|
|
73843
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
73844
|
+
*/
|
|
73845
|
+
proto.clarifai.api.SingleDeploymentResponse.toObject = function (includeInstance, msg) {
|
|
73846
|
+
var f, obj = {
|
|
73847
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
73848
|
+
deployment: (f = msg.getDeployment()) && proto_clarifai_api_resources_pb.Deployment.toObject(includeInstance, f)
|
|
73849
|
+
};
|
|
73850
|
+
if (includeInstance) {
|
|
73851
|
+
obj.$jspbMessageInstance = msg;
|
|
73852
|
+
}
|
|
73853
|
+
return obj;
|
|
73854
|
+
};
|
|
73855
|
+
}
|
|
73856
|
+
/**
|
|
73857
|
+
* Deserializes binary data (in protobuf wire format).
|
|
73858
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
73859
|
+
* @return {!proto.clarifai.api.SingleDeploymentResponse}
|
|
73860
|
+
*/
|
|
73861
|
+
proto.clarifai.api.SingleDeploymentResponse.deserializeBinary = function (bytes) {
|
|
73862
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
73863
|
+
var msg = new proto.clarifai.api.SingleDeploymentResponse;
|
|
73864
|
+
return proto.clarifai.api.SingleDeploymentResponse.deserializeBinaryFromReader(msg, reader);
|
|
73865
|
+
};
|
|
73866
|
+
/**
|
|
73867
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
73868
|
+
* given reader into the given message object.
|
|
73869
|
+
* @param {!proto.clarifai.api.SingleDeploymentResponse} msg The message object to deserialize into.
|
|
73870
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
73871
|
+
* @return {!proto.clarifai.api.SingleDeploymentResponse}
|
|
73872
|
+
*/
|
|
73873
|
+
proto.clarifai.api.SingleDeploymentResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
73874
|
+
while (reader.nextField()) {
|
|
73875
|
+
if (reader.isEndGroup()) {
|
|
73876
|
+
break;
|
|
73877
|
+
}
|
|
73878
|
+
var field = reader.getFieldNumber();
|
|
73879
|
+
switch (field) {
|
|
73880
|
+
case 1:
|
|
73881
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
73882
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
73883
|
+
msg.setStatus(value);
|
|
73884
|
+
break;
|
|
73885
|
+
case 2:
|
|
73886
|
+
var value = new proto_clarifai_api_resources_pb.Deployment;
|
|
73887
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.Deployment.deserializeBinaryFromReader);
|
|
73888
|
+
msg.setDeployment(value);
|
|
73889
|
+
break;
|
|
73890
|
+
default:
|
|
73891
|
+
reader.skipField();
|
|
73892
|
+
break;
|
|
73893
|
+
}
|
|
73894
|
+
}
|
|
73895
|
+
return msg;
|
|
73896
|
+
};
|
|
73897
|
+
/**
|
|
73898
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
73899
|
+
* @return {!Uint8Array}
|
|
73900
|
+
*/
|
|
73901
|
+
proto.clarifai.api.SingleDeploymentResponse.prototype.serializeBinary = function () {
|
|
73902
|
+
var writer = new jspb.BinaryWriter();
|
|
73903
|
+
proto.clarifai.api.SingleDeploymentResponse.serializeBinaryToWriter(this, writer);
|
|
73904
|
+
return writer.getResultBuffer();
|
|
73905
|
+
};
|
|
73906
|
+
/**
|
|
73907
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
73908
|
+
* format), writing to the given BinaryWriter.
|
|
73909
|
+
* @param {!proto.clarifai.api.SingleDeploymentResponse} message
|
|
73910
|
+
* @param {!jspb.BinaryWriter} writer
|
|
73911
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
73912
|
+
*/
|
|
73913
|
+
proto.clarifai.api.SingleDeploymentResponse.serializeBinaryToWriter = function (message, writer) {
|
|
73914
|
+
var f = undefined;
|
|
73915
|
+
f = message.getStatus();
|
|
73916
|
+
if (f != null) {
|
|
73917
|
+
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
73918
|
+
}
|
|
73919
|
+
f = message.getDeployment();
|
|
73920
|
+
if (f != null) {
|
|
73921
|
+
writer.writeMessage(2, f, proto_clarifai_api_resources_pb.Deployment.serializeBinaryToWriter);
|
|
73922
|
+
}
|
|
73923
|
+
};
|
|
73924
|
+
/**
|
|
73925
|
+
* optional status.Status status = 1;
|
|
73926
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
73927
|
+
*/
|
|
73928
|
+
proto.clarifai.api.SingleDeploymentResponse.prototype.getStatus = function () {
|
|
73929
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
73930
|
+
};
|
|
73931
|
+
/**
|
|
73932
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
73933
|
+
* @return {!proto.clarifai.api.SingleDeploymentResponse} returns this
|
|
73934
|
+
*/
|
|
73935
|
+
proto.clarifai.api.SingleDeploymentResponse.prototype.setStatus = function (value) {
|
|
73936
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
73937
|
+
};
|
|
73938
|
+
/**
|
|
73939
|
+
* Clears the message field making it undefined.
|
|
73940
|
+
* @return {!proto.clarifai.api.SingleDeploymentResponse} returns this
|
|
73941
|
+
*/
|
|
73942
|
+
proto.clarifai.api.SingleDeploymentResponse.prototype.clearStatus = function () {
|
|
73943
|
+
return this.setStatus(undefined);
|
|
73944
|
+
};
|
|
73945
|
+
/**
|
|
73946
|
+
* Returns whether this field is set.
|
|
73947
|
+
* @return {boolean}
|
|
73948
|
+
*/
|
|
73949
|
+
proto.clarifai.api.SingleDeploymentResponse.prototype.hasStatus = function () {
|
|
73950
|
+
return jspb.Message.getField(this, 1) != null;
|
|
73951
|
+
};
|
|
73952
|
+
/**
|
|
73953
|
+
* optional Deployment deployment = 2;
|
|
73954
|
+
* @return {?proto.clarifai.api.Deployment}
|
|
73955
|
+
*/
|
|
73956
|
+
proto.clarifai.api.SingleDeploymentResponse.prototype.getDeployment = function () {
|
|
73957
|
+
return /** @type{?proto.clarifai.api.Deployment} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Deployment, 2));
|
|
73958
|
+
};
|
|
73959
|
+
/**
|
|
73960
|
+
* @param {?proto.clarifai.api.Deployment|undefined} value
|
|
73961
|
+
* @return {!proto.clarifai.api.SingleDeploymentResponse} returns this
|
|
73962
|
+
*/
|
|
73963
|
+
proto.clarifai.api.SingleDeploymentResponse.prototype.setDeployment = function (value) {
|
|
73964
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
73965
|
+
};
|
|
73966
|
+
/**
|
|
73967
|
+
* Clears the message field making it undefined.
|
|
73968
|
+
* @return {!proto.clarifai.api.SingleDeploymentResponse} returns this
|
|
73969
|
+
*/
|
|
73970
|
+
proto.clarifai.api.SingleDeploymentResponse.prototype.clearDeployment = function () {
|
|
73971
|
+
return this.setDeployment(undefined);
|
|
73972
|
+
};
|
|
73973
|
+
/**
|
|
73974
|
+
* Returns whether this field is set.
|
|
73975
|
+
* @return {boolean}
|
|
73976
|
+
*/
|
|
73977
|
+
proto.clarifai.api.SingleDeploymentResponse.prototype.hasDeployment = function () {
|
|
73978
|
+
return jspb.Message.getField(this, 2) != null;
|
|
73979
|
+
};
|
|
73980
|
+
/**
|
|
73981
|
+
* List of repeated fields within this message type.
|
|
73982
|
+
* @private {!Array<number>}
|
|
73983
|
+
* @const
|
|
73984
|
+
*/
|
|
73985
|
+
proto.clarifai.api.MultiDeploymentResponse.repeatedFields_ = [2];
|
|
73986
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
73987
|
+
/**
|
|
73988
|
+
* Creates an object representation of this proto.
|
|
73989
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
73990
|
+
* Optional fields that are not set will be set to undefined.
|
|
73991
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
73992
|
+
* For the list of reserved names please see:
|
|
73993
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
73994
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
73995
|
+
* JSPB instance for transitional soy proto support:
|
|
73996
|
+
* http://goto/soy-param-migration
|
|
73997
|
+
* @return {!Object}
|
|
73998
|
+
*/
|
|
73999
|
+
proto.clarifai.api.MultiDeploymentResponse.prototype.toObject = function (opt_includeInstance) {
|
|
74000
|
+
return proto.clarifai.api.MultiDeploymentResponse.toObject(opt_includeInstance, this);
|
|
74001
|
+
};
|
|
74002
|
+
/**
|
|
74003
|
+
* Static version of the {@see toObject} method.
|
|
74004
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
74005
|
+
* the JSPB instance for transitional soy proto support:
|
|
74006
|
+
* http://goto/soy-param-migration
|
|
74007
|
+
* @param {!proto.clarifai.api.MultiDeploymentResponse} msg The msg instance to transform.
|
|
74008
|
+
* @return {!Object}
|
|
74009
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
74010
|
+
*/
|
|
74011
|
+
proto.clarifai.api.MultiDeploymentResponse.toObject = function (includeInstance, msg) {
|
|
74012
|
+
var f, obj = {
|
|
74013
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
74014
|
+
deploymentsList: jspb.Message.toObjectList(msg.getDeploymentsList(), proto_clarifai_api_resources_pb.Deployment.toObject, includeInstance)
|
|
74015
|
+
};
|
|
74016
|
+
if (includeInstance) {
|
|
74017
|
+
obj.$jspbMessageInstance = msg;
|
|
74018
|
+
}
|
|
74019
|
+
return obj;
|
|
74020
|
+
};
|
|
74021
|
+
}
|
|
74022
|
+
/**
|
|
74023
|
+
* Deserializes binary data (in protobuf wire format).
|
|
74024
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
74025
|
+
* @return {!proto.clarifai.api.MultiDeploymentResponse}
|
|
74026
|
+
*/
|
|
74027
|
+
proto.clarifai.api.MultiDeploymentResponse.deserializeBinary = function (bytes) {
|
|
74028
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
74029
|
+
var msg = new proto.clarifai.api.MultiDeploymentResponse;
|
|
74030
|
+
return proto.clarifai.api.MultiDeploymentResponse.deserializeBinaryFromReader(msg, reader);
|
|
74031
|
+
};
|
|
74032
|
+
/**
|
|
74033
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
74034
|
+
* given reader into the given message object.
|
|
74035
|
+
* @param {!proto.clarifai.api.MultiDeploymentResponse} msg The message object to deserialize into.
|
|
74036
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
74037
|
+
* @return {!proto.clarifai.api.MultiDeploymentResponse}
|
|
74038
|
+
*/
|
|
74039
|
+
proto.clarifai.api.MultiDeploymentResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
74040
|
+
while (reader.nextField()) {
|
|
74041
|
+
if (reader.isEndGroup()) {
|
|
74042
|
+
break;
|
|
74043
|
+
}
|
|
74044
|
+
var field = reader.getFieldNumber();
|
|
74045
|
+
switch (field) {
|
|
74046
|
+
case 1:
|
|
74047
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
74048
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
74049
|
+
msg.setStatus(value);
|
|
74050
|
+
break;
|
|
74051
|
+
case 2:
|
|
74052
|
+
var value = new proto_clarifai_api_resources_pb.Deployment;
|
|
74053
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.Deployment.deserializeBinaryFromReader);
|
|
74054
|
+
msg.addDeployments(value);
|
|
74055
|
+
break;
|
|
74056
|
+
default:
|
|
74057
|
+
reader.skipField();
|
|
74058
|
+
break;
|
|
74059
|
+
}
|
|
74060
|
+
}
|
|
74061
|
+
return msg;
|
|
74062
|
+
};
|
|
74063
|
+
/**
|
|
74064
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
74065
|
+
* @return {!Uint8Array}
|
|
74066
|
+
*/
|
|
74067
|
+
proto.clarifai.api.MultiDeploymentResponse.prototype.serializeBinary = function () {
|
|
74068
|
+
var writer = new jspb.BinaryWriter();
|
|
74069
|
+
proto.clarifai.api.MultiDeploymentResponse.serializeBinaryToWriter(this, writer);
|
|
74070
|
+
return writer.getResultBuffer();
|
|
74071
|
+
};
|
|
74072
|
+
/**
|
|
74073
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
74074
|
+
* format), writing to the given BinaryWriter.
|
|
74075
|
+
* @param {!proto.clarifai.api.MultiDeploymentResponse} message
|
|
74076
|
+
* @param {!jspb.BinaryWriter} writer
|
|
74077
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
74078
|
+
*/
|
|
74079
|
+
proto.clarifai.api.MultiDeploymentResponse.serializeBinaryToWriter = function (message, writer) {
|
|
74080
|
+
var f = undefined;
|
|
74081
|
+
f = message.getStatus();
|
|
74082
|
+
if (f != null) {
|
|
74083
|
+
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
74084
|
+
}
|
|
74085
|
+
f = message.getDeploymentsList();
|
|
74086
|
+
if (f.length > 0) {
|
|
74087
|
+
writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.Deployment.serializeBinaryToWriter);
|
|
74088
|
+
}
|
|
74089
|
+
};
|
|
74090
|
+
/**
|
|
74091
|
+
* optional status.Status status = 1;
|
|
74092
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
74093
|
+
*/
|
|
74094
|
+
proto.clarifai.api.MultiDeploymentResponse.prototype.getStatus = function () {
|
|
74095
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
74096
|
+
};
|
|
74097
|
+
/**
|
|
74098
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
74099
|
+
* @return {!proto.clarifai.api.MultiDeploymentResponse} returns this
|
|
74100
|
+
*/
|
|
74101
|
+
proto.clarifai.api.MultiDeploymentResponse.prototype.setStatus = function (value) {
|
|
74102
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
74103
|
+
};
|
|
74104
|
+
/**
|
|
74105
|
+
* Clears the message field making it undefined.
|
|
74106
|
+
* @return {!proto.clarifai.api.MultiDeploymentResponse} returns this
|
|
74107
|
+
*/
|
|
74108
|
+
proto.clarifai.api.MultiDeploymentResponse.prototype.clearStatus = function () {
|
|
74109
|
+
return this.setStatus(undefined);
|
|
74110
|
+
};
|
|
74111
|
+
/**
|
|
74112
|
+
* Returns whether this field is set.
|
|
74113
|
+
* @return {boolean}
|
|
74114
|
+
*/
|
|
74115
|
+
proto.clarifai.api.MultiDeploymentResponse.prototype.hasStatus = function () {
|
|
74116
|
+
return jspb.Message.getField(this, 1) != null;
|
|
74117
|
+
};
|
|
74118
|
+
/**
|
|
74119
|
+
* repeated Deployment deployments = 2;
|
|
74120
|
+
* @return {!Array<!proto.clarifai.api.Deployment>}
|
|
74121
|
+
*/
|
|
74122
|
+
proto.clarifai.api.MultiDeploymentResponse.prototype.getDeploymentsList = function () {
|
|
74123
|
+
return /** @type{!Array<!proto.clarifai.api.Deployment>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Deployment, 2));
|
|
74124
|
+
};
|
|
74125
|
+
/**
|
|
74126
|
+
* @param {!Array<!proto.clarifai.api.Deployment>} value
|
|
74127
|
+
* @return {!proto.clarifai.api.MultiDeploymentResponse} returns this
|
|
74128
|
+
*/
|
|
74129
|
+
proto.clarifai.api.MultiDeploymentResponse.prototype.setDeploymentsList = function (value) {
|
|
74130
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
74131
|
+
};
|
|
74132
|
+
/**
|
|
74133
|
+
* @param {!proto.clarifai.api.Deployment=} opt_value
|
|
74134
|
+
* @param {number=} opt_index
|
|
74135
|
+
* @return {!proto.clarifai.api.Deployment}
|
|
74136
|
+
*/
|
|
74137
|
+
proto.clarifai.api.MultiDeploymentResponse.prototype.addDeployments = function (opt_value, opt_index) {
|
|
74138
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.Deployment, opt_index);
|
|
74139
|
+
};
|
|
74140
|
+
/**
|
|
74141
|
+
* Clears the list making it empty but non-null.
|
|
74142
|
+
* @return {!proto.clarifai.api.MultiDeploymentResponse} returns this
|
|
74143
|
+
*/
|
|
74144
|
+
proto.clarifai.api.MultiDeploymentResponse.prototype.clearDeploymentsList = function () {
|
|
74145
|
+
return this.setDeploymentsList([]);
|
|
74146
|
+
};
|
|
73161
74147
|
/**
|
|
73162
74148
|
* @enum {number}
|
|
73163
74149
|
*/
|