Java sdk apis

I need to get all the buckets through java sdk but there is no way to get it.
I know there are ways to get all the buckets through rest APIs.
I just wanted to know , is there any specific reason for not providing the apis for it?
Same applies to get the design document as well.