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

com.redhat.mercury.merchandisingloan.v10.api.bqdepositsservice.BQDepositsServiceClient Maven / Gradle / Ivy

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

import java.util.function.BiFunction;

import io.quarkus.grpc.runtime.MutinyClient;

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

    private final MutinyBQDepositsServiceGrpc.MutinyBQDepositsServiceStub stub;

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

    private BQDepositsServiceClient(MutinyBQDepositsServiceGrpc.MutinyBQDepositsServiceStub stub) {
       this.stub = stub;
    }

    public BQDepositsServiceClient newInstanceWithStub(MutinyBQDepositsServiceGrpc.MutinyBQDepositsServiceStub stub) {
        return new BQDepositsServiceClient(stub);
    }

    @Override
    public MutinyBQDepositsServiceGrpc.MutinyBQDepositsServiceStub getStub() {
       return stub;
    }

    @Override
    public io.smallrye.mutiny.Uni initiateDeposits(com.redhat.mercury.merchandisingloan.v10.api.bqdepositsservice.BqDepositsService.InitiateDepositsRequest request) {
       return stub.initiateDeposits(request);
    }
    @Override
    public io.smallrye.mutiny.Uni retrieveDeposits(com.redhat.mercury.merchandisingloan.v10.api.bqdepositsservice.BqDepositsService.RetrieveDepositsRequest request) {
       return stub.retrieveDeposits(request);
    }
    @Override
    public io.smallrye.mutiny.Uni updateDeposits(com.redhat.mercury.merchandisingloan.v10.api.bqdepositsservice.BqDepositsService.UpdateDepositsRequest request) {
       return stub.updateDeposits(request);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy