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

com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BQRepaymentServiceGrpc Maven / Gradle / Ivy

The newest version!
package com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice;

import static io.grpc.MethodDescriptor.generateFullMethodName;

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

  private BQRepaymentServiceGrpc() {}

  public static final String SERVICE_NAME = "com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BQRepaymentService";

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

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ExecuteRepayment",
      requestType = com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest.class,
      responseType = com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getExecuteRepaymentMethod() {
    io.grpc.MethodDescriptor getExecuteRepaymentMethod;
    if ((getExecuteRepaymentMethod = BQRepaymentServiceGrpc.getExecuteRepaymentMethod) == null) {
      synchronized (BQRepaymentServiceGrpc.class) {
        if ((getExecuteRepaymentMethod = BQRepaymentServiceGrpc.getExecuteRepaymentMethod) == null) {
          BQRepaymentServiceGrpc.getExecuteRepaymentMethod = getExecuteRepaymentMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteRepayment"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.getDefaultInstance()))
              .setSchemaDescriptor(new BQRepaymentServiceMethodDescriptorSupplier("ExecuteRepayment"))
              .build();
        }
      }
    }
    return getExecuteRepaymentMethod;
  }

  private static volatile io.grpc.MethodDescriptor getInitiateRepaymentMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "InitiateRepayment",
      requestType = com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest.class,
      responseType = com.redhat.mercury.openitemmanagement.v10.InitiateRepaymentResponseOuterClass.InitiateRepaymentResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getInitiateRepaymentMethod() {
    io.grpc.MethodDescriptor getInitiateRepaymentMethod;
    if ((getInitiateRepaymentMethod = BQRepaymentServiceGrpc.getInitiateRepaymentMethod) == null) {
      synchronized (BQRepaymentServiceGrpc.class) {
        if ((getInitiateRepaymentMethod = BQRepaymentServiceGrpc.getInitiateRepaymentMethod) == null) {
          BQRepaymentServiceGrpc.getInitiateRepaymentMethod = getInitiateRepaymentMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InitiateRepayment"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.openitemmanagement.v10.InitiateRepaymentResponseOuterClass.InitiateRepaymentResponse.getDefaultInstance()))
              .setSchemaDescriptor(new BQRepaymentServiceMethodDescriptorSupplier("InitiateRepayment"))
              .build();
        }
      }
    }
    return getInitiateRepaymentMethod;
  }

  private static volatile io.grpc.MethodDescriptor getRetrieveRepaymentMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "RetrieveRepayment",
      requestType = com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest.class,
      responseType = com.redhat.mercury.openitemmanagement.v10.RetrieveRepaymentResponseOuterClass.RetrieveRepaymentResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getRetrieveRepaymentMethod() {
    io.grpc.MethodDescriptor getRetrieveRepaymentMethod;
    if ((getRetrieveRepaymentMethod = BQRepaymentServiceGrpc.getRetrieveRepaymentMethod) == null) {
      synchronized (BQRepaymentServiceGrpc.class) {
        if ((getRetrieveRepaymentMethod = BQRepaymentServiceGrpc.getRetrieveRepaymentMethod) == null) {
          BQRepaymentServiceGrpc.getRetrieveRepaymentMethod = getRetrieveRepaymentMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveRepayment"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.openitemmanagement.v10.RetrieveRepaymentResponseOuterClass.RetrieveRepaymentResponse.getDefaultInstance()))
              .setSchemaDescriptor(new BQRepaymentServiceMethodDescriptorSupplier("RetrieveRepayment"))
              .build();
        }
      }
    }
    return getRetrieveRepaymentMethod;
  }

  private static volatile io.grpc.MethodDescriptor getUpdateRepaymentMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "UpdateRepayment",
      requestType = com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest.class,
      responseType = com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getUpdateRepaymentMethod() {
    io.grpc.MethodDescriptor getUpdateRepaymentMethod;
    if ((getUpdateRepaymentMethod = BQRepaymentServiceGrpc.getUpdateRepaymentMethod) == null) {
      synchronized (BQRepaymentServiceGrpc.class) {
        if ((getUpdateRepaymentMethod = BQRepaymentServiceGrpc.getUpdateRepaymentMethod) == null) {
          BQRepaymentServiceGrpc.getUpdateRepaymentMethod = getUpdateRepaymentMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepayment"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment.getDefaultInstance()))
              .setSchemaDescriptor(new BQRepaymentServiceMethodDescriptorSupplier("UpdateRepayment"))
              .build();
        }
      }
    }
    return getUpdateRepaymentMethod;
  }

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

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

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

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

    /**
     */
    public void executeRepayment(com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteRepaymentMethod(), responseObserver);
    }

    /**
     */
    public void initiateRepayment(com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInitiateRepaymentMethod(), responseObserver);
    }

    /**
     */
    public void retrieveRepayment(com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveRepaymentMethod(), responseObserver);
    }

    /**
     */
    public void updateRepayment(com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRepaymentMethod(), responseObserver);
    }

    @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
      return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
          .addMethod(
            getExecuteRepaymentMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest,
                com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment>(
                  this, METHODID_EXECUTE_REPAYMENT)))
          .addMethod(
            getInitiateRepaymentMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest,
                com.redhat.mercury.openitemmanagement.v10.InitiateRepaymentResponseOuterClass.InitiateRepaymentResponse>(
                  this, METHODID_INITIATE_REPAYMENT)))
          .addMethod(
            getRetrieveRepaymentMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest,
                com.redhat.mercury.openitemmanagement.v10.RetrieveRepaymentResponseOuterClass.RetrieveRepaymentResponse>(
                  this, METHODID_RETRIEVE_REPAYMENT)))
          .addMethod(
            getUpdateRepaymentMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest,
                com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment>(
                  this, METHODID_UPDATE_REPAYMENT)))
          .build();
    }
  }

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

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

    /**
     */
    public void executeRepayment(com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getExecuteRepaymentMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void initiateRepayment(com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getInitiateRepaymentMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void retrieveRepayment(com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getRetrieveRepaymentMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void updateRepayment(com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getUpdateRepaymentMethod(), getCallOptions()), request, responseObserver);
    }
  }

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

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

    /**
     */
    public com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment executeRepayment(com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getExecuteRepaymentMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.redhat.mercury.openitemmanagement.v10.InitiateRepaymentResponseOuterClass.InitiateRepaymentResponse initiateRepayment(com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getInitiateRepaymentMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.redhat.mercury.openitemmanagement.v10.RetrieveRepaymentResponseOuterClass.RetrieveRepaymentResponse retrieveRepayment(com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getRetrieveRepaymentMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.redhat.mercury.openitemmanagement.v10.RepaymentOuterClass.Repayment updateRepayment(com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getUpdateRepaymentMethod(), getCallOptions(), request);
    }
  }

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

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

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture executeRepayment(
        com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getExecuteRepaymentMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture initiateRepayment(
        com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getInitiateRepaymentMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture retrieveRepayment(
        com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getRetrieveRepaymentMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture updateRepayment(
        com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getUpdateRepaymentMethod(), getCallOptions()), request);
    }
  }

  private static final int METHODID_EXECUTE_REPAYMENT = 0;
  private static final int METHODID_INITIATE_REPAYMENT = 1;
  private static final int METHODID_RETRIEVE_REPAYMENT = 2;
  private static final int METHODID_UPDATE_REPAYMENT = 3;

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

    MethodHandlers(BQRepaymentServiceImplBase 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_EXECUTE_REPAYMENT:
          serviceImpl.executeRepayment((com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_INITIATE_REPAYMENT:
          serviceImpl.initiateRepayment((com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_RETRIEVE_REPAYMENT:
          serviceImpl.retrieveRepayment((com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_UPDATE_REPAYMENT:
          serviceImpl.updateRepayment((com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest) 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 BQRepaymentServiceBaseDescriptorSupplier
      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
    BQRepaymentServiceBaseDescriptorSupplier() {}

    @java.lang.Override
    public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
      return com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.getDescriptor();
    }

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

  private static final class BQRepaymentServiceFileDescriptorSupplier
      extends BQRepaymentServiceBaseDescriptorSupplier {
    BQRepaymentServiceFileDescriptorSupplier() {}
  }

  private static final class BQRepaymentServiceMethodDescriptorSupplier
      extends BQRepaymentServiceBaseDescriptorSupplier
      implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
    private final String methodName;

    BQRepaymentServiceMethodDescriptorSupplier(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 (BQRepaymentServiceGrpc.class) {
        result = serviceDescriptor;
        if (result == null) {
          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
              .setSchemaDescriptor(new BQRepaymentServiceFileDescriptorSupplier())
              .addMethod(getExecuteRepaymentMethod())
              .addMethod(getInitiateRepaymentMethod())
              .addMethod(getRetrieveRepaymentMethod())
              .addMethod(getUpdateRepaymentMethod())
              .build();
        }
      }
    }
    return result;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy