refactor GribCollection and PartitionCollection,use protobuf extension