com.redhat.mercury.openitemmanagement.v10.api.cropenitemprocedureservice.CROpenItemProcedureServiceClient Maven / Gradle / Ivy
package com.redhat.mercury.openitemmanagement.v10.api.cropenitemprocedureservice;
import java.util.function.BiFunction;
import io.quarkus.grpc.runtime.MutinyClient;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: v10/api/cr_open_item_procedure_service.proto")
public class CROpenItemProcedureServiceClient implements CROpenItemProcedureService, MutinyClient {
private final MutinyCROpenItemProcedureServiceGrpc.MutinyCROpenItemProcedureServiceStub stub;
public CROpenItemProcedureServiceClient(String name, io.grpc.Channel channel, BiFunction stubConfigurator) {
this.stub = stubConfigurator.apply(name,MutinyCROpenItemProcedureServiceGrpc.newMutinyStub(channel));
}
private CROpenItemProcedureServiceClient(MutinyCROpenItemProcedureServiceGrpc.MutinyCROpenItemProcedureServiceStub stub) {
this.stub = stub;
}
public CROpenItemProcedureServiceClient newInstanceWithStub(MutinyCROpenItemProcedureServiceGrpc.MutinyCROpenItemProcedureServiceStub stub) {
return new CROpenItemProcedureServiceClient(stub);
}
@Override
public MutinyCROpenItemProcedureServiceGrpc.MutinyCROpenItemProcedureServiceStub getStub() {
return stub;
}
@Override
public io.smallrye.mutiny.Uni initiate(com.redhat.mercury.openitemmanagement.v10.api.cropenitemprocedureservice.CrOpenItemProcedureService.InitiateRequest request) {
return stub.initiate(request);
}
@Override
public io.smallrye.mutiny.Uni request(com.redhat.mercury.openitemmanagement.v10.api.cropenitemprocedureservice.CrOpenItemProcedureService.RequestRequest request) {
return stub.request(request);
}
@Override
public io.smallrye.mutiny.Uni retrieve(com.redhat.mercury.openitemmanagement.v10.api.cropenitemprocedureservice.CrOpenItemProcedureService.RetrieveRequest request) {
return stub.retrieve(request);
}
@Override
public io.smallrye.mutiny.Uni update(com.redhat.mercury.openitemmanagement.v10.api.cropenitemprocedureservice.CrOpenItemProcedureService.UpdateRequest request) {
return stub.update(request);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy