clarifai-web-grpc 11.10.8 → 11.10.10

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.
@@ -1254,6 +1254,62 @@ proto.clarifai.api.V2PromiseClient.prototype.postTrackAnnotationsSearches =
1254
1254
  };
1255
1255
 
1256
1256
 
1257
+ /**
1258
+ * @const
1259
+ * @type {!grpc.web.MethodDescriptor<
1260
+ * !proto.clarifai.api.StreamTrackAnnotationsSearchesRequest,
1261
+ * !proto.clarifai.api.SingleAnnotationResponse>}
1262
+ */
1263
+ const methodDescriptor_V2_StreamTrackAnnotationsSearches = new grpc.web.MethodDescriptor(
1264
+ '/clarifai.api.V2/StreamTrackAnnotationsSearches',
1265
+ grpc.web.MethodType.SERVER_STREAMING,
1266
+ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest,
1267
+ proto.clarifai.api.SingleAnnotationResponse,
1268
+ /**
1269
+ * @param {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} request
1270
+ * @return {!Uint8Array}
1271
+ */
1272
+ function(request) {
1273
+ return request.serializeBinary();
1274
+ },
1275
+ proto.clarifai.api.SingleAnnotationResponse.deserializeBinary
1276
+ );
1277
+
1278
+
1279
+ /**
1280
+ * @param {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} request The request proto
1281
+ * @param {?Object<string, string>=} metadata User defined
1282
+ * call metadata
1283
+ * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleAnnotationResponse>}
1284
+ * The XHR Node Readable Stream
1285
+ */
1286
+ proto.clarifai.api.V2Client.prototype.streamTrackAnnotationsSearches =
1287
+ function(request, metadata) {
1288
+ return this.client_.serverStreaming(this.hostname_ +
1289
+ '/clarifai.api.V2/StreamTrackAnnotationsSearches',
1290
+ request,
1291
+ metadata || {},
1292
+ methodDescriptor_V2_StreamTrackAnnotationsSearches);
1293
+ };
1294
+
1295
+
1296
+ /**
1297
+ * @param {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} request The request proto
1298
+ * @param {?Object<string, string>=} metadata User defined
1299
+ * call metadata
1300
+ * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleAnnotationResponse>}
1301
+ * The XHR Node Readable Stream
1302
+ */
1303
+ proto.clarifai.api.V2PromiseClient.prototype.streamTrackAnnotationsSearches =
1304
+ function(request, metadata) {
1305
+ return this.client_.serverStreaming(this.hostname_ +
1306
+ '/clarifai.api.V2/StreamTrackAnnotationsSearches',
1307
+ request,
1308
+ metadata || {},
1309
+ methodDescriptor_V2_StreamTrackAnnotationsSearches);
1310
+ };
1311
+
1312
+
1257
1313
  /**
1258
1314
  * @const
1259
1315
  * @type {!grpc.web.MethodDescriptor<
@@ -16372,6 +16428,555 @@ proto.clarifai.api.V2PromiseClient.prototype.getPipelineStepVersion =
16372
16428
  };
16373
16429
 
16374
16430
 
16431
+ /**
16432
+ * @const
16433
+ * @type {!grpc.web.MethodDescriptor<
16434
+ * !proto.clarifai.api.DeletePipelineStepsRequest,
16435
+ * !proto.clarifai.api.status.BaseResponse>}
16436
+ */
16437
+ const methodDescriptor_V2_DeletePipelineSteps = new grpc.web.MethodDescriptor(
16438
+ '/clarifai.api.V2/DeletePipelineSteps',
16439
+ grpc.web.MethodType.UNARY,
16440
+ proto.clarifai.api.DeletePipelineStepsRequest,
16441
+ proto_clarifai_api_status_status_pb.BaseResponse,
16442
+ /**
16443
+ * @param {!proto.clarifai.api.DeletePipelineStepsRequest} request
16444
+ * @return {!Uint8Array}
16445
+ */
16446
+ function(request) {
16447
+ return request.serializeBinary();
16448
+ },
16449
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
16450
+ );
16451
+
16452
+
16453
+ /**
16454
+ * @param {!proto.clarifai.api.DeletePipelineStepsRequest} request The
16455
+ * request proto
16456
+ * @param {?Object<string, string>} metadata User defined
16457
+ * call metadata
16458
+ * @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
16459
+ * callback The callback function(error, response)
16460
+ * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
16461
+ * The XHR Node Readable Stream
16462
+ */
16463
+ proto.clarifai.api.V2Client.prototype.deletePipelineSteps =
16464
+ function(request, metadata, callback) {
16465
+ return this.client_.rpcCall(this.hostname_ +
16466
+ '/clarifai.api.V2/DeletePipelineSteps',
16467
+ request,
16468
+ metadata || {},
16469
+ methodDescriptor_V2_DeletePipelineSteps,
16470
+ callback);
16471
+ };
16472
+
16473
+
16474
+ /**
16475
+ * @param {!proto.clarifai.api.DeletePipelineStepsRequest} request The
16476
+ * request proto
16477
+ * @param {?Object<string, string>=} metadata User defined
16478
+ * call metadata
16479
+ * @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
16480
+ * Promise that resolves to the response
16481
+ */
16482
+ proto.clarifai.api.V2PromiseClient.prototype.deletePipelineSteps =
16483
+ function(request, metadata) {
16484
+ return this.client_.unaryCall(this.hostname_ +
16485
+ '/clarifai.api.V2/DeletePipelineSteps',
16486
+ request,
16487
+ metadata || {},
16488
+ methodDescriptor_V2_DeletePipelineSteps);
16489
+ };
16490
+
16491
+
16492
+ /**
16493
+ * @const
16494
+ * @type {!grpc.web.MethodDescriptor<
16495
+ * !proto.clarifai.api.DeletePipelineStepVersionsRequest,
16496
+ * !proto.clarifai.api.status.BaseResponse>}
16497
+ */
16498
+ const methodDescriptor_V2_DeletePipelineStepVersions = new grpc.web.MethodDescriptor(
16499
+ '/clarifai.api.V2/DeletePipelineStepVersions',
16500
+ grpc.web.MethodType.UNARY,
16501
+ proto.clarifai.api.DeletePipelineStepVersionsRequest,
16502
+ proto_clarifai_api_status_status_pb.BaseResponse,
16503
+ /**
16504
+ * @param {!proto.clarifai.api.DeletePipelineStepVersionsRequest} request
16505
+ * @return {!Uint8Array}
16506
+ */
16507
+ function(request) {
16508
+ return request.serializeBinary();
16509
+ },
16510
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
16511
+ );
16512
+
16513
+
16514
+ /**
16515
+ * @param {!proto.clarifai.api.DeletePipelineStepVersionsRequest} request The
16516
+ * request proto
16517
+ * @param {?Object<string, string>} metadata User defined
16518
+ * call metadata
16519
+ * @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
16520
+ * callback The callback function(error, response)
16521
+ * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
16522
+ * The XHR Node Readable Stream
16523
+ */
16524
+ proto.clarifai.api.V2Client.prototype.deletePipelineStepVersions =
16525
+ function(request, metadata, callback) {
16526
+ return this.client_.rpcCall(this.hostname_ +
16527
+ '/clarifai.api.V2/DeletePipelineStepVersions',
16528
+ request,
16529
+ metadata || {},
16530
+ methodDescriptor_V2_DeletePipelineStepVersions,
16531
+ callback);
16532
+ };
16533
+
16534
+
16535
+ /**
16536
+ * @param {!proto.clarifai.api.DeletePipelineStepVersionsRequest} request The
16537
+ * request proto
16538
+ * @param {?Object<string, string>=} metadata User defined
16539
+ * call metadata
16540
+ * @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
16541
+ * Promise that resolves to the response
16542
+ */
16543
+ proto.clarifai.api.V2PromiseClient.prototype.deletePipelineStepVersions =
16544
+ function(request, metadata) {
16545
+ return this.client_.unaryCall(this.hostname_ +
16546
+ '/clarifai.api.V2/DeletePipelineStepVersions',
16547
+ request,
16548
+ metadata || {},
16549
+ methodDescriptor_V2_DeletePipelineStepVersions);
16550
+ };
16551
+
16552
+
16553
+ /**
16554
+ * @const
16555
+ * @type {!grpc.web.MethodDescriptor<
16556
+ * !proto.clarifai.api.PostArtifactsRequest,
16557
+ * !proto.clarifai.api.MultiArtifactResponse>}
16558
+ */
16559
+ const methodDescriptor_V2_PostArtifacts = new grpc.web.MethodDescriptor(
16560
+ '/clarifai.api.V2/PostArtifacts',
16561
+ grpc.web.MethodType.UNARY,
16562
+ proto.clarifai.api.PostArtifactsRequest,
16563
+ proto.clarifai.api.MultiArtifactResponse,
16564
+ /**
16565
+ * @param {!proto.clarifai.api.PostArtifactsRequest} request
16566
+ * @return {!Uint8Array}
16567
+ */
16568
+ function(request) {
16569
+ return request.serializeBinary();
16570
+ },
16571
+ proto.clarifai.api.MultiArtifactResponse.deserializeBinary
16572
+ );
16573
+
16574
+
16575
+ /**
16576
+ * @param {!proto.clarifai.api.PostArtifactsRequest} request The
16577
+ * request proto
16578
+ * @param {?Object<string, string>} metadata User defined
16579
+ * call metadata
16580
+ * @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiArtifactResponse)}
16581
+ * callback The callback function(error, response)
16582
+ * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiArtifactResponse>|undefined}
16583
+ * The XHR Node Readable Stream
16584
+ */
16585
+ proto.clarifai.api.V2Client.prototype.postArtifacts =
16586
+ function(request, metadata, callback) {
16587
+ return this.client_.rpcCall(this.hostname_ +
16588
+ '/clarifai.api.V2/PostArtifacts',
16589
+ request,
16590
+ metadata || {},
16591
+ methodDescriptor_V2_PostArtifacts,
16592
+ callback);
16593
+ };
16594
+
16595
+
16596
+ /**
16597
+ * @param {!proto.clarifai.api.PostArtifactsRequest} request The
16598
+ * request proto
16599
+ * @param {?Object<string, string>=} metadata User defined
16600
+ * call metadata
16601
+ * @return {!Promise<!proto.clarifai.api.MultiArtifactResponse>}
16602
+ * Promise that resolves to the response
16603
+ */
16604
+ proto.clarifai.api.V2PromiseClient.prototype.postArtifacts =
16605
+ function(request, metadata) {
16606
+ return this.client_.unaryCall(this.hostname_ +
16607
+ '/clarifai.api.V2/PostArtifacts',
16608
+ request,
16609
+ metadata || {},
16610
+ methodDescriptor_V2_PostArtifacts);
16611
+ };
16612
+
16613
+
16614
+ /**
16615
+ * @const
16616
+ * @type {!grpc.web.MethodDescriptor<
16617
+ * !proto.clarifai.api.GetArtifactRequest,
16618
+ * !proto.clarifai.api.SingleArtifactResponse>}
16619
+ */
16620
+ const methodDescriptor_V2_GetArtifact = new grpc.web.MethodDescriptor(
16621
+ '/clarifai.api.V2/GetArtifact',
16622
+ grpc.web.MethodType.UNARY,
16623
+ proto.clarifai.api.GetArtifactRequest,
16624
+ proto.clarifai.api.SingleArtifactResponse,
16625
+ /**
16626
+ * @param {!proto.clarifai.api.GetArtifactRequest} request
16627
+ * @return {!Uint8Array}
16628
+ */
16629
+ function(request) {
16630
+ return request.serializeBinary();
16631
+ },
16632
+ proto.clarifai.api.SingleArtifactResponse.deserializeBinary
16633
+ );
16634
+
16635
+
16636
+ /**
16637
+ * @param {!proto.clarifai.api.GetArtifactRequest} request The
16638
+ * request proto
16639
+ * @param {?Object<string, string>} metadata User defined
16640
+ * call metadata
16641
+ * @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleArtifactResponse)}
16642
+ * callback The callback function(error, response)
16643
+ * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleArtifactResponse>|undefined}
16644
+ * The XHR Node Readable Stream
16645
+ */
16646
+ proto.clarifai.api.V2Client.prototype.getArtifact =
16647
+ function(request, metadata, callback) {
16648
+ return this.client_.rpcCall(this.hostname_ +
16649
+ '/clarifai.api.V2/GetArtifact',
16650
+ request,
16651
+ metadata || {},
16652
+ methodDescriptor_V2_GetArtifact,
16653
+ callback);
16654
+ };
16655
+
16656
+
16657
+ /**
16658
+ * @param {!proto.clarifai.api.GetArtifactRequest} request The
16659
+ * request proto
16660
+ * @param {?Object<string, string>=} metadata User defined
16661
+ * call metadata
16662
+ * @return {!Promise<!proto.clarifai.api.SingleArtifactResponse>}
16663
+ * Promise that resolves to the response
16664
+ */
16665
+ proto.clarifai.api.V2PromiseClient.prototype.getArtifact =
16666
+ function(request, metadata) {
16667
+ return this.client_.unaryCall(this.hostname_ +
16668
+ '/clarifai.api.V2/GetArtifact',
16669
+ request,
16670
+ metadata || {},
16671
+ methodDescriptor_V2_GetArtifact);
16672
+ };
16673
+
16674
+
16675
+ /**
16676
+ * @const
16677
+ * @type {!grpc.web.MethodDescriptor<
16678
+ * !proto.clarifai.api.ListArtifactsRequest,
16679
+ * !proto.clarifai.api.MultiArtifactResponse>}
16680
+ */
16681
+ const methodDescriptor_V2_ListArtifacts = new grpc.web.MethodDescriptor(
16682
+ '/clarifai.api.V2/ListArtifacts',
16683
+ grpc.web.MethodType.UNARY,
16684
+ proto.clarifai.api.ListArtifactsRequest,
16685
+ proto.clarifai.api.MultiArtifactResponse,
16686
+ /**
16687
+ * @param {!proto.clarifai.api.ListArtifactsRequest} request
16688
+ * @return {!Uint8Array}
16689
+ */
16690
+ function(request) {
16691
+ return request.serializeBinary();
16692
+ },
16693
+ proto.clarifai.api.MultiArtifactResponse.deserializeBinary
16694
+ );
16695
+
16696
+
16697
+ /**
16698
+ * @param {!proto.clarifai.api.ListArtifactsRequest} request The
16699
+ * request proto
16700
+ * @param {?Object<string, string>} metadata User defined
16701
+ * call metadata
16702
+ * @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiArtifactResponse)}
16703
+ * callback The callback function(error, response)
16704
+ * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiArtifactResponse>|undefined}
16705
+ * The XHR Node Readable Stream
16706
+ */
16707
+ proto.clarifai.api.V2Client.prototype.listArtifacts =
16708
+ function(request, metadata, callback) {
16709
+ return this.client_.rpcCall(this.hostname_ +
16710
+ '/clarifai.api.V2/ListArtifacts',
16711
+ request,
16712
+ metadata || {},
16713
+ methodDescriptor_V2_ListArtifacts,
16714
+ callback);
16715
+ };
16716
+
16717
+
16718
+ /**
16719
+ * @param {!proto.clarifai.api.ListArtifactsRequest} request The
16720
+ * request proto
16721
+ * @param {?Object<string, string>=} metadata User defined
16722
+ * call metadata
16723
+ * @return {!Promise<!proto.clarifai.api.MultiArtifactResponse>}
16724
+ * Promise that resolves to the response
16725
+ */
16726
+ proto.clarifai.api.V2PromiseClient.prototype.listArtifacts =
16727
+ function(request, metadata) {
16728
+ return this.client_.unaryCall(this.hostname_ +
16729
+ '/clarifai.api.V2/ListArtifacts',
16730
+ request,
16731
+ metadata || {},
16732
+ methodDescriptor_V2_ListArtifacts);
16733
+ };
16734
+
16735
+
16736
+ /**
16737
+ * @const
16738
+ * @type {!grpc.web.MethodDescriptor<
16739
+ * !proto.clarifai.api.DeleteArtifactRequest,
16740
+ * !proto.clarifai.api.status.BaseResponse>}
16741
+ */
16742
+ const methodDescriptor_V2_DeleteArtifact = new grpc.web.MethodDescriptor(
16743
+ '/clarifai.api.V2/DeleteArtifact',
16744
+ grpc.web.MethodType.UNARY,
16745
+ proto.clarifai.api.DeleteArtifactRequest,
16746
+ proto_clarifai_api_status_status_pb.BaseResponse,
16747
+ /**
16748
+ * @param {!proto.clarifai.api.DeleteArtifactRequest} request
16749
+ * @return {!Uint8Array}
16750
+ */
16751
+ function(request) {
16752
+ return request.serializeBinary();
16753
+ },
16754
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
16755
+ );
16756
+
16757
+
16758
+ /**
16759
+ * @param {!proto.clarifai.api.DeleteArtifactRequest} request The
16760
+ * request proto
16761
+ * @param {?Object<string, string>} metadata User defined
16762
+ * call metadata
16763
+ * @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
16764
+ * callback The callback function(error, response)
16765
+ * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
16766
+ * The XHR Node Readable Stream
16767
+ */
16768
+ proto.clarifai.api.V2Client.prototype.deleteArtifact =
16769
+ function(request, metadata, callback) {
16770
+ return this.client_.rpcCall(this.hostname_ +
16771
+ '/clarifai.api.V2/DeleteArtifact',
16772
+ request,
16773
+ metadata || {},
16774
+ methodDescriptor_V2_DeleteArtifact,
16775
+ callback);
16776
+ };
16777
+
16778
+
16779
+ /**
16780
+ * @param {!proto.clarifai.api.DeleteArtifactRequest} request The
16781
+ * request proto
16782
+ * @param {?Object<string, string>=} metadata User defined
16783
+ * call metadata
16784
+ * @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
16785
+ * Promise that resolves to the response
16786
+ */
16787
+ proto.clarifai.api.V2PromiseClient.prototype.deleteArtifact =
16788
+ function(request, metadata) {
16789
+ return this.client_.unaryCall(this.hostname_ +
16790
+ '/clarifai.api.V2/DeleteArtifact',
16791
+ request,
16792
+ metadata || {},
16793
+ methodDescriptor_V2_DeleteArtifact);
16794
+ };
16795
+
16796
+
16797
+ /**
16798
+ * @const
16799
+ * @type {!grpc.web.MethodDescriptor<
16800
+ * !proto.clarifai.api.ListArtifactVersionsRequest,
16801
+ * !proto.clarifai.api.MultiArtifactVersionResponse>}
16802
+ */
16803
+ const methodDescriptor_V2_ListArtifactVersions = new grpc.web.MethodDescriptor(
16804
+ '/clarifai.api.V2/ListArtifactVersions',
16805
+ grpc.web.MethodType.UNARY,
16806
+ proto.clarifai.api.ListArtifactVersionsRequest,
16807
+ proto.clarifai.api.MultiArtifactVersionResponse,
16808
+ /**
16809
+ * @param {!proto.clarifai.api.ListArtifactVersionsRequest} request
16810
+ * @return {!Uint8Array}
16811
+ */
16812
+ function(request) {
16813
+ return request.serializeBinary();
16814
+ },
16815
+ proto.clarifai.api.MultiArtifactVersionResponse.deserializeBinary
16816
+ );
16817
+
16818
+
16819
+ /**
16820
+ * @param {!proto.clarifai.api.ListArtifactVersionsRequest} request The
16821
+ * request proto
16822
+ * @param {?Object<string, string>} metadata User defined
16823
+ * call metadata
16824
+ * @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiArtifactVersionResponse)}
16825
+ * callback The callback function(error, response)
16826
+ * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiArtifactVersionResponse>|undefined}
16827
+ * The XHR Node Readable Stream
16828
+ */
16829
+ proto.clarifai.api.V2Client.prototype.listArtifactVersions =
16830
+ function(request, metadata, callback) {
16831
+ return this.client_.rpcCall(this.hostname_ +
16832
+ '/clarifai.api.V2/ListArtifactVersions',
16833
+ request,
16834
+ metadata || {},
16835
+ methodDescriptor_V2_ListArtifactVersions,
16836
+ callback);
16837
+ };
16838
+
16839
+
16840
+ /**
16841
+ * @param {!proto.clarifai.api.ListArtifactVersionsRequest} request The
16842
+ * request proto
16843
+ * @param {?Object<string, string>=} metadata User defined
16844
+ * call metadata
16845
+ * @return {!Promise<!proto.clarifai.api.MultiArtifactVersionResponse>}
16846
+ * Promise that resolves to the response
16847
+ */
16848
+ proto.clarifai.api.V2PromiseClient.prototype.listArtifactVersions =
16849
+ function(request, metadata) {
16850
+ return this.client_.unaryCall(this.hostname_ +
16851
+ '/clarifai.api.V2/ListArtifactVersions',
16852
+ request,
16853
+ metadata || {},
16854
+ methodDescriptor_V2_ListArtifactVersions);
16855
+ };
16856
+
16857
+
16858
+ /**
16859
+ * @const
16860
+ * @type {!grpc.web.MethodDescriptor<
16861
+ * !proto.clarifai.api.GetArtifactVersionRequest,
16862
+ * !proto.clarifai.api.SingleArtifactVersionResponse>}
16863
+ */
16864
+ const methodDescriptor_V2_GetArtifactVersion = new grpc.web.MethodDescriptor(
16865
+ '/clarifai.api.V2/GetArtifactVersion',
16866
+ grpc.web.MethodType.UNARY,
16867
+ proto.clarifai.api.GetArtifactVersionRequest,
16868
+ proto.clarifai.api.SingleArtifactVersionResponse,
16869
+ /**
16870
+ * @param {!proto.clarifai.api.GetArtifactVersionRequest} request
16871
+ * @return {!Uint8Array}
16872
+ */
16873
+ function(request) {
16874
+ return request.serializeBinary();
16875
+ },
16876
+ proto.clarifai.api.SingleArtifactVersionResponse.deserializeBinary
16877
+ );
16878
+
16879
+
16880
+ /**
16881
+ * @param {!proto.clarifai.api.GetArtifactVersionRequest} request The
16882
+ * request proto
16883
+ * @param {?Object<string, string>} metadata User defined
16884
+ * call metadata
16885
+ * @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleArtifactVersionResponse)}
16886
+ * callback The callback function(error, response)
16887
+ * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleArtifactVersionResponse>|undefined}
16888
+ * The XHR Node Readable Stream
16889
+ */
16890
+ proto.clarifai.api.V2Client.prototype.getArtifactVersion =
16891
+ function(request, metadata, callback) {
16892
+ return this.client_.rpcCall(this.hostname_ +
16893
+ '/clarifai.api.V2/GetArtifactVersion',
16894
+ request,
16895
+ metadata || {},
16896
+ methodDescriptor_V2_GetArtifactVersion,
16897
+ callback);
16898
+ };
16899
+
16900
+
16901
+ /**
16902
+ * @param {!proto.clarifai.api.GetArtifactVersionRequest} request The
16903
+ * request proto
16904
+ * @param {?Object<string, string>=} metadata User defined
16905
+ * call metadata
16906
+ * @return {!Promise<!proto.clarifai.api.SingleArtifactVersionResponse>}
16907
+ * Promise that resolves to the response
16908
+ */
16909
+ proto.clarifai.api.V2PromiseClient.prototype.getArtifactVersion =
16910
+ function(request, metadata) {
16911
+ return this.client_.unaryCall(this.hostname_ +
16912
+ '/clarifai.api.V2/GetArtifactVersion',
16913
+ request,
16914
+ metadata || {},
16915
+ methodDescriptor_V2_GetArtifactVersion);
16916
+ };
16917
+
16918
+
16919
+ /**
16920
+ * @const
16921
+ * @type {!grpc.web.MethodDescriptor<
16922
+ * !proto.clarifai.api.DeleteArtifactVersionRequest,
16923
+ * !proto.clarifai.api.status.BaseResponse>}
16924
+ */
16925
+ const methodDescriptor_V2_DeleteArtifactVersion = new grpc.web.MethodDescriptor(
16926
+ '/clarifai.api.V2/DeleteArtifactVersion',
16927
+ grpc.web.MethodType.UNARY,
16928
+ proto.clarifai.api.DeleteArtifactVersionRequest,
16929
+ proto_clarifai_api_status_status_pb.BaseResponse,
16930
+ /**
16931
+ * @param {!proto.clarifai.api.DeleteArtifactVersionRequest} request
16932
+ * @return {!Uint8Array}
16933
+ */
16934
+ function(request) {
16935
+ return request.serializeBinary();
16936
+ },
16937
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
16938
+ );
16939
+
16940
+
16941
+ /**
16942
+ * @param {!proto.clarifai.api.DeleteArtifactVersionRequest} request The
16943
+ * request proto
16944
+ * @param {?Object<string, string>} metadata User defined
16945
+ * call metadata
16946
+ * @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
16947
+ * callback The callback function(error, response)
16948
+ * @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
16949
+ * The XHR Node Readable Stream
16950
+ */
16951
+ proto.clarifai.api.V2Client.prototype.deleteArtifactVersion =
16952
+ function(request, metadata, callback) {
16953
+ return this.client_.rpcCall(this.hostname_ +
16954
+ '/clarifai.api.V2/DeleteArtifactVersion',
16955
+ request,
16956
+ metadata || {},
16957
+ methodDescriptor_V2_DeleteArtifactVersion,
16958
+ callback);
16959
+ };
16960
+
16961
+
16962
+ /**
16963
+ * @param {!proto.clarifai.api.DeleteArtifactVersionRequest} request The
16964
+ * request proto
16965
+ * @param {?Object<string, string>=} metadata User defined
16966
+ * call metadata
16967
+ * @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
16968
+ * Promise that resolves to the response
16969
+ */
16970
+ proto.clarifai.api.V2PromiseClient.prototype.deleteArtifactVersion =
16971
+ function(request, metadata) {
16972
+ return this.client_.unaryCall(this.hostname_ +
16973
+ '/clarifai.api.V2/DeleteArtifactVersion',
16974
+ request,
16975
+ metadata || {},
16976
+ methodDescriptor_V2_DeleteArtifactVersion);
16977
+ };
16978
+
16979
+
16375
16980
  /**
16376
16981
  * @const
16377
16982
  * @type {!grpc.web.MethodDescriptor<