Class GrpcProtoFileCompiler

java.lang.Object
org.mockserver.grpc.GrpcProtoFileCompiler

public class GrpcProtoFileCompiler extends Object
  • Constructor Details

    • GrpcProtoFileCompiler

      public GrpcProtoFileCompiler(MockServerLogger mockServerLogger)
    • GrpcProtoFileCompiler

      public GrpcProtoFileCompiler(MockServerLogger mockServerLogger, String protocPath)
  • Method Details

    • compile

      public byte[] compile(Path protoFile)
    • compile

      public byte[] compile(Path protoFile, Path protoPath)
    • compileSource

      public byte[] compileSource(String protoSource)
    • compileDirectory

      public void compileDirectory(Path directory, GrpcProtoDescriptorStore store)
    • isProtocAvailable

      public boolean isProtocAvailable()