clarifai-web-grpc 4.1.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -2
- package/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +5352 -2060
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +336 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +2612 -166
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +14 -0
- package/dist/cjs/proto/clarifai/api/status/status_pb.js +237 -1
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +2 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +5352 -2060
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +336 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +2612 -166
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +14 -0
- package/dist/esm/proto/clarifai/api/status/status_pb.js +237 -1
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +2 -1
- package/package.json +1 -1
- package/package.json-E +52 -0
- package/proto/clarifai/api/resources_pb.d.ts +525 -31
- package/proto/clarifai/api/resources_pb.js +4300 -220
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +96 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +488 -0
- package/proto/clarifai/api/service_pb.d.ts +354 -0
- package/proto/clarifai/api/service_pb.js +3569 -531
- package/proto/clarifai/api/status/status_code_pb.d.ts +14 -0
- package/proto/clarifai/api/status/status_code_pb.js +14 -0
- package/proto/clarifai/api/status/status_pb.d.ts +36 -0
- package/proto/clarifai/api/status/status_pb.js +294 -1
- package/proto/clarifai/auth/scope/scope_pb.d.ts +1 -0
- package/proto/clarifai/auth/scope/scope_pb.js +2 -1
|
@@ -48,11 +48,13 @@ var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_
|
|
|
48
48
|
goog.object.extend(proto, google_protobuf_struct_pb);
|
|
49
49
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
50
50
|
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
51
|
+
goog.exportSymbol('proto.clarifai.api.CancelBulkOperationRequest', null, global);
|
|
51
52
|
goog.exportSymbol('proto.clarifai.api.DeleteAnnotationFiltersRequest', null, global);
|
|
52
53
|
goog.exportSymbol('proto.clarifai.api.DeleteAnnotationRequest', null, global);
|
|
53
54
|
goog.exportSymbol('proto.clarifai.api.DeleteAnnotationSearchMetricsRequest', null, global);
|
|
54
55
|
goog.exportSymbol('proto.clarifai.api.DeleteAnnotationsRequest', null, global);
|
|
55
56
|
goog.exportSymbol('proto.clarifai.api.DeleteAppRequest', null, global);
|
|
57
|
+
goog.exportSymbol('proto.clarifai.api.DeleteBulkOperationRequest', null, global);
|
|
56
58
|
goog.exportSymbol('proto.clarifai.api.DeleteCollaboratorsRequest', null, global);
|
|
57
59
|
goog.exportSymbol('proto.clarifai.api.DeleteCollectorsRequest', null, global);
|
|
58
60
|
goog.exportSymbol('proto.clarifai.api.DeleteConceptRelationsRequest', null, global);
|
|
@@ -76,11 +78,13 @@ goog.exportSymbol('proto.clarifai.api.GetAnnotationRequest', null, global);
|
|
|
76
78
|
goog.exportSymbol('proto.clarifai.api.GetAnnotationSearchMetricsRequest', null, global);
|
|
77
79
|
goog.exportSymbol('proto.clarifai.api.GetAppDuplicationRequest', null, global);
|
|
78
80
|
goog.exportSymbol('proto.clarifai.api.GetAppRequest', null, global);
|
|
81
|
+
goog.exportSymbol('proto.clarifai.api.GetBulkOperationRequest', null, global);
|
|
79
82
|
goog.exportSymbol('proto.clarifai.api.GetCollectorRequest', null, global);
|
|
80
83
|
goog.exportSymbol('proto.clarifai.api.GetConceptCountsRequest', null, global);
|
|
81
84
|
goog.exportSymbol('proto.clarifai.api.GetConceptLanguageRequest', null, global);
|
|
82
85
|
goog.exportSymbol('proto.clarifai.api.GetConceptRequest', null, global);
|
|
83
86
|
goog.exportSymbol('proto.clarifai.api.GetDatasetInputRequest', null, global);
|
|
87
|
+
goog.exportSymbol('proto.clarifai.api.GetDatasetInputsSearchAddJobRequest', null, global);
|
|
84
88
|
goog.exportSymbol('proto.clarifai.api.GetDatasetRequest', null, global);
|
|
85
89
|
goog.exportSymbol('proto.clarifai.api.GetDatasetVersionRequest', null, global);
|
|
86
90
|
goog.exportSymbol('proto.clarifai.api.GetInputCountRequest', null, global);
|
|
@@ -107,6 +111,7 @@ goog.exportSymbol('proto.clarifai.api.ListAppDuplicationsRequest', null, global)
|
|
|
107
111
|
goog.exportSymbol('proto.clarifai.api.ListAppKeysRequest', null, global);
|
|
108
112
|
goog.exportSymbol('proto.clarifai.api.ListAppsRequest', null, global);
|
|
109
113
|
goog.exportSymbol('proto.clarifai.api.ListAppsRequest.SortByCase', null, global);
|
|
114
|
+
goog.exportSymbol('proto.clarifai.api.ListBulkOperationsRequest', null, global);
|
|
110
115
|
goog.exportSymbol('proto.clarifai.api.ListCollaborationsRequest', null, global);
|
|
111
116
|
goog.exportSymbol('proto.clarifai.api.ListCollaboratorsRequest', null, global);
|
|
112
117
|
goog.exportSymbol('proto.clarifai.api.ListCollectorsRequest', null, global);
|
|
@@ -145,6 +150,7 @@ goog.exportSymbol('proto.clarifai.api.MultiAnnotationResponse', null, global);
|
|
|
145
150
|
goog.exportSymbol('proto.clarifai.api.MultiAnnotationSearchMetricsResponse', null, global);
|
|
146
151
|
goog.exportSymbol('proto.clarifai.api.MultiAppDuplicationsResponse', null, global);
|
|
147
152
|
goog.exportSymbol('proto.clarifai.api.MultiAppResponse', null, global);
|
|
153
|
+
goog.exportSymbol('proto.clarifai.api.MultiBulkOperationsResponse', null, global);
|
|
148
154
|
goog.exportSymbol('proto.clarifai.api.MultiCollaborationsResponse', null, global);
|
|
149
155
|
goog.exportSymbol('proto.clarifai.api.MultiCollaboratorsResponse', null, global);
|
|
150
156
|
goog.exportSymbol('proto.clarifai.api.MultiCollectorResponse', null, global);
|
|
@@ -193,6 +199,8 @@ goog.exportSymbol('proto.clarifai.api.PatchAnnotationsRequest', null, global);
|
|
|
193
199
|
goog.exportSymbol('proto.clarifai.api.PatchAnnotationsSearchesRequest', null, global);
|
|
194
200
|
goog.exportSymbol('proto.clarifai.api.PatchAnnotationsStatusRequest', null, global);
|
|
195
201
|
goog.exportSymbol('proto.clarifai.api.PatchAnnotationsStatusResponse', null, global);
|
|
202
|
+
goog.exportSymbol('proto.clarifai.api.PatchAppRequest', null, global);
|
|
203
|
+
goog.exportSymbol('proto.clarifai.api.PatchAppsIdsRequest', null, global);
|
|
196
204
|
goog.exportSymbol('proto.clarifai.api.PatchAppsRequest', null, global);
|
|
197
205
|
goog.exportSymbol('proto.clarifai.api.PatchCollaboratorsRequest', null, global);
|
|
198
206
|
goog.exportSymbol('proto.clarifai.api.PatchCollectorsRequest', null, global);
|
|
@@ -221,6 +229,7 @@ goog.exportSymbol('proto.clarifai.api.PostAnnotationsSearchesRequest', null, glo
|
|
|
221
229
|
goog.exportSymbol('proto.clarifai.api.PostAppDuplicationsRequest', null, global);
|
|
222
230
|
goog.exportSymbol('proto.clarifai.api.PostAppsRequest', null, global);
|
|
223
231
|
goog.exportSymbol('proto.clarifai.api.PostAppsSearchesRequest', null, global);
|
|
232
|
+
goog.exportSymbol('proto.clarifai.api.PostBulkOperationsRequest', null, global);
|
|
224
233
|
goog.exportSymbol('proto.clarifai.api.PostCollaboratorsRequest', null, global);
|
|
225
234
|
goog.exportSymbol('proto.clarifai.api.PostCollectorsRequest', null, global);
|
|
226
235
|
goog.exportSymbol('proto.clarifai.api.PostConceptLanguagesRequest', null, global);
|
|
@@ -261,10 +270,12 @@ goog.exportSymbol('proto.clarifai.api.SingleAnnotationFilterResponse', null, glo
|
|
|
261
270
|
goog.exportSymbol('proto.clarifai.api.SingleAnnotationResponse', null, global);
|
|
262
271
|
goog.exportSymbol('proto.clarifai.api.SingleAppDuplicationResponse', null, global);
|
|
263
272
|
goog.exportSymbol('proto.clarifai.api.SingleAppResponse', null, global);
|
|
273
|
+
goog.exportSymbol('proto.clarifai.api.SingleBulkOperationsResponse', null, global);
|
|
264
274
|
goog.exportSymbol('proto.clarifai.api.SingleCollectorResponse', null, global);
|
|
265
275
|
goog.exportSymbol('proto.clarifai.api.SingleConceptLanguageResponse', null, global);
|
|
266
276
|
goog.exportSymbol('proto.clarifai.api.SingleConceptResponse', null, global);
|
|
267
277
|
goog.exportSymbol('proto.clarifai.api.SingleDatasetInputResponse', null, global);
|
|
278
|
+
goog.exportSymbol('proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse', null, global);
|
|
268
279
|
goog.exportSymbol('proto.clarifai.api.SingleDatasetResponse', null, global);
|
|
269
280
|
goog.exportSymbol('proto.clarifai.api.SingleDatasetVersionResponse', null, global);
|
|
270
281
|
goog.exportSymbol('proto.clarifai.api.SingleInputCountResponse', null, global);
|
|
@@ -621,6 +632,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
621
632
|
*/
|
|
622
633
|
proto.clarifai.api.PatchAppsRequest.displayName = 'proto.clarifai.api.PatchAppsRequest';
|
|
623
634
|
}
|
|
635
|
+
/**
|
|
636
|
+
* Generated by JsPbCodeGenerator.
|
|
637
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
638
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
639
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
640
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
641
|
+
* valid.
|
|
642
|
+
* @extends {jspb.Message}
|
|
643
|
+
* @constructor
|
|
644
|
+
*/
|
|
645
|
+
proto.clarifai.api.PatchAppRequest = function (opt_data) {
|
|
646
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
647
|
+
};
|
|
648
|
+
goog.inherits(proto.clarifai.api.PatchAppRequest, jspb.Message);
|
|
649
|
+
if (goog.DEBUG && !COMPILED) {
|
|
650
|
+
/**
|
|
651
|
+
* @public
|
|
652
|
+
* @override
|
|
653
|
+
*/
|
|
654
|
+
proto.clarifai.api.PatchAppRequest.displayName = 'proto.clarifai.api.PatchAppRequest';
|
|
655
|
+
}
|
|
656
|
+
/**
|
|
657
|
+
* Generated by JsPbCodeGenerator.
|
|
658
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
659
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
660
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
661
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
662
|
+
* valid.
|
|
663
|
+
* @extends {jspb.Message}
|
|
664
|
+
* @constructor
|
|
665
|
+
*/
|
|
666
|
+
proto.clarifai.api.PatchAppsIdsRequest = function (opt_data) {
|
|
667
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PatchAppsIdsRequest.repeatedFields_, null);
|
|
668
|
+
};
|
|
669
|
+
goog.inherits(proto.clarifai.api.PatchAppsIdsRequest, jspb.Message);
|
|
670
|
+
if (goog.DEBUG && !COMPILED) {
|
|
671
|
+
/**
|
|
672
|
+
* @public
|
|
673
|
+
* @override
|
|
674
|
+
*/
|
|
675
|
+
proto.clarifai.api.PatchAppsIdsRequest.displayName = 'proto.clarifai.api.PatchAppsIdsRequest';
|
|
676
|
+
}
|
|
624
677
|
/**
|
|
625
678
|
* Generated by JsPbCodeGenerator.
|
|
626
679
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2154,6 +2207,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2154
2207
|
*/
|
|
2155
2208
|
proto.clarifai.api.SingleDatasetVersionResponse.displayName = 'proto.clarifai.api.SingleDatasetVersionResponse';
|
|
2156
2209
|
}
|
|
2210
|
+
/**
|
|
2211
|
+
* Generated by JsPbCodeGenerator.
|
|
2212
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2213
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2214
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2215
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2216
|
+
* valid.
|
|
2217
|
+
* @extends {jspb.Message}
|
|
2218
|
+
* @constructor
|
|
2219
|
+
*/
|
|
2220
|
+
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest = function (opt_data) {
|
|
2221
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2222
|
+
};
|
|
2223
|
+
goog.inherits(proto.clarifai.api.GetDatasetInputsSearchAddJobRequest, jspb.Message);
|
|
2224
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2225
|
+
/**
|
|
2226
|
+
* @public
|
|
2227
|
+
* @override
|
|
2228
|
+
*/
|
|
2229
|
+
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.displayName = 'proto.clarifai.api.GetDatasetInputsSearchAddJobRequest';
|
|
2230
|
+
}
|
|
2231
|
+
/**
|
|
2232
|
+
* Generated by JsPbCodeGenerator.
|
|
2233
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2234
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2235
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2236
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2237
|
+
* valid.
|
|
2238
|
+
* @extends {jspb.Message}
|
|
2239
|
+
* @constructor
|
|
2240
|
+
*/
|
|
2241
|
+
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse = function (opt_data) {
|
|
2242
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2243
|
+
};
|
|
2244
|
+
goog.inherits(proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse, jspb.Message);
|
|
2245
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2246
|
+
/**
|
|
2247
|
+
* @public
|
|
2248
|
+
* @override
|
|
2249
|
+
*/
|
|
2250
|
+
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.displayName = 'proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse';
|
|
2251
|
+
}
|
|
2157
2252
|
/**
|
|
2158
2253
|
* Generated by JsPbCodeGenerator.
|
|
2159
2254
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -4580,7 +4675,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4580
4675
|
* @constructor
|
|
4581
4676
|
*/
|
|
4582
4677
|
proto.clarifai.api.GetTaskRequest = function (opt_data) {
|
|
4583
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
4678
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.GetTaskRequest.repeatedFields_, null);
|
|
4584
4679
|
};
|
|
4585
4680
|
goog.inherits(proto.clarifai.api.GetTaskRequest, jspb.Message);
|
|
4586
4681
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -5178,6 +5273,153 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
5178
5273
|
*/
|
|
5179
5274
|
proto.clarifai.api.MultiTrendingMetricsViewResponse.displayName = 'proto.clarifai.api.MultiTrendingMetricsViewResponse';
|
|
5180
5275
|
}
|
|
5276
|
+
/**
|
|
5277
|
+
* Generated by JsPbCodeGenerator.
|
|
5278
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5279
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5280
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5281
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5282
|
+
* valid.
|
|
5283
|
+
* @extends {jspb.Message}
|
|
5284
|
+
* @constructor
|
|
5285
|
+
*/
|
|
5286
|
+
proto.clarifai.api.PostBulkOperationsRequest = function (opt_data) {
|
|
5287
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PostBulkOperationsRequest.repeatedFields_, null);
|
|
5288
|
+
};
|
|
5289
|
+
goog.inherits(proto.clarifai.api.PostBulkOperationsRequest, jspb.Message);
|
|
5290
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5291
|
+
/**
|
|
5292
|
+
* @public
|
|
5293
|
+
* @override
|
|
5294
|
+
*/
|
|
5295
|
+
proto.clarifai.api.PostBulkOperationsRequest.displayName = 'proto.clarifai.api.PostBulkOperationsRequest';
|
|
5296
|
+
}
|
|
5297
|
+
/**
|
|
5298
|
+
* Generated by JsPbCodeGenerator.
|
|
5299
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5300
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5301
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5302
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5303
|
+
* valid.
|
|
5304
|
+
* @extends {jspb.Message}
|
|
5305
|
+
* @constructor
|
|
5306
|
+
*/
|
|
5307
|
+
proto.clarifai.api.ListBulkOperationsRequest = function (opt_data) {
|
|
5308
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5309
|
+
};
|
|
5310
|
+
goog.inherits(proto.clarifai.api.ListBulkOperationsRequest, jspb.Message);
|
|
5311
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5312
|
+
/**
|
|
5313
|
+
* @public
|
|
5314
|
+
* @override
|
|
5315
|
+
*/
|
|
5316
|
+
proto.clarifai.api.ListBulkOperationsRequest.displayName = 'proto.clarifai.api.ListBulkOperationsRequest';
|
|
5317
|
+
}
|
|
5318
|
+
/**
|
|
5319
|
+
* Generated by JsPbCodeGenerator.
|
|
5320
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5321
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5322
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5323
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5324
|
+
* valid.
|
|
5325
|
+
* @extends {jspb.Message}
|
|
5326
|
+
* @constructor
|
|
5327
|
+
*/
|
|
5328
|
+
proto.clarifai.api.GetBulkOperationRequest = function (opt_data) {
|
|
5329
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5330
|
+
};
|
|
5331
|
+
goog.inherits(proto.clarifai.api.GetBulkOperationRequest, jspb.Message);
|
|
5332
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5333
|
+
/**
|
|
5334
|
+
* @public
|
|
5335
|
+
* @override
|
|
5336
|
+
*/
|
|
5337
|
+
proto.clarifai.api.GetBulkOperationRequest.displayName = 'proto.clarifai.api.GetBulkOperationRequest';
|
|
5338
|
+
}
|
|
5339
|
+
/**
|
|
5340
|
+
* Generated by JsPbCodeGenerator.
|
|
5341
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5342
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5343
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5344
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5345
|
+
* valid.
|
|
5346
|
+
* @extends {jspb.Message}
|
|
5347
|
+
* @constructor
|
|
5348
|
+
*/
|
|
5349
|
+
proto.clarifai.api.CancelBulkOperationRequest = function (opt_data) {
|
|
5350
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.CancelBulkOperationRequest.repeatedFields_, null);
|
|
5351
|
+
};
|
|
5352
|
+
goog.inherits(proto.clarifai.api.CancelBulkOperationRequest, jspb.Message);
|
|
5353
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5354
|
+
/**
|
|
5355
|
+
* @public
|
|
5356
|
+
* @override
|
|
5357
|
+
*/
|
|
5358
|
+
proto.clarifai.api.CancelBulkOperationRequest.displayName = 'proto.clarifai.api.CancelBulkOperationRequest';
|
|
5359
|
+
}
|
|
5360
|
+
/**
|
|
5361
|
+
* Generated by JsPbCodeGenerator.
|
|
5362
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5363
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5364
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5365
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5366
|
+
* valid.
|
|
5367
|
+
* @extends {jspb.Message}
|
|
5368
|
+
* @constructor
|
|
5369
|
+
*/
|
|
5370
|
+
proto.clarifai.api.DeleteBulkOperationRequest = function (opt_data) {
|
|
5371
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.DeleteBulkOperationRequest.repeatedFields_, null);
|
|
5372
|
+
};
|
|
5373
|
+
goog.inherits(proto.clarifai.api.DeleteBulkOperationRequest, jspb.Message);
|
|
5374
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5375
|
+
/**
|
|
5376
|
+
* @public
|
|
5377
|
+
* @override
|
|
5378
|
+
*/
|
|
5379
|
+
proto.clarifai.api.DeleteBulkOperationRequest.displayName = 'proto.clarifai.api.DeleteBulkOperationRequest';
|
|
5380
|
+
}
|
|
5381
|
+
/**
|
|
5382
|
+
* Generated by JsPbCodeGenerator.
|
|
5383
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5384
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5385
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5386
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5387
|
+
* valid.
|
|
5388
|
+
* @extends {jspb.Message}
|
|
5389
|
+
* @constructor
|
|
5390
|
+
*/
|
|
5391
|
+
proto.clarifai.api.SingleBulkOperationsResponse = function (opt_data) {
|
|
5392
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5393
|
+
};
|
|
5394
|
+
goog.inherits(proto.clarifai.api.SingleBulkOperationsResponse, jspb.Message);
|
|
5395
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5396
|
+
/**
|
|
5397
|
+
* @public
|
|
5398
|
+
* @override
|
|
5399
|
+
*/
|
|
5400
|
+
proto.clarifai.api.SingleBulkOperationsResponse.displayName = 'proto.clarifai.api.SingleBulkOperationsResponse';
|
|
5401
|
+
}
|
|
5402
|
+
/**
|
|
5403
|
+
* Generated by JsPbCodeGenerator.
|
|
5404
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5405
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5406
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5407
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5408
|
+
* valid.
|
|
5409
|
+
* @extends {jspb.Message}
|
|
5410
|
+
* @constructor
|
|
5411
|
+
*/
|
|
5412
|
+
proto.clarifai.api.MultiBulkOperationsResponse = function (opt_data) {
|
|
5413
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiBulkOperationsResponse.repeatedFields_, null);
|
|
5414
|
+
};
|
|
5415
|
+
goog.inherits(proto.clarifai.api.MultiBulkOperationsResponse, jspb.Message);
|
|
5416
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5417
|
+
/**
|
|
5418
|
+
* @public
|
|
5419
|
+
* @override
|
|
5420
|
+
*/
|
|
5421
|
+
proto.clarifai.api.MultiBulkOperationsResponse.displayName = 'proto.clarifai.api.MultiBulkOperationsResponse';
|
|
5422
|
+
}
|
|
5181
5423
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5182
5424
|
/**
|
|
5183
5425
|
* Creates an object representation of this proto.
|
|
@@ -8533,23 +8775,25 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
8533
8775
|
* http://goto/soy-param-migration
|
|
8534
8776
|
* @return {!Object}
|
|
8535
8777
|
*/
|
|
8536
|
-
proto.clarifai.api.
|
|
8537
|
-
return proto.clarifai.api.
|
|
8778
|
+
proto.clarifai.api.PatchAppRequest.prototype.toObject = function (opt_includeInstance) {
|
|
8779
|
+
return proto.clarifai.api.PatchAppRequest.toObject(opt_includeInstance, this);
|
|
8538
8780
|
};
|
|
8539
8781
|
/**
|
|
8540
8782
|
* Static version of the {@see toObject} method.
|
|
8541
8783
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8542
8784
|
* the JSPB instance for transitional soy proto support:
|
|
8543
8785
|
* http://goto/soy-param-migration
|
|
8544
|
-
* @param {!proto.clarifai.api.
|
|
8786
|
+
* @param {!proto.clarifai.api.PatchAppRequest} msg The msg instance to transform.
|
|
8545
8787
|
* @return {!Object}
|
|
8546
8788
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8547
8789
|
*/
|
|
8548
|
-
proto.clarifai.api.
|
|
8790
|
+
proto.clarifai.api.PatchAppRequest.toObject = function (includeInstance, msg) {
|
|
8549
8791
|
var f, obj = {
|
|
8550
8792
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
8551
|
-
|
|
8552
|
-
|
|
8793
|
+
app: (f = msg.getApp()) && proto_clarifai_api_resources_pb.App.toObject(includeInstance, f),
|
|
8794
|
+
action: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
8795
|
+
metadataAction: (f = msg.getMetadataAction()) && proto_clarifai_api_resources_pb.PatchAction.toObject(includeInstance, f),
|
|
8796
|
+
reindex: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
8553
8797
|
};
|
|
8554
8798
|
if (includeInstance) {
|
|
8555
8799
|
obj.$jspbMessageInstance = msg;
|
|
@@ -8560,21 +8804,21 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
8560
8804
|
/**
|
|
8561
8805
|
* Deserializes binary data (in protobuf wire format).
|
|
8562
8806
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8563
|
-
* @return {!proto.clarifai.api.
|
|
8807
|
+
* @return {!proto.clarifai.api.PatchAppRequest}
|
|
8564
8808
|
*/
|
|
8565
|
-
proto.clarifai.api.
|
|
8809
|
+
proto.clarifai.api.PatchAppRequest.deserializeBinary = function (bytes) {
|
|
8566
8810
|
var reader = new jspb.BinaryReader(bytes);
|
|
8567
|
-
var msg = new proto.clarifai.api.
|
|
8568
|
-
return proto.clarifai.api.
|
|
8811
|
+
var msg = new proto.clarifai.api.PatchAppRequest;
|
|
8812
|
+
return proto.clarifai.api.PatchAppRequest.deserializeBinaryFromReader(msg, reader);
|
|
8569
8813
|
};
|
|
8570
8814
|
/**
|
|
8571
8815
|
* Deserializes binary data (in protobuf wire format) from the
|
|
8572
8816
|
* given reader into the given message object.
|
|
8573
|
-
* @param {!proto.clarifai.api.
|
|
8817
|
+
* @param {!proto.clarifai.api.PatchAppRequest} msg The message object to deserialize into.
|
|
8574
8818
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8575
|
-
* @return {!proto.clarifai.api.
|
|
8819
|
+
* @return {!proto.clarifai.api.PatchAppRequest}
|
|
8576
8820
|
*/
|
|
8577
|
-
proto.clarifai.api.
|
|
8821
|
+
proto.clarifai.api.PatchAppRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
8578
8822
|
while (reader.nextField()) {
|
|
8579
8823
|
if (reader.isEndGroup()) {
|
|
8580
8824
|
break;
|
|
@@ -8587,14 +8831,22 @@ proto.clarifai.api.PostAppsSearchesRequest.deserializeBinaryFromReader = functio
|
|
|
8587
8831
|
msg.setUserAppId(value);
|
|
8588
8832
|
break;
|
|
8589
8833
|
case 2:
|
|
8590
|
-
var value = new proto_clarifai_api_resources_pb.
|
|
8591
|
-
reader.readMessage(value, proto_clarifai_api_resources_pb.
|
|
8592
|
-
msg.
|
|
8834
|
+
var value = new proto_clarifai_api_resources_pb.App;
|
|
8835
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.App.deserializeBinaryFromReader);
|
|
8836
|
+
msg.setApp(value);
|
|
8593
8837
|
break;
|
|
8594
8838
|
case 3:
|
|
8595
|
-
var value =
|
|
8596
|
-
|
|
8597
|
-
|
|
8839
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8840
|
+
msg.setAction(value);
|
|
8841
|
+
break;
|
|
8842
|
+
case 4:
|
|
8843
|
+
var value = new proto_clarifai_api_resources_pb.PatchAction;
|
|
8844
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.PatchAction.deserializeBinaryFromReader);
|
|
8845
|
+
msg.setMetadataAction(value);
|
|
8846
|
+
break;
|
|
8847
|
+
case 5:
|
|
8848
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
8849
|
+
msg.setReindex(value);
|
|
8598
8850
|
break;
|
|
8599
8851
|
default:
|
|
8600
8852
|
reader.skipField();
|
|
@@ -8607,117 +8859,159 @@ proto.clarifai.api.PostAppsSearchesRequest.deserializeBinaryFromReader = functio
|
|
|
8607
8859
|
* Serializes the message to binary data (in protobuf wire format).
|
|
8608
8860
|
* @return {!Uint8Array}
|
|
8609
8861
|
*/
|
|
8610
|
-
proto.clarifai.api.
|
|
8862
|
+
proto.clarifai.api.PatchAppRequest.prototype.serializeBinary = function () {
|
|
8611
8863
|
var writer = new jspb.BinaryWriter();
|
|
8612
|
-
proto.clarifai.api.
|
|
8864
|
+
proto.clarifai.api.PatchAppRequest.serializeBinaryToWriter(this, writer);
|
|
8613
8865
|
return writer.getResultBuffer();
|
|
8614
8866
|
};
|
|
8615
8867
|
/**
|
|
8616
8868
|
* Serializes the given message to binary data (in protobuf wire
|
|
8617
8869
|
* format), writing to the given BinaryWriter.
|
|
8618
|
-
* @param {!proto.clarifai.api.
|
|
8870
|
+
* @param {!proto.clarifai.api.PatchAppRequest} message
|
|
8619
8871
|
* @param {!jspb.BinaryWriter} writer
|
|
8620
8872
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8621
8873
|
*/
|
|
8622
|
-
proto.clarifai.api.
|
|
8874
|
+
proto.clarifai.api.PatchAppRequest.serializeBinaryToWriter = function (message, writer) {
|
|
8623
8875
|
var f = undefined;
|
|
8624
8876
|
f = message.getUserAppId();
|
|
8625
8877
|
if (f != null) {
|
|
8626
8878
|
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
8627
8879
|
}
|
|
8628
|
-
f = message.
|
|
8880
|
+
f = message.getApp();
|
|
8629
8881
|
if (f != null) {
|
|
8630
|
-
writer.writeMessage(2, f, proto_clarifai_api_resources_pb.
|
|
8882
|
+
writer.writeMessage(2, f, proto_clarifai_api_resources_pb.App.serializeBinaryToWriter);
|
|
8631
8883
|
}
|
|
8632
|
-
f = message.
|
|
8884
|
+
f = message.getAction();
|
|
8885
|
+
if (f.length > 0) {
|
|
8886
|
+
writer.writeString(3, f);
|
|
8887
|
+
}
|
|
8888
|
+
f = message.getMetadataAction();
|
|
8633
8889
|
if (f != null) {
|
|
8634
|
-
writer.writeMessage(
|
|
8890
|
+
writer.writeMessage(4, f, proto_clarifai_api_resources_pb.PatchAction.serializeBinaryToWriter);
|
|
8891
|
+
}
|
|
8892
|
+
f = message.getReindex();
|
|
8893
|
+
if (f) {
|
|
8894
|
+
writer.writeBool(5, f);
|
|
8635
8895
|
}
|
|
8636
8896
|
};
|
|
8637
8897
|
/**
|
|
8638
8898
|
* optional UserAppIDSet user_app_id = 1;
|
|
8639
8899
|
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
8640
8900
|
*/
|
|
8641
|
-
proto.clarifai.api.
|
|
8901
|
+
proto.clarifai.api.PatchAppRequest.prototype.getUserAppId = function () {
|
|
8642
8902
|
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
8643
8903
|
};
|
|
8644
8904
|
/**
|
|
8645
8905
|
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
8646
|
-
* @return {!proto.clarifai.api.
|
|
8906
|
+
* @return {!proto.clarifai.api.PatchAppRequest} returns this
|
|
8647
8907
|
*/
|
|
8648
|
-
proto.clarifai.api.
|
|
8908
|
+
proto.clarifai.api.PatchAppRequest.prototype.setUserAppId = function (value) {
|
|
8649
8909
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
8650
8910
|
};
|
|
8651
8911
|
/**
|
|
8652
8912
|
* Clears the message field making it undefined.
|
|
8653
|
-
* @return {!proto.clarifai.api.
|
|
8913
|
+
* @return {!proto.clarifai.api.PatchAppRequest} returns this
|
|
8654
8914
|
*/
|
|
8655
|
-
proto.clarifai.api.
|
|
8915
|
+
proto.clarifai.api.PatchAppRequest.prototype.clearUserAppId = function () {
|
|
8656
8916
|
return this.setUserAppId(undefined);
|
|
8657
8917
|
};
|
|
8658
8918
|
/**
|
|
8659
8919
|
* Returns whether this field is set.
|
|
8660
8920
|
* @return {boolean}
|
|
8661
8921
|
*/
|
|
8662
|
-
proto.clarifai.api.
|
|
8922
|
+
proto.clarifai.api.PatchAppRequest.prototype.hasUserAppId = function () {
|
|
8663
8923
|
return jspb.Message.getField(this, 1) != null;
|
|
8664
8924
|
};
|
|
8665
8925
|
/**
|
|
8666
|
-
* optional
|
|
8667
|
-
* @return {?proto.clarifai.api.
|
|
8926
|
+
* optional App app = 2;
|
|
8927
|
+
* @return {?proto.clarifai.api.App}
|
|
8668
8928
|
*/
|
|
8669
|
-
proto.clarifai.api.
|
|
8670
|
-
return /** @type{?proto.clarifai.api.
|
|
8929
|
+
proto.clarifai.api.PatchAppRequest.prototype.getApp = function () {
|
|
8930
|
+
return /** @type{?proto.clarifai.api.App} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.App, 2));
|
|
8671
8931
|
};
|
|
8672
8932
|
/**
|
|
8673
|
-
* @param {?proto.clarifai.api.
|
|
8674
|
-
* @return {!proto.clarifai.api.
|
|
8933
|
+
* @param {?proto.clarifai.api.App|undefined} value
|
|
8934
|
+
* @return {!proto.clarifai.api.PatchAppRequest} returns this
|
|
8675
8935
|
*/
|
|
8676
|
-
proto.clarifai.api.
|
|
8936
|
+
proto.clarifai.api.PatchAppRequest.prototype.setApp = function (value) {
|
|
8677
8937
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
8678
8938
|
};
|
|
8679
8939
|
/**
|
|
8680
8940
|
* Clears the message field making it undefined.
|
|
8681
|
-
* @return {!proto.clarifai.api.
|
|
8941
|
+
* @return {!proto.clarifai.api.PatchAppRequest} returns this
|
|
8682
8942
|
*/
|
|
8683
|
-
proto.clarifai.api.
|
|
8684
|
-
return this.
|
|
8943
|
+
proto.clarifai.api.PatchAppRequest.prototype.clearApp = function () {
|
|
8944
|
+
return this.setApp(undefined);
|
|
8685
8945
|
};
|
|
8686
8946
|
/**
|
|
8687
8947
|
* Returns whether this field is set.
|
|
8688
8948
|
* @return {boolean}
|
|
8689
8949
|
*/
|
|
8690
|
-
proto.clarifai.api.
|
|
8950
|
+
proto.clarifai.api.PatchAppRequest.prototype.hasApp = function () {
|
|
8691
8951
|
return jspb.Message.getField(this, 2) != null;
|
|
8692
8952
|
};
|
|
8693
8953
|
/**
|
|
8694
|
-
* optional
|
|
8695
|
-
* @return {
|
|
8954
|
+
* optional string action = 3;
|
|
8955
|
+
* @return {string}
|
|
8696
8956
|
*/
|
|
8697
|
-
proto.clarifai.api.
|
|
8698
|
-
return /** @type{
|
|
8957
|
+
proto.clarifai.api.PatchAppRequest.prototype.getAction = function () {
|
|
8958
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
8699
8959
|
};
|
|
8700
8960
|
/**
|
|
8701
|
-
* @param {
|
|
8702
|
-
* @return {!proto.clarifai.api.
|
|
8961
|
+
* @param {string} value
|
|
8962
|
+
* @return {!proto.clarifai.api.PatchAppRequest} returns this
|
|
8963
|
+
*/
|
|
8964
|
+
proto.clarifai.api.PatchAppRequest.prototype.setAction = function (value) {
|
|
8965
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
8966
|
+
};
|
|
8967
|
+
/**
|
|
8968
|
+
* optional PatchAction metadata_action = 4;
|
|
8969
|
+
* @return {?proto.clarifai.api.PatchAction}
|
|
8970
|
+
*/
|
|
8971
|
+
proto.clarifai.api.PatchAppRequest.prototype.getMetadataAction = function () {
|
|
8972
|
+
return /** @type{?proto.clarifai.api.PatchAction} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.PatchAction, 4));
|
|
8973
|
+
};
|
|
8974
|
+
/**
|
|
8975
|
+
* @param {?proto.clarifai.api.PatchAction|undefined} value
|
|
8976
|
+
* @return {!proto.clarifai.api.PatchAppRequest} returns this
|
|
8703
8977
|
*/
|
|
8704
|
-
proto.clarifai.api.
|
|
8705
|
-
return jspb.Message.setWrapperField(this,
|
|
8978
|
+
proto.clarifai.api.PatchAppRequest.prototype.setMetadataAction = function (value) {
|
|
8979
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
8706
8980
|
};
|
|
8707
8981
|
/**
|
|
8708
8982
|
* Clears the message field making it undefined.
|
|
8709
|
-
* @return {!proto.clarifai.api.
|
|
8983
|
+
* @return {!proto.clarifai.api.PatchAppRequest} returns this
|
|
8710
8984
|
*/
|
|
8711
|
-
proto.clarifai.api.
|
|
8712
|
-
return this.
|
|
8985
|
+
proto.clarifai.api.PatchAppRequest.prototype.clearMetadataAction = function () {
|
|
8986
|
+
return this.setMetadataAction(undefined);
|
|
8713
8987
|
};
|
|
8714
8988
|
/**
|
|
8715
8989
|
* Returns whether this field is set.
|
|
8716
8990
|
* @return {boolean}
|
|
8717
8991
|
*/
|
|
8718
|
-
proto.clarifai.api.
|
|
8719
|
-
return jspb.Message.getField(this,
|
|
8992
|
+
proto.clarifai.api.PatchAppRequest.prototype.hasMetadataAction = function () {
|
|
8993
|
+
return jspb.Message.getField(this, 4) != null;
|
|
8720
8994
|
};
|
|
8995
|
+
/**
|
|
8996
|
+
* optional bool reindex = 5;
|
|
8997
|
+
* @return {boolean}
|
|
8998
|
+
*/
|
|
8999
|
+
proto.clarifai.api.PatchAppRequest.prototype.getReindex = function () {
|
|
9000
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
9001
|
+
};
|
|
9002
|
+
/**
|
|
9003
|
+
* @param {boolean} value
|
|
9004
|
+
* @return {!proto.clarifai.api.PatchAppRequest} returns this
|
|
9005
|
+
*/
|
|
9006
|
+
proto.clarifai.api.PatchAppRequest.prototype.setReindex = function (value) {
|
|
9007
|
+
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
9008
|
+
};
|
|
9009
|
+
/**
|
|
9010
|
+
* List of repeated fields within this message type.
|
|
9011
|
+
* @private {!Array<number>}
|
|
9012
|
+
* @const
|
|
9013
|
+
*/
|
|
9014
|
+
proto.clarifai.api.PatchAppsIdsRequest.repeatedFields_ = [3];
|
|
8721
9015
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8722
9016
|
/**
|
|
8723
9017
|
* Creates an object representation of this proto.
|
|
@@ -8731,22 +9025,23 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
8731
9025
|
* http://goto/soy-param-migration
|
|
8732
9026
|
* @return {!Object}
|
|
8733
9027
|
*/
|
|
8734
|
-
proto.clarifai.api.
|
|
8735
|
-
return proto.clarifai.api.
|
|
9028
|
+
proto.clarifai.api.PatchAppsIdsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
9029
|
+
return proto.clarifai.api.PatchAppsIdsRequest.toObject(opt_includeInstance, this);
|
|
8736
9030
|
};
|
|
8737
9031
|
/**
|
|
8738
9032
|
* Static version of the {@see toObject} method.
|
|
8739
9033
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8740
9034
|
* the JSPB instance for transitional soy proto support:
|
|
8741
9035
|
* http://goto/soy-param-migration
|
|
8742
|
-
* @param {!proto.clarifai.api.
|
|
9036
|
+
* @param {!proto.clarifai.api.PatchAppsIdsRequest} msg The msg instance to transform.
|
|
8743
9037
|
* @return {!Object}
|
|
8744
9038
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8745
9039
|
*/
|
|
8746
|
-
proto.clarifai.api.
|
|
9040
|
+
proto.clarifai.api.PatchAppsIdsRequest.toObject = function (includeInstance, msg) {
|
|
8747
9041
|
var f, obj = {
|
|
8748
|
-
|
|
8749
|
-
|
|
9042
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
9043
|
+
idsList: jspb.Message.toObjectList(msg.getIdsList(), proto.clarifai.api.IdUpdateSource.toObject, includeInstance),
|
|
9044
|
+
action: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
8750
9045
|
};
|
|
8751
9046
|
if (includeInstance) {
|
|
8752
9047
|
obj.$jspbMessageInstance = msg;
|
|
@@ -8757,21 +9052,21 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
8757
9052
|
/**
|
|
8758
9053
|
* Deserializes binary data (in protobuf wire format).
|
|
8759
9054
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8760
|
-
* @return {!proto.clarifai.api.
|
|
9055
|
+
* @return {!proto.clarifai.api.PatchAppsIdsRequest}
|
|
8761
9056
|
*/
|
|
8762
|
-
proto.clarifai.api.
|
|
9057
|
+
proto.clarifai.api.PatchAppsIdsRequest.deserializeBinary = function (bytes) {
|
|
8763
9058
|
var reader = new jspb.BinaryReader(bytes);
|
|
8764
|
-
var msg = new proto.clarifai.api.
|
|
8765
|
-
return proto.clarifai.api.
|
|
9059
|
+
var msg = new proto.clarifai.api.PatchAppsIdsRequest;
|
|
9060
|
+
return proto.clarifai.api.PatchAppsIdsRequest.deserializeBinaryFromReader(msg, reader);
|
|
8766
9061
|
};
|
|
8767
9062
|
/**
|
|
8768
9063
|
* Deserializes binary data (in protobuf wire format) from the
|
|
8769
9064
|
* given reader into the given message object.
|
|
8770
|
-
* @param {!proto.clarifai.api.
|
|
9065
|
+
* @param {!proto.clarifai.api.PatchAppsIdsRequest} msg The message object to deserialize into.
|
|
8771
9066
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8772
|
-
* @return {!proto.clarifai.api.
|
|
9067
|
+
* @return {!proto.clarifai.api.PatchAppsIdsRequest}
|
|
8773
9068
|
*/
|
|
8774
|
-
proto.clarifai.api.
|
|
9069
|
+
proto.clarifai.api.PatchAppsIdsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
8775
9070
|
while (reader.nextField()) {
|
|
8776
9071
|
if (reader.isEndGroup()) {
|
|
8777
9072
|
break;
|
|
@@ -8779,14 +9074,18 @@ proto.clarifai.api.SingleAppResponse.deserializeBinaryFromReader = function (msg
|
|
|
8779
9074
|
var field = reader.getFieldNumber();
|
|
8780
9075
|
switch (field) {
|
|
8781
9076
|
case 1:
|
|
8782
|
-
var value = new
|
|
8783
|
-
reader.readMessage(value,
|
|
8784
|
-
msg.
|
|
9077
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
9078
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
9079
|
+
msg.setUserAppId(value);
|
|
8785
9080
|
break;
|
|
8786
|
-
case
|
|
8787
|
-
var value = new
|
|
8788
|
-
reader.readMessage(value,
|
|
8789
|
-
msg.
|
|
9081
|
+
case 3:
|
|
9082
|
+
var value = new proto.clarifai.api.IdUpdateSource;
|
|
9083
|
+
reader.readMessage(value, proto.clarifai.api.IdUpdateSource.deserializeBinaryFromReader);
|
|
9084
|
+
msg.addIds(value);
|
|
9085
|
+
break;
|
|
9086
|
+
case 4:
|
|
9087
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9088
|
+
msg.setAction(value);
|
|
8790
9089
|
break;
|
|
8791
9090
|
default:
|
|
8792
9091
|
reader.skipField();
|
|
@@ -8799,91 +9098,104 @@ proto.clarifai.api.SingleAppResponse.deserializeBinaryFromReader = function (msg
|
|
|
8799
9098
|
* Serializes the message to binary data (in protobuf wire format).
|
|
8800
9099
|
* @return {!Uint8Array}
|
|
8801
9100
|
*/
|
|
8802
|
-
proto.clarifai.api.
|
|
9101
|
+
proto.clarifai.api.PatchAppsIdsRequest.prototype.serializeBinary = function () {
|
|
8803
9102
|
var writer = new jspb.BinaryWriter();
|
|
8804
|
-
proto.clarifai.api.
|
|
9103
|
+
proto.clarifai.api.PatchAppsIdsRequest.serializeBinaryToWriter(this, writer);
|
|
8805
9104
|
return writer.getResultBuffer();
|
|
8806
9105
|
};
|
|
8807
9106
|
/**
|
|
8808
9107
|
* Serializes the given message to binary data (in protobuf wire
|
|
8809
9108
|
* format), writing to the given BinaryWriter.
|
|
8810
|
-
* @param {!proto.clarifai.api.
|
|
9109
|
+
* @param {!proto.clarifai.api.PatchAppsIdsRequest} message
|
|
8811
9110
|
* @param {!jspb.BinaryWriter} writer
|
|
8812
9111
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8813
9112
|
*/
|
|
8814
|
-
proto.clarifai.api.
|
|
9113
|
+
proto.clarifai.api.PatchAppsIdsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
8815
9114
|
var f = undefined;
|
|
8816
|
-
f = message.
|
|
9115
|
+
f = message.getUserAppId();
|
|
8817
9116
|
if (f != null) {
|
|
8818
|
-
writer.writeMessage(1, f,
|
|
9117
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
8819
9118
|
}
|
|
8820
|
-
f = message.
|
|
8821
|
-
if (f
|
|
8822
|
-
writer.
|
|
9119
|
+
f = message.getIdsList();
|
|
9120
|
+
if (f.length > 0) {
|
|
9121
|
+
writer.writeRepeatedMessage(3, f, proto.clarifai.api.IdUpdateSource.serializeBinaryToWriter);
|
|
9122
|
+
}
|
|
9123
|
+
f = message.getAction();
|
|
9124
|
+
if (f.length > 0) {
|
|
9125
|
+
writer.writeString(4, f);
|
|
8823
9126
|
}
|
|
8824
9127
|
};
|
|
8825
9128
|
/**
|
|
8826
|
-
* optional
|
|
8827
|
-
* @return {?proto.clarifai.api.
|
|
9129
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
9130
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
8828
9131
|
*/
|
|
8829
|
-
proto.clarifai.api.
|
|
8830
|
-
return /** @type{?proto.clarifai.api.
|
|
9132
|
+
proto.clarifai.api.PatchAppsIdsRequest.prototype.getUserAppId = function () {
|
|
9133
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
8831
9134
|
};
|
|
8832
9135
|
/**
|
|
8833
|
-
* @param {?proto.clarifai.api.
|
|
8834
|
-
* @return {!proto.clarifai.api.
|
|
9136
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
9137
|
+
* @return {!proto.clarifai.api.PatchAppsIdsRequest} returns this
|
|
8835
9138
|
*/
|
|
8836
|
-
proto.clarifai.api.
|
|
9139
|
+
proto.clarifai.api.PatchAppsIdsRequest.prototype.setUserAppId = function (value) {
|
|
8837
9140
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
8838
9141
|
};
|
|
8839
9142
|
/**
|
|
8840
9143
|
* Clears the message field making it undefined.
|
|
8841
|
-
* @return {!proto.clarifai.api.
|
|
9144
|
+
* @return {!proto.clarifai.api.PatchAppsIdsRequest} returns this
|
|
8842
9145
|
*/
|
|
8843
|
-
proto.clarifai.api.
|
|
8844
|
-
return this.
|
|
9146
|
+
proto.clarifai.api.PatchAppsIdsRequest.prototype.clearUserAppId = function () {
|
|
9147
|
+
return this.setUserAppId(undefined);
|
|
8845
9148
|
};
|
|
8846
9149
|
/**
|
|
8847
9150
|
* Returns whether this field is set.
|
|
8848
9151
|
* @return {boolean}
|
|
8849
9152
|
*/
|
|
8850
|
-
proto.clarifai.api.
|
|
9153
|
+
proto.clarifai.api.PatchAppsIdsRequest.prototype.hasUserAppId = function () {
|
|
8851
9154
|
return jspb.Message.getField(this, 1) != null;
|
|
8852
9155
|
};
|
|
8853
9156
|
/**
|
|
8854
|
-
*
|
|
8855
|
-
* @return {
|
|
9157
|
+
* repeated IdUpdateSource ids = 3;
|
|
9158
|
+
* @return {!Array<!proto.clarifai.api.IdUpdateSource>}
|
|
8856
9159
|
*/
|
|
8857
|
-
proto.clarifai.api.
|
|
8858
|
-
return /** @type{
|
|
9160
|
+
proto.clarifai.api.PatchAppsIdsRequest.prototype.getIdsList = function () {
|
|
9161
|
+
return /** @type{!Array<!proto.clarifai.api.IdUpdateSource>} */ (jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.IdUpdateSource, 3));
|
|
8859
9162
|
};
|
|
8860
9163
|
/**
|
|
8861
|
-
* @param {
|
|
8862
|
-
* @return {!proto.clarifai.api.
|
|
9164
|
+
* @param {!Array<!proto.clarifai.api.IdUpdateSource>} value
|
|
9165
|
+
* @return {!proto.clarifai.api.PatchAppsIdsRequest} returns this
|
|
8863
9166
|
*/
|
|
8864
|
-
proto.clarifai.api.
|
|
8865
|
-
return jspb.Message.
|
|
9167
|
+
proto.clarifai.api.PatchAppsIdsRequest.prototype.setIdsList = function (value) {
|
|
9168
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
8866
9169
|
};
|
|
8867
9170
|
/**
|
|
8868
|
-
*
|
|
8869
|
-
* @
|
|
9171
|
+
* @param {!proto.clarifai.api.IdUpdateSource=} opt_value
|
|
9172
|
+
* @param {number=} opt_index
|
|
9173
|
+
* @return {!proto.clarifai.api.IdUpdateSource}
|
|
8870
9174
|
*/
|
|
8871
|
-
proto.clarifai.api.
|
|
8872
|
-
return this.
|
|
9175
|
+
proto.clarifai.api.PatchAppsIdsRequest.prototype.addIds = function (opt_value, opt_index) {
|
|
9176
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.IdUpdateSource, opt_index);
|
|
8873
9177
|
};
|
|
8874
9178
|
/**
|
|
8875
|
-
*
|
|
8876
|
-
* @return {
|
|
9179
|
+
* Clears the list making it empty but non-null.
|
|
9180
|
+
* @return {!proto.clarifai.api.PatchAppsIdsRequest} returns this
|
|
8877
9181
|
*/
|
|
8878
|
-
proto.clarifai.api.
|
|
8879
|
-
return
|
|
9182
|
+
proto.clarifai.api.PatchAppsIdsRequest.prototype.clearIdsList = function () {
|
|
9183
|
+
return this.setIdsList([]);
|
|
8880
9184
|
};
|
|
8881
9185
|
/**
|
|
8882
|
-
*
|
|
8883
|
-
* @
|
|
8884
|
-
* @const
|
|
9186
|
+
* optional string action = 4;
|
|
9187
|
+
* @return {string}
|
|
8885
9188
|
*/
|
|
8886
|
-
proto.clarifai.api.
|
|
9189
|
+
proto.clarifai.api.PatchAppsIdsRequest.prototype.getAction = function () {
|
|
9190
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
9191
|
+
};
|
|
9192
|
+
/**
|
|
9193
|
+
* @param {string} value
|
|
9194
|
+
* @return {!proto.clarifai.api.PatchAppsIdsRequest} returns this
|
|
9195
|
+
*/
|
|
9196
|
+
proto.clarifai.api.PatchAppsIdsRequest.prototype.setAction = function (value) {
|
|
9197
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
9198
|
+
};
|
|
8887
9199
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8888
9200
|
/**
|
|
8889
9201
|
* Creates an object representation of this proto.
|
|
@@ -8897,22 +9209,23 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
8897
9209
|
* http://goto/soy-param-migration
|
|
8898
9210
|
* @return {!Object}
|
|
8899
9211
|
*/
|
|
8900
|
-
proto.clarifai.api.
|
|
8901
|
-
return proto.clarifai.api.
|
|
9212
|
+
proto.clarifai.api.PostAppsSearchesRequest.prototype.toObject = function (opt_includeInstance) {
|
|
9213
|
+
return proto.clarifai.api.PostAppsSearchesRequest.toObject(opt_includeInstance, this);
|
|
8902
9214
|
};
|
|
8903
9215
|
/**
|
|
8904
9216
|
* Static version of the {@see toObject} method.
|
|
8905
9217
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8906
9218
|
* the JSPB instance for transitional soy proto support:
|
|
8907
9219
|
* http://goto/soy-param-migration
|
|
8908
|
-
* @param {!proto.clarifai.api.
|
|
9220
|
+
* @param {!proto.clarifai.api.PostAppsSearchesRequest} msg The msg instance to transform.
|
|
8909
9221
|
* @return {!Object}
|
|
8910
9222
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8911
9223
|
*/
|
|
8912
|
-
proto.clarifai.api.
|
|
9224
|
+
proto.clarifai.api.PostAppsSearchesRequest.toObject = function (includeInstance, msg) {
|
|
8913
9225
|
var f, obj = {
|
|
8914
|
-
|
|
8915
|
-
|
|
9226
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
9227
|
+
appQuery: (f = msg.getAppQuery()) && proto_clarifai_api_resources_pb.AppQuery.toObject(includeInstance, f),
|
|
9228
|
+
pagination: (f = msg.getPagination()) && proto.clarifai.api.Pagination.toObject(includeInstance, f)
|
|
8916
9229
|
};
|
|
8917
9230
|
if (includeInstance) {
|
|
8918
9231
|
obj.$jspbMessageInstance = msg;
|
|
@@ -8923,21 +9236,21 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
8923
9236
|
/**
|
|
8924
9237
|
* Deserializes binary data (in protobuf wire format).
|
|
8925
9238
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8926
|
-
* @return {!proto.clarifai.api.
|
|
9239
|
+
* @return {!proto.clarifai.api.PostAppsSearchesRequest}
|
|
8927
9240
|
*/
|
|
8928
|
-
proto.clarifai.api.
|
|
9241
|
+
proto.clarifai.api.PostAppsSearchesRequest.deserializeBinary = function (bytes) {
|
|
8929
9242
|
var reader = new jspb.BinaryReader(bytes);
|
|
8930
|
-
var msg = new proto.clarifai.api.
|
|
8931
|
-
return proto.clarifai.api.
|
|
9243
|
+
var msg = new proto.clarifai.api.PostAppsSearchesRequest;
|
|
9244
|
+
return proto.clarifai.api.PostAppsSearchesRequest.deserializeBinaryFromReader(msg, reader);
|
|
8932
9245
|
};
|
|
8933
9246
|
/**
|
|
8934
9247
|
* Deserializes binary data (in protobuf wire format) from the
|
|
8935
9248
|
* given reader into the given message object.
|
|
8936
|
-
* @param {!proto.clarifai.api.
|
|
9249
|
+
* @param {!proto.clarifai.api.PostAppsSearchesRequest} msg The message object to deserialize into.
|
|
8937
9250
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8938
|
-
* @return {!proto.clarifai.api.
|
|
9251
|
+
* @return {!proto.clarifai.api.PostAppsSearchesRequest}
|
|
8939
9252
|
*/
|
|
8940
|
-
proto.clarifai.api.
|
|
9253
|
+
proto.clarifai.api.PostAppsSearchesRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
8941
9254
|
while (reader.nextField()) {
|
|
8942
9255
|
if (reader.isEndGroup()) {
|
|
8943
9256
|
break;
|
|
@@ -8945,14 +9258,19 @@ proto.clarifai.api.MultiAppResponse.deserializeBinaryFromReader = function (msg,
|
|
|
8945
9258
|
var field = reader.getFieldNumber();
|
|
8946
9259
|
switch (field) {
|
|
8947
9260
|
case 1:
|
|
8948
|
-
var value = new
|
|
8949
|
-
reader.readMessage(value,
|
|
8950
|
-
msg.
|
|
9261
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
9262
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
9263
|
+
msg.setUserAppId(value);
|
|
8951
9264
|
break;
|
|
8952
9265
|
case 2:
|
|
8953
|
-
var value = new proto_clarifai_api_resources_pb.
|
|
8954
|
-
reader.readMessage(value, proto_clarifai_api_resources_pb.
|
|
8955
|
-
msg.
|
|
9266
|
+
var value = new proto_clarifai_api_resources_pb.AppQuery;
|
|
9267
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.AppQuery.deserializeBinaryFromReader);
|
|
9268
|
+
msg.setAppQuery(value);
|
|
9269
|
+
break;
|
|
9270
|
+
case 3:
|
|
9271
|
+
var value = new proto.clarifai.api.Pagination;
|
|
9272
|
+
reader.readMessage(value, proto.clarifai.api.Pagination.deserializeBinaryFromReader);
|
|
9273
|
+
msg.setPagination(value);
|
|
8956
9274
|
break;
|
|
8957
9275
|
default:
|
|
8958
9276
|
reader.skipField();
|
|
@@ -8965,49 +9283,407 @@ proto.clarifai.api.MultiAppResponse.deserializeBinaryFromReader = function (msg,
|
|
|
8965
9283
|
* Serializes the message to binary data (in protobuf wire format).
|
|
8966
9284
|
* @return {!Uint8Array}
|
|
8967
9285
|
*/
|
|
8968
|
-
proto.clarifai.api.
|
|
9286
|
+
proto.clarifai.api.PostAppsSearchesRequest.prototype.serializeBinary = function () {
|
|
8969
9287
|
var writer = new jspb.BinaryWriter();
|
|
8970
|
-
proto.clarifai.api.
|
|
9288
|
+
proto.clarifai.api.PostAppsSearchesRequest.serializeBinaryToWriter(this, writer);
|
|
8971
9289
|
return writer.getResultBuffer();
|
|
8972
9290
|
};
|
|
8973
9291
|
/**
|
|
8974
9292
|
* Serializes the given message to binary data (in protobuf wire
|
|
8975
9293
|
* format), writing to the given BinaryWriter.
|
|
8976
|
-
* @param {!proto.clarifai.api.
|
|
9294
|
+
* @param {!proto.clarifai.api.PostAppsSearchesRequest} message
|
|
8977
9295
|
* @param {!jspb.BinaryWriter} writer
|
|
8978
9296
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8979
9297
|
*/
|
|
8980
|
-
proto.clarifai.api.
|
|
9298
|
+
proto.clarifai.api.PostAppsSearchesRequest.serializeBinaryToWriter = function (message, writer) {
|
|
8981
9299
|
var f = undefined;
|
|
8982
|
-
f = message.
|
|
9300
|
+
f = message.getUserAppId();
|
|
8983
9301
|
if (f != null) {
|
|
8984
|
-
writer.writeMessage(1, f,
|
|
9302
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
8985
9303
|
}
|
|
8986
|
-
f = message.
|
|
8987
|
-
if (f
|
|
8988
|
-
writer.
|
|
9304
|
+
f = message.getAppQuery();
|
|
9305
|
+
if (f != null) {
|
|
9306
|
+
writer.writeMessage(2, f, proto_clarifai_api_resources_pb.AppQuery.serializeBinaryToWriter);
|
|
9307
|
+
}
|
|
9308
|
+
f = message.getPagination();
|
|
9309
|
+
if (f != null) {
|
|
9310
|
+
writer.writeMessage(3, f, proto.clarifai.api.Pagination.serializeBinaryToWriter);
|
|
8989
9311
|
}
|
|
8990
9312
|
};
|
|
8991
9313
|
/**
|
|
8992
|
-
* optional
|
|
8993
|
-
* @return {?proto.clarifai.api.
|
|
9314
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
9315
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
8994
9316
|
*/
|
|
8995
|
-
proto.clarifai.api.
|
|
8996
|
-
return /** @type{?proto.clarifai.api.
|
|
9317
|
+
proto.clarifai.api.PostAppsSearchesRequest.prototype.getUserAppId = function () {
|
|
9318
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
8997
9319
|
};
|
|
8998
9320
|
/**
|
|
8999
|
-
* @param {?proto.clarifai.api.
|
|
9000
|
-
* @return {!proto.clarifai.api.
|
|
9321
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
9322
|
+
* @return {!proto.clarifai.api.PostAppsSearchesRequest} returns this
|
|
9001
9323
|
*/
|
|
9002
|
-
proto.clarifai.api.
|
|
9324
|
+
proto.clarifai.api.PostAppsSearchesRequest.prototype.setUserAppId = function (value) {
|
|
9003
9325
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
9004
9326
|
};
|
|
9005
9327
|
/**
|
|
9006
9328
|
* Clears the message field making it undefined.
|
|
9007
|
-
* @return {!proto.clarifai.api.
|
|
9329
|
+
* @return {!proto.clarifai.api.PostAppsSearchesRequest} returns this
|
|
9008
9330
|
*/
|
|
9009
|
-
proto.clarifai.api.
|
|
9010
|
-
return this.
|
|
9331
|
+
proto.clarifai.api.PostAppsSearchesRequest.prototype.clearUserAppId = function () {
|
|
9332
|
+
return this.setUserAppId(undefined);
|
|
9333
|
+
};
|
|
9334
|
+
/**
|
|
9335
|
+
* Returns whether this field is set.
|
|
9336
|
+
* @return {boolean}
|
|
9337
|
+
*/
|
|
9338
|
+
proto.clarifai.api.PostAppsSearchesRequest.prototype.hasUserAppId = function () {
|
|
9339
|
+
return jspb.Message.getField(this, 1) != null;
|
|
9340
|
+
};
|
|
9341
|
+
/**
|
|
9342
|
+
* optional AppQuery app_query = 2;
|
|
9343
|
+
* @return {?proto.clarifai.api.AppQuery}
|
|
9344
|
+
*/
|
|
9345
|
+
proto.clarifai.api.PostAppsSearchesRequest.prototype.getAppQuery = function () {
|
|
9346
|
+
return /** @type{?proto.clarifai.api.AppQuery} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.AppQuery, 2));
|
|
9347
|
+
};
|
|
9348
|
+
/**
|
|
9349
|
+
* @param {?proto.clarifai.api.AppQuery|undefined} value
|
|
9350
|
+
* @return {!proto.clarifai.api.PostAppsSearchesRequest} returns this
|
|
9351
|
+
*/
|
|
9352
|
+
proto.clarifai.api.PostAppsSearchesRequest.prototype.setAppQuery = function (value) {
|
|
9353
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
9354
|
+
};
|
|
9355
|
+
/**
|
|
9356
|
+
* Clears the message field making it undefined.
|
|
9357
|
+
* @return {!proto.clarifai.api.PostAppsSearchesRequest} returns this
|
|
9358
|
+
*/
|
|
9359
|
+
proto.clarifai.api.PostAppsSearchesRequest.prototype.clearAppQuery = function () {
|
|
9360
|
+
return this.setAppQuery(undefined);
|
|
9361
|
+
};
|
|
9362
|
+
/**
|
|
9363
|
+
* Returns whether this field is set.
|
|
9364
|
+
* @return {boolean}
|
|
9365
|
+
*/
|
|
9366
|
+
proto.clarifai.api.PostAppsSearchesRequest.prototype.hasAppQuery = function () {
|
|
9367
|
+
return jspb.Message.getField(this, 2) != null;
|
|
9368
|
+
};
|
|
9369
|
+
/**
|
|
9370
|
+
* optional Pagination pagination = 3;
|
|
9371
|
+
* @return {?proto.clarifai.api.Pagination}
|
|
9372
|
+
*/
|
|
9373
|
+
proto.clarifai.api.PostAppsSearchesRequest.prototype.getPagination = function () {
|
|
9374
|
+
return /** @type{?proto.clarifai.api.Pagination} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.Pagination, 3));
|
|
9375
|
+
};
|
|
9376
|
+
/**
|
|
9377
|
+
* @param {?proto.clarifai.api.Pagination|undefined} value
|
|
9378
|
+
* @return {!proto.clarifai.api.PostAppsSearchesRequest} returns this
|
|
9379
|
+
*/
|
|
9380
|
+
proto.clarifai.api.PostAppsSearchesRequest.prototype.setPagination = function (value) {
|
|
9381
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
9382
|
+
};
|
|
9383
|
+
/**
|
|
9384
|
+
* Clears the message field making it undefined.
|
|
9385
|
+
* @return {!proto.clarifai.api.PostAppsSearchesRequest} returns this
|
|
9386
|
+
*/
|
|
9387
|
+
proto.clarifai.api.PostAppsSearchesRequest.prototype.clearPagination = function () {
|
|
9388
|
+
return this.setPagination(undefined);
|
|
9389
|
+
};
|
|
9390
|
+
/**
|
|
9391
|
+
* Returns whether this field is set.
|
|
9392
|
+
* @return {boolean}
|
|
9393
|
+
*/
|
|
9394
|
+
proto.clarifai.api.PostAppsSearchesRequest.prototype.hasPagination = function () {
|
|
9395
|
+
return jspb.Message.getField(this, 3) != null;
|
|
9396
|
+
};
|
|
9397
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9398
|
+
/**
|
|
9399
|
+
* Creates an object representation of this proto.
|
|
9400
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
9401
|
+
* Optional fields that are not set will be set to undefined.
|
|
9402
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
9403
|
+
* For the list of reserved names please see:
|
|
9404
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
9405
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
9406
|
+
* JSPB instance for transitional soy proto support:
|
|
9407
|
+
* http://goto/soy-param-migration
|
|
9408
|
+
* @return {!Object}
|
|
9409
|
+
*/
|
|
9410
|
+
proto.clarifai.api.SingleAppResponse.prototype.toObject = function (opt_includeInstance) {
|
|
9411
|
+
return proto.clarifai.api.SingleAppResponse.toObject(opt_includeInstance, this);
|
|
9412
|
+
};
|
|
9413
|
+
/**
|
|
9414
|
+
* Static version of the {@see toObject} method.
|
|
9415
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9416
|
+
* the JSPB instance for transitional soy proto support:
|
|
9417
|
+
* http://goto/soy-param-migration
|
|
9418
|
+
* @param {!proto.clarifai.api.SingleAppResponse} msg The msg instance to transform.
|
|
9419
|
+
* @return {!Object}
|
|
9420
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9421
|
+
*/
|
|
9422
|
+
proto.clarifai.api.SingleAppResponse.toObject = function (includeInstance, msg) {
|
|
9423
|
+
var f, obj = {
|
|
9424
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
9425
|
+
app: (f = msg.getApp()) && proto_clarifai_api_resources_pb.App.toObject(includeInstance, f)
|
|
9426
|
+
};
|
|
9427
|
+
if (includeInstance) {
|
|
9428
|
+
obj.$jspbMessageInstance = msg;
|
|
9429
|
+
}
|
|
9430
|
+
return obj;
|
|
9431
|
+
};
|
|
9432
|
+
}
|
|
9433
|
+
/**
|
|
9434
|
+
* Deserializes binary data (in protobuf wire format).
|
|
9435
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9436
|
+
* @return {!proto.clarifai.api.SingleAppResponse}
|
|
9437
|
+
*/
|
|
9438
|
+
proto.clarifai.api.SingleAppResponse.deserializeBinary = function (bytes) {
|
|
9439
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
9440
|
+
var msg = new proto.clarifai.api.SingleAppResponse;
|
|
9441
|
+
return proto.clarifai.api.SingleAppResponse.deserializeBinaryFromReader(msg, reader);
|
|
9442
|
+
};
|
|
9443
|
+
/**
|
|
9444
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
9445
|
+
* given reader into the given message object.
|
|
9446
|
+
* @param {!proto.clarifai.api.SingleAppResponse} msg The message object to deserialize into.
|
|
9447
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9448
|
+
* @return {!proto.clarifai.api.SingleAppResponse}
|
|
9449
|
+
*/
|
|
9450
|
+
proto.clarifai.api.SingleAppResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
9451
|
+
while (reader.nextField()) {
|
|
9452
|
+
if (reader.isEndGroup()) {
|
|
9453
|
+
break;
|
|
9454
|
+
}
|
|
9455
|
+
var field = reader.getFieldNumber();
|
|
9456
|
+
switch (field) {
|
|
9457
|
+
case 1:
|
|
9458
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
9459
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
9460
|
+
msg.setStatus(value);
|
|
9461
|
+
break;
|
|
9462
|
+
case 2:
|
|
9463
|
+
var value = new proto_clarifai_api_resources_pb.App;
|
|
9464
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.App.deserializeBinaryFromReader);
|
|
9465
|
+
msg.setApp(value);
|
|
9466
|
+
break;
|
|
9467
|
+
default:
|
|
9468
|
+
reader.skipField();
|
|
9469
|
+
break;
|
|
9470
|
+
}
|
|
9471
|
+
}
|
|
9472
|
+
return msg;
|
|
9473
|
+
};
|
|
9474
|
+
/**
|
|
9475
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
9476
|
+
* @return {!Uint8Array}
|
|
9477
|
+
*/
|
|
9478
|
+
proto.clarifai.api.SingleAppResponse.prototype.serializeBinary = function () {
|
|
9479
|
+
var writer = new jspb.BinaryWriter();
|
|
9480
|
+
proto.clarifai.api.SingleAppResponse.serializeBinaryToWriter(this, writer);
|
|
9481
|
+
return writer.getResultBuffer();
|
|
9482
|
+
};
|
|
9483
|
+
/**
|
|
9484
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
9485
|
+
* format), writing to the given BinaryWriter.
|
|
9486
|
+
* @param {!proto.clarifai.api.SingleAppResponse} message
|
|
9487
|
+
* @param {!jspb.BinaryWriter} writer
|
|
9488
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9489
|
+
*/
|
|
9490
|
+
proto.clarifai.api.SingleAppResponse.serializeBinaryToWriter = function (message, writer) {
|
|
9491
|
+
var f = undefined;
|
|
9492
|
+
f = message.getStatus();
|
|
9493
|
+
if (f != null) {
|
|
9494
|
+
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
9495
|
+
}
|
|
9496
|
+
f = message.getApp();
|
|
9497
|
+
if (f != null) {
|
|
9498
|
+
writer.writeMessage(2, f, proto_clarifai_api_resources_pb.App.serializeBinaryToWriter);
|
|
9499
|
+
}
|
|
9500
|
+
};
|
|
9501
|
+
/**
|
|
9502
|
+
* optional status.Status status = 1;
|
|
9503
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
9504
|
+
*/
|
|
9505
|
+
proto.clarifai.api.SingleAppResponse.prototype.getStatus = function () {
|
|
9506
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
9507
|
+
};
|
|
9508
|
+
/**
|
|
9509
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
9510
|
+
* @return {!proto.clarifai.api.SingleAppResponse} returns this
|
|
9511
|
+
*/
|
|
9512
|
+
proto.clarifai.api.SingleAppResponse.prototype.setStatus = function (value) {
|
|
9513
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
9514
|
+
};
|
|
9515
|
+
/**
|
|
9516
|
+
* Clears the message field making it undefined.
|
|
9517
|
+
* @return {!proto.clarifai.api.SingleAppResponse} returns this
|
|
9518
|
+
*/
|
|
9519
|
+
proto.clarifai.api.SingleAppResponse.prototype.clearStatus = function () {
|
|
9520
|
+
return this.setStatus(undefined);
|
|
9521
|
+
};
|
|
9522
|
+
/**
|
|
9523
|
+
* Returns whether this field is set.
|
|
9524
|
+
* @return {boolean}
|
|
9525
|
+
*/
|
|
9526
|
+
proto.clarifai.api.SingleAppResponse.prototype.hasStatus = function () {
|
|
9527
|
+
return jspb.Message.getField(this, 1) != null;
|
|
9528
|
+
};
|
|
9529
|
+
/**
|
|
9530
|
+
* optional App app = 2;
|
|
9531
|
+
* @return {?proto.clarifai.api.App}
|
|
9532
|
+
*/
|
|
9533
|
+
proto.clarifai.api.SingleAppResponse.prototype.getApp = function () {
|
|
9534
|
+
return /** @type{?proto.clarifai.api.App} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.App, 2));
|
|
9535
|
+
};
|
|
9536
|
+
/**
|
|
9537
|
+
* @param {?proto.clarifai.api.App|undefined} value
|
|
9538
|
+
* @return {!proto.clarifai.api.SingleAppResponse} returns this
|
|
9539
|
+
*/
|
|
9540
|
+
proto.clarifai.api.SingleAppResponse.prototype.setApp = function (value) {
|
|
9541
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
9542
|
+
};
|
|
9543
|
+
/**
|
|
9544
|
+
* Clears the message field making it undefined.
|
|
9545
|
+
* @return {!proto.clarifai.api.SingleAppResponse} returns this
|
|
9546
|
+
*/
|
|
9547
|
+
proto.clarifai.api.SingleAppResponse.prototype.clearApp = function () {
|
|
9548
|
+
return this.setApp(undefined);
|
|
9549
|
+
};
|
|
9550
|
+
/**
|
|
9551
|
+
* Returns whether this field is set.
|
|
9552
|
+
* @return {boolean}
|
|
9553
|
+
*/
|
|
9554
|
+
proto.clarifai.api.SingleAppResponse.prototype.hasApp = function () {
|
|
9555
|
+
return jspb.Message.getField(this, 2) != null;
|
|
9556
|
+
};
|
|
9557
|
+
/**
|
|
9558
|
+
* List of repeated fields within this message type.
|
|
9559
|
+
* @private {!Array<number>}
|
|
9560
|
+
* @const
|
|
9561
|
+
*/
|
|
9562
|
+
proto.clarifai.api.MultiAppResponse.repeatedFields_ = [2];
|
|
9563
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9564
|
+
/**
|
|
9565
|
+
* Creates an object representation of this proto.
|
|
9566
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
9567
|
+
* Optional fields that are not set will be set to undefined.
|
|
9568
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
9569
|
+
* For the list of reserved names please see:
|
|
9570
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
9571
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
9572
|
+
* JSPB instance for transitional soy proto support:
|
|
9573
|
+
* http://goto/soy-param-migration
|
|
9574
|
+
* @return {!Object}
|
|
9575
|
+
*/
|
|
9576
|
+
proto.clarifai.api.MultiAppResponse.prototype.toObject = function (opt_includeInstance) {
|
|
9577
|
+
return proto.clarifai.api.MultiAppResponse.toObject(opt_includeInstance, this);
|
|
9578
|
+
};
|
|
9579
|
+
/**
|
|
9580
|
+
* Static version of the {@see toObject} method.
|
|
9581
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9582
|
+
* the JSPB instance for transitional soy proto support:
|
|
9583
|
+
* http://goto/soy-param-migration
|
|
9584
|
+
* @param {!proto.clarifai.api.MultiAppResponse} msg The msg instance to transform.
|
|
9585
|
+
* @return {!Object}
|
|
9586
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9587
|
+
*/
|
|
9588
|
+
proto.clarifai.api.MultiAppResponse.toObject = function (includeInstance, msg) {
|
|
9589
|
+
var f, obj = {
|
|
9590
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
9591
|
+
appsList: jspb.Message.toObjectList(msg.getAppsList(), proto_clarifai_api_resources_pb.App.toObject, includeInstance)
|
|
9592
|
+
};
|
|
9593
|
+
if (includeInstance) {
|
|
9594
|
+
obj.$jspbMessageInstance = msg;
|
|
9595
|
+
}
|
|
9596
|
+
return obj;
|
|
9597
|
+
};
|
|
9598
|
+
}
|
|
9599
|
+
/**
|
|
9600
|
+
* Deserializes binary data (in protobuf wire format).
|
|
9601
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9602
|
+
* @return {!proto.clarifai.api.MultiAppResponse}
|
|
9603
|
+
*/
|
|
9604
|
+
proto.clarifai.api.MultiAppResponse.deserializeBinary = function (bytes) {
|
|
9605
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
9606
|
+
var msg = new proto.clarifai.api.MultiAppResponse;
|
|
9607
|
+
return proto.clarifai.api.MultiAppResponse.deserializeBinaryFromReader(msg, reader);
|
|
9608
|
+
};
|
|
9609
|
+
/**
|
|
9610
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
9611
|
+
* given reader into the given message object.
|
|
9612
|
+
* @param {!proto.clarifai.api.MultiAppResponse} msg The message object to deserialize into.
|
|
9613
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9614
|
+
* @return {!proto.clarifai.api.MultiAppResponse}
|
|
9615
|
+
*/
|
|
9616
|
+
proto.clarifai.api.MultiAppResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
9617
|
+
while (reader.nextField()) {
|
|
9618
|
+
if (reader.isEndGroup()) {
|
|
9619
|
+
break;
|
|
9620
|
+
}
|
|
9621
|
+
var field = reader.getFieldNumber();
|
|
9622
|
+
switch (field) {
|
|
9623
|
+
case 1:
|
|
9624
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
9625
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
9626
|
+
msg.setStatus(value);
|
|
9627
|
+
break;
|
|
9628
|
+
case 2:
|
|
9629
|
+
var value = new proto_clarifai_api_resources_pb.App;
|
|
9630
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.App.deserializeBinaryFromReader);
|
|
9631
|
+
msg.addApps(value);
|
|
9632
|
+
break;
|
|
9633
|
+
default:
|
|
9634
|
+
reader.skipField();
|
|
9635
|
+
break;
|
|
9636
|
+
}
|
|
9637
|
+
}
|
|
9638
|
+
return msg;
|
|
9639
|
+
};
|
|
9640
|
+
/**
|
|
9641
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
9642
|
+
* @return {!Uint8Array}
|
|
9643
|
+
*/
|
|
9644
|
+
proto.clarifai.api.MultiAppResponse.prototype.serializeBinary = function () {
|
|
9645
|
+
var writer = new jspb.BinaryWriter();
|
|
9646
|
+
proto.clarifai.api.MultiAppResponse.serializeBinaryToWriter(this, writer);
|
|
9647
|
+
return writer.getResultBuffer();
|
|
9648
|
+
};
|
|
9649
|
+
/**
|
|
9650
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
9651
|
+
* format), writing to the given BinaryWriter.
|
|
9652
|
+
* @param {!proto.clarifai.api.MultiAppResponse} message
|
|
9653
|
+
* @param {!jspb.BinaryWriter} writer
|
|
9654
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9655
|
+
*/
|
|
9656
|
+
proto.clarifai.api.MultiAppResponse.serializeBinaryToWriter = function (message, writer) {
|
|
9657
|
+
var f = undefined;
|
|
9658
|
+
f = message.getStatus();
|
|
9659
|
+
if (f != null) {
|
|
9660
|
+
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
9661
|
+
}
|
|
9662
|
+
f = message.getAppsList();
|
|
9663
|
+
if (f.length > 0) {
|
|
9664
|
+
writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.App.serializeBinaryToWriter);
|
|
9665
|
+
}
|
|
9666
|
+
};
|
|
9667
|
+
/**
|
|
9668
|
+
* optional status.Status status = 1;
|
|
9669
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
9670
|
+
*/
|
|
9671
|
+
proto.clarifai.api.MultiAppResponse.prototype.getStatus = function () {
|
|
9672
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
9673
|
+
};
|
|
9674
|
+
/**
|
|
9675
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
9676
|
+
* @return {!proto.clarifai.api.MultiAppResponse} returns this
|
|
9677
|
+
*/
|
|
9678
|
+
proto.clarifai.api.MultiAppResponse.prototype.setStatus = function (value) {
|
|
9679
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
9680
|
+
};
|
|
9681
|
+
/**
|
|
9682
|
+
* Clears the message field making it undefined.
|
|
9683
|
+
* @return {!proto.clarifai.api.MultiAppResponse} returns this
|
|
9684
|
+
*/
|
|
9685
|
+
proto.clarifai.api.MultiAppResponse.prototype.clearStatus = function () {
|
|
9686
|
+
return this.setStatus(undefined);
|
|
9011
9687
|
};
|
|
9012
9688
|
/**
|
|
9013
9689
|
* Returns whether this field is set.
|
|
@@ -15537,6 +16213,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
15537
16213
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
15538
16214
|
perPage: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
15539
16215
|
lastId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
16216
|
+
orderById: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
15540
16217
|
descending: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
15541
16218
|
};
|
|
15542
16219
|
if (includeInstance) {
|
|
@@ -15582,6 +16259,10 @@ proto.clarifai.api.StreamInputsRequest.deserializeBinaryFromReader = function (m
|
|
|
15582
16259
|
var value = /** @type {string} */ (reader.readString());
|
|
15583
16260
|
msg.setLastId(value);
|
|
15584
16261
|
break;
|
|
16262
|
+
case 5:
|
|
16263
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
16264
|
+
msg.setOrderById(value);
|
|
16265
|
+
break;
|
|
15585
16266
|
case 4:
|
|
15586
16267
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
15587
16268
|
msg.setDescending(value);
|
|
@@ -15623,6 +16304,10 @@ proto.clarifai.api.StreamInputsRequest.serializeBinaryToWriter = function (messa
|
|
|
15623
16304
|
if (f.length > 0) {
|
|
15624
16305
|
writer.writeString(3, f);
|
|
15625
16306
|
}
|
|
16307
|
+
f = message.getOrderById();
|
|
16308
|
+
if (f) {
|
|
16309
|
+
writer.writeBool(5, f);
|
|
16310
|
+
}
|
|
15626
16311
|
f = message.getDescending();
|
|
15627
16312
|
if (f) {
|
|
15628
16313
|
writer.writeBool(4, f);
|
|
@@ -15684,6 +16369,20 @@ proto.clarifai.api.StreamInputsRequest.prototype.getLastId = function () {
|
|
|
15684
16369
|
proto.clarifai.api.StreamInputsRequest.prototype.setLastId = function (value) {
|
|
15685
16370
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
15686
16371
|
};
|
|
16372
|
+
/**
|
|
16373
|
+
* optional bool order_by_id = 5;
|
|
16374
|
+
* @return {boolean}
|
|
16375
|
+
*/
|
|
16376
|
+
proto.clarifai.api.StreamInputsRequest.prototype.getOrderById = function () {
|
|
16377
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
16378
|
+
};
|
|
16379
|
+
/**
|
|
16380
|
+
* @param {boolean} value
|
|
16381
|
+
* @return {!proto.clarifai.api.StreamInputsRequest} returns this
|
|
16382
|
+
*/
|
|
16383
|
+
proto.clarifai.api.StreamInputsRequest.prototype.setOrderById = function (value) {
|
|
16384
|
+
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
16385
|
+
};
|
|
15687
16386
|
/**
|
|
15688
16387
|
* optional bool descending = 4;
|
|
15689
16388
|
* @return {boolean}
|
|
@@ -18699,7 +19398,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
18699
19398
|
var f, obj = {
|
|
18700
19399
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
18701
19400
|
datasetId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
18702
|
-
datasetInputsList: jspb.Message.toObjectList(msg.getDatasetInputsList(), proto_clarifai_api_resources_pb.DatasetInput.toObject, includeInstance)
|
|
19401
|
+
datasetInputsList: jspb.Message.toObjectList(msg.getDatasetInputsList(), proto_clarifai_api_resources_pb.DatasetInput.toObject, includeInstance),
|
|
19402
|
+
search: (f = msg.getSearch()) && proto_clarifai_api_resources_pb.Search.toObject(includeInstance, f)
|
|
18703
19403
|
};
|
|
18704
19404
|
if (includeInstance) {
|
|
18705
19405
|
obj.$jspbMessageInstance = msg;
|
|
@@ -18745,6 +19445,11 @@ proto.clarifai.api.PostDatasetInputsRequest.deserializeBinaryFromReader = functi
|
|
|
18745
19445
|
reader.readMessage(value, proto_clarifai_api_resources_pb.DatasetInput.deserializeBinaryFromReader);
|
|
18746
19446
|
msg.addDatasetInputs(value);
|
|
18747
19447
|
break;
|
|
19448
|
+
case 4:
|
|
19449
|
+
var value = new proto_clarifai_api_resources_pb.Search;
|
|
19450
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.Search.deserializeBinaryFromReader);
|
|
19451
|
+
msg.setSearch(value);
|
|
19452
|
+
break;
|
|
18748
19453
|
default:
|
|
18749
19454
|
reader.skipField();
|
|
18750
19455
|
break;
|
|
@@ -18782,6 +19487,10 @@ proto.clarifai.api.PostDatasetInputsRequest.serializeBinaryToWriter = function (
|
|
|
18782
19487
|
if (f.length > 0) {
|
|
18783
19488
|
writer.writeRepeatedMessage(3, f, proto_clarifai_api_resources_pb.DatasetInput.serializeBinaryToWriter);
|
|
18784
19489
|
}
|
|
19490
|
+
f = message.getSearch();
|
|
19491
|
+
if (f != null) {
|
|
19492
|
+
writer.writeMessage(4, f, proto_clarifai_api_resources_pb.Search.serializeBinaryToWriter);
|
|
19493
|
+
}
|
|
18785
19494
|
};
|
|
18786
19495
|
/**
|
|
18787
19496
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -18854,6 +19563,34 @@ proto.clarifai.api.PostDatasetInputsRequest.prototype.addDatasetInputs = functio
|
|
|
18854
19563
|
proto.clarifai.api.PostDatasetInputsRequest.prototype.clearDatasetInputsList = function () {
|
|
18855
19564
|
return this.setDatasetInputsList([]);
|
|
18856
19565
|
};
|
|
19566
|
+
/**
|
|
19567
|
+
* optional Search search = 4;
|
|
19568
|
+
* @return {?proto.clarifai.api.Search}
|
|
19569
|
+
*/
|
|
19570
|
+
proto.clarifai.api.PostDatasetInputsRequest.prototype.getSearch = function () {
|
|
19571
|
+
return /** @type{?proto.clarifai.api.Search} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Search, 4));
|
|
19572
|
+
};
|
|
19573
|
+
/**
|
|
19574
|
+
* @param {?proto.clarifai.api.Search|undefined} value
|
|
19575
|
+
* @return {!proto.clarifai.api.PostDatasetInputsRequest} returns this
|
|
19576
|
+
*/
|
|
19577
|
+
proto.clarifai.api.PostDatasetInputsRequest.prototype.setSearch = function (value) {
|
|
19578
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
19579
|
+
};
|
|
19580
|
+
/**
|
|
19581
|
+
* Clears the message field making it undefined.
|
|
19582
|
+
* @return {!proto.clarifai.api.PostDatasetInputsRequest} returns this
|
|
19583
|
+
*/
|
|
19584
|
+
proto.clarifai.api.PostDatasetInputsRequest.prototype.clearSearch = function () {
|
|
19585
|
+
return this.setSearch(undefined);
|
|
19586
|
+
};
|
|
19587
|
+
/**
|
|
19588
|
+
* Returns whether this field is set.
|
|
19589
|
+
* @return {boolean}
|
|
19590
|
+
*/
|
|
19591
|
+
proto.clarifai.api.PostDatasetInputsRequest.prototype.hasSearch = function () {
|
|
19592
|
+
return jspb.Message.getField(this, 4) != null;
|
|
19593
|
+
};
|
|
18857
19594
|
/**
|
|
18858
19595
|
* List of repeated fields within this message type.
|
|
18859
19596
|
* @private {!Array<number>}
|
|
@@ -19077,7 +19814,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
19077
19814
|
proto.clarifai.api.MultiDatasetInputResponse.toObject = function (includeInstance, msg) {
|
|
19078
19815
|
var f, obj = {
|
|
19079
19816
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
19080
|
-
datasetInputsList: jspb.Message.toObjectList(msg.getDatasetInputsList(), proto_clarifai_api_resources_pb.DatasetInput.toObject, includeInstance)
|
|
19817
|
+
datasetInputsList: jspb.Message.toObjectList(msg.getDatasetInputsList(), proto_clarifai_api_resources_pb.DatasetInput.toObject, includeInstance),
|
|
19818
|
+
datasetInputsSearchAddJob: (f = msg.getDatasetInputsSearchAddJob()) && proto_clarifai_api_resources_pb.DatasetInputsSearchAddJob.toObject(includeInstance, f)
|
|
19081
19819
|
};
|
|
19082
19820
|
if (includeInstance) {
|
|
19083
19821
|
obj.$jspbMessageInstance = msg;
|
|
@@ -19119,6 +19857,11 @@ proto.clarifai.api.MultiDatasetInputResponse.deserializeBinaryFromReader = funct
|
|
|
19119
19857
|
reader.readMessage(value, proto_clarifai_api_resources_pb.DatasetInput.deserializeBinaryFromReader);
|
|
19120
19858
|
msg.addDatasetInputs(value);
|
|
19121
19859
|
break;
|
|
19860
|
+
case 3:
|
|
19861
|
+
var value = new proto_clarifai_api_resources_pb.DatasetInputsSearchAddJob;
|
|
19862
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.DatasetInputsSearchAddJob.deserializeBinaryFromReader);
|
|
19863
|
+
msg.setDatasetInputsSearchAddJob(value);
|
|
19864
|
+
break;
|
|
19122
19865
|
default:
|
|
19123
19866
|
reader.skipField();
|
|
19124
19867
|
break;
|
|
@@ -19152,6 +19895,10 @@ proto.clarifai.api.MultiDatasetInputResponse.serializeBinaryToWriter = function
|
|
|
19152
19895
|
if (f.length > 0) {
|
|
19153
19896
|
writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.DatasetInput.serializeBinaryToWriter);
|
|
19154
19897
|
}
|
|
19898
|
+
f = message.getDatasetInputsSearchAddJob();
|
|
19899
|
+
if (f != null) {
|
|
19900
|
+
writer.writeMessage(3, f, proto_clarifai_api_resources_pb.DatasetInputsSearchAddJob.serializeBinaryToWriter);
|
|
19901
|
+
}
|
|
19155
19902
|
};
|
|
19156
19903
|
/**
|
|
19157
19904
|
* optional status.Status status = 1;
|
|
@@ -19210,6 +19957,34 @@ proto.clarifai.api.MultiDatasetInputResponse.prototype.addDatasetInputs = functi
|
|
|
19210
19957
|
proto.clarifai.api.MultiDatasetInputResponse.prototype.clearDatasetInputsList = function () {
|
|
19211
19958
|
return this.setDatasetInputsList([]);
|
|
19212
19959
|
};
|
|
19960
|
+
/**
|
|
19961
|
+
* optional DatasetInputsSearchAddJob dataset_inputs_search_add_job = 3;
|
|
19962
|
+
* @return {?proto.clarifai.api.DatasetInputsSearchAddJob}
|
|
19963
|
+
*/
|
|
19964
|
+
proto.clarifai.api.MultiDatasetInputResponse.prototype.getDatasetInputsSearchAddJob = function () {
|
|
19965
|
+
return /** @type{?proto.clarifai.api.DatasetInputsSearchAddJob} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.DatasetInputsSearchAddJob, 3));
|
|
19966
|
+
};
|
|
19967
|
+
/**
|
|
19968
|
+
* @param {?proto.clarifai.api.DatasetInputsSearchAddJob|undefined} value
|
|
19969
|
+
* @return {!proto.clarifai.api.MultiDatasetInputResponse} returns this
|
|
19970
|
+
*/
|
|
19971
|
+
proto.clarifai.api.MultiDatasetInputResponse.prototype.setDatasetInputsSearchAddJob = function (value) {
|
|
19972
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
19973
|
+
};
|
|
19974
|
+
/**
|
|
19975
|
+
* Clears the message field making it undefined.
|
|
19976
|
+
* @return {!proto.clarifai.api.MultiDatasetInputResponse} returns this
|
|
19977
|
+
*/
|
|
19978
|
+
proto.clarifai.api.MultiDatasetInputResponse.prototype.clearDatasetInputsSearchAddJob = function () {
|
|
19979
|
+
return this.setDatasetInputsSearchAddJob(undefined);
|
|
19980
|
+
};
|
|
19981
|
+
/**
|
|
19982
|
+
* Returns whether this field is set.
|
|
19983
|
+
* @return {boolean}
|
|
19984
|
+
*/
|
|
19985
|
+
proto.clarifai.api.MultiDatasetInputResponse.prototype.hasDatasetInputsSearchAddJob = function () {
|
|
19986
|
+
return jspb.Message.getField(this, 3) != null;
|
|
19987
|
+
};
|
|
19213
19988
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
19214
19989
|
/**
|
|
19215
19990
|
* Creates an object representation of this proto.
|
|
@@ -21152,6 +21927,311 @@ proto.clarifai.api.SingleDatasetVersionResponse.prototype.clearDatasetVersion =
|
|
|
21152
21927
|
proto.clarifai.api.SingleDatasetVersionResponse.prototype.hasDatasetVersion = function () {
|
|
21153
21928
|
return jspb.Message.getField(this, 2) != null;
|
|
21154
21929
|
};
|
|
21930
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21931
|
+
/**
|
|
21932
|
+
* Creates an object representation of this proto.
|
|
21933
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21934
|
+
* Optional fields that are not set will be set to undefined.
|
|
21935
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21936
|
+
* For the list of reserved names please see:
|
|
21937
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
21938
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
21939
|
+
* JSPB instance for transitional soy proto support:
|
|
21940
|
+
* http://goto/soy-param-migration
|
|
21941
|
+
* @return {!Object}
|
|
21942
|
+
*/
|
|
21943
|
+
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.prototype.toObject = function (opt_includeInstance) {
|
|
21944
|
+
return proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.toObject(opt_includeInstance, this);
|
|
21945
|
+
};
|
|
21946
|
+
/**
|
|
21947
|
+
* Static version of the {@see toObject} method.
|
|
21948
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21949
|
+
* the JSPB instance for transitional soy proto support:
|
|
21950
|
+
* http://goto/soy-param-migration
|
|
21951
|
+
* @param {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest} msg The msg instance to transform.
|
|
21952
|
+
* @return {!Object}
|
|
21953
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21954
|
+
*/
|
|
21955
|
+
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.toObject = function (includeInstance, msg) {
|
|
21956
|
+
var f, obj = {
|
|
21957
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
21958
|
+
jobId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
21959
|
+
};
|
|
21960
|
+
if (includeInstance) {
|
|
21961
|
+
obj.$jspbMessageInstance = msg;
|
|
21962
|
+
}
|
|
21963
|
+
return obj;
|
|
21964
|
+
};
|
|
21965
|
+
}
|
|
21966
|
+
/**
|
|
21967
|
+
* Deserializes binary data (in protobuf wire format).
|
|
21968
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21969
|
+
* @return {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest}
|
|
21970
|
+
*/
|
|
21971
|
+
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.deserializeBinary = function (bytes) {
|
|
21972
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
21973
|
+
var msg = new proto.clarifai.api.GetDatasetInputsSearchAddJobRequest;
|
|
21974
|
+
return proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.deserializeBinaryFromReader(msg, reader);
|
|
21975
|
+
};
|
|
21976
|
+
/**
|
|
21977
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
21978
|
+
* given reader into the given message object.
|
|
21979
|
+
* @param {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest} msg The message object to deserialize into.
|
|
21980
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21981
|
+
* @return {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest}
|
|
21982
|
+
*/
|
|
21983
|
+
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
21984
|
+
while (reader.nextField()) {
|
|
21985
|
+
if (reader.isEndGroup()) {
|
|
21986
|
+
break;
|
|
21987
|
+
}
|
|
21988
|
+
var field = reader.getFieldNumber();
|
|
21989
|
+
switch (field) {
|
|
21990
|
+
case 1:
|
|
21991
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
21992
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
21993
|
+
msg.setUserAppId(value);
|
|
21994
|
+
break;
|
|
21995
|
+
case 2:
|
|
21996
|
+
var value = /** @type {string} */ (reader.readString());
|
|
21997
|
+
msg.setJobId(value);
|
|
21998
|
+
break;
|
|
21999
|
+
default:
|
|
22000
|
+
reader.skipField();
|
|
22001
|
+
break;
|
|
22002
|
+
}
|
|
22003
|
+
}
|
|
22004
|
+
return msg;
|
|
22005
|
+
};
|
|
22006
|
+
/**
|
|
22007
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22008
|
+
* @return {!Uint8Array}
|
|
22009
|
+
*/
|
|
22010
|
+
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.prototype.serializeBinary = function () {
|
|
22011
|
+
var writer = new jspb.BinaryWriter();
|
|
22012
|
+
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.serializeBinaryToWriter(this, writer);
|
|
22013
|
+
return writer.getResultBuffer();
|
|
22014
|
+
};
|
|
22015
|
+
/**
|
|
22016
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22017
|
+
* format), writing to the given BinaryWriter.
|
|
22018
|
+
* @param {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest} message
|
|
22019
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22020
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22021
|
+
*/
|
|
22022
|
+
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.serializeBinaryToWriter = function (message, writer) {
|
|
22023
|
+
var f = undefined;
|
|
22024
|
+
f = message.getUserAppId();
|
|
22025
|
+
if (f != null) {
|
|
22026
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
22027
|
+
}
|
|
22028
|
+
f = message.getJobId();
|
|
22029
|
+
if (f.length > 0) {
|
|
22030
|
+
writer.writeString(2, f);
|
|
22031
|
+
}
|
|
22032
|
+
};
|
|
22033
|
+
/**
|
|
22034
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
22035
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
22036
|
+
*/
|
|
22037
|
+
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.prototype.getUserAppId = function () {
|
|
22038
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
22039
|
+
};
|
|
22040
|
+
/**
|
|
22041
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
22042
|
+
* @return {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest} returns this
|
|
22043
|
+
*/
|
|
22044
|
+
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.prototype.setUserAppId = function (value) {
|
|
22045
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
22046
|
+
};
|
|
22047
|
+
/**
|
|
22048
|
+
* Clears the message field making it undefined.
|
|
22049
|
+
* @return {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest} returns this
|
|
22050
|
+
*/
|
|
22051
|
+
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.prototype.clearUserAppId = function () {
|
|
22052
|
+
return this.setUserAppId(undefined);
|
|
22053
|
+
};
|
|
22054
|
+
/**
|
|
22055
|
+
* Returns whether this field is set.
|
|
22056
|
+
* @return {boolean}
|
|
22057
|
+
*/
|
|
22058
|
+
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.prototype.hasUserAppId = function () {
|
|
22059
|
+
return jspb.Message.getField(this, 1) != null;
|
|
22060
|
+
};
|
|
22061
|
+
/**
|
|
22062
|
+
* optional string job_id = 2;
|
|
22063
|
+
* @return {string}
|
|
22064
|
+
*/
|
|
22065
|
+
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.prototype.getJobId = function () {
|
|
22066
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
22067
|
+
};
|
|
22068
|
+
/**
|
|
22069
|
+
* @param {string} value
|
|
22070
|
+
* @return {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest} returns this
|
|
22071
|
+
*/
|
|
22072
|
+
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.prototype.setJobId = function (value) {
|
|
22073
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
22074
|
+
};
|
|
22075
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22076
|
+
/**
|
|
22077
|
+
* Creates an object representation of this proto.
|
|
22078
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22079
|
+
* Optional fields that are not set will be set to undefined.
|
|
22080
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22081
|
+
* For the list of reserved names please see:
|
|
22082
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22083
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22084
|
+
* JSPB instance for transitional soy proto support:
|
|
22085
|
+
* http://goto/soy-param-migration
|
|
22086
|
+
* @return {!Object}
|
|
22087
|
+
*/
|
|
22088
|
+
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.prototype.toObject = function (opt_includeInstance) {
|
|
22089
|
+
return proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.toObject(opt_includeInstance, this);
|
|
22090
|
+
};
|
|
22091
|
+
/**
|
|
22092
|
+
* Static version of the {@see toObject} method.
|
|
22093
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22094
|
+
* the JSPB instance for transitional soy proto support:
|
|
22095
|
+
* http://goto/soy-param-migration
|
|
22096
|
+
* @param {!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse} msg The msg instance to transform.
|
|
22097
|
+
* @return {!Object}
|
|
22098
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22099
|
+
*/
|
|
22100
|
+
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.toObject = function (includeInstance, msg) {
|
|
22101
|
+
var f, obj = {
|
|
22102
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
22103
|
+
job: (f = msg.getJob()) && proto_clarifai_api_resources_pb.DatasetInputsSearchAddJob.toObject(includeInstance, f)
|
|
22104
|
+
};
|
|
22105
|
+
if (includeInstance) {
|
|
22106
|
+
obj.$jspbMessageInstance = msg;
|
|
22107
|
+
}
|
|
22108
|
+
return obj;
|
|
22109
|
+
};
|
|
22110
|
+
}
|
|
22111
|
+
/**
|
|
22112
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22113
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22114
|
+
* @return {!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse}
|
|
22115
|
+
*/
|
|
22116
|
+
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.deserializeBinary = function (bytes) {
|
|
22117
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22118
|
+
var msg = new proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse;
|
|
22119
|
+
return proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.deserializeBinaryFromReader(msg, reader);
|
|
22120
|
+
};
|
|
22121
|
+
/**
|
|
22122
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22123
|
+
* given reader into the given message object.
|
|
22124
|
+
* @param {!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse} msg The message object to deserialize into.
|
|
22125
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22126
|
+
* @return {!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse}
|
|
22127
|
+
*/
|
|
22128
|
+
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
22129
|
+
while (reader.nextField()) {
|
|
22130
|
+
if (reader.isEndGroup()) {
|
|
22131
|
+
break;
|
|
22132
|
+
}
|
|
22133
|
+
var field = reader.getFieldNumber();
|
|
22134
|
+
switch (field) {
|
|
22135
|
+
case 1:
|
|
22136
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
22137
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
22138
|
+
msg.setStatus(value);
|
|
22139
|
+
break;
|
|
22140
|
+
case 2:
|
|
22141
|
+
var value = new proto_clarifai_api_resources_pb.DatasetInputsSearchAddJob;
|
|
22142
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.DatasetInputsSearchAddJob.deserializeBinaryFromReader);
|
|
22143
|
+
msg.setJob(value);
|
|
22144
|
+
break;
|
|
22145
|
+
default:
|
|
22146
|
+
reader.skipField();
|
|
22147
|
+
break;
|
|
22148
|
+
}
|
|
22149
|
+
}
|
|
22150
|
+
return msg;
|
|
22151
|
+
};
|
|
22152
|
+
/**
|
|
22153
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22154
|
+
* @return {!Uint8Array}
|
|
22155
|
+
*/
|
|
22156
|
+
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.prototype.serializeBinary = function () {
|
|
22157
|
+
var writer = new jspb.BinaryWriter();
|
|
22158
|
+
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.serializeBinaryToWriter(this, writer);
|
|
22159
|
+
return writer.getResultBuffer();
|
|
22160
|
+
};
|
|
22161
|
+
/**
|
|
22162
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22163
|
+
* format), writing to the given BinaryWriter.
|
|
22164
|
+
* @param {!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse} message
|
|
22165
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22166
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22167
|
+
*/
|
|
22168
|
+
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.serializeBinaryToWriter = function (message, writer) {
|
|
22169
|
+
var f = undefined;
|
|
22170
|
+
f = message.getStatus();
|
|
22171
|
+
if (f != null) {
|
|
22172
|
+
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
22173
|
+
}
|
|
22174
|
+
f = message.getJob();
|
|
22175
|
+
if (f != null) {
|
|
22176
|
+
writer.writeMessage(2, f, proto_clarifai_api_resources_pb.DatasetInputsSearchAddJob.serializeBinaryToWriter);
|
|
22177
|
+
}
|
|
22178
|
+
};
|
|
22179
|
+
/**
|
|
22180
|
+
* optional status.Status status = 1;
|
|
22181
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
22182
|
+
*/
|
|
22183
|
+
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.prototype.getStatus = function () {
|
|
22184
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
22185
|
+
};
|
|
22186
|
+
/**
|
|
22187
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
22188
|
+
* @return {!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse} returns this
|
|
22189
|
+
*/
|
|
22190
|
+
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.prototype.setStatus = function (value) {
|
|
22191
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
22192
|
+
};
|
|
22193
|
+
/**
|
|
22194
|
+
* Clears the message field making it undefined.
|
|
22195
|
+
* @return {!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse} returns this
|
|
22196
|
+
*/
|
|
22197
|
+
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.prototype.clearStatus = function () {
|
|
22198
|
+
return this.setStatus(undefined);
|
|
22199
|
+
};
|
|
22200
|
+
/**
|
|
22201
|
+
* Returns whether this field is set.
|
|
22202
|
+
* @return {boolean}
|
|
22203
|
+
*/
|
|
22204
|
+
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.prototype.hasStatus = function () {
|
|
22205
|
+
return jspb.Message.getField(this, 1) != null;
|
|
22206
|
+
};
|
|
22207
|
+
/**
|
|
22208
|
+
* optional DatasetInputsSearchAddJob job = 2;
|
|
22209
|
+
* @return {?proto.clarifai.api.DatasetInputsSearchAddJob}
|
|
22210
|
+
*/
|
|
22211
|
+
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.prototype.getJob = function () {
|
|
22212
|
+
return /** @type{?proto.clarifai.api.DatasetInputsSearchAddJob} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.DatasetInputsSearchAddJob, 2));
|
|
22213
|
+
};
|
|
22214
|
+
/**
|
|
22215
|
+
* @param {?proto.clarifai.api.DatasetInputsSearchAddJob|undefined} value
|
|
22216
|
+
* @return {!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse} returns this
|
|
22217
|
+
*/
|
|
22218
|
+
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.prototype.setJob = function (value) {
|
|
22219
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
22220
|
+
};
|
|
22221
|
+
/**
|
|
22222
|
+
* Clears the message field making it undefined.
|
|
22223
|
+
* @return {!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse} returns this
|
|
22224
|
+
*/
|
|
22225
|
+
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.prototype.clearJob = function () {
|
|
22226
|
+
return this.setJob(undefined);
|
|
22227
|
+
};
|
|
22228
|
+
/**
|
|
22229
|
+
* Returns whether this field is set.
|
|
22230
|
+
* @return {boolean}
|
|
22231
|
+
*/
|
|
22232
|
+
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.prototype.hasJob = function () {
|
|
22233
|
+
return jspb.Message.getField(this, 2) != null;
|
|
22234
|
+
};
|
|
21155
22235
|
/**
|
|
21156
22236
|
* List of repeated fields within this message type.
|
|
21157
22237
|
* @private {!Array<number>}
|
|
@@ -27789,7 +28869,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
27789
28869
|
testSearch: (f = msg.getTestSearch()) && proto_clarifai_api_resources_pb.Search.toObject(includeInstance, f),
|
|
27790
28870
|
evaluateAfterTraining: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
27791
28871
|
description: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
27792
|
-
datasetVersion: (f = msg.getDatasetVersion()) && proto_clarifai_api_resources_pb.DatasetVersion.toObject(includeInstance, f)
|
|
28872
|
+
datasetVersion: (f = msg.getDatasetVersion()) && proto_clarifai_api_resources_pb.DatasetVersion.toObject(includeInstance, f),
|
|
28873
|
+
evalInfo: (f = msg.getEvalInfo()) && proto_clarifai_api_resources_pb.EvalInfo.toObject(includeInstance, f)
|
|
27793
28874
|
};
|
|
27794
28875
|
if (includeInstance) {
|
|
27795
28876
|
obj.$jspbMessageInstance = msg;
|
|
@@ -27863,6 +28944,11 @@ proto.clarifai.api.PostModelVersionsRequest.deserializeBinaryFromReader = functi
|
|
|
27863
28944
|
reader.readMessage(value, proto_clarifai_api_resources_pb.DatasetVersion.deserializeBinaryFromReader);
|
|
27864
28945
|
msg.setDatasetVersion(value);
|
|
27865
28946
|
break;
|
|
28947
|
+
case 10:
|
|
28948
|
+
var value = new proto_clarifai_api_resources_pb.EvalInfo;
|
|
28949
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.EvalInfo.deserializeBinaryFromReader);
|
|
28950
|
+
msg.setEvalInfo(value);
|
|
28951
|
+
break;
|
|
27866
28952
|
default:
|
|
27867
28953
|
reader.skipField();
|
|
27868
28954
|
break;
|
|
@@ -27924,6 +29010,10 @@ proto.clarifai.api.PostModelVersionsRequest.serializeBinaryToWriter = function (
|
|
|
27924
29010
|
if (f != null) {
|
|
27925
29011
|
writer.writeMessage(9, f, proto_clarifai_api_resources_pb.DatasetVersion.serializeBinaryToWriter);
|
|
27926
29012
|
}
|
|
29013
|
+
f = message.getEvalInfo();
|
|
29014
|
+
if (f != null) {
|
|
29015
|
+
writer.writeMessage(10, f, proto_clarifai_api_resources_pb.EvalInfo.serializeBinaryToWriter);
|
|
29016
|
+
}
|
|
27927
29017
|
};
|
|
27928
29018
|
/**
|
|
27929
29019
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -28136,6 +29226,34 @@ proto.clarifai.api.PostModelVersionsRequest.prototype.clearDatasetVersion = func
|
|
|
28136
29226
|
proto.clarifai.api.PostModelVersionsRequest.prototype.hasDatasetVersion = function () {
|
|
28137
29227
|
return jspb.Message.getField(this, 9) != null;
|
|
28138
29228
|
};
|
|
29229
|
+
/**
|
|
29230
|
+
* optional EvalInfo eval_info = 10;
|
|
29231
|
+
* @return {?proto.clarifai.api.EvalInfo}
|
|
29232
|
+
*/
|
|
29233
|
+
proto.clarifai.api.PostModelVersionsRequest.prototype.getEvalInfo = function () {
|
|
29234
|
+
return /** @type{?proto.clarifai.api.EvalInfo} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.EvalInfo, 10));
|
|
29235
|
+
};
|
|
29236
|
+
/**
|
|
29237
|
+
* @param {?proto.clarifai.api.EvalInfo|undefined} value
|
|
29238
|
+
* @return {!proto.clarifai.api.PostModelVersionsRequest} returns this
|
|
29239
|
+
*/
|
|
29240
|
+
proto.clarifai.api.PostModelVersionsRequest.prototype.setEvalInfo = function (value) {
|
|
29241
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
29242
|
+
};
|
|
29243
|
+
/**
|
|
29244
|
+
* Clears the message field making it undefined.
|
|
29245
|
+
* @return {!proto.clarifai.api.PostModelVersionsRequest} returns this
|
|
29246
|
+
*/
|
|
29247
|
+
proto.clarifai.api.PostModelVersionsRequest.prototype.clearEvalInfo = function () {
|
|
29248
|
+
return this.setEvalInfo(undefined);
|
|
29249
|
+
};
|
|
29250
|
+
/**
|
|
29251
|
+
* Returns whether this field is set.
|
|
29252
|
+
* @return {boolean}
|
|
29253
|
+
*/
|
|
29254
|
+
proto.clarifai.api.PostModelVersionsRequest.prototype.hasEvalInfo = function () {
|
|
29255
|
+
return jspb.Message.getField(this, 10) != null;
|
|
29256
|
+
};
|
|
28139
29257
|
/**
|
|
28140
29258
|
* List of repeated fields within this message type.
|
|
28141
29259
|
* @private {!Array<number>}
|
|
@@ -29355,7 +30473,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
29355
30473
|
modelId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
29356
30474
|
versionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
29357
30475
|
maxExamples: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
29358
|
-
testSearch: (f = msg.getTestSearch()) && proto_clarifai_api_resources_pb.Search.toObject(includeInstance, f)
|
|
30476
|
+
testSearch: (f = msg.getTestSearch()) && proto_clarifai_api_resources_pb.Search.toObject(includeInstance, f),
|
|
30477
|
+
evalInfo: (f = msg.getEvalInfo()) && proto_clarifai_api_resources_pb.EvalInfo.toObject(includeInstance, f)
|
|
29359
30478
|
};
|
|
29360
30479
|
if (includeInstance) {
|
|
29361
30480
|
obj.$jspbMessageInstance = msg;
|
|
@@ -29409,6 +30528,11 @@ proto.clarifai.api.PostModelVersionMetricsRequest.deserializeBinaryFromReader =
|
|
|
29409
30528
|
reader.readMessage(value, proto_clarifai_api_resources_pb.Search.deserializeBinaryFromReader);
|
|
29410
30529
|
msg.setTestSearch(value);
|
|
29411
30530
|
break;
|
|
30531
|
+
case 10:
|
|
30532
|
+
var value = new proto_clarifai_api_resources_pb.EvalInfo;
|
|
30533
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.EvalInfo.deserializeBinaryFromReader);
|
|
30534
|
+
msg.setEvalInfo(value);
|
|
30535
|
+
break;
|
|
29412
30536
|
default:
|
|
29413
30537
|
reader.skipField();
|
|
29414
30538
|
break;
|
|
@@ -29454,6 +30578,10 @@ proto.clarifai.api.PostModelVersionMetricsRequest.serializeBinaryToWriter = func
|
|
|
29454
30578
|
if (f != null) {
|
|
29455
30579
|
writer.writeMessage(5, f, proto_clarifai_api_resources_pb.Search.serializeBinaryToWriter);
|
|
29456
30580
|
}
|
|
30581
|
+
f = message.getEvalInfo();
|
|
30582
|
+
if (f != null) {
|
|
30583
|
+
writer.writeMessage(10, f, proto_clarifai_api_resources_pb.EvalInfo.serializeBinaryToWriter);
|
|
30584
|
+
}
|
|
29457
30585
|
};
|
|
29458
30586
|
/**
|
|
29459
30587
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -29553,6 +30681,34 @@ proto.clarifai.api.PostModelVersionMetricsRequest.prototype.clearTestSearch = fu
|
|
|
29553
30681
|
proto.clarifai.api.PostModelVersionMetricsRequest.prototype.hasTestSearch = function () {
|
|
29554
30682
|
return jspb.Message.getField(this, 5) != null;
|
|
29555
30683
|
};
|
|
30684
|
+
/**
|
|
30685
|
+
* optional EvalInfo eval_info = 10;
|
|
30686
|
+
* @return {?proto.clarifai.api.EvalInfo}
|
|
30687
|
+
*/
|
|
30688
|
+
proto.clarifai.api.PostModelVersionMetricsRequest.prototype.getEvalInfo = function () {
|
|
30689
|
+
return /** @type{?proto.clarifai.api.EvalInfo} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.EvalInfo, 10));
|
|
30690
|
+
};
|
|
30691
|
+
/**
|
|
30692
|
+
* @param {?proto.clarifai.api.EvalInfo|undefined} value
|
|
30693
|
+
* @return {!proto.clarifai.api.PostModelVersionMetricsRequest} returns this
|
|
30694
|
+
*/
|
|
30695
|
+
proto.clarifai.api.PostModelVersionMetricsRequest.prototype.setEvalInfo = function (value) {
|
|
30696
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
30697
|
+
};
|
|
30698
|
+
/**
|
|
30699
|
+
* Clears the message field making it undefined.
|
|
30700
|
+
* @return {!proto.clarifai.api.PostModelVersionMetricsRequest} returns this
|
|
30701
|
+
*/
|
|
30702
|
+
proto.clarifai.api.PostModelVersionMetricsRequest.prototype.clearEvalInfo = function () {
|
|
30703
|
+
return this.setEvalInfo(undefined);
|
|
30704
|
+
};
|
|
30705
|
+
/**
|
|
30706
|
+
* Returns whether this field is set.
|
|
30707
|
+
* @return {boolean}
|
|
30708
|
+
*/
|
|
30709
|
+
proto.clarifai.api.PostModelVersionMetricsRequest.prototype.hasEvalInfo = function () {
|
|
30710
|
+
return jspb.Message.getField(this, 10) != null;
|
|
30711
|
+
};
|
|
29556
30712
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
29557
30713
|
/**
|
|
29558
30714
|
* Creates an object representation of this proto.
|
|
@@ -32657,7 +33813,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
32657
33813
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
32658
33814
|
scopesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
32659
33815
|
app: (f = msg.getApp()) && proto_clarifai_api_resources_pb.App.toObject(includeInstance, f),
|
|
32660
|
-
endpointsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
|
|
33816
|
+
endpointsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
33817
|
+
userFeatureFlags: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
32661
33818
|
};
|
|
32662
33819
|
if (includeInstance) {
|
|
32663
33820
|
obj.$jspbMessageInstance = msg;
|
|
@@ -32707,6 +33864,10 @@ proto.clarifai.api.MultiScopeResponse.deserializeBinaryFromReader = function (ms
|
|
|
32707
33864
|
var value = /** @type {string} */ (reader.readString());
|
|
32708
33865
|
msg.addEndpoints(value);
|
|
32709
33866
|
break;
|
|
33867
|
+
case 5:
|
|
33868
|
+
var value = /** @type {string} */ (reader.readString());
|
|
33869
|
+
msg.setUserFeatureFlags(value);
|
|
33870
|
+
break;
|
|
32710
33871
|
default:
|
|
32711
33872
|
reader.skipField();
|
|
32712
33873
|
break;
|
|
@@ -32748,6 +33909,10 @@ proto.clarifai.api.MultiScopeResponse.serializeBinaryToWriter = function (messag
|
|
|
32748
33909
|
if (f.length > 0) {
|
|
32749
33910
|
writer.writeRepeatedString(4, f);
|
|
32750
33911
|
}
|
|
33912
|
+
f = message.getUserFeatureFlags();
|
|
33913
|
+
if (f.length > 0) {
|
|
33914
|
+
writer.writeString(5, f);
|
|
33915
|
+
}
|
|
32751
33916
|
};
|
|
32752
33917
|
/**
|
|
32753
33918
|
* optional status.Status status = 1;
|
|
@@ -32863,6 +34028,20 @@ proto.clarifai.api.MultiScopeResponse.prototype.addEndpoints = function (value,
|
|
|
32863
34028
|
proto.clarifai.api.MultiScopeResponse.prototype.clearEndpointsList = function () {
|
|
32864
34029
|
return this.setEndpointsList([]);
|
|
32865
34030
|
};
|
|
34031
|
+
/**
|
|
34032
|
+
* optional string user_feature_flags = 5;
|
|
34033
|
+
* @return {string}
|
|
34034
|
+
*/
|
|
34035
|
+
proto.clarifai.api.MultiScopeResponse.prototype.getUserFeatureFlags = function () {
|
|
34036
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
34037
|
+
};
|
|
34038
|
+
/**
|
|
34039
|
+
* @param {string} value
|
|
34040
|
+
* @return {!proto.clarifai.api.MultiScopeResponse} returns this
|
|
34041
|
+
*/
|
|
34042
|
+
proto.clarifai.api.MultiScopeResponse.prototype.setUserFeatureFlags = function (value) {
|
|
34043
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
34044
|
+
};
|
|
32866
34045
|
/**
|
|
32867
34046
|
* List of repeated fields within this message type.
|
|
32868
34047
|
* @private {!Array<number>}
|
|
@@ -32898,7 +34077,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
32898
34077
|
var f, obj = {
|
|
32899
34078
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
32900
34079
|
scopesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
32901
|
-
endpointsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
|
|
34080
|
+
endpointsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
34081
|
+
userFeatureFlags: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
32902
34082
|
};
|
|
32903
34083
|
if (includeInstance) {
|
|
32904
34084
|
obj.$jspbMessageInstance = msg;
|
|
@@ -32943,6 +34123,10 @@ proto.clarifai.api.MultiScopeUserResponse.deserializeBinaryFromReader = function
|
|
|
32943
34123
|
var value = /** @type {string} */ (reader.readString());
|
|
32944
34124
|
msg.addEndpoints(value);
|
|
32945
34125
|
break;
|
|
34126
|
+
case 5:
|
|
34127
|
+
var value = /** @type {string} */ (reader.readString());
|
|
34128
|
+
msg.setUserFeatureFlags(value);
|
|
34129
|
+
break;
|
|
32946
34130
|
default:
|
|
32947
34131
|
reader.skipField();
|
|
32948
34132
|
break;
|
|
@@ -32980,6 +34164,10 @@ proto.clarifai.api.MultiScopeUserResponse.serializeBinaryToWriter = function (me
|
|
|
32980
34164
|
if (f.length > 0) {
|
|
32981
34165
|
writer.writeRepeatedString(4, f);
|
|
32982
34166
|
}
|
|
34167
|
+
f = message.getUserFeatureFlags();
|
|
34168
|
+
if (f.length > 0) {
|
|
34169
|
+
writer.writeString(5, f);
|
|
34170
|
+
}
|
|
32983
34171
|
};
|
|
32984
34172
|
/**
|
|
32985
34173
|
* optional status.Status status = 1;
|
|
@@ -33067,6 +34255,20 @@ proto.clarifai.api.MultiScopeUserResponse.prototype.addEndpoints = function (val
|
|
|
33067
34255
|
proto.clarifai.api.MultiScopeUserResponse.prototype.clearEndpointsList = function () {
|
|
33068
34256
|
return this.setEndpointsList([]);
|
|
33069
34257
|
};
|
|
34258
|
+
/**
|
|
34259
|
+
* optional string user_feature_flags = 5;
|
|
34260
|
+
* @return {string}
|
|
34261
|
+
*/
|
|
34262
|
+
proto.clarifai.api.MultiScopeUserResponse.prototype.getUserFeatureFlags = function () {
|
|
34263
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
34264
|
+
};
|
|
34265
|
+
/**
|
|
34266
|
+
* @param {string} value
|
|
34267
|
+
* @return {!proto.clarifai.api.MultiScopeUserResponse} returns this
|
|
34268
|
+
*/
|
|
34269
|
+
proto.clarifai.api.MultiScopeUserResponse.prototype.setUserFeatureFlags = function (value) {
|
|
34270
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
34271
|
+
};
|
|
33070
34272
|
/**
|
|
33071
34273
|
* List of repeated fields within this message type.
|
|
33072
34274
|
* @private {!Array<number>}
|
|
@@ -33102,7 +34304,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
33102
34304
|
var f, obj = {
|
|
33103
34305
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
33104
34306
|
scopesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
33105
|
-
endpointsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
|
|
34307
|
+
endpointsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
34308
|
+
userFeatureFlags: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
33106
34309
|
};
|
|
33107
34310
|
if (includeInstance) {
|
|
33108
34311
|
obj.$jspbMessageInstance = msg;
|
|
@@ -33147,6 +34350,10 @@ proto.clarifai.api.MultiScopeRootResponse.deserializeBinaryFromReader = function
|
|
|
33147
34350
|
var value = /** @type {string} */ (reader.readString());
|
|
33148
34351
|
msg.addEndpoints(value);
|
|
33149
34352
|
break;
|
|
34353
|
+
case 5:
|
|
34354
|
+
var value = /** @type {string} */ (reader.readString());
|
|
34355
|
+
msg.setUserFeatureFlags(value);
|
|
34356
|
+
break;
|
|
33150
34357
|
default:
|
|
33151
34358
|
reader.skipField();
|
|
33152
34359
|
break;
|
|
@@ -33184,6 +34391,10 @@ proto.clarifai.api.MultiScopeRootResponse.serializeBinaryToWriter = function (me
|
|
|
33184
34391
|
if (f.length > 0) {
|
|
33185
34392
|
writer.writeRepeatedString(4, f);
|
|
33186
34393
|
}
|
|
34394
|
+
f = message.getUserFeatureFlags();
|
|
34395
|
+
if (f.length > 0) {
|
|
34396
|
+
writer.writeString(5, f);
|
|
34397
|
+
}
|
|
33187
34398
|
};
|
|
33188
34399
|
/**
|
|
33189
34400
|
* optional status.Status status = 1;
|
|
@@ -33271,6 +34482,20 @@ proto.clarifai.api.MultiScopeRootResponse.prototype.addEndpoints = function (val
|
|
|
33271
34482
|
proto.clarifai.api.MultiScopeRootResponse.prototype.clearEndpointsList = function () {
|
|
33272
34483
|
return this.setEndpointsList([]);
|
|
33273
34484
|
};
|
|
34485
|
+
/**
|
|
34486
|
+
* optional string user_feature_flags = 5;
|
|
34487
|
+
* @return {string}
|
|
34488
|
+
*/
|
|
34489
|
+
proto.clarifai.api.MultiScopeRootResponse.prototype.getUserFeatureFlags = function () {
|
|
34490
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
34491
|
+
};
|
|
34492
|
+
/**
|
|
34493
|
+
* @param {string} value
|
|
34494
|
+
* @return {!proto.clarifai.api.MultiScopeRootResponse} returns this
|
|
34495
|
+
*/
|
|
34496
|
+
proto.clarifai.api.MultiScopeRootResponse.prototype.setUserFeatureFlags = function (value) {
|
|
34497
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
34498
|
+
};
|
|
33274
34499
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
33275
34500
|
/**
|
|
33276
34501
|
* Creates an object representation of this proto.
|
|
@@ -42665,6 +43890,12 @@ proto.clarifai.api.PostTasksRequest.prototype.addTasks = function (opt_value, op
|
|
|
42665
43890
|
proto.clarifai.api.PostTasksRequest.prototype.clearTasksList = function () {
|
|
42666
43891
|
return this.setTasksList([]);
|
|
42667
43892
|
};
|
|
43893
|
+
/**
|
|
43894
|
+
* List of repeated fields within this message type.
|
|
43895
|
+
* @private {!Array<number>}
|
|
43896
|
+
* @const
|
|
43897
|
+
*/
|
|
43898
|
+
proto.clarifai.api.GetTaskRequest.repeatedFields_ = [3];
|
|
42668
43899
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
42669
43900
|
/**
|
|
42670
43901
|
* Creates an object representation of this proto.
|
|
@@ -42693,7 +43924,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
42693
43924
|
proto.clarifai.api.GetTaskRequest.toObject = function (includeInstance, msg) {
|
|
42694
43925
|
var f, obj = {
|
|
42695
43926
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
42696
|
-
taskId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
43927
|
+
taskId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
43928
|
+
additionalFieldsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
42697
43929
|
};
|
|
42698
43930
|
if (includeInstance) {
|
|
42699
43931
|
obj.$jspbMessageInstance = msg;
|
|
@@ -42734,6 +43966,10 @@ proto.clarifai.api.GetTaskRequest.deserializeBinaryFromReader = function (msg, r
|
|
|
42734
43966
|
var value = /** @type {string} */ (reader.readString());
|
|
42735
43967
|
msg.setTaskId(value);
|
|
42736
43968
|
break;
|
|
43969
|
+
case 3:
|
|
43970
|
+
var value = /** @type {string} */ (reader.readString());
|
|
43971
|
+
msg.addAdditionalFields(value);
|
|
43972
|
+
break;
|
|
42737
43973
|
default:
|
|
42738
43974
|
reader.skipField();
|
|
42739
43975
|
break;
|
|
@@ -42767,6 +44003,10 @@ proto.clarifai.api.GetTaskRequest.serializeBinaryToWriter = function (message, w
|
|
|
42767
44003
|
if (f.length > 0) {
|
|
42768
44004
|
writer.writeString(2, f);
|
|
42769
44005
|
}
|
|
44006
|
+
f = message.getAdditionalFieldsList();
|
|
44007
|
+
if (f.length > 0) {
|
|
44008
|
+
writer.writeRepeatedString(3, f);
|
|
44009
|
+
}
|
|
42770
44010
|
};
|
|
42771
44011
|
/**
|
|
42772
44012
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -42810,12 +44050,41 @@ proto.clarifai.api.GetTaskRequest.prototype.getTaskId = function () {
|
|
|
42810
44050
|
proto.clarifai.api.GetTaskRequest.prototype.setTaskId = function (value) {
|
|
42811
44051
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
42812
44052
|
};
|
|
44053
|
+
/**
|
|
44054
|
+
* repeated string additional_fields = 3;
|
|
44055
|
+
* @return {!Array<string>}
|
|
44056
|
+
*/
|
|
44057
|
+
proto.clarifai.api.GetTaskRequest.prototype.getAdditionalFieldsList = function () {
|
|
44058
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
44059
|
+
};
|
|
44060
|
+
/**
|
|
44061
|
+
* @param {!Array<string>} value
|
|
44062
|
+
* @return {!proto.clarifai.api.GetTaskRequest} returns this
|
|
44063
|
+
*/
|
|
44064
|
+
proto.clarifai.api.GetTaskRequest.prototype.setAdditionalFieldsList = function (value) {
|
|
44065
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
44066
|
+
};
|
|
44067
|
+
/**
|
|
44068
|
+
* @param {string} value
|
|
44069
|
+
* @param {number=} opt_index
|
|
44070
|
+
* @return {!proto.clarifai.api.GetTaskRequest} returns this
|
|
44071
|
+
*/
|
|
44072
|
+
proto.clarifai.api.GetTaskRequest.prototype.addAdditionalFields = function (value, opt_index) {
|
|
44073
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
44074
|
+
};
|
|
44075
|
+
/**
|
|
44076
|
+
* Clears the list making it empty but non-null.
|
|
44077
|
+
* @return {!proto.clarifai.api.GetTaskRequest} returns this
|
|
44078
|
+
*/
|
|
44079
|
+
proto.clarifai.api.GetTaskRequest.prototype.clearAdditionalFieldsList = function () {
|
|
44080
|
+
return this.setAdditionalFieldsList([]);
|
|
44081
|
+
};
|
|
42813
44082
|
/**
|
|
42814
44083
|
* List of repeated fields within this message type.
|
|
42815
44084
|
* @private {!Array<number>}
|
|
42816
44085
|
* @const
|
|
42817
44086
|
*/
|
|
42818
|
-
proto.clarifai.api.ListTasksRequest.repeatedFields_ = [4, 5];
|
|
44087
|
+
proto.clarifai.api.ListTasksRequest.repeatedFields_ = [4, 5, 7];
|
|
42819
44088
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
42820
44089
|
/**
|
|
42821
44090
|
* Creates an object representation of this proto.
|
|
@@ -42848,7 +44117,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
42848
44117
|
perPage: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
42849
44118
|
workerUserIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
42850
44119
|
reviewUserIdsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
42851
|
-
includingLabelOrderTasks: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
44120
|
+
includingLabelOrderTasks: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
44121
|
+
additionalFieldsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f
|
|
42852
44122
|
};
|
|
42853
44123
|
if (includeInstance) {
|
|
42854
44124
|
obj.$jspbMessageInstance = msg;
|
|
@@ -42905,6 +44175,10 @@ proto.clarifai.api.ListTasksRequest.deserializeBinaryFromReader = function (msg,
|
|
|
42905
44175
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
42906
44176
|
msg.setIncludingLabelOrderTasks(value);
|
|
42907
44177
|
break;
|
|
44178
|
+
case 7:
|
|
44179
|
+
var value = /** @type {string} */ (reader.readString());
|
|
44180
|
+
msg.addAdditionalFields(value);
|
|
44181
|
+
break;
|
|
42908
44182
|
default:
|
|
42909
44183
|
reader.skipField();
|
|
42910
44184
|
break;
|
|
@@ -42954,6 +44228,10 @@ proto.clarifai.api.ListTasksRequest.serializeBinaryToWriter = function (message,
|
|
|
42954
44228
|
if (f) {
|
|
42955
44229
|
writer.writeBool(6, f);
|
|
42956
44230
|
}
|
|
44231
|
+
f = message.getAdditionalFieldsList();
|
|
44232
|
+
if (f.length > 0) {
|
|
44233
|
+
writer.writeRepeatedString(7, f);
|
|
44234
|
+
}
|
|
42957
44235
|
};
|
|
42958
44236
|
/**
|
|
42959
44237
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -43083,6 +44361,35 @@ proto.clarifai.api.ListTasksRequest.prototype.getIncludingLabelOrderTasks = func
|
|
|
43083
44361
|
proto.clarifai.api.ListTasksRequest.prototype.setIncludingLabelOrderTasks = function (value) {
|
|
43084
44362
|
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
43085
44363
|
};
|
|
44364
|
+
/**
|
|
44365
|
+
* repeated string additional_fields = 7;
|
|
44366
|
+
* @return {!Array<string>}
|
|
44367
|
+
*/
|
|
44368
|
+
proto.clarifai.api.ListTasksRequest.prototype.getAdditionalFieldsList = function () {
|
|
44369
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 7));
|
|
44370
|
+
};
|
|
44371
|
+
/**
|
|
44372
|
+
* @param {!Array<string>} value
|
|
44373
|
+
* @return {!proto.clarifai.api.ListTasksRequest} returns this
|
|
44374
|
+
*/
|
|
44375
|
+
proto.clarifai.api.ListTasksRequest.prototype.setAdditionalFieldsList = function (value) {
|
|
44376
|
+
return jspb.Message.setField(this, 7, value || []);
|
|
44377
|
+
};
|
|
44378
|
+
/**
|
|
44379
|
+
* @param {string} value
|
|
44380
|
+
* @param {number=} opt_index
|
|
44381
|
+
* @return {!proto.clarifai.api.ListTasksRequest} returns this
|
|
44382
|
+
*/
|
|
44383
|
+
proto.clarifai.api.ListTasksRequest.prototype.addAdditionalFields = function (value, opt_index) {
|
|
44384
|
+
return jspb.Message.addToRepeatedField(this, 7, value, opt_index);
|
|
44385
|
+
};
|
|
44386
|
+
/**
|
|
44387
|
+
* Clears the list making it empty but non-null.
|
|
44388
|
+
* @return {!proto.clarifai.api.ListTasksRequest} returns this
|
|
44389
|
+
*/
|
|
44390
|
+
proto.clarifai.api.ListTasksRequest.prototype.clearAdditionalFieldsList = function () {
|
|
44391
|
+
return this.setAdditionalFieldsList([]);
|
|
44392
|
+
};
|
|
43086
44393
|
/**
|
|
43087
44394
|
* List of repeated fields within this message type.
|
|
43088
44395
|
* @private {!Array<number>}
|
|
@@ -47711,6 +49018,1145 @@ proto.clarifai.api.MultiTrendingMetricsViewResponse.prototype.addMetrics = funct
|
|
|
47711
49018
|
proto.clarifai.api.MultiTrendingMetricsViewResponse.prototype.clearMetricsList = function () {
|
|
47712
49019
|
return this.setMetricsList([]);
|
|
47713
49020
|
};
|
|
49021
|
+
/**
|
|
49022
|
+
* List of repeated fields within this message type.
|
|
49023
|
+
* @private {!Array<number>}
|
|
49024
|
+
* @const
|
|
49025
|
+
*/
|
|
49026
|
+
proto.clarifai.api.PostBulkOperationsRequest.repeatedFields_ = [2];
|
|
49027
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
49028
|
+
/**
|
|
49029
|
+
* Creates an object representation of this proto.
|
|
49030
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
49031
|
+
* Optional fields that are not set will be set to undefined.
|
|
49032
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
49033
|
+
* For the list of reserved names please see:
|
|
49034
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
49035
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
49036
|
+
* JSPB instance for transitional soy proto support:
|
|
49037
|
+
* http://goto/soy-param-migration
|
|
49038
|
+
* @return {!Object}
|
|
49039
|
+
*/
|
|
49040
|
+
proto.clarifai.api.PostBulkOperationsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
49041
|
+
return proto.clarifai.api.PostBulkOperationsRequest.toObject(opt_includeInstance, this);
|
|
49042
|
+
};
|
|
49043
|
+
/**
|
|
49044
|
+
* Static version of the {@see toObject} method.
|
|
49045
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
49046
|
+
* the JSPB instance for transitional soy proto support:
|
|
49047
|
+
* http://goto/soy-param-migration
|
|
49048
|
+
* @param {!proto.clarifai.api.PostBulkOperationsRequest} msg The msg instance to transform.
|
|
49049
|
+
* @return {!Object}
|
|
49050
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
49051
|
+
*/
|
|
49052
|
+
proto.clarifai.api.PostBulkOperationsRequest.toObject = function (includeInstance, msg) {
|
|
49053
|
+
var f, obj = {
|
|
49054
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
49055
|
+
bulkOperationsList: jspb.Message.toObjectList(msg.getBulkOperationsList(), proto_clarifai_api_resources_pb.BulkOperation.toObject, includeInstance)
|
|
49056
|
+
};
|
|
49057
|
+
if (includeInstance) {
|
|
49058
|
+
obj.$jspbMessageInstance = msg;
|
|
49059
|
+
}
|
|
49060
|
+
return obj;
|
|
49061
|
+
};
|
|
49062
|
+
}
|
|
49063
|
+
/**
|
|
49064
|
+
* Deserializes binary data (in protobuf wire format).
|
|
49065
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
49066
|
+
* @return {!proto.clarifai.api.PostBulkOperationsRequest}
|
|
49067
|
+
*/
|
|
49068
|
+
proto.clarifai.api.PostBulkOperationsRequest.deserializeBinary = function (bytes) {
|
|
49069
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
49070
|
+
var msg = new proto.clarifai.api.PostBulkOperationsRequest;
|
|
49071
|
+
return proto.clarifai.api.PostBulkOperationsRequest.deserializeBinaryFromReader(msg, reader);
|
|
49072
|
+
};
|
|
49073
|
+
/**
|
|
49074
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
49075
|
+
* given reader into the given message object.
|
|
49076
|
+
* @param {!proto.clarifai.api.PostBulkOperationsRequest} msg The message object to deserialize into.
|
|
49077
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
49078
|
+
* @return {!proto.clarifai.api.PostBulkOperationsRequest}
|
|
49079
|
+
*/
|
|
49080
|
+
proto.clarifai.api.PostBulkOperationsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
49081
|
+
while (reader.nextField()) {
|
|
49082
|
+
if (reader.isEndGroup()) {
|
|
49083
|
+
break;
|
|
49084
|
+
}
|
|
49085
|
+
var field = reader.getFieldNumber();
|
|
49086
|
+
switch (field) {
|
|
49087
|
+
case 1:
|
|
49088
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
49089
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
49090
|
+
msg.setUserAppId(value);
|
|
49091
|
+
break;
|
|
49092
|
+
case 2:
|
|
49093
|
+
var value = new proto_clarifai_api_resources_pb.BulkOperation;
|
|
49094
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.BulkOperation.deserializeBinaryFromReader);
|
|
49095
|
+
msg.addBulkOperations(value);
|
|
49096
|
+
break;
|
|
49097
|
+
default:
|
|
49098
|
+
reader.skipField();
|
|
49099
|
+
break;
|
|
49100
|
+
}
|
|
49101
|
+
}
|
|
49102
|
+
return msg;
|
|
49103
|
+
};
|
|
49104
|
+
/**
|
|
49105
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
49106
|
+
* @return {!Uint8Array}
|
|
49107
|
+
*/
|
|
49108
|
+
proto.clarifai.api.PostBulkOperationsRequest.prototype.serializeBinary = function () {
|
|
49109
|
+
var writer = new jspb.BinaryWriter();
|
|
49110
|
+
proto.clarifai.api.PostBulkOperationsRequest.serializeBinaryToWriter(this, writer);
|
|
49111
|
+
return writer.getResultBuffer();
|
|
49112
|
+
};
|
|
49113
|
+
/**
|
|
49114
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
49115
|
+
* format), writing to the given BinaryWriter.
|
|
49116
|
+
* @param {!proto.clarifai.api.PostBulkOperationsRequest} message
|
|
49117
|
+
* @param {!jspb.BinaryWriter} writer
|
|
49118
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
49119
|
+
*/
|
|
49120
|
+
proto.clarifai.api.PostBulkOperationsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
49121
|
+
var f = undefined;
|
|
49122
|
+
f = message.getUserAppId();
|
|
49123
|
+
if (f != null) {
|
|
49124
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
49125
|
+
}
|
|
49126
|
+
f = message.getBulkOperationsList();
|
|
49127
|
+
if (f.length > 0) {
|
|
49128
|
+
writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.BulkOperation.serializeBinaryToWriter);
|
|
49129
|
+
}
|
|
49130
|
+
};
|
|
49131
|
+
/**
|
|
49132
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
49133
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
49134
|
+
*/
|
|
49135
|
+
proto.clarifai.api.PostBulkOperationsRequest.prototype.getUserAppId = function () {
|
|
49136
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
49137
|
+
};
|
|
49138
|
+
/**
|
|
49139
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
49140
|
+
* @return {!proto.clarifai.api.PostBulkOperationsRequest} returns this
|
|
49141
|
+
*/
|
|
49142
|
+
proto.clarifai.api.PostBulkOperationsRequest.prototype.setUserAppId = function (value) {
|
|
49143
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
49144
|
+
};
|
|
49145
|
+
/**
|
|
49146
|
+
* Clears the message field making it undefined.
|
|
49147
|
+
* @return {!proto.clarifai.api.PostBulkOperationsRequest} returns this
|
|
49148
|
+
*/
|
|
49149
|
+
proto.clarifai.api.PostBulkOperationsRequest.prototype.clearUserAppId = function () {
|
|
49150
|
+
return this.setUserAppId(undefined);
|
|
49151
|
+
};
|
|
49152
|
+
/**
|
|
49153
|
+
* Returns whether this field is set.
|
|
49154
|
+
* @return {boolean}
|
|
49155
|
+
*/
|
|
49156
|
+
proto.clarifai.api.PostBulkOperationsRequest.prototype.hasUserAppId = function () {
|
|
49157
|
+
return jspb.Message.getField(this, 1) != null;
|
|
49158
|
+
};
|
|
49159
|
+
/**
|
|
49160
|
+
* repeated BulkOperation bulk_operations = 2;
|
|
49161
|
+
* @return {!Array<!proto.clarifai.api.BulkOperation>}
|
|
49162
|
+
*/
|
|
49163
|
+
proto.clarifai.api.PostBulkOperationsRequest.prototype.getBulkOperationsList = function () {
|
|
49164
|
+
return /** @type{!Array<!proto.clarifai.api.BulkOperation>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.BulkOperation, 2));
|
|
49165
|
+
};
|
|
49166
|
+
/**
|
|
49167
|
+
* @param {!Array<!proto.clarifai.api.BulkOperation>} value
|
|
49168
|
+
* @return {!proto.clarifai.api.PostBulkOperationsRequest} returns this
|
|
49169
|
+
*/
|
|
49170
|
+
proto.clarifai.api.PostBulkOperationsRequest.prototype.setBulkOperationsList = function (value) {
|
|
49171
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
49172
|
+
};
|
|
49173
|
+
/**
|
|
49174
|
+
* @param {!proto.clarifai.api.BulkOperation=} opt_value
|
|
49175
|
+
* @param {number=} opt_index
|
|
49176
|
+
* @return {!proto.clarifai.api.BulkOperation}
|
|
49177
|
+
*/
|
|
49178
|
+
proto.clarifai.api.PostBulkOperationsRequest.prototype.addBulkOperations = function (opt_value, opt_index) {
|
|
49179
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.BulkOperation, opt_index);
|
|
49180
|
+
};
|
|
49181
|
+
/**
|
|
49182
|
+
* Clears the list making it empty but non-null.
|
|
49183
|
+
* @return {!proto.clarifai.api.PostBulkOperationsRequest} returns this
|
|
49184
|
+
*/
|
|
49185
|
+
proto.clarifai.api.PostBulkOperationsRequest.prototype.clearBulkOperationsList = function () {
|
|
49186
|
+
return this.setBulkOperationsList([]);
|
|
49187
|
+
};
|
|
49188
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
49189
|
+
/**
|
|
49190
|
+
* Creates an object representation of this proto.
|
|
49191
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
49192
|
+
* Optional fields that are not set will be set to undefined.
|
|
49193
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
49194
|
+
* For the list of reserved names please see:
|
|
49195
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
49196
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
49197
|
+
* JSPB instance for transitional soy proto support:
|
|
49198
|
+
* http://goto/soy-param-migration
|
|
49199
|
+
* @return {!Object}
|
|
49200
|
+
*/
|
|
49201
|
+
proto.clarifai.api.ListBulkOperationsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
49202
|
+
return proto.clarifai.api.ListBulkOperationsRequest.toObject(opt_includeInstance, this);
|
|
49203
|
+
};
|
|
49204
|
+
/**
|
|
49205
|
+
* Static version of the {@see toObject} method.
|
|
49206
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
49207
|
+
* the JSPB instance for transitional soy proto support:
|
|
49208
|
+
* http://goto/soy-param-migration
|
|
49209
|
+
* @param {!proto.clarifai.api.ListBulkOperationsRequest} msg The msg instance to transform.
|
|
49210
|
+
* @return {!Object}
|
|
49211
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
49212
|
+
*/
|
|
49213
|
+
proto.clarifai.api.ListBulkOperationsRequest.toObject = function (includeInstance, msg) {
|
|
49214
|
+
var f, obj = {
|
|
49215
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
49216
|
+
page: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
49217
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
49218
|
+
};
|
|
49219
|
+
if (includeInstance) {
|
|
49220
|
+
obj.$jspbMessageInstance = msg;
|
|
49221
|
+
}
|
|
49222
|
+
return obj;
|
|
49223
|
+
};
|
|
49224
|
+
}
|
|
49225
|
+
/**
|
|
49226
|
+
* Deserializes binary data (in protobuf wire format).
|
|
49227
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
49228
|
+
* @return {!proto.clarifai.api.ListBulkOperationsRequest}
|
|
49229
|
+
*/
|
|
49230
|
+
proto.clarifai.api.ListBulkOperationsRequest.deserializeBinary = function (bytes) {
|
|
49231
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
49232
|
+
var msg = new proto.clarifai.api.ListBulkOperationsRequest;
|
|
49233
|
+
return proto.clarifai.api.ListBulkOperationsRequest.deserializeBinaryFromReader(msg, reader);
|
|
49234
|
+
};
|
|
49235
|
+
/**
|
|
49236
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
49237
|
+
* given reader into the given message object.
|
|
49238
|
+
* @param {!proto.clarifai.api.ListBulkOperationsRequest} msg The message object to deserialize into.
|
|
49239
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
49240
|
+
* @return {!proto.clarifai.api.ListBulkOperationsRequest}
|
|
49241
|
+
*/
|
|
49242
|
+
proto.clarifai.api.ListBulkOperationsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
49243
|
+
while (reader.nextField()) {
|
|
49244
|
+
if (reader.isEndGroup()) {
|
|
49245
|
+
break;
|
|
49246
|
+
}
|
|
49247
|
+
var field = reader.getFieldNumber();
|
|
49248
|
+
switch (field) {
|
|
49249
|
+
case 1:
|
|
49250
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
49251
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
49252
|
+
msg.setUserAppId(value);
|
|
49253
|
+
break;
|
|
49254
|
+
case 2:
|
|
49255
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
49256
|
+
msg.setPage(value);
|
|
49257
|
+
break;
|
|
49258
|
+
case 3:
|
|
49259
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
49260
|
+
msg.setPerPage(value);
|
|
49261
|
+
break;
|
|
49262
|
+
default:
|
|
49263
|
+
reader.skipField();
|
|
49264
|
+
break;
|
|
49265
|
+
}
|
|
49266
|
+
}
|
|
49267
|
+
return msg;
|
|
49268
|
+
};
|
|
49269
|
+
/**
|
|
49270
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
49271
|
+
* @return {!Uint8Array}
|
|
49272
|
+
*/
|
|
49273
|
+
proto.clarifai.api.ListBulkOperationsRequest.prototype.serializeBinary = function () {
|
|
49274
|
+
var writer = new jspb.BinaryWriter();
|
|
49275
|
+
proto.clarifai.api.ListBulkOperationsRequest.serializeBinaryToWriter(this, writer);
|
|
49276
|
+
return writer.getResultBuffer();
|
|
49277
|
+
};
|
|
49278
|
+
/**
|
|
49279
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
49280
|
+
* format), writing to the given BinaryWriter.
|
|
49281
|
+
* @param {!proto.clarifai.api.ListBulkOperationsRequest} message
|
|
49282
|
+
* @param {!jspb.BinaryWriter} writer
|
|
49283
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
49284
|
+
*/
|
|
49285
|
+
proto.clarifai.api.ListBulkOperationsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
49286
|
+
var f = undefined;
|
|
49287
|
+
f = message.getUserAppId();
|
|
49288
|
+
if (f != null) {
|
|
49289
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
49290
|
+
}
|
|
49291
|
+
f = message.getPage();
|
|
49292
|
+
if (f !== 0) {
|
|
49293
|
+
writer.writeUint32(2, f);
|
|
49294
|
+
}
|
|
49295
|
+
f = message.getPerPage();
|
|
49296
|
+
if (f !== 0) {
|
|
49297
|
+
writer.writeUint32(3, f);
|
|
49298
|
+
}
|
|
49299
|
+
};
|
|
49300
|
+
/**
|
|
49301
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
49302
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
49303
|
+
*/
|
|
49304
|
+
proto.clarifai.api.ListBulkOperationsRequest.prototype.getUserAppId = function () {
|
|
49305
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
49306
|
+
};
|
|
49307
|
+
/**
|
|
49308
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
49309
|
+
* @return {!proto.clarifai.api.ListBulkOperationsRequest} returns this
|
|
49310
|
+
*/
|
|
49311
|
+
proto.clarifai.api.ListBulkOperationsRequest.prototype.setUserAppId = function (value) {
|
|
49312
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
49313
|
+
};
|
|
49314
|
+
/**
|
|
49315
|
+
* Clears the message field making it undefined.
|
|
49316
|
+
* @return {!proto.clarifai.api.ListBulkOperationsRequest} returns this
|
|
49317
|
+
*/
|
|
49318
|
+
proto.clarifai.api.ListBulkOperationsRequest.prototype.clearUserAppId = function () {
|
|
49319
|
+
return this.setUserAppId(undefined);
|
|
49320
|
+
};
|
|
49321
|
+
/**
|
|
49322
|
+
* Returns whether this field is set.
|
|
49323
|
+
* @return {boolean}
|
|
49324
|
+
*/
|
|
49325
|
+
proto.clarifai.api.ListBulkOperationsRequest.prototype.hasUserAppId = function () {
|
|
49326
|
+
return jspb.Message.getField(this, 1) != null;
|
|
49327
|
+
};
|
|
49328
|
+
/**
|
|
49329
|
+
* optional uint32 page = 2;
|
|
49330
|
+
* @return {number}
|
|
49331
|
+
*/
|
|
49332
|
+
proto.clarifai.api.ListBulkOperationsRequest.prototype.getPage = function () {
|
|
49333
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
49334
|
+
};
|
|
49335
|
+
/**
|
|
49336
|
+
* @param {number} value
|
|
49337
|
+
* @return {!proto.clarifai.api.ListBulkOperationsRequest} returns this
|
|
49338
|
+
*/
|
|
49339
|
+
proto.clarifai.api.ListBulkOperationsRequest.prototype.setPage = function (value) {
|
|
49340
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
49341
|
+
};
|
|
49342
|
+
/**
|
|
49343
|
+
* optional uint32 per_page = 3;
|
|
49344
|
+
* @return {number}
|
|
49345
|
+
*/
|
|
49346
|
+
proto.clarifai.api.ListBulkOperationsRequest.prototype.getPerPage = function () {
|
|
49347
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
49348
|
+
};
|
|
49349
|
+
/**
|
|
49350
|
+
* @param {number} value
|
|
49351
|
+
* @return {!proto.clarifai.api.ListBulkOperationsRequest} returns this
|
|
49352
|
+
*/
|
|
49353
|
+
proto.clarifai.api.ListBulkOperationsRequest.prototype.setPerPage = function (value) {
|
|
49354
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
49355
|
+
};
|
|
49356
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
49357
|
+
/**
|
|
49358
|
+
* Creates an object representation of this proto.
|
|
49359
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
49360
|
+
* Optional fields that are not set will be set to undefined.
|
|
49361
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
49362
|
+
* For the list of reserved names please see:
|
|
49363
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
49364
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
49365
|
+
* JSPB instance for transitional soy proto support:
|
|
49366
|
+
* http://goto/soy-param-migration
|
|
49367
|
+
* @return {!Object}
|
|
49368
|
+
*/
|
|
49369
|
+
proto.clarifai.api.GetBulkOperationRequest.prototype.toObject = function (opt_includeInstance) {
|
|
49370
|
+
return proto.clarifai.api.GetBulkOperationRequest.toObject(opt_includeInstance, this);
|
|
49371
|
+
};
|
|
49372
|
+
/**
|
|
49373
|
+
* Static version of the {@see toObject} method.
|
|
49374
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
49375
|
+
* the JSPB instance for transitional soy proto support:
|
|
49376
|
+
* http://goto/soy-param-migration
|
|
49377
|
+
* @param {!proto.clarifai.api.GetBulkOperationRequest} msg The msg instance to transform.
|
|
49378
|
+
* @return {!Object}
|
|
49379
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
49380
|
+
*/
|
|
49381
|
+
proto.clarifai.api.GetBulkOperationRequest.toObject = function (includeInstance, msg) {
|
|
49382
|
+
var f, obj = {
|
|
49383
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
49384
|
+
id: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
49385
|
+
};
|
|
49386
|
+
if (includeInstance) {
|
|
49387
|
+
obj.$jspbMessageInstance = msg;
|
|
49388
|
+
}
|
|
49389
|
+
return obj;
|
|
49390
|
+
};
|
|
49391
|
+
}
|
|
49392
|
+
/**
|
|
49393
|
+
* Deserializes binary data (in protobuf wire format).
|
|
49394
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
49395
|
+
* @return {!proto.clarifai.api.GetBulkOperationRequest}
|
|
49396
|
+
*/
|
|
49397
|
+
proto.clarifai.api.GetBulkOperationRequest.deserializeBinary = function (bytes) {
|
|
49398
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
49399
|
+
var msg = new proto.clarifai.api.GetBulkOperationRequest;
|
|
49400
|
+
return proto.clarifai.api.GetBulkOperationRequest.deserializeBinaryFromReader(msg, reader);
|
|
49401
|
+
};
|
|
49402
|
+
/**
|
|
49403
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
49404
|
+
* given reader into the given message object.
|
|
49405
|
+
* @param {!proto.clarifai.api.GetBulkOperationRequest} msg The message object to deserialize into.
|
|
49406
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
49407
|
+
* @return {!proto.clarifai.api.GetBulkOperationRequest}
|
|
49408
|
+
*/
|
|
49409
|
+
proto.clarifai.api.GetBulkOperationRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
49410
|
+
while (reader.nextField()) {
|
|
49411
|
+
if (reader.isEndGroup()) {
|
|
49412
|
+
break;
|
|
49413
|
+
}
|
|
49414
|
+
var field = reader.getFieldNumber();
|
|
49415
|
+
switch (field) {
|
|
49416
|
+
case 1:
|
|
49417
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
49418
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
49419
|
+
msg.setUserAppId(value);
|
|
49420
|
+
break;
|
|
49421
|
+
case 2:
|
|
49422
|
+
var value = /** @type {string} */ (reader.readString());
|
|
49423
|
+
msg.setId(value);
|
|
49424
|
+
break;
|
|
49425
|
+
default:
|
|
49426
|
+
reader.skipField();
|
|
49427
|
+
break;
|
|
49428
|
+
}
|
|
49429
|
+
}
|
|
49430
|
+
return msg;
|
|
49431
|
+
};
|
|
49432
|
+
/**
|
|
49433
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
49434
|
+
* @return {!Uint8Array}
|
|
49435
|
+
*/
|
|
49436
|
+
proto.clarifai.api.GetBulkOperationRequest.prototype.serializeBinary = function () {
|
|
49437
|
+
var writer = new jspb.BinaryWriter();
|
|
49438
|
+
proto.clarifai.api.GetBulkOperationRequest.serializeBinaryToWriter(this, writer);
|
|
49439
|
+
return writer.getResultBuffer();
|
|
49440
|
+
};
|
|
49441
|
+
/**
|
|
49442
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
49443
|
+
* format), writing to the given BinaryWriter.
|
|
49444
|
+
* @param {!proto.clarifai.api.GetBulkOperationRequest} message
|
|
49445
|
+
* @param {!jspb.BinaryWriter} writer
|
|
49446
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
49447
|
+
*/
|
|
49448
|
+
proto.clarifai.api.GetBulkOperationRequest.serializeBinaryToWriter = function (message, writer) {
|
|
49449
|
+
var f = undefined;
|
|
49450
|
+
f = message.getUserAppId();
|
|
49451
|
+
if (f != null) {
|
|
49452
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
49453
|
+
}
|
|
49454
|
+
f = message.getId();
|
|
49455
|
+
if (f.length > 0) {
|
|
49456
|
+
writer.writeString(2, f);
|
|
49457
|
+
}
|
|
49458
|
+
};
|
|
49459
|
+
/**
|
|
49460
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
49461
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
49462
|
+
*/
|
|
49463
|
+
proto.clarifai.api.GetBulkOperationRequest.prototype.getUserAppId = function () {
|
|
49464
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
49465
|
+
};
|
|
49466
|
+
/**
|
|
49467
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
49468
|
+
* @return {!proto.clarifai.api.GetBulkOperationRequest} returns this
|
|
49469
|
+
*/
|
|
49470
|
+
proto.clarifai.api.GetBulkOperationRequest.prototype.setUserAppId = function (value) {
|
|
49471
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
49472
|
+
};
|
|
49473
|
+
/**
|
|
49474
|
+
* Clears the message field making it undefined.
|
|
49475
|
+
* @return {!proto.clarifai.api.GetBulkOperationRequest} returns this
|
|
49476
|
+
*/
|
|
49477
|
+
proto.clarifai.api.GetBulkOperationRequest.prototype.clearUserAppId = function () {
|
|
49478
|
+
return this.setUserAppId(undefined);
|
|
49479
|
+
};
|
|
49480
|
+
/**
|
|
49481
|
+
* Returns whether this field is set.
|
|
49482
|
+
* @return {boolean}
|
|
49483
|
+
*/
|
|
49484
|
+
proto.clarifai.api.GetBulkOperationRequest.prototype.hasUserAppId = function () {
|
|
49485
|
+
return jspb.Message.getField(this, 1) != null;
|
|
49486
|
+
};
|
|
49487
|
+
/**
|
|
49488
|
+
* optional string id = 2;
|
|
49489
|
+
* @return {string}
|
|
49490
|
+
*/
|
|
49491
|
+
proto.clarifai.api.GetBulkOperationRequest.prototype.getId = function () {
|
|
49492
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
49493
|
+
};
|
|
49494
|
+
/**
|
|
49495
|
+
* @param {string} value
|
|
49496
|
+
* @return {!proto.clarifai.api.GetBulkOperationRequest} returns this
|
|
49497
|
+
*/
|
|
49498
|
+
proto.clarifai.api.GetBulkOperationRequest.prototype.setId = function (value) {
|
|
49499
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
49500
|
+
};
|
|
49501
|
+
/**
|
|
49502
|
+
* List of repeated fields within this message type.
|
|
49503
|
+
* @private {!Array<number>}
|
|
49504
|
+
* @const
|
|
49505
|
+
*/
|
|
49506
|
+
proto.clarifai.api.CancelBulkOperationRequest.repeatedFields_ = [2];
|
|
49507
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
49508
|
+
/**
|
|
49509
|
+
* Creates an object representation of this proto.
|
|
49510
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
49511
|
+
* Optional fields that are not set will be set to undefined.
|
|
49512
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
49513
|
+
* For the list of reserved names please see:
|
|
49514
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
49515
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
49516
|
+
* JSPB instance for transitional soy proto support:
|
|
49517
|
+
* http://goto/soy-param-migration
|
|
49518
|
+
* @return {!Object}
|
|
49519
|
+
*/
|
|
49520
|
+
proto.clarifai.api.CancelBulkOperationRequest.prototype.toObject = function (opt_includeInstance) {
|
|
49521
|
+
return proto.clarifai.api.CancelBulkOperationRequest.toObject(opt_includeInstance, this);
|
|
49522
|
+
};
|
|
49523
|
+
/**
|
|
49524
|
+
* Static version of the {@see toObject} method.
|
|
49525
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
49526
|
+
* the JSPB instance for transitional soy proto support:
|
|
49527
|
+
* http://goto/soy-param-migration
|
|
49528
|
+
* @param {!proto.clarifai.api.CancelBulkOperationRequest} msg The msg instance to transform.
|
|
49529
|
+
* @return {!Object}
|
|
49530
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
49531
|
+
*/
|
|
49532
|
+
proto.clarifai.api.CancelBulkOperationRequest.toObject = function (includeInstance, msg) {
|
|
49533
|
+
var f, obj = {
|
|
49534
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
49535
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
49536
|
+
};
|
|
49537
|
+
if (includeInstance) {
|
|
49538
|
+
obj.$jspbMessageInstance = msg;
|
|
49539
|
+
}
|
|
49540
|
+
return obj;
|
|
49541
|
+
};
|
|
49542
|
+
}
|
|
49543
|
+
/**
|
|
49544
|
+
* Deserializes binary data (in protobuf wire format).
|
|
49545
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
49546
|
+
* @return {!proto.clarifai.api.CancelBulkOperationRequest}
|
|
49547
|
+
*/
|
|
49548
|
+
proto.clarifai.api.CancelBulkOperationRequest.deserializeBinary = function (bytes) {
|
|
49549
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
49550
|
+
var msg = new proto.clarifai.api.CancelBulkOperationRequest;
|
|
49551
|
+
return proto.clarifai.api.CancelBulkOperationRequest.deserializeBinaryFromReader(msg, reader);
|
|
49552
|
+
};
|
|
49553
|
+
/**
|
|
49554
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
49555
|
+
* given reader into the given message object.
|
|
49556
|
+
* @param {!proto.clarifai.api.CancelBulkOperationRequest} msg The message object to deserialize into.
|
|
49557
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
49558
|
+
* @return {!proto.clarifai.api.CancelBulkOperationRequest}
|
|
49559
|
+
*/
|
|
49560
|
+
proto.clarifai.api.CancelBulkOperationRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
49561
|
+
while (reader.nextField()) {
|
|
49562
|
+
if (reader.isEndGroup()) {
|
|
49563
|
+
break;
|
|
49564
|
+
}
|
|
49565
|
+
var field = reader.getFieldNumber();
|
|
49566
|
+
switch (field) {
|
|
49567
|
+
case 1:
|
|
49568
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
49569
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
49570
|
+
msg.setUserAppId(value);
|
|
49571
|
+
break;
|
|
49572
|
+
case 2:
|
|
49573
|
+
var value = /** @type {string} */ (reader.readString());
|
|
49574
|
+
msg.addIds(value);
|
|
49575
|
+
break;
|
|
49576
|
+
default:
|
|
49577
|
+
reader.skipField();
|
|
49578
|
+
break;
|
|
49579
|
+
}
|
|
49580
|
+
}
|
|
49581
|
+
return msg;
|
|
49582
|
+
};
|
|
49583
|
+
/**
|
|
49584
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
49585
|
+
* @return {!Uint8Array}
|
|
49586
|
+
*/
|
|
49587
|
+
proto.clarifai.api.CancelBulkOperationRequest.prototype.serializeBinary = function () {
|
|
49588
|
+
var writer = new jspb.BinaryWriter();
|
|
49589
|
+
proto.clarifai.api.CancelBulkOperationRequest.serializeBinaryToWriter(this, writer);
|
|
49590
|
+
return writer.getResultBuffer();
|
|
49591
|
+
};
|
|
49592
|
+
/**
|
|
49593
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
49594
|
+
* format), writing to the given BinaryWriter.
|
|
49595
|
+
* @param {!proto.clarifai.api.CancelBulkOperationRequest} message
|
|
49596
|
+
* @param {!jspb.BinaryWriter} writer
|
|
49597
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
49598
|
+
*/
|
|
49599
|
+
proto.clarifai.api.CancelBulkOperationRequest.serializeBinaryToWriter = function (message, writer) {
|
|
49600
|
+
var f = undefined;
|
|
49601
|
+
f = message.getUserAppId();
|
|
49602
|
+
if (f != null) {
|
|
49603
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
49604
|
+
}
|
|
49605
|
+
f = message.getIdsList();
|
|
49606
|
+
if (f.length > 0) {
|
|
49607
|
+
writer.writeRepeatedString(2, f);
|
|
49608
|
+
}
|
|
49609
|
+
};
|
|
49610
|
+
/**
|
|
49611
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
49612
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
49613
|
+
*/
|
|
49614
|
+
proto.clarifai.api.CancelBulkOperationRequest.prototype.getUserAppId = function () {
|
|
49615
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
49616
|
+
};
|
|
49617
|
+
/**
|
|
49618
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
49619
|
+
* @return {!proto.clarifai.api.CancelBulkOperationRequest} returns this
|
|
49620
|
+
*/
|
|
49621
|
+
proto.clarifai.api.CancelBulkOperationRequest.prototype.setUserAppId = function (value) {
|
|
49622
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
49623
|
+
};
|
|
49624
|
+
/**
|
|
49625
|
+
* Clears the message field making it undefined.
|
|
49626
|
+
* @return {!proto.clarifai.api.CancelBulkOperationRequest} returns this
|
|
49627
|
+
*/
|
|
49628
|
+
proto.clarifai.api.CancelBulkOperationRequest.prototype.clearUserAppId = function () {
|
|
49629
|
+
return this.setUserAppId(undefined);
|
|
49630
|
+
};
|
|
49631
|
+
/**
|
|
49632
|
+
* Returns whether this field is set.
|
|
49633
|
+
* @return {boolean}
|
|
49634
|
+
*/
|
|
49635
|
+
proto.clarifai.api.CancelBulkOperationRequest.prototype.hasUserAppId = function () {
|
|
49636
|
+
return jspb.Message.getField(this, 1) != null;
|
|
49637
|
+
};
|
|
49638
|
+
/**
|
|
49639
|
+
* repeated string ids = 2;
|
|
49640
|
+
* @return {!Array<string>}
|
|
49641
|
+
*/
|
|
49642
|
+
proto.clarifai.api.CancelBulkOperationRequest.prototype.getIdsList = function () {
|
|
49643
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
49644
|
+
};
|
|
49645
|
+
/**
|
|
49646
|
+
* @param {!Array<string>} value
|
|
49647
|
+
* @return {!proto.clarifai.api.CancelBulkOperationRequest} returns this
|
|
49648
|
+
*/
|
|
49649
|
+
proto.clarifai.api.CancelBulkOperationRequest.prototype.setIdsList = function (value) {
|
|
49650
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
49651
|
+
};
|
|
49652
|
+
/**
|
|
49653
|
+
* @param {string} value
|
|
49654
|
+
* @param {number=} opt_index
|
|
49655
|
+
* @return {!proto.clarifai.api.CancelBulkOperationRequest} returns this
|
|
49656
|
+
*/
|
|
49657
|
+
proto.clarifai.api.CancelBulkOperationRequest.prototype.addIds = function (value, opt_index) {
|
|
49658
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
49659
|
+
};
|
|
49660
|
+
/**
|
|
49661
|
+
* Clears the list making it empty but non-null.
|
|
49662
|
+
* @return {!proto.clarifai.api.CancelBulkOperationRequest} returns this
|
|
49663
|
+
*/
|
|
49664
|
+
proto.clarifai.api.CancelBulkOperationRequest.prototype.clearIdsList = function () {
|
|
49665
|
+
return this.setIdsList([]);
|
|
49666
|
+
};
|
|
49667
|
+
/**
|
|
49668
|
+
* List of repeated fields within this message type.
|
|
49669
|
+
* @private {!Array<number>}
|
|
49670
|
+
* @const
|
|
49671
|
+
*/
|
|
49672
|
+
proto.clarifai.api.DeleteBulkOperationRequest.repeatedFields_ = [2];
|
|
49673
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
49674
|
+
/**
|
|
49675
|
+
* Creates an object representation of this proto.
|
|
49676
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
49677
|
+
* Optional fields that are not set will be set to undefined.
|
|
49678
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
49679
|
+
* For the list of reserved names please see:
|
|
49680
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
49681
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
49682
|
+
* JSPB instance for transitional soy proto support:
|
|
49683
|
+
* http://goto/soy-param-migration
|
|
49684
|
+
* @return {!Object}
|
|
49685
|
+
*/
|
|
49686
|
+
proto.clarifai.api.DeleteBulkOperationRequest.prototype.toObject = function (opt_includeInstance) {
|
|
49687
|
+
return proto.clarifai.api.DeleteBulkOperationRequest.toObject(opt_includeInstance, this);
|
|
49688
|
+
};
|
|
49689
|
+
/**
|
|
49690
|
+
* Static version of the {@see toObject} method.
|
|
49691
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
49692
|
+
* the JSPB instance for transitional soy proto support:
|
|
49693
|
+
* http://goto/soy-param-migration
|
|
49694
|
+
* @param {!proto.clarifai.api.DeleteBulkOperationRequest} msg The msg instance to transform.
|
|
49695
|
+
* @return {!Object}
|
|
49696
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
49697
|
+
*/
|
|
49698
|
+
proto.clarifai.api.DeleteBulkOperationRequest.toObject = function (includeInstance, msg) {
|
|
49699
|
+
var f, obj = {
|
|
49700
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
49701
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
49702
|
+
};
|
|
49703
|
+
if (includeInstance) {
|
|
49704
|
+
obj.$jspbMessageInstance = msg;
|
|
49705
|
+
}
|
|
49706
|
+
return obj;
|
|
49707
|
+
};
|
|
49708
|
+
}
|
|
49709
|
+
/**
|
|
49710
|
+
* Deserializes binary data (in protobuf wire format).
|
|
49711
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
49712
|
+
* @return {!proto.clarifai.api.DeleteBulkOperationRequest}
|
|
49713
|
+
*/
|
|
49714
|
+
proto.clarifai.api.DeleteBulkOperationRequest.deserializeBinary = function (bytes) {
|
|
49715
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
49716
|
+
var msg = new proto.clarifai.api.DeleteBulkOperationRequest;
|
|
49717
|
+
return proto.clarifai.api.DeleteBulkOperationRequest.deserializeBinaryFromReader(msg, reader);
|
|
49718
|
+
};
|
|
49719
|
+
/**
|
|
49720
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
49721
|
+
* given reader into the given message object.
|
|
49722
|
+
* @param {!proto.clarifai.api.DeleteBulkOperationRequest} msg The message object to deserialize into.
|
|
49723
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
49724
|
+
* @return {!proto.clarifai.api.DeleteBulkOperationRequest}
|
|
49725
|
+
*/
|
|
49726
|
+
proto.clarifai.api.DeleteBulkOperationRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
49727
|
+
while (reader.nextField()) {
|
|
49728
|
+
if (reader.isEndGroup()) {
|
|
49729
|
+
break;
|
|
49730
|
+
}
|
|
49731
|
+
var field = reader.getFieldNumber();
|
|
49732
|
+
switch (field) {
|
|
49733
|
+
case 1:
|
|
49734
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
49735
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
49736
|
+
msg.setUserAppId(value);
|
|
49737
|
+
break;
|
|
49738
|
+
case 2:
|
|
49739
|
+
var value = /** @type {string} */ (reader.readString());
|
|
49740
|
+
msg.addIds(value);
|
|
49741
|
+
break;
|
|
49742
|
+
default:
|
|
49743
|
+
reader.skipField();
|
|
49744
|
+
break;
|
|
49745
|
+
}
|
|
49746
|
+
}
|
|
49747
|
+
return msg;
|
|
49748
|
+
};
|
|
49749
|
+
/**
|
|
49750
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
49751
|
+
* @return {!Uint8Array}
|
|
49752
|
+
*/
|
|
49753
|
+
proto.clarifai.api.DeleteBulkOperationRequest.prototype.serializeBinary = function () {
|
|
49754
|
+
var writer = new jspb.BinaryWriter();
|
|
49755
|
+
proto.clarifai.api.DeleteBulkOperationRequest.serializeBinaryToWriter(this, writer);
|
|
49756
|
+
return writer.getResultBuffer();
|
|
49757
|
+
};
|
|
49758
|
+
/**
|
|
49759
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
49760
|
+
* format), writing to the given BinaryWriter.
|
|
49761
|
+
* @param {!proto.clarifai.api.DeleteBulkOperationRequest} message
|
|
49762
|
+
* @param {!jspb.BinaryWriter} writer
|
|
49763
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
49764
|
+
*/
|
|
49765
|
+
proto.clarifai.api.DeleteBulkOperationRequest.serializeBinaryToWriter = function (message, writer) {
|
|
49766
|
+
var f = undefined;
|
|
49767
|
+
f = message.getUserAppId();
|
|
49768
|
+
if (f != null) {
|
|
49769
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
49770
|
+
}
|
|
49771
|
+
f = message.getIdsList();
|
|
49772
|
+
if (f.length > 0) {
|
|
49773
|
+
writer.writeRepeatedString(2, f);
|
|
49774
|
+
}
|
|
49775
|
+
};
|
|
49776
|
+
/**
|
|
49777
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
49778
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
49779
|
+
*/
|
|
49780
|
+
proto.clarifai.api.DeleteBulkOperationRequest.prototype.getUserAppId = function () {
|
|
49781
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
49782
|
+
};
|
|
49783
|
+
/**
|
|
49784
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
49785
|
+
* @return {!proto.clarifai.api.DeleteBulkOperationRequest} returns this
|
|
49786
|
+
*/
|
|
49787
|
+
proto.clarifai.api.DeleteBulkOperationRequest.prototype.setUserAppId = function (value) {
|
|
49788
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
49789
|
+
};
|
|
49790
|
+
/**
|
|
49791
|
+
* Clears the message field making it undefined.
|
|
49792
|
+
* @return {!proto.clarifai.api.DeleteBulkOperationRequest} returns this
|
|
49793
|
+
*/
|
|
49794
|
+
proto.clarifai.api.DeleteBulkOperationRequest.prototype.clearUserAppId = function () {
|
|
49795
|
+
return this.setUserAppId(undefined);
|
|
49796
|
+
};
|
|
49797
|
+
/**
|
|
49798
|
+
* Returns whether this field is set.
|
|
49799
|
+
* @return {boolean}
|
|
49800
|
+
*/
|
|
49801
|
+
proto.clarifai.api.DeleteBulkOperationRequest.prototype.hasUserAppId = function () {
|
|
49802
|
+
return jspb.Message.getField(this, 1) != null;
|
|
49803
|
+
};
|
|
49804
|
+
/**
|
|
49805
|
+
* repeated string ids = 2;
|
|
49806
|
+
* @return {!Array<string>}
|
|
49807
|
+
*/
|
|
49808
|
+
proto.clarifai.api.DeleteBulkOperationRequest.prototype.getIdsList = function () {
|
|
49809
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
49810
|
+
};
|
|
49811
|
+
/**
|
|
49812
|
+
* @param {!Array<string>} value
|
|
49813
|
+
* @return {!proto.clarifai.api.DeleteBulkOperationRequest} returns this
|
|
49814
|
+
*/
|
|
49815
|
+
proto.clarifai.api.DeleteBulkOperationRequest.prototype.setIdsList = function (value) {
|
|
49816
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
49817
|
+
};
|
|
49818
|
+
/**
|
|
49819
|
+
* @param {string} value
|
|
49820
|
+
* @param {number=} opt_index
|
|
49821
|
+
* @return {!proto.clarifai.api.DeleteBulkOperationRequest} returns this
|
|
49822
|
+
*/
|
|
49823
|
+
proto.clarifai.api.DeleteBulkOperationRequest.prototype.addIds = function (value, opt_index) {
|
|
49824
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
49825
|
+
};
|
|
49826
|
+
/**
|
|
49827
|
+
* Clears the list making it empty but non-null.
|
|
49828
|
+
* @return {!proto.clarifai.api.DeleteBulkOperationRequest} returns this
|
|
49829
|
+
*/
|
|
49830
|
+
proto.clarifai.api.DeleteBulkOperationRequest.prototype.clearIdsList = function () {
|
|
49831
|
+
return this.setIdsList([]);
|
|
49832
|
+
};
|
|
49833
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
49834
|
+
/**
|
|
49835
|
+
* Creates an object representation of this proto.
|
|
49836
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
49837
|
+
* Optional fields that are not set will be set to undefined.
|
|
49838
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
49839
|
+
* For the list of reserved names please see:
|
|
49840
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
49841
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
49842
|
+
* JSPB instance for transitional soy proto support:
|
|
49843
|
+
* http://goto/soy-param-migration
|
|
49844
|
+
* @return {!Object}
|
|
49845
|
+
*/
|
|
49846
|
+
proto.clarifai.api.SingleBulkOperationsResponse.prototype.toObject = function (opt_includeInstance) {
|
|
49847
|
+
return proto.clarifai.api.SingleBulkOperationsResponse.toObject(opt_includeInstance, this);
|
|
49848
|
+
};
|
|
49849
|
+
/**
|
|
49850
|
+
* Static version of the {@see toObject} method.
|
|
49851
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
49852
|
+
* the JSPB instance for transitional soy proto support:
|
|
49853
|
+
* http://goto/soy-param-migration
|
|
49854
|
+
* @param {!proto.clarifai.api.SingleBulkOperationsResponse} msg The msg instance to transform.
|
|
49855
|
+
* @return {!Object}
|
|
49856
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
49857
|
+
*/
|
|
49858
|
+
proto.clarifai.api.SingleBulkOperationsResponse.toObject = function (includeInstance, msg) {
|
|
49859
|
+
var f, obj = {
|
|
49860
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
49861
|
+
bulkOperation: (f = msg.getBulkOperation()) && proto_clarifai_api_resources_pb.BulkOperation.toObject(includeInstance, f)
|
|
49862
|
+
};
|
|
49863
|
+
if (includeInstance) {
|
|
49864
|
+
obj.$jspbMessageInstance = msg;
|
|
49865
|
+
}
|
|
49866
|
+
return obj;
|
|
49867
|
+
};
|
|
49868
|
+
}
|
|
49869
|
+
/**
|
|
49870
|
+
* Deserializes binary data (in protobuf wire format).
|
|
49871
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
49872
|
+
* @return {!proto.clarifai.api.SingleBulkOperationsResponse}
|
|
49873
|
+
*/
|
|
49874
|
+
proto.clarifai.api.SingleBulkOperationsResponse.deserializeBinary = function (bytes) {
|
|
49875
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
49876
|
+
var msg = new proto.clarifai.api.SingleBulkOperationsResponse;
|
|
49877
|
+
return proto.clarifai.api.SingleBulkOperationsResponse.deserializeBinaryFromReader(msg, reader);
|
|
49878
|
+
};
|
|
49879
|
+
/**
|
|
49880
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
49881
|
+
* given reader into the given message object.
|
|
49882
|
+
* @param {!proto.clarifai.api.SingleBulkOperationsResponse} msg The message object to deserialize into.
|
|
49883
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
49884
|
+
* @return {!proto.clarifai.api.SingleBulkOperationsResponse}
|
|
49885
|
+
*/
|
|
49886
|
+
proto.clarifai.api.SingleBulkOperationsResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
49887
|
+
while (reader.nextField()) {
|
|
49888
|
+
if (reader.isEndGroup()) {
|
|
49889
|
+
break;
|
|
49890
|
+
}
|
|
49891
|
+
var field = reader.getFieldNumber();
|
|
49892
|
+
switch (field) {
|
|
49893
|
+
case 1:
|
|
49894
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
49895
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
49896
|
+
msg.setStatus(value);
|
|
49897
|
+
break;
|
|
49898
|
+
case 2:
|
|
49899
|
+
var value = new proto_clarifai_api_resources_pb.BulkOperation;
|
|
49900
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.BulkOperation.deserializeBinaryFromReader);
|
|
49901
|
+
msg.setBulkOperation(value);
|
|
49902
|
+
break;
|
|
49903
|
+
default:
|
|
49904
|
+
reader.skipField();
|
|
49905
|
+
break;
|
|
49906
|
+
}
|
|
49907
|
+
}
|
|
49908
|
+
return msg;
|
|
49909
|
+
};
|
|
49910
|
+
/**
|
|
49911
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
49912
|
+
* @return {!Uint8Array}
|
|
49913
|
+
*/
|
|
49914
|
+
proto.clarifai.api.SingleBulkOperationsResponse.prototype.serializeBinary = function () {
|
|
49915
|
+
var writer = new jspb.BinaryWriter();
|
|
49916
|
+
proto.clarifai.api.SingleBulkOperationsResponse.serializeBinaryToWriter(this, writer);
|
|
49917
|
+
return writer.getResultBuffer();
|
|
49918
|
+
};
|
|
49919
|
+
/**
|
|
49920
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
49921
|
+
* format), writing to the given BinaryWriter.
|
|
49922
|
+
* @param {!proto.clarifai.api.SingleBulkOperationsResponse} message
|
|
49923
|
+
* @param {!jspb.BinaryWriter} writer
|
|
49924
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
49925
|
+
*/
|
|
49926
|
+
proto.clarifai.api.SingleBulkOperationsResponse.serializeBinaryToWriter = function (message, writer) {
|
|
49927
|
+
var f = undefined;
|
|
49928
|
+
f = message.getStatus();
|
|
49929
|
+
if (f != null) {
|
|
49930
|
+
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
49931
|
+
}
|
|
49932
|
+
f = message.getBulkOperation();
|
|
49933
|
+
if (f != null) {
|
|
49934
|
+
writer.writeMessage(2, f, proto_clarifai_api_resources_pb.BulkOperation.serializeBinaryToWriter);
|
|
49935
|
+
}
|
|
49936
|
+
};
|
|
49937
|
+
/**
|
|
49938
|
+
* optional status.Status status = 1;
|
|
49939
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
49940
|
+
*/
|
|
49941
|
+
proto.clarifai.api.SingleBulkOperationsResponse.prototype.getStatus = function () {
|
|
49942
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
49943
|
+
};
|
|
49944
|
+
/**
|
|
49945
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
49946
|
+
* @return {!proto.clarifai.api.SingleBulkOperationsResponse} returns this
|
|
49947
|
+
*/
|
|
49948
|
+
proto.clarifai.api.SingleBulkOperationsResponse.prototype.setStatus = function (value) {
|
|
49949
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
49950
|
+
};
|
|
49951
|
+
/**
|
|
49952
|
+
* Clears the message field making it undefined.
|
|
49953
|
+
* @return {!proto.clarifai.api.SingleBulkOperationsResponse} returns this
|
|
49954
|
+
*/
|
|
49955
|
+
proto.clarifai.api.SingleBulkOperationsResponse.prototype.clearStatus = function () {
|
|
49956
|
+
return this.setStatus(undefined);
|
|
49957
|
+
};
|
|
49958
|
+
/**
|
|
49959
|
+
* Returns whether this field is set.
|
|
49960
|
+
* @return {boolean}
|
|
49961
|
+
*/
|
|
49962
|
+
proto.clarifai.api.SingleBulkOperationsResponse.prototype.hasStatus = function () {
|
|
49963
|
+
return jspb.Message.getField(this, 1) != null;
|
|
49964
|
+
};
|
|
49965
|
+
/**
|
|
49966
|
+
* optional BulkOperation bulk_operation = 2;
|
|
49967
|
+
* @return {?proto.clarifai.api.BulkOperation}
|
|
49968
|
+
*/
|
|
49969
|
+
proto.clarifai.api.SingleBulkOperationsResponse.prototype.getBulkOperation = function () {
|
|
49970
|
+
return /** @type{?proto.clarifai.api.BulkOperation} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.BulkOperation, 2));
|
|
49971
|
+
};
|
|
49972
|
+
/**
|
|
49973
|
+
* @param {?proto.clarifai.api.BulkOperation|undefined} value
|
|
49974
|
+
* @return {!proto.clarifai.api.SingleBulkOperationsResponse} returns this
|
|
49975
|
+
*/
|
|
49976
|
+
proto.clarifai.api.SingleBulkOperationsResponse.prototype.setBulkOperation = function (value) {
|
|
49977
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
49978
|
+
};
|
|
49979
|
+
/**
|
|
49980
|
+
* Clears the message field making it undefined.
|
|
49981
|
+
* @return {!proto.clarifai.api.SingleBulkOperationsResponse} returns this
|
|
49982
|
+
*/
|
|
49983
|
+
proto.clarifai.api.SingleBulkOperationsResponse.prototype.clearBulkOperation = function () {
|
|
49984
|
+
return this.setBulkOperation(undefined);
|
|
49985
|
+
};
|
|
49986
|
+
/**
|
|
49987
|
+
* Returns whether this field is set.
|
|
49988
|
+
* @return {boolean}
|
|
49989
|
+
*/
|
|
49990
|
+
proto.clarifai.api.SingleBulkOperationsResponse.prototype.hasBulkOperation = function () {
|
|
49991
|
+
return jspb.Message.getField(this, 2) != null;
|
|
49992
|
+
};
|
|
49993
|
+
/**
|
|
49994
|
+
* List of repeated fields within this message type.
|
|
49995
|
+
* @private {!Array<number>}
|
|
49996
|
+
* @const
|
|
49997
|
+
*/
|
|
49998
|
+
proto.clarifai.api.MultiBulkOperationsResponse.repeatedFields_ = [2];
|
|
49999
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
50000
|
+
/**
|
|
50001
|
+
* Creates an object representation of this proto.
|
|
50002
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
50003
|
+
* Optional fields that are not set will be set to undefined.
|
|
50004
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
50005
|
+
* For the list of reserved names please see:
|
|
50006
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
50007
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
50008
|
+
* JSPB instance for transitional soy proto support:
|
|
50009
|
+
* http://goto/soy-param-migration
|
|
50010
|
+
* @return {!Object}
|
|
50011
|
+
*/
|
|
50012
|
+
proto.clarifai.api.MultiBulkOperationsResponse.prototype.toObject = function (opt_includeInstance) {
|
|
50013
|
+
return proto.clarifai.api.MultiBulkOperationsResponse.toObject(opt_includeInstance, this);
|
|
50014
|
+
};
|
|
50015
|
+
/**
|
|
50016
|
+
* Static version of the {@see toObject} method.
|
|
50017
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
50018
|
+
* the JSPB instance for transitional soy proto support:
|
|
50019
|
+
* http://goto/soy-param-migration
|
|
50020
|
+
* @param {!proto.clarifai.api.MultiBulkOperationsResponse} msg The msg instance to transform.
|
|
50021
|
+
* @return {!Object}
|
|
50022
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
50023
|
+
*/
|
|
50024
|
+
proto.clarifai.api.MultiBulkOperationsResponse.toObject = function (includeInstance, msg) {
|
|
50025
|
+
var f, obj = {
|
|
50026
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
50027
|
+
bulkOperationList: jspb.Message.toObjectList(msg.getBulkOperationList(), proto_clarifai_api_resources_pb.BulkOperation.toObject, includeInstance)
|
|
50028
|
+
};
|
|
50029
|
+
if (includeInstance) {
|
|
50030
|
+
obj.$jspbMessageInstance = msg;
|
|
50031
|
+
}
|
|
50032
|
+
return obj;
|
|
50033
|
+
};
|
|
50034
|
+
}
|
|
50035
|
+
/**
|
|
50036
|
+
* Deserializes binary data (in protobuf wire format).
|
|
50037
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
50038
|
+
* @return {!proto.clarifai.api.MultiBulkOperationsResponse}
|
|
50039
|
+
*/
|
|
50040
|
+
proto.clarifai.api.MultiBulkOperationsResponse.deserializeBinary = function (bytes) {
|
|
50041
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
50042
|
+
var msg = new proto.clarifai.api.MultiBulkOperationsResponse;
|
|
50043
|
+
return proto.clarifai.api.MultiBulkOperationsResponse.deserializeBinaryFromReader(msg, reader);
|
|
50044
|
+
};
|
|
50045
|
+
/**
|
|
50046
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
50047
|
+
* given reader into the given message object.
|
|
50048
|
+
* @param {!proto.clarifai.api.MultiBulkOperationsResponse} msg The message object to deserialize into.
|
|
50049
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
50050
|
+
* @return {!proto.clarifai.api.MultiBulkOperationsResponse}
|
|
50051
|
+
*/
|
|
50052
|
+
proto.clarifai.api.MultiBulkOperationsResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
50053
|
+
while (reader.nextField()) {
|
|
50054
|
+
if (reader.isEndGroup()) {
|
|
50055
|
+
break;
|
|
50056
|
+
}
|
|
50057
|
+
var field = reader.getFieldNumber();
|
|
50058
|
+
switch (field) {
|
|
50059
|
+
case 1:
|
|
50060
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
50061
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
50062
|
+
msg.setStatus(value);
|
|
50063
|
+
break;
|
|
50064
|
+
case 2:
|
|
50065
|
+
var value = new proto_clarifai_api_resources_pb.BulkOperation;
|
|
50066
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.BulkOperation.deserializeBinaryFromReader);
|
|
50067
|
+
msg.addBulkOperation(value);
|
|
50068
|
+
break;
|
|
50069
|
+
default:
|
|
50070
|
+
reader.skipField();
|
|
50071
|
+
break;
|
|
50072
|
+
}
|
|
50073
|
+
}
|
|
50074
|
+
return msg;
|
|
50075
|
+
};
|
|
50076
|
+
/**
|
|
50077
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
50078
|
+
* @return {!Uint8Array}
|
|
50079
|
+
*/
|
|
50080
|
+
proto.clarifai.api.MultiBulkOperationsResponse.prototype.serializeBinary = function () {
|
|
50081
|
+
var writer = new jspb.BinaryWriter();
|
|
50082
|
+
proto.clarifai.api.MultiBulkOperationsResponse.serializeBinaryToWriter(this, writer);
|
|
50083
|
+
return writer.getResultBuffer();
|
|
50084
|
+
};
|
|
50085
|
+
/**
|
|
50086
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
50087
|
+
* format), writing to the given BinaryWriter.
|
|
50088
|
+
* @param {!proto.clarifai.api.MultiBulkOperationsResponse} message
|
|
50089
|
+
* @param {!jspb.BinaryWriter} writer
|
|
50090
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
50091
|
+
*/
|
|
50092
|
+
proto.clarifai.api.MultiBulkOperationsResponse.serializeBinaryToWriter = function (message, writer) {
|
|
50093
|
+
var f = undefined;
|
|
50094
|
+
f = message.getStatus();
|
|
50095
|
+
if (f != null) {
|
|
50096
|
+
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
50097
|
+
}
|
|
50098
|
+
f = message.getBulkOperationList();
|
|
50099
|
+
if (f.length > 0) {
|
|
50100
|
+
writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.BulkOperation.serializeBinaryToWriter);
|
|
50101
|
+
}
|
|
50102
|
+
};
|
|
50103
|
+
/**
|
|
50104
|
+
* optional status.Status status = 1;
|
|
50105
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
50106
|
+
*/
|
|
50107
|
+
proto.clarifai.api.MultiBulkOperationsResponse.prototype.getStatus = function () {
|
|
50108
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
50109
|
+
};
|
|
50110
|
+
/**
|
|
50111
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
50112
|
+
* @return {!proto.clarifai.api.MultiBulkOperationsResponse} returns this
|
|
50113
|
+
*/
|
|
50114
|
+
proto.clarifai.api.MultiBulkOperationsResponse.prototype.setStatus = function (value) {
|
|
50115
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
50116
|
+
};
|
|
50117
|
+
/**
|
|
50118
|
+
* Clears the message field making it undefined.
|
|
50119
|
+
* @return {!proto.clarifai.api.MultiBulkOperationsResponse} returns this
|
|
50120
|
+
*/
|
|
50121
|
+
proto.clarifai.api.MultiBulkOperationsResponse.prototype.clearStatus = function () {
|
|
50122
|
+
return this.setStatus(undefined);
|
|
50123
|
+
};
|
|
50124
|
+
/**
|
|
50125
|
+
* Returns whether this field is set.
|
|
50126
|
+
* @return {boolean}
|
|
50127
|
+
*/
|
|
50128
|
+
proto.clarifai.api.MultiBulkOperationsResponse.prototype.hasStatus = function () {
|
|
50129
|
+
return jspb.Message.getField(this, 1) != null;
|
|
50130
|
+
};
|
|
50131
|
+
/**
|
|
50132
|
+
* repeated BulkOperation bulk_operation = 2;
|
|
50133
|
+
* @return {!Array<!proto.clarifai.api.BulkOperation>}
|
|
50134
|
+
*/
|
|
50135
|
+
proto.clarifai.api.MultiBulkOperationsResponse.prototype.getBulkOperationList = function () {
|
|
50136
|
+
return /** @type{!Array<!proto.clarifai.api.BulkOperation>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.BulkOperation, 2));
|
|
50137
|
+
};
|
|
50138
|
+
/**
|
|
50139
|
+
* @param {!Array<!proto.clarifai.api.BulkOperation>} value
|
|
50140
|
+
* @return {!proto.clarifai.api.MultiBulkOperationsResponse} returns this
|
|
50141
|
+
*/
|
|
50142
|
+
proto.clarifai.api.MultiBulkOperationsResponse.prototype.setBulkOperationList = function (value) {
|
|
50143
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
50144
|
+
};
|
|
50145
|
+
/**
|
|
50146
|
+
* @param {!proto.clarifai.api.BulkOperation=} opt_value
|
|
50147
|
+
* @param {number=} opt_index
|
|
50148
|
+
* @return {!proto.clarifai.api.BulkOperation}
|
|
50149
|
+
*/
|
|
50150
|
+
proto.clarifai.api.MultiBulkOperationsResponse.prototype.addBulkOperation = function (opt_value, opt_index) {
|
|
50151
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.BulkOperation, opt_index);
|
|
50152
|
+
};
|
|
50153
|
+
/**
|
|
50154
|
+
* Clears the list making it empty but non-null.
|
|
50155
|
+
* @return {!proto.clarifai.api.MultiBulkOperationsResponse} returns this
|
|
50156
|
+
*/
|
|
50157
|
+
proto.clarifai.api.MultiBulkOperationsResponse.prototype.clearBulkOperationList = function () {
|
|
50158
|
+
return this.setBulkOperationList([]);
|
|
50159
|
+
};
|
|
47714
50160
|
/**
|
|
47715
50161
|
* @enum {number}
|
|
47716
50162
|
*/
|