code: @Implementation(minSdk = LOLLIPOP)
    protected NetworkCapabilities getNetworkCapabilities(Network network) {
      return networkCapabilitiesMap.get(network);
    }
docs: Gets the network capabilities of a given {@link Network}.
  
  @param network The {@link Network} object identifying the network in question.
  @return The {@link android.net.NetworkCapabilities} for the network.
  @see #setNetworkCapabilities(Network, NetworkCapabilities)