added example of protobuf api example