{"action":"created","issue":{"url":"https://api.github.com/repos/grpc/grpc-java/issues/4656","repository_url":"https://api.github.com/repos/grpc/grpc-java","labels_url":"https://api.github.com/repos/grpc/grpc-java/issues/4656/labels{/name}","comments_url":"https://api.github.com/repos/grpc/grpc-java/issues/4656/comments","events_url":"https://api.github.com/repos/grpc/grpc-java/issues/4656/events","html_url":"https://github.com/grpc/grpc-java/issues/4656","id":342605930,"node_id":"MDU6SXNzdWUzNDI2MDU5MzA=","number":4656,"title":"Abstract class missing in compiled .proto files","user":{"login":"michelvocks","id":2463119,"node_id":"MDQ6VXNlcjI0NjMxMTk=","avatar_url":"https://avatars1.githubusercontent.com/u/2463119?v=4","gravatar_id":"","url":"https://api.github.com/users/michelvocks","html_url":"https://github.com/michelvocks","followers_url":"https://api.github.com/users/michelvocks/followers","following_url":"https://api.github.com/users/michelvocks/following{/other_user}","gists_url":"https://api.github.com/users/michelvocks/gists{/gist_id}","starred_url":"https://api.github.com/users/michelvocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michelvocks/subscriptions","organizations_url":"https://api.github.com/users/michelvocks/orgs","repos_url":"https://api.github.com/users/michelvocks/repos","events_url":"https://api.github.com/users/michelvocks/events{/privacy}","received_events_url":"https://api.github.com/users/michelvocks/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-19T07:13:53Z","updated_at":"2018-07-19T13:57:16Z","closed_at":"2018-07-19T13:57:16Z","author_association":"NONE","body":"Hello folks 🤗 \r\n\r\nInstead of using gradle or maven I would like to \"manually\" build my `.proto` files. I use the following command to do that:\r\n```sh\r\nprotoc --proto_path=./ --java_out=./ ./helloworld.proto\r\n```\r\n\r\nI use currently the hello world proto file: https://github.com/grpc/grpc-java/blob/master/examples/src/main/proto/helloworld.proto\r\n\r\nWhen I look in the output files I'm not able to find the abstract class which I should extend in my Server like in the example described:\r\n```java\r\nstatic class GreeterImpl extends GreeterGrpc.GreeterImplBase {\r\n\r\n    @Override\r\n    public void sayHello(HelloRequest req, StreamObserver<HelloReply> responseObserver) {\r\n      HelloReply reply = HelloReply.newBuilder().setMessage(\"Hello \" + req.getName()).build();\r\n      responseObserver.onNext(reply);\r\n      responseObserver.onCompleted();\r\n    }\r\n  }\r\n```\r\n\r\nWhen I run the example step by step then everything works like expected. What I'm doing wrong?\r\n\r\n### What version of gRPC are you using?\r\n1.13.2\r\nlibprotoc 3.6.0\r\n\r\n### What did you expect to see?\r\nWhen I build manually the `.proto` files, there should be an `abstract` class included.\r\nThis is not the case. \r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/grpc/grpc-java/issues/comments/406285172","html_url":"https://github.com/grpc/grpc-java/issues/4656#issuecomment-406285172","issue_url":"https://api.github.com/repos/grpc/grpc-java/issues/4656","id":406285172,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjI4NTE3Mg==","user":{"login":"michelvocks","id":2463119,"node_id":"MDQ6VXNlcjI0NjMxMTk=","avatar_url":"https://avatars1.githubusercontent.com/u/2463119?v=4","gravatar_id":"","url":"https://api.github.com/users/michelvocks","html_url":"https://github.com/michelvocks","followers_url":"https://api.github.com/users/michelvocks/followers","following_url":"https://api.github.com/users/michelvocks/following{/other_user}","gists_url":"https://api.github.com/users/michelvocks/gists{/gist_id}","starred_url":"https://api.github.com/users/michelvocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michelvocks/subscriptions","organizations_url":"https://api.github.com/users/michelvocks/orgs","repos_url":"https://api.github.com/users/michelvocks/repos","events_url":"https://api.github.com/users/michelvocks/events{/privacy}","received_events_url":"https://api.github.com/users/michelvocks/received_events","type":"User","site_admin":false},"created_at":"2018-07-19T13:57:16Z","updated_at":"2018-07-19T13:57:16Z","author_association":"NONE","body":"Alright. Just found out you have to compile it with the gGRPC java protoc plugin described here: https://github.com/grpc/grpc-java/tree/master/compiler\r\n\r\nThanks a lot anyway! 🤗 "}}
{"actor":{"display_login":"michelvocks"}}