
com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.MutinyBQInterestFulfillmentServiceGrpc Maven / Gradle / Ivy
package com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice;
import static com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BQInterestFulfillmentServiceGrpc.getServiceDescriptor;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncServerStreamingCall;
import static io.grpc.stub.ServerCalls.asyncClientStreamingCall;
import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall;
@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: v10/api/bq_interest_fulfillment_service.proto")
public final class MutinyBQInterestFulfillmentServiceGrpc implements io.quarkus.grpc.runtime.MutinyGrpc {
private MutinyBQInterestFulfillmentServiceGrpc() {}
public static MutinyBQInterestFulfillmentServiceStub newMutinyStub(io.grpc.Channel channel) {
return new MutinyBQInterestFulfillmentServiceStub(channel);
}
public static final class MutinyBQInterestFulfillmentServiceStub extends io.grpc.stub.AbstractStub implements io.quarkus.grpc.runtime.MutinyStub {
private BQInterestFulfillmentServiceGrpc.BQInterestFulfillmentServiceStub delegateStub;
private MutinyBQInterestFulfillmentServiceStub(io.grpc.Channel channel) {
super(channel);
delegateStub = BQInterestFulfillmentServiceGrpc.newStub(channel);
}
private MutinyBQInterestFulfillmentServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
delegateStub = BQInterestFulfillmentServiceGrpc.newStub(channel).build(channel, callOptions);
}
@Override
protected MutinyBQInterestFulfillmentServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new MutinyBQInterestFulfillmentServiceStub(channel, callOptions);
}
public io.smallrye.mutiny.Uni exchangeInterestFulfillment(com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.ExchangeInterestFulfillmentRequest request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::exchangeInterestFulfillment);
}
public io.smallrye.mutiny.Uni executeInterestFulfillment(com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.ExecuteInterestFulfillmentRequest request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::executeInterestFulfillment);
}
public io.smallrye.mutiny.Uni initiateInterestFulfillment(com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.InitiateInterestFulfillmentRequest request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::initiateInterestFulfillment);
}
public io.smallrye.mutiny.Uni notifyInterestFulfillment(com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.NotifyInterestFulfillmentRequest request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::notifyInterestFulfillment);
}
public io.smallrye.mutiny.Uni requestInterestFulfillment(com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.RequestInterestFulfillmentRequest request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::requestInterestFulfillment);
}
public io.smallrye.mutiny.Uni retrieveInterestFulfillment(com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.RetrieveInterestFulfillmentRequest request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::retrieveInterestFulfillment);
}
public io.smallrye.mutiny.Uni updateInterestFulfillment(com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.UpdateInterestFulfillmentRequest request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::updateInterestFulfillment);
}
}
public static abstract class BQInterestFulfillmentServiceImplBase implements io.grpc.BindableService {
private String compression;
/**
* Set whether the server will try to use a compressed response.
*
* @param compression the compression, e.g {@code gzip}
*/
public BQInterestFulfillmentServiceImplBase withCompression(String compression) {
this.compression = compression;
return this;
}
public io.smallrye.mutiny.Uni exchangeInterestFulfillment(com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.ExchangeInterestFulfillmentRequest request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni executeInterestFulfillment(com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.ExecuteInterestFulfillmentRequest request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni initiateInterestFulfillment(com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.InitiateInterestFulfillmentRequest request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni notifyInterestFulfillment(com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.NotifyInterestFulfillmentRequest request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni requestInterestFulfillment(com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.RequestInterestFulfillmentRequest request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni retrieveInterestFulfillment(com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.RetrieveInterestFulfillmentRequest request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni updateInterestFulfillment(com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.UpdateInterestFulfillmentRequest request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BQInterestFulfillmentServiceGrpc.getExchangeInterestFulfillmentMethod(),
asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.ExchangeInterestFulfillmentRequest,
com.redhat.mercury.tradefinance.v10.ExchangeInterestFulfillmentResponseOuterClass.ExchangeInterestFulfillmentResponse>(
this, METHODID_EXCHANGE_INTEREST_FULFILLMENT, compression)))
.addMethod(
com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BQInterestFulfillmentServiceGrpc.getExecuteInterestFulfillmentMethod(),
asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.ExecuteInterestFulfillmentRequest,
com.redhat.mercury.tradefinance.v10.ExecuteInterestFulfillmentResponseOuterClass.ExecuteInterestFulfillmentResponse>(
this, METHODID_EXECUTE_INTEREST_FULFILLMENT, compression)))
.addMethod(
com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BQInterestFulfillmentServiceGrpc.getInitiateInterestFulfillmentMethod(),
asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.InitiateInterestFulfillmentRequest,
com.redhat.mercury.tradefinance.v10.InitiateInterestFulfillmentResponseOuterClass.InitiateInterestFulfillmentResponse>(
this, METHODID_INITIATE_INTEREST_FULFILLMENT, compression)))
.addMethod(
com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BQInterestFulfillmentServiceGrpc.getNotifyInterestFulfillmentMethod(),
asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.NotifyInterestFulfillmentRequest,
com.redhat.mercury.tradefinance.v10.NotifyInterestFulfillmentResponseOuterClass.NotifyInterestFulfillmentResponse>(
this, METHODID_NOTIFY_INTEREST_FULFILLMENT, compression)))
.addMethod(
com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BQInterestFulfillmentServiceGrpc.getRequestInterestFulfillmentMethod(),
asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.RequestInterestFulfillmentRequest,
com.redhat.mercury.tradefinance.v10.RequestInterestFulfillmentResponseOuterClass.RequestInterestFulfillmentResponse>(
this, METHODID_REQUEST_INTEREST_FULFILLMENT, compression)))
.addMethod(
com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BQInterestFulfillmentServiceGrpc.getRetrieveInterestFulfillmentMethod(),
asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.RetrieveInterestFulfillmentRequest,
com.redhat.mercury.tradefinance.v10.RetrieveInterestFulfillmentResponseOuterClass.RetrieveInterestFulfillmentResponse>(
this, METHODID_RETRIEVE_INTEREST_FULFILLMENT, compression)))
.addMethod(
com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BQInterestFulfillmentServiceGrpc.getUpdateInterestFulfillmentMethod(),
asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.UpdateInterestFulfillmentRequest,
com.redhat.mercury.tradefinance.v10.UpdateInterestFulfillmentResponseOuterClass.UpdateInterestFulfillmentResponse>(
this, METHODID_UPDATE_INTEREST_FULFILLMENT, compression)))
.build();
}
}
private static final int METHODID_EXCHANGE_INTEREST_FULFILLMENT = 0;
private static final int METHODID_EXECUTE_INTEREST_FULFILLMENT = 1;
private static final int METHODID_INITIATE_INTEREST_FULFILLMENT = 2;
private static final int METHODID_NOTIFY_INTEREST_FULFILLMENT = 3;
private static final int METHODID_REQUEST_INTEREST_FULFILLMENT = 4;
private static final int METHODID_RETRIEVE_INTEREST_FULFILLMENT = 5;
private static final int METHODID_UPDATE_INTEREST_FULFILLMENT = 6;
private static final class MethodHandlers implements
io.grpc.stub.ServerCalls.UnaryMethod,
io.grpc.stub.ServerCalls.ServerStreamingMethod,
io.grpc.stub.ServerCalls.ClientStreamingMethod,
io.grpc.stub.ServerCalls.BidiStreamingMethod {
private final BQInterestFulfillmentServiceImplBase serviceImpl;
private final int methodId;
private final String compression;
MethodHandlers(BQInterestFulfillmentServiceImplBase serviceImpl, int methodId, String compression) {
this.serviceImpl = serviceImpl;
this.methodId = methodId;
this.compression = compression;
}
@java.lang.Override
@java.lang.SuppressWarnings("unchecked")
public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
switch (methodId) {
case METHODID_EXCHANGE_INTEREST_FULFILLMENT:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.ExchangeInterestFulfillmentRequest) request,
(io.grpc.stub.StreamObserver) responseObserver,
compression,
serviceImpl::exchangeInterestFulfillment);
break;
case METHODID_EXECUTE_INTEREST_FULFILLMENT:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.ExecuteInterestFulfillmentRequest) request,
(io.grpc.stub.StreamObserver) responseObserver,
compression,
serviceImpl::executeInterestFulfillment);
break;
case METHODID_INITIATE_INTEREST_FULFILLMENT:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.InitiateInterestFulfillmentRequest) request,
(io.grpc.stub.StreamObserver) responseObserver,
compression,
serviceImpl::initiateInterestFulfillment);
break;
case METHODID_NOTIFY_INTEREST_FULFILLMENT:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.NotifyInterestFulfillmentRequest) request,
(io.grpc.stub.StreamObserver) responseObserver,
compression,
serviceImpl::notifyInterestFulfillment);
break;
case METHODID_REQUEST_INTEREST_FULFILLMENT:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.RequestInterestFulfillmentRequest) request,
(io.grpc.stub.StreamObserver) responseObserver,
compression,
serviceImpl::requestInterestFulfillment);
break;
case METHODID_RETRIEVE_INTEREST_FULFILLMENT:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.RetrieveInterestFulfillmentRequest) request,
(io.grpc.stub.StreamObserver) responseObserver,
compression,
serviceImpl::retrieveInterestFulfillment);
break;
case METHODID_UPDATE_INTEREST_FULFILLMENT:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((com.redhat.mercury.tradefinance.v10.api.bqinterestfulfillmentservice.BqInterestFulfillmentService.UpdateInterestFulfillmentRequest) request,
(io.grpc.stub.StreamObserver) responseObserver,
compression,
serviceImpl::updateInterestFulfillment);
break;
default:
throw new java.lang.AssertionError();
}
}
@java.lang.Override
@java.lang.SuppressWarnings("unchecked")
public io.grpc.stub.StreamObserver invoke(io.grpc.stub.StreamObserver responseObserver) {
switch (methodId) {
default:
throw new java.lang.AssertionError();
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy