protocol buffer basic (java-version)