Usually in Java when you have a class that has some attributes there're several ways to make them accessibile.
- Make attributes public
- Make attributes private and provide get and set methods. The convension is to use get or set with then first letter of the attribute name in uppercase. These methods must be public
Usually the solution n.2 is the best one because you avoid direct access to private attributes from other classes (see encapsulation).
In general, but not your case, when declaring the attributes as you did you make their access 'default', so you can access them from another class extending your NetworkManager in the same package.
If this class is just a configuration parameter holder you can even make this attributes static and public, so you don't have to instantiate the class to access them.