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

com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BQCollateralFulfillmentServiceGrpc Maven / Gradle / Ivy

package com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice;

import static io.grpc.MethodDescriptor.generateFullMethodName;

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

  private BQCollateralFulfillmentServiceGrpc() {}

  public static final String SERVICE_NAME = "com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BQCollateralFulfillmentService";

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

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ExchangeCollateralFulfillment",
      requestType = com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.ExchangeCollateralFulfillmentRequest.class,
      responseType = com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getExchangeCollateralFulfillmentMethod() {
    io.grpc.MethodDescriptor getExchangeCollateralFulfillmentMethod;
    if ((getExchangeCollateralFulfillmentMethod = BQCollateralFulfillmentServiceGrpc.getExchangeCollateralFulfillmentMethod) == null) {
      synchronized (BQCollateralFulfillmentServiceGrpc.class) {
        if ((getExchangeCollateralFulfillmentMethod = BQCollateralFulfillmentServiceGrpc.getExchangeCollateralFulfillmentMethod) == null) {
          BQCollateralFulfillmentServiceGrpc.getExchangeCollateralFulfillmentMethod = getExchangeCollateralFulfillmentMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExchangeCollateralFulfillment"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.ExchangeCollateralFulfillmentRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment.getDefaultInstance()))
              .setSchemaDescriptor(new BQCollateralFulfillmentServiceMethodDescriptorSupplier("ExchangeCollateralFulfillment"))
              .build();
        }
      }
    }
    return getExchangeCollateralFulfillmentMethod;
  }

  private static volatile io.grpc.MethodDescriptor getExecuteCollateralFulfillmentMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ExecuteCollateralFulfillment",
      requestType = com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.ExecuteCollateralFulfillmentRequest.class,
      responseType = com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getExecuteCollateralFulfillmentMethod() {
    io.grpc.MethodDescriptor getExecuteCollateralFulfillmentMethod;
    if ((getExecuteCollateralFulfillmentMethod = BQCollateralFulfillmentServiceGrpc.getExecuteCollateralFulfillmentMethod) == null) {
      synchronized (BQCollateralFulfillmentServiceGrpc.class) {
        if ((getExecuteCollateralFulfillmentMethod = BQCollateralFulfillmentServiceGrpc.getExecuteCollateralFulfillmentMethod) == null) {
          BQCollateralFulfillmentServiceGrpc.getExecuteCollateralFulfillmentMethod = getExecuteCollateralFulfillmentMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteCollateralFulfillment"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.ExecuteCollateralFulfillmentRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment.getDefaultInstance()))
              .setSchemaDescriptor(new BQCollateralFulfillmentServiceMethodDescriptorSupplier("ExecuteCollateralFulfillment"))
              .build();
        }
      }
    }
    return getExecuteCollateralFulfillmentMethod;
  }

  private static volatile io.grpc.MethodDescriptor getInitiateCollateralFulfillmentMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "InitiateCollateralFulfillment",
      requestType = com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.InitiateCollateralFulfillmentRequest.class,
      responseType = com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getInitiateCollateralFulfillmentMethod() {
    io.grpc.MethodDescriptor getInitiateCollateralFulfillmentMethod;
    if ((getInitiateCollateralFulfillmentMethod = BQCollateralFulfillmentServiceGrpc.getInitiateCollateralFulfillmentMethod) == null) {
      synchronized (BQCollateralFulfillmentServiceGrpc.class) {
        if ((getInitiateCollateralFulfillmentMethod = BQCollateralFulfillmentServiceGrpc.getInitiateCollateralFulfillmentMethod) == null) {
          BQCollateralFulfillmentServiceGrpc.getInitiateCollateralFulfillmentMethod = getInitiateCollateralFulfillmentMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InitiateCollateralFulfillment"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.InitiateCollateralFulfillmentRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment.getDefaultInstance()))
              .setSchemaDescriptor(new BQCollateralFulfillmentServiceMethodDescriptorSupplier("InitiateCollateralFulfillment"))
              .build();
        }
      }
    }
    return getInitiateCollateralFulfillmentMethod;
  }

  private static volatile io.grpc.MethodDescriptor getNotifyCollateralFulfillmentMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "NotifyCollateralFulfillment",
      requestType = com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.NotifyCollateralFulfillmentRequest.class,
      responseType = com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getNotifyCollateralFulfillmentMethod() {
    io.grpc.MethodDescriptor getNotifyCollateralFulfillmentMethod;
    if ((getNotifyCollateralFulfillmentMethod = BQCollateralFulfillmentServiceGrpc.getNotifyCollateralFulfillmentMethod) == null) {
      synchronized (BQCollateralFulfillmentServiceGrpc.class) {
        if ((getNotifyCollateralFulfillmentMethod = BQCollateralFulfillmentServiceGrpc.getNotifyCollateralFulfillmentMethod) == null) {
          BQCollateralFulfillmentServiceGrpc.getNotifyCollateralFulfillmentMethod = getNotifyCollateralFulfillmentMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "NotifyCollateralFulfillment"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.NotifyCollateralFulfillmentRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment.getDefaultInstance()))
              .setSchemaDescriptor(new BQCollateralFulfillmentServiceMethodDescriptorSupplier("NotifyCollateralFulfillment"))
              .build();
        }
      }
    }
    return getNotifyCollateralFulfillmentMethod;
  }

  private static volatile io.grpc.MethodDescriptor getRequestCollateralFulfillmentMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "RequestCollateralFulfillment",
      requestType = com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.RequestCollateralFulfillmentRequest.class,
      responseType = com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getRequestCollateralFulfillmentMethod() {
    io.grpc.MethodDescriptor getRequestCollateralFulfillmentMethod;
    if ((getRequestCollateralFulfillmentMethod = BQCollateralFulfillmentServiceGrpc.getRequestCollateralFulfillmentMethod) == null) {
      synchronized (BQCollateralFulfillmentServiceGrpc.class) {
        if ((getRequestCollateralFulfillmentMethod = BQCollateralFulfillmentServiceGrpc.getRequestCollateralFulfillmentMethod) == null) {
          BQCollateralFulfillmentServiceGrpc.getRequestCollateralFulfillmentMethod = getRequestCollateralFulfillmentMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RequestCollateralFulfillment"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.RequestCollateralFulfillmentRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment.getDefaultInstance()))
              .setSchemaDescriptor(new BQCollateralFulfillmentServiceMethodDescriptorSupplier("RequestCollateralFulfillment"))
              .build();
        }
      }
    }
    return getRequestCollateralFulfillmentMethod;
  }

  private static volatile io.grpc.MethodDescriptor getRetrieveCollateralFulfillmentMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "RetrieveCollateralFulfillment",
      requestType = com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.RetrieveCollateralFulfillmentRequest.class,
      responseType = com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getRetrieveCollateralFulfillmentMethod() {
    io.grpc.MethodDescriptor getRetrieveCollateralFulfillmentMethod;
    if ((getRetrieveCollateralFulfillmentMethod = BQCollateralFulfillmentServiceGrpc.getRetrieveCollateralFulfillmentMethod) == null) {
      synchronized (BQCollateralFulfillmentServiceGrpc.class) {
        if ((getRetrieveCollateralFulfillmentMethod = BQCollateralFulfillmentServiceGrpc.getRetrieveCollateralFulfillmentMethod) == null) {
          BQCollateralFulfillmentServiceGrpc.getRetrieveCollateralFulfillmentMethod = getRetrieveCollateralFulfillmentMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RetrieveCollateralFulfillment"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.RetrieveCollateralFulfillmentRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment.getDefaultInstance()))
              .setSchemaDescriptor(new BQCollateralFulfillmentServiceMethodDescriptorSupplier("RetrieveCollateralFulfillment"))
              .build();
        }
      }
    }
    return getRetrieveCollateralFulfillmentMethod;
  }

  private static volatile io.grpc.MethodDescriptor getUpdateCollateralFulfillmentMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "UpdateCollateralFulfillment",
      requestType = com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.UpdateCollateralFulfillmentRequest.class,
      responseType = com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getUpdateCollateralFulfillmentMethod() {
    io.grpc.MethodDescriptor getUpdateCollateralFulfillmentMethod;
    if ((getUpdateCollateralFulfillmentMethod = BQCollateralFulfillmentServiceGrpc.getUpdateCollateralFulfillmentMethod) == null) {
      synchronized (BQCollateralFulfillmentServiceGrpc.class) {
        if ((getUpdateCollateralFulfillmentMethod = BQCollateralFulfillmentServiceGrpc.getUpdateCollateralFulfillmentMethod) == null) {
          BQCollateralFulfillmentServiceGrpc.getUpdateCollateralFulfillmentMethod = getUpdateCollateralFulfillmentMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCollateralFulfillment"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.UpdateCollateralFulfillmentRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment.getDefaultInstance()))
              .setSchemaDescriptor(new BQCollateralFulfillmentServiceMethodDescriptorSupplier("UpdateCollateralFulfillment"))
              .build();
        }
      }
    }
    return getUpdateCollateralFulfillmentMethod;
  }

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

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

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

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

    /**
     */
    public void exchangeCollateralFulfillment(com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.ExchangeCollateralFulfillmentRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExchangeCollateralFulfillmentMethod(), responseObserver);
    }

    /**
     */
    public void executeCollateralFulfillment(com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.ExecuteCollateralFulfillmentRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteCollateralFulfillmentMethod(), responseObserver);
    }

    /**
     */
    public void initiateCollateralFulfillment(com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.InitiateCollateralFulfillmentRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInitiateCollateralFulfillmentMethod(), responseObserver);
    }

    /**
     */
    public void notifyCollateralFulfillment(com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.NotifyCollateralFulfillmentRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getNotifyCollateralFulfillmentMethod(), responseObserver);
    }

    /**
     */
    public void requestCollateralFulfillment(com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.RequestCollateralFulfillmentRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRequestCollateralFulfillmentMethod(), responseObserver);
    }

    /**
     */
    public void retrieveCollateralFulfillment(com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.RetrieveCollateralFulfillmentRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRetrieveCollateralFulfillmentMethod(), responseObserver);
    }

    /**
     */
    public void updateCollateralFulfillment(com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.UpdateCollateralFulfillmentRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCollateralFulfillmentMethod(), responseObserver);
    }

    @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
      return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
          .addMethod(
            getExchangeCollateralFulfillmentMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.ExchangeCollateralFulfillmentRequest,
                com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment>(
                  this, METHODID_EXCHANGE_COLLATERAL_FULFILLMENT)))
          .addMethod(
            getExecuteCollateralFulfillmentMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.ExecuteCollateralFulfillmentRequest,
                com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment>(
                  this, METHODID_EXECUTE_COLLATERAL_FULFILLMENT)))
          .addMethod(
            getInitiateCollateralFulfillmentMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.InitiateCollateralFulfillmentRequest,
                com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment>(
                  this, METHODID_INITIATE_COLLATERAL_FULFILLMENT)))
          .addMethod(
            getNotifyCollateralFulfillmentMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.NotifyCollateralFulfillmentRequest,
                com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment>(
                  this, METHODID_NOTIFY_COLLATERAL_FULFILLMENT)))
          .addMethod(
            getRequestCollateralFulfillmentMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.RequestCollateralFulfillmentRequest,
                com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment>(
                  this, METHODID_REQUEST_COLLATERAL_FULFILLMENT)))
          .addMethod(
            getRetrieveCollateralFulfillmentMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.RetrieveCollateralFulfillmentRequest,
                com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment>(
                  this, METHODID_RETRIEVE_COLLATERAL_FULFILLMENT)))
          .addMethod(
            getUpdateCollateralFulfillmentMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.UpdateCollateralFulfillmentRequest,
                com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment>(
                  this, METHODID_UPDATE_COLLATERAL_FULFILLMENT)))
          .build();
    }
  }

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

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

    /**
     */
    public void exchangeCollateralFulfillment(com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.ExchangeCollateralFulfillmentRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getExchangeCollateralFulfillmentMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void executeCollateralFulfillment(com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.ExecuteCollateralFulfillmentRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getExecuteCollateralFulfillmentMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void initiateCollateralFulfillment(com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.InitiateCollateralFulfillmentRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getInitiateCollateralFulfillmentMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void notifyCollateralFulfillment(com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.NotifyCollateralFulfillmentRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getNotifyCollateralFulfillmentMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void requestCollateralFulfillment(com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.RequestCollateralFulfillmentRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getRequestCollateralFulfillmentMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void retrieveCollateralFulfillment(com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.RetrieveCollateralFulfillmentRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getRetrieveCollateralFulfillmentMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void updateCollateralFulfillment(com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.UpdateCollateralFulfillmentRequest request,
        io.grpc.stub.StreamObserver responseObserver) {
      io.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getUpdateCollateralFulfillmentMethod(), getCallOptions()), request, responseObserver);
    }
  }

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

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

    /**
     */
    public com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment exchangeCollateralFulfillment(com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.ExchangeCollateralFulfillmentRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getExchangeCollateralFulfillmentMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment executeCollateralFulfillment(com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.ExecuteCollateralFulfillmentRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getExecuteCollateralFulfillmentMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment initiateCollateralFulfillment(com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.InitiateCollateralFulfillmentRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getInitiateCollateralFulfillmentMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment notifyCollateralFulfillment(com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.NotifyCollateralFulfillmentRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getNotifyCollateralFulfillmentMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment requestCollateralFulfillment(com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.RequestCollateralFulfillmentRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getRequestCollateralFulfillmentMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment retrieveCollateralFulfillment(com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.RetrieveCollateralFulfillmentRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getRetrieveCollateralFulfillmentMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.redhat.mercury.tradefinance.v10.CollateralFulfillmentOuterClass.CollateralFulfillment updateCollateralFulfillment(com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.UpdateCollateralFulfillmentRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getUpdateCollateralFulfillmentMethod(), getCallOptions(), request);
    }
  }

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

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

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture exchangeCollateralFulfillment(
        com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.ExchangeCollateralFulfillmentRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getExchangeCollateralFulfillmentMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture executeCollateralFulfillment(
        com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.ExecuteCollateralFulfillmentRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getExecuteCollateralFulfillmentMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture initiateCollateralFulfillment(
        com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.InitiateCollateralFulfillmentRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getInitiateCollateralFulfillmentMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture notifyCollateralFulfillment(
        com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.NotifyCollateralFulfillmentRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getNotifyCollateralFulfillmentMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture requestCollateralFulfillment(
        com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.RequestCollateralFulfillmentRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getRequestCollateralFulfillmentMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture retrieveCollateralFulfillment(
        com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.RetrieveCollateralFulfillmentRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getRetrieveCollateralFulfillmentMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.google.common.util.concurrent.ListenableFuture updateCollateralFulfillment(
        com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.UpdateCollateralFulfillmentRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getUpdateCollateralFulfillmentMethod(), getCallOptions()), request);
    }
  }

  private static final int METHODID_EXCHANGE_COLLATERAL_FULFILLMENT = 0;
  private static final int METHODID_EXECUTE_COLLATERAL_FULFILLMENT = 1;
  private static final int METHODID_INITIATE_COLLATERAL_FULFILLMENT = 2;
  private static final int METHODID_NOTIFY_COLLATERAL_FULFILLMENT = 3;
  private static final int METHODID_REQUEST_COLLATERAL_FULFILLMENT = 4;
  private static final int METHODID_RETRIEVE_COLLATERAL_FULFILLMENT = 5;
  private static final int METHODID_UPDATE_COLLATERAL_FULFILLMENT = 6;

  private static final class MethodHandlers implements
      io.grpc.stub.ServerCalls.UnaryMethod,
      io.grpc.stub.ServerCalls.ServerStreamingMethod,
      io.grpc.stub.ServerCalls.ClientStreamingMethod,
      io.grpc.stub.ServerCalls.BidiStreamingMethod {
    private final BQCollateralFulfillmentServiceImplBase serviceImpl;
    private final int methodId;

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

    @java.lang.Override
    @java.lang.SuppressWarnings("unchecked")
    public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
      switch (methodId) {
        case METHODID_EXCHANGE_COLLATERAL_FULFILLMENT:
          serviceImpl.exchangeCollateralFulfillment((com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.ExchangeCollateralFulfillmentRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_EXECUTE_COLLATERAL_FULFILLMENT:
          serviceImpl.executeCollateralFulfillment((com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.ExecuteCollateralFulfillmentRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_INITIATE_COLLATERAL_FULFILLMENT:
          serviceImpl.initiateCollateralFulfillment((com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.InitiateCollateralFulfillmentRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_NOTIFY_COLLATERAL_FULFILLMENT:
          serviceImpl.notifyCollateralFulfillment((com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.NotifyCollateralFulfillmentRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_REQUEST_COLLATERAL_FULFILLMENT:
          serviceImpl.requestCollateralFulfillment((com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.RequestCollateralFulfillmentRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_RETRIEVE_COLLATERAL_FULFILLMENT:
          serviceImpl.retrieveCollateralFulfillment((com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.RetrieveCollateralFulfillmentRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_UPDATE_COLLATERAL_FULFILLMENT:
          serviceImpl.updateCollateralFulfillment((com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.UpdateCollateralFulfillmentRequest) 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 BQCollateralFulfillmentServiceBaseDescriptorSupplier
      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
    BQCollateralFulfillmentServiceBaseDescriptorSupplier() {}

    @java.lang.Override
    public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
      return com.redhat.mercury.tradefinance.v10.api.bqcollateralfulfillmentservice.BqCollateralFulfillmentService.getDescriptor();
    }

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

  private static final class BQCollateralFulfillmentServiceFileDescriptorSupplier
      extends BQCollateralFulfillmentServiceBaseDescriptorSupplier {
    BQCollateralFulfillmentServiceFileDescriptorSupplier() {}
  }

  private static final class BQCollateralFulfillmentServiceMethodDescriptorSupplier
      extends BQCollateralFulfillmentServiceBaseDescriptorSupplier
      implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
    private final String methodName;

    BQCollateralFulfillmentServiceMethodDescriptorSupplier(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 (BQCollateralFulfillmentServiceGrpc.class) {
        result = serviceDescriptor;
        if (result == null) {
          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
              .setSchemaDescriptor(new BQCollateralFulfillmentServiceFileDescriptorSupplier())
              .addMethod(getExchangeCollateralFulfillmentMethod())
              .addMethod(getExecuteCollateralFulfillmentMethod())
              .addMethod(getInitiateCollateralFulfillmentMethod())
              .addMethod(getNotifyCollateralFulfillmentMethod())
              .addMethod(getRequestCollateralFulfillmentMethod())
              .addMethod(getRetrieveCollateralFulfillmentMethod())
              .addMethod(getUpdateCollateralFulfillmentMethod())
              .build();
        }
      }
    }
    return result;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy