com.redhat.mercury.merchandisingloan.v10.api.bqlienservice.BQLienServiceClient Maven / Gradle / Ivy
The newest version!
package com.redhat.mercury.merchandisingloan.v10.api.bqlienservice;
import java.util.function.BiFunction;
import io.quarkus.grpc.runtime.MutinyClient;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: v10/api/bq_lien_service.proto")
public class BQLienServiceClient implements BQLienService, MutinyClient {
private final MutinyBQLienServiceGrpc.MutinyBQLienServiceStub stub;
public BQLienServiceClient(String name, io.grpc.Channel channel, BiFunction stubConfigurator) {
this.stub = stubConfigurator.apply(name,MutinyBQLienServiceGrpc.newMutinyStub(channel));
}
private BQLienServiceClient(MutinyBQLienServiceGrpc.MutinyBQLienServiceStub stub) {
this.stub = stub;
}
public BQLienServiceClient newInstanceWithStub(MutinyBQLienServiceGrpc.MutinyBQLienServiceStub stub) {
return new BQLienServiceClient(stub);
}
@Override
public MutinyBQLienServiceGrpc.MutinyBQLienServiceStub getStub() {
return stub;
}
@Override
public io.smallrye.mutiny.Uni exchangeLien(com.redhat.mercury.merchandisingloan.v10.api.bqlienservice.BqLienService.ExchangeLienRequest request) {
return stub.exchangeLien(request);
}
@Override
public io.smallrye.mutiny.Uni initiateLien(com.redhat.mercury.merchandisingloan.v10.api.bqlienservice.BqLienService.InitiateLienRequest request) {
return stub.initiateLien(request);
}
@Override
public io.smallrye.mutiny.Uni retrieveLien(com.redhat.mercury.merchandisingloan.v10.api.bqlienservice.BqLienService.RetrieveLienRequest request) {
return stub.retrieveLien(request);
}
@Override
public io.smallrye.mutiny.Uni updateLien(com.redhat.mercury.merchandisingloan.v10.api.bqlienservice.BqLienService.UpdateLienRequest request) {
return stub.updateLien(request);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy