@@ -734,6 +734,38 @@ cc.arduino.cli.commands.Lib.LibraryUpgradeAllResp> getLibraryUpgradeAllMethod()
734
734
return getLibraryUpgradeAllMethod ;
735
735
}
736
736
737
+ private static volatile io .grpc .MethodDescriptor <cc .arduino .cli .commands .Lib .LibraryResolveDependenciesReq ,
738
+ cc .arduino .cli .commands .Lib .LibraryResolveDependenciesResp > getLibraryResolveDependenciesMethod ;
739
+
740
+ @ io .grpc .stub .annotations .RpcMethod (
741
+ fullMethodName = SERVICE_NAME + '/' + "LibraryResolveDependencies" ,
742
+ requestType = cc .arduino .cli .commands .Lib .LibraryResolveDependenciesReq .class ,
743
+ responseType = cc .arduino .cli .commands .Lib .LibraryResolveDependenciesResp .class ,
744
+ methodType = io .grpc .MethodDescriptor .MethodType .UNARY )
745
+ public static io .grpc .MethodDescriptor <cc .arduino .cli .commands .Lib .LibraryResolveDependenciesReq ,
746
+ cc .arduino .cli .commands .Lib .LibraryResolveDependenciesResp > getLibraryResolveDependenciesMethod () {
747
+ io .grpc .MethodDescriptor <cc .arduino .cli .commands .Lib .LibraryResolveDependenciesReq , cc .arduino .cli .commands .Lib .LibraryResolveDependenciesResp > getLibraryResolveDependenciesMethod ;
748
+ if ((getLibraryResolveDependenciesMethod = ArduinoCoreGrpc .getLibraryResolveDependenciesMethod ) == null ) {
749
+ synchronized (ArduinoCoreGrpc .class ) {
750
+ if ((getLibraryResolveDependenciesMethod = ArduinoCoreGrpc .getLibraryResolveDependenciesMethod ) == null ) {
751
+ ArduinoCoreGrpc .getLibraryResolveDependenciesMethod = getLibraryResolveDependenciesMethod =
752
+ io .grpc .MethodDescriptor .<cc .arduino .cli .commands .Lib .LibraryResolveDependenciesReq , cc .arduino .cli .commands .Lib .LibraryResolveDependenciesResp >newBuilder ()
753
+ .setType (io .grpc .MethodDescriptor .MethodType .UNARY )
754
+ .setFullMethodName (generateFullMethodName (
755
+ "cc.arduino.cli.commands.ArduinoCore" , "LibraryResolveDependencies" ))
756
+ .setSampledToLocalTracing (true )
757
+ .setRequestMarshaller (io .grpc .protobuf .ProtoUtils .marshaller (
758
+ cc .arduino .cli .commands .Lib .LibraryResolveDependenciesReq .getDefaultInstance ()))
759
+ .setResponseMarshaller (io .grpc .protobuf .ProtoUtils .marshaller (
760
+ cc .arduino .cli .commands .Lib .LibraryResolveDependenciesResp .getDefaultInstance ()))
761
+ .setSchemaDescriptor (new ArduinoCoreMethodDescriptorSupplier ("LibraryResolveDependencies" ))
762
+ .build ();
763
+ }
764
+ }
765
+ }
766
+ return getLibraryResolveDependenciesMethod ;
767
+ }
768
+
737
769
private static volatile io .grpc .MethodDescriptor <cc .arduino .cli .commands .Lib .LibrarySearchReq ,
738
770
cc .arduino .cli .commands .Lib .LibrarySearchResp > getLibrarySearchMethod ;
739
771
@@ -1000,6 +1032,13 @@ public void libraryUpgradeAll(cc.arduino.cli.commands.Lib.LibraryUpgradeAllReq r
1000
1032
asyncUnimplementedUnaryCall (getLibraryUpgradeAllMethod (), responseObserver );
1001
1033
}
1002
1034
1035
+ /**
1036
+ */
1037
+ public void libraryResolveDependencies (cc .arduino .cli .commands .Lib .LibraryResolveDependenciesReq request ,
1038
+ io .grpc .stub .StreamObserver <cc .arduino .cli .commands .Lib .LibraryResolveDependenciesResp > responseObserver ) {
1039
+ asyncUnimplementedUnaryCall (getLibraryResolveDependenciesMethod (), responseObserver );
1040
+ }
1041
+
1003
1042
/**
1004
1043
*/
1005
1044
public void librarySearch (cc .arduino .cli .commands .Lib .LibrarySearchReq request ,
@@ -1170,6 +1209,13 @@ public void libraryList(cc.arduino.cli.commands.Lib.LibraryListReq request,
1170
1209
cc .arduino .cli .commands .Lib .LibraryUpgradeAllReq ,
1171
1210
cc .arduino .cli .commands .Lib .LibraryUpgradeAllResp >(
1172
1211
this , METHODID_LIBRARY_UPGRADE_ALL )))
1212
+ .addMethod (
1213
+ getLibraryResolveDependenciesMethod (),
1214
+ asyncUnaryCall (
1215
+ new MethodHandlers <
1216
+ cc .arduino .cli .commands .Lib .LibraryResolveDependenciesReq ,
1217
+ cc .arduino .cli .commands .Lib .LibraryResolveDependenciesResp >(
1218
+ this , METHODID_LIBRARY_RESOLVE_DEPENDENCIES )))
1173
1219
.addMethod (
1174
1220
getLibrarySearchMethod (),
1175
1221
asyncUnaryCall (
@@ -1403,6 +1449,14 @@ public void libraryUpgradeAll(cc.arduino.cli.commands.Lib.LibraryUpgradeAllReq r
1403
1449
getChannel ().newCall (getLibraryUpgradeAllMethod (), getCallOptions ()), request , responseObserver );
1404
1450
}
1405
1451
1452
+ /**
1453
+ */
1454
+ public void libraryResolveDependencies (cc .arduino .cli .commands .Lib .LibraryResolveDependenciesReq request ,
1455
+ io .grpc .stub .StreamObserver <cc .arduino .cli .commands .Lib .LibraryResolveDependenciesResp > responseObserver ) {
1456
+ asyncUnaryCall (
1457
+ getChannel ().newCall (getLibraryResolveDependenciesMethod (), getCallOptions ()), request , responseObserver );
1458
+ }
1459
+
1406
1460
/**
1407
1461
*/
1408
1462
public void librarySearch (cc .arduino .cli .commands .Lib .LibrarySearchReq request ,
@@ -1627,6 +1681,13 @@ public java.util.Iterator<cc.arduino.cli.commands.Lib.LibraryUpgradeAllResp> lib
1627
1681
getChannel (), getLibraryUpgradeAllMethod (), getCallOptions (), request );
1628
1682
}
1629
1683
1684
+ /**
1685
+ */
1686
+ public cc .arduino .cli .commands .Lib .LibraryResolveDependenciesResp libraryResolveDependencies (cc .arduino .cli .commands .Lib .LibraryResolveDependenciesReq request ) {
1687
+ return blockingUnaryCall (
1688
+ getChannel (), getLibraryResolveDependenciesMethod (), getCallOptions (), request );
1689
+ }
1690
+
1630
1691
/**
1631
1692
*/
1632
1693
public cc .arduino .cli .commands .Lib .LibrarySearchResp librarySearch (cc .arduino .cli .commands .Lib .LibrarySearchReq request ) {
@@ -1736,6 +1797,14 @@ public com.google.common.util.concurrent.ListenableFuture<cc.arduino.cli.command
1736
1797
getChannel ().newCall (getPlatformListMethod (), getCallOptions ()), request );
1737
1798
}
1738
1799
1800
+ /**
1801
+ */
1802
+ public com .google .common .util .concurrent .ListenableFuture <cc .arduino .cli .commands .Lib .LibraryResolveDependenciesResp > libraryResolveDependencies (
1803
+ cc .arduino .cli .commands .Lib .LibraryResolveDependenciesReq request ) {
1804
+ return futureUnaryCall (
1805
+ getChannel ().newCall (getLibraryResolveDependenciesMethod (), getCallOptions ()), request );
1806
+ }
1807
+
1739
1808
/**
1740
1809
*/
1741
1810
public com .google .common .util .concurrent .ListenableFuture <cc .arduino .cli .commands .Lib .LibrarySearchResp > librarySearch (
@@ -1775,8 +1844,9 @@ public com.google.common.util.concurrent.ListenableFuture<cc.arduino.cli.command
1775
1844
private static final int METHODID_LIBRARY_INSTALL = 19 ;
1776
1845
private static final int METHODID_LIBRARY_UNINSTALL = 20 ;
1777
1846
private static final int METHODID_LIBRARY_UPGRADE_ALL = 21 ;
1778
- private static final int METHODID_LIBRARY_SEARCH = 22 ;
1779
- private static final int METHODID_LIBRARY_LIST = 23 ;
1847
+ private static final int METHODID_LIBRARY_RESOLVE_DEPENDENCIES = 22 ;
1848
+ private static final int METHODID_LIBRARY_SEARCH = 23 ;
1849
+ private static final int METHODID_LIBRARY_LIST = 24 ;
1780
1850
1781
1851
private static final class MethodHandlers <Req , Resp > implements
1782
1852
io .grpc .stub .ServerCalls .UnaryMethod <Req , Resp >,
@@ -1883,6 +1953,10 @@ public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserv
1883
1953
serviceImpl .libraryUpgradeAll ((cc .arduino .cli .commands .Lib .LibraryUpgradeAllReq ) request ,
1884
1954
(io .grpc .stub .StreamObserver <cc .arduino .cli .commands .Lib .LibraryUpgradeAllResp >) responseObserver );
1885
1955
break ;
1956
+ case METHODID_LIBRARY_RESOLVE_DEPENDENCIES :
1957
+ serviceImpl .libraryResolveDependencies ((cc .arduino .cli .commands .Lib .LibraryResolveDependenciesReq ) request ,
1958
+ (io .grpc .stub .StreamObserver <cc .arduino .cli .commands .Lib .LibraryResolveDependenciesResp >) responseObserver );
1959
+ break ;
1886
1960
case METHODID_LIBRARY_SEARCH :
1887
1961
serviceImpl .librarySearch ((cc .arduino .cli .commands .Lib .LibrarySearchReq ) request ,
1888
1962
(io .grpc .stub .StreamObserver <cc .arduino .cli .commands .Lib .LibrarySearchResp >) responseObserver );
@@ -1974,6 +2048,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
1974
2048
.addMethod (getLibraryInstallMethod ())
1975
2049
.addMethod (getLibraryUninstallMethod ())
1976
2050
.addMethod (getLibraryUpgradeAllMethod ())
2051
+ .addMethod (getLibraryResolveDependenciesMethod ())
1977
2052
.addMethod (getLibrarySearchMethod ())
1978
2053
.addMethod (getLibraryListMethod ())
1979
2054
.build ();
0 commit comments