com.redhat.mercury.merchandisingloan.v10.api.bqsweepservice.BQSweepServiceClient Maven / Gradle / Ivy
The newest version!
package com.redhat.mercury.merchandisingloan.v10.api.bqsweepservice;
import java.util.function.BiFunction;
import io.quarkus.grpc.runtime.MutinyClient;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: v10/api/bq_sweep_service.proto")
public class BQSweepServiceClient implements BQSweepService, MutinyClient {
private final MutinyBQSweepServiceGrpc.MutinyBQSweepServiceStub stub;
public BQSweepServiceClient(String name, io.grpc.Channel channel, BiFunction stubConfigurator) {
this.stub = stubConfigurator.apply(name,MutinyBQSweepServiceGrpc.newMutinyStub(channel));
}
private BQSweepServiceClient(MutinyBQSweepServiceGrpc.MutinyBQSweepServiceStub stub) {
this.stub = stub;
}
public BQSweepServiceClient newInstanceWithStub(MutinyBQSweepServiceGrpc.MutinyBQSweepServiceStub stub) {
return new BQSweepServiceClient(stub);
}
@Override
public MutinyBQSweepServiceGrpc.MutinyBQSweepServiceStub getStub() {
return stub;
}
@Override
public io.smallrye.mutiny.Uni exchangeSweep(com.redhat.mercury.merchandisingloan.v10.api.bqsweepservice.BqSweepService.ExchangeSweepRequest request) {
return stub.exchangeSweep(request);
}
@Override
public io.smallrye.mutiny.Uni initiateSweep(com.redhat.mercury.merchandisingloan.v10.api.bqsweepservice.BqSweepService.InitiateSweepRequest request) {
return stub.initiateSweep(request);
}
@Override
public io.smallrye.mutiny.Uni retrieveSweep(com.redhat.mercury.merchandisingloan.v10.api.bqsweepservice.BqSweepService.RetrieveSweepRequest request) {
return stub.retrieveSweep(request);
}
@Override
public io.smallrye.mutiny.Uni updateSweep(com.redhat.mercury.merchandisingloan.v10.api.bqsweepservice.BqSweepService.UpdateSweepRequest request) {
return stub.updateSweep(request);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy