com.redhat.mercury.merchandisingloan.v10.api.bqissueddeviceservice.BQIssuedDeviceServiceClient Maven / Gradle / Ivy
The newest version!
package com.redhat.mercury.merchandisingloan.v10.api.bqissueddeviceservice;
import java.util.function.BiFunction;
import io.quarkus.grpc.runtime.MutinyClient;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: v10/api/bq_issued_device_service.proto")
public class BQIssuedDeviceServiceClient implements BQIssuedDeviceService, MutinyClient {
private final MutinyBQIssuedDeviceServiceGrpc.MutinyBQIssuedDeviceServiceStub stub;
public BQIssuedDeviceServiceClient(String name, io.grpc.Channel channel, BiFunction stubConfigurator) {
this.stub = stubConfigurator.apply(name,MutinyBQIssuedDeviceServiceGrpc.newMutinyStub(channel));
}
private BQIssuedDeviceServiceClient(MutinyBQIssuedDeviceServiceGrpc.MutinyBQIssuedDeviceServiceStub stub) {
this.stub = stub;
}
public BQIssuedDeviceServiceClient newInstanceWithStub(MutinyBQIssuedDeviceServiceGrpc.MutinyBQIssuedDeviceServiceStub stub) {
return new BQIssuedDeviceServiceClient(stub);
}
@Override
public MutinyBQIssuedDeviceServiceGrpc.MutinyBQIssuedDeviceServiceStub getStub() {
return stub;
}
@Override
public io.smallrye.mutiny.Uni initiateIssuedDevice(com.redhat.mercury.merchandisingloan.v10.api.bqissueddeviceservice.BqIssuedDeviceService.InitiateIssuedDeviceRequest request) {
return stub.initiateIssuedDevice(request);
}
@Override
public io.smallrye.mutiny.Uni retrieveIssuedDevice(com.redhat.mercury.merchandisingloan.v10.api.bqissueddeviceservice.BqIssuedDeviceService.RetrieveIssuedDeviceRequest request) {
return stub.retrieveIssuedDevice(request);
}
@Override
public io.smallrye.mutiny.Uni updateIssuedDevice(com.redhat.mercury.merchandisingloan.v10.api.bqissueddeviceservice.BqIssuedDeviceService.UpdateIssuedDeviceRequest request) {
return stub.updateIssuedDevice(request);
}
}