com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BQCollateralServiceClient Maven / Gradle / Ivy
The newest version!
package com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice;
import java.util.function.BiFunction;
import io.quarkus.grpc.runtime.MutinyClient;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: v10/api/bq_collateral_service.proto")
public class BQCollateralServiceClient implements BQCollateralService, MutinyClient {
private final MutinyBQCollateralServiceGrpc.MutinyBQCollateralServiceStub stub;
public BQCollateralServiceClient(String name, io.grpc.Channel channel, BiFunction stubConfigurator) {
this.stub = stubConfigurator.apply(name,MutinyBQCollateralServiceGrpc.newMutinyStub(channel));
}
private BQCollateralServiceClient(MutinyBQCollateralServiceGrpc.MutinyBQCollateralServiceStub stub) {
this.stub = stub;
}
public BQCollateralServiceClient newInstanceWithStub(MutinyBQCollateralServiceGrpc.MutinyBQCollateralServiceStub stub) {
return new BQCollateralServiceClient(stub);
}
@Override
public MutinyBQCollateralServiceGrpc.MutinyBQCollateralServiceStub getStub() {
return stub;
}
@Override
public io.smallrye.mutiny.Uni initiateCollateral(com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.InitiateCollateralRequest request) {
return stub.initiateCollateral(request);
}
@Override
public io.smallrye.mutiny.Uni requestCollateral(com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RequestCollateralRequest request) {
return stub.requestCollateral(request);
}
@Override
public io.smallrye.mutiny.Uni retrieveCollateral(com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.RetrieveCollateralRequest request) {
return stub.retrieveCollateral(request);
}
@Override
public io.smallrye.mutiny.Uni updateCollateral(com.redhat.mercury.merchandisingloan.v10.api.bqcollateralservice.BqCollateralService.UpdateCollateralRequest request) {
return stub.updateCollateral(request);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy