// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: drug.proto

package com.ywt.gapi.drug;

/**
 * <pre>
 *医疗耗材服务      // 对应 drug_rpc 项目的 MedicalConsumableServiceProvider 类
 * </pre>
 *
 * Protobuf service {@code com.ywt.gapi.drug.MedicalConsumableService}
 */
public  abstract class MedicalConsumableService
    implements com.google.protobuf.Service {
  protected MedicalConsumableService() {}

  public interface Interface {
    /**
     * <pre>
     *创建耗材订单
     * </pre>
     *
     * <code>rpc createMedConOrder(.com.ywt.gapi.drug.CreateMedConOrderRequest) returns (.com.ywt.gapi.drug.CreateMedConOrderResponse);</code>
     */
    public abstract void createMedConOrder(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.CreateMedConOrderRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.CreateMedConOrderResponse> done);

    /**
     * <pre>
     *获取耗材列表
     * </pre>
     *
     * <code>rpc getMedConList(.com.ywt.gapi.drug.GetMedConListRequest) returns (.com.ywt.gapi.drug.GetMedConListResponse);</code>
     */
    public abstract void getMedConList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetMedConListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetMedConListResponse> done);

    /**
     * <pre>
     *获取耗材订单详情
     * </pre>
     *
     * <code>rpc getMedConOrderInfo(.com.ywt.gapi.drug.GetMedConOrderInfoRequest) returns (.com.ywt.gapi.drug.GetMedConOrderInfoResponse);</code>
     */
    public abstract void getMedConOrderInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetMedConOrderInfoRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetMedConOrderInfoResponse> done);

    /**
     * <pre>
     *获取耗材订单列表
     * </pre>
     *
     * <code>rpc getMedConOrderlist(.com.ywt.gapi.drug.GetMedConOrderlistRequest) returns (.com.ywt.gapi.drug.GetMedConOrderlistResponse);</code>
     */
    public abstract void getMedConOrderlist(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetMedConOrderlistRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetMedConOrderlistResponse> done);

    /**
     * <pre>
     *更新耗材订单信息
     * </pre>
     *
     * <code>rpc updateMedConOrder(.com.ywt.gapi.drug.UpdateMedConOrderRequest) returns (.com.ywt.gapi.drug.UpdateMedConOrderResponse);</code>
     */
    public abstract void updateMedConOrder(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.UpdateMedConOrderRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.UpdateMedConOrderResponse> done);

    /**
     * <pre>
     *订单支付成功后回调
     * </pre>
     *
     * <code>rpc orderPaymentCallbackNotify(.com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest) returns (.com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse);</code>
     */
    public abstract void orderPaymentCallbackNotify(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse> done);

    /**
     * <pre>
     *退款结果通知
     * </pre>
     *
     * <code>rpc refundNotify(.com.ywt.gapi.drug.RefundNotifyRequest) returns (.com.ywt.gapi.drug.RefundNotifyResponse);</code>
     */
    public abstract void refundNotify(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.RefundNotifyRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.RefundNotifyResponse> done);

    /**
     * <pre>
     *获取账单
     * </pre>
     *
     * <code>rpc getOrderBill(.com.ywt.gapi.drug.GetOrderBillRequest) returns (.com.ywt.gapi.drug.GetOrderBillResponse);</code>
     */
    public abstract void getOrderBill(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetOrderBillRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetOrderBillResponse> done);

    /**
     * <pre>
     *按天查找耗材订单
     * </pre>
     *
     * <code>rpc queryMedConOrderList(.com.ywt.gapi.drug.QueryMedConOrderListRequest) returns (.com.ywt.gapi.drug.QueryMedConOrderListResponse);</code>
     */
    public abstract void queryMedConOrderList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.QueryMedConOrderListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.QueryMedConOrderListResponse> done);

    /**
     * <pre>
     * 获取发票信息
     * </pre>
     *
     * <code>rpc getInvoiceInfo(.com.ywt.gapi.drug.GetInvoiceInfoRequest) returns (.com.ywt.gapi.drug.GetInvoiceInfoResponse);</code>
     */
    public abstract void getInvoiceInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetInvoiceInfoRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetInvoiceInfoResponse> done);

    /**
     * <pre>
     * 提交发票信息
     * </pre>
     *
     * <code>rpc submitInvoiceInfo(.com.ywt.gapi.drug.SubmitInvoiceInfoRequest) returns (.com.ywt.gapi.Result);</code>
     */
    public abstract void submitInvoiceInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SubmitInvoiceInfoRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.Result> done);

    /**
     * <pre>
     * 获取耗材医生列表
     * </pre>
     *
     * <code>rpc getMedConsumableDoctors(.com.ywt.gapi.drug.GetMedConsumableDoctorRequest) returns (.com.ywt.gapi.drug.GetMedConsumableDoctorResponse);</code>
     */
    public abstract void getMedConsumableDoctors(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetMedConsumableDoctorRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetMedConsumableDoctorResponse> done);

    /**
     * <pre>
     * 获取展示耗材订单
     * </pre>
     *
     * <code>rpc getDisplayMedConOrder(.com.ywt.gapi.drug.GetDisplayMedConOrderRequest) returns (.com.ywt.gapi.drug.GetDisplayMedConOrderResponse);</code>
     */
    public abstract void getDisplayMedConOrder(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDisplayMedConOrderRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDisplayMedConOrderResponse> done);

    /**
     * <pre>
     * 根据oderNos和日期获取耗材订单
     * </pre>
     *
     * <code>rpc queryMedConOrderBillList(.com.ywt.gapi.drug.QueryMedConOrderBillListRequest) returns (.com.ywt.gapi.drug.QueryMedConOrderBillListResponse);</code>
     */
    public abstract void queryMedConOrderBillList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.QueryMedConOrderBillListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.QueryMedConOrderBillListResponse> done);

  }

  public static com.google.protobuf.Service newReflectiveService(
      final Interface impl) {
    return new MedicalConsumableService() {
      @java.lang.Override
      public  void createMedConOrder(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.CreateMedConOrderRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.CreateMedConOrderResponse> done) {
        impl.createMedConOrder(controller, request, done);
      }

      @java.lang.Override
      public  void getMedConList(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetMedConListRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetMedConListResponse> done) {
        impl.getMedConList(controller, request, done);
      }

      @java.lang.Override
      public  void getMedConOrderInfo(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetMedConOrderInfoRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetMedConOrderInfoResponse> done) {
        impl.getMedConOrderInfo(controller, request, done);
      }

      @java.lang.Override
      public  void getMedConOrderlist(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetMedConOrderlistRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetMedConOrderlistResponse> done) {
        impl.getMedConOrderlist(controller, request, done);
      }

      @java.lang.Override
      public  void updateMedConOrder(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.UpdateMedConOrderRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.UpdateMedConOrderResponse> done) {
        impl.updateMedConOrder(controller, request, done);
      }

      @java.lang.Override
      public  void orderPaymentCallbackNotify(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse> done) {
        impl.orderPaymentCallbackNotify(controller, request, done);
      }

      @java.lang.Override
      public  void refundNotify(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.RefundNotifyRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.RefundNotifyResponse> done) {
        impl.refundNotify(controller, request, done);
      }

      @java.lang.Override
      public  void getOrderBill(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetOrderBillRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetOrderBillResponse> done) {
        impl.getOrderBill(controller, request, done);
      }

      @java.lang.Override
      public  void queryMedConOrderList(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.QueryMedConOrderListRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.QueryMedConOrderListResponse> done) {
        impl.queryMedConOrderList(controller, request, done);
      }

      @java.lang.Override
      public  void getInvoiceInfo(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetInvoiceInfoRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetInvoiceInfoResponse> done) {
        impl.getInvoiceInfo(controller, request, done);
      }

      @java.lang.Override
      public  void submitInvoiceInfo(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.SubmitInvoiceInfoRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.Result> done) {
        impl.submitInvoiceInfo(controller, request, done);
      }

      @java.lang.Override
      public  void getMedConsumableDoctors(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetMedConsumableDoctorRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetMedConsumableDoctorResponse> done) {
        impl.getMedConsumableDoctors(controller, request, done);
      }

      @java.lang.Override
      public  void getDisplayMedConOrder(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.GetDisplayMedConOrderRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDisplayMedConOrderResponse> done) {
        impl.getDisplayMedConOrder(controller, request, done);
      }

      @java.lang.Override
      public  void queryMedConOrderBillList(
          com.google.protobuf.RpcController controller,
          com.ywt.gapi.drug.QueryMedConOrderBillListRequest request,
          com.google.protobuf.RpcCallback<com.ywt.gapi.drug.QueryMedConOrderBillListResponse> done) {
        impl.queryMedConOrderBillList(controller, request, done);
      }

    };
  }

  public static com.google.protobuf.BlockingService
      newReflectiveBlockingService(final BlockingInterface impl) {
    return new com.google.protobuf.BlockingService() {
      public final com.google.protobuf.Descriptors.ServiceDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }

      public final com.google.protobuf.Message callBlockingMethod(
          com.google.protobuf.Descriptors.MethodDescriptor method,
          com.google.protobuf.RpcController controller,
          com.google.protobuf.Message request)
          throws com.google.protobuf.ServiceException {
        if (method.getService() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "Service.callBlockingMethod() given method descriptor for " +
            "wrong service type.");
        }
        switch(method.getIndex()) {
          case 0:
            return impl.createMedConOrder(controller, (com.ywt.gapi.drug.CreateMedConOrderRequest)request);
          case 1:
            return impl.getMedConList(controller, (com.ywt.gapi.drug.GetMedConListRequest)request);
          case 2:
            return impl.getMedConOrderInfo(controller, (com.ywt.gapi.drug.GetMedConOrderInfoRequest)request);
          case 3:
            return impl.getMedConOrderlist(controller, (com.ywt.gapi.drug.GetMedConOrderlistRequest)request);
          case 4:
            return impl.updateMedConOrder(controller, (com.ywt.gapi.drug.UpdateMedConOrderRequest)request);
          case 5:
            return impl.orderPaymentCallbackNotify(controller, (com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest)request);
          case 6:
            return impl.refundNotify(controller, (com.ywt.gapi.drug.RefundNotifyRequest)request);
          case 7:
            return impl.getOrderBill(controller, (com.ywt.gapi.drug.GetOrderBillRequest)request);
          case 8:
            return impl.queryMedConOrderList(controller, (com.ywt.gapi.drug.QueryMedConOrderListRequest)request);
          case 9:
            return impl.getInvoiceInfo(controller, (com.ywt.gapi.drug.GetInvoiceInfoRequest)request);
          case 10:
            return impl.submitInvoiceInfo(controller, (com.ywt.gapi.drug.SubmitInvoiceInfoRequest)request);
          case 11:
            return impl.getMedConsumableDoctors(controller, (com.ywt.gapi.drug.GetMedConsumableDoctorRequest)request);
          case 12:
            return impl.getDisplayMedConOrder(controller, (com.ywt.gapi.drug.GetDisplayMedConOrderRequest)request);
          case 13:
            return impl.queryMedConOrderBillList(controller, (com.ywt.gapi.drug.QueryMedConOrderBillListRequest)request);
          default:
            throw new java.lang.AssertionError("Can't get here.");
        }
      }

      public final com.google.protobuf.Message
          getRequestPrototype(
          com.google.protobuf.Descriptors.MethodDescriptor method) {
        if (method.getService() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "Service.getRequestPrototype() given method " +
            "descriptor for wrong service type.");
        }
        switch(method.getIndex()) {
          case 0:
            return com.ywt.gapi.drug.CreateMedConOrderRequest.getDefaultInstance();
          case 1:
            return com.ywt.gapi.drug.GetMedConListRequest.getDefaultInstance();
          case 2:
            return com.ywt.gapi.drug.GetMedConOrderInfoRequest.getDefaultInstance();
          case 3:
            return com.ywt.gapi.drug.GetMedConOrderlistRequest.getDefaultInstance();
          case 4:
            return com.ywt.gapi.drug.UpdateMedConOrderRequest.getDefaultInstance();
          case 5:
            return com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest.getDefaultInstance();
          case 6:
            return com.ywt.gapi.drug.RefundNotifyRequest.getDefaultInstance();
          case 7:
            return com.ywt.gapi.drug.GetOrderBillRequest.getDefaultInstance();
          case 8:
            return com.ywt.gapi.drug.QueryMedConOrderListRequest.getDefaultInstance();
          case 9:
            return com.ywt.gapi.drug.GetInvoiceInfoRequest.getDefaultInstance();
          case 10:
            return com.ywt.gapi.drug.SubmitInvoiceInfoRequest.getDefaultInstance();
          case 11:
            return com.ywt.gapi.drug.GetMedConsumableDoctorRequest.getDefaultInstance();
          case 12:
            return com.ywt.gapi.drug.GetDisplayMedConOrderRequest.getDefaultInstance();
          case 13:
            return com.ywt.gapi.drug.QueryMedConOrderBillListRequest.getDefaultInstance();
          default:
            throw new java.lang.AssertionError("Can't get here.");
        }
      }

      public final com.google.protobuf.Message
          getResponsePrototype(
          com.google.protobuf.Descriptors.MethodDescriptor method) {
        if (method.getService() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "Service.getResponsePrototype() given method " +
            "descriptor for wrong service type.");
        }
        switch(method.getIndex()) {
          case 0:
            return com.ywt.gapi.drug.CreateMedConOrderResponse.getDefaultInstance();
          case 1:
            return com.ywt.gapi.drug.GetMedConListResponse.getDefaultInstance();
          case 2:
            return com.ywt.gapi.drug.GetMedConOrderInfoResponse.getDefaultInstance();
          case 3:
            return com.ywt.gapi.drug.GetMedConOrderlistResponse.getDefaultInstance();
          case 4:
            return com.ywt.gapi.drug.UpdateMedConOrderResponse.getDefaultInstance();
          case 5:
            return com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse.getDefaultInstance();
          case 6:
            return com.ywt.gapi.drug.RefundNotifyResponse.getDefaultInstance();
          case 7:
            return com.ywt.gapi.drug.GetOrderBillResponse.getDefaultInstance();
          case 8:
            return com.ywt.gapi.drug.QueryMedConOrderListResponse.getDefaultInstance();
          case 9:
            return com.ywt.gapi.drug.GetInvoiceInfoResponse.getDefaultInstance();
          case 10:
            return com.ywt.gapi.Result.getDefaultInstance();
          case 11:
            return com.ywt.gapi.drug.GetMedConsumableDoctorResponse.getDefaultInstance();
          case 12:
            return com.ywt.gapi.drug.GetDisplayMedConOrderResponse.getDefaultInstance();
          case 13:
            return com.ywt.gapi.drug.QueryMedConOrderBillListResponse.getDefaultInstance();
          default:
            throw new java.lang.AssertionError("Can't get here.");
        }
      }

    };
  }

  /**
   * <pre>
   *创建耗材订单
   * </pre>
   *
   * <code>rpc createMedConOrder(.com.ywt.gapi.drug.CreateMedConOrderRequest) returns (.com.ywt.gapi.drug.CreateMedConOrderResponse);</code>
   */
  public abstract void createMedConOrder(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.CreateMedConOrderRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.CreateMedConOrderResponse> done);

  /**
   * <pre>
   *获取耗材列表
   * </pre>
   *
   * <code>rpc getMedConList(.com.ywt.gapi.drug.GetMedConListRequest) returns (.com.ywt.gapi.drug.GetMedConListResponse);</code>
   */
  public abstract void getMedConList(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetMedConListRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetMedConListResponse> done);

  /**
   * <pre>
   *获取耗材订单详情
   * </pre>
   *
   * <code>rpc getMedConOrderInfo(.com.ywt.gapi.drug.GetMedConOrderInfoRequest) returns (.com.ywt.gapi.drug.GetMedConOrderInfoResponse);</code>
   */
  public abstract void getMedConOrderInfo(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetMedConOrderInfoRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetMedConOrderInfoResponse> done);

  /**
   * <pre>
   *获取耗材订单列表
   * </pre>
   *
   * <code>rpc getMedConOrderlist(.com.ywt.gapi.drug.GetMedConOrderlistRequest) returns (.com.ywt.gapi.drug.GetMedConOrderlistResponse);</code>
   */
  public abstract void getMedConOrderlist(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetMedConOrderlistRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetMedConOrderlistResponse> done);

  /**
   * <pre>
   *更新耗材订单信息
   * </pre>
   *
   * <code>rpc updateMedConOrder(.com.ywt.gapi.drug.UpdateMedConOrderRequest) returns (.com.ywt.gapi.drug.UpdateMedConOrderResponse);</code>
   */
  public abstract void updateMedConOrder(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.UpdateMedConOrderRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.UpdateMedConOrderResponse> done);

  /**
   * <pre>
   *订单支付成功后回调
   * </pre>
   *
   * <code>rpc orderPaymentCallbackNotify(.com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest) returns (.com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse);</code>
   */
  public abstract void orderPaymentCallbackNotify(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse> done);

  /**
   * <pre>
   *退款结果通知
   * </pre>
   *
   * <code>rpc refundNotify(.com.ywt.gapi.drug.RefundNotifyRequest) returns (.com.ywt.gapi.drug.RefundNotifyResponse);</code>
   */
  public abstract void refundNotify(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.RefundNotifyRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.RefundNotifyResponse> done);

  /**
   * <pre>
   *获取账单
   * </pre>
   *
   * <code>rpc getOrderBill(.com.ywt.gapi.drug.GetOrderBillRequest) returns (.com.ywt.gapi.drug.GetOrderBillResponse);</code>
   */
  public abstract void getOrderBill(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetOrderBillRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetOrderBillResponse> done);

  /**
   * <pre>
   *按天查找耗材订单
   * </pre>
   *
   * <code>rpc queryMedConOrderList(.com.ywt.gapi.drug.QueryMedConOrderListRequest) returns (.com.ywt.gapi.drug.QueryMedConOrderListResponse);</code>
   */
  public abstract void queryMedConOrderList(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.QueryMedConOrderListRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.QueryMedConOrderListResponse> done);

  /**
   * <pre>
   * 获取发票信息
   * </pre>
   *
   * <code>rpc getInvoiceInfo(.com.ywt.gapi.drug.GetInvoiceInfoRequest) returns (.com.ywt.gapi.drug.GetInvoiceInfoResponse);</code>
   */
  public abstract void getInvoiceInfo(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetInvoiceInfoRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetInvoiceInfoResponse> done);

  /**
   * <pre>
   * 提交发票信息
   * </pre>
   *
   * <code>rpc submitInvoiceInfo(.com.ywt.gapi.drug.SubmitInvoiceInfoRequest) returns (.com.ywt.gapi.Result);</code>
   */
  public abstract void submitInvoiceInfo(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.SubmitInvoiceInfoRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.Result> done);

  /**
   * <pre>
   * 获取耗材医生列表
   * </pre>
   *
   * <code>rpc getMedConsumableDoctors(.com.ywt.gapi.drug.GetMedConsumableDoctorRequest) returns (.com.ywt.gapi.drug.GetMedConsumableDoctorResponse);</code>
   */
  public abstract void getMedConsumableDoctors(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetMedConsumableDoctorRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetMedConsumableDoctorResponse> done);

  /**
   * <pre>
   * 获取展示耗材订单
   * </pre>
   *
   * <code>rpc getDisplayMedConOrder(.com.ywt.gapi.drug.GetDisplayMedConOrderRequest) returns (.com.ywt.gapi.drug.GetDisplayMedConOrderResponse);</code>
   */
  public abstract void getDisplayMedConOrder(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.GetDisplayMedConOrderRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDisplayMedConOrderResponse> done);

  /**
   * <pre>
   * 根据oderNos和日期获取耗材订单
   * </pre>
   *
   * <code>rpc queryMedConOrderBillList(.com.ywt.gapi.drug.QueryMedConOrderBillListRequest) returns (.com.ywt.gapi.drug.QueryMedConOrderBillListResponse);</code>
   */
  public abstract void queryMedConOrderBillList(
      com.google.protobuf.RpcController controller,
      com.ywt.gapi.drug.QueryMedConOrderBillListRequest request,
      com.google.protobuf.RpcCallback<com.ywt.gapi.drug.QueryMedConOrderBillListResponse> done);

  public static final
      com.google.protobuf.Descriptors.ServiceDescriptor
      getDescriptor() {
    return com.ywt.gapi.drug.DrugOuterClass.getDescriptor().getServices().get(1);
  }
  public final com.google.protobuf.Descriptors.ServiceDescriptor
      getDescriptorForType() {
    return getDescriptor();
  }

  public final void callMethod(
      com.google.protobuf.Descriptors.MethodDescriptor method,
      com.google.protobuf.RpcController controller,
      com.google.protobuf.Message request,
      com.google.protobuf.RpcCallback<
        com.google.protobuf.Message> done) {
    if (method.getService() != getDescriptor()) {
      throw new java.lang.IllegalArgumentException(
        "Service.callMethod() given method descriptor for wrong " +
        "service type.");
    }
    switch(method.getIndex()) {
      case 0:
        this.createMedConOrder(controller, (com.ywt.gapi.drug.CreateMedConOrderRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.CreateMedConOrderResponse>specializeCallback(
            done));
        return;
      case 1:
        this.getMedConList(controller, (com.ywt.gapi.drug.GetMedConListRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetMedConListResponse>specializeCallback(
            done));
        return;
      case 2:
        this.getMedConOrderInfo(controller, (com.ywt.gapi.drug.GetMedConOrderInfoRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetMedConOrderInfoResponse>specializeCallback(
            done));
        return;
      case 3:
        this.getMedConOrderlist(controller, (com.ywt.gapi.drug.GetMedConOrderlistRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetMedConOrderlistResponse>specializeCallback(
            done));
        return;
      case 4:
        this.updateMedConOrder(controller, (com.ywt.gapi.drug.UpdateMedConOrderRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.UpdateMedConOrderResponse>specializeCallback(
            done));
        return;
      case 5:
        this.orderPaymentCallbackNotify(controller, (com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse>specializeCallback(
            done));
        return;
      case 6:
        this.refundNotify(controller, (com.ywt.gapi.drug.RefundNotifyRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.RefundNotifyResponse>specializeCallback(
            done));
        return;
      case 7:
        this.getOrderBill(controller, (com.ywt.gapi.drug.GetOrderBillRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetOrderBillResponse>specializeCallback(
            done));
        return;
      case 8:
        this.queryMedConOrderList(controller, (com.ywt.gapi.drug.QueryMedConOrderListRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.QueryMedConOrderListResponse>specializeCallback(
            done));
        return;
      case 9:
        this.getInvoiceInfo(controller, (com.ywt.gapi.drug.GetInvoiceInfoRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetInvoiceInfoResponse>specializeCallback(
            done));
        return;
      case 10:
        this.submitInvoiceInfo(controller, (com.ywt.gapi.drug.SubmitInvoiceInfoRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.Result>specializeCallback(
            done));
        return;
      case 11:
        this.getMedConsumableDoctors(controller, (com.ywt.gapi.drug.GetMedConsumableDoctorRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetMedConsumableDoctorResponse>specializeCallback(
            done));
        return;
      case 12:
        this.getDisplayMedConOrder(controller, (com.ywt.gapi.drug.GetDisplayMedConOrderRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.GetDisplayMedConOrderResponse>specializeCallback(
            done));
        return;
      case 13:
        this.queryMedConOrderBillList(controller, (com.ywt.gapi.drug.QueryMedConOrderBillListRequest)request,
          com.google.protobuf.RpcUtil.<com.ywt.gapi.drug.QueryMedConOrderBillListResponse>specializeCallback(
            done));
        return;
      default:
        throw new java.lang.AssertionError("Can't get here.");
    }
  }

  public final com.google.protobuf.Message
      getRequestPrototype(
      com.google.protobuf.Descriptors.MethodDescriptor method) {
    if (method.getService() != getDescriptor()) {
      throw new java.lang.IllegalArgumentException(
        "Service.getRequestPrototype() given method " +
        "descriptor for wrong service type.");
    }
    switch(method.getIndex()) {
      case 0:
        return com.ywt.gapi.drug.CreateMedConOrderRequest.getDefaultInstance();
      case 1:
        return com.ywt.gapi.drug.GetMedConListRequest.getDefaultInstance();
      case 2:
        return com.ywt.gapi.drug.GetMedConOrderInfoRequest.getDefaultInstance();
      case 3:
        return com.ywt.gapi.drug.GetMedConOrderlistRequest.getDefaultInstance();
      case 4:
        return com.ywt.gapi.drug.UpdateMedConOrderRequest.getDefaultInstance();
      case 5:
        return com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest.getDefaultInstance();
      case 6:
        return com.ywt.gapi.drug.RefundNotifyRequest.getDefaultInstance();
      case 7:
        return com.ywt.gapi.drug.GetOrderBillRequest.getDefaultInstance();
      case 8:
        return com.ywt.gapi.drug.QueryMedConOrderListRequest.getDefaultInstance();
      case 9:
        return com.ywt.gapi.drug.GetInvoiceInfoRequest.getDefaultInstance();
      case 10:
        return com.ywt.gapi.drug.SubmitInvoiceInfoRequest.getDefaultInstance();
      case 11:
        return com.ywt.gapi.drug.GetMedConsumableDoctorRequest.getDefaultInstance();
      case 12:
        return com.ywt.gapi.drug.GetDisplayMedConOrderRequest.getDefaultInstance();
      case 13:
        return com.ywt.gapi.drug.QueryMedConOrderBillListRequest.getDefaultInstance();
      default:
        throw new java.lang.AssertionError("Can't get here.");
    }
  }

  public final com.google.protobuf.Message
      getResponsePrototype(
      com.google.protobuf.Descriptors.MethodDescriptor method) {
    if (method.getService() != getDescriptor()) {
      throw new java.lang.IllegalArgumentException(
        "Service.getResponsePrototype() given method " +
        "descriptor for wrong service type.");
    }
    switch(method.getIndex()) {
      case 0:
        return com.ywt.gapi.drug.CreateMedConOrderResponse.getDefaultInstance();
      case 1:
        return com.ywt.gapi.drug.GetMedConListResponse.getDefaultInstance();
      case 2:
        return com.ywt.gapi.drug.GetMedConOrderInfoResponse.getDefaultInstance();
      case 3:
        return com.ywt.gapi.drug.GetMedConOrderlistResponse.getDefaultInstance();
      case 4:
        return com.ywt.gapi.drug.UpdateMedConOrderResponse.getDefaultInstance();
      case 5:
        return com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse.getDefaultInstance();
      case 6:
        return com.ywt.gapi.drug.RefundNotifyResponse.getDefaultInstance();
      case 7:
        return com.ywt.gapi.drug.GetOrderBillResponse.getDefaultInstance();
      case 8:
        return com.ywt.gapi.drug.QueryMedConOrderListResponse.getDefaultInstance();
      case 9:
        return com.ywt.gapi.drug.GetInvoiceInfoResponse.getDefaultInstance();
      case 10:
        return com.ywt.gapi.Result.getDefaultInstance();
      case 11:
        return com.ywt.gapi.drug.GetMedConsumableDoctorResponse.getDefaultInstance();
      case 12:
        return com.ywt.gapi.drug.GetDisplayMedConOrderResponse.getDefaultInstance();
      case 13:
        return com.ywt.gapi.drug.QueryMedConOrderBillListResponse.getDefaultInstance();
      default:
        throw new java.lang.AssertionError("Can't get here.");
    }
  }

  public static Stub newStub(
      com.google.protobuf.RpcChannel channel) {
    return new Stub(channel);
  }

  public static final class Stub extends com.ywt.gapi.drug.MedicalConsumableService implements Interface {
    private Stub(com.google.protobuf.RpcChannel channel) {
      this.channel = channel;
    }

    private final com.google.protobuf.RpcChannel channel;

    public com.google.protobuf.RpcChannel getChannel() {
      return channel;
    }

    public  void createMedConOrder(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.CreateMedConOrderRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.CreateMedConOrderResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(0),
        controller,
        request,
        com.ywt.gapi.drug.CreateMedConOrderResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.CreateMedConOrderResponse.class,
          com.ywt.gapi.drug.CreateMedConOrderResponse.getDefaultInstance()));
    }

    public  void getMedConList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetMedConListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetMedConListResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(1),
        controller,
        request,
        com.ywt.gapi.drug.GetMedConListResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetMedConListResponse.class,
          com.ywt.gapi.drug.GetMedConListResponse.getDefaultInstance()));
    }

    public  void getMedConOrderInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetMedConOrderInfoRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetMedConOrderInfoResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(2),
        controller,
        request,
        com.ywt.gapi.drug.GetMedConOrderInfoResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetMedConOrderInfoResponse.class,
          com.ywt.gapi.drug.GetMedConOrderInfoResponse.getDefaultInstance()));
    }

    public  void getMedConOrderlist(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetMedConOrderlistRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetMedConOrderlistResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(3),
        controller,
        request,
        com.ywt.gapi.drug.GetMedConOrderlistResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetMedConOrderlistResponse.class,
          com.ywt.gapi.drug.GetMedConOrderlistResponse.getDefaultInstance()));
    }

    public  void updateMedConOrder(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.UpdateMedConOrderRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.UpdateMedConOrderResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(4),
        controller,
        request,
        com.ywt.gapi.drug.UpdateMedConOrderResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.UpdateMedConOrderResponse.class,
          com.ywt.gapi.drug.UpdateMedConOrderResponse.getDefaultInstance()));
    }

    public  void orderPaymentCallbackNotify(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(5),
        controller,
        request,
        com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse.class,
          com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse.getDefaultInstance()));
    }

    public  void refundNotify(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.RefundNotifyRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.RefundNotifyResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(6),
        controller,
        request,
        com.ywt.gapi.drug.RefundNotifyResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.RefundNotifyResponse.class,
          com.ywt.gapi.drug.RefundNotifyResponse.getDefaultInstance()));
    }

    public  void getOrderBill(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetOrderBillRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetOrderBillResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(7),
        controller,
        request,
        com.ywt.gapi.drug.GetOrderBillResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetOrderBillResponse.class,
          com.ywt.gapi.drug.GetOrderBillResponse.getDefaultInstance()));
    }

    public  void queryMedConOrderList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.QueryMedConOrderListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.QueryMedConOrderListResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(8),
        controller,
        request,
        com.ywt.gapi.drug.QueryMedConOrderListResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.QueryMedConOrderListResponse.class,
          com.ywt.gapi.drug.QueryMedConOrderListResponse.getDefaultInstance()));
    }

    public  void getInvoiceInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetInvoiceInfoRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetInvoiceInfoResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(9),
        controller,
        request,
        com.ywt.gapi.drug.GetInvoiceInfoResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetInvoiceInfoResponse.class,
          com.ywt.gapi.drug.GetInvoiceInfoResponse.getDefaultInstance()));
    }

    public  void submitInvoiceInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SubmitInvoiceInfoRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.Result> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(10),
        controller,
        request,
        com.ywt.gapi.Result.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.Result.class,
          com.ywt.gapi.Result.getDefaultInstance()));
    }

    public  void getMedConsumableDoctors(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetMedConsumableDoctorRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetMedConsumableDoctorResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(11),
        controller,
        request,
        com.ywt.gapi.drug.GetMedConsumableDoctorResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetMedConsumableDoctorResponse.class,
          com.ywt.gapi.drug.GetMedConsumableDoctorResponse.getDefaultInstance()));
    }

    public  void getDisplayMedConOrder(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDisplayMedConOrderRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.GetDisplayMedConOrderResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(12),
        controller,
        request,
        com.ywt.gapi.drug.GetDisplayMedConOrderResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.GetDisplayMedConOrderResponse.class,
          com.ywt.gapi.drug.GetDisplayMedConOrderResponse.getDefaultInstance()));
    }

    public  void queryMedConOrderBillList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.QueryMedConOrderBillListRequest request,
        com.google.protobuf.RpcCallback<com.ywt.gapi.drug.QueryMedConOrderBillListResponse> done) {
      channel.callMethod(
        getDescriptor().getMethods().get(13),
        controller,
        request,
        com.ywt.gapi.drug.QueryMedConOrderBillListResponse.getDefaultInstance(),
        com.google.protobuf.RpcUtil.generalizeCallback(
          done,
          com.ywt.gapi.drug.QueryMedConOrderBillListResponse.class,
          com.ywt.gapi.drug.QueryMedConOrderBillListResponse.getDefaultInstance()));
    }
  }

  public static BlockingInterface newBlockingStub(
      com.google.protobuf.BlockingRpcChannel channel) {
    return new BlockingStub(channel);
  }

  public interface BlockingInterface {
    public com.ywt.gapi.drug.CreateMedConOrderResponse createMedConOrder(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.CreateMedConOrderRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetMedConListResponse getMedConList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetMedConListRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetMedConOrderInfoResponse getMedConOrderInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetMedConOrderInfoRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetMedConOrderlistResponse getMedConOrderlist(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetMedConOrderlistRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.UpdateMedConOrderResponse updateMedConOrder(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.UpdateMedConOrderRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse orderPaymentCallbackNotify(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.RefundNotifyResponse refundNotify(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.RefundNotifyRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetOrderBillResponse getOrderBill(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetOrderBillRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.QueryMedConOrderListResponse queryMedConOrderList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.QueryMedConOrderListRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetInvoiceInfoResponse getInvoiceInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetInvoiceInfoRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.Result submitInvoiceInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SubmitInvoiceInfoRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetMedConsumableDoctorResponse getMedConsumableDoctors(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetMedConsumableDoctorRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.GetDisplayMedConOrderResponse getDisplayMedConOrder(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDisplayMedConOrderRequest request)
        throws com.google.protobuf.ServiceException;

    public com.ywt.gapi.drug.QueryMedConOrderBillListResponse queryMedConOrderBillList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.QueryMedConOrderBillListRequest request)
        throws com.google.protobuf.ServiceException;
  }

  private static final class BlockingStub implements BlockingInterface {
    private BlockingStub(com.google.protobuf.BlockingRpcChannel channel) {
      this.channel = channel;
    }

    private final com.google.protobuf.BlockingRpcChannel channel;

    public com.ywt.gapi.drug.CreateMedConOrderResponse createMedConOrder(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.CreateMedConOrderRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.CreateMedConOrderResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(0),
        controller,
        request,
        com.ywt.gapi.drug.CreateMedConOrderResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetMedConListResponse getMedConList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetMedConListRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetMedConListResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(1),
        controller,
        request,
        com.ywt.gapi.drug.GetMedConListResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetMedConOrderInfoResponse getMedConOrderInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetMedConOrderInfoRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetMedConOrderInfoResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(2),
        controller,
        request,
        com.ywt.gapi.drug.GetMedConOrderInfoResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetMedConOrderlistResponse getMedConOrderlist(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetMedConOrderlistRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetMedConOrderlistResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(3),
        controller,
        request,
        com.ywt.gapi.drug.GetMedConOrderlistResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.UpdateMedConOrderResponse updateMedConOrder(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.UpdateMedConOrderRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.UpdateMedConOrderResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(4),
        controller,
        request,
        com.ywt.gapi.drug.UpdateMedConOrderResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse orderPaymentCallbackNotify(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.OrderPaymentCallbackNotifyRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(5),
        controller,
        request,
        com.ywt.gapi.drug.OrderPaymentCallbackNotifyResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.RefundNotifyResponse refundNotify(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.RefundNotifyRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.RefundNotifyResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(6),
        controller,
        request,
        com.ywt.gapi.drug.RefundNotifyResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetOrderBillResponse getOrderBill(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetOrderBillRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetOrderBillResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(7),
        controller,
        request,
        com.ywt.gapi.drug.GetOrderBillResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.QueryMedConOrderListResponse queryMedConOrderList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.QueryMedConOrderListRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.QueryMedConOrderListResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(8),
        controller,
        request,
        com.ywt.gapi.drug.QueryMedConOrderListResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetInvoiceInfoResponse getInvoiceInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetInvoiceInfoRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetInvoiceInfoResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(9),
        controller,
        request,
        com.ywt.gapi.drug.GetInvoiceInfoResponse.getDefaultInstance());
    }


    public com.ywt.gapi.Result submitInvoiceInfo(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.SubmitInvoiceInfoRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.Result) channel.callBlockingMethod(
        getDescriptor().getMethods().get(10),
        controller,
        request,
        com.ywt.gapi.Result.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetMedConsumableDoctorResponse getMedConsumableDoctors(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetMedConsumableDoctorRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetMedConsumableDoctorResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(11),
        controller,
        request,
        com.ywt.gapi.drug.GetMedConsumableDoctorResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.GetDisplayMedConOrderResponse getDisplayMedConOrder(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.GetDisplayMedConOrderRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.GetDisplayMedConOrderResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(12),
        controller,
        request,
        com.ywt.gapi.drug.GetDisplayMedConOrderResponse.getDefaultInstance());
    }


    public com.ywt.gapi.drug.QueryMedConOrderBillListResponse queryMedConOrderBillList(
        com.google.protobuf.RpcController controller,
        com.ywt.gapi.drug.QueryMedConOrderBillListRequest request)
        throws com.google.protobuf.ServiceException {
      return (com.ywt.gapi.drug.QueryMedConOrderBillListResponse) channel.callBlockingMethod(
        getDescriptor().getMethods().get(13),
        controller,
        request,
        com.ywt.gapi.drug.QueryMedConOrderBillListResponse.getDefaultInstance());
    }

  }

  // @@protoc_insertion_point(class_scope:com.ywt.gapi.drug.MedicalConsumableService)
}

