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

com.redhat.mercury.openitemmanagement.v10.api.cropenitemprocedureservice.CROpenItemProcedureServiceGrpc Maven / Gradle / Ivy

package com.redhat.mercury.openitemmanagement.v10.api.cropenitemprocedureservice;

import static io.grpc.MethodDescriptor.generateFullMethodName;

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

  private CROpenItemProcedureServiceGrpc() {}

  public static final String SERVICE_NAME = "com.redhat.mercury.openitemmanagement.v10.api.cropenitemprocedureservice.CROpenItemProcedureService";

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

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

  private static volatile io.grpc.MethodDescriptor getRequestMethod;

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

  private static volatile io.grpc.MethodDescriptor getRetrieveMethod;

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

  private static volatile io.grpc.MethodDescriptor getUpdateMethod;

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

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

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

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

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

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

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

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

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

    @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
      return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
          .addMethod(
            getInitiateMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.openitemmanagement.v10.api.cropenitemprocedureservice.CrOpenItemProcedureService.InitiateRequest,
                com.redhat.mercury.openitemmanagement.v10.InitiateOpenItemProcedureResponseOuterClass.InitiateOpenItemProcedureResponse>(
                  this, METHODID_INITIATE)))
          .addMethod(
            getRequestMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.openitemmanagement.v10.api.cropenitemprocedureservice.CrOpenItemProcedureService.RequestRequest,
                com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure>(
                  this, METHODID_REQUEST)))
          .addMethod(
            getRetrieveMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.openitemmanagement.v10.api.cropenitemprocedureservice.CrOpenItemProcedureService.RetrieveRequest,
                com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure>(
                  this, METHODID_RETRIEVE)))
          .addMethod(
            getUpdateMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
              new MethodHandlers<
                com.redhat.mercury.openitemmanagement.v10.api.cropenitemprocedureservice.CrOpenItemProcedureService.UpdateRequest,
                com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure>(
                  this, METHODID_UPDATE)))
          .build();
    }
  }

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

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

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

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

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

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

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

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

    /**
     */
    public com.redhat.mercury.openitemmanagement.v10.InitiateOpenItemProcedureResponseOuterClass.InitiateOpenItemProcedureResponse initiate(com.redhat.mercury.openitemmanagement.v10.api.cropenitemprocedureservice.CrOpenItemProcedureService.InitiateRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getInitiateMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure request(com.redhat.mercury.openitemmanagement.v10.api.cropenitemprocedureservice.CrOpenItemProcedureService.RequestRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getRequestMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure retrieve(com.redhat.mercury.openitemmanagement.v10.api.cropenitemprocedureservice.CrOpenItemProcedureService.RetrieveRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getRetrieveMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.redhat.mercury.openitemmanagement.v10.OpenItemProcedureOuterClass.OpenItemProcedure update(com.redhat.mercury.openitemmanagement.v10.api.cropenitemprocedureservice.CrOpenItemProcedureService.UpdateRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getUpdateMethod(), getCallOptions(), request);
    }
  }

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

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

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

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

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

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

  private static final int METHODID_INITIATE = 0;
  private static final int METHODID_REQUEST = 1;
  private static final int METHODID_RETRIEVE = 2;
  private static final int METHODID_UPDATE = 3;

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

    MethodHandlers(CROpenItemProcedureServiceImplBase 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_INITIATE:
          serviceImpl.initiate((com.redhat.mercury.openitemmanagement.v10.api.cropenitemprocedureservice.CrOpenItemProcedureService.InitiateRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_REQUEST:
          serviceImpl.request((com.redhat.mercury.openitemmanagement.v10.api.cropenitemprocedureservice.CrOpenItemProcedureService.RequestRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_RETRIEVE:
          serviceImpl.retrieve((com.redhat.mercury.openitemmanagement.v10.api.cropenitemprocedureservice.CrOpenItemProcedureService.RetrieveRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_UPDATE:
          serviceImpl.update((com.redhat.mercury.openitemmanagement.v10.api.cropenitemprocedureservice.CrOpenItemProcedureService.UpdateRequest) request,
              (io.grpc.stub.StreamObserver) responseObserver);
          break;
        default:
          throw new AssertionError();
      }
    }

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

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

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

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

  private static final class CROpenItemProcedureServiceFileDescriptorSupplier
      extends CROpenItemProcedureServiceBaseDescriptorSupplier {
    CROpenItemProcedureServiceFileDescriptorSupplier() {}
  }

  private static final class CROpenItemProcedureServiceMethodDescriptorSupplier
      extends CROpenItemProcedureServiceBaseDescriptorSupplier
      implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
    private final String methodName;

    CROpenItemProcedureServiceMethodDescriptorSupplier(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 (CROpenItemProcedureServiceGrpc.class) {
        result = serviceDescriptor;
        if (result == null) {
          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
              .setSchemaDescriptor(new CROpenItemProcedureServiceFileDescriptorSupplier())
              .addMethod(getInitiateMethod())
              .addMethod(getRequestMethod())
              .addMethod(getRetrieveMethod())
              .addMethod(getUpdateMethod())
              .build();
        }
      }
    }
    return result;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy