Need the proto descriptor by the name from schema registory

We are registering our protobuf schemas in the schema registry. In my application, I wanted to get the proto descriptor from the schema registry to create an object at runtime and send it to my Kafka topic. My application is java based. Looking for a way to do this. Please let me know if I need to provide any other details.