All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BQFeesServiceGrpc Maven / Gradle / Ivy

The newest version!
package com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice;

import static io.grpc.MethodDescriptor.generateFullMethodName;

/**
 */
@javax.annotation.Generated(
    value = "by gRPC proto compiler (version 1.42.1)",
    comments = "Source: v10/api/bq_fees_service.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class BQFeesServiceGrpc {

  private BQFeesServiceGrpc() {}

  public static final String SERVICE_NAME = "com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BQFeesService";

  // Static method descriptors that strictly reflect the proto.
  private static volatile io.grpc.MethodDescriptor getExchangeFeesMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ExchangeFees",
      requestType = com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.ExchangeFeesRequest.class,
      responseType = com.redhat.mercury.merchandisingloan.v10.FeesOuterClass.Fees.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getExchangeFeesMethod() {
    io.grpc.MethodDescriptor getExchangeFeesMethod;
    if ((getExchangeFeesMethod = BQFeesServiceGrpc.getExchangeFeesMethod) == null) {
      synchronized (BQFeesServiceGrpc.class) {
        if ((getExchangeFeesMethod = BQFeesServiceGrpc.getExchangeFeesMethod) == null) {
          BQFeesServiceGrpc.getExchangeFeesMethod = getExchangeFeesMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExchangeFees"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.ExchangeFeesRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.merchandisingloan.v10.FeesOuterClass.Fees.getDefaultInstance()))
              .setSchemaDescriptor(new BQFeesServiceMethodDescriptorSupplier("ExchangeFees"))
              .build();
        }
      }
    }
    return getExchangeFeesMethod;
  }

  private static volatile io.grpc.MethodDescriptor getInitiateFeesMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "InitiateFees",
      requestType = com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.InitiateFeesRequest.class,
      responseType = com.redhat.mercury.merchandisingloan.v10.FeesOuterClass.Fees.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getInitiateFeesMethod() {
    io.grpc.MethodDescriptor getInitiateFeesMethod;
    if ((getInitiateFeesMethod = BQFeesServiceGrpc.getInitiateFeesMethod) == null) {
      synchronized (BQFeesServiceGrpc.class) {
        if ((getInitiateFeesMethod = BQFeesServiceGrpc.getInitiateFeesMethod) == null) {
          BQFeesServiceGrpc.getInitiateFeesMethod = getInitiateFeesMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InitiateFees"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.InitiateFeesRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.merchandisingloan.v10.FeesOuterClass.Fees.getDefaultInstance()))
              .setSchemaDescriptor(new BQFeesServiceMethodDescriptorSupplier("InitiateFees"))
              .build();
        }
      }
    }
    return getInitiateFeesMethod;
  }

  private static volatile io.grpc.MethodDescriptor getRequestFeesMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "RequestFees",
      requestType = com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.RequestFeesRequest.class,
      responseType = com.redhat.mercury.merchandisingloan.v10.FeesOuterClass.Fees.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getRequestFeesMethod() {
    io.grpc.MethodDescriptor getRequestFeesMethod;
    if ((getRequestFeesMethod = BQFeesServiceGrpc.getRequestFeesMethod) == null) {
      synchronized (BQFeesServiceGrpc.class) {
        if ((getRequestFeesMethod = BQFeesServiceGrpc.getRequestFeesMethod) == null) {
          BQFeesServiceGrpc.getRequestFeesMethod = getRequestFeesMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RequestFees"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.RequestFeesRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.merchandisingloan.v10.FeesOuterClass.Fees.getDefaultInstance()))
              .setSchemaDescriptor(new BQFeesServiceMethodDescriptorSupplier("RequestFees"))
              .build();
        }
      }
    }
    return getRequestFeesMethod;
  }

  private static volatile io.grpc.MethodDescriptor getRetrieveFeesMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "RetrieveFees",
      requestType = com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.RetrieveFeesRequest.class,
      responseType = com.redhat.mercury.merchandisingloan.v10.FeesOuterClass.Fees.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getRetrieveFeesMethod() {
    io.grpc.MethodDescriptor getRetrieveFeesMethod;
    if ((getRetrieveFeesMethod = BQFeesServiceGrpc.getRetrieveFeesMethod) == null) {
      synchronized (BQFeesServiceGrpc.class) {
        if ((getRetrieveFeesMethod = BQFeesServiceGrpc.getRetrieveFeesMethod) == null) {
          BQFeesServiceGrpc.getRetrieveFeesMethod = getRetrieveFeesMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveFees"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.RetrieveFeesRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.merchandisingloan.v10.FeesOuterClass.Fees.getDefaultInstance()))
              .setSchemaDescriptor(new BQFeesServiceMethodDescriptorSupplier("RetrieveFees"))
              .build();
        }
      }
    }
    return getRetrieveFeesMethod;
  }

  private static volatile io.grpc.MethodDescriptor getUpdateFeesMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "UpdateFees",
      requestType = com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.UpdateFeesRequest.class,
      responseType = com.redhat.mercury.merchandisingloan.v10.FeesOuterClass.Fees.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getUpdateFeesMethod() {
    io.grpc.MethodDescriptor getUpdateFeesMethod;
    if ((getUpdateFeesMethod = BQFeesServiceGrpc.getUpdateFeesMethod) == null) {
      synchronized (BQFeesServiceGrpc.class) {
        if ((getUpdateFeesMethod = BQFeesServiceGrpc.getUpdateFeesMethod) == null) {
          BQFeesServiceGrpc.getUpdateFeesMethod = getUpdateFeesMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateFees"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.UpdateFeesRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.merchandisingloan.v10.FeesOuterClass.Fees.getDefaultInstance()))
              .setSchemaDescriptor(new BQFeesServiceMethodDescriptorSupplier("UpdateFees"))
              .build();
        }
      }
    }
    return getUpdateFeesMethod;
  }

  /**
   * Creates a new async stub that supports all call types for the service
   */
  public static BQFeesServiceStub newStub(io.grpc.Channel channel) {
    io.grpc.stub.AbstractStub.StubFactory factory =
      new io.grpc.stub.AbstractStub.StubFactory() {
        @java.lang.Override
        public BQFeesServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
          return new BQFeesServiceStub(channel, callOptions);
        }
      };
    return BQFeesServiceStub.newStub(factory, channel);
  }

  /**
   * Creates a new blocking-style stub that supports unary and streaming output calls on the service
   */
  public static BQFeesServiceBlockingStub newBlockingStub(
      io.grpc.Channel channel) {
    io.grpc.stub.AbstractStub.StubFactory factory =
      new io.grpc.stub.AbstractStub.StubFactory() {
        @java.lang.Override
        public BQFeesServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
          return new BQFeesServiceBlockingStub(channel, callOptions);
        }
      };
    return BQFeesServiceBlockingStub.newStub(factory, channel);
  }

  /**
   * Creates a new ListenableFuture-style stub that supports unary calls on the service
   */
  public static BQFeesServiceFutureStub newFutureStub(
      io.grpc.Channel channel) {
    io.grpc.stub.AbstractStub.StubFactory factory =
      new io.grpc.stub.AbstractStub.StubFactory() {
        @java.lang.Override
        public BQFeesServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
          return new BQFeesServiceFutureStub(channel, callOptions);
        }
      };
    return BQFeesServiceFutureStub.newStub(factory, channel);
  }

  /**
   */
  public static abstract class BQFeesServiceImplBase implements io.grpc.BindableService {

    /**
     */
    public void exchangeFees(com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.ExchangeFeesRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExchangeFeesMethod(), responseObserver);
    }

    /**
     */
    public void initiateFees(com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.InitiateFeesRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInitiateFeesMethod(), responseObserver);
    }

    /**
     */
    public void requestFees(com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.RequestFeesRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRequestFeesMethod(), responseObserver);
    }

    /**
     */
    public void retrieveFees(com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.RetrieveFeesRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveFeesMethod(), responseObserver);
    }

    /**
     */
    public void updateFees(com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.UpdateFeesRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateFeesMethod(), responseObserver);
    }

    @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
      return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
          .addMethod(
            getExchangeFeesMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.ExchangeFeesRequest,
                com.redhat.mercury.merchandisingloan.v10.FeesOuterClass.Fees>(
                  this, METHODID_EXCHANGE_FEES)))
          .addMethod(
            getInitiateFeesMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.InitiateFeesRequest,
                com.redhat.mercury.merchandisingloan.v10.FeesOuterClass.Fees>(
                  this, METHODID_INITIATE_FEES)))
          .addMethod(
            getRequestFeesMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.RequestFeesRequest,
                com.redhat.mercury.merchandisingloan.v10.FeesOuterClass.Fees>(
                  this, METHODID_REQUEST_FEES)))
          .addMethod(
            getRetrieveFeesMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.RetrieveFeesRequest,
                com.redhat.mercury.merchandisingloan.v10.FeesOuterClass.Fees>(
                  this, METHODID_RETRIEVE_FEES)))
          .addMethod(
            getUpdateFeesMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.UpdateFeesRequest,
                com.redhat.mercury.merchandisingloan.v10.FeesOuterClass.Fees>(
                  this, METHODID_UPDATE_FEES)))
          .build();
    }
  }

  /**
   */
  public static final class BQFeesServiceStub extends io.grpc.stub.AbstractAsyncStub {
    private BQFeesServiceStub(
        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
      super(channel, callOptions);
    }

    @java.lang.Override
    protected BQFeesServiceStub build(
        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
      return new BQFeesServiceStub(channel, callOptions);
    }

    /**
     */
    public void exchangeFees(com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.ExchangeFeesRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getExchangeFeesMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void initiateFees(com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.InitiateFeesRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getInitiateFeesMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void requestFees(com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.RequestFeesRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getRequestFeesMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void retrieveFees(com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.RetrieveFeesRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getRetrieveFeesMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void updateFees(com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.UpdateFeesRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getUpdateFeesMethod(), getCallOptions()), request, responseObserver);
    }
  }

  /**
   */
  public static final class BQFeesServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub {
    private BQFeesServiceBlockingStub(
        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
      super(channel, callOptions);
    }

    @java.lang.Override
    protected BQFeesServiceBlockingStub build(
        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
      return new BQFeesServiceBlockingStub(channel, callOptions);
    }

    /**
     */
    public com.redhat.mercury.merchandisingloan.v10.FeesOuterClass.Fees exchangeFees(com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.ExchangeFeesRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getExchangeFeesMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.redhat.mercury.merchandisingloan.v10.FeesOuterClass.Fees initiateFees(com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.InitiateFeesRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getInitiateFeesMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.redhat.mercury.merchandisingloan.v10.FeesOuterClass.Fees requestFees(com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.RequestFeesRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getRequestFeesMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.redhat.mercury.merchandisingloan.v10.FeesOuterClass.Fees retrieveFees(com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.RetrieveFeesRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getRetrieveFeesMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.redhat.mercury.merchandisingloan.v10.FeesOuterClass.Fees updateFees(com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.UpdateFeesRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getUpdateFeesMethod(), getCallOptions(), request);
    }
  }

  /**
   */
  public static final class BQFeesServiceFutureStub extends io.grpc.stub.AbstractFutureStub {
    private BQFeesServiceFutureStub(
        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
      super(channel, callOptions);
    }

    @java.lang.Override
    protected BQFeesServiceFutureStub build(
        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
      return new BQFeesServiceFutureStub(channel, callOptions);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture exchangeFees(
        com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.ExchangeFeesRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getExchangeFeesMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture initiateFees(
        com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.InitiateFeesRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getInitiateFeesMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture requestFees(
        com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.RequestFeesRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getRequestFeesMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture retrieveFees(
        com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.RetrieveFeesRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getRetrieveFeesMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture updateFees(
        com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.UpdateFeesRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getUpdateFeesMethod(), getCallOptions()), request);
    }
  }

  private static final int METHODID_EXCHANGE_FEES = 0;
  private static final int METHODID_INITIATE_FEES = 1;
  private static final int METHODID_REQUEST_FEES = 2;
  private static final int METHODID_RETRIEVE_FEES = 3;
  private static final int METHODID_UPDATE_FEES = 4;

  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 BQFeesServiceImplBase serviceImpl;
    private final int methodId;

    MethodHandlers(BQFeesServiceImplBase serviceImpl, int methodId) {
      this.serviceImpl = serviceImpl;
      this.methodId = methodId;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("unchecked")
    public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
      switch (methodId) {
        case METHODID_EXCHANGE_FEES:
          serviceImpl.exchangeFees((com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.ExchangeFeesRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_INITIATE_FEES:
          serviceImpl.initiateFees((com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.InitiateFeesRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_REQUEST_FEES:
          serviceImpl.requestFees((com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.RequestFeesRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_RETRIEVE_FEES:
          serviceImpl.retrieveFees((com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.RetrieveFeesRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_UPDATE_FEES:
          serviceImpl.updateFees((com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.UpdateFeesRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        default:
          throw new AssertionError();
      }
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("unchecked")
    public io.grpc.stub.StreamObserver invoke(
        io.grpc.stub.StreamObserver responseObserver) {
      switch (methodId) {
        default:
          throw new AssertionError();
      }
    }
  }

  private static abstract class BQFeesServiceBaseDescriptorSupplier
      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
    BQFeesServiceBaseDescriptorSupplier() {}

    @java.lang.Override
    public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
      return com.redhat.mercury.merchandisingloan.v10.api.bqfeesservice.BqFeesService.getDescriptor();
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
      return getFileDescriptor().findServiceByName("BQFeesService");
    }
  }

  private static final class BQFeesServiceFileDescriptorSupplier
      extends BQFeesServiceBaseDescriptorSupplier {
    BQFeesServiceFileDescriptorSupplier() {}
  }

  private static final class BQFeesServiceMethodDescriptorSupplier
      extends BQFeesServiceBaseDescriptorSupplier
      implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
    private final String methodName;

    BQFeesServiceMethodDescriptorSupplier(String methodName) {
      this.methodName = methodName;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() {
      return getServiceDescriptor().findMethodByName(methodName);
    }
  }

  private static volatile io.grpc.ServiceDescriptor serviceDescriptor;

  public static io.grpc.ServiceDescriptor getServiceDescriptor() {
    io.grpc.ServiceDescriptor result = serviceDescriptor;
    if (result == null) {
      synchronized (BQFeesServiceGrpc.class) {
        result = serviceDescriptor;
        if (result == null) {
          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
              .setSchemaDescriptor(new BQFeesServiceFileDescriptorSupplier())
              .addMethod(getExchangeFeesMethod())
              .addMethod(getInitiateFeesMethod())
              .addMethod(getRequestFeesMethod())
              .addMethod(getRetrieveFeesMethod())
              .addMethod(getUpdateFeesMethod())
              .build();
        }
      }
    }
    return result;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy