newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(
+ "cc.arduino.cli.commands.ArduinoCore", "LibraryList"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ cc.arduino.cli.commands.Lib.LibraryListReq.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ cc.arduino.cli.commands.Lib.LibraryListResp.getDefaultInstance()))
+ .setSchemaDescriptor(new ArduinoCoreMethodDescriptorSupplier("LibraryList"))
+ .build();
+ }
+ }
+ }
+ return getLibraryListMethod;
+ }
+
+ /**
+ * Creates a new async stub that supports all call types for the service
+ */
+ public static ArduinoCoreStub newStub(io.grpc.Channel channel) {
+ return new ArduinoCoreStub(channel);
+ }
+
+ /**
+ * Creates a new blocking-style stub that supports unary and streaming output calls on the service
+ */
+ public static ArduinoCoreBlockingStub newBlockingStub(
+ io.grpc.Channel channel) {
+ return new ArduinoCoreBlockingStub(channel);
+ }
+
+ /**
+ * Creates a new ListenableFuture-style stub that supports unary calls on the service
+ */
+ public static ArduinoCoreFutureStub newFutureStub(
+ io.grpc.Channel channel) {
+ return new ArduinoCoreFutureStub(channel);
+ }
+
+ /**
+ *
+ * The main Arduino Platform Service
+ *
+ */
+ public static abstract class ArduinoCoreImplBase implements io.grpc.BindableService {
+
+ /**
+ *
+ * Start a new instance of the Arduino Core Service
+ *
+ */
+ public void init(cc.arduino.cli.commands.Commands.InitReq request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ asyncUnimplementedUnaryCall(getInitMethod(), responseObserver);
+ }
+
+ /**
+ *
+ * Destroy an instance of the Arduino Core Service
+ *
+ */
+ public void destroy(cc.arduino.cli.commands.Commands.DestroyReq request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ asyncUnimplementedUnaryCall(getDestroyMethod(), responseObserver);
+ }
+
+ /**
+ *
+ * Rescan instance of the Arduino Core Service
+ *
+ */
+ public void rescan(cc.arduino.cli.commands.Commands.RescanReq request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ asyncUnimplementedUnaryCall(getRescanMethod(), responseObserver);
+ }
+
+ /**
+ *
+ * Update package index of the Arduino Core Service
+ *
+ */
+ public void updateIndex(cc.arduino.cli.commands.Commands.UpdateIndexReq request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ asyncUnimplementedUnaryCall(getUpdateIndexMethod(), responseObserver);
+ }
+
+ /**
+ *
+ * Update libraries index
+ *
+ */
+ public void updateLibrariesIndex(cc.arduino.cli.commands.Commands.UpdateLibrariesIndexReq request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ asyncUnimplementedUnaryCall(getUpdateLibrariesIndexMethod(), responseObserver);
+ }
+
+ /**
+ *
+ * Get the version of Arduino CLI in use.
+ *
+ */
+ public void version(cc.arduino.cli.commands.Commands.VersionReq request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ asyncUnimplementedUnaryCall(getVersionMethod(), responseObserver);
+ }
+
+ /**
+ *