com.redhat.mercury.openitemmanagement.v10.api.bqtrackingservice.BQTrackingServiceClient Maven / Gradle / Ivy
package com.redhat.mercury.openitemmanagement.v10.api.bqtrackingservice;
import java.util.function.BiFunction;
import io.quarkus.grpc.runtime.MutinyClient;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: v10/api/bq_tracking_service.proto")
public class BQTrackingServiceClient implements BQTrackingService, MutinyClient {
private final MutinyBQTrackingServiceGrpc.MutinyBQTrackingServiceStub stub;
public BQTrackingServiceClient(String name, io.grpc.Channel channel, BiFunction stubConfigurator) {
this.stub = stubConfigurator.apply(name,MutinyBQTrackingServiceGrpc.newMutinyStub(channel));
}
private BQTrackingServiceClient(MutinyBQTrackingServiceGrpc.MutinyBQTrackingServiceStub stub) {
this.stub = stub;
}
public BQTrackingServiceClient newInstanceWithStub(MutinyBQTrackingServiceGrpc.MutinyBQTrackingServiceStub stub) {
return new BQTrackingServiceClient(stub);
}
@Override
public MutinyBQTrackingServiceGrpc.MutinyBQTrackingServiceStub getStub() {
return stub;
}
@Override
public io.smallrye.mutiny.Uni retrieveTracking(com.redhat.mercury.openitemmanagement.v10.api.bqtrackingservice.BqTrackingService.RetrieveTrackingRequest request) {
return stub.retrieveTracking(request);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy