protoc does not generate stubs. You might use the proto-plugin binaries 
from the "protoc-gen-grpc-java" artifact in the (local/central) maven repo. 
For example, https://github.com/grpc/grpc-java/blob/master/examples/pom.xml

On Wednesday, December 14, 2016 at 6:24:39 AM UTC-8, Alessio Sacco wrote:
>
> Hello,
> I'm new in gRPC.
> I'm able to create Java classes for message type from proto file. But I 
> can't generate a Java class for the stubs ( e.g. RouteGuideGrpc.java in 
> the tutorial ).
> How can I generate a class of that type? I write a command of this type :
>
> protoc -I=$SRC_DIR --java_out=$DST_DIR $SRC_DIR/addressbook.proto
>
> Is it not enough?
>
> Thank you.
> Alessio Sacco
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/75e34db8-5559-49dc-a0a6-c95a90bed18c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to