output protobuf