compile by proto and genarated java class