
com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.MutinyBQAccountSweepFulfillmentServiceGrpc Maven / Gradle / Ivy
package com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice;
import static com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BQAccountSweepFulfillmentServiceGrpc.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_account_sweep_fulfillment_service.proto")
public final class MutinyBQAccountSweepFulfillmentServiceGrpc implements io.quarkus.grpc.runtime.MutinyGrpc {
private MutinyBQAccountSweepFulfillmentServiceGrpc() {}
public static MutinyBQAccountSweepFulfillmentServiceStub newMutinyStub(io.grpc.Channel channel) {
return new MutinyBQAccountSweepFulfillmentServiceStub(channel);
}
public static final class MutinyBQAccountSweepFulfillmentServiceStub extends io.grpc.stub.AbstractStub implements io.quarkus.grpc.runtime.MutinyStub {
private BQAccountSweepFulfillmentServiceGrpc.BQAccountSweepFulfillmentServiceStub delegateStub;
private MutinyBQAccountSweepFulfillmentServiceStub(io.grpc.Channel channel) {
super(channel);
delegateStub = BQAccountSweepFulfillmentServiceGrpc.newStub(channel);
}
private MutinyBQAccountSweepFulfillmentServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
delegateStub = BQAccountSweepFulfillmentServiceGrpc.newStub(channel).build(channel, callOptions);
}
@Override
protected MutinyBQAccountSweepFulfillmentServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new MutinyBQAccountSweepFulfillmentServiceStub(channel, callOptions);
}
public io.smallrye.mutiny.Uni exchangeAccountSweepFulfillment(com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.ExchangeAccountSweepFulfillmentRequest request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::exchangeAccountSweepFulfillment);
}
public io.smallrye.mutiny.Uni executeAccountSweepFulfillment(com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.ExecuteAccountSweepFulfillmentRequest request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::executeAccountSweepFulfillment);
}
public io.smallrye.mutiny.Uni initiateAccountSweepFulfillment(com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.InitiateAccountSweepFulfillmentRequest request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::initiateAccountSweepFulfillment);
}
public io.smallrye.mutiny.Uni notifyAccountSweepFulfillment(com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.NotifyAccountSweepFulfillmentRequest request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::notifyAccountSweepFulfillment);
}
public io.smallrye.mutiny.Uni requestAccountSweepFulfillment(com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.RequestAccountSweepFulfillmentRequest request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::requestAccountSweepFulfillment);
}
public io.smallrye.mutiny.Uni retrieveAccountSweepFulfillment(com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.RetrieveAccountSweepFulfillmentRequest request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::retrieveAccountSweepFulfillment);
}
public io.smallrye.mutiny.Uni updateAccountSweepFulfillment(com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.UpdateAccountSweepFulfillmentRequest request) {
return io.quarkus.grpc.runtime.ClientCalls.oneToOne(request, delegateStub::updateAccountSweepFulfillment);
}
}
public static abstract class BQAccountSweepFulfillmentServiceImplBase 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 BQAccountSweepFulfillmentServiceImplBase withCompression(String compression) {
this.compression = compression;
return this;
}
public io.smallrye.mutiny.Uni exchangeAccountSweepFulfillment(com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.ExchangeAccountSweepFulfillmentRequest request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni executeAccountSweepFulfillment(com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.ExecuteAccountSweepFulfillmentRequest request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni initiateAccountSweepFulfillment(com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.InitiateAccountSweepFulfillmentRequest request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni notifyAccountSweepFulfillment(com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.NotifyAccountSweepFulfillmentRequest request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni requestAccountSweepFulfillment(com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.RequestAccountSweepFulfillmentRequest request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni retrieveAccountSweepFulfillment(com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.RetrieveAccountSweepFulfillmentRequest request) {
throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
}
public io.smallrye.mutiny.Uni updateAccountSweepFulfillment(com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.UpdateAccountSweepFulfillmentRequest 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.bqaccountsweepfulfillmentservice.BQAccountSweepFulfillmentServiceGrpc.getExchangeAccountSweepFulfillmentMethod(),
asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.ExchangeAccountSweepFulfillmentRequest,
com.redhat.mercury.tradefinance.v10.AccountSweepFulfillmentOuterClass.AccountSweepFulfillment>(
this, METHODID_EXCHANGE_ACCOUNT_SWEEP_FULFILLMENT, compression)))
.addMethod(
com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BQAccountSweepFulfillmentServiceGrpc.getExecuteAccountSweepFulfillmentMethod(),
asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.ExecuteAccountSweepFulfillmentRequest,
com.redhat.mercury.tradefinance.v10.AccountSweepFulfillmentOuterClass.AccountSweepFulfillment>(
this, METHODID_EXECUTE_ACCOUNT_SWEEP_FULFILLMENT, compression)))
.addMethod(
com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BQAccountSweepFulfillmentServiceGrpc.getInitiateAccountSweepFulfillmentMethod(),
asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.InitiateAccountSweepFulfillmentRequest,
com.redhat.mercury.tradefinance.v10.AccountSweepFulfillmentOuterClass.AccountSweepFulfillment>(
this, METHODID_INITIATE_ACCOUNT_SWEEP_FULFILLMENT, compression)))
.addMethod(
com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BQAccountSweepFulfillmentServiceGrpc.getNotifyAccountSweepFulfillmentMethod(),
asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.NotifyAccountSweepFulfillmentRequest,
com.redhat.mercury.tradefinance.v10.AccountSweepFulfillmentOuterClass.AccountSweepFulfillment>(
this, METHODID_NOTIFY_ACCOUNT_SWEEP_FULFILLMENT, compression)))
.addMethod(
com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BQAccountSweepFulfillmentServiceGrpc.getRequestAccountSweepFulfillmentMethod(),
asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.RequestAccountSweepFulfillmentRequest,
com.redhat.mercury.tradefinance.v10.AccountSweepFulfillmentOuterClass.AccountSweepFulfillment>(
this, METHODID_REQUEST_ACCOUNT_SWEEP_FULFILLMENT, compression)))
.addMethod(
com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BQAccountSweepFulfillmentServiceGrpc.getRetrieveAccountSweepFulfillmentMethod(),
asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.RetrieveAccountSweepFulfillmentRequest,
com.redhat.mercury.tradefinance.v10.AccountSweepFulfillmentOuterClass.AccountSweepFulfillment>(
this, METHODID_RETRIEVE_ACCOUNT_SWEEP_FULFILLMENT, compression)))
.addMethod(
com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BQAccountSweepFulfillmentServiceGrpc.getUpdateAccountSweepFulfillmentMethod(),
asyncUnaryCall(
new MethodHandlers<
com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.UpdateAccountSweepFulfillmentRequest,
com.redhat.mercury.tradefinance.v10.AccountSweepFulfillmentOuterClass.AccountSweepFulfillment>(
this, METHODID_UPDATE_ACCOUNT_SWEEP_FULFILLMENT, compression)))
.build();
}
}
private static final int METHODID_EXCHANGE_ACCOUNT_SWEEP_FULFILLMENT = 0;
private static final int METHODID_EXECUTE_ACCOUNT_SWEEP_FULFILLMENT = 1;
private static final int METHODID_INITIATE_ACCOUNT_SWEEP_FULFILLMENT = 2;
private static final int METHODID_NOTIFY_ACCOUNT_SWEEP_FULFILLMENT = 3;
private static final int METHODID_REQUEST_ACCOUNT_SWEEP_FULFILLMENT = 4;
private static final int METHODID_RETRIEVE_ACCOUNT_SWEEP_FULFILLMENT = 5;
private static final int METHODID_UPDATE_ACCOUNT_SWEEP_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 BQAccountSweepFulfillmentServiceImplBase serviceImpl;
private final int methodId;
private final String compression;
MethodHandlers(BQAccountSweepFulfillmentServiceImplBase 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_ACCOUNT_SWEEP_FULFILLMENT:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.ExchangeAccountSweepFulfillmentRequest) request,
(io.grpc.stub.StreamObserver) responseObserver,
compression,
serviceImpl::exchangeAccountSweepFulfillment);
break;
case METHODID_EXECUTE_ACCOUNT_SWEEP_FULFILLMENT:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.ExecuteAccountSweepFulfillmentRequest) request,
(io.grpc.stub.StreamObserver) responseObserver,
compression,
serviceImpl::executeAccountSweepFulfillment);
break;
case METHODID_INITIATE_ACCOUNT_SWEEP_FULFILLMENT:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.InitiateAccountSweepFulfillmentRequest) request,
(io.grpc.stub.StreamObserver) responseObserver,
compression,
serviceImpl::initiateAccountSweepFulfillment);
break;
case METHODID_NOTIFY_ACCOUNT_SWEEP_FULFILLMENT:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.NotifyAccountSweepFulfillmentRequest) request,
(io.grpc.stub.StreamObserver) responseObserver,
compression,
serviceImpl::notifyAccountSweepFulfillment);
break;
case METHODID_REQUEST_ACCOUNT_SWEEP_FULFILLMENT:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.RequestAccountSweepFulfillmentRequest) request,
(io.grpc.stub.StreamObserver) responseObserver,
compression,
serviceImpl::requestAccountSweepFulfillment);
break;
case METHODID_RETRIEVE_ACCOUNT_SWEEP_FULFILLMENT:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.RetrieveAccountSweepFulfillmentRequest) request,
(io.grpc.stub.StreamObserver) responseObserver,
compression,
serviceImpl::retrieveAccountSweepFulfillment);
break;
case METHODID_UPDATE_ACCOUNT_SWEEP_FULFILLMENT:
io.quarkus.grpc.runtime.ServerCalls.oneToOne((com.redhat.mercury.tradefinance.v10.api.bqaccountsweepfulfillmentservice.BqAccountSweepFulfillmentService.UpdateAccountSweepFulfillmentRequest) request,
(io.grpc.stub.StreamObserver) responseObserver,
compression,
serviceImpl::updateAccountSweepFulfillment);
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