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

com.dimajix.flowman.kernel.proto.history.HistoryServiceGrpc Maven / Gradle / Ivy

The newest version!
package com.dimajix.flowman.kernel.proto.history;

import static com.dimajix.shaded.grpc.MethodDescriptor.generateFullMethodName;

/**
 */
@javax.annotation.Generated(
    value = "by gRPC proto compiler (version 1.56.0)",
    comments = "Source: history.proto")
@com.dimajix.shaded.grpc.stub.annotations.GrpcGenerated
public final class HistoryServiceGrpc {

  private HistoryServiceGrpc() {}

  public static final String SERVICE_NAME = "com.dimajix.flowman.kernel.history.HistoryService";

  // Static method descriptors that strictly reflect the proto.
  private static volatile com.dimajix.shaded.grpc.MethodDescriptor getFindJobsMethod;

  @com.dimajix.shaded.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "findJobs",
      requestType = com.dimajix.flowman.kernel.proto.history.FindJobsRequest.class,
      responseType = com.dimajix.flowman.kernel.proto.history.FindJobsResponse.class,
      methodType = com.dimajix.shaded.grpc.MethodDescriptor.MethodType.UNARY)
  public static com.dimajix.shaded.grpc.MethodDescriptor getFindJobsMethod() {
    com.dimajix.shaded.grpc.MethodDescriptor getFindJobsMethod;
    if ((getFindJobsMethod = HistoryServiceGrpc.getFindJobsMethod) == null) {
      synchronized (HistoryServiceGrpc.class) {
        if ((getFindJobsMethod = HistoryServiceGrpc.getFindJobsMethod) == null) {
          HistoryServiceGrpc.getFindJobsMethod = getFindJobsMethod =
              com.dimajix.shaded.grpc.MethodDescriptor.newBuilder()
              .setType(com.dimajix.shaded.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "findJobs"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(com.dimajix.shaded.grpc.protobuf.ProtoUtils.marshaller(
                  com.dimajix.flowman.kernel.proto.history.FindJobsRequest.getDefaultInstance()))
              .setResponseMarshaller(com.dimajix.shaded.grpc.protobuf.ProtoUtils.marshaller(
                  com.dimajix.flowman.kernel.proto.history.FindJobsResponse.getDefaultInstance()))
              .setSchemaDescriptor(new HistoryServiceMethodDescriptorSupplier("findJobs"))
              .build();
        }
      }
    }
    return getFindJobsMethod;
  }

  private static volatile com.dimajix.shaded.grpc.MethodDescriptor getFindTargetsMethod;

  @com.dimajix.shaded.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "findTargets",
      requestType = com.dimajix.flowman.kernel.proto.history.FindTargetsRequest.class,
      responseType = com.dimajix.flowman.kernel.proto.history.FindTargetsResponse.class,
      methodType = com.dimajix.shaded.grpc.MethodDescriptor.MethodType.UNARY)
  public static com.dimajix.shaded.grpc.MethodDescriptor getFindTargetsMethod() {
    com.dimajix.shaded.grpc.MethodDescriptor getFindTargetsMethod;
    if ((getFindTargetsMethod = HistoryServiceGrpc.getFindTargetsMethod) == null) {
      synchronized (HistoryServiceGrpc.class) {
        if ((getFindTargetsMethod = HistoryServiceGrpc.getFindTargetsMethod) == null) {
          HistoryServiceGrpc.getFindTargetsMethod = getFindTargetsMethod =
              com.dimajix.shaded.grpc.MethodDescriptor.newBuilder()
              .setType(com.dimajix.shaded.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "findTargets"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(com.dimajix.shaded.grpc.protobuf.ProtoUtils.marshaller(
                  com.dimajix.flowman.kernel.proto.history.FindTargetsRequest.getDefaultInstance()))
              .setResponseMarshaller(com.dimajix.shaded.grpc.protobuf.ProtoUtils.marshaller(
                  com.dimajix.flowman.kernel.proto.history.FindTargetsResponse.getDefaultInstance()))
              .setSchemaDescriptor(new HistoryServiceMethodDescriptorSupplier("findTargets"))
              .build();
        }
      }
    }
    return getFindTargetsMethod;
  }

  private static volatile com.dimajix.shaded.grpc.MethodDescriptor getGetJobMetricsMethod;

  @com.dimajix.shaded.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "getJobMetrics",
      requestType = com.dimajix.flowman.kernel.proto.history.GetJobMetricsRequest.class,
      responseType = com.dimajix.flowman.kernel.proto.history.GetJobMetricsResponse.class,
      methodType = com.dimajix.shaded.grpc.MethodDescriptor.MethodType.UNARY)
  public static com.dimajix.shaded.grpc.MethodDescriptor getGetJobMetricsMethod() {
    com.dimajix.shaded.grpc.MethodDescriptor getGetJobMetricsMethod;
    if ((getGetJobMetricsMethod = HistoryServiceGrpc.getGetJobMetricsMethod) == null) {
      synchronized (HistoryServiceGrpc.class) {
        if ((getGetJobMetricsMethod = HistoryServiceGrpc.getGetJobMetricsMethod) == null) {
          HistoryServiceGrpc.getGetJobMetricsMethod = getGetJobMetricsMethod =
              com.dimajix.shaded.grpc.MethodDescriptor.newBuilder()
              .setType(com.dimajix.shaded.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getJobMetrics"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(com.dimajix.shaded.grpc.protobuf.ProtoUtils.marshaller(
                  com.dimajix.flowman.kernel.proto.history.GetJobMetricsRequest.getDefaultInstance()))
              .setResponseMarshaller(com.dimajix.shaded.grpc.protobuf.ProtoUtils.marshaller(
                  com.dimajix.flowman.kernel.proto.history.GetJobMetricsResponse.getDefaultInstance()))
              .setSchemaDescriptor(new HistoryServiceMethodDescriptorSupplier("getJobMetrics"))
              .build();
        }
      }
    }
    return getGetJobMetricsMethod;
  }

  private static volatile com.dimajix.shaded.grpc.MethodDescriptor getFindJobMetricsMethod;

  @com.dimajix.shaded.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "findJobMetrics",
      requestType = com.dimajix.flowman.kernel.proto.history.FindJobMetricsRequest.class,
      responseType = com.dimajix.flowman.kernel.proto.history.FindJobMetricsResponse.class,
      methodType = com.dimajix.shaded.grpc.MethodDescriptor.MethodType.UNARY)
  public static com.dimajix.shaded.grpc.MethodDescriptor getFindJobMetricsMethod() {
    com.dimajix.shaded.grpc.MethodDescriptor getFindJobMetricsMethod;
    if ((getFindJobMetricsMethod = HistoryServiceGrpc.getFindJobMetricsMethod) == null) {
      synchronized (HistoryServiceGrpc.class) {
        if ((getFindJobMetricsMethod = HistoryServiceGrpc.getFindJobMetricsMethod) == null) {
          HistoryServiceGrpc.getFindJobMetricsMethod = getFindJobMetricsMethod =
              com.dimajix.shaded.grpc.MethodDescriptor.newBuilder()
              .setType(com.dimajix.shaded.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "findJobMetrics"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(com.dimajix.shaded.grpc.protobuf.ProtoUtils.marshaller(
                  com.dimajix.flowman.kernel.proto.history.FindJobMetricsRequest.getDefaultInstance()))
              .setResponseMarshaller(com.dimajix.shaded.grpc.protobuf.ProtoUtils.marshaller(
                  com.dimajix.flowman.kernel.proto.history.FindJobMetricsResponse.getDefaultInstance()))
              .setSchemaDescriptor(new HistoryServiceMethodDescriptorSupplier("findJobMetrics"))
              .build();
        }
      }
    }
    return getFindJobMetricsMethod;
  }

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

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

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

  /**
   */
  public interface AsyncService {

    /**
     */
    default void findJobs(com.dimajix.flowman.kernel.proto.history.FindJobsRequest request,
        com.dimajix.shaded.grpc.stub.StreamObserver responseObserver) {
      com.dimajix.shaded.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFindJobsMethod(), responseObserver);
    }

    /**
     */
    default void findTargets(com.dimajix.flowman.kernel.proto.history.FindTargetsRequest request,
        com.dimajix.shaded.grpc.stub.StreamObserver responseObserver) {
      com.dimajix.shaded.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFindTargetsMethod(), responseObserver);
    }

    /**
     */
    default void getJobMetrics(com.dimajix.flowman.kernel.proto.history.GetJobMetricsRequest request,
        com.dimajix.shaded.grpc.stub.StreamObserver responseObserver) {
      com.dimajix.shaded.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMetricsMethod(), responseObserver);
    }

    /**
     */
    default void findJobMetrics(com.dimajix.flowman.kernel.proto.history.FindJobMetricsRequest request,
        com.dimajix.shaded.grpc.stub.StreamObserver responseObserver) {
      com.dimajix.shaded.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFindJobMetricsMethod(), responseObserver);
    }
  }

  /**
   * Base class for the server implementation of the service HistoryService.
   */
  public static abstract class HistoryServiceImplBase
      implements com.dimajix.shaded.grpc.BindableService, AsyncService {

    @java.lang.Override public final com.dimajix.shaded.grpc.ServerServiceDefinition bindService() {
      return HistoryServiceGrpc.bindService(this);
    }
  }

  /**
   * A stub to allow clients to do asynchronous rpc calls to service HistoryService.
   */
  public static final class HistoryServiceStub
      extends com.dimajix.shaded.grpc.stub.AbstractAsyncStub {
    private HistoryServiceStub(
        com.dimajix.shaded.grpc.Channel channel, com.dimajix.shaded.grpc.CallOptions callOptions) {
      super(channel, callOptions);
    }

    @java.lang.Override
    protected HistoryServiceStub build(
        com.dimajix.shaded.grpc.Channel channel, com.dimajix.shaded.grpc.CallOptions callOptions) {
      return new HistoryServiceStub(channel, callOptions);
    }

    /**
     */
    public void findJobs(com.dimajix.flowman.kernel.proto.history.FindJobsRequest request,
        com.dimajix.shaded.grpc.stub.StreamObserver responseObserver) {
      com.dimajix.shaded.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getFindJobsMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void findTargets(com.dimajix.flowman.kernel.proto.history.FindTargetsRequest request,
        com.dimajix.shaded.grpc.stub.StreamObserver responseObserver) {
      com.dimajix.shaded.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getFindTargetsMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void getJobMetrics(com.dimajix.flowman.kernel.proto.history.GetJobMetricsRequest request,
        com.dimajix.shaded.grpc.stub.StreamObserver responseObserver) {
      com.dimajix.shaded.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getGetJobMetricsMethod(), getCallOptions()), request, responseObserver);
    }

    /**
     */
    public void findJobMetrics(com.dimajix.flowman.kernel.proto.history.FindJobMetricsRequest request,
        com.dimajix.shaded.grpc.stub.StreamObserver responseObserver) {
      com.dimajix.shaded.grpc.stub.ClientCalls.asyncUnaryCall(
          getChannel().newCall(getFindJobMetricsMethod(), getCallOptions()), request, responseObserver);
    }
  }

  /**
   * A stub to allow clients to do synchronous rpc calls to service HistoryService.
   */
  public static final class HistoryServiceBlockingStub
      extends com.dimajix.shaded.grpc.stub.AbstractBlockingStub {
    private HistoryServiceBlockingStub(
        com.dimajix.shaded.grpc.Channel channel, com.dimajix.shaded.grpc.CallOptions callOptions) {
      super(channel, callOptions);
    }

    @java.lang.Override
    protected HistoryServiceBlockingStub build(
        com.dimajix.shaded.grpc.Channel channel, com.dimajix.shaded.grpc.CallOptions callOptions) {
      return new HistoryServiceBlockingStub(channel, callOptions);
    }

    /**
     */
    public com.dimajix.flowman.kernel.proto.history.FindJobsResponse findJobs(com.dimajix.flowman.kernel.proto.history.FindJobsRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getFindJobsMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.dimajix.flowman.kernel.proto.history.FindTargetsResponse findTargets(com.dimajix.flowman.kernel.proto.history.FindTargetsRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getFindTargetsMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.dimajix.flowman.kernel.proto.history.GetJobMetricsResponse getJobMetrics(com.dimajix.flowman.kernel.proto.history.GetJobMetricsRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getGetJobMetricsMethod(), getCallOptions(), request);
    }

    /**
     */
    public com.dimajix.flowman.kernel.proto.history.FindJobMetricsResponse findJobMetrics(com.dimajix.flowman.kernel.proto.history.FindJobMetricsRequest request) {
      return io.grpc.stub.ClientCalls.blockingUnaryCall(
          getChannel(), getFindJobMetricsMethod(), getCallOptions(), request);
    }
  }

  /**
   * A stub to allow clients to do ListenableFuture-style rpc calls to service HistoryService.
   */
  public static final class HistoryServiceFutureStub
      extends com.dimajix.shaded.grpc.stub.AbstractFutureStub {
    private HistoryServiceFutureStub(
        com.dimajix.shaded.grpc.Channel channel, com.dimajix.shaded.grpc.CallOptions callOptions) {
      super(channel, callOptions);
    }

    @java.lang.Override
    protected HistoryServiceFutureStub build(
        com.dimajix.shaded.grpc.Channel channel, com.dimajix.shaded.grpc.CallOptions callOptions) {
      return new HistoryServiceFutureStub(channel, callOptions);
    }

    /**
     */
    public com.dimajix.shaded.guava.util.concurrent.ListenableFuture findJobs(
        com.dimajix.flowman.kernel.proto.history.FindJobsRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getFindJobsMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.dimajix.shaded.guava.util.concurrent.ListenableFuture findTargets(
        com.dimajix.flowman.kernel.proto.history.FindTargetsRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getFindTargetsMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.dimajix.shaded.guava.util.concurrent.ListenableFuture getJobMetrics(
        com.dimajix.flowman.kernel.proto.history.GetJobMetricsRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getGetJobMetricsMethod(), getCallOptions()), request);
    }

    /**
     */
    public com.dimajix.shaded.guava.util.concurrent.ListenableFuture findJobMetrics(
        com.dimajix.flowman.kernel.proto.history.FindJobMetricsRequest request) {
      return io.grpc.stub.ClientCalls.futureUnaryCall(
          getChannel().newCall(getFindJobMetricsMethod(), getCallOptions()), request);
    }
  }

  private static final int METHODID_FIND_JOBS = 0;
  private static final int METHODID_FIND_TARGETS = 1;
  private static final int METHODID_GET_JOB_METRICS = 2;
  private static final int METHODID_FIND_JOB_METRICS = 3;

  private static final class MethodHandlers implements
      com.dimajix.shaded.grpc.stub.ServerCalls.UnaryMethod,
      com.dimajix.shaded.grpc.stub.ServerCalls.ServerStreamingMethod,
      com.dimajix.shaded.grpc.stub.ServerCalls.ClientStreamingMethod,
      com.dimajix.shaded.grpc.stub.ServerCalls.BidiStreamingMethod {
    private final AsyncService serviceImpl;
    private final int methodId;

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

    @java.lang.Override
    @java.lang.SuppressWarnings("unchecked")
    public void invoke(Req request, com.dimajix.shaded.grpc.stub.StreamObserver responseObserver) {
      switch (methodId) {
        case METHODID_FIND_JOBS:
          serviceImpl.findJobs((com.dimajix.flowman.kernel.proto.history.FindJobsRequest) request,
              (com.dimajix.shaded.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_FIND_TARGETS:
          serviceImpl.findTargets((com.dimajix.flowman.kernel.proto.history.FindTargetsRequest) request,
              (com.dimajix.shaded.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_GET_JOB_METRICS:
          serviceImpl.getJobMetrics((com.dimajix.flowman.kernel.proto.history.GetJobMetricsRequest) request,
              (com.dimajix.shaded.grpc.stub.StreamObserver) responseObserver);
          break;
        case METHODID_FIND_JOB_METRICS:
          serviceImpl.findJobMetrics((com.dimajix.flowman.kernel.proto.history.FindJobMetricsRequest) request,
              (com.dimajix.shaded.grpc.stub.StreamObserver) responseObserver);
          break;
        default:
          throw new AssertionError();
      }
    }

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

  public static final com.dimajix.shaded.grpc.ServerServiceDefinition bindService(AsyncService service) {
    return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
        .addMethod(
          getFindJobsMethod(),
          com.dimajix.shaded.grpc.stub.ServerCalls.asyncUnaryCall(
            new MethodHandlers<
              com.dimajix.flowman.kernel.proto.history.FindJobsRequest,
              com.dimajix.flowman.kernel.proto.history.FindJobsResponse>(
                service, METHODID_FIND_JOBS)))
        .addMethod(
          getFindTargetsMethod(),
          com.dimajix.shaded.grpc.stub.ServerCalls.asyncUnaryCall(
            new MethodHandlers<
              com.dimajix.flowman.kernel.proto.history.FindTargetsRequest,
              com.dimajix.flowman.kernel.proto.history.FindTargetsResponse>(
                service, METHODID_FIND_TARGETS)))
        .addMethod(
          getGetJobMetricsMethod(),
          com.dimajix.shaded.grpc.stub.ServerCalls.asyncUnaryCall(
            new MethodHandlers<
              com.dimajix.flowman.kernel.proto.history.GetJobMetricsRequest,
              com.dimajix.flowman.kernel.proto.history.GetJobMetricsResponse>(
                service, METHODID_GET_JOB_METRICS)))
        .addMethod(
          getFindJobMetricsMethod(),
          com.dimajix.shaded.grpc.stub.ServerCalls.asyncUnaryCall(
            new MethodHandlers<
              com.dimajix.flowman.kernel.proto.history.FindJobMetricsRequest,
              com.dimajix.flowman.kernel.proto.history.FindJobMetricsResponse>(
                service, METHODID_FIND_JOB_METRICS)))
        .build();
  }

  private static abstract class HistoryServiceBaseDescriptorSupplier
      implements com.dimajix.shaded.grpc.protobuf.ProtoFileDescriptorSupplier, com.dimajix.shaded.grpc.protobuf.ProtoServiceDescriptorSupplier {
    HistoryServiceBaseDescriptorSupplier() {}

    @java.lang.Override
    public com.dimajix.shaded.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
      return com.dimajix.flowman.kernel.proto.history.HistoryProto.getDescriptor();
    }

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

  private static final class HistoryServiceFileDescriptorSupplier
      extends HistoryServiceBaseDescriptorSupplier {
    HistoryServiceFileDescriptorSupplier() {}
  }

  private static final class HistoryServiceMethodDescriptorSupplier
      extends HistoryServiceBaseDescriptorSupplier
      implements com.dimajix.shaded.grpc.protobuf.ProtoMethodDescriptorSupplier {
    private final String methodName;

    HistoryServiceMethodDescriptorSupplier(String methodName) {
      this.methodName = methodName;
    }

    @java.lang.Override
    public com.dimajix.shaded.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() {
      return getServiceDescriptor().findMethodByName(methodName);
    }
  }

  private static volatile com.dimajix.shaded.grpc.ServiceDescriptor serviceDescriptor;

  public static com.dimajix.shaded.grpc.ServiceDescriptor getServiceDescriptor() {
    com.dimajix.shaded.grpc.ServiceDescriptor result = serviceDescriptor;
    if (result == null) {
      synchronized (HistoryServiceGrpc.class) {
        result = serviceDescriptor;
        if (result == null) {
          serviceDescriptor = result = com.dimajix.shaded.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
              .setSchemaDescriptor(new HistoryServiceFileDescriptorSupplier())
              .addMethod(getFindJobsMethod())
              .addMethod(getFindTargetsMethod())
              .addMethod(getGetJobMetricsMethod())
              .addMethod(getFindJobMetricsMethod())
              .build();
        }
      }
    }
    return result;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy