add changes to accessor to cover missing functionality (#5650)
add changes to accessor to cover missing functionality (#5650)

* add changes to accessor to cover missing functionality

* fix review comments

* fix review comment

knative/serving,knative/serving