code: @SuppressWarnings("WeakerAccess")
    public RoutingPolicy getPolicy() {
      if (proto.hasMultiClusterRoutingUseAny()) {
        return MultiClusterRoutingPolicy.of();
      } else if (proto.hasSingleClusterRouting()) {
        return new SingleClusterRoutingPolicy(proto.getSingleClusterRouting());
      } else {
        // Should never happen because the constructor verifies that one must exist.
        throw new VerifyException();
      }
    }
docs: Gets the routing policy for all read/write requests which use this app profile.