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

com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CRMerchandisingLoanFacilityServiceGrpc Maven / Gradle / Ivy

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

import static io.grpc.MethodDescriptor.generateFullMethodName;

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

  private CRMerchandisingLoanFacilityServiceGrpc() {}

  public static final String SERVICE_NAME = "com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CRMerchandisingLoanFacilityService";

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

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "Control",
      requestType = com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ControlRequest.class,
      responseType = com.redhat.mercury.merchandisingloan.v10.ControlMerchandisingLoanFacilityResponseOuterClass.ControlMerchandisingLoanFacilityResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getControlMethod() {
    io.grpc.MethodDescriptor getControlMethod;
    if ((getControlMethod = CRMerchandisingLoanFacilityServiceGrpc.getControlMethod) == null) {
      synchronized (CRMerchandisingLoanFacilityServiceGrpc.class) {
        if ((getControlMethod = CRMerchandisingLoanFacilityServiceGrpc.getControlMethod) == null) {
          CRMerchandisingLoanFacilityServiceGrpc.getControlMethod = getControlMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Control"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ControlRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.merchandisingloan.v10.ControlMerchandisingLoanFacilityResponseOuterClass.ControlMerchandisingLoanFacilityResponse.getDefaultInstance()))
              .setSchemaDescriptor(new CRMerchandisingLoanFacilityServiceMethodDescriptorSupplier("Control"))
              .build();
        }
      }
    }
    return getControlMethod;
  }

  private static volatile io.grpc.MethodDescriptor getExchangeMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "Exchange",
      requestType = com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ExchangeRequest.class,
      responseType = com.redhat.mercury.merchandisingloan.v10.ExchangeMerchandisingLoanFacilityResponseOuterClass.ExchangeMerchandisingLoanFacilityResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getExchangeMethod() {
    io.grpc.MethodDescriptor getExchangeMethod;
    if ((getExchangeMethod = CRMerchandisingLoanFacilityServiceGrpc.getExchangeMethod) == null) {
      synchronized (CRMerchandisingLoanFacilityServiceGrpc.class) {
        if ((getExchangeMethod = CRMerchandisingLoanFacilityServiceGrpc.getExchangeMethod) == null) {
          CRMerchandisingLoanFacilityServiceGrpc.getExchangeMethod = getExchangeMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Exchange"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ExchangeRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.merchandisingloan.v10.ExchangeMerchandisingLoanFacilityResponseOuterClass.ExchangeMerchandisingLoanFacilityResponse.getDefaultInstance()))
              .setSchemaDescriptor(new CRMerchandisingLoanFacilityServiceMethodDescriptorSupplier("Exchange"))
              .build();
        }
      }
    }
    return getExchangeMethod;
  }

  private static volatile io.grpc.MethodDescriptor getExecuteMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "Execute",
      requestType = com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ExecuteRequest.class,
      responseType = com.redhat.mercury.merchandisingloan.v10.ExecuteMerchandisingLoanFacilityResponseOuterClass.ExecuteMerchandisingLoanFacilityResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getExecuteMethod() {
    io.grpc.MethodDescriptor getExecuteMethod;
    if ((getExecuteMethod = CRMerchandisingLoanFacilityServiceGrpc.getExecuteMethod) == null) {
      synchronized (CRMerchandisingLoanFacilityServiceGrpc.class) {
        if ((getExecuteMethod = CRMerchandisingLoanFacilityServiceGrpc.getExecuteMethod) == null) {
          CRMerchandisingLoanFacilityServiceGrpc.getExecuteMethod = getExecuteMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Execute"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ExecuteRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.merchandisingloan.v10.ExecuteMerchandisingLoanFacilityResponseOuterClass.ExecuteMerchandisingLoanFacilityResponse.getDefaultInstance()))
              .setSchemaDescriptor(new CRMerchandisingLoanFacilityServiceMethodDescriptorSupplier("Execute"))
              .build();
        }
      }
    }
    return getExecuteMethod;
  }

  private static volatile io.grpc.MethodDescriptor getInitiateMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "Initiate",
      requestType = com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.InitiateRequest.class,
      responseType = com.redhat.mercury.merchandisingloan.v10.InitiateMerchandisingLoanFacilityResponseOuterClass.InitiateMerchandisingLoanFacilityResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getInitiateMethod() {
    io.grpc.MethodDescriptor getInitiateMethod;
    if ((getInitiateMethod = CRMerchandisingLoanFacilityServiceGrpc.getInitiateMethod) == null) {
      synchronized (CRMerchandisingLoanFacilityServiceGrpc.class) {
        if ((getInitiateMethod = CRMerchandisingLoanFacilityServiceGrpc.getInitiateMethod) == null) {
          CRMerchandisingLoanFacilityServiceGrpc.getInitiateMethod = getInitiateMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Initiate"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.InitiateRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.merchandisingloan.v10.InitiateMerchandisingLoanFacilityResponseOuterClass.InitiateMerchandisingLoanFacilityResponse.getDefaultInstance()))
              .setSchemaDescriptor(new CRMerchandisingLoanFacilityServiceMethodDescriptorSupplier("Initiate"))
              .build();
        }
      }
    }
    return getInitiateMethod;
  }

  private static volatile io.grpc.MethodDescriptor getRequestMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "Request",
      requestType = com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.RequestRequest.class,
      responseType = com.redhat.mercury.merchandisingloan.v10.RequestMerchandisingLoanFacilityResponseOuterClass.RequestMerchandisingLoanFacilityResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getRequestMethod() {
    io.grpc.MethodDescriptor getRequestMethod;
    if ((getRequestMethod = CRMerchandisingLoanFacilityServiceGrpc.getRequestMethod) == null) {
      synchronized (CRMerchandisingLoanFacilityServiceGrpc.class) {
        if ((getRequestMethod = CRMerchandisingLoanFacilityServiceGrpc.getRequestMethod) == null) {
          CRMerchandisingLoanFacilityServiceGrpc.getRequestMethod = getRequestMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Request"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.RequestRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.merchandisingloan.v10.RequestMerchandisingLoanFacilityResponseOuterClass.RequestMerchandisingLoanFacilityResponse.getDefaultInstance()))
              .setSchemaDescriptor(new CRMerchandisingLoanFacilityServiceMethodDescriptorSupplier("Request"))
              .build();
        }
      }
    }
    return getRequestMethod;
  }

  private static volatile io.grpc.MethodDescriptor getRetrieveMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "Retrieve",
      requestType = com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.RetrieveRequest.class,
      responseType = com.redhat.mercury.merchandisingloan.v10.RetrieveMerchandisingLoanFacilityResponseOuterClass.RetrieveMerchandisingLoanFacilityResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getRetrieveMethod() {
    io.grpc.MethodDescriptor getRetrieveMethod;
    if ((getRetrieveMethod = CRMerchandisingLoanFacilityServiceGrpc.getRetrieveMethod) == null) {
      synchronized (CRMerchandisingLoanFacilityServiceGrpc.class) {
        if ((getRetrieveMethod = CRMerchandisingLoanFacilityServiceGrpc.getRetrieveMethod) == null) {
          CRMerchandisingLoanFacilityServiceGrpc.getRetrieveMethod = getRetrieveMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Retrieve"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.RetrieveRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.merchandisingloan.v10.RetrieveMerchandisingLoanFacilityResponseOuterClass.RetrieveMerchandisingLoanFacilityResponse.getDefaultInstance()))
              .setSchemaDescriptor(new CRMerchandisingLoanFacilityServiceMethodDescriptorSupplier("Retrieve"))
              .build();
        }
      }
    }
    return getRetrieveMethod;
  }

  private static volatile io.grpc.MethodDescriptor getUpdateMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "Update",
      requestType = com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.UpdateRequest.class,
      responseType = com.redhat.mercury.merchandisingloan.v10.UpdateMerchandisingLoanFacilityResponseOuterClass.UpdateMerchandisingLoanFacilityResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getUpdateMethod() {
    io.grpc.MethodDescriptor getUpdateMethod;
    if ((getUpdateMethod = CRMerchandisingLoanFacilityServiceGrpc.getUpdateMethod) == null) {
      synchronized (CRMerchandisingLoanFacilityServiceGrpc.class) {
        if ((getUpdateMethod = CRMerchandisingLoanFacilityServiceGrpc.getUpdateMethod) == null) {
          CRMerchandisingLoanFacilityServiceGrpc.getUpdateMethod = getUpdateMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Update"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.UpdateRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.merchandisingloan.v10.UpdateMerchandisingLoanFacilityResponseOuterClass.UpdateMerchandisingLoanFacilityResponse.getDefaultInstance()))
              .setSchemaDescriptor(new CRMerchandisingLoanFacilityServiceMethodDescriptorSupplier("Update"))
              .build();
        }
      }
    }
    return getUpdateMethod;
  }

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

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

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

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

    /**
     */
    public void control(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ControlRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getControlMethod(), responseObserver);
    }

    /**
     */
    public void exchange(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ExchangeRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExchangeMethod(), responseObserver);
    }

    /**
     */
    public void execute(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ExecuteRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteMethod(), responseObserver);
    }

    /**
     */
    public void initiate(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.InitiateRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInitiateMethod(), responseObserver);
    }

    /**
     */
    public void request(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.RequestRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRequestMethod(), responseObserver);
    }

    /**
     */
    public void retrieve(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.RetrieveRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveMethod(), responseObserver);
    }

    /**
     */
    public void update(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.UpdateRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateMethod(), responseObserver);
    }

    @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
      return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
          .addMethod(
            getControlMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ControlRequest,
                com.redhat.mercury.merchandisingloan.v10.ControlMerchandisingLoanFacilityResponseOuterClass.ControlMerchandisingLoanFacilityResponse>(
                  this, METHODID_CONTROL)))
          .addMethod(
            getExchangeMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ExchangeRequest,
                com.redhat.mercury.merchandisingloan.v10.ExchangeMerchandisingLoanFacilityResponseOuterClass.ExchangeMerchandisingLoanFacilityResponse>(
                  this, METHODID_EXCHANGE)))
          .addMethod(
            getExecuteMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ExecuteRequest,
                com.redhat.mercury.merchandisingloan.v10.ExecuteMerchandisingLoanFacilityResponseOuterClass.ExecuteMerchandisingLoanFacilityResponse>(
                  this, METHODID_EXECUTE)))
          .addMethod(
            getInitiateMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.InitiateRequest,
                com.redhat.mercury.merchandisingloan.v10.InitiateMerchandisingLoanFacilityResponseOuterClass.InitiateMerchandisingLoanFacilityResponse>(
                  this, METHODID_INITIATE)))
          .addMethod(
            getRequestMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.RequestRequest,
                com.redhat.mercury.merchandisingloan.v10.RequestMerchandisingLoanFacilityResponseOuterClass.RequestMerchandisingLoanFacilityResponse>(
                  this, METHODID_REQUEST)))
          .addMethod(
            getRetrieveMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.RetrieveRequest,
                com.redhat.mercury.merchandisingloan.v10.RetrieveMerchandisingLoanFacilityResponseOuterClass.RetrieveMerchandisingLoanFacilityResponse>(
                  this, METHODID_RETRIEVE)))
          .addMethod(
            getUpdateMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.UpdateRequest,
                com.redhat.mercury.merchandisingloan.v10.UpdateMerchandisingLoanFacilityResponseOuterClass.UpdateMerchandisingLoanFacilityResponse>(
                  this, METHODID_UPDATE)))
          .build();
    }
  }

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

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

    /**
     */
    public void control(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ControlRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getControlMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void exchange(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ExchangeRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getExchangeMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void execute(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ExecuteRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getExecuteMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void initiate(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.InitiateRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getInitiateMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void request(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.RequestRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getRequestMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void retrieve(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.RetrieveRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getRetrieveMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void update(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.UpdateRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getUpdateMethod(), getCallOptions()), request, responseObserver);
    }
  }

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

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

    /**
     */
    public com.redhat.mercury.merchandisingloan.v10.ControlMerchandisingLoanFacilityResponseOuterClass.ControlMerchandisingLoanFacilityResponse control(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ControlRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getControlMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.redhat.mercury.merchandisingloan.v10.ExchangeMerchandisingLoanFacilityResponseOuterClass.ExchangeMerchandisingLoanFacilityResponse exchange(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ExchangeRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getExchangeMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.redhat.mercury.merchandisingloan.v10.ExecuteMerchandisingLoanFacilityResponseOuterClass.ExecuteMerchandisingLoanFacilityResponse execute(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ExecuteRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getExecuteMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.redhat.mercury.merchandisingloan.v10.InitiateMerchandisingLoanFacilityResponseOuterClass.InitiateMerchandisingLoanFacilityResponse initiate(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.InitiateRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getInitiateMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.redhat.mercury.merchandisingloan.v10.RequestMerchandisingLoanFacilityResponseOuterClass.RequestMerchandisingLoanFacilityResponse request(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.RequestRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getRequestMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.redhat.mercury.merchandisingloan.v10.RetrieveMerchandisingLoanFacilityResponseOuterClass.RetrieveMerchandisingLoanFacilityResponse retrieve(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.RetrieveRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getRetrieveMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.redhat.mercury.merchandisingloan.v10.UpdateMerchandisingLoanFacilityResponseOuterClass.UpdateMerchandisingLoanFacilityResponse update(com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.UpdateRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getUpdateMethod(), getCallOptions(), request);
    }
  }

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

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

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture control(
        com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ControlRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getControlMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture exchange(
        com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ExchangeRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getExchangeMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture execute(
        com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ExecuteRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getExecuteMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture initiate(
        com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.InitiateRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getInitiateMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture request(
        com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.RequestRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getRequestMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture retrieve(
        com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.RetrieveRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getRetrieveMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture update(
        com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.UpdateRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getUpdateMethod(), getCallOptions()), request);
    }
  }

  private static final int METHODID_CONTROL = 0;
  private static final int METHODID_EXCHANGE = 1;
  private static final int METHODID_EXECUTE = 2;
  private static final int METHODID_INITIATE = 3;
  private static final int METHODID_REQUEST = 4;
  private static final int METHODID_RETRIEVE = 5;
  private static final int METHODID_UPDATE = 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 CRMerchandisingLoanFacilityServiceImplBase serviceImpl;
    private final int methodId;

    MethodHandlers(CRMerchandisingLoanFacilityServiceImplBase 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_CONTROL:
          serviceImpl.control((com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ControlRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_EXCHANGE:
          serviceImpl.exchange((com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ExchangeRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_EXECUTE:
          serviceImpl.execute((com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.ExecuteRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_INITIATE:
          serviceImpl.initiate((com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.InitiateRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_REQUEST:
          serviceImpl.request((com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.RequestRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_RETRIEVE:
          serviceImpl.retrieve((com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.RetrieveRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_UPDATE:
          serviceImpl.update((com.redhat.mercury.merchandisingloan.v10.api.crmerchandisingloanfacilityservice.CrMerchandisingLoanFacilityService.UpdateRequest) 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 CRMerchandisingLoanFacilityServiceBaseDescriptorSupplier
      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
    CRMerchandisingLoanFacilityServiceBaseDescriptorSupplier() {}

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

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

  private static final class CRMerchandisingLoanFacilityServiceFileDescriptorSupplier
      extends CRMerchandisingLoanFacilityServiceBaseDescriptorSupplier {
    CRMerchandisingLoanFacilityServiceFileDescriptorSupplier() {}
  }

  private static final class CRMerchandisingLoanFacilityServiceMethodDescriptorSupplier
      extends CRMerchandisingLoanFacilityServiceBaseDescriptorSupplier
      implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
    private final String methodName;

    CRMerchandisingLoanFacilityServiceMethodDescriptorSupplier(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 (CRMerchandisingLoanFacilityServiceGrpc.class) {
        result = serviceDescriptor;
        if (result == null) {
          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
              .setSchemaDescriptor(new CRMerchandisingLoanFacilityServiceFileDescriptorSupplier())
              .addMethod(getControlMethod())
              .addMethod(getExchangeMethod())
              .addMethod(getExecuteMethod())
              .addMethod(getInitiateMethod())
              .addMethod(getRequestMethod())
              .addMethod(getRetrieveMethod())
              .addMethod(getUpdateMethod())
              .build();
        }
      }
    }
    return result;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy