That is not gRPC generated code. That is the old Protobuf RPC API, which Protobuf discourages.
You need to build the gRPC generated code using protoc-gen-grpc-java. The generated class name will be your service name with a "Grpc" suffix.