All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BQInterestServiceClient Maven / Gradle / Ivy

The newest version!
package com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice;

import java.util.function.BiFunction;

import io.quarkus.grpc.runtime.MutinyClient;

@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: v10/api/bq_interest_service.proto")
public class BQInterestServiceClient implements BQInterestService, MutinyClient {

    private final MutinyBQInterestServiceGrpc.MutinyBQInterestServiceStub stub;

    public BQInterestServiceClient(String name, io.grpc.Channel channel, BiFunction stubConfigurator) {
       this.stub = stubConfigurator.apply(name,MutinyBQInterestServiceGrpc.newMutinyStub(channel));
    }

    private BQInterestServiceClient(MutinyBQInterestServiceGrpc.MutinyBQInterestServiceStub stub) {
       this.stub = stub;
    }

    public BQInterestServiceClient newInstanceWithStub(MutinyBQInterestServiceGrpc.MutinyBQInterestServiceStub stub) {
        return new BQInterestServiceClient(stub);
    }

    @Override
    public MutinyBQInterestServiceGrpc.MutinyBQInterestServiceStub getStub() {
       return stub;
    }

    @Override
    public io.smallrye.mutiny.Uni retrieveInterest(com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.RetrieveInterestRequest request) {
       return stub.retrieveInterest(request);
    }
    @Override
    public io.smallrye.mutiny.Uni updateInterest(com.redhat.mercury.merchandisingloan.v10.api.bqinterestservice.BqInterestService.UpdateInterestRequest request) {
       return stub.updateInterest(request);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy