How to generate a java interface instead of abstract class for my service?
say for example I have the following
service Greeter { // Sends a greeting
rpc SayHello (HelloRequest) returns (HelloReply) {}
}
// The request message containing the user's name.
message HelloRequest {
string name = 1;
}
// The response message containing the greetings
message HelloReply {
string message = 1;
} I want to do private class GreeterImpl implements GreeterGrpc.
GreeterImplBase instead of private class GreeterImpl extends GreeterGrpc.
GreeterImplBase protoc compiler doesnt seem to generate any java
interfaces.
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" 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/protobuf.
For more options, visit https://groups.google.com/d/optout.