Add doc values support to _parent field

PR for #6107
I mimicked this from the ImmutableOpenMap.Builder, but it make sense to remove the methods not being used.