com.redhat.mercury.cardfinancialsettlement.v10.api.bqinstructionservice.BQInstructionServiceBean Maven / Gradle / Ivy
package com.redhat.mercury.cardfinancialsettlement.v10.api.bqinstructionservice;
import io.grpc.BindableService;
import io.quarkus.grpc.GrpcService;
import io.quarkus.grpc.runtime.MutinyBean;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: v10/api/bq_instruction_service.proto")
public class BQInstructionServiceBean extends MutinyBQInstructionServiceGrpc.BQInstructionServiceImplBase implements BindableService, MutinyBean {
private final BQInstructionService delegate;
BQInstructionServiceBean(@GrpcService BQInstructionService delegate) {
this.delegate = delegate;
}
@Override
public io.smallrye.mutiny.Uni retrieveInstruction(com.redhat.mercury.cardfinancialsettlement.v10.api.bqinstructionservice.BqInstructionService.RetrieveInstructionRequest request) {
try {
return delegate.retrieveInstruction(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
@Override
public io.smallrye.mutiny.Uni updateInstruction(com.redhat.mercury.cardfinancialsettlement.v10.api.bqinstructionservice.BqInstructionService.UpdateInstructionRequest request) {
try {
return delegate.updateInstruction(request);
} catch (UnsupportedOperationException e) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
}
}