code: public static void enableProtoStuffSerialization(Configuration conf) {
  		String ser = conf.get("io.serializations").trim();
  		if(ser.length() != 0) {
  			ser += ",";
  		}
  		// Adding the ProtoStuff serialization
  		ser += ProtoStuffSerialization.class.getName();
  		conf.set("io.serializations", ser);
  	}
docs: Enables ProtoStuff Serialization support in Hadoop.