com.redhat.mercury.merchandisingloan.v10.api.bqfinancialaccountingservice.BQFinancialAccountingServiceClient Maven / Gradle / Ivy
The newest version!
package com.redhat.mercury.merchandisingloan.v10.api.bqfinancialaccountingservice;
import java.util.function.BiFunction;
import io.quarkus.grpc.runtime.MutinyClient;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: v10/api/bq_financial_accounting_service.proto")
public class BQFinancialAccountingServiceClient implements BQFinancialAccountingService, MutinyClient {
private final MutinyBQFinancialAccountingServiceGrpc.MutinyBQFinancialAccountingServiceStub stub;
public BQFinancialAccountingServiceClient(String name, io.grpc.Channel channel, BiFunction stubConfigurator) {
this.stub = stubConfigurator.apply(name,MutinyBQFinancialAccountingServiceGrpc.newMutinyStub(channel));
}
private BQFinancialAccountingServiceClient(MutinyBQFinancialAccountingServiceGrpc.MutinyBQFinancialAccountingServiceStub stub) {
this.stub = stub;
}
public BQFinancialAccountingServiceClient newInstanceWithStub(MutinyBQFinancialAccountingServiceGrpc.MutinyBQFinancialAccountingServiceStub stub) {
return new BQFinancialAccountingServiceClient(stub);
}
@Override
public MutinyBQFinancialAccountingServiceGrpc.MutinyBQFinancialAccountingServiceStub getStub() {
return stub;
}
@Override
public io.smallrye.mutiny.Uni retrieveFinancialAccounting(com.redhat.mercury.merchandisingloan.v10.api.bqfinancialaccountingservice.BqFinancialAccountingService.RetrieveFinancialAccountingRequest request) {
return stub.retrieveFinancialAccounting(request);
}
@Override
public io.smallrye.mutiny.Uni updateFinancialAccounting(com.redhat.mercury.merchandisingloan.v10.api.bqfinancialaccountingservice.BqFinancialAccountingService.UpdateFinancialAccountingRequest request) {
return stub.updateFinancialAccounting(request);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy