@@ -734,6 +734,38 @@ cc.arduino.cli.commands.Lib.LibraryUpgradeAllResp> getLibraryUpgradeAllMethod()
734734 return getLibraryUpgradeAllMethod ;
735735 }
736736
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+
737769 private static volatile io .grpc .MethodDescriptor <cc .arduino .cli .commands .Lib .LibrarySearchReq ,
738770 cc .arduino .cli .commands .Lib .LibrarySearchResp > getLibrarySearchMethod ;
739771
@@ -1000,6 +1032,13 @@ public void libraryUpgradeAll(cc.arduino.cli.commands.Lib.LibraryUpgradeAllReq r
10001032 asyncUnimplementedUnaryCall (getLibraryUpgradeAllMethod (), responseObserver );
10011033 }
10021034
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+
10031042 /**
10041043 */
10051044 public void librarySearch (cc .arduino .cli .commands .Lib .LibrarySearchReq request ,
@@ -1170,6 +1209,13 @@ public void libraryList(cc.arduino.cli.commands.Lib.LibraryListReq request,
11701209 cc .arduino .cli .commands .Lib .LibraryUpgradeAllReq ,
11711210 cc .arduino .cli .commands .Lib .LibraryUpgradeAllResp >(
11721211 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 )))
11731219 .addMethod (
11741220 getLibrarySearchMethod (),
11751221 asyncUnaryCall (
@@ -1403,6 +1449,14 @@ public void libraryUpgradeAll(cc.arduino.cli.commands.Lib.LibraryUpgradeAllReq r
14031449 getChannel ().newCall (getLibraryUpgradeAllMethod (), getCallOptions ()), request , responseObserver );
14041450 }
14051451
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+
14061460 /**
14071461 */
14081462 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
16271681 getChannel (), getLibraryUpgradeAllMethod (), getCallOptions (), request );
16281682 }
16291683
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+
16301691 /**
16311692 */
16321693 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
17361797 getChannel ().newCall (getPlatformListMethod (), getCallOptions ()), request );
17371798 }
17381799
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+
17391808 /**
17401809 */
17411810 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
17751844 private static final int METHODID_LIBRARY_INSTALL = 19 ;
17761845 private static final int METHODID_LIBRARY_UNINSTALL = 20 ;
17771846 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 ;
17801850
17811851 private static final class MethodHandlers <Req , Resp > implements
17821852 io .grpc .stub .ServerCalls .UnaryMethod <Req , Resp >,
@@ -1883,6 +1953,10 @@ public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserv
18831953 serviceImpl .libraryUpgradeAll ((cc .arduino .cli .commands .Lib .LibraryUpgradeAllReq ) request ,
18841954 (io .grpc .stub .StreamObserver <cc .arduino .cli .commands .Lib .LibraryUpgradeAllResp >) responseObserver );
18851955 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 ;
18861960 case METHODID_LIBRARY_SEARCH :
18871961 serviceImpl .librarySearch ((cc .arduino .cli .commands .Lib .LibrarySearchReq ) request ,
18881962 (io .grpc .stub .StreamObserver <cc .arduino .cli .commands .Lib .LibrarySearchResp >) responseObserver );
@@ -1974,6 +2048,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
19742048 .addMethod (getLibraryInstallMethod ())
19752049 .addMethod (getLibraryUninstallMethod ())
19762050 .addMethod (getLibraryUpgradeAllMethod ())
2051+ .addMethod (getLibraryResolveDependenciesMethod ())
19772052 .addMethod (getLibrarySearchMethod ())
19782053 .addMethod (getLibraryListMethod ())
19792054 .build ();
0 commit comments