Hi, here you can find a detailed explanation on Client libraries. It is mentioned that If you want to use one of Google Cloud Client Libraries and there is no Cloud Client Library for your preferred language, you can still use an older version of our client libraries called Google API Client Libraries [2].
You may use pull method in Pub/Sub Google Cloud Client Library (latest version 0.18.x) for your use-case.